Module Definition
dashboard | hierarchy | modlist | groups | tests | asserts

Module : spi_passthrough
SCORELINECONDTOGGLEFSMBRANCHASSERT
90.17 94.50 88.66 75.00 92.71 100.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_passthrough.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_passthrough 90.17 94.50 88.66 75.00 92.71 100.00



Module Instance : tb.dut.u_passthrough

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
90.17 94.50 88.66 75.00 92.71 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
90.54 94.95 89.22 75.00 93.52 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
92.52 95.20 84.31 97.00 90.62 95.45 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_pt_sck_cg 100.00 100.00 100.00 100.00
u_read_half_cycle 100.00 100.00 100.00
u_read_pipe_oe_stg1 100.00 100.00 100.00
u_read_pipe_oe_stg2 100.00 100.00 100.00
u_read_pipe_stg1 100.00 100.00 100.00
u_read_pipe_stg2 100.00 100.00 100.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : spi_passthrough
Line No.TotalCoveredPercent
TOTAL20018994.50
CONT_ASSIGN27111100.00
CONT_ASSIGN27611100.00
CONT_ASSIGN32611100.00
CONT_ASSIGN33311100.00
ALWAYS33644100.00
ALWAYS34544100.00
ALWAYS34933100.00
CONT_ASSIGN35511100.00
ALWAYS36044100.00
CONT_ASSIGN37211100.00
CONT_ASSIGN37311100.00
ALWAYS37644100.00
ALWAYS40088100.00
ALWAYS41444100.00
ALWAYS42544100.00
CONT_ASSIGN43900
ALWAYS44944100.00
CONT_ASSIGN46311100.00
ALWAYS46633100.00
CONT_ASSIGN47511100.00
ALWAYS47833100.00
ALWAYS48666100.00
CONT_ASSIGN49711100.00
ALWAYS50633100.00
ALWAYS52044100.00
ALWAYS52833100.00
ALWAYS53366100.00
ALWAYS53933100.00
CONT_ASSIGN54311100.00
CONT_ASSIGN54611100.00
ALWAYS56155100.00
CONT_ASSIGN57011100.00
CONT_ASSIGN57211100.00
CONT_ASSIGN57511100.00
CONT_ASSIGN57611100.00
ALWAYS58266100.00
CONT_ASSIGN58911100.00
ALWAYS5966466.67
CONT_ASSIGN60411100.00
CONT_ASSIGN60911100.00
ALWAYS61333100.00
CONT_ASSIGN61611100.00
ALWAYS6851313100.00
ALWAYS71333100.00
CONT_ASSIGN72811100.00
CONT_ASSIGN73411100.00
CONT_ASSIGN73711100.00
ALWAYS74533100.00
ALWAYS753685986.76
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_passthrough.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spi_passthrough.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
271 1 1
276 1 1
326 1 1
333 1 1
336 1 1
337 1 1
338 1 1
339 1 1
MISSING_ELSE
345 2 2
346 2 2
MISSING_ELSE
349 2 2
350 1 1
355 1 1
360 1 1
361 1 1
362 1 1
363 1 1
MISSING_ELSE
372 1 1
373 1 1
376 1 1
377 1 1
378 1 1
386 1 1
MISSING_ELSE
400 1 1
401 1 1
402 1 1
403 1 1
404 1 1
405 1 1
406 1 1
407 1 1
MISSING_ELSE
MISSING_ELSE
MISSING_ELSE
414 1 1
415 1 1
416 1 1
419 1 1
MISSING_ELSE
425 1 1
426 1 1
427 1 1
430 1 1
MISSING_ELSE
439 unreachable
449 1 1
451 1 1
454 1 1
456 1 1
MISSING_ELSE
463 1 1
466 1 1
467 1 1
468 1 1
MISSING_ELSE
475 1 1
478 1 1
479 1 1
481 1 1
486 1 1
487 1 1
488 1 1
489 1 1
490 1 1
491 1 1
MISSING_ELSE
497 1 1
506 2 2
507 1 1
520 1 1
521 1 1
522 1 1
523 1 1
MISSING_ELSE
528 2 2
529 1 1
533 2 2
534 2 2
535 2 2
MISSING_ELSE
539 2 2
540 1 1
543 1 1
546 1 1
561 1 1
562 1 1
563 1 1
565 1 1
566 1 1
570 1 1
572 1 1
575 1 1
576 1 1
582 2 2
583 1 1
584 1 1
585 1 1
586 1 1
MISSING_ELSE
589 1 1
596 1 1
597 1 1
598 1 1
599 0 1
600 1 1
601 0 1
MISSING_ELSE
604 1 1
609 1 1
613 2 2
614 1 1
616 1 1
685 1 1
686 1 1
687 1 1
689 1 1
690 1 1
691 1 1
693 1 1
695 1 1
696 1 1
697 1 1
700 1 1
701 1 1
702 1 1
713 2 2
714 1 1
728 1 1
734 1 1
737 1 1
745 1 1
746 1 1
748 1 1
753 1 1
756 1 1
759 1 1
762 1 1
765 1 1
768 1 1
771 1 1
772 1 1
775 1 1
776 1 1
778 1 1
780 1 1
781 1 1
782 1 1
783 1 1
784 1 1
787 1 1
788 1 1
798 1 1
799 1 1
801 1 1
802 1 1
803 1 1
805 1 1
806 1 1
807 1 1
809 1 1
810 1 1
812 1 1
814 1 1
MISSING_ELSE
818 1 1
820 1 1
821 1 1
MISSING_ELSE
826 0 1
827 0 1
829 0 1
830 0 1
832 0 1
838 1 1
839 1 1
840 1 1
845 1 1
848 1 1
849 1 1
854 1 1
857 1 1
858 1 1
862 1 1
863 1 1
864 1 1
866 1 1
867 1 1
868 0 1
870 0 1
MISSING_ELSE
876 1 1
877 1 1
878 0 1
880 0 1
881 1 1
882 1 1
884 1 1
885 1 1
886 1 1
888 1 1
889 1 1
891 1 1
893 1 1
896 1 1
MISSING_ELSE


Cond Coverage for Module : spi_passthrough
TotalCoveredPercent
Conditions978688.66
Logical978688.66
Non-Logical00
Event00

 LINE       271
 EXPRESSION (spi_mode_i == PassThrough)
            -------------1-------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T6,T9

 LINE       355
 SUB-EXPRESSION (filter | csb_deassert)
                 ---1--   ------2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT2,T6,T9
10CoveredT2,T6,T9

 LINE       362
 EXPRESSION (bitcnt != '1)
            -------1------
-1-StatusTests
0CoveredT2,T4,T6
1CoveredT2,T4,T6

 LINE       372
 EXPRESSION (bitcnt == 6'(6))
            --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T4,T6

 LINE       373
 EXPRESSION (bitcnt == 6'(7))
            --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T4,T6

 LINE       404
 EXPRESSION (cmd_info_i[i].opcode == {opcode_d[6:0], 1'b1})
            -----------------------1-----------------------
-1-StatusTests
0CoveredT2,T4,T6
1CoveredT2,T4,T6

 LINE       406
 EXPRESSION (cmd_info_i[i].opcode == {opcode_d[6:0], 1'b0})
            -----------------------1-----------------------
-1-StatusTests
0CoveredT2,T4,T6
1CoveredT8,T9,T10

 LINE       467
 EXPRESSION (addr_mode == Addr4B)
            ----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT10,T15,T28

 LINE       475
 EXPRESSION (st == StAddress)
            --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT10,T12,T15

 LINE       490
 EXPRESSION (addrcnt_outclk != '0)
            -----------1----------
-1-StatusTests
0CoveredT2,T4,T6
1CoveredT10,T12,T15

 LINE       497
 EXPRESSION (cfg_addr_mask_i[addrcnt_outclk] ? cfg_addr_value_i[addrcnt_outclk] : host_s_i[0])
             ---------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T4,T8

 LINE       522
 EXPRESSION ((payloadcnt != '0) && payload_replace)
             ---------1--------    -------2-------
-1--2-StatusTests
01CoveredT10,T15,T30
10CoveredT2,T4,T6
11CoveredT10,T15,T30

 LINE       522
 SUB-EXPRESSION (payloadcnt != '0)
                ---------1--------
-1-StatusTests
0CoveredT10,T15,T30
1CoveredT2,T4,T6

 LINE       543
 EXPRESSION (payloadcnt == '0)
            ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT10,T15,T30

 LINE       546
 EXPRESSION (cfg_payload_mask_i[payloadcnt_outclk] ? cfg_payload_data_i[payloadcnt_outclk] : host_s_i[0])
             ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T7,T8

 LINE       570
 EXPRESSION (addr_phase_outclk & cmd_info_addr_swap_en_outclk)
             --------1--------   --------------2-------------
-1--2-StatusTests
01CoveredT10,T15,T28
10CoveredT12,T15,T28
11CoveredT10,T15,T28

 LINE       572
 EXPRESSION (payload_replace_outclk & cmd_info_payload_swap_en_outclk)
             -----------1----------   ---------------2---------------
-1--2-StatusTests
01CoveredT10,T30,T19
10CoveredT9,T15,T24
11CoveredT10,T30,T19

 LINE       575
 EXPRESSION (addr_swap_en | payload_swap_en)
             ------1-----   -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT10,T30,T19
10CoveredT10,T15,T28

 LINE       576
 EXPRESSION (addr_swap_en ? addr_swap : payload_swap)
             ------1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT10,T15,T28

 LINE       585
 EXPRESSION (st == StHighZ)
            -------1-------
-1-StatusTests
0CoveredT2,T4,T6
1CoveredT2,T10,T12

 LINE       589
 EXPRESSION (dummycnt == '0)
            --------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       600
 EXPRESSION (st == StMByte)
            -------1-------
-1-StatusTests
0CoveredT2,T4,T6
1Not Covered

 LINE       604
 EXPRESSION (mbyte_cnt == '0)
            --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       609
 EXPRESSION (swap_en ? ({host_s_i[3:1], swap_data}) : host_s_i)
             ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT10,T15,T28

 LINE       734
 EXPRESSION (host_csb_i | csb_deassert_outclk)
             -----1----   ---------2---------
-1--2-StatusTests
00CoveredT1,T2,T4
01CoveredT2,T6,T9
10CoveredT1,T2,T3

 LINE       737
 EXPRESSION (is_active && ((!passthrough_block_i)))
             ----1----    ------------2-----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT15,T28,T30
11CoveredT2,T6,T9

 LINE       782
 EXPRESSION (cmd_8th && cmd_filter[host_s_i[0]])
             ---1---    -----------2-----------
-1--2-StatusTests
01Not Covered
10CoveredT2,T6,T9
11CoveredT2,T6,T9

 LINE       787
 EXPRESSION (cmd_8th && cmd_info_d.valid)
             ---1---    --------2-------
-1--2-StatusTests
01Not Covered
10CoveredT6,T9,T10
11CoveredT2,T9,T10

 LINE       798
 EXPRESSION (cmd_info_d.addr_mode != AddrDisabled)
            -------------------1------------------
-1-StatusTests
0CoveredT2,T9,T10
1CoveredT10,T12,T15

 LINE       807
 EXPRESSION (cmd_info_d.payload_en != 4'b0)
            ---------------1---------------
-1-StatusTests
0CoveredT15,T30,T19
1CoveredT9,T10,T15

 LINE       809
 EXPRESSION (cmd_info_d.payload_dir == PayloadOut)
            -------------------1------------------
-1-StatusTests
0CoveredT9,T10,T15
1CoveredT10,T15,T28

 LINE       864
 EXPRESSION (dummycnt_zero && (cmd_info.payload_dir == PayloadOut))
             ------1------    ------------------2-----------------
-1--2-StatusTests
01CoveredT2,T10,T12
10Not Covered
11CoveredT2,T10,T12

 LINE       864
 SUB-EXPRESSION (cmd_info.payload_dir == PayloadOut)
                ------------------1-----------------
-1-StatusTests
0Not Covered
1CoveredT2,T10,T12

 LINE       867
 EXPRESSION (dummycnt_zero && (cmd_info.payload_dir == PayloadIn))
             ------1------    -----------------2-----------------
-1--2-StatusTests
01Not Covered
10Not Covered
11Not Covered

 LINE       867
 SUB-EXPRESSION (cmd_info.payload_dir == PayloadIn)
                -----------------1-----------------
-1-StatusTests
0CoveredT2,T10,T12
1Not Covered

 LINE       876
 EXPRESSION (addrcnt_outclk == '0)
            -----------1----------
-1-StatusTests
0CoveredT10,T12,T15
1CoveredT10,T12,T15

 LINE       886
 EXPRESSION ((cmd_info.payload_en != 4'b0) && (cmd_info.payload_dir == PayloadOut))
             --------------1--------------    ------------------2-----------------
-1--2-StatusTests
01CoveredT15,T28,T30
10CoveredT10,T15,T30
11CoveredT12,T15,T30

 LINE       886
 SUB-EXPRESSION (cmd_info.payload_en != 4'b0)
                --------------1--------------
-1-StatusTests
0CoveredT15,T28,T30
1CoveredT10,T12,T15

 LINE       886
 SUB-EXPRESSION (cmd_info.payload_dir == PayloadOut)
                ------------------1-----------------
-1-StatusTests
0CoveredT10,T15,T30
1CoveredT12,T15,T28

 LINE       889
 EXPRESSION ((cmd_info.payload_en != 4'b0) && (cmd_info.payload_dir == PayloadIn))
             --------------1--------------    -----------------2-----------------
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT10,T15,T30

 LINE       889
 SUB-EXPRESSION (cmd_info.payload_en != 4'b0)
                --------------1--------------
-1-StatusTests
0CoveredT15,T28,T30
1CoveredT10,T15,T30

 LINE       889
 SUB-EXPRESSION (cmd_info.payload_dir == PayloadIn)
                -----------------1-----------------
-1-StatusTests
0CoveredT15,T28,T30
1CoveredT10,T15,T30

FSM Coverage for Module : spi_passthrough
Summary for FSM :: st
TotalCoveredPercent
States 7 6 85.71 (Not included in score)
Transitions 12 9 75.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: st
statesLine No.CoveredTests
StAddress 799 Covered T10,T12,T15
StDriving 812 Covered T9,T10,T15
StFilter 783 Covered T2,T6,T9
StHighZ 803 Covered T2,T10,T12
StIdle 781 Covered T1,T2,T3
StMByte 832 Not Covered
StWait 810 Covered T2,T10,T12


transitionsLine No.CoveredTests
StAddress->StDriving 891 Covered T10,T15,T30
StAddress->StHighZ 882 Covered T10,T12,T15
StAddress->StMByte 878 Not Covered
StAddress->StWait 888 Covered T12,T15,T28
StHighZ->StDriving 868 Not Covered
StHighZ->StWait 866 Covered T2,T10,T12
StIdle->StAddress 799 Covered T10,T12,T15
StIdle->StDriving 812 Covered T9,T10,T15
StIdle->StFilter 783 Covered T2,T6,T9
StIdle->StHighZ 803 Covered T2,T15,T30
StIdle->StWait 810 Covered T10,T15,T28
StMByte->StHighZ 827 Not Covered



Branch Coverage for Module : spi_passthrough
Line No.TotalCoveredPercent
Branches 96 89 92.71
TERNARY 497 2 2 100.00
TERNARY 546 2 2 100.00
TERNARY 576 2 2 100.00
TERNARY 609 2 2 100.00
IF 336 3 3 100.00
IF 345 3 3 100.00
IF 349 2 2 100.00
IF 360 3 3 100.00
IF 376 3 3 100.00
IF 401 2 2 100.00
IF 414 3 3 100.00
IF 425 3 3 100.00
IF 451 2 2 100.00
IF 467 2 2 100.00
IF 478 2 2 100.00
IF 486 4 4 100.00
IF 506 2 2 100.00
IF 520 3 3 100.00
IF 528 2 2 100.00
IF 533 4 4 100.00
IF 539 2 2 100.00
IF 561 2 2 100.00
IF 582 4 4 100.00
IF 596 4 2 50.00
IF 613 2 2 100.00
CASE 693 3 3 100.00
IF 713 2 2 100.00
IF 745 2 2 100.00
CASE 778 24 19 79.17

WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_passthrough.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spi_passthrough.sv was not found/opened, so annotated branch coverage report could not be generated.

LineNo. Expression -1-: 497 (cfg_addr_mask_i[addrcnt_outclk]) ?

Branches:
-1-StatusTests
1 Covered T2,T4,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 546 (cfg_payload_mask_i[payloadcnt_outclk]) ?

Branches:
-1-StatusTests
1 Covered T4,T7,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 576 (addr_swap_en) ?

Branches:
-1-StatusTests
1 Covered T10,T15,T28
0 Covered T1,T2,T3


LineNo. Expression -1-: 609 (swap_en) ?

Branches:
-1-StatusTests
1 Covered T10,T15,T28
0 Covered T1,T2,T3


LineNo. Expression -1-: 336 if ((!rst_ni)) -2-: 338 if ((bitcnt < 6'(8)))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T4,T6
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 345 if ((!rst_ni)) -2-: 346 if (filter)

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T6,T9
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 349 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 360 if ((!rst_ni)) -2-: 362 if ((bitcnt != '1))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T4,T6
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 376 if ((!rst_ni)) -2-: 378 if (cmd_7th)

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T4,T6
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 401 if (cmd_7th)

Branches:
-1-StatusTests
1 Covered T2,T4,T6
0 Covered T1,T2,T3


LineNo. Expression -1-: 414 if ((!rst_ni)) -2-: 416 if (cmd_7th)

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T4,T6
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 425 if ((!rst_ni)) -2-: 427 if (cmd_info_latch)

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T9,T10
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 451 if (cmd_8th)

Branches:
-1-StatusTests
1 Covered T2,T4,T6
0 Covered T1,T2,T3


LineNo. Expression -1-: 467 if ((addr_mode == Addr4B))

Branches:
-1-StatusTests
1 Covered T10,T15,T28
0 Covered T1,T2,T3


LineNo. Expression -1-: 478 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 486 if ((!rst_out_ni)) -2-: 488 if (addr_set_q) -3-: 490 if ((addrcnt_outclk != '0))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T10,T12,T15
0 0 1 Covered T10,T12,T15
0 0 0 Covered T2,T4,T6


LineNo. Expression -1-: 506 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 520 if ((!rst_ni)) -2-: 522 if (((payloadcnt != '0) && payload_replace))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T10,T15,T30
0 0 Covered T2,T4,T6


LineNo. Expression -1-: 528 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 533 if ((!rst_ni)) -2-: 534 if (payload_replace_set) -3-: 535 if (payload_replace_clr)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T9,T10,T15
0 0 1 Covered T10,T15,T30
0 0 0 Covered T2,T4,T6


LineNo. Expression -1-: 539 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 561 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 582 if ((!rst_ni)) -2-: 583 if (dummy_set) -3-: 585 if ((st == StHighZ))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T10,T12
0 0 1 Covered T2,T10,T12
0 0 0 Covered T2,T4,T6


LineNo. Expression -1-: 596 if ((!rst_ni)) -2-: 598 if (mbyte_set) -3-: 600 if ((st == StMByte))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Covered T2,T4,T6


LineNo. Expression -1-: 613 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 693 case (cmd_info.read_pipeline_mode)

Branches:
-1-StatusTests
RdPipeTwoStageFullCycle Covered T12,T15,T30
RdPipeTwoStageHalfCycle Covered T10,T15,T28
default Covered T1,T2,T3


LineNo. Expression -1-: 713 if ((!rst_out_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 745 if ((!rst_ni))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T4,T6


LineNo. Expression -1-: 778 case (st) -2-: 780 if ((!is_active)) -3-: 782 if ((cmd_8th && cmd_filter[host_s_i[0]])) -4-: 787 if ((cmd_8th && cmd_info_d.valid)) -5-: 798 if ((cmd_info_d.addr_mode != AddrDisabled)) -6-: 802 if (cmd_info_d.dummy_en) -7-: 807 if ((cmd_info_d.payload_en != 4'b0)) -8-: 809 if ((cmd_info_d.payload_dir == PayloadOut)) -9-: 818 if (cmd_8th) -10-: 826 if (mbytecnt_zero) -11-: 864 if ((dummycnt_zero && (cmd_info.payload_dir == PayloadOut))) -12-: 867 if ((dummycnt_zero && (cmd_info.payload_dir == PayloadIn))) -13-: 876 if ((addrcnt_outclk == '0)) -14-: 877 if (cmd_info.mbyte_en) -15-: 881 if (cmd_info.dummy_en) -16-: 886 if (((cmd_info.payload_en != 4'b0) && (cmd_info.payload_dir == PayloadOut))) -17-: 889 if (((cmd_info.payload_en != 4'b0) && (cmd_info.payload_dir == PayloadIn)))

Branches:
-1--2--3--4--5--6--7--8--9--10--11--12--13--14--15--16--17-StatusTests
StIdle 1 - - - - - - - - - - - - - - - Covered T1,T2,T3
StIdle 0 1 - - - - - - - - - - - - - - Covered T2,T6,T9
StIdle 0 0 1 1 - - - - - - - - - - - - Covered T10,T12,T15
StIdle 0 0 1 0 1 - - - - - - - - - - - Covered T2,T15,T30
StIdle 0 0 1 0 0 1 1 - - - - - - - - - Covered T10,T15,T28
StIdle 0 0 1 0 0 1 0 - - - - - - - - - Covered T9,T10,T15
StIdle 0 0 1 0 0 0 - - - - - - - - - - Covered T15,T30,T19
StIdle 0 0 0 - - - - 1 - - - - - - - - Covered T6,T9,T10
StIdle 0 0 0 - - - - 0 - - - - - - - - Covered T2,T6,T9
StMByte - - - - - - - - 1 - - - - - - - Not Covered
StMByte - - - - - - - - 0 - - - - - - - Not Covered
StFilter - - - - - - - - - - - - - - - - Covered T2,T6,T9
StWait - - - - - - - - - - - - - - - - Covered T2,T10,T12
StDriving - - - - - - - - - - - - - - - - Covered T9,T10,T15
StHighZ - - - - - - - - - 1 - - - - - - Covered T2,T10,T12
StHighZ - - - - - - - - - 0 1 - - - - - Not Covered
StHighZ - - - - - - - - - 0 0 - - - - - Covered T2,T10,T12
StAddress - - - - - - - - - - - 1 1 - - - Not Covered
StAddress - - - - - - - - - - - 1 0 1 - - Covered T10,T12,T15
StAddress - - - - - - - - - - - 1 0 0 1 - Covered T12,T15,T30
StAddress - - - - - - - - - - - 1 0 0 0 1 Covered T10,T15,T30
StAddress - - - - - - - - - - - 1 0 0 0 0 Covered T15,T28,T30
StAddress - - - - - - - - - - - 0 - - - - Covered T10,T12,T15
default - - - - - - - - - - - - - - - - Not Covered


Assert Coverage for Module : spi_passthrough
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 2 2 100.00 2 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 2 2 100.00 2 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
PassThroughStKnown_A 145987758 117650375 0 0
PayloadSwapConstraint_M 145987758 2115016 0 0


PassThroughStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 145987758 117650375 0 0
T2 4128 4128 0 0
T4 57648 57405 0 0
T6 29254 28784 0 0
T7 17590 17590 0 0
T8 310218 309622 0 0
T9 8448 8448 0 0
T10 128580 127492 0 0
T11 60632 0 0 0
T12 24601 24596 0 0
T13 122874 0 0 0
T15 0 347810 0 0
T16 0 10672 0 0

PayloadSwapConstraint_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 145987758 2115016 0 0
T10 128580 2144 0 0
T11 60632 0 0 0
T12 24601 0 0 0
T13 122874 0 0 0
T15 348642 0 0 0
T16 10672 0 0 0
T17 137908 0 0 0
T19 0 12688 0 0
T22 0 3944 0 0
T23 224873 0 0 0
T24 2080 0 0 0
T25 360 0 0 0
T30 0 21352 0 0
T42 0 1024 0 0
T45 0 1056 0 0
T46 0 8264 0 0
T47 0 2072 0 0
T48 0 15520 0 0
T49 0 35360 0 0

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%