NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.PROTOCOL_CONTROL_INST.PROTOCOL_CONTROL_FSM_INST.DLC_DECODER_TX_INST

File:  /__w/ctu-can-regression/ctu-can-regression/src/can_core/protocol_control_fsm.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.PROTOCOL_CONTROL_INST.PROTOCOL_CONTROL_FSM_INST.DLC_DECODER_TX_INST 100.0 % (19/19) 100.0 % (20/20) 100.0 % (46/46) 100.0 % (6/6) N.A. N.A. 100.0 % (91/91)

Details:

The limit of printed items was reached (5000). Total 260336 items are not displayed.


Statement Branch Toggle Expression FSM state Functional

Uncovered statements:

Excluded statements:

Covered statements:

Signal assignment statement on line 114:

114:    dlc_int <= to_integer(unsigned(dlc))
Count: 14588
Threshold: 1

If statement on lines 117 to 125:

117:    data_len_8_to_64_integer <= 
118:        12 when (dlc = "1001") else 
...
124:        64 when (dlc = "1111") else 
125:        0; 

Count: 14588
Threshold: 1

Signal assignment statement on line 118:

118:        12 when (dlc = "1001") else 
Count: 224
Threshold: 1

Signal assignment statement on line 119:

119:        16 when (dlc = "1010") else 
Count: 209
Threshold: 1

Signal assignment statement on line 120:

120:        20 when (dlc = "1011") else 
Count: 156
Threshold: 1

Signal assignment statement on line 121:

121:        24 when (dlc = "1100") else 
Count: 249
Threshold: 1

Signal assignment statement on line 122:

122:        32 when (dlc = "1101") else 
Count: 160
Threshold: 1

Signal assignment statement on line 123:

123:        48 when (dlc = "1110") else 
Count: 176
Threshold: 1

Signal assignment statement on line 124:

124:        64 when (dlc = "1111") else 
Count: 95
Threshold: 1

Signal assignment statement on line 125:

125:        0
Count: 13319
Threshold: 1

If statement on lines 130 to 132:

130:    data_len_can_2_0 <= dlc when (dlc_int <= 8) 
131:                            else 
132:                        "1000"; 

Count: 25974
Threshold: 1

Signal assignment statement on line 130:

130:    data_len_can_2_0 <= dlc when (dlc_int <= 8) 
Count: 23437
Threshold: 1

Signal assignment statement on line 132:

132:                        "1000"
Count: 2537
Threshold: 1

If statement on lines 137 to 139:

137:    data_len_can_fd <= ("000" & dlc) when (dlc_int <= 8) 
138:                                     else 
139:                       std_logic_vector(to_unsigned(data_len_8_to_64_integer, 7)); 

Count: 25974
Threshold: 1

Signal assignment statement on line 137:

137:    data_len_can_fd <= ("000" & dlc) when (dlc_int <= 8) 
Count: 23437
Threshold: 1

Signal assignment statement on line 139:

139:                       std_logic_vector(to_unsigned(data_len_8_to_64_integer, 7))
Count: 2537
Threshold: 1

If statement on lines 142 to 144:

142:    data_length <= "000" & data_len_can_2_0 when (frame_type = NORMAL_CAN) 
143:                                            else 
144:                   data_len_can_fd; 

Count: 18789
Threshold: 1

Signal assignment statement on line 142:

142:    data_length <= "000" & data_len_can_2_0 when (frame_type = NORMAL_CAN) 
Count: 12608
Threshold: 1

Signal assignment statement on line 144:

144:                   data_len_can_fd
Count: 6181
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

"if" / "when" / "else" condition on line 118:

118:        12 when (dlc = "1001") else 
Evaluated toCountThreshold
BinTrue2241
BinFalse143641

"if" / "when" / "else" condition on line 119:

119:        16 when (dlc = "1010") else 
Evaluated toCountThreshold
BinTrue2091
BinFalse141551

"if" / "when" / "else" condition on line 120:

120:        20 when (dlc = "1011") else 
Evaluated toCountThreshold
BinTrue1561
BinFalse139991

"if" / "when" / "else" condition on line 121:

121:        24 when (dlc = "1100") else 
Evaluated toCountThreshold
BinTrue2491
BinFalse137501

"if" / "when" / "else" condition on line 122:

122:        32 when (dlc = "1101") else 
Evaluated toCountThreshold
BinTrue1601
BinFalse135901

"if" / "when" / "else" condition on line 123:

123:        48 when (dlc = "1110") else 
Evaluated toCountThreshold
BinTrue1761
BinFalse134141

"if" / "when" / "else" condition on line 124:

124:        64 when (dlc = "1111") else 
Evaluated toCountThreshold
BinTrue951
BinFalse133191

"if" / "when" / "else" condition on line 130:

130:    data_len_can_2_0 <= dlc when (dlc_int <= 8
Evaluated toCountThreshold
BinTrue234371
BinFalse25371

"if" / "when" / "else" condition on line 137:

137:    data_len_can_fd <= ("000" & dlc) when (dlc_int <= 8
Evaluated toCountThreshold
BinTrue234371
BinFalse25371

"if" / "when" / "else" condition on line 142:

142:    data_length <= "000" & data_len_can_2_0 when (frame_type = NORMAL_CAN
Evaluated toCountThreshold
BinTrue126081
BinFalse61811

Uncovered toggles:

Excluded toggles:

Port:

 DLC
ElementFromToCountThresholdExcluded due to
Bin(3)0101Exclude file
Bin(3)1001Exclude file
Bin(2)0101Exclude file
Bin(2)1001Exclude file
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 FRAME_TYPE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 DATA_LENGTH
ElementFromToCountThreshold
Bin(6)01941
Bin(6)1016951
Bin(5)011801
Bin(5)1017811
Bin(4)014751
Bin(4)1020761
Bin(3)0119431
Bin(3)1035431
Bin(2)0122341
Bin(2)1038341
Bin(1)0119901
Bin(1)1035901
Bin(0)0136171
Bin(0)1052181

Signal:

 DATA_LEN_CAN_2_0
ElementFromToCountThreshold
Bin(3)0115881
Bin(3)1031881
Bin(2)0120291
Bin(2)1036291
Bin(1)0119901
Bin(1)1035901
Bin(0)0136171
Bin(0)1052181

Signal:

 DATA_LEN_CAN_FD
ElementFromToCountThreshold
Bin(6)01951
Bin(6)1016961
Bin(5)013241
Bin(5)1019241
Bin(4)017551
Bin(4)1023551
Bin(3)0116451
Bin(3)1032461
Bin(2)0123681
Bin(2)1039681
Bin(1)0119901
Bin(1)1035901
Bin(0)0136171
Bin(0)1052181

Uncovered expressions:

Excluded expressions:

Covered expressions:

"<=" expression on line 130:

 dlc_int <= 8 
Evaluated toCountThreshold
BinFalse25371
BinTrue234371

"<=" expression on line 137:

 dlc_int <= 8 
Evaluated toCountThreshold
BinFalse25371
BinTrue234371

"=" expression on line 142:

 frame_type = NORMAL_CAN 
Evaluated toCountThreshold
BinFalse61811
BinTrue126081

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: