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

Module : prim_ram_1p_scr
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.40 98.11 91.49 100.00 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_prim_ram_1p_scr 97.87 100.00 91.49 100.00 100.00



Module Instance : tb.dut.u_prim_ram_1p_scr

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.87 100.00 91.49 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.40 100.00 92.00 100.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
97.85 100.00 97.56 100.00 100.00 91.67 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_addr_scr.u_prim_subst_perm 100.00 100.00
gen_diffuse_data[0].u_prim_subst_perm_dec 100.00 100.00
gen_diffuse_data[0].u_prim_subst_perm_enc 100.00 100.00
gen_par_scr[0].u_prim_prince 100.00 100.00
u_intg_error 100.00 100.00
u_prim_ram_1p_adv 100.00 100.00 100.00 100.00 100.00

Line Coverage for Module : prim_ram_1p_scr
Line No.TotalCoveredPercent
TOTAL535298.11
CONT_ASSIGN10911100.00
CONT_ASSIGN11111100.00
CONT_ASSIGN11211100.00
CONT_ASSIGN11811100.00
CONT_ASSIGN12811100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14711100.00
CONT_ASSIGN16811100.00
CONT_ASSIGN18111100.00
CONT_ASSIGN21011100.00
CONT_ASSIGN21611100.00
CONT_ASSIGN24211100.00
CONT_ASSIGN27211100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN30611100.00
ALWAYS31210990.00
ALWAYS3402626100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_ram_1p_scr_0.1/rtl/prim_ram_1p_scr.sv' or '../src/lowrisc_prim_ram_1p_scr_0.1/rtl/prim_ram_1p_scr.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
109 1 1
111 1 1
112 1 1
118 1 1
128 1 1
131 1 1
134 1 1
142 1 1
147 1 1
168 1 1
181 1 1
210 1 1
216 1 1
242 1 1
272 1 1
297 1 1
306 1 1
312 1 1
313 1 1
315 1 1
316 1 1
319 1 1
320 1 1
321 1 1
322 1 1
324 0 1
330 1 1
MISSING_ELSE
340 1 1
341 1 1
342 1 1
343 1 1
344 1 1
345 1 1
346 1 1
347 1 1
348 1 1
349 1 1
350 1 1
351 1 1
353 1 1
354 1 1
355 1 1
356 1 1
357 1 1
359 1 1
360 1 1
MISSING_ELSE
362 1 1
363 1 1
364 1 1
365 1 1
366 1 1
MISSING_ELSE
368 1 1
369 1 1
MISSING_ELSE


Cond Coverage for Module : prim_ram_1p_scr
TotalCoveredPercent
Conditions474391.49
Logical474391.49
Non-Logical00
Event00

 LINE       109
 EXPRESSION (req_i & key_valid_i)
             --1--   -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T11,T19
11CoveredT1,T2,T3

 LINE       111
 EXPRESSION (gnt_o & ((~write_i)))
             --1--   ------2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       112
 EXPRESSION (gnt_o & write_i)
             --1--   ---2---
-1--2-StatusTests
01CoveredT1,T3,T10
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       118
 EXPRESSION (read_en & (write_en_q | write_pending_q) & (addr_scr == waddr_scr_q))
             ---1---   ---------------2--------------   ------------3------------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT9,T10,T11
110CoveredT1,T2,T3
111CoveredT11,T13,T14

 LINE       118
 SUB-EXPRESSION (write_en_q | write_pending_q)
                 -----1----   -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T2,T3

 LINE       118
 SUB-EXPRESSION (addr_scr == waddr_scr_q)
                ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       128
 EXPRESSION (((~intg_error_w_q)) & ((~intg_error_buf)) & (read_en | write_en_q | write_pending_q))
             ---------1---------   ---------2---------   --------------------3-------------------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110CoveredT1,T2,T3
111CoveredT1,T2,T3

 LINE       128
 SUB-EXPRESSION (read_en | write_en_q | write_pending_q)
                 ---1---   -----2----   -------3-------
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT1,T2,T3
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       131
 EXPRESSION ((write_en_q | write_pending_q) & ((~read_en)) & ((~intg_error_w_q)))
             ---------------1--------------   ------2-----   ---------3---------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T2,T3
110Not Covered
111CoveredT1,T2,T3

 LINE       131
 SUB-EXPRESSION (write_en_q | write_pending_q)
                 -----1----   -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T2,T3

 LINE       134
 EXPRESSION (write_en_q & read_en)
             -----1----   ---2---
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       142
 EXPRESSION (read_en ? addr_scr : waddr_scr_q)
             ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       297
 EXPRESSION (macro_write ? 1'b0 : (rw_collision ? 1'b1 : write_pending_q))
             -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       297
 SUB-EXPRESSION (rw_collision ? 1'b1 : write_pending_q)
                 ------1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       306
 EXPRESSION (write_pending_q ? wdata_scr_q : wdata_scr_d)
             -------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       315
 EXPRESSION (((!intg_error_r_q)) && rvalid_q)
             ---------1---------    ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT1,T2,T3

Branch Coverage for Module : prim_ram_1p_scr
Line No.TotalCoveredPercent
Branches 17 17 100.00
TERNARY 142 2 2 100.00
TERNARY 297 3 3 100.00
TERNARY 306 2 2 100.00
IF 315 3 3 100.00
IF 340 7 7 100.00

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

LineNo. Expression -1-: 142 (read_en) ?

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


LineNo. Expression -1-: 297 (macro_write) ? -2-: 297 (rw_collision) ?

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


LineNo. Expression -1-: 306 (write_pending_q) ?

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


LineNo. Expression -1-: 315 if (((!intg_error_r_q) && rvalid_q)) -2-: 319 if (addr_collision_q)

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


LineNo. Expression -1-: 340 if ((!rst_ni)) -2-: 359 if (read_en) -3-: 362 if (write_en_d) -4-: 368 if (rw_collision)

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


Assert Coverage for Module : prim_ram_1p_scr
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 3 3 100.00 3 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 3 3 100.00 3 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
DepthPow2Check_A 847 847 0 0
DiffWidthMinimum_A 847 847 0 0
DiffWidthWithParity_A 847 847 0 0


DepthPow2Check_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 847 847 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0

DiffWidthMinimum_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 847 847 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0

DiffWidthWithParity_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 847 847 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0

Line Coverage for Instance : tb.dut.u_prim_ram_1p_scr
Line No.TotalCoveredPercent
TOTAL5252100.00
CONT_ASSIGN10911100.00
CONT_ASSIGN11111100.00
CONT_ASSIGN11211100.00
CONT_ASSIGN11811100.00
CONT_ASSIGN12811100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14711100.00
CONT_ASSIGN16811100.00
CONT_ASSIGN18111100.00
CONT_ASSIGN21011100.00
CONT_ASSIGN21611100.00
CONT_ASSIGN24211100.00
CONT_ASSIGN27211100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN30611100.00
ALWAYS31299100.00
ALWAYS3402626100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_ram_1p_scr_0.1/rtl/prim_ram_1p_scr.sv' or '../src/lowrisc_prim_ram_1p_scr_0.1/rtl/prim_ram_1p_scr.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
109 1 1
111 1 1
112 1 1
118 1 1
128 1 1
131 1 1
134 1 1
142 1 1
147 1 1
168 1 1
181 1 1
210 1 1
216 1 1
242 1 1
272 1 1
297 1 1
306 1 1
312 1 1
313 1 1
315 1 1
316 1 1
319 1 1
320 1 1
321 1 1
322 1 1
324 excluded
Exclude Annotation: VC_COV_UNR
330 1 1
MISSING_ELSE
340 1 1
341 1 1
342 1 1
343 1 1
344 1 1
345 1 1
346 1 1
347 1 1
348 1 1
349 1 1
350 1 1
351 1 1
353 1 1
354 1 1
355 1 1
356 1 1
357 1 1
359 1 1
360 1 1
MISSING_ELSE
362 1 1
363 1 1
364 1 1
365 1 1
366 1 1
MISSING_ELSE
368 1 1
369 1 1
MISSING_ELSE


Cond Coverage for Instance : tb.dut.u_prim_ram_1p_scr
TotalCoveredPercent
Conditions474391.49
Logical474391.49
Non-Logical00
Event00

 LINE       109
 EXPRESSION (req_i & key_valid_i)
             --1--   -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T11,T19
11CoveredT1,T2,T3

 LINE       111
 EXPRESSION (gnt_o & ((~write_i)))
             --1--   ------2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       112
 EXPRESSION (gnt_o & write_i)
             --1--   ---2---
-1--2-StatusTests
01CoveredT1,T3,T10
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       118
 EXPRESSION (read_en & (write_en_q | write_pending_q) & (addr_scr == waddr_scr_q))
             ---1---   ---------------2--------------   ------------3------------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT9,T10,T11
110CoveredT1,T2,T3
111CoveredT11,T13,T14

 LINE       118
 SUB-EXPRESSION (write_en_q | write_pending_q)
                 -----1----   -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T2,T3

 LINE       118
 SUB-EXPRESSION (addr_scr == waddr_scr_q)
                ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       128
 EXPRESSION (((~intg_error_w_q)) & ((~intg_error_buf)) & (read_en | write_en_q | write_pending_q))
             ---------1---------   ---------2---------   --------------------3-------------------
-1--2--3-StatusTests
011Not Covered
101Not Covered
110CoveredT1,T2,T3
111CoveredT1,T2,T3

 LINE       128
 SUB-EXPRESSION (read_en | write_en_q | write_pending_q)
                 ---1---   -----2----   -------3-------
-1--2--3-StatusTests
000CoveredT1,T2,T3
001CoveredT1,T2,T3
010CoveredT1,T2,T3
100CoveredT1,T2,T3

 LINE       131
 EXPRESSION ((write_en_q | write_pending_q) & ((~read_en)) & ((~intg_error_w_q)))
             ---------------1--------------   ------2-----   ---------3---------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT1,T2,T3
110Not Covered
111CoveredT1,T2,T3

 LINE       131
 SUB-EXPRESSION (write_en_q | write_pending_q)
                 -----1----   -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T2,T3

 LINE       134
 EXPRESSION (write_en_q & read_en)
             -----1----   ---2---
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       142
 EXPRESSION (read_en ? addr_scr : waddr_scr_q)
             ---1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       297
 EXPRESSION (macro_write ? 1'b0 : (rw_collision ? 1'b1 : write_pending_q))
             -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       297
 SUB-EXPRESSION (rw_collision ? 1'b1 : write_pending_q)
                 ------1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       306
 EXPRESSION (write_pending_q ? wdata_scr_q : wdata_scr_d)
             -------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       315
 EXPRESSION (((!intg_error_r_q)) && rvalid_q)
             ---------1---------    ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT1,T2,T3

Branch Coverage for Instance : tb.dut.u_prim_ram_1p_scr
Line No.TotalCoveredPercent
Branches 17 17 100.00
TERNARY 142 2 2 100.00
TERNARY 297 3 3 100.00
TERNARY 306 2 2 100.00
IF 315 3 3 100.00
IF 340 7 7 100.00

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

LineNo. Expression -1-: 142 (read_en) ?

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


LineNo. Expression -1-: 297 (macro_write) ? -2-: 297 (rw_collision) ?

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


LineNo. Expression -1-: 306 (write_pending_q) ?

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


LineNo. Expression -1-: 315 if (((!intg_error_r_q) && rvalid_q)) -2-: 319 if (addr_collision_q)

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


LineNo. Expression -1-: 340 if ((!rst_ni)) -2-: 359 if (read_en) -3-: 362 if (write_en_d) -4-: 368 if (rw_collision)

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


Assert Coverage for Instance : tb.dut.u_prim_ram_1p_scr
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 3 3 100.00 3 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 3 3 100.00 3 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
DepthPow2Check_A 847 847 0 0
DiffWidthMinimum_A 847 847 0 0
DiffWidthWithParity_A 847 847 0 0


DepthPow2Check_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 847 847 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0

DiffWidthMinimum_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 847 847 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0

DiffWidthWithParity_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 847 847 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0
T11 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0

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