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
10CoveredT8,T10,T13
11CoveredT1,T3,T4

 LINE       70
 EXPRESSION (intg_err || reg_we_err)
             ----1---    -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT20,T21,T22
10CoveredT99,T100,T101

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

 LINE       119
 EXPRESSION (addrmiss | wr_err | intg_err)
             ----1---   ---2--   ----3---
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT99,T100,T101
010CoveredT8,T10,T13
100CoveredT8,T10,T13

 LINE       364
 EXPRESSION (exec_we & exec_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT31,T32,T26
11CoveredT13,T30,T31

 LINE       434
 EXPRESSION (ctrl_we & ctrl_regwen_qs)
             ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT31,T32,T26
11CoveredT1,T3,T4

 LINE       524
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_ALERT_TEST_OFFSET)
            ------------------------------1-----------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT8,T9,T10

 LINE       525
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_STATUS_OFFSET)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT3,T8,T9

 LINE       526
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_REGWEN_OFFSET)
            ------------------------------1------------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT8,T10,T5

 LINE       527
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_EXEC_OFFSET)
            ---------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT3,T8,T9

 LINE       528
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_CTRL_REGWEN_OFFSET)
            ------------------------------1------------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT3,T8,T10

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

 LINE       530
 EXPRESSION (reg_addr == sram_ctrl_reg_pkg::SRAM_CTRL_SCR_KEY_ROTATED_OFFSET)
            --------------------------------1--------------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT3,T8,T10

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

 LINE       533
 SUB-EXPRESSION (reg_re || reg_we)
                 ---1--    ---2--
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T3,T4
10CoveredT8,T10,T5

 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
01CoveredT3,T8,T9
10CoveredT1,T3,T4
11CoveredT8,T10,T13

 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,T3,T4
0000001CoveredT8,T10,T5
0000010CoveredT3,T8,T9
0000100CoveredT3,T8,T10
0001000CoveredT8,T9,T10
0010000CoveredT8,T10,T5
0100000CoveredT8,T10,T5
1000000CoveredT8,T10,T5

 LINE       537
 SUB-EXPRESSION (addr_hit[0] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT8,T9,T10
11CoveredT8,T10,T5

 LINE       537
 SUB-EXPRESSION (addr_hit[1] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT3,T8,T9
11CoveredT8,T10,T5

 LINE       537
 SUB-EXPRESSION (addr_hit[2] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT8,T10,T5
11CoveredT8,T10,T5

 LINE       537
 SUB-EXPRESSION (addr_hit[3] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT3,T8,T9
11CoveredT8,T9,T10

 LINE       537
 SUB-EXPRESSION (addr_hit[4] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT8,T10,T5
11CoveredT3,T8,T10

 LINE       537
 SUB-EXPRESSION (addr_hit[5] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT1,T3,T4
11CoveredT3,T8,T9

 LINE       537
 SUB-EXPRESSION (addr_hit[6] & ((|(4'b1 & (~reg_be)))))
                 -----1-----   -----------2-----------
-1--2-StatusTests
01CoveredT3,T8,T9
10CoveredT3,T8,T10
11CoveredT8,T10,T5

 LINE       548
 EXPRESSION (addr_hit[0] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT8,T9,T10
110CoveredT8,T10,T13
111CoveredT23,T24,T25

 LINE       551
 EXPRESSION (addr_hit[2] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT3,T8,T10
110CoveredT8,T10,T13
111CoveredT31,T32,T26

 LINE       554
 EXPRESSION (addr_hit[3] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT3,T8,T9
110CoveredT8,T10,T13
111CoveredT13,T30,T31

 LINE       557
 EXPRESSION (addr_hit[4] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT3,T8,T10
110CoveredT8,T10,T13
111CoveredT31,T32,T26

 LINE       560
 EXPRESSION (addr_hit[5] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT13,T23,T30
101CoveredT1,T3,T4
110CoveredT8,T10,T13
111CoveredT1,T3,T4

 LINE       565
 EXPRESSION (addr_hit[6] & reg_we & ((!reg_error)))
             -----1-----   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT3,T8,T10
110CoveredT8,T10,T13
111CoveredT89,T56,T98

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,T3,T4
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,T4
addr_hit[1] Covered T1,T2,T3
addr_hit[2] Covered T1,T2,T4
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 1106252911 48414 0 0
reAfterRv 1106252911 48414 0 0
rePulse 1106252911 19848 0 0
wePulse 1106252911 28566 0 0


en2addrHit
NameAttemptsReal SuccessesFailuresIncomplete
Total 1106252911 48414 0 0
T1 451428 1 0 0
T2 103291 0 0 0
T3 212815 8 0 0
T4 49051 1 0 0
T5 111146 69 0 0
T8 15123 72 0 0
T9 166248 4 0 0
T10 176955 219 0 0
T11 72468 2 0 0
T12 430940 6 0 0
T19 0 1 0 0

reAfterRv
NameAttemptsReal SuccessesFailuresIncomplete
Total 1106252911 48414 0 0
T1 451428 1 0 0
T2 103291 0 0 0
T3 212815 8 0 0
T4 49051 1 0 0
T5 111146 69 0 0
T8 15123 72 0 0
T9 166248 4 0 0
T10 176955 219 0 0
T11 72468 2 0 0
T12 430940 6 0 0
T19 0 1 0 0

rePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 1106252911 19848 0 0
T5 111146 34 0 0
T6 0 18 0 0
T7 0 73 0 0
T8 15123 38 0 0
T9 166248 0 0 0
T10 176955 100 0 0
T11 72468 0 0 0
T12 430940 0 0 0
T13 135317 76 0 0
T15 206523 0 0 0
T19 34514 0 0 0
T23 697 0 0 0
T26 0 5 0 0
T31 0 14 0 0
T32 0 121 0 0
T47 0 42 0 0

wePulse
NameAttemptsReal SuccessesFailuresIncomplete
Total 1106252911 28566 0 0
T1 451428 1 0 0
T2 103291 0 0 0
T3 212815 8 0 0
T4 49051 1 0 0
T5 111146 35 0 0
T8 15123 34 0 0
T9 166248 4 0 0
T10 176955 119 0 0
T11 72468 2 0 0
T12 430940 6 0 0
T19 0 1 0 0

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