NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.PROTOCOL_CONTROL_INST.RETRANSMITT_COUNTER_INST

File:  /__w/ctu-can-regression/ctu-can-regression/src/can_core/protocol_control.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.RETRANSMITT_COUNTER_INST 100.0 % (15/15) 100.0 % (14/14) 100.0 % (46/46) 100.0 % (25/25) N.A. N.A. 100.0 % (100/100)

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 143 to 145:

143:    retr_ctr_d <= (retr_ctr_q + 1) when (retr_ctr_add = '1') else 
144:                   (others => '0') when (retr_ctr_clear = '1' or txtb_changed = '1') else 
145:                   retr_ctr_q; 

Count: 89711
Threshold: 1

Signal assignment statement on line 143:

143:    retr_ctr_d <= (retr_ctr_q + 1) when (retr_ctr_add = '1') else 
Count: 20838
Threshold: 1

Signal assignment statement on line 144:

144:                   (others => '0') when (retr_ctr_clear = '1' or txtb_changed = '1') else 
Count: 30743
Threshold: 1

Signal assignment statement on line 145:

145:                   retr_ctr_q
Count: 38130
Threshold: 1

If statement on lines 148 to 150:

148:    retr_ctr_ce <= '1' when (txtb_changed = '1' or retr_ctr_clear = '1' or retr_ctr_add = '1') 
149:                       else 
150:                   '0'; 

Count: 86797
Threshold: 1

Signal assignment statement on line 148:

148:    retr_ctr_ce <= '1' when (txtb_changed = '1' or retr_ctr_clear = '1' or retr_ctr_add = '1') 
Count: 50305
Threshold: 1

Signal assignment statement on line 150:

150:                   '0'
Count: 36492
Threshold: 1

If statement on lines 157 to 163:

157:        if (res_n = '0') then 
158:            retr_ctr_q <= (others => '0'); 
...
162:            end if; 
163:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 158:

158:            retr_ctr_q <= (others => '0'); 
Count: 2424883
Threshold: 1

If statement on lines 160 to 162:

160:            if (retr_ctr_ce = '1') then 
161:                retr_ctr_q <= retr_ctr_d; 
162:            end if; 

Count: 543791678
Threshold: 1

Signal assignment statement on line 161:

161:                retr_ctr_q <= retr_ctr_d; 
Count: 31679
Threshold: 1

If statement on lines 167 to 169:

167:    retr_limit_reached <= '1' when (unsigned(mr_settings_rtrth) = retr_ctr_q) 
168:                              else 
169:                          '0'; 

Count: 6266
Threshold: 1

Signal assignment statement on line 167:

167:    retr_limit_reached <= '1' when (unsigned(mr_settings_rtrth) = retr_ctr_q) 
Count: 1853
Threshold: 1

Signal assignment statement on line 169:

169:                          '0'
Count: 4413
Threshold: 1

Signal assignment statement on line 172:

172:    retr_ctr <= std_logic_vector(retr_ctr_q)
Count: 4515
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

143:    retr_ctr_d <= (retr_ctr_q + 1) when (retr_ctr_add = '1') else 
Evaluated toCountThreshold
BinTrue208381
BinFalse688731

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

144:                   (others => '0') when (retr_ctr_clear = '1' or txtb_changed = '1') else 
Evaluated toCountThreshold
BinTrue307431
BinFalse381301

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

148:    retr_ctr_ce <= '1' when (txtb_changed = '1' or retr_ctr_clear = '1' or retr_ctr_add = '1'
Evaluated toCountThreshold
BinTrue503051
BinFalse364921

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

157:        if (res_n = '0') then 
Evaluated toCountThreshold
BinTrue24248831
BinFalse10875933231

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

159:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5437916781
BinFalse5438016451

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

160:            if (retr_ctr_ce = '1') then 
Evaluated toCountThreshold
BinTrue316791
BinFalse5437599991

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

167:    retr_limit_reached <= '1' when (unsigned(mr_settings_rtrth) = retr_ctr_q
Evaluated toCountThreshold
BinTrue18531
BinFalse44131

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RES_N
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TXTB_CHANGED
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RETR_CTR_CLEAR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RETR_CTR_ADD
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 MR_SETTINGS_RTRTH
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

Covered toggles:

Port:

 RETR_LIMIT_REACHED
FromToCountThreshold
Bin0118531
Bin1018541

Port:

 RETR_CTR
ElementFromToCountThreshold
Bin(3)01541
Bin(3)1016551
Bin(2)011401
Bin(2)1017411
Bin(1)012571
Bin(1)1018581
Bin(0)016421
Bin(0)1022421

Signal:

 RETR_CTR_D
ElementFromToCountThreshold
Bin(3)011521
Bin(3)1017531
Bin(2)013781
Bin(2)1019791
Bin(1)019601
Bin(1)1025611
Bin(0)01111031
Bin(0)10127031

Signal:

 RETR_CTR_Q
ElementFromToCountThreshold
Bin(3)01541
Bin(3)1016551
Bin(2)011401
Bin(2)1017411
Bin(1)012571
Bin(1)1018581
Bin(0)016421
Bin(0)1022421

Signal:

 RETR_CTR_CE
FromToCountThreshold
Bin01316891
Bin10332901

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 143:

 retr_ctr_add = '1' 
Evaluated toCountThreshold
BinFalse688731
BinTrue208381

"or" expression on line 144:

 retr_ctr_clear = '1' or txtb_changed = '1' 
 <-------LHS-------->    <------RHS-------> 

LHSRHSCountThreshold
BinFalseFalse381301
BinFalseTrue100641
BinTrueFalse206791

"=" expression on line 144:

 retr_ctr_clear = '1' 
Evaluated toCountThreshold
BinFalse481941
BinTrue206791

"=" expression on line 144:

 txtb_changed = '1' 
Evaluated toCountThreshold
BinFalse588091
BinTrue100641

"or" expression on line 148:

 txtb_changed = '1' or retr_ctr_clear = '1' or retr_ctr_add = '1' 
 <------------------LHS------------------->    <------RHS-------> 

LHSRHSCountThreshold
BinFalseFalse364921
BinFalseTrue102911
BinTrueFalse305781

"or" expression on line 148:

 txtb_changed = '1' or retr_ctr_clear = '1' 
 <------LHS------->    <-------RHS--------> 

LHSRHSCountThreshold
BinFalseFalse467831
BinFalseTrue299941
BinTrueFalse100201

"=" expression on line 148:

 txtb_changed = '1' 
Evaluated toCountThreshold
BinFalse767771
BinTrue100201

"=" expression on line 148:

 retr_ctr_clear = '1' 
Evaluated toCountThreshold
BinFalse568031
BinTrue299941

"=" expression on line 148:

 retr_ctr_add = '1' 
Evaluated toCountThreshold
BinFalse670701
BinTrue197271

"=" expression on line 157:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"=" expression on line 160:

 retr_ctr_ce = '1' 
Evaluated toCountThreshold
BinFalse5437599991
BinTrue316791

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: