NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_FC_TOP.I_MAC_FC_RULES

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/medium_access_control/mac_fc_top.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_FC_TOP.I_MAC_FC_RULES 100.0 % (18/18) 100.0 % (16/16) 100.0 % (34/34) 98.4 % (65/66) N.A. N.A. 99.2 % (133/134)

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:

If statement on lines 164 to 166:

164:    inc_one_i <= '1' when (err_detected = '1' and act_err_ovr_flag = '0' and is_receiver = '1') 
165:                     else 
166:                 '0'; 

Count: 358465
Threshold: 1

Signal assignment statement on line 164:

164:    inc_one_i <= '1' when (err_detected = '1' and act_err_ovr_flag = '0' and is_receiver = '1') 
Count: 53093
Threshold: 1

Signal assignment statement on line 166:

166:                 '0'; 
Count: 305372
Threshold: 1

If statement on lines 178 to 184:

178:    inc_eight_i <= '1' when (primary_err = '1' and is_receiver = '1') else 
179:                   '1' when (act_err_ovr_flag = '1' and err_detected = '1') else 
...
183:                   '1' when (err_delim_late = '1' or bit_err_after_ack_err = '1') else 
184:                   '0'; 

Count: 445431
Threshold: 1

Signal assignment statement on line 178:

178:    inc_eight_i <= '1' when (primary_err = '1' and is_receiver = '1') else 
Count: 8019
Threshold: 1

Signal assignment statement on line 179:

179:                   '1' when (act_err_ovr_flag = '1' and err_detected = '1') else 
Count: 1509
Threshold: 1

Signal assignment statement on line 180:

180:                   '1' when (is_transmitter = '1' and 
Count: 71858
Threshold: 1

Signal assignment statement on line 183:

183:                   '1' when (err_delim_late = '1' or bit_err_after_ack_err = '1') else 
Count: 398
Threshold: 1

Signal assignment statement on line 184:

184:                   '0'; 
Count: 363647
Threshold: 1

If statement on lines 189 to 191:

189:    dec_one <= '1' when (decrement_rec = '1' or tran_valid = '1') 
190:                   else 
191:               '0'; 

Count: 56933
Threshold: 1

Signal assignment statement on line 189:

189:    dec_one <= '1' when (decrement_rec = '1' or tran_valid = '1') 
Count: 26065
Threshold: 1

Signal assignment statement on line 191:

191:               '0'; 
Count: 30868
Threshold: 1

If statement on lines 197 to 199:

197:    inc_one <= '1' when (inc_one_i = '1' and mr_mode_rom = ROM_DISABLED) 
198:                   else 
199:               '0'; 

Count: 111091
Threshold: 1

Signal assignment statement on line 197:

197:    inc_one <= '1' when (inc_one_i = '1' and mr_mode_rom = ROM_DISABLED) 
Count: 45675
Threshold: 1

Signal assignment statement on line 199:

199:               '0'; 
Count: 65416
Threshold: 1

If statement on lines 200 to 202:

200:    inc_eight <= '1' when (inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED) 
201:                     else 
202:                 '0'; 

Count: 168407
Threshold: 1

Signal assignment statement on line 200:

200:    inc_eight <= '1' when (inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED) 
Count: 81751
Threshold: 1

Signal assignment statement on line 202:

202:                 '0'; 
Count: 86656
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

164:    inc_one_i <= '1' when (err_detected = '1' and act_err_ovr_flag = '0' and is_receiver = '1') 
Evaluated toCountThreshold
BinTrue530931
BinFalse3053721

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

178:    inc_eight_i <= '1' when (primary_err = '1' and is_receiver = '1') else 
Evaluated toCountThreshold
BinTrue80191
BinFalse4374121

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

179:                   '1' when (act_err_ovr_flag = '1' and err_detected = '1') else 
Evaluated toCountThreshold
BinTrue15091
BinFalse4359031

"if" / "when" / "else" condition on lines 180 to 182:

180:                   '1' when (is_transmitter = '1' and 
181:                             err_detected = '1' and 
182:                             err_ctrs_unchanged = '0') else 

Evaluated toCountThreshold
BinTrue718581
BinFalse3640451

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

183:                   '1' when (err_delim_late = '1' or bit_err_after_ack_err = '1') else 
Evaluated toCountThreshold
BinTrue3981
BinFalse3636471

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

189:    dec_one <= '1' when (decrement_rec = '1' or tran_valid = '1') 
Evaluated toCountThreshold
BinTrue260651
BinFalse308681

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

197:    inc_one <= '1' when (inc_one_i = '1' and mr_mode_rom = ROM_DISABLED) 
Evaluated toCountThreshold
BinTrue456751
BinFalse654161

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

200:    inc_eight <= '1' when (inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED) 
Evaluated toCountThreshold
BinTrue817511
BinFalse866561

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 IS_TRANSMITTER
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 IS_RECEIVER
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 ERR_DETECTED
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 ERR_CTRS_UNCHANGED
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 PRIMARY_ERR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 ACT_ERR_OVR_FLAG
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 ERR_DELIM_LATE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TRAN_VALID
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 DECREMENT_REC
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 BIT_ERR_AFTER_ACK_ERR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 MR_MODE_ROM
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 INC_ONE
FromToCountThreshold
Bin01456751
Bin10472761

Port:

 INC_EIGHT
FromToCountThreshold
Bin01817511
Bin10833521

Port:

 DEC_ONE
FromToCountThreshold
Bin01260651
Bin10276661

Signal:

 INC_ONE_I
FromToCountThreshold
Bin01530931
Bin10546941

Signal:

 INC_EIGHT_I
FromToCountThreshold
Bin01817511
Bin10833521

Uncovered expressions:

"and" expression on line 200:

 inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED 
 <------LHS------>     <----------RHS-----------> 

LHSRHSCountThresholdExclude Command
BinTrueFalse01

Excluded expressions:

Covered expressions:

"and" expression on line 164:

 err_detected = '1' and act_err_ovr_flag = '0' and is_receiver = '1' 
 <--------------------LHS-------------------->     <------RHS------> 

LHSRHSCountThreshold
BinFalseTrue1006551
BinTrueFalse718581
BinTrueTrue530931

"and" expression on line 164:

 err_detected = '1' and act_err_ovr_flag = '0' 
 <------LHS------->     <--------RHS---------> 

LHSRHSCountThreshold
BinFalseTrue2094081
BinTrueFalse15091
BinTrueTrue1249511

"=" expression on line 164:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse2320051
BinTrue1264601

"=" expression on line 164:

 act_err_ovr_flag = '0' 
Evaluated toCountThreshold
BinFalse241061
BinTrue3343591

"=" expression on line 164:

 is_receiver = '1' 
Evaluated toCountThreshold
BinFalse2047171
BinTrue1537481

"and" expression on line 178:

 primary_err = '1' and is_receiver = '1' 
 <------LHS------>     <------RHS------> 

LHSRHSCountThreshold
BinFalseTrue1619271
BinTrueFalse145601
BinTrueTrue80191

"=" expression on line 178:

 primary_err = '1' 
Evaluated toCountThreshold
BinFalse4228521
BinTrue225791

"=" expression on line 178:

 is_receiver = '1' 
Evaluated toCountThreshold
BinFalse2754851
BinTrue1699461

"and" expression on line 179:

 act_err_ovr_flag = '1' and err_detected = '1' 
 <--------LHS--------->     <------RHS-------> 

LHSRHSCountThreshold
BinFalseTrue1254421
BinTrueFalse209961
BinTrueTrue15091

"=" expression on line 179:

 act_err_ovr_flag = '1' 
Evaluated toCountThreshold
BinFalse4149071
BinTrue225051

"=" expression on line 179:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse3104611
BinTrue1269511

"and" expression on lines 180 to 182:

 is_transmitter = '1' and err_detected = '1' and err_ctrs_unchanged = '0' 
 <-------------------LHS------------------->     <---------RHS----------> 

LHSRHSCountThreshold
BinFalseTrue3611391
BinTrueFalse4911
BinTrueTrue718581

"and" expression on lines 180 to 181:

 is_transmitter = '1' and err_detected = '1' 
 <-------LHS-------->     <------RHS-------> 

LHSRHSCountThreshold
BinFalseTrue530931
BinTrueFalse1468341
BinTrueTrue723491

"=" expression on line 180:

 is_transmitter = '1' 
Evaluated toCountThreshold
BinFalse2167201
BinTrue2191831

"=" expression on line 181:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse3104611
BinTrue1254421

"=" expression on line 182:

 err_ctrs_unchanged = '0' 
Evaluated toCountThreshold
BinFalse29061
BinTrue4329971

"or" expression on line 183:

 err_delim_late = '1' or bit_err_after_ack_err = '1' 
 <-------LHS-------->    <-----------RHS-----------> 

LHSRHSCountThreshold
BinFalseFalse3636471
BinFalseTrue81
BinTrueFalse3901

"=" expression on line 183:

 err_delim_late = '1' 
Evaluated toCountThreshold
BinFalse3636551
BinTrue3901

"=" expression on line 183:

 bit_err_after_ack_err = '1' 
Evaluated toCountThreshold
BinFalse3640371
BinTrue81

"or" expression on line 189:

 decrement_rec = '1' or tran_valid = '1' 
 <-------LHS------->    <-----RHS------> 

LHSRHSCountThreshold
BinFalseFalse308681
BinFalseTrue111061
BinTrueFalse149591

"=" expression on line 189:

 decrement_rec = '1' 
Evaluated toCountThreshold
BinFalse419741
BinTrue149591

"=" expression on line 189:

 tran_valid = '1' 
Evaluated toCountThreshold
BinFalse458271
BinTrue111061

"and" expression on line 197:

 inc_one_i = '1' and mr_mode_rom = ROM_DISABLED 
 <-----LHS----->     <----------RHS-----------> 

LHSRHSCountThreshold
BinFalseTrue473271
BinTrueFalse74181
BinTrueTrue456751

"=" expression on line 197:

 inc_one_i = '1' 
Evaluated toCountThreshold
BinFalse579981
BinTrue530931

"=" expression on line 197:

 mr_mode_rom = ROM_DISABLED 
Evaluated toCountThreshold
BinFalse180891
BinTrue930021

"and" expression on line 200:

 inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED 
 <------LHS------>     <----------RHS-----------> 

LHSRHSCountThreshold
BinFalseTrue834031
BinTrueTrue817511

"=" expression on line 200:

 inc_eight_i = '1' 
Evaluated toCountThreshold
BinFalse866561
BinTrue817511

"=" expression on line 200:

 mr_mode_rom = ROM_DISABLED 
Evaluated toCountThreshold
BinFalse32531
BinTrue1651541

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: