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

Module : sram_ctrl
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.46 100.00 95.65 100.00 100.00 91.67

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut 97.89 100.00 97.78 100.00 100.00 91.67



Module Instance : tb.dut

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.89 100.00 97.78 100.00 100.00 91.67


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
99.41 100.00 97.62 100.00 100.00 99.15 99.70


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 95.24 100.00 85.71 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 98.40 100.00 92.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 99.92 100.00 99.58 100.00 100.00 100.00
u_tlul_adapter_sram 99.31 100.00 96.61 100.00 100.00 99.22 100.00
u_tlul_data_integ_enc 100.00 100.00
u_tlul_lc_gate 96.85 100.00 100.00 100.00 96.77 87.50

Line Coverage for Module : sram_ctrl
Line No.TotalCoveredPercent
TOTAL5050100.00
CONT_ASSIGN12611100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN13711100.00
CONT_ASSIGN14111100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN17811100.00
CONT_ASSIGN18611100.00
CONT_ASSIGN19211100.00
CONT_ASSIGN20011100.00
CONT_ASSIGN20911100.00
CONT_ASSIGN21211100.00
ALWAYS21633100.00
CONT_ASSIGN22811100.00
CONT_ASSIGN22911100.00
CONT_ASSIGN25311100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN26511100.00
CONT_ASSIGN26611100.00
CONT_ASSIGN27011100.00
CONT_ASSIGN27111100.00
CONT_ASSIGN27511100.00
CONT_ASSIGN27611100.00
CONT_ASSIGN28011100.00
CONT_ASSIGN28111100.00
ALWAYS2841111100.00
CONT_ASSIGN32811100.00
CONT_ASSIGN36011100.00
CONT_ASSIGN36211100.00
CONT_ASSIGN36411100.00
CONT_ASSIGN47311100.00
CONT_ASSIGN47411100.00
CONT_ASSIGN47511100.00
CONT_ASSIGN47611100.00
CONT_ASSIGN47711100.00
CONT_ASSIGN47811100.00
CONT_ASSIGN47911100.00
CONT_ASSIGN49111100.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
144 1 1
176 1 1
178 1 1
186 1 1
192 1 1
200 1 1
209 1 1
212 1 1
216 1 1
217 1 1
219 1 1
228 1 1
229 1 1
253 1 1
254 1 1
265 1 1
266 1 1
270 1 1
271 1 1
275 1 1
276 1 1
280 1 1
281 1 1
284 1 1
285 1 1
288 1 1
289 1 1
291 1 1
292 1 1
293 1 1
294 1 1
MISSING_ELSE
299 1 1
300 1 1
301 1 1
MISSING_ELSE
328 1 1
360 1 1
362 1 1
364 1 1
473 1 1
474 1 1
475 1 1
476 1 1
477 1 1
478 1 1
479 1 1
491 1 1


Cond Coverage for Module : sram_ctrl
TotalCoveredPercent
Conditions928895.65
Logical928895.65
Non-Logical00
Event00

 LINE       134
 EXPRESSION (reg2hw.alert_test.q & reg2hw.alert_test.qe)
             ---------1---------   ----------2---------
-1--2-StatusTests
01CoveredT22,T23,T24
10CoveredT1,T2,T3
11CoveredT22,T23,T24

 LINE       144
 EXPRESSION (((|bus_integ_error)) | init_error)
             ----------1---------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT17,T18,T19
10CoveredT17,T18,T19

 LINE       186
 EXPRESSION (reg2hw.status.escalated.q | reg2hw.status.init_error.q | reg2hw.status.bus_integ_error.q)
             ------------1------------   -------------2------------   ---------------3---------------
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT17,T18,T19
010CoveredT17,T18,T19
100CoveredT4,T6,T7

 LINE       192
 EXPRESSION (escalate | init_error | ((|bus_integ_error)) | local_esc_reg)
             ----1---   -----2----   ----------3---------   ------4------
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001CoveredT4,T6,T7
0010CoveredT17,T18,T19
0100CoveredT17,T18,T19
1000CoveredT4,T6,T7

 LINE       209
 EXPRESSION (reg2hw.ctrl.init.q & reg2hw.ctrl.init.qe)
             ---------1--------   ---------2---------
-1--2-StatusTests
01CoveredT4,T9,T5
10CoveredT1,T2,T3
11CoveredT1,T2,T3

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

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

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

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

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

 LINE       253
 EXPRESSION (init_done & ((~init_trig)) & ((~local_esc)))
             ----1----   -------2------   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101Not Covered
110CoveredT6,T7,T25
111CoveredT1,T2,T3

 LINE       254
 EXPRESSION (init_done | init_trig | local_esc)
             ----1----   ----2----   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT4,T6,T7
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       265
 EXPRESSION (reg2hw.ctrl.renew_scr_key.q & reg2hw.ctrl.renew_scr_key.qe)
             -------------1-------------   --------------2-------------
-1--2-StatusTests
01CoveredT26,T27,T21
10CoveredT1,T2,T3
11CoveredT1,T2,T3

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

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

 LINE       270
 EXPRESSION (key_ack & ((~key_req)) & ((~local_esc)))
             ---1---   ------2-----   -------3------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101Not Covered
110CoveredT4,T6,T7
111CoveredT1,T2,T3

 LINE       271
 EXPRESSION (key_req | key_ack | local_esc)
             ---1---   ---2---   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT4,T6,T7
010CoveredT1,T2,T3
100CoveredT1,T2,T3

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

 LINE       275
 SUB-EXPRESSION (key_ack & ((~local_esc)))
                 ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT4,T6,T7
11CoveredT1,T2,T3

 LINE       276
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T6,T7
10CoveredT1,T2,T3

 LINE       280
 EXPRESSION (key_seed_valid & ((~local_esc)))
             -------1------   -------2------
-1--2-StatusTests
01CoveredT1,T2,T4
10CoveredT4,T6,T7
11CoveredT1,T3,T4

 LINE       281
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T6,T7
10CoveredT1,T2,T3

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

 LINE       474
 EXPRESSION (sram_gnt & ((~init_req)))
             ----1---   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T4

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

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

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

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

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

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

 LINE       491
 SUB-EXPRESSION (reg2hw.status.escalated.q ? (tl_gate_resp_pending & tlul_we) : 1'b1)
                 ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T6,T7

 LINE       491
 SUB-EXPRESSION (tl_gate_resp_pending & tlul_we)
                 ----------1---------   ---2---
-1--2-StatusTests
01Not Covered
10CoveredT4,T6,T7
11CoveredT4,T7,T28

Toggle Coverage for Module : sram_ctrl
TotalCoveredPercent
Totals 60 60 100.00
Total Bits 1226 1226 100.00
Total Bits 0->1 613 613 100.00
Total Bits 1->0 613 613 100.00

Ports 60 60 100.00
Port Bits 1226 1226 100.00
Port Bits 0->1 613 613 100.00
Port Bits 1->0 613 613 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,T5,T6 Yes T1,T2,T3 INPUT
clk_otp_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_otp_ni Yes Yes T4,T5,T6 Yes T1,T2,T3 INPUT
ram_tl_i.d_ready Yes Yes T1,T2,T4 Yes T1,T2,T3 INPUT
ram_tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_user.instr_type[3:0] Yes Yes T10,T11,T13 Yes T10,T11,T13 INPUT
ram_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_data[31:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_mask[3:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_address[31:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_source[7:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_size[1:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_opcode[2:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_valid Yes Yes T1,T2,T4 Yes T1,T2,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,T5,T10 OUTPUT
ram_tl_o.d_user.data_intg[6:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_user.rsp_intg[5:0] Yes Yes T1,T2,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,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_source[7:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_size[1:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_opcode[0] Yes Yes *T1,*T2,*T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_valid Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
regs_tl_i.d_ready Yes Yes T1,T2,T4 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T4,T8 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.instr_type[3:0] Yes Yes T5,T29,T30 Yes T5,T29,T30 INPUT
regs_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
regs_tl_i.a_data[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_mask[3:0] Yes Yes T4,T5,T29 Yes T4,T5,T29 INPUT
regs_tl_i.a_address[31:0] Yes Yes T4,T5,T29 Yes T4,T5,T29 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,T3 Yes T1,T4,T8 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 T31,T32,T33 Yes T31,T34,T35 OUTPUT
regs_tl_o.d_user.data_intg[6:0] Yes Yes T1,T4,T8 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,*T2,*T3 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 T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_opcode[0] Yes Yes *T1,*T4,*T8 Yes T1,T2,T3 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 T22,T23,T24 Yes T22,T23,T24 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 T22,T23,T24 Yes T22,T23,T24 OUTPUT
lc_escalate_en_i[3:0] Yes Yes T4,T6,T7 Yes T4,T6,T7 INPUT
lc_hw_debug_en_i[3:0] Yes Yes T10,T13,T14 Yes T10,T13,T14 INPUT
otp_en_sram_ifetch_i[7:0] Yes Yes T10,T13,T14 Yes T10,T13,T14 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,T8 Yes T1,T4,T8 INPUT
sram_otp_key_i.nonce[127:0] Yes Yes T1,T4,T8 Yes T4,T8,T9 INPUT
sram_otp_key_i.key[127:0] Yes Yes T4,T8,T9 Yes T4,T8,T9 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 T3,T36,T37 Yes T3,T36,T37 INPUT
cfg_i.rf_cfg.cfg_en Yes Yes T3,T36,T37 Yes T3,T36,T37 INPUT
cfg_i.ram_cfg.cfg[3:0] Yes Yes T3,T36,T37 Yes T3,T36,T37 INPUT
cfg_i.ram_cfg.cfg_en Yes Yes T3,T36,T37 Yes T3,T36,T37 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 212 3 3 100.00
TERNARY 266 3 3 100.00
TERNARY 275 2 2 100.00
TERNARY 477 2 2 100.00
TERNARY 478 2 2 100.00
TERNARY 479 2 2 100.00
TERNARY 491 3 3 100.00
IF 216 2 2 100.00
IF 284 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-: 212 (init_done) ? -2-: 212 (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-: 266 (key_req) ? -2-: 266 (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-: 275 ((key_ack & (~local_esc))) ?

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


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

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


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

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


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

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


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

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


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

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


LineNo. Expression -1-: 284 if ((!rst_ni)) -2-: 292 if (key_ack) -3-: 299 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 T4,T6,T7
0 - 0 Covered T1,T2,T3


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




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertOutKnown_A 905417694 905326405 0 0
FpvSecCmCntCheck_A 905417694 60 0 0
FpvSecCmFifoRptrCheck_A 905417694 60 0 0
FpvSecCmFifoWptrCheck_A 905417694 60 0 0
FpvSecCmLcGateFsmCheck_A 905417694 0 0 0
FpvSecCmRegWeOnehotCheck_A 905417694 60 0 0
NonceWidthsLessThanSource_A 799 799 0 0
RamTlOutKnown_A 905417694 905326405 0 0
RamTlOutPayLoadKnown_A 905417694 268949370 0 0
RamTlOutPayLoadKnown_AKnownEnable 905417694 905326405 0 0
RegsTlOutKnown_A 905417694 905326405 0 0
SramOtpKeyKnown_A 905417694 905326405 0 0


AlertOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

FpvSecCmCntCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

FpvSecCmFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

FpvSecCmFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

FpvSecCmLcGateFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

NonceWidthsLessThanSource_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 799 799 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0

RamTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

RamTlOutPayLoadKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 268949370 0 0
T1 122697 326202 0 0
T2 486709 327459 0 0
T3 33868 0 0 0
T4 897484 3488 0 0
T5 184895 789558 0 0
T8 655379 99455 0 0
T9 113238 278329 0 0
T10 164313 185709 0 0
T11 126718 340360 0 0
T12 234118 65705 0 0
T13 0 233344 0 0

RamTlOutPayLoadKnown_AKnownEnable
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

RegsTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

SramOtpKeyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

Line Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
TOTAL5050100.00
CONT_ASSIGN12611100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN13711100.00
CONT_ASSIGN14111100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN17811100.00
CONT_ASSIGN18611100.00
CONT_ASSIGN19211100.00
CONT_ASSIGN20011100.00
CONT_ASSIGN20911100.00
CONT_ASSIGN21211100.00
ALWAYS21633100.00
CONT_ASSIGN22811100.00
CONT_ASSIGN22911100.00
CONT_ASSIGN25311100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN26511100.00
CONT_ASSIGN26611100.00
CONT_ASSIGN27011100.00
CONT_ASSIGN27111100.00
CONT_ASSIGN27511100.00
CONT_ASSIGN27611100.00
CONT_ASSIGN28011100.00
CONT_ASSIGN28111100.00
ALWAYS2841111100.00
CONT_ASSIGN32811100.00
CONT_ASSIGN36011100.00
CONT_ASSIGN36211100.00
CONT_ASSIGN36411100.00
CONT_ASSIGN47311100.00
CONT_ASSIGN47411100.00
CONT_ASSIGN47511100.00
CONT_ASSIGN47611100.00
CONT_ASSIGN47711100.00
CONT_ASSIGN47811100.00
CONT_ASSIGN47911100.00
CONT_ASSIGN49111100.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
144 1 1
176 1 1
178 1 1
186 1 1
192 1 1
200 1 1
209 1 1
212 1 1
216 1 1
217 1 1
219 1 1
228 1 1
229 1 1
253 1 1
254 1 1
265 1 1
266 1 1
270 1 1
271 1 1
275 1 1
276 1 1
280 1 1
281 1 1
284 1 1
285 1 1
288 1 1
289 1 1
291 1 1
292 1 1
293 1 1
294 1 1
MISSING_ELSE
299 1 1
300 1 1
301 1 1
MISSING_ELSE
328 1 1
360 1 1
362 1 1
364 1 1
473 1 1
474 1 1
475 1 1
476 1 1
477 1 1
478 1 1
479 1 1
491 1 1


Cond Coverage for Instance : tb.dut
TotalCoveredPercent
Conditions908897.78
Logical908897.78
Non-Logical00
Event00

 LINE       134
 EXPRESSION (reg2hw.alert_test.q & reg2hw.alert_test.qe)
             ---------1---------   ----------2---------
-1--2-StatusTests
01CoveredT22,T23,T24
10CoveredT1,T2,T3
11CoveredT22,T23,T24

 LINE       144
 EXPRESSION (((|bus_integ_error)) | init_error)
             ----------1---------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT17,T18,T19
10CoveredT17,T18,T19

 LINE       186
 EXPRESSION (reg2hw.status.escalated.q | reg2hw.status.init_error.q | reg2hw.status.bus_integ_error.q)
             ------------1------------   -------------2------------   ---------------3---------------
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT17,T18,T19
010CoveredT17,T18,T19
100CoveredT4,T6,T7

 LINE       192
 EXPRESSION (escalate | init_error | ((|bus_integ_error)) | local_esc_reg)
             ----1---   -----2----   ----------3---------   ------4------
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001CoveredT4,T6,T7
0010CoveredT17,T18,T19
0100CoveredT17,T18,T19
1000CoveredT4,T6,T7

 LINE       209
 EXPRESSION (reg2hw.ctrl.init.q & reg2hw.ctrl.init.qe)
             ---------1--------   ---------2---------
-1--2-StatusTests
01CoveredT4,T9,T5
10CoveredT1,T2,T3
11CoveredT1,T2,T3

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

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

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

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

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

 LINE       253
 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
110CoveredT6,T7,T25
111CoveredT1,T2,T3

 LINE       254
 EXPRESSION (init_done | init_trig | local_esc)
             ----1----   ----2----   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT4,T6,T7
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       265
 EXPRESSION (reg2hw.ctrl.renew_scr_key.q & reg2hw.ctrl.renew_scr_key.qe)
             -------------1-------------   --------------2-------------
-1--2-StatusTests
01CoveredT26,T27,T21
10CoveredT1,T2,T3
11CoveredT1,T2,T3

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

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

 LINE       270
 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
110CoveredT4,T6,T7
111CoveredT1,T2,T3

 LINE       271
 EXPRESSION (key_req | key_ack | local_esc)
             ---1---   ---2---   ----3----
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT4,T6,T7
010CoveredT1,T2,T3
100CoveredT1,T2,T3

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

 LINE       275
 SUB-EXPRESSION (key_ack & ((~local_esc)))
                 ---1---   -------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT4,T6,T7
11CoveredT1,T2,T3

 LINE       276
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T6,T7
10CoveredT1,T2,T3

 LINE       280
 EXPRESSION (key_seed_valid & ((~local_esc)))
             -------1------   -------2------
-1--2-StatusTests
01CoveredT1,T2,T4
10CoveredT4,T6,T7
11CoveredT1,T3,T4

 LINE       281
 EXPRESSION (key_ack | local_esc)
             ---1---   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T6,T7
10CoveredT1,T2,T3

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

 LINE       474
 EXPRESSION (sram_gnt & ((~init_req)))
             ----1---   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T4

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

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

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

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

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

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

 LINE       491
 SUB-EXPRESSION (reg2hw.status.escalated.q ? (tl_gate_resp_pending & tlul_we) : 1'b1)
                 ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T6,T7

 LINE       491
 SUB-EXPRESSION (tl_gate_resp_pending & tlul_we)
                 ----------1---------   ---2---
-1--2-StatusTests
01Not Covered
10CoveredT4,T6,T7
11CoveredT4,T7,T28

Toggle Coverage for Instance : tb.dut
TotalCoveredPercent
Totals 60 60 100.00
Total Bits 1226 1226 100.00
Total Bits 0->1 613 613 100.00
Total Bits 1->0 613 613 100.00

Ports 60 60 100.00
Port Bits 1226 1226 100.00
Port Bits 0->1 613 613 100.00
Port Bits 1->0 613 613 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,T5,T6 Yes T1,T2,T3 INPUT
clk_otp_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_otp_ni Yes Yes T4,T5,T6 Yes T1,T2,T3 INPUT
ram_tl_i.d_ready Yes Yes T1,T2,T4 Yes T1,T2,T3 INPUT
ram_tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_user.instr_type[3:0] Yes Yes T10,T11,T13 Yes T10,T11,T13 INPUT
ram_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_data[31:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_mask[3:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_address[31:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_source[7:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_size[1:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
ram_tl_i.a_opcode[2:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 INPUT
ram_tl_i.a_valid Yes Yes T1,T2,T4 Yes T1,T2,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,T5,T10 OUTPUT
ram_tl_o.d_user.data_intg[6:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_user.rsp_intg[5:0] Yes Yes T1,T2,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,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_source[7:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_size[1:0] Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_opcode[0] Yes Yes *T1,*T2,*T4 Yes T1,T2,T4 OUTPUT
ram_tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
ram_tl_o.d_valid Yes Yes T1,T2,T4 Yes T1,T2,T4 OUTPUT
regs_tl_i.d_ready Yes Yes T1,T2,T4 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T4,T8 Yes T1,T2,T3 INPUT
regs_tl_i.a_user.instr_type[3:0] Yes Yes T5,T29,T30 Yes T5,T29,T30 INPUT
regs_tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
regs_tl_i.a_data[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
regs_tl_i.a_mask[3:0] Yes Yes T4,T5,T29 Yes T4,T5,T29 INPUT
regs_tl_i.a_address[31:0] Yes Yes T4,T5,T29 Yes T4,T5,T29 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,T3 Yes T1,T4,T8 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 T31,T32,T33 Yes T31,T34,T35 OUTPUT
regs_tl_o.d_user.data_intg[6:0] Yes Yes T1,T4,T8 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,*T2,*T3 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 T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
regs_tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
regs_tl_o.d_opcode[0] Yes Yes *T1,*T4,*T8 Yes T1,T2,T3 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 T22,T23,T24 Yes T22,T23,T24 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 T22,T23,T24 Yes T22,T23,T24 OUTPUT
lc_escalate_en_i[3:0] Yes Yes T4,T6,T7 Yes T4,T6,T7 INPUT
lc_hw_debug_en_i[3:0] Yes Yes T10,T13,T14 Yes T10,T13,T14 INPUT
otp_en_sram_ifetch_i[7:0] Yes Yes T10,T13,T14 Yes T10,T13,T14 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,T8 Yes T1,T4,T8 INPUT
sram_otp_key_i.nonce[127:0] Yes Yes T1,T4,T8 Yes T4,T8,T9 INPUT
sram_otp_key_i.key[127:0] Yes Yes T4,T8,T9 Yes T4,T8,T9 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 T3,T36,T37 Yes T3,T36,T37 INPUT
cfg_i.rf_cfg.cfg_en Yes Yes T3,T36,T37 Yes T3,T36,T37 INPUT
cfg_i.ram_cfg.cfg[3:0] Yes Yes T3,T36,T37 Yes T3,T36,T37 INPUT
cfg_i.ram_cfg.cfg_en Yes Yes T3,T36,T37 Yes T3,T36,T37 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 212 3 3 100.00
TERNARY 266 3 3 100.00
TERNARY 275 2 2 100.00
TERNARY 477 2 2 100.00
TERNARY 478 2 2 100.00
TERNARY 479 2 2 100.00
TERNARY 491 3 3 100.00
IF 216 2 2 100.00
IF 284 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-: 212 (init_done) ? -2-: 212 (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-: 266 (key_req) ? -2-: 266 (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-: 275 ((key_ack & (~local_esc))) ?

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


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

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


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

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


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

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


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

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


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

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


LineNo. Expression -1-: 284 if ((!rst_ni)) -2-: 292 if (key_ack) -3-: 299 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 T4,T6,T7
0 - 0 Covered T1,T2,T3


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




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertOutKnown_A 905417694 905326405 0 0
FpvSecCmCntCheck_A 905417694 60 0 0
FpvSecCmFifoRptrCheck_A 905417694 60 0 0
FpvSecCmFifoWptrCheck_A 905417694 60 0 0
FpvSecCmLcGateFsmCheck_A 905417694 0 0 0
FpvSecCmRegWeOnehotCheck_A 905417694 60 0 0
NonceWidthsLessThanSource_A 799 799 0 0
RamTlOutKnown_A 905417694 905326405 0 0
RamTlOutPayLoadKnown_A 905417694 268949370 0 0
RamTlOutPayLoadKnown_AKnownEnable 905417694 905326405 0 0
RegsTlOutKnown_A 905417694 905326405 0 0
SramOtpKeyKnown_A 905417694 905326405 0 0


AlertOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

FpvSecCmCntCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

FpvSecCmFifoRptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

FpvSecCmFifoWptrCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

FpvSecCmLcGateFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 60 0 0
T17 8226 10 0 0
T18 0 20 0 0
T19 0 10 0 0
T38 0 10 0 0
T39 0 10 0 0
T40 126561 0 0 0
T41 541774 0 0 0
T42 304984 0 0 0
T43 113656 0 0 0
T44 943178 0 0 0
T45 110917 0 0 0
T46 71554 0 0 0
T47 156655 0 0 0
T48 235098 0 0 0

NonceWidthsLessThanSource_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 799 799 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0

RamTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

RamTlOutPayLoadKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 268949370 0 0
T1 122697 326202 0 0
T2 486709 327459 0 0
T3 33868 0 0 0
T4 897484 3488 0 0
T5 184895 789558 0 0
T8 655379 99455 0 0
T9 113238 278329 0 0
T10 164313 185709 0 0
T11 126718 340360 0 0
T12 234118 65705 0 0
T13 0 233344 0 0

RamTlOutPayLoadKnown_AKnownEnable
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

RegsTlOutKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

SramOtpKeyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 905417694 905326405 0 0
T1 122697 122688 0 0
T2 486709 486656 0 0
T3 33868 33788 0 0
T4 897484 897259 0 0
T5 184895 184892 0 0
T8 655379 655322 0 0
T9 113238 113232 0 0
T10 164313 164307 0 0
T11 126718 126709 0 0
T12 234118 234066 0 0

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