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.26 100.00 94.62 100.00 100.00 91.67 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
10CoveredT31,T35,T36
11CoveredT1,T2,T3

 LINE       70
 EXPRESSION (intg_err || reg_we_err)
             ----1---    -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT26,T27,T28
10CoveredT106,T107,T108

 LINE       77
 EXPRESSION (err_q | intg_err | reg_we_err)
             --1--   ----2---   -----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT26,T27,T28
010CoveredT106,T107,T108
100CoveredT26,T27,T28

 LINE       119
 EXPRESSION (addrmiss | wr_err | intg_err)
             ----1---   ---2--   ----3---
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT106,T107,T108
010CoveredT31,T35,T36
100CoveredT31,T35,T36

 LINE       364
 EXPRESSION (exec_we & exec_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T31,T15
11CoveredT1,T10,T18

 LINE       434
 EXPRESSION (ctrl_we & ctrl_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T31,T15
11CoveredT1,T2,T3

 LINE       524
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_ALERT_TEST_OFFSET)
            ------------------------------1-----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT18,T31,T60

 LINE       525
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_STATUS_OFFSET)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT14,T4,T31

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

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

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

 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
1CoveredT34,T18,T14

 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
10CoveredT1,T4,T31

 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,T11,T34
10CoveredT1,T2,T3
11CoveredT31,T35,T36

 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
0000001CoveredT34,T18,T14
0000010CoveredT1,T18,T14
0000100CoveredT31,T35,T36
0001000CoveredT31,T35,T36
0010000CoveredT11,T34,T31
0100000CoveredT4,T31,T5
1000000CoveredT31,T35,T36

 LINE       537
 SUB-EXPRESSION (addr_hit[0] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T11,T34
10CoveredT18,T31,T60
11CoveredT31,T35,T36

 LINE       537
 SUB-EXPRESSION (addr_hit[1] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T11,T34
10CoveredT14,T4,T31
11CoveredT4,T31,T5

 LINE       537
 SUB-EXPRESSION (addr_hit[2] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T34,T18
10CoveredT1,T2,T18
11CoveredT11,T34,T31

 LINE       537
 SUB-EXPRESSION (addr_hit[3] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T11,T34
10CoveredT1,T10,T18
11CoveredT31,T35,T36

 LINE       537
 SUB-EXPRESSION (addr_hit[4] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T11,T34
10CoveredT1,T2,T31
11CoveredT31,T35,T36

 LINE       537
 SUB-EXPRESSION (addr_hit[5] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT11,T34,T18
10CoveredT1,T2,T3
11CoveredT1,T18,T14

 LINE       537
 SUB-EXPRESSION (addr_hit[6] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT1,T11,T34
10CoveredT18,T31,T64
11CoveredT34,T18,T14

 LINE       548
 EXPRESSION (addr_hit[0] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT18,T31,T60
110CoveredT31,T35,T36
111CoveredT22,T25,T23

 LINE       551
 EXPRESSION (addr_hit[2] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T2,T11
110CoveredT31,T35,T36
111CoveredT1,T31,T15

 LINE       554
 EXPRESSION (addr_hit[3] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T2,T10
110CoveredT31,T35,T36
111CoveredT1,T10,T18

 LINE       557
 EXPRESSION (addr_hit[4] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T2,T18
110CoveredT31,T35,T36
111CoveredT1,T31,T15

 LINE       560
 EXPRESSION (addr_hit[5] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T10,T18
101CoveredT1,T2,T3
110CoveredT31,T35,T36
111CoveredT1,T2,T3

 LINE       565
 EXPRESSION (addr_hit[6] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT11,T34,T18
110CoveredT31,T35,T36
111CoveredT68,T106,T69

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 T26,T27,T28
0 0 Covered T1,T2,T3


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

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


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 314963327 46070 0 0
reAfterRv 314963327 46070 0 0
rePulse 314963327 18800 0 0
wePulse 314963327 27270 0 0


en2addrHit
NameAttemptsReal SuccessesFailuresIncomplete
Total 314963327 46070 0 0
T1 777388 49 0 0
T2 18403 1 0 0
T3 52281 1 0 0
T7 29498 0 0 0
T8 143472 6 0 0
T9 65761 0 0 0
T10 163770 20 0 0
T11 7984 2 0 0
T12 108876 4 0 0
T13 192050 3 0 0
T16 0 2 0 0
T17 0 2 0 0

reAfterRv
NameAttemptsReal SuccessesFailuresIncomplete
Total 314963327 46070 0 0
T1 777388 49 0 0
T2 18403 1 0 0
T3 52281 1 0 0
T7 29498 0 0 0
T8 143472 6 0 0
T9 65761 0 0 0
T10 163770 20 0 0
T11 7984 2 0 0
T12 108876 4 0 0
T13 192050 3 0 0
T16 0 2 0 0
T17 0 2 0 0

rePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 314963327 18800 0 0
T1 777388 9 0 0
T2 18403 0 0 0
T3 52281 0 0 0
T4 0 49 0 0
T5 0 45 0 0
T6 0 19 0 0
T7 29498 0 0 0
T8 143472 0 0 0
T9 65761 0 0 0
T10 163770 0 0 0
T11 7984 0 0 0
T12 108876 0 0 0
T13 192050 0 0 0
T15 0 24 0 0
T31 0 160 0 0
T32 0 3 0 0
T33 0 121 0 0
T35 0 45 0 0
T65 0 12 0 0

wePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 314963327 27270 0 0
T1 777388 40 0 0
T2 18403 1 0 0
T3 52281 1 0 0
T7 29498 0 0 0
T8 143472 6 0 0
T9 65761 0 0 0
T10 163770 20 0 0
T11 7984 2 0 0
T12 108876 4 0 0
T13 192050 3 0 0
T16 0 2 0 0
T17 0 2 0 0

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