NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_SEGMENT_END_DETECTOR

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

Nested Instances Statement Branch Toggle Expression FSM state Functional Average
G_SEGM_END_REQ_CAPTURE(1) 100.0 % (10/10) 100.0 % (10/10) N.A. 100.0 % (13/13) N.A. N.A. 100.0 % (33/33)
G_SEGM_END_REQ_CAPTURE(2) 100.0 % (10/10) 100.0 % (10/10) N.A. 92.3 % (12/13) N.A. N.A. 96.9 % (32/33)

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_SEGMENT_END_DETECTOR 100.0 % (43/43) 100.0 % (24/24) 100.0 % (72/72) 100.0 % (94/94) N.A. N.A. 100.0 % (233/233)

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:

Signal assignment statement on line 183:

183:    req_input(1) <= exit_segm_req_nbt; 
Count: 32956101
Threshold: 1

Signal assignment statement on line 184:

184:    req_input(2) <= exit_segm_req_dbt; 
Count: 20065674
Threshold: 1

Signal assignment statement on line 191:

191:    segm_end_req_capt_clr(1) <= segment_end_i; 
Count: 45604676
Threshold: 1

Signal assignment statement on line 192:

192:    segm_end_req_capt_clr(2) <= segment_end_i; 
Count: 45604676
Threshold: 1

If statement on lines 229 to 231:

229:    segm_end_req_capt_dq(1) <= req_input(1) when (is_tseg1 = '1') 
230:                                            else 
231:                               req_input(1) or segm_end_req_capt_q(1); 

Count: 64120400
Threshold: 1

Signal assignment statement on line 229:

229:    segm_end_req_capt_dq(1) <= req_input(1) when (is_tseg1 = '1') 
Count: 28706372
Threshold: 1

Signal assignment statement on line 231:

231:                               req_input(1) or segm_end_req_capt_q(1); 
Count: 35414028
Threshold: 1

If statement on lines 233 to 235:

233:    segm_end_req_capt_dq(2) <= req_input(2) when (is_tseg1 = '1') 
234:                                            else 
235:                               req_input(2) or segm_end_req_capt_q(2); 

Count: 49461856
Threshold: 1

Signal assignment statement on line 233:

233:    segm_end_req_capt_dq(2) <= req_input(2) when (is_tseg1 = '1') 
Count: 24739807
Threshold: 1

Signal assignment statement on line 235:

235:                               req_input(2) or segm_end_req_capt_q(2); 
Count: 24722049
Threshold: 1

If statement on lines 240 to 242:

240:    nbt_tq_active <= '1' when (sp_control = NOMINAL_SAMPLE and tq_edge_nbt = '1') 
241:                         else 
242:                     '0'; 

Count: 198926306
Threshold: 1

Signal assignment statement on line 240:

240:    nbt_tq_active <= '1' when (sp_control = NOMINAL_SAMPLE and tq_edge_nbt = '1') 
Count: 77430836
Threshold: 1

Signal assignment statement on line 242:

242:                     '0'; 
Count: 121495470
Threshold: 1

If statement on lines 244 to 247:

244:    dbt_tq_active <= '1' when (tq_edge_dbt = '1' and (sp_control = DATA_SAMPLE or 
245:                                                      sp_control = SECONDARY_SAMPLE)) 
246:                         else 
247:                     '0'; 

Count: 69192614
Threshold: 1

Signal assignment statement on line 244:

244:    dbt_tq_active <= '1' when (tq_edge_dbt = '1' and (sp_control = DATA_SAMPLE or 
Count: 33665625
Threshold: 1

Signal assignment statement on line 247:

247:                     '0'; 
Count: 35526989
Threshold: 1

If statement on lines 253 to 256:

253:    segm_end_nbt_valid <= 
254:        '1' when (segm_end_req_capt_dq(1) = '1' and nbt_tq_active = '1') 
255:            else 
256:        '0'; 

Count: 187817058
Threshold: 1

Signal assignment statement on line 254:

254:        '1' when (segm_end_req_capt_dq(1) = '1' and nbt_tq_active = '1') 
Count: 13005828
Threshold: 1

Signal assignment statement on line 256:

256:        '0'; 
Count: 174811230
Threshold: 1

If statement on lines 258 to 261:

258:    segm_end_dbt_valid <= 
259:        '1' when (segm_end_req_capt_dq(2) = '1' and dbt_tq_active = '1') 
260:            else 
261:        '0'; 

Count: 87390253
Threshold: 1

Signal assignment statement on line 259:

259:        '1' when (segm_end_req_capt_dq(2) = '1' and dbt_tq_active = '1') 
Count: 9786232
Threshold: 1

Signal assignment statement on line 261:

261:        '0'; 
Count: 77604021
Threshold: 1

If statement on lines 263 to 266:

263:    segm_end_nbt_dbt_valid <= 
264:        '1' when (segm_end_nbt_valid = '1' or segm_end_dbt_valid = '1') 
265:            else 
266:        '0'; 

Count: 45587322
Threshold: 1

Signal assignment statement on line 264:

264:        '1' when (segm_end_nbt_valid = '1' or segm_end_dbt_valid = '1') 
Count: 22792060
Threshold: 1

Signal assignment statement on line 266:

266:        '0'; 
Count: 22795262
Threshold: 1

If statement on lines 271 to 273:

271:    tseg1_end_req_valid <= 
272:        '1' when (is_tseg1 = '1' and segm_end_nbt_dbt_valid = '1') else 
273:        '0'; 

Count: 68384816
Threshold: 1

Signal assignment statement on line 272:

272:        '1' when (is_tseg1 = '1' and segm_end_nbt_dbt_valid = '1') else 
Count: 22791652
Threshold: 1

Signal assignment statement on line 273:

273:        '0'; 
Count: 45593164
Threshold: 1

If statement on lines 275 to 278:

275:    tseg2_end_req_valid <= 
276:        '1' when (is_tseg2 = '1' and segm_end_nbt_dbt_valid = '1') 
277:            else 
278:        '0'; 

Count: 68373803
Threshold: 1

Signal assignment statement on line 276:

276:        '1' when (is_tseg2 = '1' and segm_end_nbt_dbt_valid = '1') 
Count: 22779188
Threshold: 1

Signal assignment statement on line 278:

278:        '0'; 
Count: 45594615
Threshold: 1

If statement on lines 284 to 286:

284:    h_sync_valid_i <= '1' when ((h_sync_edge_valid = '1') and (nbt_tq_active = '1')) 
285:                          else 
286:                      '0'; 

Count: 154977067
Threshold: 1

Signal assignment statement on line 284:

284:    h_sync_valid_i <= '1' when ((h_sync_edge_valid = '1') and (nbt_tq_active = '1')) 
Count: 56097
Threshold: 1

Signal assignment statement on line 286:

286:                      '0'; 
Count: 154920970
Threshold: 1

If statement on lines 297 to 301:

297:    segment_end_i <= '1' when ((tseg1_end_req_valid = '1' and h_sync_valid_i = '0') or 
298:                               tseg2_end_req_valid = '1' or 
299:                               (h_sync_valid_i = '1' and is_tseg2 = '1')) 
300:                         else 
301:                     '0'; 

Count: 91263162
Threshold: 1

Signal assignment statement on line 297:

297:    segment_end_i <= '1' when ((tseg1_end_req_valid = '1' and h_sync_valid_i = '0') or 
Count: 68362338
Threshold: 1

Signal assignment statement on line 301:

301:                     '0'; 
Count: 22900824
Threshold: 1

If statement on lines 309 to 311:

309:    bt_ctr_clear_i <= '1' when (segment_end_i = '1' or h_sync_valid_i = '1') 
310:                          else 
311:                      '0'; 

Count: 45706492
Threshold: 1

Signal assignment statement on line 309:

309:    bt_ctr_clear_i <= '1' when (segment_end_i = '1' or h_sync_valid_i = '1') 
Count: 22868849
Threshold: 1

Signal assignment statement on line 311:

311:                      '0'; 
Count: 22837643
Threshold: 1

Signal assignment statement on line 313:

313:    bt_ctr_clear    <= bt_ctr_clear_i; 
Count: 45672084
Threshold: 1

Signal assignment statement on line 314:

314:    segm_end        <= segment_end_i; 
Count: 45604676
Threshold: 1

Signal assignment statement on line 315:

315:    h_sync_valid    <= h_sync_valid_i; 
Count: 115396
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

229:    segm_end_req_capt_dq(1) <= req_input(1) when (is_tseg1 = '1') 
Evaluated toCountThreshold
BinTrue287063721
BinFalse354140281

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

233:    segm_end_req_capt_dq(2) <= req_input(2) when (is_tseg1 = '1') 
Evaluated toCountThreshold
BinTrue247398071
BinFalse247220491

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

240:    nbt_tq_active <= '1' when (sp_control = NOMINAL_SAMPLE and tq_edge_nbt = '1') 
Evaluated toCountThreshold
BinTrue774308361
BinFalse1214954701

"if" / "when" / "else" condition on lines 244 to 245:

244:    dbt_tq_active <= '1' when (tq_edge_dbt = '1' and (sp_control = DATA_SAMPLE or 
245:                                                      sp_control = SECONDARY_SAMPLE)) 

Evaluated toCountThreshold
BinTrue336656251
BinFalse355269891

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

254:        '1' when (segm_end_req_capt_dq(1) = '1' and nbt_tq_active = '1') 
Evaluated toCountThreshold
BinTrue130058281
BinFalse1748112301

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

259:        '1' when (segm_end_req_capt_dq(2) = '1' and dbt_tq_active = '1') 
Evaluated toCountThreshold
BinTrue97862321
BinFalse776040211

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

264:        '1' when (segm_end_nbt_valid = '1' or segm_end_dbt_valid = '1') 
Evaluated toCountThreshold
BinTrue227920601
BinFalse227952621

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

272:        '1' when (is_tseg1 = '1' and segm_end_nbt_dbt_valid = '1') else 
Evaluated toCountThreshold
BinTrue227916521
BinFalse455931641

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

276:        '1' when (is_tseg2 = '1' and segm_end_nbt_dbt_valid = '1') 
Evaluated toCountThreshold
BinTrue227791881
BinFalse455946151

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

284:    h_sync_valid_i <= '1' when ((h_sync_edge_valid = '1') and (nbt_tq_active = '1')) 
Evaluated toCountThreshold
BinTrue560971
BinFalse1549209701

"if" / "when" / "else" condition on lines 297 to 299:

297:    segment_end_i <= '1' when ((tseg1_end_req_valid = '1' and h_sync_valid_i = '0') or 
298:                               tseg2_end_req_valid = '1' or 
299:                               (h_sync_valid_i = '1' and is_tseg2 = '1')) 

Evaluated toCountThreshold
BinTrue683623381
BinFalse229008241

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

309:    bt_ctr_clear_i <= '1' when (segment_end_i = '1' or h_sync_valid_i = '1') 
Evaluated toCountThreshold
BinTrue228688491
BinFalse228376431

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:

 SP_CONTROL
ElementFromToCountThresholdExcluded due to
Bin(1)0101Exclude file
Bin(1)1001Exclude file
Bin(0)0101Exclude file
Bin(0)1001Exclude file

Port:

 H_SYNC_EDGE_VALID
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 EXIT_SEGM_REQ_NBT
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 EXIT_SEGM_REQ_DBT
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 IS_TSEG1
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 IS_TSEG2
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TQ_EDGE_NBT
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 TQ_EDGE_DBT
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 SEGM_END
FromToCountThreshold
Bin01228007371
Bin10228023381

Port:

 H_SYNC_VALID
FromToCountThreshold
Bin01560971
Bin10576981

Port:

 BT_CTR_CLEAR
FromToCountThreshold
Bin01228344411
Bin10228360421

Signal:

 REQ_INPUT
ElementFromToCountThreshold
Bin(2)01137262531
Bin(2)10356362931
Bin(1)01165558771
Bin(1)10328066691

Signal:

 SEGM_END_REQ_CAPT_D
ElementFromToCountThreshold
Bin(2)01102486131
Bin(2)10356497271
Bin(1)01131426451
Bin(1)10327556951

Signal:

 SEGM_END_REQ_CAPT_Q
ElementFromToCountThreshold
Bin(2)0133859921
Bin(2)10114336691
Bin(1)0142266481
Bin(1)10105930131

Signal:

 SEGM_END_REQ_CAPT_CE
ElementFromToCountThreshold
Bin(2)01327440331
Bin(2)10356474111
Bin(1)01356380651
Bin(1)10327533791

Signal:

 SEGM_END_REQ_CAPT_CLR
ElementFromToCountThreshold
Bin(2)01228007371
Bin(2)10228023381
Bin(1)01228007371
Bin(1)10228023381

Signal:

 SEGM_END_REQ_CAPT_DQ
ElementFromToCountThreshold
Bin(2)01137259951
Bin(2)10356322831
Bin(1)01165554351
Bin(1)10328028431

Signal:

 SEGM_END_NBT_VALID
FromToCountThreshold
Bin01130058281
Bin10130074291

Signal:

 SEGM_END_DBT_VALID
FromToCountThreshold
Bin0197862321
Bin1097878331

Signal:

 SEGM_END_NBT_DBT_VALID
FromToCountThreshold
Bin01227920601
Bin10227936611

Signal:

 TSEG1_END_REQ_VALID
FromToCountThreshold
Bin01227916521
Bin10227932531

Signal:

 TSEG2_END_REQ_VALID
FromToCountThreshold
Bin01227791881
Bin10227807891

Signal:

 H_SYNC_VALID_I
FromToCountThreshold
Bin01560971
Bin10576981

Signal:

 SEGMENT_END_I
FromToCountThreshold
Bin01228007371
Bin10228023381

Signal:

 NBT_TQ_ACTIVE
FromToCountThreshold
Bin01774308361
Bin10774324351

Signal:

 DBT_TQ_ACTIVE
FromToCountThreshold
Bin01336639651
Bin10336655661

Signal:

 BT_CTR_CLEAR_I
FromToCountThreshold
Bin01228344411
Bin10228360421

Uncovered expressions:

Excluded expressions:

"and" expression on lines 244 to 245:

 tq_edge_dbt = '1' and (sp_control = DATA_SAMPLE or sp_control = SECONDARY_SAMPLE) 
 <------LHS------>      <--------------------------RHS-------------------------->  

LHSRHSCountThresholdExcluded due to
BinFalseTrue01Unreachable

"or" expression on lines 244 to 245:

 sp_control = DATA_SAMPLE or sp_control = SECONDARY_SAMPLE 
 <---------LHS---------->    <------------RHS------------> 

LHSRHSCountThresholdExcluded due to
BinTrueFalse01Unreachable

Covered expressions:

"=" expression on line 229:

 is_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse354140281
BinTrue287063721

"or" expression on line 231:

 req_input(1) or segm_end_req_capt_q(1) 
 <---LHS---->    <--------RHS---------> 

LHSRHSCountThreshold
Bin'0''0'147844511
Bin'0''1'11551
Bin'1''0'185395791

"=" expression on line 233:

 is_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse247220491
BinTrue247398071

"or" expression on line 235:

 req_input(2) or segm_end_req_capt_q(2) 
 <---LHS---->    <--------RHS---------> 

LHSRHSCountThreshold
Bin'0''0'113995781
Bin'0''1'17031
Bin'1''0'116667981

"and" expression on line 240:

 sp_control = NOMINAL_SAMPLE and tq_edge_nbt = '1' 
 <-----------LHS----------->     <------RHS------> 

LHSRHSCountThreshold
BinFalseTrue220322441
BinTrueFalse774305051
BinTrueTrue774308361

"=" expression on line 240:

 tq_edge_nbt = '1' 
Evaluated toCountThreshold
BinFalse994632261
BinTrue994630801

"and" expression on lines 244 to 245:

 tq_edge_dbt = '1' and (sp_control = DATA_SAMPLE or sp_control = SECONDARY_SAMPLE) 
 <------LHS------>      <--------------------------RHS-------------------------->  

LHSRHSCountThreshold
BinTrueFalse9470731
BinTrueTrue336656251

"=" expression on line 244:

 tq_edge_dbt = '1' 
Evaluated toCountThreshold
BinFalse345799161
BinTrue346126981

"or" expression on lines 244 to 245:

 sp_control = DATA_SAMPLE or sp_control = SECONDARY_SAMPLE 
 <---------LHS---------->    <------------RHS------------> 

LHSRHSCountThreshold
BinFalseFalse9470731
BinFalseTrue7906621

"and" expression on line 254:

 segm_end_req_capt_dq(1) = '1' and nbt_tq_active = '1' 
 <------------LHS------------>     <-------RHS-------> 

LHSRHSCountThreshold
BinFalseTrue822270641
BinTrueFalse116790661
BinTrueTrue130058281

"=" expression on line 254:

 segm_end_req_capt_dq(1) = '1' 
Evaluated toCountThreshold
BinFalse1631321641
BinTrue246848941

"=" expression on line 254:

 nbt_tq_active = '1' 
Evaluated toCountThreshold
BinFalse925841661
BinTrue952328921

"and" expression on line 259:

 segm_end_req_capt_dq(2) = '1' and dbt_tq_active = '1' 
 <------------LHS------------>     <-------RHS-------> 

LHSRHSCountThreshold
BinFalseTrue372629381
BinTrueFalse64282941
BinTrueTrue97862321

"=" expression on line 259:

 segm_end_req_capt_dq(2) = '1' 
Evaluated toCountThreshold
BinFalse711757271
BinTrue162145261

"=" expression on line 259:

 dbt_tq_active = '1' 
Evaluated toCountThreshold
BinFalse403410831
BinTrue470491701

"or" expression on line 264:

 segm_end_nbt_valid = '1' or segm_end_dbt_valid = '1' 
 <---------LHS---------->    <---------RHS----------> 

LHSRHSCountThreshold
BinFalseFalse227952621
BinFalseTrue97862321
BinTrueFalse130058281

"=" expression on line 264:

 segm_end_nbt_valid = '1' 
Evaluated toCountThreshold
BinFalse325814941
BinTrue130058281

"=" expression on line 264:

 segm_end_dbt_valid = '1' 
Evaluated toCountThreshold
BinFalse358010901
BinTrue97862321

"and" expression on line 272:

 is_tseg1 = '1' and segm_end_nbt_dbt_valid = '1' 
 <----LHS----->     <-----------RHS------------> 

LHSRHSCountThreshold
BinFalseTrue227795061
BinTrueFalse114121061
BinTrueTrue227916521

"=" expression on line 272:

 is_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse341810581
BinTrue342037581

"=" expression on line 272:

 segm_end_nbt_dbt_valid = '1' 
Evaluated toCountThreshold
BinFalse228136581
BinTrue455711581

"and" expression on line 276:

 is_tseg2 = '1' and segm_end_nbt_dbt_valid = '1' 
 <----LHS----->     <-----------RHS------------> 

LHSRHSCountThreshold
BinFalseTrue227920641
BinTrueFalse113932371
BinTrueTrue227791881

"=" expression on line 276:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse342013781
BinTrue341724251

"=" expression on line 276:

 segm_end_nbt_dbt_valid = '1' 
Evaluated toCountThreshold
BinFalse228025511
BinTrue455712521

"and" expression on line 284:

 (h_sync_edge_valid = '1') and (nbt_tq_active = '1') 
  <---------LHS--------->       <-------RHS------->  

LHSRHSCountThreshold
BinFalseTrue774820261
BinTrueFalse49081
BinTrueTrue560971

"=" expression on line 284:

 h_sync_edge_valid = '1' 
Evaluated toCountThreshold
BinFalse1549160621
BinTrue610051

"=" expression on line 284:

 nbt_tq_active = '1' 
Evaluated toCountThreshold
BinFalse774389441
BinTrue775381231

"or" expression on lines 297 to 299:

 (tseg1_end_req_valid = '1' and h_sync_valid_i = '0') or tseg2_end_req_valid = '1' or (h_sync_valid_i = '1' and is_tseg2 = '1') 
 <--------------------------------------LHS-------------------------------------->     <-----------------RHS----------------->  

LHSRHSCountThreshold
BinFalseFalse229008241
BinFalseTrue75291
BinTrueFalse683521991

"or" expression on lines 297 to 298:

 (tseg1_end_req_valid = '1' and h_sync_valid_i = '0') or tseg2_end_req_valid = '1' 
  <----------------------LHS----------------------->     <----------RHS----------> 

LHSRHSCountThreshold
BinFalseFalse229083531
BinFalseTrue341670841
BinTrueFalse341877251

"and" expression on line 297:

 tseg1_end_req_valid = '1' and h_sync_valid_i = '0' 
 <----------LHS---------->     <-------RHS--------> 

LHSRHSCountThreshold
BinFalseTrue569968451
BinTrueFalse145331
BinTrueTrue341877251

"=" expression on line 297:

 tseg1_end_req_valid = '1' 
Evaluated toCountThreshold
BinFalse570609041
BinTrue342022581

"=" expression on line 297:

 h_sync_valid_i = '0' 
Evaluated toCountThreshold
BinFalse785921
BinTrue911845701

"=" expression on line 298:

 tseg2_end_req_valid = '1' 
Evaluated toCountThreshold
BinFalse570960781
BinTrue341670841

"and" expression on line 299:

 h_sync_valid_i = '1' and is_tseg2 = '1' 
 <-------LHS-------->     <----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue455649401
BinTrueFalse668521
BinTrueTrue101391

"=" expression on line 299:

 h_sync_valid_i = '1' 
Evaluated toCountThreshold
BinFalse911861711
BinTrue769911

"=" expression on line 299:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse456880831
BinTrue455750791

"or" expression on line 309:

 segment_end_i = '1' or h_sync_valid_i = '1' 
 <-------LHS------->    <-------RHS--------> 

LHSRHSCountThreshold
BinFalseFalse228376431
BinFalseTrue519251
BinTrueFalse227953491

"=" expression on line 309:

 segment_end_i = '1' 
Evaluated toCountThreshold
BinFalse228895681
BinTrue228169241

"=" expression on line 309:

 h_sync_valid_i = '1' 
Evaluated toCountThreshold
BinFalse456329921
BinTrue735001

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: