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
10CoveredT18,T33,T34
11CoveredT1,T2,T3

 LINE       70
 EXPRESSION (intg_err || reg_we_err)
             ----1---    -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT20,T21,T22
10CoveredT106,T107,T108

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

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

 LINE       364
 EXPRESSION (exec_we & exec_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT17,T18,T59
11CoveredT4,T17,T18

 LINE       434
 EXPRESSION (ctrl_we & ctrl_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT17,T18,T59
11CoveredT1,T2,T3

 LINE       524
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_ALERT_TEST_OFFSET)
            ------------------------------1-----------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T13,T32

 LINE       525
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_STATUS_OFFSET)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T5,T18

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

 LINE       527
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_OFFSET)
            ---------------------------1--------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T13,T17

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

 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
1CoveredT13,T18,T61

 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
10CoveredT17,T5,T18

 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
01CoveredT2,T17,T5
10CoveredT1,T2,T3
11CoveredT18,T33,T34

 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
0000001CoveredT18,T61,T82
0000010CoveredT2,T17,T18
0000100CoveredT2,T32,T18
0001000CoveredT18,T61,T26
0010000CoveredT18,T61,T26
0100000CoveredT5,T18,T6
1000000CoveredT2,T18,T61

 LINE       537
 SUB-EXPRESSION (addr_hit[0] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T17,T5
10CoveredT13,T32,T18
11CoveredT2,T18,T61

 LINE       537
 SUB-EXPRESSION (addr_hit[1] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T17,T32
10CoveredT2,T5,T18
11CoveredT5,T18,T6

 LINE       537
 SUB-EXPRESSION (addr_hit[2] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T17,T5
10CoveredT17,T18,T59
11CoveredT18,T61,T26

 LINE       537
 SUB-EXPRESSION (addr_hit[3] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T17,T5
10CoveredT4,T13,T17
11CoveredT18,T61,T26

 LINE       537
 SUB-EXPRESSION (addr_hit[4] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T17,T5
10CoveredT2,T17,T18
11CoveredT2,T32,T18

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

 LINE       537
 SUB-EXPRESSION (addr_hit[6] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT2,T17,T5
10CoveredT13,T18,T61
11CoveredT18,T61,T82

 LINE       548
 EXPRESSION (addr_hit[0] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT2,T13,T32
110CoveredT18,T33,T34
111CoveredT26,T23,T27

 LINE       551
 EXPRESSION (addr_hit[2] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT17,T18,T59
110CoveredT18,T33,T34
111CoveredT17,T18,T59

 LINE       554
 EXPRESSION (addr_hit[3] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT4,T13,T17
110CoveredT18,T33,T34
111CoveredT4,T17,T18

 LINE       557
 EXPRESSION (addr_hit[4] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT2,T17,T32
110CoveredT18,T33,T34
111CoveredT17,T18,T59

 LINE       560
 EXPRESSION (addr_hit[5] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT4,T17,T18
101CoveredT1,T2,T3
110CoveredT18,T33,T34
111CoveredT1,T2,T3

 LINE       565
 EXPRESSION (addr_hit[6] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT2,T13,T18
110CoveredT18,T33,T34
111CoveredT104,T66,T105

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 T20,T21,T22
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 T1,T2,T3
addr_hit[2] Covered T1,T3,T4
addr_hit[3] Covered T1,T3,T4
addr_hit[4] Covered T1,T2,T3
addr_hit[5] Covered T1,T2,T3
addr_hit[6] Covered T1,T3,T4
default Covered T1,T3,T4


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 304279320 45630 0 0
reAfterRv 304279320 45630 0 0
rePulse 304279320 18886 0 0
wePulse 304279320 26744 0 0


en2addrHit
NameAttemptsReal SuccessesFailuresIncomplete
Total 304279320 45630 0 0
T1 11205 2 0 0
T2 59962 4 0 0
T3 13957 2 0 0
T4 276071 10 0 0
T8 141263 5 0 0
T9 11804 2 0 0
T10 407170 5 0 0
T11 38502 4 0 0
T12 22394 0 0 0
T13 11404 2 0 0
T17 0 118 0 0

reAfterRv
NameAttemptsReal SuccessesFailuresIncomplete
Total 304279320 45630 0 0
T1 11205 2 0 0
T2 59962 4 0 0
T3 13957 2 0 0
T4 276071 10 0 0
T8 141263 5 0 0
T9 11804 2 0 0
T10 407170 5 0 0
T11 38502 4 0 0
T12 22394 0 0 0
T13 11404 2 0 0
T17 0 118 0 0

rePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 304279320 18886 0 0
T5 74564 38 0 0
T6 0 77 0 0
T7 0 14 0 0
T16 65727 0 0 0
T17 366877 14 0 0
T18 108798 115 0 0
T28 74603 0 0 0
T29 0 18 0 0
T30 0 32 0 0
T32 1921 0 0 0
T33 0 113 0 0
T47 325498 0 0 0
T57 69440 0 0 0
T58 10320 0 0 0
T59 0 6 0 0
T61 0 13 0 0
T64 8012 0 0 0

wePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 304279320 26744 0 0
T1 11205 2 0 0
T2 59962 4 0 0
T3 13957 2 0 0
T4 276071 10 0 0
T8 141263 5 0 0
T9 11804 2 0 0
T10 407170 5 0 0
T11 38502 4 0 0
T12 22394 0 0 0
T13 11404 2 0 0
T17 0 104 0 0

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