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 | 22 | 84.62 |
Logical | 26 | 22 | 84.62 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 88
EXPRESSION
Number Term
1 gen_normal_fifo.full ? (8'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value)))))
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T13,T14 |
LINE 88
SUB-EXPRESSION
Number Term
1 (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value))))
-1- | Status | Tests |
0 | Covered | T11,T13,T14 |
1 | Covered | T11,T12,T13 |
LINE 88
SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
---------------------------1--------------------------
-1- | Status | Tests |
0 | Covered | T11,T13,T14 |
1 | Covered | T11,T12,T13 |
LINE 92
EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T11,T12,T13 |
1 | 0 | 1 | Covered | T11,T13,T14 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T11,T12,T13 |
LINE 93
EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Not Covered | |
1 | 0 | 1 | Covered | T11,T12,T13 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T11,T12,T13 |
LINE 98
EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
------------1------------ ---------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T13,T14 |
1 | 0 | Covered | T11,T12,T13 |
1 | 1 | Covered | T11,T12,T13 |
LINE 100
EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
-------------1------------ ---------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T12,T13 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T11,T12,T13 |
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 | T11,T12,T13 |
1 | Covered | T11,T13,T14 |
LINE 146
EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
----------------------------1---------------------------
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T12,T13 |
LINE 180
EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
----------1----------
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T12,T13 |
Branch Coverage for Module :
prim_fifo_sync
| Line No. | Total | Covered | Percent |
Branches |
|
10 |
10 |
100.00 |
TERNARY |
88 |
3 |
3 |
100.00 |
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 |
- |
Covered |
T11,T13,T14 |
0 |
1 |
Covered |
T11,T12,T13 |
0 |
0 |
Covered |
T11,T13,T14 |
LineNo. Expression
-1-: 180 (gen_normal_fifo.empty) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T11,T12,T13 |
0 |
Covered |
T11,T12,T13 |
LineNo. Expression
-1-: 70 if ((!rst_ni))
-2-: 72 if (gen_normal_fifo.under_rst)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T11,T12,T13 |
0 |
1 |
Covered |
T11,T12,T13 |
0 |
0 |
Covered |
T11,T12,T13 |
LineNo. Expression
-1-: 165 if (gen_normal_fifo.fifo_incr_wptr)
Branches:
-1- | Status | Tests |
1 |
Covered |
T11,T12,T13 |
0 |
Covered |
T11,T12,T13 |
Assert Coverage for Module :
prim_fifo_sync
Assertion Details
DataKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
272812 |
1260445 |
0 |
0 |
T12 |
232324 |
49696 |
0 |
0 |
T13 |
340078 |
1253599 |
0 |
0 |
T14 |
988992 |
451380 |
0 |
0 |
T15 |
1588476 |
890863 |
0 |
0 |
T16 |
487002 |
168379 |
0 |
0 |
T17 |
69724 |
24831 |
0 |
0 |
T18 |
142964 |
61203 |
0 |
0 |
T19 |
201194 |
1168746 |
0 |
0 |
T20 |
54294 |
2534 |
0 |
0 |
T21 |
0 |
681 |
0 |
0 |
T22 |
0 |
146494 |
0 |
0 |
T23 |
0 |
836678 |
0 |
0 |
DepthKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
272812 |
272808 |
0 |
0 |
T12 |
232324 |
232310 |
0 |
0 |
T13 |
340078 |
340072 |
0 |
0 |
T14 |
988992 |
988988 |
0 |
0 |
T15 |
1588476 |
1588460 |
0 |
0 |
T16 |
487002 |
486986 |
0 |
0 |
T17 |
69724 |
69544 |
0 |
0 |
T18 |
142964 |
142844 |
0 |
0 |
T19 |
201194 |
201192 |
0 |
0 |
T20 |
54294 |
54112 |
0 |
0 |
RvalidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
272812 |
272808 |
0 |
0 |
T12 |
232324 |
232310 |
0 |
0 |
T13 |
340078 |
340072 |
0 |
0 |
T14 |
988992 |
988988 |
0 |
0 |
T15 |
1588476 |
1588460 |
0 |
0 |
T16 |
487002 |
486986 |
0 |
0 |
T17 |
69724 |
69544 |
0 |
0 |
T18 |
142964 |
142844 |
0 |
0 |
T19 |
201194 |
201192 |
0 |
0 |
T20 |
54294 |
54112 |
0 |
0 |
WreadyKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
272812 |
272808 |
0 |
0 |
T12 |
232324 |
232310 |
0 |
0 |
T13 |
340078 |
340072 |
0 |
0 |
T14 |
988992 |
988988 |
0 |
0 |
T15 |
1588476 |
1588460 |
0 |
0 |
T16 |
487002 |
486986 |
0 |
0 |
T17 |
69724 |
69544 |
0 |
0 |
T18 |
142964 |
142844 |
0 |
0 |
T19 |
201194 |
201192 |
0 |
0 |
T20 |
54294 |
54112 |
0 |
0 |
gen_normal_fifo.depthShallNotExceedParamDepth
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
272812 |
1260445 |
0 |
0 |
T12 |
232324 |
49696 |
0 |
0 |
T13 |
340078 |
1253599 |
0 |
0 |
T14 |
988992 |
451380 |
0 |
0 |
T15 |
1588476 |
890863 |
0 |
0 |
T16 |
487002 |
168379 |
0 |
0 |
T17 |
69724 |
24831 |
0 |
0 |
T18 |
142964 |
61203 |
0 |
0 |
T19 |
201194 |
1168746 |
0 |
0 |
T20 |
54294 |
2534 |
0 |
0 |
T21 |
0 |
681 |
0 |
0 |
T22 |
0 |
146494 |
0 |
0 |
T23 |
0 |
836678 |
0 |
0 |
Line Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
| 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 Instance : tb.dut.uart_core.u_uart_txfifo
| Total | Covered | Percent |
Conditions | 26 | 22 | 84.62 |
Logical | 26 | 22 | 84.62 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 88
EXPRESSION
Number Term
1 gen_normal_fifo.full ? (8'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value)))))
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T13,T14,T24 |
LINE 88
SUB-EXPRESSION
Number Term
1 (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value))))
-1- | Status | Tests |
0 | Covered | T11,T13,T14 |
1 | Covered | T11,T12,T13 |
LINE 88
SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
---------------------------1--------------------------
-1- | Status | Tests |
0 | Covered | T11,T13,T14 |
1 | Covered | T11,T12,T13 |
LINE 92
EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T11,T12,T13 |
1 | 0 | 1 | Covered | T13,T14,T24 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T11,T12,T13 |
LINE 93
EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Not Covered | |
1 | 0 | 1 | Covered | T11,T13,T14 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T11,T12,T13 |
LINE 98
EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
------------1------------ ---------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T13,T14,T24 |
1 | 0 | Covered | T11,T12,T13 |
1 | 1 | Covered | T11,T12,T13 |
LINE 100
EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
-------------1------------ ---------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T12,T13 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T11,T12,T13 |
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 | T11,T12,T13 |
1 | Covered | T13,T14,T24 |
LINE 146
EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
----------------------------1---------------------------
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T12,T13 |
LINE 180
EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
----------1----------
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T12,T13 |
Branch Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
| Line No. | Total | Covered | Percent |
Branches |
|
10 |
10 |
100.00 |
TERNARY |
88 |
3 |
3 |
100.00 |
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 |
- |
Covered |
T13,T14,T24 |
0 |
1 |
Covered |
T11,T12,T13 |
0 |
0 |
Covered |
T11,T13,T14 |
LineNo. Expression
-1-: 180 (gen_normal_fifo.empty) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T11,T12,T13 |
0 |
Covered |
T11,T12,T13 |
LineNo. Expression
-1-: 70 if ((!rst_ni))
-2-: 72 if (gen_normal_fifo.under_rst)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T11,T12,T13 |
0 |
1 |
Covered |
T11,T12,T13 |
0 |
0 |
Covered |
T11,T12,T13 |
LineNo. Expression
-1-: 165 if (gen_normal_fifo.fifo_incr_wptr)
Branches:
-1- | Status | Tests |
1 |
Covered |
T11,T12,T13 |
0 |
Covered |
T11,T12,T13 |
Assert Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
Assertion Details
DataKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
347215 |
0 |
0 |
T12 |
116162 |
10 |
0 |
0 |
T13 |
170039 |
797397 |
0 |
0 |
T14 |
494496 |
113676 |
0 |
0 |
T15 |
794238 |
666482 |
0 |
0 |
T16 |
243501 |
168379 |
0 |
0 |
T17 |
34862 |
0 |
0 |
0 |
T18 |
71482 |
0 |
0 |
0 |
T19 |
100597 |
333539 |
0 |
0 |
T20 |
27147 |
0 |
0 |
0 |
T21 |
0 |
10 |
0 |
0 |
T22 |
0 |
146494 |
0 |
0 |
T23 |
0 |
836678 |
0 |
0 |
DepthKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
136404 |
0 |
0 |
T12 |
116162 |
116155 |
0 |
0 |
T13 |
170039 |
170036 |
0 |
0 |
T14 |
494496 |
494494 |
0 |
0 |
T15 |
794238 |
794230 |
0 |
0 |
T16 |
243501 |
243493 |
0 |
0 |
T17 |
34862 |
34772 |
0 |
0 |
T18 |
71482 |
71422 |
0 |
0 |
T19 |
100597 |
100596 |
0 |
0 |
T20 |
27147 |
27056 |
0 |
0 |
RvalidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
136404 |
0 |
0 |
T12 |
116162 |
116155 |
0 |
0 |
T13 |
170039 |
170036 |
0 |
0 |
T14 |
494496 |
494494 |
0 |
0 |
T15 |
794238 |
794230 |
0 |
0 |
T16 |
243501 |
243493 |
0 |
0 |
T17 |
34862 |
34772 |
0 |
0 |
T18 |
71482 |
71422 |
0 |
0 |
T19 |
100597 |
100596 |
0 |
0 |
T20 |
27147 |
27056 |
0 |
0 |
WreadyKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
136404 |
0 |
0 |
T12 |
116162 |
116155 |
0 |
0 |
T13 |
170039 |
170036 |
0 |
0 |
T14 |
494496 |
494494 |
0 |
0 |
T15 |
794238 |
794230 |
0 |
0 |
T16 |
243501 |
243493 |
0 |
0 |
T17 |
34862 |
34772 |
0 |
0 |
T18 |
71482 |
71422 |
0 |
0 |
T19 |
100597 |
100596 |
0 |
0 |
T20 |
27147 |
27056 |
0 |
0 |
gen_normal_fifo.depthShallNotExceedParamDepth
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
347215 |
0 |
0 |
T12 |
116162 |
10 |
0 |
0 |
T13 |
170039 |
797397 |
0 |
0 |
T14 |
494496 |
113676 |
0 |
0 |
T15 |
794238 |
666482 |
0 |
0 |
T16 |
243501 |
168379 |
0 |
0 |
T17 |
34862 |
0 |
0 |
0 |
T18 |
71482 |
0 |
0 |
0 |
T19 |
100597 |
333539 |
0 |
0 |
T20 |
27147 |
0 |
0 |
0 |
T21 |
0 |
10 |
0 |
0 |
T22 |
0 |
146494 |
0 |
0 |
T23 |
0 |
836678 |
0 |
0 |
Line Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
| 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 Instance : tb.dut.uart_core.u_uart_rxfifo
| Total | Covered | Percent |
Conditions | 26 | 22 | 84.62 |
Logical | 26 | 22 | 84.62 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 88
EXPRESSION
Number Term
1 gen_normal_fifo.full ? (8'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value)))))
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T13,T14 |
LINE 88
SUB-EXPRESSION
Number Term
1 (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value))))
-1- | Status | Tests |
0 | Covered | T13,T14,T24 |
1 | Covered | T11,T12,T13 |
LINE 88
SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
---------------------------1--------------------------
-1- | Status | Tests |
0 | Covered | T13,T14,T24 |
1 | Covered | T11,T12,T13 |
LINE 92
EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T11,T12,T13 |
1 | 0 | 1 | Covered | T11,T13,T14 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T11,T12,T13 |
LINE 93
EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
----1--- ----2--- ---------------3--------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Not Covered | |
1 | 0 | 1 | Covered | T11,T12,T13 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T11,T12,T13 |
LINE 98
EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
------------1------------ ---------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T13,T14 |
1 | 0 | Covered | T11,T12,T13 |
1 | 1 | Covered | T11,T12,T13 |
LINE 100
EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
-------------1------------ ---------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T11,T12,T13 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T11,T12,T13 |
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 | T11,T12,T13 |
1 | Covered | T11,T13,T14 |
LINE 146
EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
----------------------------1---------------------------
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T12,T13 |
LINE 180
EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
----------1----------
-1- | Status | Tests |
0 | Covered | T11,T12,T13 |
1 | Covered | T11,T12,T13 |
Branch Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
| Line No. | Total | Covered | Percent |
Branches |
|
10 |
10 |
100.00 |
TERNARY |
88 |
3 |
3 |
100.00 |
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 |
- |
Covered |
T11,T13,T14 |
0 |
1 |
Covered |
T11,T12,T13 |
0 |
0 |
Covered |
T13,T14,T24 |
LineNo. Expression
-1-: 180 (gen_normal_fifo.empty) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T11,T12,T13 |
0 |
Covered |
T11,T12,T13 |
LineNo. Expression
-1-: 70 if ((!rst_ni))
-2-: 72 if (gen_normal_fifo.under_rst)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T11,T12,T13 |
0 |
1 |
Covered |
T11,T12,T13 |
0 |
0 |
Covered |
T11,T12,T13 |
LineNo. Expression
-1-: 165 if (gen_normal_fifo.fifo_incr_wptr)
Branches:
-1- | Status | Tests |
1 |
Covered |
T11,T12,T13 |
0 |
Covered |
T11,T12,T13 |
Assert Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
Assertion Details
DataKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2006810025 |
0 |
0 |
T11 |
136406 |
913230 |
0 |
0 |
T12 |
116162 |
49686 |
0 |
0 |
T13 |
170039 |
456202 |
0 |
0 |
T14 |
494496 |
337704 |
0 |
0 |
T15 |
794238 |
224381 |
0 |
0 |
T16 |
243501 |
0 |
0 |
0 |
T17 |
34862 |
24831 |
0 |
0 |
T18 |
71482 |
61203 |
0 |
0 |
T19 |
100597 |
835207 |
0 |
0 |
T20 |
27147 |
2534 |
0 |
0 |
T21 |
0 |
671 |
0 |
0 |
DepthKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
136404 |
0 |
0 |
T12 |
116162 |
116155 |
0 |
0 |
T13 |
170039 |
170036 |
0 |
0 |
T14 |
494496 |
494494 |
0 |
0 |
T15 |
794238 |
794230 |
0 |
0 |
T16 |
243501 |
243493 |
0 |
0 |
T17 |
34862 |
34772 |
0 |
0 |
T18 |
71482 |
71422 |
0 |
0 |
T19 |
100597 |
100596 |
0 |
0 |
T20 |
27147 |
27056 |
0 |
0 |
RvalidKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
136404 |
0 |
0 |
T12 |
116162 |
116155 |
0 |
0 |
T13 |
170039 |
170036 |
0 |
0 |
T14 |
494496 |
494494 |
0 |
0 |
T15 |
794238 |
794230 |
0 |
0 |
T16 |
243501 |
243493 |
0 |
0 |
T17 |
34862 |
34772 |
0 |
0 |
T18 |
71482 |
71422 |
0 |
0 |
T19 |
100597 |
100596 |
0 |
0 |
T20 |
27147 |
27056 |
0 |
0 |
WreadyKnown_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2147483647 |
0 |
0 |
T11 |
136406 |
136404 |
0 |
0 |
T12 |
116162 |
116155 |
0 |
0 |
T13 |
170039 |
170036 |
0 |
0 |
T14 |
494496 |
494494 |
0 |
0 |
T15 |
794238 |
794230 |
0 |
0 |
T16 |
243501 |
243493 |
0 |
0 |
T17 |
34862 |
34772 |
0 |
0 |
T18 |
71482 |
71422 |
0 |
0 |
T19 |
100597 |
100596 |
0 |
0 |
T20 |
27147 |
27056 |
0 |
0 |
gen_normal_fifo.depthShallNotExceedParamDepth
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2147483647 |
2006810025 |
0 |
0 |
T11 |
136406 |
913230 |
0 |
0 |
T12 |
116162 |
49686 |
0 |
0 |
T13 |
170039 |
456202 |
0 |
0 |
T14 |
494496 |
337704 |
0 |
0 |
T15 |
794238 |
224381 |
0 |
0 |
T16 |
243501 |
0 |
0 |
0 |
T17 |
34862 |
24831 |
0 |
0 |
T18 |
71482 |
61203 |
0 |
0 |
T19 |
100597 |
835207 |
0 |
0 |
T20 |
27147 |
2534 |
0 |
0 |
T21 |
0 |
671 |
0 |
0 |