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

Module : sram_ctrl
SCORELINECONDTOGGLEFSMBRANCHASSERT
91.54 100.00 87.13 100.00 100.00 70.59

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut 91.90 100.00 88.89 100.00 100.00 70.59



Module Instance : tb.dut

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
91.90 100.00 88.89 100.00 100.00 70.59


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.06 99.19 94.27 99.72 100.00 96.03 99.12


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
tb


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_instr_ctrl.u_prim_lc_sync_hw_debug_en 100.00 100.00 100.00 100.00
gen_instr_ctrl.u_prim_mubi8_sync_otp_en_sram_ifetch 100.00 100.00 100.00 100.00
sram_ctrl_regs_csr_assert 100.00 100.00
tlul_assert_device_ram 100.00 100.00 100.00 100.00
tlul_assert_device_regs 100.00 100.00 100.00 100.00
u_lfsr 100.00 100.00
u_prim_alert_sender_parity 100.00 100.00
u_prim_count 100.00 100.00
u_prim_lc_sync 100.00 100.00 100.00 100.00
u_prim_ram_1p_scr 99.85 99.26 100.00 100.00 100.00 100.00
u_prim_sync_reqack_data 100.00 100.00 100.00 100.00 100.00
u_reg_regs 98.03 98.43 96.44 100.00 95.28 100.00
u_tlul_adapter_sram 97.56 99.10 93.51 98.44 100.00 94.29 100.00
u_tlul_data_integ_enc 100.00 100.00
u_tlul_lc_gate 96.79 100.00 100.00 100.00 96.43 87.50

Line Coverage for Module : sram_ctrl
Line No.TotalCoveredPercent
TOTAL5454100.00
CONT_ASSIGN12611100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN13711100.00
CONT_ASSIGN14111100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15211100.00
CONT_ASSIGN18411100.00
CONT_ASSIGN18611100.00
CONT_ASSIGN19411100.00
CONT_ASSIGN20211100.00
CONT_ASSIGN21211100.00
CONT_ASSIGN22111100.00
CONT_ASSIGN22611100.00
ALWAYS23033100.00
CONT_ASSIGN24211100.00
CONT_ASSIGN24311100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26811100.00
CONT_ASSIGN27911100.00
CONT_ASSIGN28411100.00
CONT_ASSIGN28811100.00
CONT_ASSIGN28911100.00
CONT_ASSIGN29311100.00
CONT_ASSIGN29411100.00
CONT_ASSIGN29811100.00
CONT_ASSIGN29911100.00
ALWAYS3021111100.00
CONT_ASSIGN34611100.00
CONT_ASSIGN37811100.00
CONT_ASSIGN38011100.00
CONT_ASSIGN38211100.00
CONT_ASSIGN46611100.00
CONT_ASSIGN50711100.00
CONT_ASSIGN51311100.00
CONT_ASSIGN51411100.00
CONT_ASSIGN51511100.00
CONT_ASSIGN51611100.00
CONT_ASSIGN51711100.00
CONT_ASSIGN51811100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN56711100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_sram_ctrl_0.1/rtl/sram_ctrl.sv' or '../src/lowrisc_ip_sram_ctrl_0.1/rtl/sram_ctrl.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
126 1 1
134 1 1
137 1 1
141 1 1
145 1 1
149 1 1
152 1 1
184 1 1
186 1 1
194 1 1
202 1 1
212 1 1
221 1 1
226 1 1
230 1 1
231 1 1
233 1 1
242 1 1
243 1 1
267 1 1
268 1 1
279 1 1
284 1 1
288 1 1
289 1 1
293 1 1
294 1 1
298 1 1
299 1 1
302 1 1
303 1 1
306 1 1
307 1 1
309 1 1
310 1 1
311 1 1
312 1 1
MISSING_ELSE
317 1 1
318 1 1
319 1 1
MISSING_ELSE
346 1 1
378 1 1
380 1 1
382 1 1
466 1 1
507 1 1
513 1 1
514 1 1
515 1 1
516 1 1
517 1 1
518 1 1
529 1 1
567 1 1


Cond Coverage for Module : sram_ctrl
TotalCoveredPercent
Conditions1018887.13
Logical1018887.13
Non-Logical00
Event00

 LINE       134
 EXPRESSION (reg2hw.alert_test.q & reg2hw.alert_test.qe)
             ---------1---------   ----------2---------
-1--2-StatusTests
01CoveredT14,T17,T18
10CoveredT1,T2,T3
11CoveredT14,T17,T18

 LINE       152
 EXPRESSION (((|bus_integ_error)) | init_error | readback_error | sram_alert)
             ----------1---------   -----2----   -------3------   -----4----
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001Not Covered
0010Not Covered
0100CoveredT10,T19,T20
1000CoveredT10,T19,T20

 LINE       194
 EXPRESSION 
 Number  Term
      1  reg2hw.status.escalated.q | 
      2  reg2hw.status.init_error.q | 
      3  reg2hw.status.bus_integ_error.q | 
      4  reg2hw.status.sram_alert.q | 
      5  reg2hw.status.readback_error.q)
-1--2--3--4--5-StatusTests
00000CoveredT1,T2,T3
00001Not Covered
00010Not Covered
00100CoveredT10,T19,T20
01000CoveredT10,T19,T20
10000CoveredT7,T8,T9

 LINE       202
 EXPRESSION (escalate | init_error | ((|bus_integ_error)) | sram_alert | readback_error | local_esc_reg)
             ----1---   -----2----   ----------3---------   -----4----   -------5------   ------6------
-1--2--3--4--5--6-StatusTests
000000CoveredT1,T2,T3
000001CoveredT7,T8,T10
000010Not Covered
000100Not Covered
001000CoveredT10,T19,T20
010000CoveredT10,T19,T20
100000CoveredT7,T8,T9

 LINE       221
 EXPRESSION (reg2hw.ctrl.init.q && reg2hw.ctrl.init.qe && ((!init_q)))
             ---------1--------    ---------2---------    -----3-----
-1--2--3-StatusTests
011CoveredT11,T7,T21
101CoveredT1,T2,T3
110Not Covered
111CoveredT1,T2,T3

 LINE       226
 EXPRESSION (init_done ? 1'b0 : (init_trig ? 1'b1 : init_q))
             ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       226
 SUB-EXPRESSION (init_trig ? 1'b1 : init_q)
                 ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       242
 EXPRESSION (init_q & ((~key_req_pending_q)))
             ---1--   -----------2----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       243
 EXPRESSION ((init_cnt == 15'((Depth - 1))) & init_req)
             ---------------1--------------   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       243
 SUB-EXPRESSION (init_cnt == 15'((Depth - 1)))
                ---------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       267
 EXPRESSION (init_done & ((~init_trig)) & ((~local_esc)))
             ----1----   -------2------   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101Not Covered
110CoveredT7,T8,T22
111CoveredT1,T2,T3

 LINE       268
 EXPRESSION (init_done | init_trig | local_esc)
             ----1----   ----2----   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT7,T8,T10
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       279
 EXPRESSION (reg2hw.ctrl.renew_scr_key.q && reg2hw.ctrl.renew_scr_key.qe && ((!key_req_pending_q)) && ((!init_q)))
             -------------1-------------    --------------2-------------    -----------3----------    -----4-----
-1--2--3--4-StatusTests
0111CoveredT7,T23,T24
1011CoveredT1,T2,T3
1101Not Covered
1110Not Covered
1111CoveredT1,T2,T3

 LINE       284
 EXPRESSION (key_req ? 1'b1 : (key_ack ? 1'b0 : key_req_pending_q))
             ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       284
 SUB-EXPRESSION (key_ack ? 1'b0 : key_req_pending_q)
                 ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       288
 EXPRESSION (key_ack & ((~key_req)) & ((~local_esc)))
             ---1---   ------2-----   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101Not Covered
110CoveredT7,T8,T9
111CoveredT1,T2,T3

 LINE       289
 EXPRESSION (key_req | key_ack | local_esc)
             ---1---   ---2---   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT7,T8,T10
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       293
 EXPRESSION ((key_ack & ((~local_esc))) ? MuBi4True : MuBi4False)
             -------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       293
 SUB-EXPRESSION (key_ack & ((~local_esc)))
                 ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11CoveredT1,T2,T3

 LINE       294
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T8,T10
10CoveredT1,T2,T3

 LINE       298
 EXPRESSION (key_seed_valid & ((~local_esc)))
             -------1------   -------2------
-1--2-StatusTests
01CoveredT1,T2,T4
10CoveredT7,T8,T9
11CoveredT1,T3,T4

 LINE       299
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T8,T10
10CoveredT1,T2,T3

 LINE       507
 EXPRESSION (tlul_req | init_req)
             ----1---   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T3,T11

 LINE       513
 EXPRESSION (key_valid & ((~init_req)))
             ----1----   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       514
 EXPRESSION (tlul_we | init_req)
             ---1---   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T3,T4

 LINE       515
 EXPRESSION (((|bus_integ_error[2:1])) & ((~init_req)))
             ------------1------------   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT10,T19,T20

 LINE       516
 EXPRESSION (init_req ? init_cnt : tlul_addr)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       517
 EXPRESSION (init_req ? lfsr_out_integ : tlul_wdata)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       518
 EXPRESSION (init_req ? ({sram_ctrl_pkg::DataWidth {1'b1}}) : tlul_wmask)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       529
 EXPRESSION (key_req_pending_q ? 1'b0 : (reg2hw.status.escalated.q ? (tl_gate_resp_pending & sram_compound_txn_in_progress) : 1'b1))
             --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       529
 SUB-EXPRESSION (reg2hw.status.escalated.q ? (tl_gate_resp_pending & sram_compound_txn_in_progress) : 1'b1)
                 ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT7,T8,T9

 LINE       529
 SUB-EXPRESSION (tl_gate_resp_pending & sram_compound_txn_in_progress)
                 ----------1---------   --------------2--------------
-1--2-StatusTests
01Not Covered
10CoveredT7,T8,T9
11CoveredT8,T9,T22

Toggle Coverage for Module : sram_ctrl
TotalCoveredPercent
Totals 62 62 100.00
Total Bits 1230 1230 100.00
Total Bits 0->1 615 615 100.00
Total Bits 1->0 615 615 100.00

Ports 62 62 100.00
Port Bits 1230 1230 100.00
Port Bits 0->1 615 615 100.00
Port Bits 1->0 615 615 100.00

Port Details
NameToggleToggle 1->0TestsToggle 0->1TestsDirection
clk_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_ni Yes Yes T4,T7,T25 Yes T1,T2,T3 INPUT
clk_otp_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_otp_ni Yes Yes T4,T7,T25 Yes T1,T2,T3 INPUT
ram_tl_i.d_ready Yes Yes T2,T4,T12 Yes T1,T2,T3 INPUT
ram_tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T3,T4 INPUT
ram_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_user.instr_type[3:0] Yes Yes T4,T6,T26 Yes T4,T6,T26 INPUT
ram_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_data[31:0] Yes Yes T1,T2,T3 Yes T1,T3,T4 INPUT
ram_tl_i.a_mask[3:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_address[31:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_source[7:0] Yes Yes T1,T2,T3 Yes T1,T3,T4 INPUT
ram_tl_i.a_size[1:0] Yes Yes T1,T3,T4 Yes T1,T2,T3 INPUT
ram_tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_opcode[2:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_valid Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_o.a_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
ram_tl_o.d_error Yes Yes T1,T2,T3 Yes T4,T26,T7 OUTPUT
ram_tl_o.d_user.data_intg[6:0] Yes Yes T1,T3,T11 Yes T1,T3,T11 OUTPUT
ram_tl_o.d_user.rsp_intg[5:0] Yes Yes T1,T3,T4 Yes T1,T2,T3 OUTPUT
ram_tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_data[31:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_source[7:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_size[1:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_opcode[0] Yes Yes *T1,*T3,*T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_valid Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
regs_tl_i.d_ready Yes Yes T2,T4,T12 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.data_intg[6:0] Yes Yes T2,T4,T11 Yes T3,T4,T11 INPUT
regs_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T4,T11 Yes T1,T3,T4 INPUT
regs_tl_i.a_user.instr_type[3:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 INPUT
regs_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
regs_tl_i.a_data[31:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 INPUT
regs_tl_i.a_mask[3:0] Yes Yes T3,T4,T11 Yes T2,T3,T4 INPUT
regs_tl_i.a_address[31:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 INPUT
regs_tl_i.a_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
regs_tl_i.a_opcode[2:0] Yes Yes T1,T2,T4 Yes T1,T2,T3 INPUT
regs_tl_i.a_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_o.a_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_error Yes Yes T4,T25,T27 Yes T4,T25,T27 OUTPUT
regs_tl_o.d_user.data_intg[6:0] Yes Yes T4,T7,T25 Yes T4,T7,T25 OUTPUT
regs_tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,T4,*T11 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_data[31:0] Yes Yes T4,T7,T25 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_source[7:0] Yes Yes T1,T4,T11 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_size[1:0] Yes Yes T1,T4,T11 Yes T1,T2,T4 OUTPUT
regs_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_opcode[0] Yes Yes *T4,*T7,*T25 Yes T4,T7,T25 OUTPUT
regs_tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_rx_i[0].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[0].ack_p Yes Yes T14,T10,T17 Yes T14,T10,T17 INPUT
alert_rx_i[0].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[0].ping_p Unreachable Unreachable Unreachable INPUT
alert_tx_o[0].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[0].alert_p Yes Yes T14,T10,T17 Yes T14,T10,T17 OUTPUT
lc_escalate_en_i[3:0] Yes Yes T7,T8,T9 Yes T7,T8,T9 INPUT
lc_hw_debug_en_i[3:0] Yes Yes T26,T7,T28 Yes T26,T7,T28 INPUT
otp_en_sram_ifetch_i[7:0] Yes Yes T26,T7,T28 Yes T26,T7,T28 INPUT
sram_otp_key_o.req Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
sram_otp_key_i.seed_valid Yes Yes T1,T4,T11 Yes T1,T11,T15 INPUT
sram_otp_key_i.nonce[127:0] Yes Yes T1,T11,T15 Yes T1,T11,T15 INPUT
sram_otp_key_i.key[127:0] Yes Yes T1,T4,T11 Yes T1,T4,T11 INPUT
sram_otp_key_i.ack Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
cfg_i.rf_cfg.cfg[3:0] Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.rf_cfg.cfg_en Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.rf_cfg.test Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.ram_cfg.cfg[3:0] Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.ram_cfg.cfg_en Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.ram_cfg.test Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT

*Tests covering at least one bit in the range

Branch Coverage for Module : sram_ctrl
Line No.TotalCoveredPercent
Branches 24 24 100.00
TERNARY 226 3 3 100.00
TERNARY 284 3 3 100.00
TERNARY 293 2 2 100.00
TERNARY 516 2 2 100.00
TERNARY 517 2 2 100.00
TERNARY 518 2 2 100.00
TERNARY 529 3 3 100.00
IF 230 2 2 100.00
IF 302 5 5 100.00

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

LineNo. Expression -1-: 226 (init_done) ? -2-: 226 (init_trig) ?

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


LineNo. Expression -1-: 284 (key_req) ? -2-: 284 (key_ack) ?

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


LineNo. Expression -1-: 293 ((key_ack & (~local_esc))) ?

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


LineNo. Expression -1-: 516 (init_req) ?

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


LineNo. Expression -1-: 517 (init_req) ?

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


LineNo. Expression -1-: 518 (init_req) ?

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


LineNo. Expression -1-: 529 (key_req_pending_q) ? -2-: 529 (reg2hw.status.escalated.q) ?

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T7,T8,T9
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 230 if ((!rst_ni))

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


LineNo. Expression -1-: 302 if ((!rst_ni)) -2-: 310 if (key_ack) -3-: 317 if (local_esc)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 - Covered T1,T2,T3
0 - 1 Covered T7,T8,T10
0 - 0 Covered T1,T2,T3


Assert Coverage for Module : sram_ctrl
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 17 17 100.00 12 70.59
Cover properties 0 0 0
Cover sequences 0 0 0
Total 17 17 100.00 12 70.59




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertOutKnown_A 1219409720 1219289578 0 0
FpvSecCmCntCheck_A 1219409720 80 0 0
FpvSecCmLcGateFsmCheck_A 1219409720 0 0 0
FpvSecCmRegWeOnehotCheck_A 1219409720 80 0 0
FpvSecCmReqFifoRptrCheck_A 1219409720 0 0 0
FpvSecCmReqFifoWptrCheck_A 1219409720 0 0 0
FpvSecCmRspFifoRptrCheck_A 1219409720 80 0 0
FpvSecCmRspFifoWptrCheck_A 1219409720 80 0 0
FpvSecCmSramReqFifoRptrCheck_A 1219409720 0 0 0
FpvSecCmSramReqFifoWptrCheck_A 1219409720 0 0 0
NonceWidthsLessThanSource_A 903 903 0 0
RamTlOutKnown_A 1219409720 1219289578 0 0
RamTlOutPayLoadKnown_A 1219409720 354854995 0 0
RamTlOutPayLoadKnown_AKnownEnable 1219409720 1219289578 0 0
RegsTlOutKnown_A 1219409720 1219289578 0 0
SramOtpKeyKnown_A 1219409720 1219289578 0 0
TlulGntIsCorrect_A 1219409720 173090708 0 0


AlertOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

FpvSecCmCntCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmLcGateFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmReqFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmReqFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmRspFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmRspFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmSramReqFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmSramReqFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

NonceWidthsLessThanSource_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 903 903 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0

RamTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

RamTlOutPayLoadKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 354854995 0 0
T1 772449 150255 0 0
T2 33724 0 0 0
T3 46739 6325 0 0
T4 26355 2535 0 0
T5 0 6100 0 0
T11 278677 137625 0 0
T12 34090 0 0 0
T13 242615 60804 0 0
T14 1387 0 0 0
T15 159901 224186 0 0
T16 174410 6901 0 0
T41 0 196606 0 0
T42 0 8053 0 0

RamTlOutPayLoadKnown_AKnownEnable
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

RegsTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

SramOtpKeyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

TlulGntIsCorrect_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 173090708 0 0
T1 772449 157064 0 0
T2 33724 0 0 0
T3 46739 6619 0 0
T4 26355 0 0 0
T5 0 5352 0 0
T6 0 241625 0 0
T11 278677 137625 0 0
T12 34090 0 0 0
T13 242615 149207 0 0
T14 1387 0 0 0
T15 159901 297748 0 0
T16 174410 12799 0 0
T41 0 393212 0 0
T42 0 8800 0 0

Line Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
TOTAL5454100.00
CONT_ASSIGN12611100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN13711100.00
CONT_ASSIGN14111100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15211100.00
CONT_ASSIGN18411100.00
CONT_ASSIGN18611100.00
CONT_ASSIGN19411100.00
CONT_ASSIGN20211100.00
CONT_ASSIGN21211100.00
CONT_ASSIGN22111100.00
CONT_ASSIGN22611100.00
ALWAYS23033100.00
CONT_ASSIGN24211100.00
CONT_ASSIGN24311100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26811100.00
CONT_ASSIGN27911100.00
CONT_ASSIGN28411100.00
CONT_ASSIGN28811100.00
CONT_ASSIGN28911100.00
CONT_ASSIGN29311100.00
CONT_ASSIGN29411100.00
CONT_ASSIGN29811100.00
CONT_ASSIGN29911100.00
ALWAYS3021111100.00
CONT_ASSIGN34611100.00
CONT_ASSIGN37811100.00
CONT_ASSIGN38011100.00
CONT_ASSIGN38211100.00
CONT_ASSIGN46611100.00
CONT_ASSIGN50711100.00
CONT_ASSIGN51311100.00
CONT_ASSIGN51411100.00
CONT_ASSIGN51511100.00
CONT_ASSIGN51611100.00
CONT_ASSIGN51711100.00
CONT_ASSIGN51811100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN56711100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_sram_ctrl_0.1/rtl/sram_ctrl.sv' or '../src/lowrisc_ip_sram_ctrl_0.1/rtl/sram_ctrl.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
126 1 1
134 1 1
137 1 1
141 1 1
145 1 1
149 1 1
152 1 1
184 1 1
186 1 1
194 1 1
202 1 1
212 1 1
221 1 1
226 1 1
230 1 1
231 1 1
233 1 1
242 1 1
243 1 1
267 1 1
268 1 1
279 1 1
284 1 1
288 1 1
289 1 1
293 1 1
294 1 1
298 1 1
299 1 1
302 1 1
303 1 1
306 1 1
307 1 1
309 1 1
310 1 1
311 1 1
312 1 1
MISSING_ELSE
317 1 1
318 1 1
319 1 1
MISSING_ELSE
346 1 1
378 1 1
380 1 1
382 1 1
466 1 1
507 1 1
513 1 1
514 1 1
515 1 1
516 1 1
517 1 1
518 1 1
529 1 1
567 1 1


Cond Coverage for Instance : tb.dut
TotalCoveredPercent
Conditions998888.89
Logical998888.89
Non-Logical00
Event00

 LINE       134
 EXPRESSION (reg2hw.alert_test.q & reg2hw.alert_test.qe)
             ---------1---------   ----------2---------
-1--2-StatusTests
01CoveredT14,T17,T18
10CoveredT1,T2,T3
11CoveredT14,T17,T18

 LINE       152
 EXPRESSION (((|bus_integ_error)) | init_error | readback_error | sram_alert)
             ----------1---------   -----2----   -------3------   -----4----
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001Not Covered
0010Not Covered
0100CoveredT10,T19,T20
1000CoveredT10,T19,T20

 LINE       194
 EXPRESSION 
 Number  Term
      1  reg2hw.status.escalated.q | 
      2  reg2hw.status.init_error.q | 
      3  reg2hw.status.bus_integ_error.q | 
      4  reg2hw.status.sram_alert.q | 
      5  reg2hw.status.readback_error.q)
-1--2--3--4--5-StatusTests
00000CoveredT1,T2,T3
00001Not Covered
00010Not Covered
00100CoveredT10,T19,T20
01000CoveredT10,T19,T20
10000CoveredT7,T8,T9

 LINE       202
 EXPRESSION (escalate | init_error | ((|bus_integ_error)) | sram_alert | readback_error | local_esc_reg)
             ----1---   -----2----   ----------3---------   -----4----   -------5------   ------6------
-1--2--3--4--5--6-StatusTests
000000CoveredT1,T2,T3
000001CoveredT7,T8,T10
000010Not Covered
000100Not Covered
001000CoveredT10,T19,T20
010000CoveredT10,T19,T20
100000CoveredT7,T8,T9

 LINE       221
 EXPRESSION (reg2hw.ctrl.init.q && reg2hw.ctrl.init.qe && ((!init_q)))
             ---------1--------    ---------2---------    -----3-----
-1--2--3-StatusTests
011CoveredT11,T7,T21
101CoveredT1,T2,T3
110Not Covered
111CoveredT1,T2,T3

 LINE       226
 EXPRESSION (init_done ? 1'b0 : (init_trig ? 1'b1 : init_q))
             ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       226
 SUB-EXPRESSION (init_trig ? 1'b1 : init_q)
                 ----1----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       242
 EXPRESSION (init_q & ((~key_req_pending_q)))
             ---1--   -----------2----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       243
 EXPRESSION ((init_cnt == 15'((Depth - 1))) & init_req)
             ---------------1--------------   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       243
 SUB-EXPRESSION (init_cnt == 15'((Depth - 1)))
                ---------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       267
 EXPRESSION (init_done & ((~init_trig)) & ((~local_esc)))
             ----1----   -------2------   -------3------
-1--2--3-StatusTestsExclude Annotation
011CoveredT1,T2,T3
101Excluded [LOWRISK] we don't issue a new init when there is a unfinished init
110CoveredT7,T8,T22
111CoveredT1,T2,T3

 LINE       268
 EXPRESSION (init_done | init_trig | local_esc)
             ----1----   ----2----   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT7,T8,T10
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       279
 EXPRESSION (reg2hw.ctrl.renew_scr_key.q && reg2hw.ctrl.renew_scr_key.qe && ((!key_req_pending_q)) && ((!init_q)))
             -------------1-------------    --------------2-------------    -----------3----------    -----4-----
-1--2--3--4-StatusTests
0111CoveredT7,T23,T24
1011CoveredT1,T2,T3
1101Not Covered
1110Not Covered
1111CoveredT1,T2,T3

 LINE       284
 EXPRESSION (key_req ? 1'b1 : (key_ack ? 1'b0 : key_req_pending_q))
             ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       284
 SUB-EXPRESSION (key_ack ? 1'b0 : key_req_pending_q)
                 ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       288
 EXPRESSION (key_ack & ((~key_req)) & ((~local_esc)))
             ---1---   ------2-----   -------3------
-1--2--3-StatusTestsExclude Annotation
011CoveredT1,T2,T3
101Excluded [UNSUPPORTED] ACK can't come without REQ
110CoveredT7,T8,T9
111CoveredT1,T2,T3

 LINE       289
 EXPRESSION (key_req | key_ack | local_esc)
             ---1---   ---2---   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT7,T8,T10
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       293
 EXPRESSION ((key_ack & ((~local_esc))) ? MuBi4True : MuBi4False)
             -------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       293
 SUB-EXPRESSION (key_ack & ((~local_esc)))
                 ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T8,T9
11CoveredT1,T2,T3

 LINE       294
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T8,T10
10CoveredT1,T2,T3

 LINE       298
 EXPRESSION (key_seed_valid & ((~local_esc)))
             -------1------   -------2------
-1--2-StatusTests
01CoveredT1,T2,T4
10CoveredT7,T8,T9
11CoveredT1,T3,T4

 LINE       299
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T8,T10
10CoveredT1,T2,T3

 LINE       507
 EXPRESSION (tlul_req | init_req)
             ----1---   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T3,T11

 LINE       513
 EXPRESSION (key_valid & ((~init_req)))
             ----1----   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       514
 EXPRESSION (tlul_we | init_req)
             ---1---   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T3,T4

 LINE       515
 EXPRESSION (((|bus_integ_error[2:1])) & ((~init_req)))
             ------------1------------   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT10,T19,T20

 LINE       516
 EXPRESSION (init_req ? init_cnt : tlul_addr)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       517
 EXPRESSION (init_req ? lfsr_out_integ : tlul_wdata)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       518
 EXPRESSION (init_req ? ({sram_ctrl_pkg::DataWidth {1'b1}}) : tlul_wmask)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       529
 EXPRESSION (key_req_pending_q ? 1'b0 : (reg2hw.status.escalated.q ? (tl_gate_resp_pending & sram_compound_txn_in_progress) : 1'b1))
             --------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       529
 SUB-EXPRESSION (reg2hw.status.escalated.q ? (tl_gate_resp_pending & sram_compound_txn_in_progress) : 1'b1)
                 ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT7,T8,T9

 LINE       529
 SUB-EXPRESSION (tl_gate_resp_pending & sram_compound_txn_in_progress)
                 ----------1---------   --------------2--------------
-1--2-StatusTests
01Not Covered
10CoveredT7,T8,T9
11CoveredT8,T9,T22

Toggle Coverage for Instance : tb.dut
TotalCoveredPercent
Totals 62 62 100.00
Total Bits 1230 1230 100.00
Total Bits 0->1 615 615 100.00
Total Bits 1->0 615 615 100.00

Ports 62 62 100.00
Port Bits 1230 1230 100.00
Port Bits 0->1 615 615 100.00
Port Bits 1->0 615 615 100.00

Port Details
NameToggleToggle 1->0TestsToggle 0->1TestsDirection
clk_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_ni Yes Yes T4,T7,T25 Yes T1,T2,T3 INPUT
clk_otp_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_otp_ni Yes Yes T4,T7,T25 Yes T1,T2,T3 INPUT
ram_tl_i.d_ready Yes Yes T2,T4,T12 Yes T1,T2,T3 INPUT
ram_tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T3,T4 INPUT
ram_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_user.instr_type[3:0] Yes Yes T4,T6,T26 Yes T4,T6,T26 INPUT
ram_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_data[31:0] Yes Yes T1,T2,T3 Yes T1,T3,T4 INPUT
ram_tl_i.a_mask[3:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_address[31:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_source[7:0] Yes Yes T1,T2,T3 Yes T1,T3,T4 INPUT
ram_tl_i.a_size[1:0] Yes Yes T1,T3,T4 Yes T1,T2,T3 INPUT
ram_tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_opcode[2:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_i.a_valid Yes Yes T1,T3,T4 Yes T1,T3,T4 INPUT
ram_tl_o.a_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
ram_tl_o.d_error Yes Yes T1,T2,T3 Yes T4,T26,T7 OUTPUT
ram_tl_o.d_user.data_intg[6:0] Yes Yes T1,T3,T11 Yes T1,T3,T11 OUTPUT
ram_tl_o.d_user.rsp_intg[5:0] Yes Yes T1,T3,T4 Yes T1,T2,T3 OUTPUT
ram_tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_data[31:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_source[7:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_size[1:0] Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_opcode[0] Yes Yes *T1,*T3,*T4 Yes T1,T3,T4 OUTPUT
ram_tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_valid Yes Yes T1,T3,T4 Yes T1,T3,T4 OUTPUT
regs_tl_i.d_ready Yes Yes T2,T4,T12 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.data_intg[6:0] Yes Yes T2,T4,T11 Yes T3,T4,T11 INPUT
regs_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T4,T11 Yes T1,T3,T4 INPUT
regs_tl_i.a_user.instr_type[3:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 INPUT
regs_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
regs_tl_i.a_data[31:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 INPUT
regs_tl_i.a_mask[3:0] Yes Yes T3,T4,T11 Yes T2,T3,T4 INPUT
regs_tl_i.a_address[31:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 INPUT
regs_tl_i.a_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
regs_tl_i.a_opcode[2:0] Yes Yes T1,T2,T4 Yes T1,T2,T3 INPUT
regs_tl_i.a_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_o.a_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_error Yes Yes T4,T25,T27 Yes T4,T25,T27 OUTPUT
regs_tl_o.d_user.data_intg[6:0] Yes Yes T4,T7,T25 Yes T4,T7,T25 OUTPUT
regs_tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,T4,*T11 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_data[31:0] Yes Yes T4,T7,T25 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_source[7:0] Yes Yes T1,T4,T11 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_size[1:0] Yes Yes T1,T4,T11 Yes T1,T2,T4 OUTPUT
regs_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_opcode[0] Yes Yes *T4,*T7,*T25 Yes T4,T7,T25 OUTPUT
regs_tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_rx_i[0].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[0].ack_p Yes Yes T14,T10,T17 Yes T14,T10,T17 INPUT
alert_rx_i[0].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[0].ping_p Unreachable Unreachable Unreachable INPUT
alert_tx_o[0].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[0].alert_p Yes Yes T14,T10,T17 Yes T14,T10,T17 OUTPUT
lc_escalate_en_i[3:0] Yes Yes T7,T8,T9 Yes T7,T8,T9 INPUT
lc_hw_debug_en_i[3:0] Yes Yes T26,T7,T28 Yes T26,T7,T28 INPUT
otp_en_sram_ifetch_i[7:0] Yes Yes T26,T7,T28 Yes T26,T7,T28 INPUT
sram_otp_key_o.req Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
sram_otp_key_i.seed_valid Yes Yes T1,T4,T11 Yes T1,T11,T15 INPUT
sram_otp_key_i.nonce[127:0] Yes Yes T1,T11,T15 Yes T1,T11,T15 INPUT
sram_otp_key_i.key[127:0] Yes Yes T1,T4,T11 Yes T1,T4,T11 INPUT
sram_otp_key_i.ack Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
cfg_i.rf_cfg.cfg[3:0] Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.rf_cfg.cfg_en Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.rf_cfg.test Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.ram_cfg.cfg[3:0] Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.ram_cfg.cfg_en Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT
cfg_i.ram_cfg.test Yes Yes T2,T12,T29 Yes T2,T12,T29 INPUT

*Tests covering at least one bit in the range

Branch Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
Branches 24 24 100.00
TERNARY 226 3 3 100.00
TERNARY 284 3 3 100.00
TERNARY 293 2 2 100.00
TERNARY 516 2 2 100.00
TERNARY 517 2 2 100.00
TERNARY 518 2 2 100.00
TERNARY 529 3 3 100.00
IF 230 2 2 100.00
IF 302 5 5 100.00

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

LineNo. Expression -1-: 226 (init_done) ? -2-: 226 (init_trig) ?

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


LineNo. Expression -1-: 284 (key_req) ? -2-: 284 (key_ack) ?

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


LineNo. Expression -1-: 293 ((key_ack & (~local_esc))) ?

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


LineNo. Expression -1-: 516 (init_req) ?

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


LineNo. Expression -1-: 517 (init_req) ?

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


LineNo. Expression -1-: 518 (init_req) ?

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


LineNo. Expression -1-: 529 (key_req_pending_q) ? -2-: 529 (reg2hw.status.escalated.q) ?

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T7,T8,T9
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 230 if ((!rst_ni))

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


LineNo. Expression -1-: 302 if ((!rst_ni)) -2-: 310 if (key_ack) -3-: 317 if (local_esc)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 - Covered T1,T2,T3
0 - 1 Covered T7,T8,T10
0 - 0 Covered T1,T2,T3


Assert Coverage for Instance : tb.dut
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 17 17 100.00 12 70.59
Cover properties 0 0 0
Cover sequences 0 0 0
Total 17 17 100.00 12 70.59




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertOutKnown_A 1219409720 1219289578 0 0
FpvSecCmCntCheck_A 1219409720 80 0 0
FpvSecCmLcGateFsmCheck_A 1219409720 0 0 0
FpvSecCmRegWeOnehotCheck_A 1219409720 80 0 0
FpvSecCmReqFifoRptrCheck_A 1219409720 0 0 0
FpvSecCmReqFifoWptrCheck_A 1219409720 0 0 0
FpvSecCmRspFifoRptrCheck_A 1219409720 80 0 0
FpvSecCmRspFifoWptrCheck_A 1219409720 80 0 0
FpvSecCmSramReqFifoRptrCheck_A 1219409720 0 0 0
FpvSecCmSramReqFifoWptrCheck_A 1219409720 0 0 0
NonceWidthsLessThanSource_A 903 903 0 0
RamTlOutKnown_A 1219409720 1219289578 0 0
RamTlOutPayLoadKnown_A 1219409720 354854995 0 0
RamTlOutPayLoadKnown_AKnownEnable 1219409720 1219289578 0 0
RegsTlOutKnown_A 1219409720 1219289578 0 0
SramOtpKeyKnown_A 1219409720 1219289578 0 0
TlulGntIsCorrect_A 1219409720 173090708 0 0


AlertOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

FpvSecCmCntCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmLcGateFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmReqFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmReqFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmRspFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmRspFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 80 0 0
T10 32165 20 0 0
T19 0 20 0 0
T20 0 10 0 0
T30 0 10 0 0
T31 0 20 0 0
T32 74173 0 0 0
T33 40649 0 0 0
T34 77012 0 0 0
T35 98655 0 0 0
T36 106854 0 0 0
T37 120453 0 0 0
T38 446715 0 0 0
T39 623424 0 0 0
T40 578433 0 0 0

FpvSecCmSramReqFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

FpvSecCmSramReqFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 0 0 0

NonceWidthsLessThanSource_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 903 903 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0

RamTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

RamTlOutPayLoadKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 354854995 0 0
T1 772449 150255 0 0
T2 33724 0 0 0
T3 46739 6325 0 0
T4 26355 2535 0 0
T5 0 6100 0 0
T11 278677 137625 0 0
T12 34090 0 0 0
T13 242615 60804 0 0
T14 1387 0 0 0
T15 159901 224186 0 0
T16 174410 6901 0 0
T41 0 196606 0 0
T42 0 8053 0 0

RamTlOutPayLoadKnown_AKnownEnable
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

RegsTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

SramOtpKeyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 1219289578 0 0
T1 772449 772395 0 0
T2 33724 33673 0 0
T3 46739 46684 0 0
T4 26355 26207 0 0
T11 278677 278670 0 0
T12 34090 33994 0 0
T13 242615 242558 0 0
T14 1387 1329 0 0
T15 159901 159896 0 0
T16 174410 174353 0 0

TlulGntIsCorrect_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1219409720 173090708 0 0
T1 772449 157064 0 0
T2 33724 0 0 0
T3 46739 6619 0 0
T4 26355 0 0 0
T5 0 5352 0 0
T6 0 241625 0 0
T11 278677 137625 0 0
T12 34090 0 0 0
T13 242615 149207 0 0
T14 1387 0 0 0
T15 159901 297748 0 0
T16 174410 12799 0 0
T41 0 393212 0 0
T42 0 8800 0 0

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