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: 80910697
Threshold: 1

Signal assignment statement on line 155:

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

Signal assignment statement on line 157:

157:                          '0'
Count: 45605585
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: 197303253
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: 115148178
Threshold: 1

Signal assignment statement on line 168:

168:        std_logic_vector(unsigned(tq_counter_q) + 1)
Count: 82155075
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: 1096781321
Threshold: 1

Signal assignment statement on line 173:

173:            tq_counter_q <= std_logic_vector(C_TQ_RST); 
Count: 2422674
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: 547174334
Threshold: 1

Signal assignment statement on line 176:

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

Signal assignment statement on line 184:

184:    tq_edge_i <= tq_counter_expired
Count: 70613415
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: 139087503
Threshold: 1

Signal assignment statement on line 189:

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

Signal assignment statement on line 190:

190:                      std_logic_vector(unsigned(segm_counter_q) + 1)
Count: 106153392
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: 116538378
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: 68238479
Threshold: 1

Signal assignment statement on line 194:

194:                       '0'
Count: 48299899
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: 1096781321
Threshold: 1

Signal assignment statement on line 199:

199:            segm_counter_q <= (others => '0'); 
Count: 2422674
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: 547174334
Threshold: 1

Signal assignment statement on line 202:

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

Signal assignment statement on line 210:

210:    segm_counter <= segm_counter_q
Count: 93297906
Threshold: 1

Signal assignment statement on line 211:

211:    tq_edge <= tq_edge_i
Count: 70613415
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
BinTrue353051121
BinFalse456055851

"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
BinTrue1151481781
BinFalse821550751

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

172:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24226741
BinFalse10943586471

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

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

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

175:            if (ctrs_en = '1') then 
Evaluated toCountThreshold
BinTrue1388446241
BinFalse4083297101

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

189:    segm_counter_d <= C_BT_ZEROES when (bt_reset = '1') else 
Evaluated toCountThreshold
BinTrue329341111
BinFalse1061533921

"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
BinTrue682384791
BinFalse482998991

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

198:        if (rst_n = '0') then 
Evaluated toCountThreshold
BinTrue24226741
BinFalse10943586471

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

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

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

201:            if (segm_counter_ce = '1') then 
Evaluated toCountThreshold
BinTrue1061419951
BinFalse4410323391

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
Bin01353051121
Bin10353067021

Port:

 SEGM_COUNTER
ElementFromToCountThreshold
Bin(6)011423201
Bin(6)101439211
Bin(5)012483871
Bin(5)102499881
Bin(4)017985521
Bin(4)108001531
Bin(3)0145187481
Bin(3)1045203491
Bin(2)01120108081
Bin(2)10120124091
Bin(1)01229101541
Bin(1)10229117551
Bin(0)01426138541
Bin(0)10426154541

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)013591731
Bin(3)103607741
Bin(2)0151181541
Bin(2)1051197551
Bin(1)01378973001
Bin(1)10378957101
Bin(0)01436966831
Bin(0)10436982731

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)013573521
Bin(3)103589531
Bin(2)0110507881
Bin(2)1010523891
Bin(1)01366937231
Bin(1)10366953231
Bin(0)01384292031
Bin(0)10384276031

Signal:

 TQ_COUNTER_EXPIRED
FromToCountThreshold
Bin01353051121
Bin10353067021

Signal:

 TQ_EDGE_I
FromToCountThreshold
Bin01353051121
Bin10353067021

Signal:

 SEGM_COUNTER_D
ElementFromToCountThreshold
Bin(6)011675871
Bin(6)101691881
Bin(5)012549121
Bin(5)102565131
Bin(4)018057391
Bin(4)108073401
Bin(3)0145361781
Bin(3)1045377791
Bin(2)01120440381
Bin(2)10120456391
Bin(1)01247956731
Bin(1)10247972741
Bin(0)01635363341
Bin(0)10635347351

Signal:

 SEGM_COUNTER_Q
ElementFromToCountThreshold
Bin(6)011423201
Bin(6)101439211
Bin(5)012483871
Bin(5)102499881
Bin(4)017985521
Bin(4)108001531
Bin(3)0145187481
Bin(3)1045203491
Bin(2)01120108081
Bin(2)10120124091
Bin(1)01229101541
Bin(1)10229117551
Bin(0)01426138541
Bin(0)10426154541

Signal:

 SEGM_COUNTER_CE
FromToCountThreshold
Bin01482599361
Bin10482615351

Uncovered expressions:

Excluded expressions:

Covered expressions:

"or" expression on line 166:

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

LHSRHSCountThreshold
BinFalseFalse821550751
BinFalseTrue44444721
BinTrueFalse858631301

"=" expression on line 166:

 tq_counter_expired = '1' 
Evaluated toCountThreshold
BinFalse865995471
BinTrue1107037061

"=" expression on line 166:

 tq_reset = '1' 
Evaluated toCountThreshold
BinFalse1680182051
BinTrue292850481

"=" expression on line 172:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10943586471
BinTrue24226741

"=" expression on line 175:

 ctrs_en = '1' 
Evaluated toCountThreshold
BinFalse4083297101
BinTrue1388446241

"=" expression on line 189:

 bt_reset = '1' 
Evaluated toCountThreshold
BinFalse1061533921
BinTrue329341111

"or" expression on line 192:

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

LHSRHSCountThreshold
BinFalseFalse482998991
BinFalseTrue421496601
BinTrueFalse160995531

"=" expression on line 192:

 bt_reset = '1' 
Evaluated toCountThreshold
BinFalse904495591
BinTrue260888191

"and" expression on line 192:

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

LHSRHSCountThreshold
BinFalseTrue385161661
BinTrueFalse233820831
BinTrueTrue521389261

"=" expression on line 192:

 tq_edge_i = '1' 
Evaluated toCountThreshold
BinFalse410173691
BinTrue755210091

"=" expression on line 192:

 ctrs_en = '1' 
Evaluated toCountThreshold
BinFalse258832861
BinTrue906550921

"=" expression on line 198:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10943586471
BinTrue24226741

"=" expression on line 201:

 segm_counter_ce = '1' 
Evaluated toCountThreshold
BinFalse4410323391
BinTrue1061419951

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: