NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_COUNTERS_NBT

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_NBT 100.0 % (23/23) 100.0 % (20/20) 100.0 % (114/114) 100.0 % (29/29) N.A. N.A. 100.0 % (186/186)

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

Signal assignment statement on line 155:

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

Signal assignment statement on line 157:

157:                          '0'; 
Count: 231690648
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: 575648874
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: 243051394
Threshold: 1

Signal assignment statement on line 168:

168:        std_logic_vector(unsigned(tq_counter_q) + 1); 
Count: 332597480
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: 543350206
Threshold: 1

Signal assignment statement on line 184:

184:    tq_edge_i <= tq_counter_expired; 
Count: 198866526
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: 361691294
Threshold: 1

Signal assignment statement on line 189:

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

Signal assignment statement on line 190:

190:                      std_logic_vector(unsigned(segm_counter_q) + 1); 
Count: 316054331
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: 244549964
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: 139255276
Threshold: 1

Signal assignment statement on line 194:

194:                       '0'; 
Count: 105294688
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: 316038519
Threshold: 1

Signal assignment statement on line 210:

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

Signal assignment statement on line 211:

211:    tq_edge <= tq_edge_i; 
Count: 198866526
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
BinTrue994316631
BinFalse2316906481

"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
BinTrue2430513941
BinFalse3325974801

"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
BinTrue5433502061
BinFalse16011

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

189:    segm_counter_d <= C_BT_ZEROES when (bt_reset = '1') else 
Evaluated toCountThreshold
BinTrue456369631
BinFalse3160543311

"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
BinTrue1392552761
BinFalse1052946881

"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
BinTrue3160385191
BinFalse2273132881

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
Bin01994316631
Bin10994332621

Port:

 SEGM_COUNTER
ElementFromToCountThreshold
Bin(7)015596701
Bin(7)105612711
Bin(6)019095801
Bin(6)109111801
Bin(5)0131756501
Bin(5)1031772511
Bin(4)0168511421
Bin(4)1068527421
Bin(3)01153052371
Bin(3)10153068361
Bin(2)01374762491
Bin(2)10374778491
Bin(1)01785462331
Bin(1)10785478301
Bin(0)011503794211
Bin(0)101503810201

Signal:

 TQ_COUNTER_D
ElementFromToCountThreshold
Bin(7)0121891
Bin(7)1037901
Bin(6)0143781
Bin(6)1059791
Bin(5)0187561
Bin(5)10103571
Bin(4)01500571
Bin(4)10516581
Bin(3)016840811
Bin(3)106856821
Bin(2)01657417181
Bin(2)10657433171
Bin(1)011065002411
Bin(1)101064986441
Bin(0)011729922411
Bin(0)101729938391

Signal:

 TQ_COUNTER_Q
ElementFromToCountThreshold
Bin(7)0121891
Bin(7)1037901
Bin(6)0143781
Bin(6)1059791
Bin(5)0187561
Bin(5)10103571
Bin(4)01394421
Bin(4)10410431
Bin(3)016802001
Bin(3)106818011
Bin(2)01538563911
Bin(2)10538579921
Bin(1)011050071311
Bin(1)101050087291
Bin(0)011596000871
Bin(0)101595984871

Signal:

 TQ_COUNTER_EXPIRED
FromToCountThreshold
Bin01994316631
Bin10994332621

Signal:

 TQ_EDGE_I
FromToCountThreshold
Bin01994316631
Bin10994332621

Signal:

 SEGM_COUNTER_D
ElementFromToCountThreshold
Bin(7)015596911
Bin(7)105612921
Bin(6)0111805911
Bin(6)1011821911
Bin(5)0131834341
Bin(5)1031850351
Bin(4)0170405641
Bin(4)1070421641
Bin(3)01156361641
Bin(3)10156377631
Bin(2)01409126891
Bin(2)10409142891
Bin(1)01818673811
Bin(1)10818689761
Bin(0)011656682351
Bin(0)101656666361

Signal:

 SEGM_COUNTER_Q
ElementFromToCountThreshold
Bin(7)015596701
Bin(7)105612711
Bin(6)019095801
Bin(6)109111801
Bin(5)0131756501
Bin(5)1031772511
Bin(4)0168511421
Bin(4)1068527421
Bin(3)01153052371
Bin(3)10153068361
Bin(2)01374762491
Bin(2)10374778491
Bin(1)01785462331
Bin(1)10785478301
Bin(0)011503794211
Bin(0)101503810201

Signal:

 SEGM_COUNTER_CE
FromToCountThreshold
Bin011052799331
Bin101052815321

Uncovered expressions:

Excluded expressions:

Covered expressions:

"or" expression on line 166:

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

LHSRHSCountThreshold
BinFalseFalse3325974801
BinFalseTrue143888311
BinTrueFalse2075017821

"=" expression on line 166:

 tq_counter_expired = '1' 
Evaluated toCountThreshold
BinFalse3469863111
BinTrue2286625631

"=" expression on line 166:

 tq_reset = '1' 
Evaluated toCountThreshold
BinFalse5400992621
BinTrue355496121

"=" expression on line 172:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 175:

 ctrs_en = '1' 
Evaluated toCountThreshold
BinFalse16011
BinTrue5433502061

"=" expression on line 189:

 bt_reset = '1' 
Evaluated toCountThreshold
BinFalse3160543311
BinTrue456369631

"or" expression on line 192:

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

LHSRHSCountThreshold
BinFalseFalse1052946881
BinFalseTrue1122470061
BinTrueFalse100206121

"=" expression on line 192:

 bt_reset = '1' 
Evaluated toCountThreshold
BinFalse2175416941
BinTrue270082701

"and" expression on line 192:

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

LHSRHSCountThreshold
BinFalseTrue1152981251
BinTrueFalse73601
BinTrueTrue1292346641

"=" expression on line 192:

 tq_edge_i = '1' 
Evaluated toCountThreshold
BinFalse1153079401
BinTrue1292420241

"=" expression on line 192:

 ctrs_en = '1' 
Evaluated toCountThreshold
BinFalse171751
BinTrue2445327891

"=" expression on line 198:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 201:

 segm_counter_ce = '1' 
Evaluated toCountThreshold
BinFalse2273132881
BinTrue3160385191

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: