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.39 100.00 94.62 100.00 100.00 92.31 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_ASSIGN11211100.00
CONT_ASSIGN11411100.00
CONT_ASSIGN11511100.00
CONT_ASSIGN12111100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN13711100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN15011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN18411100.00
CONT_ASSIGN21311100.00
CONT_ASSIGN21911100.00
CONT_ASSIGN24511100.00
CONT_ASSIGN27511100.00
CONT_ASSIGN30011100.00
CONT_ASSIGN30911100.00
ALWAYS31510990.00
ALWAYS3432626100.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
112 1 1
114 1 1
115 1 1
121 1 1
131 1 1
134 1 1
137 1 1
145 1 1
150 1 1
171 1 1
184 1 1
213 1 1
219 1 1
245 1 1
275 1 1
300 1 1
309 1 1
315 1 1
316 1 1
318 1 1
319 1 1
322 1 1
323 1 1
324 1 1
325 1 1
327 0 1
333 1 1
MISSING_ELSE
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
352 1 1
353 1 1
354 1 1
356 1 1
357 1 1
358 1 1
359 1 1
360 1 1
362 1 1
363 1 1
MISSING_ELSE
365 1 1
366 1 1
367 1 1
368 1 1
369 1 1
MISSING_ELSE
371 1 1
372 1 1
MISSING_ELSE


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

 LINE       112
 EXPRESSION (req_i & key_valid_i)
             --1--   -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T6,T7
11CoveredT1,T3,T4

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

 LINE       115
 EXPRESSION (gnt_o & write_i)
             --1--   ---2---
-1--2-StatusTests
01CoveredT3,T8,T10
10CoveredT1,T3,T4
11CoveredT1,T3,T4

 LINE       121
 EXPRESSION (read_en & (write_en_q | write_pending_q) & (addr_scr == waddr_scr_q))
             ---1---   ---------------2--------------   ------------3------------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT8,T6,T40
110CoveredT1,T3,T4
111CoveredT15,T40,T16

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

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

 LINE       131
 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,T3,T4

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

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

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

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

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

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

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

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

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

Branch Coverage for Module : prim_ram_1p_scr
Line No.TotalCoveredPercent
Branches 17 17 100.00
TERNARY 145 2 2 100.00
TERNARY 300 3 3 100.00
TERNARY 309 2 2 100.00
IF 318 3 3 100.00
IF 343 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-: 145 (read_en) ?

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


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

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


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

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


LineNo. Expression -1-: 318 if (((!intg_error_r_q) && rvalid_q)) -2-: 322 if (addr_collision_q)

Branches:
-1--2-StatusTests
1 1 Covered T15,T40,T16
1 0 Covered T1,T3,T4
0 - Covered T1,T2,T3


LineNo. Expression -1-: 343 if ((!rst_ni)) -2-: 362 if (read_en) -3-: 365 if (write_en_d) -4-: 371 if (rw_collision)

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T1,T3,T4
0 0 - - Covered T1,T2,T3
0 - 1 - Covered T1,T3,T4
0 - 0 - Covered T1,T2,T3
0 - - 1 Covered T1,T3,T4
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 904 904 0 0
DiffWidthMinimum_A 904 904 0 0
DiffWidthWithParity_A 904 904 0 0


DepthPow2Check_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 904 904 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
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

DiffWidthMinimum_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 904 904 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
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

DiffWidthWithParity_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 904 904 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
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

Line Coverage for Instance : tb.dut.u_prim_ram_1p_scr
Line No.TotalCoveredPercent
TOTAL5252100.00
CONT_ASSIGN11211100.00
CONT_ASSIGN11411100.00
CONT_ASSIGN11511100.00
CONT_ASSIGN12111100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13411100.00
CONT_ASSIGN13711100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN15011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN18411100.00
CONT_ASSIGN21311100.00
CONT_ASSIGN21911100.00
CONT_ASSIGN24511100.00
CONT_ASSIGN27511100.00
CONT_ASSIGN30011100.00
CONT_ASSIGN30911100.00
ALWAYS31599100.00
ALWAYS3432626100.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
112 1 1
114 1 1
115 1 1
121 1 1
131 1 1
134 1 1
137 1 1
145 1 1
150 1 1
171 1 1
184 1 1
213 1 1
219 1 1
245 1 1
275 1 1
300 1 1
309 1 1
315 1 1
316 1 1
318 1 1
319 1 1
322 1 1
323 1 1
324 1 1
325 1 1
327 excluded
Exclude Annotation: VC_COV_UNR
333 1 1
MISSING_ELSE
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
352 1 1
353 1 1
354 1 1
356 1 1
357 1 1
358 1 1
359 1 1
360 1 1
362 1 1
363 1 1
MISSING_ELSE
365 1 1
366 1 1
367 1 1
368 1 1
369 1 1
MISSING_ELSE
371 1 1
372 1 1
MISSING_ELSE


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

 LINE       112
 EXPRESSION (req_i & key_valid_i)
             --1--   -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT3,T6,T7
11CoveredT1,T3,T4

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

 LINE       115
 EXPRESSION (gnt_o & write_i)
             --1--   ---2---
-1--2-StatusTests
01CoveredT3,T8,T10
10CoveredT1,T3,T4
11CoveredT1,T3,T4

 LINE       121
 EXPRESSION (read_en & (write_en_q | write_pending_q) & (addr_scr == waddr_scr_q))
             ---1---   ---------------2--------------   ------------3------------
-1--2--3-StatusTests
011CoveredT1,T3,T4
101CoveredT8,T6,T40
110CoveredT1,T3,T4
111CoveredT15,T40,T16

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

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

 LINE       131
 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,T3,T4

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

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

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

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

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

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

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

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

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

Branch Coverage for Instance : tb.dut.u_prim_ram_1p_scr
Line No.TotalCoveredPercent
Branches 17 17 100.00
TERNARY 145 2 2 100.00
TERNARY 300 3 3 100.00
TERNARY 309 2 2 100.00
IF 318 3 3 100.00
IF 343 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-: 145 (read_en) ?

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


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

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


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

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


LineNo. Expression -1-: 318 if (((!intg_error_r_q) && rvalid_q)) -2-: 322 if (addr_collision_q)

Branches:
-1--2-StatusTests
1 1 Covered T15,T40,T16
1 0 Covered T1,T3,T4
0 - Covered T1,T2,T3


LineNo. Expression -1-: 343 if ((!rst_ni)) -2-: 362 if (read_en) -3-: 365 if (write_en_d) -4-: 371 if (rw_collision)

Branches:
-1--2--3--4-StatusTests
1 - - - Covered T1,T2,T3
0 1 - - Covered T1,T3,T4
0 0 - - Covered T1,T2,T3
0 - 1 - Covered T1,T3,T4
0 - 0 - Covered T1,T2,T3
0 - - 1 Covered T1,T3,T4
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 904 904 0 0
DiffWidthMinimum_A 904 904 0 0
DiffWidthWithParity_A 904 904 0 0


DepthPow2Check_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 904 904 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
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

DiffWidthMinimum_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 904 904 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
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

DiffWidthWithParity_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 904 904 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
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T9 1 1 0 0
T10 1 1 0 0

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