NVC code coverage report

Hierarchy

Instance: CTU_CAN_FD_TB.TB_TOP_CTU_CAN_FD.I_DUT.I_BTL_TOP.I_BTL_SEGMENT_METER_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_SEGMENT_METER_NBT 100.0 % (66/66) 100.0 % (48/48) 100.0 % (96/96) 100.0 % (161/161) N.A. N.A. 100.0 % (371/371)

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 273 to 277:

273:        if (a > b) then 
274:            return a; 
275:        else 
276:            return b; 
277:        end if; 

Count: 8005
Threshold: 1

Sequential statement on line 274:

274:            return a; 
Count: 6404
Threshold: 1

Sequential statement on line 276:

276:            return b; 
Count: 1601
Threshold: 1

If statement on lines 351 to 354:

351:    sel_tseg1 <= '1' when (h_sync_valid = '1' or start_edge = '1' or shorten_tseg1_after_tseg2 = '1') or 
352:                          (segm_end = '1' and is_tseg2 = '1') or 
353:                          (segm_end = '0' and is_tseg1 = '1') else 
354:                 '0'; 

Count: 68529951
Threshold: 1

Signal assignment statement on line 351:

351:    sel_tseg1 <= '1' when (h_sync_valid = '1' or start_edge = '1' or shorten_tseg1_after_tseg2 = '1') or 
Count: 34327581
Threshold: 1

Signal assignment statement on line 354:

354:                 '0'; 
Count: 34202370
Threshold: 1

If statement on lines 356 to 358:

356:    basic_segm_length <= 
357:        resize(unsigned(tseg_1), C_BS_WIDTH) when (sel_tseg1 = '1') else 
358:        resize(unsigned(tseg_2), C_BS_WIDTH); 

Count: 68417568
Threshold: 1

Signal assignment statement on line 357:

357:        resize(unsigned(tseg_1), C_BS_WIDTH) when (sel_tseg1 = '1') else 
Count: 34200443
Threshold: 1

Signal assignment statement on line 358:

358:        resize(unsigned(tseg_2), C_BS_WIDTH); 
Count: 34217125
Threshold: 1

If statement on lines 360 to 364:

360:    segm_extension <= 
361:               to_unsigned(1, C_EXT_WIDTH) when (h_sync_valid = '1' or 
362:                                                 shorten_tseg1_after_tseg2 = '1') else 
363:        resize(unsigned(sjw), C_EXT_WIDTH) when (phase_err_mt_sjw = '1') else 
364:        resize(unsigned(segm_counter), C_EXT_WIDTH); 

Count: 339014405
Threshold: 1

Signal assignment statement on line 361:

361:               to_unsigned(1, C_EXT_WIDTH) when (h_sync_valid = '1' or 
Count: 104499
Threshold: 1

Signal assignment statement on line 363:

363:        resize(unsigned(sjw), C_EXT_WIDTH) when (phase_err_mt_sjw = '1') else 
Count: 204126937
Threshold: 1

Signal assignment statement on line 364:

364:        resize(unsigned(segm_counter), C_EXT_WIDTH); 
Count: 134782969
Threshold: 1

Signal assignment statement on lines 366 to 367:

366:    segm_ext_add <= resize(basic_segm_length, C_EXP_WIDTH) + 
367:                    resize(segm_extension, C_EXP_WIDTH); 

Count: 212420652
Threshold: 1

Signal assignment statement on lines 369 to 370:

369:    segm_ext_sub <= resize(basic_segm_length, C_EXP_WIDTH) - 
370:                    resize(segm_extension, C_EXP_WIDTH); 

Count: 212420652
Threshold: 1

If statement on lines 372 to 375:

372:    sync_segm_length <= segm_ext_sub when (is_tseg2 = '1' or h_sync_valid = '1' or 
373:                                           exit_ph2_immediate = '1') 
374:                                     else 
375:                        segm_ext_add; 

Count: 235338976
Threshold: 1

Signal assignment statement on line 372:

372:    sync_segm_length <= segm_ext_sub when (is_tseg2 = '1' or h_sync_valid = '1' or 
Count: 100770949
Threshold: 1

Signal assignment statement on line 375:

375:                        segm_ext_add; 
Count: 134568027
Threshold: 1

If statement on lines 384 to 388:

384:    use_basic_segm_length <= '1' when (start_edge = '1') or 
385:                                      (segm_end = '1' and h_sync_valid = '0' and 
386:                                       shorten_tseg1_after_tseg2 = '0') 
387:                                 else 
388:                             '0'; 

Count: 45737168
Threshold: 1

Signal assignment statement on line 384:

384:    use_basic_segm_length <= '1' when (start_edge = '1') or 
Count: 22801832
Threshold: 1

Signal assignment statement on line 388:

388:                             '0'; 
Count: 22935336
Threshold: 1

If statement on lines 395 to 398:

395:    exp_seg_length_d <= 
396:        resize(basic_segm_length, C_EXP_WIDTH) when (use_basic_segm_length = '1') 
397:                                               else 
398:        resize(sync_segm_length, C_EXP_WIDTH); 

Count: 345137521
Threshold: 1

Signal assignment statement on line 396:

396:        resize(basic_segm_length, C_EXP_WIDTH) when (use_basic_segm_length = '1') 
Count: 150901886
Threshold: 1

Signal assignment statement on line 398:

398:        resize(sync_segm_length, C_EXP_WIDTH); 
Count: 194235635
Threshold: 1

If statement on lines 400 to 403:

400:    exp_seg_length_ce <= '1' when (segm_end = '1' or resync_edge_valid = '1' or 
401:                                   h_sync_valid = '1' or start_edge = '1') 
402:                             else 
403:                         '0'; 

Count: 47322237
Threshold: 1

Signal assignment statement on line 400:

400:    exp_seg_length_ce <= '1' when (segm_end = '1' or resync_edge_valid = '1' or 
Count: 24170209
Threshold: 1

Signal assignment statement on line 403:

403:                         '0'; 
Count: 23152028
Threshold: 1

If statement on lines 407 to 413:

407:        if (rst_n = '0') then 
408:            exp_seg_length_q <= (others => '1'); 
...
412:            end if; 
413:        end if; 

Count: 1089136168
Threshold: 1

Signal assignment statement on line 408:

408:            exp_seg_length_q <= (others => '1'); 
Count: 2422593
Threshold: 1

If statement on lines 410 to 412:

410:            if (exp_seg_length_ce = '1') then 
411:                exp_seg_length_q <= exp_seg_length_d; 
412:            end if; 

Count: 543351807
Threshold: 1

Signal assignment statement on line 411:

411:                exp_seg_length_q <= exp_seg_length_d; 
Count: 23539122
Threshold: 1

Signal assignment statement on lines 425 to 426:

425:    neg_phase_err  <= resize(unsigned(tseg_2), C_E_WIDTH) - 
426:                      resize(unsigned(segm_counter), C_E_WIDTH); 

Count: 316029910
Threshold: 1

If statement on lines 428 to 429:

428:    phase_err <= resize(neg_phase_err, C_E_WIDTH) when (is_tseg2 = '1') else 
429:                 resize(unsigned(segm_counter), C_E_WIDTH); 

Count: 632053455
Threshold: 1

Signal assignment statement on line 428:

428:    phase_err <= resize(neg_phase_err, C_E_WIDTH) when (is_tseg2 = '1') else 
Count: 197279584
Threshold: 1

Signal assignment statement on line 429:

429:                 resize(unsigned(segm_counter), C_E_WIDTH); 
Count: 434773871
Threshold: 1

If statement on lines 431 to 434:

431:    phase_err_mt_sjw <= '1' when (resize(phase_err, C_E_SJW_WIDTH) > 
432:                                  resize(unsigned(sjw), C_E_SJW_WIDTH)) 
433:                            else 
434:                        '0'; 

Count: 327419207
Threshold: 1

Signal assignment statement on line 431:

431:    phase_err_mt_sjw <= '1' when (resize(phase_err, C_E_SJW_WIDTH) > 
Count: 200573312
Threshold: 1

Signal assignment statement on line 434:

434:                        '0'; 
Count: 126845895
Threshold: 1

If statement on lines 436 to 439:

436:    phase_err_eq_sjw <= '1' when (resize(phase_err, C_E_SJW_WIDTH) = 
437:                                  resize(unsigned(sjw), C_E_SJW_WIDTH)) 
438:                            else 
439:                        '0'; 

Count: 327419207
Threshold: 1

Signal assignment statement on line 436:

436:    phase_err_eq_sjw <= '1' when (resize(phase_err, C_E_SJW_WIDTH) = 
Count: 18754625
Threshold: 1

Signal assignment statement on line 439:

439:                        '0'; 
Count: 308664582
Threshold: 1

If statement on lines 441 to 445:

441:    phase_err_sjw_by_one <= '1' when (resize(phase_err, C_E_SJW_WIDTH) = 
442:                                      (resize(unsigned(sjw), C_E_SJW_WIDTH) + 
443:                                       to_unsigned(1, C_E_SJW_WIDTH))) 
444:                                else 
445:                            '0'; 

Count: 327419207
Threshold: 1

Signal assignment statement on line 441:

441:    phase_err_sjw_by_one <= '1' when (resize(phase_err, C_E_SJW_WIDTH) = 
Count: 14018604
Threshold: 1

Signal assignment statement on line 445:

445:                            '0'; 
Count: 313400603
Threshold: 1

If statement on lines 447 to 448:

447:    sjw_mt_zero <= '1' when (unsigned(sjw) > 0) else 
448:                   '0'; 

Count: 10049
Threshold: 1

Signal assignment statement on line 447:

447:    sjw_mt_zero <= '1' when (unsigned(sjw) > 0) else 
Count: 8249
Threshold: 1

Signal assignment statement on line 448:

448:                   '0'; 
Count: 1800
Threshold: 1

If statement on lines 458 to 461:

458:    exit_ph2_immediate <= '1' when ((phase_err_mt_sjw = '0' or phase_err_sjw_by_one = '1') and 
459:                                    is_tseg2 = '1' and resync_edge_valid = '1') 
460:                              else 
461:                          '0'; 

Count: 59725949
Threshold: 1

Signal assignment statement on line 458:

458:    exit_ph2_immediate <= '1' when ((phase_err_mt_sjw = '0' or phase_err_sjw_by_one = '1') and 
Count: 12661
Threshold: 1

Signal assignment statement on line 461:

461:                          '0'; 
Count: 59713288
Threshold: 1

If statement on lines 468 to 470:

468:    shorten_tseg1_after_tseg2 <= '1' when (exit_ph2_immediate = '1' and phase_err_sjw_by_one = '0') 
469:                                     else 
470:                                 '0'; 

Count: 28065699
Threshold: 1

Signal assignment statement on line 468:

468:    shorten_tseg1_after_tseg2 <= '1' when (exit_ph2_immediate = '1' and phase_err_sjw_by_one = '0') 
Count: 12317
Threshold: 1

Signal assignment statement on line 470:

470:                                 '0'; 
Count: 28053382
Threshold: 1

If statement on lines 475 to 478:

475:    exit_segm_regular <= '1' when (resize(unsigned(segm_counter), C_EXP_WIDTH) >= 
476:                                   resize(unsigned(exp_seg_length_q) - 1, C_EXP_WIDTH)) 
477:                             else 
478:                         '0'; 

Count: 338862390
Threshold: 1

Signal assignment statement on line 475:

475:    exit_segm_regular <= '1' when (resize(unsigned(segm_counter), C_EXP_WIDTH) >= 
Count: 25641836
Threshold: 1

Signal assignment statement on line 478:

478:                         '0'; 
Count: 313220554
Threshold: 1

If statement on lines 486 to 491:

486:    exit_segm_regular_tseg1 <=  '0' when (is_tseg1 = '1' and resync_edge_valid = '1' and 
487:                                          sjw_mt_zero = '1') 
488:                                    else 
489:                                '1' when (is_tseg1 = '1' and exit_segm_regular = '1') 
490:                                    else 
491:                                '0'; 

Count: 47430890
Threshold: 1

Signal assignment statement on line 486:

486:    exit_segm_regular_tseg1 <=  '0' when (is_tseg1 = '1' and resync_edge_valid = '1' and 
Count: 625031
Threshold: 1

Signal assignment statement on line 489:

489:                                '1' when (is_tseg1 = '1' and exit_segm_regular = '1') 
Count: 6682985
Threshold: 1

Signal assignment statement on line 491:

491:                                '0'; 
Count: 40122874
Threshold: 1

If statement on lines 496 to 498:

496:    exit_segm_regular_tseg2 <= '1' when (is_tseg2 = '1' and exit_segm_regular = '1') 
497:                                   else 
498:                               '0'; 

Count: 45837085
Threshold: 1

Signal assignment statement on line 496:

496:    exit_segm_regular_tseg2 <= '1' when (is_tseg2 = '1' and exit_segm_regular = '1') 
Count: 16344242
Threshold: 1

Signal assignment statement on line 498:

498:                               '0'; 
Count: 29492843
Threshold: 1

If statement on lines 507 to 510:

507:    exit_segm_req <= '1' when (exit_ph2_immediate = '1') or 
508:                              (exit_segm_regular_tseg1 = '1' or exit_segm_regular_tseg2 = '1') 
509:                         else 
510:                     '0'; 

Count: 39522646
Threshold: 1

Signal assignment statement on line 507:

507:    exit_segm_req <= '1' when (exit_ph2_immediate = '1') or 
Count: 23042995
Threshold: 1

Signal assignment statement on line 510:

510:                     '0'; 
Count: 16479651
Threshold: 1

Uncovered branches:

Excluded branches:

Covered branches:

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

273:        if (a > b) then 
Evaluated toCountThreshold
BinTrue64041
BinFalse16011

"if" / "when" / "else" condition on lines 351 to 353:

351:    sel_tseg1 <= '1' when (h_sync_valid = '1' or start_edge = '1' or shorten_tseg1_after_tseg2 = '1') or 
352:                          (segm_end = '1' and is_tseg2 = '1') or 
353:                          (segm_end = '0' and is_tseg1 = '1') else 

Evaluated toCountThreshold
BinTrue343275811
BinFalse342023701

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

357:        resize(unsigned(tseg_1), C_BS_WIDTH) when (sel_tseg1 = '1') else 
Evaluated toCountThreshold
BinTrue342004431
BinFalse342171251

"if" / "when" / "else" condition on lines 361 to 362:

361:               to_unsigned(1, C_EXT_WIDTH) when (h_sync_valid = '1' or 
362:                                                 shorten_tseg1_after_tseg2 = '1') else 

Evaluated toCountThreshold
BinTrue1044991
BinFalse3389099061

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

363:        resize(unsigned(sjw), C_EXT_WIDTH) when (phase_err_mt_sjw = '1') else 
Evaluated toCountThreshold
BinTrue2041269371
BinFalse1347829691

"if" / "when" / "else" condition on lines 372 to 373:

372:    sync_segm_length <= segm_ext_sub when (is_tseg2 = '1' or h_sync_valid = '1' or 
373:                                           exit_ph2_immediate = '1') 

Evaluated toCountThreshold
BinTrue1007709491
BinFalse1345680271

"if" / "when" / "else" condition on lines 384 to 386:

384:    use_basic_segm_length <= '1' when (start_edge = '1') or 
385:                                      (segm_end = '1' and h_sync_valid = '0' and 
386:                                       shorten_tseg1_after_tseg2 = '0') 

Evaluated toCountThreshold
BinTrue228018321
BinFalse229353361

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

396:        resize(basic_segm_length, C_EXP_WIDTH) when (use_basic_segm_length = '1') 
Evaluated toCountThreshold
BinTrue1509018861
BinFalse1942356351

"if" / "when" / "else" condition on lines 400 to 401:

400:    exp_seg_length_ce <= '1' when (segm_end = '1' or resync_edge_valid = '1' or 
401:                                   h_sync_valid = '1' or start_edge = '1') 

Evaluated toCountThreshold
BinTrue241702091
BinFalse231520281

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

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

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

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

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

410:            if (exp_seg_length_ce = '1') then 
Evaluated toCountThreshold
BinTrue235391221
BinFalse5198126851

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

428:    phase_err <= resize(neg_phase_err, C_E_WIDTH) when (is_tseg2 = '1') else 
Evaluated toCountThreshold
BinTrue1972795841
BinFalse4347738711

"if" / "when" / "else" condition on lines 431 to 432:

431:    phase_err_mt_sjw <= '1' when (resize(phase_err, C_E_SJW_WIDTH) > 
432:                                  resize(unsigned(sjw), C_E_SJW_WIDTH)) 

Evaluated toCountThreshold
BinTrue2005733121
BinFalse1268458951

"if" / "when" / "else" condition on lines 436 to 437:

436:    phase_err_eq_sjw <= '1' when (resize(phase_err, C_E_SJW_WIDTH) = 
437:                                  resize(unsigned(sjw), C_E_SJW_WIDTH)) 

Evaluated toCountThreshold
BinTrue187546251
BinFalse3086645821

"if" / "when" / "else" condition on lines 441 to 443:

441:    phase_err_sjw_by_one <= '1' when (resize(phase_err, C_E_SJW_WIDTH) = 
442:                                      (resize(unsigned(sjw), C_E_SJW_WIDTH) + 
443:                                       to_unsigned(1, C_E_SJW_WIDTH))) 

Evaluated toCountThreshold
BinTrue140186041
BinFalse3134006031

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

447:    sjw_mt_zero <= '1' when (unsigned(sjw) > 0) else 
Evaluated toCountThreshold
BinTrue82491
BinFalse18001

"if" / "when" / "else" condition on lines 458 to 459:

458:    exit_ph2_immediate <= '1' when ((phase_err_mt_sjw = '0' or phase_err_sjw_by_one = '1') and 
459:                                    is_tseg2 = '1' and resync_edge_valid = '1') 

Evaluated toCountThreshold
BinTrue126611
BinFalse597132881

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

468:    shorten_tseg1_after_tseg2 <= '1' when (exit_ph2_immediate = '1' and phase_err_sjw_by_one = '0') 
Evaluated toCountThreshold
BinTrue123171
BinFalse280533821

"if" / "when" / "else" condition on lines 475 to 476:

475:    exit_segm_regular <= '1' when (resize(unsigned(segm_counter), C_EXP_WIDTH) >= 
476:                                   resize(unsigned(exp_seg_length_q) - 1, C_EXP_WIDTH)) 

Evaluated toCountThreshold
BinTrue256418361
BinFalse3132205541

"if" / "when" / "else" condition on lines 486 to 487:

486:    exit_segm_regular_tseg1 <=  '0' when (is_tseg1 = '1' and resync_edge_valid = '1' and 
487:                                          sjw_mt_zero = '1') 

Evaluated toCountThreshold
BinTrue6250311
BinFalse468058591

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

489:                                '1' when (is_tseg1 = '1' and exit_segm_regular = '1') 
Evaluated toCountThreshold
BinTrue66829851
BinFalse401228741

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

496:    exit_segm_regular_tseg2 <= '1' when (is_tseg2 = '1' and exit_segm_regular = '1') 
Evaluated toCountThreshold
BinTrue163442421
BinFalse294928431

"if" / "when" / "else" condition on lines 507 to 508:

507:    exit_segm_req <= '1' when (exit_ph2_immediate = '1') or 
508:                              (exit_segm_regular_tseg1 = '1' or exit_segm_regular_tseg2 = '1') 

Evaluated toCountThreshold
BinTrue230429951
BinFalse164796511

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:

 RESYNC_EDGE_VALID
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:

 TSEG_1
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:

 TSEG_2
ElementFromToCountThresholdExcluded due to
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:

 SJW
ElementFromToCountThresholdExcluded due to
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:

 START_EDGE
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 SEGM_COUNTER
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:

 SEGM_END
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Port:

 H_SYNC_VALID
FromToCountThresholdExcluded due to
Bin0101Exclude file
Bin1001Exclude file

Covered toggles:

Port:

 EXIT_SEGM_REQ
FromToCountThreshold
Bin01164764501
Bin10164780501

Signal:

 SEL_TSEG1
FromToCountThreshold
Bin01341967941
Bin10341983861

Signal:

 EXP_SEG_LENGTH_CE
FromToCountThreshold
Bin01231472251
Bin10231488261

Signal:

 PHASE_ERR_MT_SJW
FromToCountThreshold
Bin01114281941
Bin10114297871

Signal:

 PHASE_ERR_EQ_SJW
FromToCountThreshold
Bin01187546251
Bin10187562251

Signal:

 EXIT_PH2_IMMEDIATE
FromToCountThreshold
Bin01126511
Bin10142521

Signal:

 EXIT_SEGM_REGULAR
FromToCountThreshold
Bin01164755721
Bin10164771721

Signal:

 EXIT_SEGM_REGULAR_TSEG1
FromToCountThreshold
Bin0166829831
Bin1066845841

Signal:

 EXIT_SEGM_REGULAR_TSEG2
FromToCountThreshold
Bin01163442421
Bin10163458421

Signal:

 SJW_MT_ZERO
FromToCountThreshold
Bin0117921
Bin1018001

Signal:

 USE_BASIC_SEGM_LENGTH
FromToCountThreshold
Bin01228018321
Bin10228034331

Signal:

 PHASE_ERR_SJW_BY_ONE
FromToCountThreshold
Bin01140186041
Bin10140202021

Signal:

 SHORTEN_TSEG1_AFTER_TSEG2
FromToCountThreshold
Bin01123171
Bin10139181

Uncovered expressions:

Excluded expressions:

Covered expressions:

">" expression on line 273:

 a > b 
Evaluated toCountThreshold
BinFalse16011
BinTrue64041

"or" expression on lines 351 to 353:

 (h_sync_valid = '1' or start_edge = '1' or shorten_tseg1_after_tseg2 = '1') or (segm_end = '1' and is_tseg2 = '1') or (segm_end = '0' and is_tseg1 = '1') 
 <------------------------------------------------------LHS------------------------------------------------------->     <--------------RHS-------------->  

LHSRHSCountThreshold
BinFalseFalse342023701
BinFalseTrue114486421
BinTrueFalse228271821

"or" expression on lines 351 to 352:

 (h_sync_valid = '1' or start_edge = '1' or shorten_tseg1_after_tseg2 = '1') or (segm_end = '1' and is_tseg2 = '1') 
  <----------------------------------LHS---------------------------------->      <--------------RHS-------------->  

LHSRHSCountThreshold
BinFalseFalse456510121
BinFalseTrue227694281
BinTrueFalse927511

"or" expression on line 351:

 h_sync_valid = '1' or start_edge = '1' or shorten_tseg1_after_tseg2 = '1' 
 <----------------LHS----------------->    <-------------RHS-------------> 

LHSRHSCountThreshold
BinFalseFalse684204401
BinFalseTrue220081
BinTrueFalse875031

"or" expression on line 351:

 h_sync_valid = '1' or start_edge = '1' 
 <------LHS------->    <-----RHS------> 

LHSRHSCountThreshold
BinFalseFalse684424481
BinFalseTrue64821
BinTrueFalse810211

"=" expression on line 351:

 h_sync_valid = '1' 
Evaluated toCountThreshold
BinFalse684489301
BinTrue810211

"=" expression on line 351:

 start_edge = '1' 
Evaluated toCountThreshold
BinFalse685234691
BinTrue64821

"=" expression on line 351:

 shorten_tseg1_after_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse685079431
BinTrue220081

"and" expression on line 352:

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

LHSRHSCountThreshold
BinFalseTrue114068251
BinTrueFalse228252641
BinTrueTrue227861881

"=" expression on line 352:

 segm_end = '1' 
Evaluated toCountThreshold
BinFalse229184991
BinTrue456114521

"=" expression on line 352:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse343369381
BinTrue341930131

"and" expression on line 353:

 segm_end = '0' and is_tseg1 = '1' 
 <----LHS----->     <----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue228261591
BinTrueFalse114148981
BinTrueTrue115003991

"=" expression on line 353:

 segm_end = '0' 
Evaluated toCountThreshold
BinFalse456146541
BinTrue229152971

"=" expression on line 353:

 is_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse342033931
BinTrue343265581

"=" expression on line 357:

 sel_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse342171251
BinTrue342004431

"or" expression on lines 361 to 362:

 h_sync_valid = '1' or shorten_tseg1_after_tseg2 = '1' 
 <------LHS------->    <-------------RHS-------------> 

LHSRHSCountThreshold
BinFalseFalse3389099061
BinFalseTrue213691
BinTrueFalse831301

"=" expression on line 361:

 h_sync_valid = '1' 
Evaluated toCountThreshold
BinFalse3389312751
BinTrue831301

"=" expression on line 362:

 shorten_tseg1_after_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse3389930361
BinTrue213691

"=" expression on line 363:

 phase_err_mt_sjw = '1' 
Evaluated toCountThreshold
BinFalse1347829691
BinTrue2041269371

"or" expression on lines 372 to 373:

 is_tseg2 = '1' or h_sync_valid = '1' or exit_ph2_immediate = '1' 
 <---------------LHS---------------->    <---------RHS----------> 

LHSRHSCountThreshold
BinFalseFalse1345680271
BinFalseTrue93411
BinTrueFalse1007274071

"or" expression on line 372:

 is_tseg2 = '1' or h_sync_valid = '1' 
 <----LHS----->    <------RHS-------> 

LHSRHSCountThreshold
BinFalseFalse1345773681
BinFalseTrue1059481
BinTrueFalse1006328461

"=" expression on line 372:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse1346833161
BinTrue1006556601

"=" expression on line 372:

 h_sync_valid = '1' 
Evaluated toCountThreshold
BinFalse2352102141
BinTrue1287621

"=" expression on line 373:

 exit_ph2_immediate = '1' 
Evaluated toCountThreshold
BinFalse2352954341
BinTrue435421

"or" expression on lines 384 to 386:

 (start_edge = '1') or (segm_end = '1' and h_sync_valid = '0' and shorten_tseg1_after_tseg2 = '0') 
  <-----LHS------>      <----------------------------------RHS---------------------------------->  

LHSRHSCountThreshold
BinFalseFalse229353361
BinFalseTrue227953501
BinTrueFalse64821

"=" expression on line 384:

 start_edge = '1' 
Evaluated toCountThreshold
BinFalse457306861
BinTrue64821

"and" expression on lines 385 to 386:

 segm_end = '1' and h_sync_valid = '0' and shorten_tseg1_after_tseg2 = '0' 
 <----------------LHS---------------->     <-------------RHS-------------> 

LHSRHSCountThreshold
BinFalseTrue229273131
BinTrueFalse91111
BinTrueTrue227953501

"and" expression on line 385:

 segm_end = '1' and h_sync_valid = '0' 
 <----LHS----->     <------RHS-------> 

LHSRHSCountThreshold
BinFalseTrue228560051
BinTrueFalse215751
BinTrueTrue228044611

"=" expression on line 385:

 segm_end = '1' 
Evaluated toCountThreshold
BinFalse229111321
BinTrue228260361

"=" expression on line 385:

 h_sync_valid = '0' 
Evaluated toCountThreshold
BinFalse767021
BinTrue456604661

"=" expression on line 386:

 shorten_tseg1_after_tseg2 = '0' 
Evaluated toCountThreshold
BinFalse145051
BinTrue457226631

"=" expression on line 396:

 use_basic_segm_length = '1' 
Evaluated toCountThreshold
BinFalse1942356351
BinTrue1509018861

"or" expression on lines 400 to 401:

 segm_end = '1' or resync_edge_valid = '1' or h_sync_valid = '1' or start_edge = '1' 
 <-----------------------------LHS----------------------------->    <-----RHS------> 

LHSRHSCountThreshold
BinFalseFalse231520281
BinFalseTrue64821
BinTrueFalse241637271

"or" expression on lines 400 to 401:

 segm_end = '1' or resync_edge_valid = '1' or h_sync_valid = '1' 
 <------------------LHS------------------>    <------RHS-------> 

LHSRHSCountThreshold
BinFalseFalse231585101
BinFalseTrue519251
BinTrueFalse240902271

"or" expression on line 400:

 segm_end = '1' or resync_edge_valid = '1' 
 <----LHS----->    <---------RHS---------> 

LHSRHSCountThreshold
BinFalseFalse232104351
BinFalseTrue7294631
BinTrueFalse228880511

"=" expression on line 400:

 segm_end = '1' 
Evaluated toCountThreshold
BinFalse239398981
BinTrue233823391

"=" expression on line 400:

 resync_edge_valid = '1' 
Evaluated toCountThreshold
BinFalse460984861
BinTrue12237511

"=" expression on line 401:

 h_sync_valid = '1' 
Evaluated toCountThreshold
BinFalse472487371
BinTrue735001

"=" expression on line 401:

 start_edge = '1' 
Evaluated toCountThreshold
BinFalse473157551
BinTrue64821

"=" expression on line 407:

 rst_n = '0' 
Evaluated toCountThreshold
BinFalse10867135751
BinTrue24225931

"=" expression on line 410:

 exp_seg_length_ce = '1' 
Evaluated toCountThreshold
BinFalse5198126851
BinTrue235391221

"=" expression on line 428:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse4347738711
BinTrue1972795841

"and" expression on lines 458 to 459:

 (phase_err_mt_sjw = '0' or phase_err_sjw_by_one = '1') and is_tseg2 = '1' and resync_edge_valid = '1' 
 <----------------------------------LHS---------------------------------->     <---------RHS---------> 

LHSRHSCountThreshold
BinFalseTrue7880381
BinTrueFalse203811201
BinTrueTrue126611

"and" expression on lines 458 to 459:

 (phase_err_mt_sjw = '0' or phase_err_sjw_by_one = '1') and is_tseg2 = '1' 
  <-----------------------LHS------------------------>      <----RHS-----> 

LHSRHSCountThreshold
BinFalseTrue99603471
BinTrueFalse231369761
BinTrueTrue203937811

"or" expression on line 458:

 phase_err_mt_sjw = '0' or phase_err_sjw_by_one = '1' 
 <--------LHS--------->    <----------RHS-----------> 

LHSRHSCountThreshold
BinFalseFalse161951921
BinFalseTrue196518911
BinTrueFalse238788661

"=" expression on line 458:

 phase_err_mt_sjw = '0' 
Evaluated toCountThreshold
BinFalse358470831
BinTrue238788661

"=" expression on line 458:

 phase_err_sjw_by_one = '1' 
Evaluated toCountThreshold
BinFalse400740581
BinTrue196518911

"=" expression on line 459:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse293718211
BinTrue303541281

"=" expression on line 459:

 resync_edge_valid = '1' 
Evaluated toCountThreshold
BinFalse589252501
BinTrue8006991

"and" expression on line 468:

 exit_ph2_immediate = '1' and phase_err_sjw_by_one = '0' 
 <---------LHS---------->     <----------RHS-----------> 

LHSRHSCountThreshold
BinFalseTrue140325091
BinTrueFalse3341
BinTrueTrue123171

"=" expression on line 468:

 exit_ph2_immediate = '1' 
Evaluated toCountThreshold
BinFalse280530481
BinTrue126511

"=" expression on line 468:

 phase_err_sjw_by_one = '0' 
Evaluated toCountThreshold
BinFalse140208731
BinTrue140448261

"and" expression on lines 486 to 487:

 is_tseg1 = '1' and resync_edge_valid = '1' and sjw_mt_zero = '1' 
 <------------------LHS------------------->     <------RHS------> 

LHSRHSCountThreshold
BinFalseTrue405527611
BinTrueFalse1549431
BinTrueTrue6250311

"and" expression on line 486:

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

LHSRHSCountThreshold
BinFalseTrue206161
BinTrueFalse188775471
BinTrueTrue7799741

"=" expression on line 486:

 is_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse277733691
BinTrue196575211

"=" expression on line 486:

 resync_edge_valid = '1' 
Evaluated toCountThreshold
BinFalse466303001
BinTrue8005901

"=" expression on line 487:

 sjw_mt_zero = '1' 
Evaluated toCountThreshold
BinFalse62530981
BinTrue411777921

"and" expression on line 489:

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

LHSRHSCountThreshold
BinFalseTrue163591581
BinTrueFalse123495051
BinTrueTrue66829851

"=" expression on line 489:

 is_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse277733691
BinTrue190324901

"=" expression on line 489:

 exit_segm_regular = '1' 
Evaluated toCountThreshold
BinFalse237637161
BinTrue230421431

"and" expression on line 496:

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

LHSRHSCountThreshold
BinFalseTrue66830601
BinTrueFalse113937901
BinTrueTrue163442421

"=" expression on line 496:

 is_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse180990531
BinTrue277380321

"=" expression on line 496:

 exit_segm_regular = '1' 
Evaluated toCountThreshold
BinFalse228097831
BinTrue230273021

"or" expression on lines 507 to 508:

 (exit_ph2_immediate = '1') or (exit_segm_regular_tseg1 = '1' or exit_segm_regular_tseg2 = '1') 
  <---------LHS---------->      <----------------------------RHS----------------------------->  

LHSRHSCountThreshold
BinFalseFalse164796511
BinFalseTrue230303441
BinTrueFalse9541

"=" expression on line 507:

 exit_ph2_immediate = '1' 
Evaluated toCountThreshold
BinFalse395099951
BinTrue126511

"or" expression on line 508:

 exit_segm_regular_tseg1 = '1' or exit_segm_regular_tseg2 = '1' 
 <------------LHS------------>    <------------RHS------------> 

LHSRHSCountThreshold
BinFalseFalse164806051
BinFalseTrue163590581
BinTrueFalse66829831

"=" expression on line 508:

 exit_segm_regular_tseg1 = '1' 
Evaluated toCountThreshold
BinFalse328396631
BinTrue66829831

"=" expression on line 508:

 exit_segm_regular_tseg2 = '1' 
Evaluated toCountThreshold
BinFalse231635881
BinTrue163590581

Uncovered FSM states:

Excluded FSM states:

Covered FSM states:

Uncovered functional coverage:

Excluded functional coverage:

Covered functional coverage: