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

Module : sram_ctrl_regs_reg_top
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.58 100.00 98.31 100.00 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_reg_regs 99.58 100.00 98.31 100.00 100.00



Module Instance : tb.dut.u_reg_regs

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.58 100.00 98.31 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.03 98.43 96.44 100.00 95.28 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
91.90 100.00 88.89 100.00 100.00 70.59 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_alert_test 100.00 100.00
u_chk 100.00 100.00 100.00 100.00
u_ctrl0_qe 100.00 100.00 100.00
u_ctrl_init 100.00 100.00 100.00 100.00
u_ctrl_regwen 100.00 100.00 100.00 100.00
u_ctrl_renew_scr_key 100.00 100.00 100.00 100.00
u_exec 100.00 100.00 100.00 100.00
u_exec_regwen 100.00 100.00 100.00 100.00
u_prim_reg_we_check 100.00 100.00 100.00
u_readback 100.00 100.00 100.00 100.00
u_readback_regwen 66.30 88.89 50.00 60.00
u_reg_if 99.69 100.00 98.75 100.00 100.00
u_rsp_intg_gen 100.00 100.00 100.00
u_scr_key_rotated 100.00 100.00 100.00 100.00
u_status_bus_integ_error 100.00 100.00 100.00 100.00
u_status_escalated 100.00 100.00 100.00 100.00
u_status_init_done 100.00 100.00 100.00 100.00
u_status_init_error 100.00 100.00 100.00 100.00
u_status_readback_error 62.59 77.78 50.00 60.00
u_status_scr_key_seed_valid 100.00 100.00 100.00 100.00
u_status_scr_key_valid 100.00 100.00 100.00 100.00
u_status_sram_alert 62.59 77.78 50.00 60.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : sram_ctrl_regs_reg_top
Line No.TotalCoveredPercent
TOTAL7676100.00
ALWAYS6844100.00
CONT_ASSIGN7711100.00
CONT_ASSIGN8911100.00
CONT_ASSIGN9011100.00
CONT_ASSIGN11811100.00
CONT_ASSIGN11911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17411100.00
CONT_ASSIGN42611100.00
CONT_ASSIGN49611100.00
CONT_ASSIGN52311100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN61311100.00
ALWAYS6441010100.00
CONT_ASSIGN65611100.00
ALWAYS66011100.00
CONT_ASSIGN67311100.00
CONT_ASSIGN67511100.00
CONT_ASSIGN67611100.00
CONT_ASSIGN67811100.00
CONT_ASSIGN67911100.00
CONT_ASSIGN68111100.00
CONT_ASSIGN68211100.00
CONT_ASSIGN68411100.00
CONT_ASSIGN68511100.00
CONT_ASSIGN68711100.00
CONT_ASSIGN68911100.00
CONT_ASSIGN69011100.00
CONT_ASSIGN69211100.00
CONT_ASSIGN69311100.00
CONT_ASSIGN69511100.00
CONT_ASSIGN69611100.00
CONT_ASSIGN69811100.00
ALWAYS7021010100.00
ALWAYS7161919100.00
CONT_ASSIGN77300
CONT_ASSIGN78111100.00
CONT_ASSIGN78211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_sram_ctrl_0.1/rtl/sram_ctrl_regs_reg_top.sv' or '../src/lowrisc_ip_sram_ctrl_0.1/rtl/sram_ctrl_regs_reg_top.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
77 1 1
89 1 1
90 1 1
118 1 1
119 1 1
160 1 1
174 1 1
426 1 1
496 1 1
523 1 1
551 1 1
613 1 1
644 1 1
645 1 1
646 1 1
647 1 1
648 1 1
649 1 1
650 1 1
651 1 1
652 1 1
653 1 1
656 1 1
660 1 1
673 1 1
675 1 1
676 1 1
678 1 1
679 1 1
681 1 1
682 1 1
684 1 1
685 1 1
687 1 1
689 1 1
690 1 1
692 1 1
693 1 1
695 1 1
696 1 1
698 1 1
702 1 1
703 1 1
704 1 1
705 1 1
706 1 1
707 1 1
708 1 1
709 1 1
710 1 1
711 1 1
716 1 1
717 1 1
719 1 1
723 1 1
724 1 1
725 1 1
726 1 1
727 1 1
728 1 1
729 1 1
730 1 1
734 1 1
738 1 1
742 1 1
746 1 1
747 1 1
751 1 1
755 1 1
759 1 1
773 unreachable
781 1 1
782 1 1


Cond Coverage for Module : sram_ctrl_regs_reg_top
TotalCoveredPercent
Conditions11811698.31
Logical11811698.31
Non-Logical00
Event00

 LINE       58
 EXPRESSION (reg_we && ((!addrmiss)))
             ---1--    ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT24,T28,T29
11CoveredT1,T2,T3

 LINE       70
 EXPRESSION (intg_err || reg_we_err)
             ----1---    -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT17,T18,T19
10CoveredT68,T69,T70

 LINE       77
 EXPRESSION (err_q | intg_err | reg_we_err)
             --1--   ----2---   -----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT17,T18,T19
010CoveredT68,T69,T70
100CoveredT17,T18,T19

 LINE       119
 EXPRESSION (addrmiss | wr_err | intg_err)
             ----1---   ---2--   ----3---
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT68,T69,T70
010CoveredT24,T28,T29
100CoveredT24,T28,T29

 LINE       426
 EXPRESSION (exec_we & exec_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T13,T5
11CoveredT3,T13,T26

 LINE       496
 EXPRESSION (ctrl_we & ctrl_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T13,T5
11CoveredT2,T3,T4

 LINE       613
 EXPRESSION (readback_we & readback_regwen_qs)
             -----1-----   ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T43,T44

 LINE       645
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_ALERT_TEST_OFFSET)
            ------------------------------1-----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT11,T27,T46

 LINE       646
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_STATUS_OFFSET)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT11,T5,T27

 LINE       647
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_REGWEN_OFFSET)
            ------------------------------1------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT3,T13,T5

 LINE       648
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_OFFSET)
            ---------------------------1--------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT3,T11,T13

 LINE       649
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_CTRL_REGWEN_OFFSET)
            ------------------------------1------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT3,T11,T13

 LINE       650
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_CTRL_OFFSET)
            ---------------------------1--------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       651
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_SCR_KEY_ROTATED_OFFSET)
            --------------------------------1--------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT27,T46,T71

 LINE       652
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_READBACK_REGWEN_OFFSET)
            --------------------------------1--------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT11,T27,T46

 LINE       653
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_READBACK_OFFSET)
            -----------------------------1----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T11,T43

 LINE       656
 EXPRESSION ((reg_re || reg_we) ? ((~|addr_hit)) : 1'b0)
             ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       656
 SUB-EXPRESSION (reg_re || reg_we)
                 ---1--    ---2--
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT3,T13,T5

 LINE       660
 EXPRESSION 
 Number  Term
      1  reg_we & 
      2  ((addr_hit[0] & ((|(4'b1 & (~reg_be))))) | (addr_hit[1] & ((|(4'b1 & (~reg_be))))) | (addr_hit[2] & ((|(4'b1 & (~reg_be))))) | (addr_hit[3] & ((|(4'b1 & (~reg_be))))) | (addr_hit[4] & ((|(4'b1 & (~reg_be))))) | (addr_hit[5] & ((|(4'b1 & (~reg_be))))) | (addr_hit[6] & ((|(4'b1 & (~reg_be))))) | (addr_hit[7] & ((|(4'b1 & (~reg_be))))) | (addr_hit[8] & ((|(4'b1 & (~reg_be)))))))
-1--2-StatusTests
01CoveredT3,T11,T13
10CoveredT1,T2,T3
11CoveredT24,T28,T29

 LINE       660
 SUB-EXPRESSION 
 Number  Term
      1  (addr_hit[0] & ((|(4'b1 & (~reg_be))))) | 
      2  (addr_hit[1] & ((|(4'b1 & (~reg_be))))) | 
      3  (addr_hit[2] & ((|(4'b1 & (~reg_be))))) | 
      4  (addr_hit[3] & ((|(4'b1 & (~reg_be))))) | 
      5  (addr_hit[4] & ((|(4'b1 & (~reg_be))))) | 
      6  (addr_hit[5] & ((|(4'b1 & (~reg_be))))) | 
      7  (addr_hit[6] & ((|(4'b1 & (~reg_be))))) | 
      8  (addr_hit[7] & ((|(4'b1 & (~reg_be))))) | 
      9  (addr_hit[8] & ((|(4'b1 & (~reg_be))))))
-1--2--3--4--5--6--7--8--9-StatusTests
000000000CoveredT1,T2,T3
000000001CoveredT11,T71,T24
000000010CoveredT11,T27,T46
000000100CoveredT46,T71,T24
000001000CoveredT3,T13,T5
000010000CoveredT11,T46,T71
000100000CoveredT46,T71,T56
001000000CoveredT71,T24,T72
010000000CoveredT11,T5,T46
100000000CoveredT11,T27,T46

 LINE       660
 SUB-EXPRESSION (addr_hit[0] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT14,T71,T24
11CoveredT11,T27,T46

 LINE       660
 SUB-EXPRESSION (addr_hit[1] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT11,T5,T27
11CoveredT11,T5,T46

 LINE       660
 SUB-EXPRESSION (addr_hit[2] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT3,T13,T5
11CoveredT71,T24,T72

 LINE       660
 SUB-EXPRESSION (addr_hit[3] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT3,T11,T13
11CoveredT46,T71,T56

 LINE       660
 SUB-EXPRESSION (addr_hit[4] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT3,T13,T5
11CoveredT11,T46,T71

 LINE       660
 SUB-EXPRESSION (addr_hit[5] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T11,T5
10CoveredT2,T3,T4
11CoveredT3,T13,T5

 LINE       660
 SUB-EXPRESSION (addr_hit[6] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT27,T46,T71
11CoveredT46,T71,T24

 LINE       660
 SUB-EXPRESSION (addr_hit[7] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT11,T46,T71
11CoveredT11,T27,T46

 LINE       660
 SUB-EXPRESSION (addr_hit[8] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T3,T11
10CoveredT1,T43,T44
11CoveredT11,T71,T24

 LINE       673
 EXPRESSION (addr_hit[0] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT11,T27,T46
110CoveredT24,T28,T29
111CoveredT14,T15,T16

 LINE       676
 EXPRESSION (addr_hit[2] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT3,T13,T5
110CoveredT24,T28,T29
111CoveredT3,T13,T5

 LINE       679
 EXPRESSION (addr_hit[3] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT3,T11,T13
110CoveredT24,T28,T29
111CoveredT3,T13,T26

 LINE       682
 EXPRESSION (addr_hit[4] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT3,T11,T13
110CoveredT24,T28,T29
111CoveredT3,T13,T5

 LINE       685
 EXPRESSION (addr_hit[5] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T3,T13
101CoveredT2,T3,T4
110CoveredT24,T29,T59
111CoveredT2,T3,T4

 LINE       690
 EXPRESSION (addr_hit[6] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT27,T46,T71
110CoveredT24,T28,T29
111CoveredT68,T73,T74

 LINE       693
 EXPRESSION (addr_hit[7] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT11,T27,T46
110CoveredT24,T28,T29
111Not Covered

 LINE       696
 EXPRESSION (addr_hit[8] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT2,T3,T4
101CoveredT1,T11,T43
110CoveredT24,T28,T29
111CoveredT1,T43,T44

Branch Coverage for Module : sram_ctrl_regs_reg_top
Line No.TotalCoveredPercent
Branches 15 15 100.00
TERNARY 656 2 2 100.00
IF 68 3 3 100.00
CASE 717 10 10 100.00

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

LineNo. Expression -1-: 656 ((reg_re || reg_we)) ?

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


LineNo. Expression -1-: 68 if ((!rst_ni)) -2-: 70 if ((intg_err || reg_we_err))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T17,T18,T19
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 717 case (1'b1)

Branches:
-1-StatusTests
addr_hit[0] Covered T1,T3,T4
addr_hit[1] Covered T1,T3,T4
addr_hit[2] Covered T1,T3,T4
addr_hit[3] Covered T1,T3,T4
addr_hit[4] Covered T1,T3,T4
addr_hit[5] Covered T1,T2,T3
addr_hit[6] Covered T1,T3,T4
addr_hit[7] Covered T1,T3,T4
addr_hit[8] Covered T1,T3,T4
default Covered T1,T2,T3


Assert Coverage for Module : sram_ctrl_regs_reg_top
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 4 4 100.00 4 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 4 4 100.00 4 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
en2addrHit 323167003 50631 0 0
reAfterRv 323167003 50631 0 0
rePulse 323167003 20188 0 0
wePulse 323167003 30443 0 0


en2addrHit
NameAttemptsReal SuccessesFailuresIncomplete
Total 323167003 50631 0 0
T1 33633 8 0 0
T2 8984 2 0 0
T3 118459 122 0 0
T4 22186 2 0 0
T8 2823 1 0 0
T9 117616 5 0 0
T10 4995 2 0 0
T11 59797 14 0 0
T12 2025 1 0 0
T13 151477 104 0 0

reAfterRv
NameAttemptsReal SuccessesFailuresIncomplete
Total 323167003 50631 0 0
T1 33633 8 0 0
T2 8984 2 0 0
T3 118459 122 0 0
T4 22186 2 0 0
T8 2823 1 0 0
T9 117616 5 0 0
T10 4995 2 0 0
T11 59797 14 0 0
T12 2025 1 0 0
T13 151477 104 0 0

rePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 323167003 20188 0 0
T3 118459 24 0 0
T4 22186 0 0 0
T5 0 26 0 0
T8 2823 0 0 0
T9 117616 0 0 0
T10 4995 0 0 0
T11 59797 0 0 0
T12 2025 0 0 0
T13 151477 21 0 0
T24 0 96 0 0
T25 94058 0 0 0
T43 17172 0 0 0
T66 0 21 0 0
T67 0 24 0 0
T71 0 14 0 0
T75 0 5 0 0
T76 0 13 0 0
T77 0 19 0 0

wePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 323167003 30443 0 0
T1 33633 8 0 0
T2 8984 2 0 0
T3 118459 98 0 0
T4 22186 2 0 0
T8 2823 1 0 0
T9 117616 5 0 0
T10 4995 2 0 0
T11 59797 14 0 0
T12 2025 1 0 0
T13 151477 83 0 0

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