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

Module : sram_ctrl_regs_reg_top
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 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 100.00 100.00 100.00 100.00 100.00



Module Instance : tb.dut.u_reg_regs

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
100.00 100.00 100.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.92 100.00 99.58 100.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
97.39 100.00 94.62 100.00 100.00 92.31 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_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_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


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
TOTAL6363100.00
ALWAYS6844100.00
CONT_ASSIGN7711100.00
CONT_ASSIGN8911100.00
CONT_ASSIGN9011100.00
CONT_ASSIGN11811100.00
CONT_ASSIGN11911100.00
CONT_ASSIGN15211100.00
CONT_ASSIGN16611100.00
CONT_ASSIGN36411100.00
CONT_ASSIGN43411100.00
CONT_ASSIGN46111100.00
CONT_ASSIGN48911100.00
ALWAYS52388100.00
CONT_ASSIGN53311100.00
ALWAYS53711100.00
CONT_ASSIGN54811100.00
CONT_ASSIGN55011100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN55311100.00
CONT_ASSIGN55411100.00
CONT_ASSIGN55611100.00
CONT_ASSIGN55711100.00
CONT_ASSIGN55911100.00
CONT_ASSIGN56011100.00
CONT_ASSIGN56211100.00
CONT_ASSIGN56411100.00
CONT_ASSIGN56511100.00
CONT_ASSIGN56711100.00
ALWAYS57188100.00
ALWAYS5831515100.00
CONT_ASSIGN63000
CONT_ASSIGN63811100.00
CONT_ASSIGN63911100.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
152 1 1
166 1 1
364 1 1
434 1 1
461 1 1
489 1 1
523 1 1
524 1 1
525 1 1
526 1 1
527 1 1
528 1 1
529 1 1
530 1 1
533 1 1
537 1 1
548 1 1
550 1 1
551 1 1
553 1 1
554 1 1
556 1 1
557 1 1
559 1 1
560 1 1
562 1 1
564 1 1
565 1 1
567 1 1
571 1 1
572 1 1
573 1 1
574 1 1
575 1 1
576 1 1
577 1 1
578 1 1
583 1 1
584 1 1
586 1 1
590 1 1
591 1 1
592 1 1
593 1 1
594 1 1
595 1 1
599 1 1
603 1 1
607 1 1
611 1 1
612 1 1
616 1 1
630 unreachable
638 1 1
639 1 1


Cond Coverage for Module : sram_ctrl_regs_reg_top
TotalCoveredPercent
Conditions9595100.00
Logical9595100.00
Non-Logical00
Event00

 LINE       58
 EXPRESSION (reg_we && ((!addrmiss)))
             ---1--    ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT11,T26,T27
11CoveredT1,T2,T3

 LINE       70
 EXPRESSION (intg_err || reg_we_err)
             ----1---    -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT15,T16,T17
10CoveredT105,T106,T107

 LINE       77
 EXPRESSION (err_q | intg_err | reg_we_err)
             --1--   ----2---   -----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT15,T16,T17
010CoveredT105,T106,T107
100CoveredT15,T16,T17

 LINE       119
 EXPRESSION (addrmiss | wr_err | intg_err)
             ----1---   ---2--   ----3---
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT105,T106,T107
010CoveredT11,T26,T27
100CoveredT11,T26,T27

 LINE       364
 EXPRESSION (exec_we & exec_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT6,T8,T46
11CoveredT5,T6,T28

 LINE       434
 EXPRESSION (ctrl_we & ctrl_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT6,T8,T46
11CoveredT1,T2,T3

 LINE       524
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_ALERT_TEST_OFFSET)
            ------------------------------1-----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T9,T11

 LINE       525
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_STATUS_OFFSET)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T11,T30

 LINE       526
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_REGWEN_OFFSET)
            ------------------------------1------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T6

 LINE       527
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_OFFSET)
            ---------------------------1--------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T5

 LINE       528
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_CTRL_REGWEN_OFFSET)
            ------------------------------1------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T10,T6

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

 LINE       530
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_SCR_KEY_ROTATED_OFFSET)
            --------------------------------1--------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T11,T44

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

 LINE       533
 SUB-EXPRESSION (reg_re || reg_we)
                 ---1--    ---2--
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT4,T6,T11

 LINE       537
 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)))))))
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT1,T2,T3
11CoveredT11,T26,T27

 LINE       537
 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))))))
-1--2--3--4--5--6--7-StatusTests
0000000CoveredT1,T2,T3
0000001CoveredT1,T11,T44
0000010CoveredT6,T11,T56
0000100CoveredT1,T10,T11
0001000CoveredT1,T10,T11
0010000CoveredT1,T10,T11
0100000CoveredT4,T11,T30
1000000CoveredT1,T11,T26

 LINE       537
 SUB-EXPRESSION (addr_hit[0] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT1,T9,T11
11CoveredT1,T11,T26

 LINE       537
 SUB-EXPRESSION (addr_hit[1] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T10,T6
10CoveredT4,T11,T30
11CoveredT4,T11,T30

 LINE       537
 SUB-EXPRESSION (addr_hit[2] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT1,T6,T11
11CoveredT1,T10,T11

 LINE       537
 SUB-EXPRESSION (addr_hit[3] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT5,T6,T11
11CoveredT1,T10,T11

 LINE       537
 SUB-EXPRESSION (addr_hit[4] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT1,T6,T11
11CoveredT1,T10,T11

 LINE       537
 SUB-EXPRESSION (addr_hit[5] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT1,T2,T3
11CoveredT6,T11,T56

 LINE       537
 SUB-EXPRESSION (addr_hit[6] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T4,T10
10CoveredT1,T11,T44
11CoveredT1,T11,T44

 LINE       548
 EXPRESSION (addr_hit[0] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T9,T11
110CoveredT11,T26,T27
111CoveredT9,T18,T19

 LINE       551
 EXPRESSION (addr_hit[2] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T10,T6
110CoveredT11,T27,T48
111CoveredT6,T8,T46

 LINE       554
 EXPRESSION (addr_hit[3] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T10,T5
110CoveredT11,T26,T27
111CoveredT5,T6,T28

 LINE       557
 EXPRESSION (addr_hit[4] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T10,T6
110CoveredT11,T27,T48
111CoveredT6,T8,T46

 LINE       560
 EXPRESSION (addr_hit[5] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT9,T5,T6
101CoveredT1,T2,T3
110CoveredT11,T26,T27
111CoveredT1,T2,T3

 LINE       565
 EXPRESSION (addr_hit[6] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T11,T44
110CoveredT11,T26,T27
111CoveredT61,T105,T104

Branch Coverage for Module : sram_ctrl_regs_reg_top
Line No.TotalCoveredPercent
Branches 13 13 100.00
TERNARY 533 2 2 100.00
IF 68 3 3 100.00
CASE 584 8 8 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-: 533 ((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 T15,T16,T17
0 0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
addr_hit[0] Covered T1,T2,T3
addr_hit[1] Covered T2,T3,T4
addr_hit[2] Covered T1,T2,T3
addr_hit[3] Covered T1,T2,T3
addr_hit[4] Covered T1,T2,T3
addr_hit[5] Covered T1,T2,T3
addr_hit[6] Covered T1,T2,T3
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 1189993141 47266 0 0
reAfterRv 1189993141 47266 0 0
rePulse 1189993141 19357 0 0
wePulse 1189993141 27909 0 0


en2addrHit
NameAttemptsReal SuccessesFailuresIncomplete
Total 1189993141 47266 0 0
T1 927396 22 0 0
T2 998302 24 0 0
T3 640614 5 0 0
T4 640750 43 0 0
T5 339690 6 0 0
T6 154084 78 0 0
T9 636 4 0 0
T10 69424 2 0 0
T11 66956 96 0 0
T12 75164 2 0 0

reAfterRv
NameAttemptsReal SuccessesFailuresIncomplete
Total 1189993141 47266 0 0
T1 927396 22 0 0
T2 998302 24 0 0
T3 640614 5 0 0
T4 640750 43 0 0
T5 339690 6 0 0
T6 154084 78 0 0
T9 636 4 0 0
T10 69424 2 0 0
T11 66956 96 0 0
T12 75164 2 0 0

rePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 1189993141 19357 0 0
T4 640750 21 0 0
T5 339690 0 0 0
T6 154084 16 0 0
T7 0 3 0 0
T8 0 27 0 0
T9 636 0 0 0
T10 69424 0 0 0
T11 66956 52 0 0
T12 75164 0 0 0
T13 71594 0 0 0
T14 244145 0 0 0
T20 0 35 0 0
T22 0 2 0 0
T26 0 42 0 0
T27 0 129 0 0
T46 0 16 0 0
T55 42428 0 0 0

wePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 1189993141 27909 0 0
T1 927396 22 0 0
T2 998302 24 0 0
T3 640614 5 0 0
T4 640750 22 0 0
T5 339690 6 0 0
T6 154084 62 0 0
T9 636 4 0 0
T10 69424 2 0 0
T11 66956 44 0 0
T12 75164 2 0 0

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