NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_MAC_TOP.I_MAC_PC_TOP.I_MAC_PC_REINTEGRATION_COUNTER

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/medium_access_control/mac_pc_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_PC_TOP.I_MAC_PC_REINTEGRATION_COUNTER 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: 20805850
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: 20783537
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 (rst_n = '0') then 
150:            reinteg_ctr_q <= (others => '0'); 
...
154:            end if; 
155:        end if; 

Count: 1096781321
Threshold: 1

Signal assignment statement on line 150:

150:            reinteg_ctr_q <= (others => '0'); 
Count: 2422674
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: 547174334
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
BinFalse207835371

"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 (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24226741
BinFalse10943586471

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

151:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5471743341
BinFalse5471843131

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

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

Uncovered toggles:

Excluded toggles:

Port:

 CLK_SYS
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 RST_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
BinFalseFalse207835371
BinFalseTrue219301
BinTrueFalse3831

"=" expression on line 134:

 reinteg_ctr_clr = '1' 
Evaluated toCountThreshold
BinFalse208054671
BinTrue3831

"and" expression on line 135:

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

LHSRHSCountThreshold
BinFalseTrue103795181
BinTrueFalse219381
BinTrueTrue219301

"=" expression on line 135:

 reinteg_ctr_enable = '1' 
Evaluated toCountThreshold
BinFalse207619821
BinTrue438681

"=" expression on line 135:

 rx_trigger = '1' 
Evaluated toCountThreshold
BinFalse104044021
BinTrue104014481

"=" expression on line 149:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10943586471
BinTrue24226741

"=" expression on line 152:

 reinteg_ctr_ce = '1' 
Evaluated toCountThreshold
BinFalse5471475981
BinTrue267361

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: