NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_COUNTERS_DBT

File:  /__w/CTU-CAN-FD/CTU-CAN-FD/src/bit_timing_logic/btl_top.vhd


Current Instance Statement Branch Toggle Expression FSM state Functional Average
CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_COUNTERS_DBT 100.0 % (23/23) 100.0 % (20/20) 100.0 % (108/108) 100.0 % (29/29) N.A. N.A. 100.0 % (180/180)

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 155 to 157:

155:    tq_counter_expired <= '1' when (unsigned(tq_counter_q) = unsigned(brp)) 
156:                              else 
157:                          '0'; 

Count: 78599525
Threshold: 1

Signal assignment statement on line 155:

155:    tq_counter_expired <= '1' when (unsigned(tq_counter_q) = unsigned(brp)) 
Count: 34564821
Threshold: 1

Signal assignment statement on line 157:

157:                          '0'; 
Count: 44034704
Threshold: 1

If statement on lines 165 to 168:

165:    tq_counter_d <= 
166:        std_logic_vector(C_TQ_RST) when (tq_counter_expired = '1' or tq_reset = '1') 
167:                                   else 
168:        std_logic_vector(unsigned(tq_counter_q) + 1); 

Count: 193392391
Threshold: 1

Signal assignment statement on line 166:

166:        std_logic_vector(C_TQ_RST) when (tq_counter_expired = '1' or tq_reset = '1') 
Count: 113546195
Threshold: 1

Signal assignment statement on line 168:

168:        std_logic_vector(unsigned(tq_counter_q) + 1); 
Count: 79846196
Threshold: 1

If statement on lines 172 to 178:

172:        if (rst_n = '0') then 
173:            tq_counter_q <= std_logic_vector(C_TQ_RST); 
...
177:            end if; 
178:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 173:

173:            tq_counter_q <= std_logic_vector(C_TQ_RST); 
Count: 2422593
Threshold: 1

If statement on lines 175 to 177:

175:            if (ctrs_en = '1') then 
176:                tq_counter_q <= tq_counter_d; 
177:            end if; 

Count: 543351807
Threshold: 1

Signal assignment statement on line 176:

176:                tq_counter_q <= tq_counter_d; 
Count: 136969451
Threshold: 1

Signal assignment statement on line 184:

184:    tq_edge_i <= tq_counter_expired; 
Count: 69132834
Threshold: 1

If statement on lines 189 to 190:

189:    segm_counter_d <= C_BT_ZEROES when (bt_reset = '1') else 
190:                      std_logic_vector(unsigned(segm_counter_q) + 1); 

Count: 138666133
Threshold: 1

Signal assignment statement on line 189:

189:    segm_counter_d <= C_BT_ZEROES when (bt_reset = '1') else 
Count: 32874368
Threshold: 1

Signal assignment statement on line 190:

190:                      std_logic_vector(unsigned(segm_counter_q) + 1); 
Count: 105791765
Threshold: 1

If statement on lines 192 to 194:

192:    segm_counter_ce <= '1' when (bt_reset = '1') or (tq_edge_i = '1' and ctrs_en = '1') 
193:                           else 
194:                       '0'; 

Count: 114939435
Threshold: 1

Signal assignment statement on line 192:

192:    segm_counter_ce <= '1' when (bt_reset = '1') or (tq_edge_i = '1' and ctrs_en = '1') 
Count: 67436469
Threshold: 1

Signal assignment statement on line 194:

194:                       '0'; 
Count: 47502966
Threshold: 1

If statement on lines 198 to 204:

198:        if (rst_n = '0') then 
199:            segm_counter_q <= (others => '0'); 
...
203:            end if; 
204:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 199:

199:            segm_counter_q <= (others => '0'); 
Count: 2422593
Threshold: 1

If statement on lines 201 to 203:

201:            if (segm_counter_ce = '1') then 
202:                segm_counter_q <= segm_counter_d; 
203:            end if; 

Count: 543351807
Threshold: 1

Signal assignment statement on line 202:

202:                segm_counter_q <= segm_counter_d; 
Count: 105780916
Threshold: 1

Signal assignment statement on line 210:

210:    segm_counter <= segm_counter_q; 
Count: 92995650
Threshold: 1

Signal assignment statement on line 211:

211:    tq_edge <= tq_edge_i; 
Count: 69132834
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

155:    tq_counter_expired <= '1' when (unsigned(tq_counter_q) = unsigned(brp)) 
Evaluated toCountThreshold
BinTrue345648211
BinFalse440347041

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

166:        std_logic_vector(C_TQ_RST) when (tq_counter_expired = '1' or tq_reset = '1') 
Evaluated toCountThreshold
BinTrue1135461951
BinFalse798461961

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

172:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24225931
BinFalse10867135751

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

174:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

175:            if (ctrs_en = '1') then 
Evaluated toCountThreshold
BinTrue1369694511
BinFalse4063823561

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

189:    segm_counter_d <= C_BT_ZEROES when (bt_reset = '1') else 
Evaluated toCountThreshold
BinTrue328743681
BinFalse1057917651

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

192:    segm_counter_ce <= '1' when (bt_reset = '1') or (tq_edge_i = '1' and ctrs_en = '1') 
Evaluated toCountThreshold
BinTrue674364691
BinFalse475029661

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

198:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24225931
BinFalse10867135751

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

200:        elsif (rising_edge(clk_sys)) then 
Evaluated toCountThreshold
BinTrue5433518071
BinFalse5433617681

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

201:            if (segm_counter_ce = '1') then 
Evaluated toCountThreshold
BinTrue1057809161
BinFalse4375708911

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:

 BRP
ElementFromToCountThresholdExcluded due to
Bin(7)0101Exclude file
Bin(7)1001Exclude file
Bin(6)0101Exclude file
Bin(6)1001Exclude file
Bin(5)0101Exclude file
Bin(5)1001Exclude file
Bin(4)0101Exclude file
Bin(4)1001Exclude file
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

Port:

 TQ_RESET
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 BT_RESET
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 CTRS_EN
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 TQ_EDGE
FromToCountThreshold
Bin01345648211
Bin10345664121

Port:

 SEGM_COUNTER
ElementFromToCountThreshold
Bin(6)011425191
Bin(6)101441201
Bin(5)012469661
Bin(5)102485671
Bin(4)017907821
Bin(4)107923831
Bin(3)0145068491
Bin(3)1045084501
Bin(2)01119643371
Bin(2)10119659381
Bin(1)01228177281
Bin(1)10228193291
Bin(0)01424716191
Bin(0)10424732201

Signal:

 TQ_COUNTER_D
ElementFromToCountThreshold
Bin(7)01217151
Bin(7)10233161
Bin(6)01434301
Bin(6)10450311
Bin(5)01868601
Bin(5)10884611
Bin(4)011737351
Bin(4)101753361
Bin(3)013755451
Bin(3)103771461
Bin(2)0144301221
Bin(2)1044317231
Bin(1)01372101981
Bin(1)10372086071
Bin(0)01423391831
Bin(0)10423407741

Signal:

 TQ_COUNTER_Q
ElementFromToCountThreshold
Bin(7)01217151
Bin(7)10233161
Bin(6)01434301
Bin(6)10450311
Bin(5)01868601
Bin(5)10884611
Bin(4)011737351
Bin(4)101753361
Bin(3)013684711
Bin(3)103700721
Bin(2)018030761
Bin(2)108046771
Bin(1)01359801941
Bin(1)10359817941
Bin(0)01374790811
Bin(0)10374774811

Signal:

 TQ_COUNTER_EXPIRED
FromToCountThreshold
Bin01345648211
Bin10345664121

Signal:

 TQ_EDGE_I
FromToCountThreshold
Bin01345648211
Bin10345664121

Signal:

 SEGM_COUNTER_D
ElementFromToCountThreshold
Bin(6)011637691
Bin(6)101653701
Bin(5)012531941
Bin(5)102547951
Bin(4)017965201
Bin(4)107981211
Bin(3)0145277921
Bin(3)1045293931
Bin(2)01119999991
Bin(2)10120016001
Bin(1)01247205351
Bin(1)10247221361
Bin(0)01633169421
Bin(0)10633153411

Signal:

 SEGM_COUNTER_Q
ElementFromToCountThreshold
Bin(6)011425191
Bin(6)101441201
Bin(5)012469661
Bin(5)102485671
Bin(4)017907821
Bin(4)107923831
Bin(3)0145068491
Bin(3)1045084501
Bin(2)01119643371
Bin(2)10119659381
Bin(1)01228177281
Bin(1)10228193291
Bin(0)01424716191
Bin(0)10424732201

Signal:

 SEGM_COUNTER_CE
FromToCountThreshold
Bin01474627461
Bin10474643471

Uncovered expressions:

Excluded expressions:

Covered expressions:

"or" expression on line 166:

 tq_counter_expired = '1' or tq_reset = '1' 
 <---------LHS---------->    <----RHS-----> 

LHSRHSCountThreshold
BinFalseFalse798461961
BinFalseTrue43770751
BinTrueFalse844601021

"=" expression on line 166:

 tq_counter_expired = '1' 
Evaluated toCountThreshold
BinFalse842232711
BinTrue1091691201

"=" expression on line 166:

 tq_reset = '1' 
Evaluated toCountThreshold
BinFalse1643062981
BinTrue290860931

"=" expression on line 172:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 175:

 ctrs_en = '1' 
Evaluated toCountThreshold
BinFalse4063823561
BinTrue1369694511

"=" expression on line 189:

 bt_reset = '1' 
Evaluated toCountThreshold
BinFalse1057917651
BinTrue328743681

"or" expression on line 192:

 (bt_reset = '1') or (tq_edge_i = '1' and ctrs_en = '1') 
  <----LHS----->      <--------------RHS-------------->  

LHSRHSCountThreshold
BinFalseFalse475029661
BinFalseTrue414769101
BinTrueFalse159727041

"=" expression on line 192:

 bt_reset = '1' 
Evaluated toCountThreshold
BinFalse889798761
BinTrue259595591

"and" expression on line 192:

 tq_edge_i = '1' and ctrs_en = '1' 
 <-----LHS----->     <----RHS----> 

LHSRHSCountThreshold
BinFalseTrue377061291
BinTrueFalse232637551
BinTrueTrue514637651

"=" expression on line 192:

 tq_edge_i = '1' 
Evaluated toCountThreshold
BinFalse402119151
BinTrue747275201

"=" expression on line 192:

 ctrs_en = '1' 
Evaluated toCountThreshold
BinFalse257695411
BinTrue891698941

"=" expression on line 198:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 201:

 segm_counter_ce = '1' 
Evaluated toCountThreshold
BinFalse4375708911
BinTrue1057809161

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: