NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.FAULT_CONFINEMENT_INST.FAULT_CONFINEMENT_RULES_INST

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


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.FAULT_CONFINEMENT_INST.FAULT_CONFINEMENT_RULES_INST 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: 354712
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: 52223
Threshold: 1

Signal assignment statement on line 166:

166:                 '0'
Count: 302489
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: 441563
Threshold: 1

Signal assignment statement on line 178:

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

Signal assignment statement on line 179:

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

Signal assignment statement on line 180:

180:                   '1' when (is_transmitter = '1' and 
Count: 70767
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: 360850
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: 56989
Threshold: 1

Signal assignment statement on line 189:

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

Signal assignment statement on line 191:

191:               '0'
Count: 30896
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: 109351
Threshold: 1

Signal assignment statement on line 197:

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

Signal assignment statement on line 199:

199:               '0'
Count: 64541
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: 166267
Threshold: 1

Signal assignment statement on line 200:

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

Signal assignment statement on line 202:

202:                 '0'
Count: 85586
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
BinTrue522231
BinFalse3024891

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

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

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

179:                   '1' when (act_err_ovr_flag = '1' and err_detected = '1') else 
Evaluated toCountThreshold
BinTrue15441
BinFalse4320151

"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
BinTrue707671
BinFalse3612481

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

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

189:    dec_one <= '1' when (decrement_rec = '1' or tran_valid = '1'
Evaluated toCountThreshold
BinTrue260931
BinFalse308961

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

197:    inc_one <= '1' when (inc_one_i = '1' and mr_mode_rom = ROM_DISABLED
Evaluated toCountThreshold
BinTrue448101
BinFalse645411

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

200:    inc_eight <= '1' when (inc_eight_i = '1' and mr_mode_rom = ROM_DISABLED
Evaluated toCountThreshold
BinTrue806811
BinFalse855861

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
Bin01448101
Bin10464111

Port:

 INC_EIGHT
FromToCountThreshold
Bin01806811
Bin10822821

Port:

 DEC_ONE
FromToCountThreshold
Bin01260931
Bin10276941

Signal:

 INC_ONE_I
FromToCountThreshold
Bin01522231
Bin10538241

Signal:

 INC_EIGHT_I
FromToCountThreshold
Bin01806811
Bin10822821

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
BinFalseTrue997741
BinTrueFalse707671
BinTrueTrue522231

"and" expression on line 164:

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

LHSRHSCountThreshold
BinFalseTrue2075051
BinTrueFalse15441
BinTrueTrue1229901

"=" expression on line 164:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse2301781
BinTrue1245341

"=" expression on line 164:

 act_err_ovr_flag = '0' 
Evaluated toCountThreshold
BinFalse242171
BinTrue3304951

"=" expression on line 164:

 is_receiver = '1' 
Evaluated toCountThreshold
BinFalse2027151
BinTrue1519971

"and" expression on line 178:

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

LHSRHSCountThreshold
BinFalseTrue1601611
BinTrueFalse147661
BinTrueTrue80041

"=" expression on line 178:

 primary_err = '1' 
Evaluated toCountThreshold
BinFalse4187931
BinTrue227701

"=" expression on line 178:

 is_receiver = '1' 
Evaluated toCountThreshold
BinFalse2733981
BinTrue1681651

"and" expression on line 179:

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

LHSRHSCountThreshold
BinFalseTrue1234711
BinTrueFalse210721
BinTrueTrue15441

"=" expression on line 179:

 act_err_ovr_flag = '1' 
Evaluated toCountThreshold
BinFalse4109431
BinTrue226161

"=" expression on line 179:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse3085441
BinTrue1250151

"and" expression on lines 180 to 182:

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

LHSRHSCountThreshold
BinFalseTrue3583711
BinTrueFalse4811
BinTrueTrue707671

"and" expression on lines 180 to 181:

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

LHSRHSCountThreshold
BinFalseTrue522231
BinTrueFalse1460381
BinTrueTrue712481

"=" expression on line 180:

 is_transmitter = '1' 
Evaluated toCountThreshold
BinFalse2147291
BinTrue2172861

"=" expression on line 181:

 err_detected = '1' 
Evaluated toCountThreshold
BinFalse3085441
BinTrue1234711

"=" expression on line 182:

 err_ctrs_unchanged = '0' 
Evaluated toCountThreshold
BinFalse28771
BinTrue4291381

"or" expression on line 183:

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

LHSRHSCountThreshold
BinFalseFalse3608501
BinFalseTrue81
BinTrueFalse3901

"=" expression on line 183:

 err_delim_late = '1' 
Evaluated toCountThreshold
BinFalse3608581
BinTrue3901

"=" expression on line 183:

 bit_err_after_ack_err = '1' 
Evaluated toCountThreshold
BinFalse3612401
BinTrue81

"or" expression on line 189:

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

LHSRHSCountThreshold
BinFalseFalse308961
BinFalseTrue111121
BinTrueFalse149811

"=" expression on line 189:

 decrement_rec = '1' 
Evaluated toCountThreshold
BinFalse420081
BinTrue149811

"=" expression on line 189:

 tran_valid = '1' 
Evaluated toCountThreshold
BinFalse458771
BinTrue111121

"and" expression on line 197:

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

LHSRHSCountThreshold
BinFalseTrue464621
BinTrueFalse74131
BinTrueTrue448101

"=" expression on line 197:

 inc_one_i = '1' 
Evaluated toCountThreshold
BinFalse571281
BinTrue522231

"=" expression on line 197:

 mr_mode_rom = ROM_DISABLED 
Evaluated toCountThreshold
BinFalse180791
BinTrue912721

"and" expression on line 200:

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

LHSRHSCountThreshold
BinFalseTrue823331
BinTrueTrue806811

"=" expression on line 200:

 inc_eight_i = '1' 
Evaluated toCountThreshold
BinFalse855861
BinTrue806811

"=" expression on line 200:

 mr_mode_rom = ROM_DISABLED 
Evaluated toCountThreshold
BinFalse32531
BinTrue1630141

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: