Line Coverage for Module :
prim_fifo_sync
| Line No. | Total | Covered | Percent |
| TOTAL | | 22 | 22 | 100.00 |
| ALWAYS | 70 | 4 | 4 | 100.00 |
| CONT_ASSIGN | 84 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 86 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 87 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 88 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 92 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 93 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 98 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 99 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 100 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 145 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 146 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 162 | 1 | 1 | 100.00 |
| ALWAYS | 165 | 2 | 2 | 100.00 |
| CONT_ASSIGN | 175 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
| CONT_ASSIGN | 180 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' was not found, so annotated line coverage report could not be generated.
| Line No. | Covered | Statements | |
| 70 |
1 |
1 |
| 71 |
1 |
1 |
| 72 |
1 |
1 |
| 73 |
1 |
1 |
|
|
|
MISSING_ELSE |
| 84 |
1 |
1 |
| 85 |
1 |
1 |
| 86 |
1 |
1 |
| 87 |
1 |
1 |
| 88 |
1 |
1 |
| 92 |
1 |
1 |
| 93 |
1 |
1 |
| 98 |
1 |
1 |
| 99 |
1 |
1 |
| 100 |
1 |
1 |
| 145 |
1 |
1 |
| 146 |
1 |
1 |
| 162 |
1 |
1 |
| 165 |
1 |
1 |
| 166 |
1 |
1 |
|
|
|
MISSING_ELSE |
| 175 |
1 |
1 |
| 176 |
1 |
1 |
| 180 |
1 |
1 |
Cond Coverage for Module :
prim_fifo_sync
| Total | Covered | Percent |
| Conditions | 26 | 18 | 69.23 |
| Logical | 26 | 18 | 69.23 |
| Non-Logical | 0 | 0 | |
| Event | 0 | 0 | |
LINE 88
EXPRESSION
Number Term
1 gen_normal_fifo.full ? (2'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((2'(gen_normal_fifo.wptr_value) - 2'(gen_normal_fifo.rptr_value))) : (((2'(Depth) - 2'(gen_normal_fifo.rptr_value)) + 2'(gen_normal_fifo.wptr_value)))))
| -1- | Status | Tests |
| 0 | Covered | T1,T2,T3 |
| 1 | Not Covered | |
LINE 88
SUB-EXPRESSION
Number Term
1 (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((2'(gen_normal_fifo.wptr_value) - 2'(gen_normal_fifo.rptr_value))) : (((2'(Depth) - 2'(gen_normal_fifo.rptr_value)) + 2'(gen_normal_fifo.wptr_value))))
| -1- | Status | Tests |
| 0 | Covered | T2,T3,T7 |
| 1 | Covered | T1,T2,T3 |
LINE 88
SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
---------------------------1--------------------------
| -1- | Status | Tests |
| 0 | Covered | T2,T3,T7 |
| 1 | Covered | T1,T2,T3 |
LINE 92
EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
| -1- | -2- | -3- | Status | Tests |
| 0 | 1 | 1 | Covered | T1,T2,T3 |
| 1 | 0 | 1 | Not Covered | |
| 1 | 1 | 0 | Not Covered | |
| 1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 93
EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
| -1- | -2- | -3- | Status | Tests |
| 0 | 1 | 1 | Covered | T1,T2,T3 |
| 1 | 0 | 1 | Not Covered | |
| 1 | 1 | 0 | Not Covered | |
| 1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 98
EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
------------1------------ ---------------2--------------
| -1- | -2- | Status | Tests |
| 0 | 1 | Not Covered | |
| 1 | 0 | Covered | T1,T2,T3 |
| 1 | 1 | Covered | T1,T2,T3 |
LINE 100
EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
-------------1------------ ---------------2--------------
| -1- | -2- | Status | Tests |
| 0 | 1 | Covered | T1,T2,T3 |
| 1 | 0 | Not Covered | |
| 1 | 1 | Covered | T1,T2,T3 |
LINE 145
EXPRESSION (gen_normal_fifo.fifo_wptr == (gen_normal_fifo.fifo_rptr ^ {1'b1, {(gen_normal_fifo.PTR_WIDTH - 1) {1'b0}}}))
------------------------------------------------------1------------------------------------------------------
| -1- | Status | Tests |
| 0 | Covered | T1,T2,T3 |
| 1 | Not Covered | |
LINE 146
EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
----------------------------1---------------------------
| -1- | Status | Tests |
| 0 | Covered | T1,T2,T3 |
| 1 | Covered | T1,T2,T3 |
LINE 180
EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
----------1----------
| -1- | Status | Tests |
| 0 | Covered | T1,T2,T3 |
| 1 | Covered | T1,T2,T3 |
Branch Coverage for Module :
prim_fifo_sync
| Line No. | Total | Covered | Percent |
| Branches |
|
10 |
9 |
90.00 |
| TERNARY |
88 |
3 |
2 |
66.67 |
| TERNARY |
180 |
2 |
2 |
100.00 |
| IF |
70 |
3 |
3 |
100.00 |
| IF |
165 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 88 (gen_normal_fifo.full) ?
-2-: 88 ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)) ?
Branches:
| -1- | -2- | Status | Tests |
| 1 |
- |
Not Covered |
|
| 0 |
1 |
Covered |
T1,T2,T3 |
| 0 |
0 |
Covered |
T2,T3,T7 |
LineNo. Expression
-1-: 180 (gen_normal_fifo.empty) ?
Branches:
| -1- | Status | Tests |
| 1 |
Covered |
T1,T2,T3 |
| 0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 70 if ((!rst_ni))
-2-: 72 if (gen_normal_fifo.under_rst)
Branches:
| -1- | -2- | Status | Tests |
| 1 |
- |
Covered |
T1,T2,T3 |
| 0 |
1 |
Covered |
T1,T2,T3 |
| 0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 165 if (gen_normal_fifo.fifo_incr_wptr)
Branches:
| -1- | Status | Tests |
| 1 |
Covered |
T1,T2,T3 |
| 0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
prim_fifo_sync
Assertion Details
DataKnown_A
| Name | Attempts | Real Successes | Failures | Incomplete |
| Total |
26769738 |
83245 |
0 |
0 |
| T1 |
2253 |
1 |
0 |
0 |
| T2 |
576928 |
1282 |
0 |
0 |
| T3 |
408096 |
1308 |
0 |
0 |
| T4 |
96557 |
214 |
0 |
0 |
| T7 |
10481 |
9 |
0 |
0 |
| T12 |
130709 |
1104 |
0 |
0 |
| T14 |
36816 |
800 |
0 |
0 |
| T31 |
2127 |
1 |
0 |
0 |
| T32 |
1057 |
1 |
0 |
0 |
| T33 |
1372 |
1 |
0 |
0 |
DepthKnown_A
| Name | Attempts | Real Successes | Failures | Incomplete |
| Total |
26769738 |
26704966 |
0 |
0 |
| T1 |
2253 |
2177 |
0 |
0 |
| T2 |
576928 |
576824 |
0 |
0 |
| T3 |
408096 |
407323 |
0 |
0 |
| T4 |
96557 |
96220 |
0 |
0 |
| T7 |
10481 |
10413 |
0 |
0 |
| T12 |
130709 |
130695 |
0 |
0 |
| T14 |
36816 |
35861 |
0 |
0 |
| T31 |
2127 |
2052 |
0 |
0 |
| T32 |
1057 |
990 |
0 |
0 |
| T33 |
1372 |
1290 |
0 |
0 |
RvalidKnown_A
| Name | Attempts | Real Successes | Failures | Incomplete |
| Total |
26769738 |
26704966 |
0 |
0 |
| T1 |
2253 |
2177 |
0 |
0 |
| T2 |
576928 |
576824 |
0 |
0 |
| T3 |
408096 |
407323 |
0 |
0 |
| T4 |
96557 |
96220 |
0 |
0 |
| T7 |
10481 |
10413 |
0 |
0 |
| T12 |
130709 |
130695 |
0 |
0 |
| T14 |
36816 |
35861 |
0 |
0 |
| T31 |
2127 |
2052 |
0 |
0 |
| T32 |
1057 |
990 |
0 |
0 |
| T33 |
1372 |
1290 |
0 |
0 |
WreadyKnown_A
| Name | Attempts | Real Successes | Failures | Incomplete |
| Total |
26769738 |
26704966 |
0 |
0 |
| T1 |
2253 |
2177 |
0 |
0 |
| T2 |
576928 |
576824 |
0 |
0 |
| T3 |
408096 |
407323 |
0 |
0 |
| T4 |
96557 |
96220 |
0 |
0 |
| T7 |
10481 |
10413 |
0 |
0 |
| T12 |
130709 |
130695 |
0 |
0 |
| T14 |
36816 |
35861 |
0 |
0 |
| T31 |
2127 |
2052 |
0 |
0 |
| T32 |
1057 |
990 |
0 |
0 |
| T33 |
1372 |
1290 |
0 |
0 |
gen_normal_fifo.depthShallNotExceedParamDepth
| Name | Attempts | Real Successes | Failures | Incomplete |
| Total |
26769738 |
83245 |
0 |
0 |
| T1 |
2253 |
1 |
0 |
0 |
| T2 |
576928 |
1282 |
0 |
0 |
| T3 |
408096 |
1308 |
0 |
0 |
| T4 |
96557 |
214 |
0 |
0 |
| T7 |
10481 |
9 |
0 |
0 |
| T12 |
130709 |
1104 |
0 |
0 |
| T14 |
36816 |
800 |
0 |
0 |
| T31 |
2127 |
1 |
0 |
0 |
| T32 |
1057 |
1 |
0 |
0 |
| T33 |
1372 |
1 |
0 |
0 |