NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_PC_TOP.I_MAC_PC_FSM.I_DLC_DECODER_RX_INST_COMB

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/medium_access_control/mac_pc_fsm.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_PC_TOP.I_MAC_PC_FSM.I_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: 5030634
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: 5030634
Threshold: 1

Signal assignment statement on line 118:

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

Signal assignment statement on line 119:

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

Signal assignment statement on line 120:

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

Signal assignment statement on line 121:

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

Signal assignment statement on line 122:

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

Signal assignment statement on line 123:

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

Signal assignment statement on line 124:

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

Signal assignment statement on line 125:

125:        0
Count: 3049820
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: 10058066
Threshold: 1

Signal assignment statement on line 130:

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

Signal assignment statement on line 132:

132:                        "1000"
Count: 3961622
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: 10058066
Threshold: 1

Signal assignment statement on line 137:

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

Signal assignment statement on line 139:

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

Signal assignment statement on line 142:

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

Signal assignment statement on line 144:

144:                   data_len_can_fd
Count: 3277491
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

118:        12 when (dlc = "1001") else 
Evaluated toCountThreshold
BinTrue1698581
BinFalse48607761

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

119:        16 when (dlc = "1010") else 
Evaluated toCountThreshold
BinTrue2623241
BinFalse45984521

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

120:        20 when (dlc = "1011") else 
Evaluated toCountThreshold
BinTrue3587261
BinFalse42397261

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

121:        24 when (dlc = "1100") else 
Evaluated toCountThreshold
BinTrue3605871
BinFalse38791391

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

122:        32 when (dlc = "1101") else 
Evaluated toCountThreshold
BinTrue1584151
BinFalse37207241

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

123:        48 when (dlc = "1110") else 
Evaluated toCountThreshold
BinTrue3333551
BinFalse33873691

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

124:        64 when (dlc = "1111") else 
Evaluated toCountThreshold
BinTrue3375491
BinFalse30498201

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

130:    data_len_can_2_0 <= dlc when (dlc_int <= 8
Evaluated toCountThreshold
BinTrue60964441
BinFalse39616221

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

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

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

142:    data_length <= "000" & data_len_can_2_0 when (frame_type = NORMAL_CAN
Evaluated toCountThreshold
BinTrue24534431
BinFalse32774911

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)012481901
Bin(6)102497891
Bin(5)013458721
Bin(5)103474731
Bin(4)014435601
Bin(4)104451611
Bin(3)017851181
Bin(3)107867151
Bin(2)018218531
Bin(2)108234511
Bin(1)016101261
Bin(1)106117241
Bin(0)0111911781
Bin(0)1011895831

Signal:

 DATA_LEN_CAN_2_0
ElementFromToCountThreshold
Bin(3)015773331
Bin(3)105789281
Bin(2)015866881
Bin(2)105882861
Bin(1)016101261
Bin(1)106117241
Bin(0)0111911781
Bin(0)1011895831

Signal:

 DATA_LEN_CAN_FD
ElementFromToCountThreshold
Bin(6)013375491
Bin(6)103391441
Bin(5)014917701
Bin(5)104933711
Bin(4)017594951
Bin(4)107610961
Bin(3)018451341
Bin(3)108467351
Bin(2)0110211801
Bin(2)1010227781
Bin(1)016101261
Bin(1)106117241
Bin(0)0111911781
Bin(0)1011895831

Uncovered expressions:

Excluded expressions:

Covered expressions:

"<=" expression on line 130:

 dlc_int <= 8 
Evaluated toCountThreshold
BinFalse39616221
BinTrue60964441

"<=" expression on line 137:

 dlc_int <= 8 
Evaluated toCountThreshold
BinFalse39616221
BinTrue60964441

"=" expression on line 142:

 frame_type = NORMAL_CAN 
Evaluated toCountThreshold
BinFalse32774911
BinTrue24534431

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: