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_RX_INST_COMB

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_RX_INST_COMB 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: 5004569
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: 5004569
Threshold: 1

Signal assignment statement on line 118:

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

Signal assignment statement on line 119:

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

Signal assignment statement on line 120:

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

Signal assignment statement on line 121:

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

Signal assignment statement on line 122:

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

Signal assignment statement on line 123:

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

Signal assignment statement on line 124:

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

Signal assignment statement on line 125:

125:        0
Count: 3033678
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: 10005936
Threshold: 1

Signal assignment statement on line 130:

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

Signal assignment statement on line 132:

132:                        "1000"
Count: 3941774
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: 10005936
Threshold: 1

Signal assignment statement on line 137:

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

Signal assignment statement on line 139:

139:                       std_logic_vector(to_unsigned(data_len_8_to_64_integer, 7))
Count: 3941774
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: 5693738
Threshold: 1

Signal assignment statement on line 142:

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

Signal assignment statement on line 144:

144:                   data_len_can_fd
Count: 3306180
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

118:        12 when (dlc = "1001") else 
Evaluated toCountThreshold
BinTrue1642741
BinFalse48402951

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

119:        16 when (dlc = "1010") else 
Evaluated toCountThreshold
BinTrue2577401
BinFalse45825551

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

120:        20 when (dlc = "1011") else 
Evaluated toCountThreshold
BinTrue3513701
BinFalse42311851

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

121:        24 when (dlc = "1100") else 
Evaluated toCountThreshold
BinTrue3628271
BinFalse38683581

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

122:        32 when (dlc = "1101") else 
Evaluated toCountThreshold
BinTrue1582371
BinFalse37101211

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

123:        48 when (dlc = "1110") else 
Evaluated toCountThreshold
BinTrue3360011
BinFalse33741201

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

124:        64 when (dlc = "1111") else 
Evaluated toCountThreshold
BinTrue3404421
BinFalse30336781

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

130:    data_len_can_2_0 <= dlc when (dlc_int <= 8
Evaluated toCountThreshold
BinTrue60641621
BinFalse39417741

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

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

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

142:    data_length <= "000" & data_len_can_2_0 when (frame_type = NORMAL_CAN
Evaluated toCountThreshold
BinTrue23875581
BinFalse33061801

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)012464541
Bin(6)102480531
Bin(5)013464421
Bin(5)103480431
Bin(4)014460601
Bin(4)104476611
Bin(3)017763731
Bin(3)107779681
Bin(2)018187781
Bin(2)108203761
Bin(1)015983411
Bin(1)105999401
Bin(0)0111748271
Bin(0)1011732341

Signal:

 DATA_LEN_CAN_2_0
ElementFromToCountThreshold
Bin(3)015663571
Bin(3)105679501
Bin(2)015776271
Bin(2)105792251
Bin(1)015983411
Bin(1)105999401
Bin(0)0111748271
Bin(0)1011732341

Signal:

 DATA_LEN_CAN_FD
ElementFromToCountThreshold
Bin(6)013404421
Bin(6)103420381
Bin(5)014942381
Bin(5)104958381
Bin(4)017544581
Bin(4)107560571
Bin(3)018340191
Bin(3)108356201
Bin(2)0110021471
Bin(2)1010037431
Bin(1)015983411
Bin(1)105999401
Bin(0)0111748271
Bin(0)1011732341

Uncovered expressions:

Excluded expressions:

Covered expressions:

"<=" expression on line 130:

 dlc_int <= 8 
Evaluated toCountThreshold
BinFalse39417741
BinTrue60641621

"<=" expression on line 137:

 dlc_int <= 8 
Evaluated toCountThreshold
BinFalse39417741
BinTrue60641621

"=" expression on line 142:

 frame_type = NORMAL_CAN 
Evaluated toCountThreshold
BinFalse33061801
BinTrue23875581

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: