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: 358456
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: 53360
Threshold: 1

Signal assignment statement on line 166:

166:                 '0'
Count: 305096
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: 445763
Threshold: 1

Signal assignment statement on line 178:

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

Signal assignment statement on line 179:

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

Signal assignment statement on line 180:

180:                   '1' when (is_transmitter = '1' and 
Count: 71389
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: 364451
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: 56937
Threshold: 1

Signal assignment statement on line 189:

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

Signal assignment statement on line 191:

191:               '0'
Count: 30870
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: 111625
Threshold: 1

Signal assignment statement on line 197:

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

Signal assignment statement on line 199:

199:               '0'
Count: 65682
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: 167463
Threshold: 1

Signal assignment statement on line 200:

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

Signal assignment statement on line 202:

202:                 '0'
Count: 86184
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
BinTrue533601
BinFalse3050961

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

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

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

179:                   '1' when (act_err_ovr_flag = '1' and err_detected = '1') else 
Evaluated toCountThreshold
BinTrue15191
BinFalse4362381

"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
BinTrue713891
BinFalse3648491

"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
BinFalse3644511

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

189:    dec_one <= '1' when (decrement_rec = '1' or tran_valid = '1'
Evaluated toCountThreshold
BinTrue260671
BinFalse308701

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

197:    inc_one <= '1' when (inc_one_i = '1' and mr_mode_rom = ROM_DISABLED
Evaluated toCountThreshold
BinTrue459431
BinFalse656821

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

200:    inc_eight <= '1' when (inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED
Evaluated toCountThreshold
BinTrue812791
BinFalse861841

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
Bin01459431
Bin10475441

Port:

 INC_EIGHT
FromToCountThreshold
Bin01812791
Bin10828801

Port:

 DEC_ONE
FromToCountThreshold
Bin01260671
Bin10276681

Signal:

 INC_ONE_I
FromToCountThreshold
Bin01533601
Bin10549611

Signal:

 INC_EIGHT_I
FromToCountThreshold
Bin01812791
Bin10828801

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
BinFalseTrue1008371
BinTrueFalse713891
BinTrueTrue533601

"and" expression on line 164:

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

LHSRHSCountThreshold
BinFalseTrue2093681
BinTrueFalse15191
BinTrueTrue1247491

"=" expression on line 164:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse2321881
BinTrue1262681

"=" expression on line 164:

 act_err_ovr_flag = '0' 
Evaluated toCountThreshold
BinFalse243391
BinTrue3341171

"=" expression on line 164:

 is_receiver = '1' 
Evaluated toCountThreshold
BinFalse2042591
BinTrue1541971

"and" expression on line 178:

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

LHSRHSCountThreshold
BinFalseTrue1623631
BinTrueFalse147431
BinTrueTrue80061

"=" expression on line 178:

 primary_err = '1' 
Evaluated toCountThreshold
BinFalse4230141
BinTrue227491

"=" expression on line 178:

 is_receiver = '1' 
Evaluated toCountThreshold
BinFalse2753941
BinTrue1703691

"and" expression on line 179:

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

LHSRHSCountThreshold
BinFalseTrue1252381
BinTrueFalse212191
BinTrueTrue15191

"=" expression on line 179:

 act_err_ovr_flag = '1' 
Evaluated toCountThreshold
BinFalse4150191
BinTrue227381

"=" expression on line 179:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse3110001
BinTrue1267571

"and" expression on lines 180 to 182:

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

LHSRHSCountThreshold
BinFalseTrue3619591
BinTrueFalse4891
BinTrueTrue713891

"and" expression on lines 180 to 181:

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

LHSRHSCountThreshold
BinFalseTrue533601
BinTrueFalse1472091
BinTrueTrue718781

"=" expression on line 180:

 is_transmitter = '1' 
Evaluated toCountThreshold
BinFalse2171511
BinTrue2190871

"=" expression on line 181:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse3110001
BinTrue1252381

"=" expression on line 182:

 err_ctrs_unchanged = '0' 
Evaluated toCountThreshold
BinFalse28901
BinTrue4333481

"or" expression on line 183:

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

LHSRHSCountThreshold
BinFalseFalse3644511
BinFalseTrue81
BinTrueFalse3901

"=" expression on line 183:

 err_delim_late = '1' 
Evaluated toCountThreshold
BinFalse3644591
BinTrue3901

"=" expression on line 183:

 bit_err_after_ack_err = '1' 
Evaluated toCountThreshold
BinFalse3648411
BinTrue81

"or" expression on line 189:

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

LHSRHSCountThreshold
BinFalseFalse308701
BinFalseTrue111151
BinTrueFalse149521

"=" expression on line 189:

 decrement_rec = '1' 
Evaluated toCountThreshold
BinFalse419851
BinTrue149521

"=" expression on line 189:

 tran_valid = '1' 
Evaluated toCountThreshold
BinFalse458221
BinTrue111151

"and" expression on line 197:

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

LHSRHSCountThreshold
BinFalseTrue475951
BinTrueFalse74171
BinTrueTrue459431

"=" expression on line 197:

 inc_one_i = '1' 
Evaluated toCountThreshold
BinFalse582651
BinTrue533601

"=" expression on line 197:

 mr_mode_rom = ROM_DISABLED 
Evaluated toCountThreshold
BinFalse180871
BinTrue935381

"and" expression on line 200:

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

LHSRHSCountThreshold
BinFalseTrue829311
BinTrueTrue812791

"=" expression on line 200:

 inc_eight_i = '1' 
Evaluated toCountThreshold
BinFalse861841
BinTrue812791

"=" expression on line 200:

 mr_mode_rom = ROM_DISABLED 
Evaluated toCountThreshold
BinFalse32531
BinTrue1642101

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: