NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.DUT.CAN_CORE_INST.PROTOCOL_CONTROL_INST.REINTEGRATION_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.REINTEGRATION_COUNTER_INST 100.0 % (13/13) 100.0 % (12/12) 100.0 % (46/46) 100.0 % (18/18) N.A. N.A. 100.0 % (89/89)

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 129 to 131:

129:    reinteg_ctr_d <= (others => '0') when (reinteg_ctr_clr = '1') 
130:                                     else 
131:                     reinteg_ctr_q + 1; 

Count: 27243
Threshold: 1

Signal assignment statement on line 129:

129:    reinteg_ctr_d <= (others => '0') when (reinteg_ctr_clr = '1') 
Count: 187
Threshold: 1

Signal assignment statement on line 131:

131:                     reinteg_ctr_q + 1
Count: 27056
Threshold: 1

If statement on lines 134 to 137:

134:    reinteg_ctr_ce <= '1' when (reinteg_ctr_clr = '1' or 
135:                                (reinteg_ctr_enable = '1' and rx_trigger = '1')) 
136:                          else 
137:                      '0'; 

Count: 20723346
Threshold: 1

Signal assignment statement on line 134:

134:    reinteg_ctr_ce <= '1' when (reinteg_ctr_clr = '1' or 
Count: 22313
Threshold: 1

Signal assignment statement on line 137:

137:                      '0'
Count: 20701033
Threshold: 1

If statement on lines 140 to 142:

140:    reinteg_ctr_expired <= '1' when (reinteg_ctr_q = 128) 
141:                               else 
142:                           '0'; 

Count: 25302
Threshold: 1

Signal assignment statement on line 140:

140:    reinteg_ctr_expired <= '1' when (reinteg_ctr_q = 128) 
Count: 170
Threshold: 1

Signal assignment statement on line 142:

142:                           '0'
Count: 25132
Threshold: 1

If statement on lines 149 to 155:

149:        if (res_n = '0') then 
150:            reinteg_ctr_q <= (others => '0'); 
...
154:            end if; 
155:        end if; 

Count: 1090018206
Threshold: 1

Signal assignment statement on line 150:

150:            reinteg_ctr_q <= (others => '0'); 
Count: 2424883
Threshold: 1

If statement on lines 152 to 154:

152:            if (reinteg_ctr_ce = '1') then 
153:                reinteg_ctr_q <= reinteg_ctr_d; 
154:            end if; 

Count: 543791678
Threshold: 1

Signal assignment statement on line 153:

153:                reinteg_ctr_q <= reinteg_ctr_d; 
Count: 26736
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

129:    reinteg_ctr_d <= (others => '0') when (reinteg_ctr_clr = '1'
Evaluated toCountThreshold
BinTrue1871
BinFalse270561

"if" / "when" / "else" condition on lines 134 to 135:

134:    reinteg_ctr_ce <= '1' when (reinteg_ctr_clr = '1' or 
135:                                (reinteg_ctr_enable = '1' and rx_trigger = '1')) 

Evaluated toCountThreshold
BinTrue223131
BinFalse207010331

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

140:    reinteg_ctr_expired <= '1' when (reinteg_ctr_q = 128
Evaluated toCountThreshold
BinTrue1701
BinFalse251321

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

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

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

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

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

152:            if (reinteg_ctr_ce = '1') then 
Evaluated toCountThreshold
BinTrue267361
BinFalse5437649421

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:

 REINTEG_CTR_CLR
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 REINTEG_CTR_ENABLE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RX_TRIGGER
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 REINTEG_CTR_EXPIRED
FromToCountThreshold
Bin011701
Bin1017711

Signal:

 REINTEG_CTR_D
ElementFromToCountThreshold
Bin(7)011701
Bin(7)1017711
Bin(6)011701
Bin(6)1017711
Bin(5)013401
Bin(5)1019411
Bin(4)016801
Bin(4)1022811
Bin(3)0113601
Bin(3)1029611
Bin(2)0127201
Bin(2)1043211
Bin(1)0156101
Bin(1)1072111
Bin(0)01128041
Bin(0)10112031

Signal:

 REINTEG_CTR_Q
ElementFromToCountThreshold
Bin(7)011701
Bin(7)1017711
Bin(6)011701
Bin(6)1017711
Bin(5)013401
Bin(5)1019411
Bin(4)016801
Bin(4)1022811
Bin(3)0113601
Bin(3)1029611
Bin(2)0127201
Bin(2)1043211
Bin(1)0154401
Bin(1)1070411
Bin(0)01110501
Bin(0)10126511

Signal:

 REINTEG_CTR_CE
FromToCountThreshold
Bin01221001
Bin10237011

Uncovered expressions:

Excluded expressions:

Covered expressions:

"=" expression on line 129:

 reinteg_ctr_clr = '1' 
Evaluated toCountThreshold
BinFalse270561
BinTrue1871

"or" expression on lines 134 to 135:

 reinteg_ctr_clr = '1' or (reinteg_ctr_enable = '1' and rx_trigger = '1') 
 <--------LHS-------->     <--------------------RHS-------------------->  

LHSRHSCountThreshold
BinFalseFalse207010331
BinFalseTrue219301
BinTrueFalse3831

"=" expression on line 134:

 reinteg_ctr_clr = '1' 
Evaluated toCountThreshold
BinFalse207229631
BinTrue3831

"and" expression on line 135:

 reinteg_ctr_enable = '1' and rx_trigger = '1' 
 <---------LHS---------->     <-----RHS------> 

LHSRHSCountThreshold
BinFalseTrue103382661
BinTrueFalse219381
BinTrueTrue219301

"=" expression on line 135:

 reinteg_ctr_enable = '1' 
Evaluated toCountThreshold
BinFalse206794781
BinTrue438681

"=" expression on line 135:

 rx_trigger = '1' 
Evaluated toCountThreshold
BinFalse103631501
BinTrue103601961

"=" expression on line 149:

 res_n = '0' 
Evaluated toCountThreshold
BinFalse10875933231
BinTrue24248831

"=" expression on line 152:

 reinteg_ctr_ce = '1' 
Evaluated toCountThreshold
BinFalse5437649421
BinTrue267361

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: