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



Module Instance : tb.dut.u_upload.u_cmdfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.75 100.00 75.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.75 100.00 75.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
96.37 100.00 86.11 100.00 95.74 100.00 u_upload


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_sync_rptr_gray 100.00 100.00 100.00
u_sync_wptr_gray 100.00 100.00 100.00



Module Instance : tb.dut.u_upload.u_addrfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.75 100.00 75.00 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.75 100.00 75.00 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
96.37 100.00 86.11 100.00 95.74 100.00 u_upload


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
u_sync_rptr_gray 100.00 100.00 100.00
u_sync_wptr_gray 100.00 100.00 100.00

Line Coverage for Module : prim_fifo_async_sram_adapter ( parameter Width=16,Depth=16,SramAw=10,SramDw=32,SramBaseAddr=960,DepthW=5,PtrVW=4,PtrW=5 )
Line Coverage for Module self-instances :
SCORELINE
93.75 100.00
tb.dut.u_upload.u_cmdfifo

Line No.TotalCoveredPercent
TOTAL8686100.00
CONT_ASSIGN12111100.00
CONT_ASSIGN12311100.00
ALWAYS12666100.00
CONT_ASSIGN13511100.00
CONT_ASSIGN13611100.00
CONT_ASSIGN13811100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15011100.00
CONT_ASSIGN15111100.00
CONT_ASSIGN15311100.00
CONT_ASSIGN16311100.00
CONT_ASSIGN16511100.00
ALWAYS16866100.00
CONT_ASSIGN17711100.00
CONT_ASSIGN17811100.00
CONT_ASSIGN18011100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19211100.00
CONT_ASSIGN19311100.00
CONT_ASSIGN19511100.00
CONT_ASSIGN20111100.00
ALWAYS20444100.00
CONT_ASSIGN21111100.00
CONT_ASSIGN21711100.00
CONT_ASSIGN21811100.00
CONT_ASSIGN21911100.00
CONT_ASSIGN22211100.00
CONT_ASSIGN22411100.00
CONT_ASSIGN22511100.00
CONT_ASSIGN24511100.00
CONT_ASSIGN24711100.00
CONT_ASSIGN24811100.00
CONT_ASSIGN25111100.00
CONT_ASSIGN25211100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN25611100.00
CONT_ASSIGN26011100.00
ALWAYS27044100.00
CONT_ASSIGN29111100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN29911100.00
CONT_ASSIGN30111100.00
CONT_ASSIGN30411100.00
CONT_ASSIGN30811100.00
CONT_ASSIGN32111100.00
ALWAYS32499100.00
ROUTINE34777100.00
ROUTINE36899100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
121 1 1
123 1 1
126 1 1
127 1 1
128 1 1
129 1 1
130 1 1
131 1 1
MISSING_ELSE
135 1 1
136 1 1
138 1 1
149 1 1
150 1 1
151 1 1
153 1 1
163 1 1
165 1 1
168 1 1
169 1 1
170 1 1
171 1 1
172 1 1
173 1 1
MISSING_ELSE
177 1 1
178 1 1
180 1 1
191 1 1
192 1 1
193 1 1
195 1 1
201 1 1
204 1 1
205 1 1
206 1 1
207 1 1
MISSING_ELSE
211 1 1
217 1 1
218 1 1
219 1 1
222 1 1
224 1 1
225 1 1
245 1 1
247 1 1
248 1 1
251 1 1
252 1 1
254 1 1
256 1 1
260 1 1
270 1 1
279 1 1
282 1 1
287 1 1
291 1 1
297 1 1
299 1 1
301 1 1
304 1 1
308 1 1
321 1 1
324 1 1
325 1 1
326 1 1
327 1 1
328 1 1
329 1 1
330 1 1
332 1 1
333 1 1
MISSING_ELSE
347 1 1
349 1 1
352 1 1
353 1 1
356 1 1
357 1 1
360 1 1
368 1 1
369 1 1
370 1 1
372 1 1
373 1 1
374 1 1
376 1 1
377 1 1
379 1 1


Line Coverage for Module : prim_fifo_async_sram_adapter ( parameter Width=32,Depth=16,SramAw=10,SramDw=32,SramBaseAddr=976,DepthW=5,PtrVW=4,PtrW=5 )
Line Coverage for Module self-instances :
SCORELINE
93.75 100.00
tb.dut.u_upload.u_addrfifo

Line No.TotalCoveredPercent
TOTAL8585100.00
CONT_ASSIGN12111100.00
CONT_ASSIGN12311100.00
ALWAYS12666100.00
CONT_ASSIGN13511100.00
CONT_ASSIGN13611100.00
CONT_ASSIGN13811100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15011100.00
CONT_ASSIGN15111100.00
CONT_ASSIGN15311100.00
CONT_ASSIGN16311100.00
CONT_ASSIGN16511100.00
ALWAYS16866100.00
CONT_ASSIGN17711100.00
CONT_ASSIGN17811100.00
CONT_ASSIGN18011100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19211100.00
CONT_ASSIGN19311100.00
CONT_ASSIGN19511100.00
CONT_ASSIGN20111100.00
ALWAYS20444100.00
CONT_ASSIGN21111100.00
CONT_ASSIGN21711100.00
CONT_ASSIGN21811100.00
CONT_ASSIGN21911100.00
CONT_ASSIGN22211100.00
CONT_ASSIGN22411100.00
CONT_ASSIGN22511100.00
CONT_ASSIGN24511100.00
CONT_ASSIGN24711100.00
CONT_ASSIGN24811100.00
CONT_ASSIGN25111100.00
CONT_ASSIGN25211100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN25611100.00
CONT_ASSIGN26011100.00
ALWAYS27044100.00
CONT_ASSIGN29111100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN29911100.00
CONT_ASSIGN30111100.00
CONT_ASSIGN30411100.00
CONT_ASSIGN32111100.00
ALWAYS32499100.00
ROUTINE34777100.00
ROUTINE36899100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
121 1 1
123 1 1
126 1 1
127 1 1
128 1 1
129 1 1
130 1 1
131 1 1
MISSING_ELSE
135 1 1
136 1 1
138 1 1
149 1 1
150 1 1
151 1 1
153 1 1
163 1 1
165 1 1
168 1 1
169 1 1
170 1 1
171 1 1
172 1 1
173 1 1
MISSING_ELSE
177 1 1
178 1 1
180 1 1
191 1 1
192 1 1
193 1 1
195 1 1
201 1 1
204 1 1
205 1 1
206 1 1
207 1 1
MISSING_ELSE
211 1 1
217 1 1
218 1 1
219 1 1
222 1 1
224 1 1
225 1 1
245 1 1
247 1 1
248 1 1
251 1 1
252 1 1
254 1 1
256 1 1
260 1 1
270 1 1
279 1 1
282 1 1
287 1 1
291 1 1
297 1 1
299 1 1
301 1 1
304 1 1
321 1 1
324 1 1
325 1 1
326 1 1
327 1 1
328 1 1
329 1 1
330 1 1
332 1 1
333 1 1
MISSING_ELSE
347 1 1
349 1 1
352 1 1
353 1 1
356 1 1
357 1 1
360 1 1
368 1 1
369 1 1
370 1 1
372 1 1
373 1 1
374 1 1
376 1 1
377 1 1
379 1 1


Cond Coverage for Module : prim_fifo_async_sram_adapter ( parameter Width=16,Depth=16,SramAw=10,SramDw=32,SramBaseAddr=960,DepthW=5,PtrVW=4,PtrW=5 )
Cond Coverage for Module self-instances :
SCORECOND
93.75 75.00
tb.dut.u_upload.u_cmdfifo

TotalCoveredPercent
Conditions685175.00
Logical685175.00
Non-Logical00
Event00

 LINE       121
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       153
 EXPRESSION ((w_wptr_p == w_rptr_p) ? (5'((w_wptr_v - w_rptr_v))) : (5'(({1'b1, w_wptr_v} - {1'b0, w_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T14
1CoveredT1,T2,T3

 LINE       153
 SUB-EXPRESSION (w_wptr_p == w_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       195
 EXPRESSION ((r_wptr_p == r_rptr_p) ? (5'((r_wptr_v - r_rptr_v))) : (5'(({1'b1, r_wptr_v} - {1'b0, r_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T14
1CoveredT1,T2,T3

 LINE       195
 SUB-EXPRESSION (r_wptr_p == r_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       211
 EXPRESSION (r_wptr == r_sram_rptr)
            -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       217
 EXPRESSION (w_wptr_q == (w_rptr ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       218
 EXPRESSION (r_wptr == (r_rptr_q ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       219
 EXPRESSION (r_wptr == r_rptr_q)
            ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       247
 EXPRESSION (r_sram_req_o && r_sram_gnt_i)
             ------1-----    ------2-----
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       248
 EXPRESSION (rvalid_o && rready_i)
             ----1---    ----2---
-1--2-StatusTests
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       251
 EXPRESSION (wvalid_i && ((!w_full)))
             ----1---    -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       252
 EXPRESSION (((!w_full)) && w_sram_gnt_i)
             -----1-----    ------2-----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       282
 EXPRESSION (((!r_sramrptr_empty)) && rfifo_ack)
             ----------1----------    ----2----
-1--2-StatusTests
01CoveredT5,T6,T7
10Not Covered
11Not Covered

 LINE       287
 EXPRESSION (((!r_sramrptr_empty)) && ( ! (r_sram_rvalid_i ^ rfifo_ack) ))
             ----------1----------    -----------------2-----------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION ( ! (r_sram_rvalid_i ^ rfifo_ack) )
                    --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION (r_sram_rvalid_i ^ rfifo_ack)
                 -------1-------   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11Not Covered

 LINE       291
 EXPRESSION (stored || r_sram_rvalid_i)
             ---1--    -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7

 LINE       299
 EXPRESSION (r_sram_rvalid_i ? r_sram_rdata_i[0+:Width] : (16'(0)))
             -------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       301
 EXPRESSION (stored ? rdata_q : rdata_d)
             ---1--
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 EXPRESSION (r_sram_rvalid_i && ( ! (stored ^ rfifo_ack) ))
             -------1-------    -------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION ( ! (stored ^ rfifo_ack) )
                    ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION (stored ^ rfifo_ack)
                 ---1--   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       330
 EXPRESSION (((!r_sram_rvalid_i)) && rfifo_ack)
             ----------1---------    ----2----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       349
 EXPRESSION (decval[(PtrW - 1)] ? decval_sub : decval)
             ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T14

 LINE       370
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7
11CoveredT5,T6,T7

Cond Coverage for Module : prim_fifo_async_sram_adapter ( parameter Width=32,Depth=16,SramAw=10,SramDw=32,SramBaseAddr=976,DepthW=5,PtrVW=4,PtrW=5 )
Cond Coverage for Module self-instances :
SCORECOND
93.75 75.00
tb.dut.u_upload.u_addrfifo

TotalCoveredPercent
Conditions685175.00
Logical685175.00
Non-Logical00
Event00

 LINE       121
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       153
 EXPRESSION ((w_wptr_p == w_rptr_p) ? (5'((w_wptr_v - w_rptr_v))) : (5'(({1'b1, w_wptr_v} - {1'b0, w_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T77
1CoveredT1,T2,T3

 LINE       153
 SUB-EXPRESSION (w_wptr_p == w_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       195
 EXPRESSION ((r_wptr_p == r_rptr_p) ? (5'((r_wptr_v - r_rptr_v))) : (5'(({1'b1, r_wptr_v} - {1'b0, r_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T77
1CoveredT1,T2,T3

 LINE       195
 SUB-EXPRESSION (r_wptr_p == r_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       211
 EXPRESSION (r_wptr == r_sram_rptr)
            -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       217
 EXPRESSION (w_wptr_q == (w_rptr ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       218
 EXPRESSION (r_wptr == (r_rptr_q ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       219
 EXPRESSION (r_wptr == r_rptr_q)
            ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       247
 EXPRESSION (r_sram_req_o && r_sram_gnt_i)
             ------1-----    ------2-----
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       248
 EXPRESSION (rvalid_o && rready_i)
             ----1---    ----2---
-1--2-StatusTests
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       251
 EXPRESSION (wvalid_i && ((!w_full)))
             ----1---    -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       252
 EXPRESSION (((!w_full)) && w_sram_gnt_i)
             -----1-----    ------2-----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       282
 EXPRESSION (((!r_sramrptr_empty)) && rfifo_ack)
             ----------1----------    ----2----
-1--2-StatusTests
01CoveredT5,T6,T7
10Not Covered
11Not Covered

 LINE       287
 EXPRESSION (((!r_sramrptr_empty)) && ( ! (r_sram_rvalid_i ^ rfifo_ack) ))
             ----------1----------    -----------------2-----------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION ( ! (r_sram_rvalid_i ^ rfifo_ack) )
                    --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION (r_sram_rvalid_i ^ rfifo_ack)
                 -------1-------   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11Not Covered

 LINE       291
 EXPRESSION (stored || r_sram_rvalid_i)
             ---1--    -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7

 LINE       299
 EXPRESSION (r_sram_rvalid_i ? r_sram_rdata_i[0+:Width] : (32'(0)))
             -------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       301
 EXPRESSION (stored ? rdata_q : rdata_d)
             ---1--
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 EXPRESSION (r_sram_rvalid_i && ( ! (stored ^ rfifo_ack) ))
             -------1-------    -------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION ( ! (stored ^ rfifo_ack) )
                    ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION (stored ^ rfifo_ack)
                 ---1--   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       330
 EXPRESSION (((!r_sram_rvalid_i)) && rfifo_ack)
             ----------1---------    ----2----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       349
 EXPRESSION (decval[(PtrW - 1)] ? decval_sub : decval)
             ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T77

 LINE       370
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7
11CoveredT5,T6,T7

Branch Coverage for Module : prim_fifo_async_sram_adapter
Line No.TotalCoveredPercent
Branches 27 27 100.00
TERNARY 153 2 2 100.00
TERNARY 195 2 2 100.00
TERNARY 299 2 2 100.00
TERNARY 301 2 2 100.00
IF 126 3 3 100.00
IF 168 3 3 100.00
IF 204 3 3 100.00
IF 279 2 2 100.00
IF 324 4 4 100.00
TERNARY 349 2 2 100.00
IF 373 2 2 100.00

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

LineNo. Expression -1-: 153 ((w_wptr_p == w_rptr_p)) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T5,T6,T14


LineNo. Expression -1-: 195 ((r_wptr_p == r_rptr_p)) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T5,T6,T14


LineNo. Expression -1-: 299 (r_sram_rvalid_i) ?

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


LineNo. Expression -1-: 301 (stored) ?

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


LineNo. Expression -1-: 126 if ((!rst_wr_ni)) -2-: 129 if (w_wptr_inc)

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


LineNo. Expression -1-: 168 if ((!rst_rd_ni)) -2-: 171 if (r_rptr_inc)

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


LineNo. Expression -1-: 204 if ((!rst_rd_ni)) -2-: 206 if (r_sram_rptr_inc)

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


LineNo. Expression -1-: 279 if (stored)

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


LineNo. Expression -1-: 324 if ((!rst_rd_ni)) -2-: 327 if (store_en) -3-: 330 if (((!r_sram_rvalid_i) && rfifo_ack))

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


LineNo. Expression -1-: 349 (decval[(PtrW - 1)]) ?

Branches:
-1-StatusTests
1 Covered T5,T6,T14
0 Covered T1,T2,T3


LineNo. Expression -1-: 373 if (grayval[(PtrW - 1)])

Branches:
-1-StatusTests
1 Covered T5,T6,T14
0 Covered T1,T2,T3


Assert Coverage for Module : prim_fifo_async_sram_adapter
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 13 13 100.00 13 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 13 13 100.00 13 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
MinDepth_A 1952 1952 0 0
NoRAckInEmpty_A 920901322 3910 0 0
NoWAckInFull_A 281818004 3910 0 0
ParamCheckDepth_A 1952 1952 0 0
RSramRvalidOneCycle_M 920901322 3910 0 0
RptrGrayOneBitAtATime_A 920901322 3910 0 0
RptrIncDataValid_A 920901322 3910 0 0
RptrIncrease_A 920901322 3910 0 0
SramRvalid_A 920901322 3910 0 0
WSramRvalid_A 281818004 281818004 0 0
WidthMatch_A 1952 1952 0 0
WptrGrayOneBitAtATime_A 281818004 3910 0 0
WptrIncrease_A 281818004 3910 0 0


MinDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1952 1952 0 0
T1 2 2 0 0
T2 2 2 0 0
T3 2 2 0 0
T4 2 2 0 0
T5 2 2 0 0
T6 2 2 0 0
T7 2 2 0 0
T8 2 2 0 0
T9 2 2 0 0
T10 2 2 0 0

NoRAckInEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 920901322 3910 0 0
T5 474612 36 0 0
T6 1058778 37 0 0
T7 574170 10 0 0
T8 221572 0 0 0
T9 73946 0 0 0
T10 5714 0 0 0
T11 1152888 0 0 0
T12 276438 15 0 0
T13 1921794 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 68866 0 0 0
T46 0 2 0 0

NoWAckInFull_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 281818004 3910 0 0
T5 1077740 36 0 0
T6 1318590 37 0 0
T7 1525322 10 0 0
T8 40540 0 0 0
T9 52094 0 0 0
T11 285588 0 0 0
T12 550932 15 0 0
T13 382902 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 123216 0 0 0
T44 85144 0 0 0
T46 0 2 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1952 1952 0 0
T1 2 2 0 0
T2 2 2 0 0
T3 2 2 0 0
T4 2 2 0 0
T5 2 2 0 0
T6 2 2 0 0
T7 2 2 0 0
T8 2 2 0 0
T9 2 2 0 0
T10 2 2 0 0

RSramRvalidOneCycle_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 920901322 3910 0 0
T5 474612 36 0 0
T6 1058778 37 0 0
T7 574170 10 0 0
T8 221572 0 0 0
T9 73946 0 0 0
T10 5714 0 0 0
T11 1152888 0 0 0
T12 276438 15 0 0
T13 1921794 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 68866 0 0 0
T46 0 2 0 0

RptrGrayOneBitAtATime_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 920901322 3910 0 0
T5 474612 36 0 0
T6 1058778 37 0 0
T7 574170 10 0 0
T8 221572 0 0 0
T9 73946 0 0 0
T10 5714 0 0 0
T11 1152888 0 0 0
T12 276438 15 0 0
T13 1921794 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 68866 0 0 0
T46 0 2 0 0

RptrIncDataValid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 920901322 3910 0 0
T5 474612 36 0 0
T6 1058778 37 0 0
T7 574170 10 0 0
T8 221572 0 0 0
T9 73946 0 0 0
T10 5714 0 0 0
T11 1152888 0 0 0
T12 276438 15 0 0
T13 1921794 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 68866 0 0 0
T46 0 2 0 0

RptrIncrease_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 920901322 3910 0 0
T5 474612 36 0 0
T6 1058778 37 0 0
T7 574170 10 0 0
T8 221572 0 0 0
T9 73946 0 0 0
T10 5714 0 0 0
T11 1152888 0 0 0
T12 276438 15 0 0
T13 1921794 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 68866 0 0 0
T46 0 2 0 0

SramRvalid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 920901322 3910 0 0
T5 474612 36 0 0
T6 1058778 37 0 0
T7 574170 10 0 0
T8 221572 0 0 0
T9 73946 0 0 0
T10 5714 0 0 0
T11 1152888 0 0 0
T12 276438 15 0 0
T13 1921794 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 68866 0 0 0
T46 0 2 0 0

WSramRvalid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 281818004 281818004 0 0
T1 8320 8320 0 0
T2 39734 39734 0 0
T4 83304 83304 0 0
T5 1077740 1077740 0 0
T6 1318590 1318590 0 0
T7 1525322 1525322 0 0
T8 40540 40540 0 0
T9 52094 52094 0 0
T11 285588 285588 0 0
T12 550932 550932 0 0

WidthMatch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1952 1952 0 0
T1 2 2 0 0
T2 2 2 0 0
T3 2 2 0 0
T4 2 2 0 0
T5 2 2 0 0
T6 2 2 0 0
T7 2 2 0 0
T8 2 2 0 0
T9 2 2 0 0
T10 2 2 0 0

WptrGrayOneBitAtATime_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 281818004 3910 0 0
T5 1077740 36 0 0
T6 1318590 37 0 0
T7 1525322 10 0 0
T8 40540 0 0 0
T9 52094 0 0 0
T11 285588 0 0 0
T12 550932 15 0 0
T13 382902 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 123216 0 0 0
T44 85144 0 0 0
T46 0 2 0 0

WptrIncrease_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 281818004 3910 0 0
T5 1077740 36 0 0
T6 1318590 37 0 0
T7 1525322 10 0 0
T8 40540 0 0 0
T9 52094 0 0 0
T11 285588 0 0 0
T12 550932 15 0 0
T13 382902 5 0 0
T14 0 25 0 0
T16 0 43 0 0
T31 0 24 0 0
T32 0 4 0 0
T33 123216 0 0 0
T44 85144 0 0 0
T46 0 2 0 0

Line Coverage for Instance : tb.dut.u_upload.u_cmdfifo
Line No.TotalCoveredPercent
TOTAL8686100.00
CONT_ASSIGN12111100.00
CONT_ASSIGN12311100.00
ALWAYS12666100.00
CONT_ASSIGN13511100.00
CONT_ASSIGN13611100.00
CONT_ASSIGN13811100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15011100.00
CONT_ASSIGN15111100.00
CONT_ASSIGN15311100.00
CONT_ASSIGN16311100.00
CONT_ASSIGN16511100.00
ALWAYS16866100.00
CONT_ASSIGN17711100.00
CONT_ASSIGN17811100.00
CONT_ASSIGN18011100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19211100.00
CONT_ASSIGN19311100.00
CONT_ASSIGN19511100.00
CONT_ASSIGN20111100.00
ALWAYS20444100.00
CONT_ASSIGN21111100.00
CONT_ASSIGN21711100.00
CONT_ASSIGN21811100.00
CONT_ASSIGN21911100.00
CONT_ASSIGN22211100.00
CONT_ASSIGN22411100.00
CONT_ASSIGN22511100.00
CONT_ASSIGN24511100.00
CONT_ASSIGN24711100.00
CONT_ASSIGN24811100.00
CONT_ASSIGN25111100.00
CONT_ASSIGN25211100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN25611100.00
CONT_ASSIGN26011100.00
ALWAYS27044100.00
CONT_ASSIGN29111100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN29911100.00
CONT_ASSIGN30111100.00
CONT_ASSIGN30411100.00
CONT_ASSIGN30811100.00
CONT_ASSIGN32111100.00
ALWAYS32499100.00
ROUTINE34777100.00
ROUTINE36899100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
121 1 1
123 1 1
126 1 1
127 1 1
128 1 1
129 1 1
130 1 1
131 1 1
MISSING_ELSE
135 1 1
136 1 1
138 1 1
149 1 1
150 1 1
151 1 1
153 1 1
163 1 1
165 1 1
168 1 1
169 1 1
170 1 1
171 1 1
172 1 1
173 1 1
MISSING_ELSE
177 1 1
178 1 1
180 1 1
191 1 1
192 1 1
193 1 1
195 1 1
201 1 1
204 1 1
205 1 1
206 1 1
207 1 1
MISSING_ELSE
211 1 1
217 1 1
218 1 1
219 1 1
222 1 1
224 1 1
225 1 1
245 1 1
247 1 1
248 1 1
251 1 1
252 1 1
254 1 1
256 1 1
260 1 1
270 1 1
279 1 1
282 1 1
287 1 1
291 1 1
297 1 1
299 1 1
301 1 1
304 1 1
308 1 1
321 1 1
324 1 1
325 1 1
326 1 1
327 1 1
328 1 1
329 1 1
330 1 1
332 1 1
333 1 1
MISSING_ELSE
347 1 1
349 1 1
352 1 1
353 1 1
356 1 1
357 1 1
360 1 1
368 1 1
369 1 1
370 1 1
372 1 1
373 1 1
374 1 1
376 1 1
377 1 1
379 1 1


Cond Coverage for Instance : tb.dut.u_upload.u_cmdfifo
TotalCoveredPercent
Conditions685175.00
Logical685175.00
Non-Logical00
Event00

 LINE       121
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       153
 EXPRESSION ((w_wptr_p == w_rptr_p) ? (5'((w_wptr_v - w_rptr_v))) : (5'(({1'b1, w_wptr_v} - {1'b0, w_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T14
1CoveredT1,T2,T3

 LINE       153
 SUB-EXPRESSION (w_wptr_p == w_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       195
 EXPRESSION ((r_wptr_p == r_rptr_p) ? (5'((r_wptr_v - r_rptr_v))) : (5'(({1'b1, r_wptr_v} - {1'b0, r_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T14
1CoveredT1,T2,T3

 LINE       195
 SUB-EXPRESSION (r_wptr_p == r_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       211
 EXPRESSION (r_wptr == r_sram_rptr)
            -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       217
 EXPRESSION (w_wptr_q == (w_rptr ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       218
 EXPRESSION (r_wptr == (r_rptr_q ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       219
 EXPRESSION (r_wptr == r_rptr_q)
            ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       247
 EXPRESSION (r_sram_req_o && r_sram_gnt_i)
             ------1-----    ------2-----
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       248
 EXPRESSION (rvalid_o && rready_i)
             ----1---    ----2---
-1--2-StatusTests
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       251
 EXPRESSION (wvalid_i && ((!w_full)))
             ----1---    -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       252
 EXPRESSION (((!w_full)) && w_sram_gnt_i)
             -----1-----    ------2-----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       282
 EXPRESSION (((!r_sramrptr_empty)) && rfifo_ack)
             ----------1----------    ----2----
-1--2-StatusTests
01CoveredT5,T6,T7
10Not Covered
11Not Covered

 LINE       287
 EXPRESSION (((!r_sramrptr_empty)) && ( ! (r_sram_rvalid_i ^ rfifo_ack) ))
             ----------1----------    -----------------2-----------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION ( ! (r_sram_rvalid_i ^ rfifo_ack) )
                    --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION (r_sram_rvalid_i ^ rfifo_ack)
                 -------1-------   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11Not Covered

 LINE       291
 EXPRESSION (stored || r_sram_rvalid_i)
             ---1--    -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7

 LINE       299
 EXPRESSION (r_sram_rvalid_i ? r_sram_rdata_i[0+:Width] : (16'(0)))
             -------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       301
 EXPRESSION (stored ? rdata_q : rdata_d)
             ---1--
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 EXPRESSION (r_sram_rvalid_i && ( ! (stored ^ rfifo_ack) ))
             -------1-------    -------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION ( ! (stored ^ rfifo_ack) )
                    ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION (stored ^ rfifo_ack)
                 ---1--   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       330
 EXPRESSION (((!r_sram_rvalid_i)) && rfifo_ack)
             ----------1---------    ----2----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       349
 EXPRESSION (decval[(PtrW - 1)] ? decval_sub : decval)
             ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T14

 LINE       370
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7
11CoveredT5,T6,T7

Branch Coverage for Instance : tb.dut.u_upload.u_cmdfifo
Line No.TotalCoveredPercent
Branches 27 27 100.00
TERNARY 153 2 2 100.00
TERNARY 195 2 2 100.00
TERNARY 299 2 2 100.00
TERNARY 301 2 2 100.00
IF 126 3 3 100.00
IF 168 3 3 100.00
IF 204 3 3 100.00
IF 279 2 2 100.00
IF 324 4 4 100.00
TERNARY 349 2 2 100.00
IF 373 2 2 100.00

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

LineNo. Expression -1-: 153 ((w_wptr_p == w_rptr_p)) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T5,T6,T14


LineNo. Expression -1-: 195 ((r_wptr_p == r_rptr_p)) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T5,T6,T14


LineNo. Expression -1-: 299 (r_sram_rvalid_i) ?

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


LineNo. Expression -1-: 301 (stored) ?

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


LineNo. Expression -1-: 126 if ((!rst_wr_ni)) -2-: 129 if (w_wptr_inc)

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


LineNo. Expression -1-: 168 if ((!rst_rd_ni)) -2-: 171 if (r_rptr_inc)

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


LineNo. Expression -1-: 204 if ((!rst_rd_ni)) -2-: 206 if (r_sram_rptr_inc)

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


LineNo. Expression -1-: 279 if (stored)

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


LineNo. Expression -1-: 324 if ((!rst_rd_ni)) -2-: 327 if (store_en) -3-: 330 if (((!r_sram_rvalid_i) && rfifo_ack))

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


LineNo. Expression -1-: 349 (decval[(PtrW - 1)]) ?

Branches:
-1-StatusTests
1 Covered T5,T6,T14
0 Covered T1,T2,T3


LineNo. Expression -1-: 373 if (grayval[(PtrW - 1)])

Branches:
-1-StatusTests
1 Covered T5,T6,T14
0 Covered T1,T2,T3


Assert Coverage for Instance : tb.dut.u_upload.u_cmdfifo
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 13 13 100.00 13 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 13 13 100.00 13 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
MinDepth_A 976 976 0 0
NoRAckInEmpty_A 460450661 2233 0 0
NoWAckInFull_A 140909002 2233 0 0
ParamCheckDepth_A 976 976 0 0
RSramRvalidOneCycle_M 460450661 2233 0 0
RptrGrayOneBitAtATime_A 460450661 2233 0 0
RptrIncDataValid_A 460450661 2233 0 0
RptrIncrease_A 460450661 2233 0 0
SramRvalid_A 460450661 2233 0 0
WSramRvalid_A 140909002 140909002 0 0
WidthMatch_A 976 976 0 0
WptrGrayOneBitAtATime_A 140909002 2233 0 0
WptrIncrease_A 140909002 2233 0 0


MinDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 976 976 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

NoRAckInEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 2233 0 0
T5 237306 19 0 0
T6 529389 21 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 9 0 0
T13 960897 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

NoWAckInFull_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 2233 0 0
T5 538870 19 0 0
T6 659295 21 0 0
T7 762661 5 0 0
T8 20270 0 0 0
T9 26047 0 0 0
T11 142794 0 0 0
T12 275466 9 0 0
T13 191451 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 61608 0 0 0
T44 42572 0 0 0
T46 0 1 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 976 976 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

RSramRvalidOneCycle_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 2233 0 0
T5 237306 19 0 0
T6 529389 21 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 9 0 0
T13 960897 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

RptrGrayOneBitAtATime_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 2233 0 0
T5 237306 19 0 0
T6 529389 21 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 9 0 0
T13 960897 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

RptrIncDataValid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 2233 0 0
T5 237306 19 0 0
T6 529389 21 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 9 0 0
T13 960897 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

RptrIncrease_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 2233 0 0
T5 237306 19 0 0
T6 529389 21 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 9 0 0
T13 960897 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

SramRvalid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 2233 0 0
T5 237306 19 0 0
T6 529389 21 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 9 0 0
T13 960897 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

WSramRvalid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 140909002 0 0
T1 4160 4160 0 0
T2 19867 19867 0 0
T4 41652 41652 0 0
T5 538870 538870 0 0
T6 659295 659295 0 0
T7 762661 762661 0 0
T8 20270 20270 0 0
T9 26047 26047 0 0
T11 142794 142794 0 0
T12 275466 275466 0 0

WidthMatch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 976 976 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

WptrGrayOneBitAtATime_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 2233 0 0
T5 538870 19 0 0
T6 659295 21 0 0
T7 762661 5 0 0
T8 20270 0 0 0
T9 26047 0 0 0
T11 142794 0 0 0
T12 275466 9 0 0
T13 191451 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 61608 0 0 0
T44 42572 0 0 0
T46 0 1 0 0

WptrIncrease_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 2233 0 0
T5 538870 19 0 0
T6 659295 21 0 0
T7 762661 5 0 0
T8 20270 0 0 0
T9 26047 0 0 0
T11 142794 0 0 0
T12 275466 9 0 0
T13 191451 4 0 0
T14 0 16 0 0
T16 0 26 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 61608 0 0 0
T44 42572 0 0 0
T46 0 1 0 0

Line Coverage for Instance : tb.dut.u_upload.u_addrfifo
Line No.TotalCoveredPercent
TOTAL8585100.00
CONT_ASSIGN12111100.00
CONT_ASSIGN12311100.00
ALWAYS12666100.00
CONT_ASSIGN13511100.00
CONT_ASSIGN13611100.00
CONT_ASSIGN13811100.00
CONT_ASSIGN14911100.00
CONT_ASSIGN15011100.00
CONT_ASSIGN15111100.00
CONT_ASSIGN15311100.00
CONT_ASSIGN16311100.00
CONT_ASSIGN16511100.00
ALWAYS16866100.00
CONT_ASSIGN17711100.00
CONT_ASSIGN17811100.00
CONT_ASSIGN18011100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19211100.00
CONT_ASSIGN19311100.00
CONT_ASSIGN19511100.00
CONT_ASSIGN20111100.00
ALWAYS20444100.00
CONT_ASSIGN21111100.00
CONT_ASSIGN21711100.00
CONT_ASSIGN21811100.00
CONT_ASSIGN21911100.00
CONT_ASSIGN22211100.00
CONT_ASSIGN22411100.00
CONT_ASSIGN22511100.00
CONT_ASSIGN24511100.00
CONT_ASSIGN24711100.00
CONT_ASSIGN24811100.00
CONT_ASSIGN25111100.00
CONT_ASSIGN25211100.00
CONT_ASSIGN25411100.00
CONT_ASSIGN25611100.00
CONT_ASSIGN26011100.00
ALWAYS27044100.00
CONT_ASSIGN29111100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN29911100.00
CONT_ASSIGN30111100.00
CONT_ASSIGN30411100.00
CONT_ASSIGN32111100.00
ALWAYS32499100.00
ROUTINE34777100.00
ROUTINE36899100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async_sram_adapter.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
121 1 1
123 1 1
126 1 1
127 1 1
128 1 1
129 1 1
130 1 1
131 1 1
MISSING_ELSE
135 1 1
136 1 1
138 1 1
149 1 1
150 1 1
151 1 1
153 1 1
163 1 1
165 1 1
168 1 1
169 1 1
170 1 1
171 1 1
172 1 1
173 1 1
MISSING_ELSE
177 1 1
178 1 1
180 1 1
191 1 1
192 1 1
193 1 1
195 1 1
201 1 1
204 1 1
205 1 1
206 1 1
207 1 1
MISSING_ELSE
211 1 1
217 1 1
218 1 1
219 1 1
222 1 1
224 1 1
225 1 1
245 1 1
247 1 1
248 1 1
251 1 1
252 1 1
254 1 1
256 1 1
260 1 1
270 1 1
279 1 1
282 1 1
287 1 1
291 1 1
297 1 1
299 1 1
301 1 1
304 1 1
321 1 1
324 1 1
325 1 1
326 1 1
327 1 1
328 1 1
329 1 1
330 1 1
332 1 1
333 1 1
MISSING_ELSE
347 1 1
349 1 1
352 1 1
353 1 1
356 1 1
357 1 1
360 1 1
368 1 1
369 1 1
370 1 1
372 1 1
373 1 1
374 1 1
376 1 1
377 1 1
379 1 1


Cond Coverage for Instance : tb.dut.u_upload.u_addrfifo
TotalCoveredPercent
Conditions685175.00
Logical685175.00
Non-Logical00
Event00

 LINE       121
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       153
 EXPRESSION ((w_wptr_p == w_rptr_p) ? (5'((w_wptr_v - w_rptr_v))) : (5'(({1'b1, w_wptr_v} - {1'b0, w_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T77
1CoveredT1,T2,T3

 LINE       153
 SUB-EXPRESSION (w_wptr_p == w_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       195
 EXPRESSION ((r_wptr_p == r_rptr_p) ? (5'((r_wptr_v - r_rptr_v))) : (5'(({1'b1, r_wptr_v} - {1'b0, r_rptr_v}))))
             -----------1----------
-1-StatusTests
0CoveredT5,T6,T77
1CoveredT1,T2,T3

 LINE       195
 SUB-EXPRESSION (r_wptr_p == r_rptr_p)
                -----------1----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       211
 EXPRESSION (r_wptr == r_sram_rptr)
            -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       217
 EXPRESSION (w_wptr_q == (w_rptr ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       218
 EXPRESSION (r_wptr == (r_rptr_q ^ XorMask))
            ----------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       219
 EXPRESSION (r_wptr == r_rptr_q)
            ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       247
 EXPRESSION (r_sram_req_o && r_sram_gnt_i)
             ------1-----    ------2-----
-1--2-StatusTests
01Not Covered
10Not Covered
11CoveredT5,T6,T7

 LINE       248
 EXPRESSION (rvalid_o && rready_i)
             ----1---    ----2---
-1--2-StatusTests
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       251
 EXPRESSION (wvalid_i && ((!w_full)))
             ----1---    -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       252
 EXPRESSION (((!w_full)) && w_sram_gnt_i)
             -----1-----    ------2-----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       282
 EXPRESSION (((!r_sramrptr_empty)) && rfifo_ack)
             ----------1----------    ----2----
-1--2-StatusTests
01CoveredT5,T6,T7
10Not Covered
11Not Covered

 LINE       287
 EXPRESSION (((!r_sramrptr_empty)) && ( ! (r_sram_rvalid_i ^ rfifo_ack) ))
             ----------1----------    -----------------2-----------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION ( ! (r_sram_rvalid_i ^ rfifo_ack) )
                    --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       287
 SUB-EXPRESSION (r_sram_rvalid_i ^ rfifo_ack)
                 -------1-------   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11Not Covered

 LINE       291
 EXPRESSION (stored || r_sram_rvalid_i)
             ---1--    -------2-------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7

 LINE       299
 EXPRESSION (r_sram_rvalid_i ? r_sram_rdata_i[0+:Width] : (32'(0)))
             -------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       301
 EXPRESSION (stored ? rdata_q : rdata_d)
             ---1--
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 EXPRESSION (r_sram_rvalid_i && ( ! (stored ^ rfifo_ack) ))
             -------1-------    -------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION ( ! (stored ^ rfifo_ack) )
                    ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T7

 LINE       321
 SUB-EXPRESSION (stored ^ rfifo_ack)
                 ---1--   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT5,T6,T7
11CoveredT5,T6,T7

 LINE       330
 EXPRESSION (((!r_sram_rvalid_i)) && rfifo_ack)
             ----------1---------    ----2----
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT5,T6,T7

 LINE       349
 EXPRESSION (decval[(PtrW - 1)] ? decval_sub : decval)
             ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T6,T77

 LINE       370
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T6,T7
10CoveredT5,T6,T7
11CoveredT5,T6,T7

Branch Coverage for Instance : tb.dut.u_upload.u_addrfifo
Line No.TotalCoveredPercent
Branches 27 27 100.00
TERNARY 153 2 2 100.00
TERNARY 195 2 2 100.00
TERNARY 299 2 2 100.00
TERNARY 301 2 2 100.00
IF 126 3 3 100.00
IF 168 3 3 100.00
IF 204 3 3 100.00
IF 279 2 2 100.00
IF 324 4 4 100.00
TERNARY 349 2 2 100.00
IF 373 2 2 100.00

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

LineNo. Expression -1-: 153 ((w_wptr_p == w_rptr_p)) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T5,T6,T77


LineNo. Expression -1-: 195 ((r_wptr_p == r_rptr_p)) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T5,T6,T77


LineNo. Expression -1-: 299 (r_sram_rvalid_i) ?

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


LineNo. Expression -1-: 301 (stored) ?

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


LineNo. Expression -1-: 126 if ((!rst_wr_ni)) -2-: 129 if (w_wptr_inc)

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


LineNo. Expression -1-: 168 if ((!rst_rd_ni)) -2-: 171 if (r_rptr_inc)

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


LineNo. Expression -1-: 204 if ((!rst_rd_ni)) -2-: 206 if (r_sram_rptr_inc)

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


LineNo. Expression -1-: 279 if (stored)

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


LineNo. Expression -1-: 324 if ((!rst_rd_ni)) -2-: 327 if (store_en) -3-: 330 if (((!r_sram_rvalid_i) && rfifo_ack))

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


LineNo. Expression -1-: 349 (decval[(PtrW - 1)]) ?

Branches:
-1-StatusTests
1 Covered T5,T6,T77
0 Covered T1,T2,T3


LineNo. Expression -1-: 373 if (grayval[(PtrW - 1)])

Branches:
-1-StatusTests
1 Covered T5,T6,T77
0 Covered T1,T2,T3


Assert Coverage for Instance : tb.dut.u_upload.u_addrfifo
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 13 13 100.00 13 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 13 13 100.00 13 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
MinDepth_A 976 976 0 0
NoRAckInEmpty_A 460450661 1677 0 0
NoWAckInFull_A 140909002 1677 0 0
ParamCheckDepth_A 976 976 0 0
RSramRvalidOneCycle_M 460450661 1677 0 0
RptrGrayOneBitAtATime_A 460450661 1677 0 0
RptrIncDataValid_A 460450661 1677 0 0
RptrIncrease_A 460450661 1677 0 0
SramRvalid_A 460450661 1677 0 0
WSramRvalid_A 140909002 140909002 0 0
WidthMatch_A 976 976 0 0
WptrGrayOneBitAtATime_A 140909002 1677 0 0
WptrIncrease_A 140909002 1677 0 0


MinDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 976 976 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

NoRAckInEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 1677 0 0
T5 237306 17 0 0
T6 529389 16 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 6 0 0
T13 960897 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

NoWAckInFull_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 1677 0 0
T5 538870 17 0 0
T6 659295 16 0 0
T7 762661 5 0 0
T8 20270 0 0 0
T9 26047 0 0 0
T11 142794 0 0 0
T12 275466 6 0 0
T13 191451 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 61608 0 0 0
T44 42572 0 0 0
T46 0 1 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 976 976 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

RSramRvalidOneCycle_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 1677 0 0
T5 237306 17 0 0
T6 529389 16 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 6 0 0
T13 960897 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

RptrGrayOneBitAtATime_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 1677 0 0
T5 237306 17 0 0
T6 529389 16 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 6 0 0
T13 960897 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

RptrIncDataValid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 1677 0 0
T5 237306 17 0 0
T6 529389 16 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 6 0 0
T13 960897 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

RptrIncrease_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 1677 0 0
T5 237306 17 0 0
T6 529389 16 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 6 0 0
T13 960897 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

SramRvalid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 460450661 1677 0 0
T5 237306 17 0 0
T6 529389 16 0 0
T7 287085 5 0 0
T8 110786 0 0 0
T9 36973 0 0 0
T10 2857 0 0 0
T11 576444 0 0 0
T12 138219 6 0 0
T13 960897 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 34433 0 0 0
T46 0 1 0 0

WSramRvalid_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 140909002 0 0
T1 4160 4160 0 0
T2 19867 19867 0 0
T4 41652 41652 0 0
T5 538870 538870 0 0
T6 659295 659295 0 0
T7 762661 762661 0 0
T8 20270 20270 0 0
T9 26047 26047 0 0
T11 142794 142794 0 0
T12 275466 275466 0 0

WidthMatch_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 976 976 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

WptrGrayOneBitAtATime_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 1677 0 0
T5 538870 17 0 0
T6 659295 16 0 0
T7 762661 5 0 0
T8 20270 0 0 0
T9 26047 0 0 0
T11 142794 0 0 0
T12 275466 6 0 0
T13 191451 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 61608 0 0 0
T44 42572 0 0 0
T46 0 1 0 0

WptrIncrease_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 140909002 1677 0 0
T5 538870 17 0 0
T6 659295 16 0 0
T7 762661 5 0 0
T8 20270 0 0 0
T9 26047 0 0 0
T11 142794 0 0 0
T12 275466 6 0 0
T13 191451 1 0 0
T14 0 9 0 0
T16 0 17 0 0
T31 0 12 0 0
T32 0 2 0 0
T33 61608 0 0 0
T44 42572 0 0 0
T46 0 1 0 0

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