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



Module Instance : tb.dut.u_spid_status.u_sw_status_update_sync

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
92.92 100.00 80.00 91.67 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
93.44 100.00 80.00 93.75 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
99.31 100.00 100.00 97.22 100.00 u_spid_status


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
sync_rptr 100.00 100.00 100.00
sync_wptr 100.00 100.00 100.00



Module Instance : tb.dut.u_spi_tpm.u_cmdaddr_buffer

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.08 100.00 92.31 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.08 100.00 92.31 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
95.87 99.52 93.66 91.67 94.50 100.00 u_spi_tpm


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
sync_rptr 100.00 100.00 100.00
sync_wptr 100.00 100.00 100.00



Module Instance : tb.dut.u_spi_tpm.u_wrfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.44 100.00 93.75 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.44 100.00 93.75 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
95.87 99.52 93.66 91.67 94.50 100.00 u_spi_tpm


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
sync_rptr 100.00 100.00 100.00
sync_wptr 100.00 100.00 100.00



Module Instance : tb.dut.u_spi_tpm.u_rdfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.44 100.00 93.75 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.44 100.00 93.75 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
95.87 99.52 93.66 91.67 94.50 100.00 u_spi_tpm


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
sync_rptr 100.00 100.00 100.00
sync_wptr 100.00 100.00 100.00

Line Coverage for Module : prim_fifo_async ( parameter Width=24,Depth=2,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=2,PTRV_W=1,PTR_WIDTH=2 + Width=32,Depth=2,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=2,PTRV_W=1,PTR_WIDTH=2 )
Line Coverage for Module self-instances :
SCORELINE
92.92 100.00
tb.dut.u_spid_status.u_sw_status_update_sync

SCORELINE
98.08 100.00
tb.dut.u_spi_tpm.u_cmdaddr_buffer

Line No.TotalCoveredPercent
TOTAL4646100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
CONT_ASSIGN27611100.00
CONT_ASSIGN27711100.00
CONT_ASSIGN27911100.00
CONT_ASSIGN28011100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
276 1 1
277 1 1
279 1 1
280 1 1


Line Coverage for Module : prim_fifo_async ( parameter Width=8,Depth=64,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=7,PTRV_W=6,PTR_WIDTH=7 )
Line Coverage for Module self-instances :
SCORELINE
98.44 100.00
tb.dut.u_spi_tpm.u_wrfifo

Line No.TotalCoveredPercent
TOTAL6262100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
ROUTINE23077100.00
ROUTINE25199100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26911100.00
CONT_ASSIGN27111100.00
CONT_ASSIGN27211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
230 1 1
232 1 1
235 1 1
236 1 1
239 1 1
240 1 1
243 1 1
251 1 1
252 1 1
253 1 1
255 1 1
256 1 1
257 1 1
259 1 1
260 1 1
262 1 1
267 1 1
269 1 1
271 1 1
272 1 1


Line Coverage for Module : prim_fifo_async ( parameter Width=32,Depth=16,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=5,PTRV_W=4,PTR_WIDTH=5 )
Line Coverage for Module self-instances :
SCORELINE
98.44 100.00
tb.dut.u_spi_tpm.u_rdfifo

Line No.TotalCoveredPercent
TOTAL6262100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
ROUTINE23077100.00
ROUTINE25199100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26911100.00
CONT_ASSIGN27111100.00
CONT_ASSIGN27211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
230 1 1
232 1 1
235 1 1
236 1 1
239 1 1
240 1 1
243 1 1
251 1 1
252 1 1
253 1 1
255 1 1
256 1 1
257 1 1
259 1 1
260 1 1
262 1 1
267 1 1
269 1 1
271 1 1
272 1 1


Cond Coverage for Module : prim_fifo_async ( parameter Width=24,Depth=2,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=2,PTRV_W=1,PTR_WIDTH=2 )
Cond Coverage for Module self-instances :
SCORECOND
92.92 80.00
tb.dut.u_spid_status.u_sw_status_update_sync

TotalCoveredPercent
Conditions252080.00
Logical252080.00
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T4

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Unreachable
11CoveredT1,T3,T4

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (2'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (2'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

Cond Coverage for Module : prim_fifo_async ( parameter Width=8,Depth=64,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=7,PTRV_W=6,PTR_WIDTH=7 )
Cond Coverage for Module self-instances :
SCORECOND
98.44 93.75
tb.dut.u_spi_tpm.u_wrfifo

TotalCoveredPercent
Conditions323093.75
Logical323093.75
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T11

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T3,T11
11CoveredT1,T3,T11

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (7'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((7'(g_depth_calc.wptr_value) - 7'(g_depth_calc.rptr_sync_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_sync_value)) + 7'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((7'(g_depth_calc.wptr_value) - 7'(g_depth_calc.rptr_sync_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_sync_value)) + 7'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (7'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((7'(g_depth_calc.wptr_sync_value) - 7'(g_depth_calc.rptr_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_value)) + 7'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((7'(g_depth_calc.wptr_sync_value) - 7'(g_depth_calc.rptr_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_value)) + 7'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       232
 EXPRESSION (decval[(PTR_WIDTH - 1)] ? decval_sub : decval)
             -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       253
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T3,T11
10CoveredT1,T3,T11
11CoveredT1,T3,T11

Cond Coverage for Module : prim_fifo_async ( parameter Width=32,Depth=2,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=2,PTRV_W=1,PTR_WIDTH=2 )
Cond Coverage for Module self-instances :
SCORECOND
98.08 92.31
tb.dut.u_spi_tpm.u_cmdaddr_buffer

TotalCoveredPercent
Conditions262492.31
Logical262492.31
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T11

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T3,T11
11CoveredT1,T3,T11

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (2'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (2'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

Cond Coverage for Module : prim_fifo_async ( parameter Width=32,Depth=16,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=5,PTRV_W=4,PTR_WIDTH=5 )
Cond Coverage for Module self-instances :
SCORECOND
98.44 93.75
tb.dut.u_spi_tpm.u_rdfifo

TotalCoveredPercent
Conditions323093.75
Logical323093.75
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T11

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T3,T11
11CoveredT1,T3,T11

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (5'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((5'(g_depth_calc.wptr_value) - 5'(g_depth_calc.rptr_sync_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_sync_value)) + 5'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((5'(g_depth_calc.wptr_value) - 5'(g_depth_calc.rptr_sync_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_sync_value)) + 5'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (5'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((5'(g_depth_calc.wptr_sync_value) - 5'(g_depth_calc.rptr_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_value)) + 5'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((5'(g_depth_calc.wptr_sync_value) - 5'(g_depth_calc.rptr_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_value)) + 5'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       232
 EXPRESSION (decval[(PTR_WIDTH - 1)] ? decval_sub : decval)
             -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       253
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T3,T11
10CoveredT1,T3,T11
11CoveredT1,T3,T11

Branch Coverage for Module : prim_fifo_async ( parameter Width=24,Depth=2,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=2,PTRV_W=1,PTR_WIDTH=2 + Width=32,Depth=2,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=2,PTRV_W=1,PTR_WIDTH=2 )
Branch Coverage for Module self-instances :
SCOREBRANCH
92.92 91.67
tb.dut.u_spid_status.u_sw_status_update_sync

SCOREBRANCH
98.08 100.00
tb.dut.u_spi_tpm.u_cmdaddr_buffer

Line No.TotalCoveredPercent
Branches 24 24 100.00
TERNARY 146 3 3 100.00
TERNARY 160 3 3 100.00
TERNARY 207 2 2 100.00
IF 59 3 3 100.00
IF 68 3 3 100.00
IF 92 3 3 100.00
IF 101 3 3 100.00
IF 117 2 2 100.00
IF 182 2 2 100.00

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

LineNo. Expression -1-: 146 (full_wclk) ? -2-: 146 ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)) ?

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


LineNo. Expression -1-: 160 (full_rclk) ? -2-: 160 ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)) ?

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


LineNo. Expression -1-: 207 (empty_rclk) ?

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


LineNo. Expression -1-: 59 if ((!rst_wr_ni)) -2-: 61 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 68 if ((!rst_wr_ni)) -2-: 70 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 92 if ((!rst_rd_ni)) -2-: 94 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 101 if ((!rst_rd_ni)) -2-: 103 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 117 if ((!rst_wr_ni))

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


LineNo. Expression -1-: 182 if (fifo_incr_wptr)

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


Branch Coverage for Module : prim_fifo_async ( parameter Width=8,Depth=64,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=7,PTRV_W=6,PTR_WIDTH=7 + Width=32,Depth=16,OutputZeroIfEmpty=1,OutputZeroIfInvalid=0,DepthW=5,PTRV_W=4,PTR_WIDTH=5 )
Branch Coverage for Module self-instances :
SCOREBRANCH
98.44 100.00
tb.dut.u_spi_tpm.u_wrfifo

SCOREBRANCH
98.44 100.00
tb.dut.u_spi_tpm.u_rdfifo

Line No.TotalCoveredPercent
Branches 28 28 100.00
TERNARY 146 3 3 100.00
TERNARY 160 3 3 100.00
TERNARY 207 2 2 100.00
IF 59 3 3 100.00
IF 68 3 3 100.00
IF 92 3 3 100.00
IF 101 3 3 100.00
IF 117 2 2 100.00
IF 182 2 2 100.00
TERNARY 232 2 2 100.00
IF 256 2 2 100.00

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

LineNo. Expression -1-: 146 (full_wclk) ? -2-: 146 ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)) ?

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


LineNo. Expression -1-: 160 (full_rclk) ? -2-: 160 ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)) ?

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


LineNo. Expression -1-: 207 (empty_rclk) ?

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


LineNo. Expression -1-: 59 if ((!rst_wr_ni)) -2-: 61 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 68 if ((!rst_wr_ni)) -2-: 70 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 92 if ((!rst_rd_ni)) -2-: 94 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 101 if ((!rst_rd_ni)) -2-: 103 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 117 if ((!rst_wr_ni))

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


LineNo. Expression -1-: 182 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 232 (decval[(PTR_WIDTH - 1)]) ?

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


LineNo. Expression -1-: 256 if (grayval[(PTR_WIDTH - 1)])

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


Assert Coverage for Module : prim_fifo_async
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
GrayRptr_A 1596605441 1444760456 0 0
GrayWptr_A 1596604534 1081409109 0 0
ParamCheckDepth_A 3728 3728 0 0


GrayRptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1596605441 1444760456 0 0
T1 2074953 1654164 0 0
T2 2929 2734 0 0
T3 2203383 1750776 0 0
T4 97573 76715 0 0
T5 145995 111939 0 0
T6 2269 2118 0 0
T7 269715 164929 0 0
T8 782449 739358 0 0
T9 116441 79955 0 0
T10 760149 712795 0 0
T11 0 109858 0 0
T12 242638 242637 0 0
T14 86419 166422 0 0
T15 0 3401 0 0
T16 0 222474 0 0
T17 0 42636 0 0
T18 0 371003 0 0
T25 0 63805 0 0
T62 0 48551 0 0

GrayWptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1596604534 1081409109 0 0
T1 2074952 1878430 0 0
T2 2928 1460 0 0
T3 2203382 1924481 0 0
T4 97572 69484 0 0
T5 145994 106764 0 0
T6 2268 1059 0 0
T7 269714 239411 0 0
T8 782448 434107 0 0
T9 116440 94495 0 0
T10 760148 427124 0 0
T11 0 772382 0 0
T12 485276 485274 0 0
T13 0 375 0 0
T14 172838 252663 0 0
T15 0 23934 0 0
T16 0 222151 0 0
T17 0 342803 0 0
T18 0 92287 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 3728 3728 0 0
T1 4 4 0 0
T2 4 4 0 0
T3 4 4 0 0
T4 4 4 0 0
T5 4 4 0 0
T6 4 4 0 0
T7 4 4 0 0
T8 4 4 0 0
T9 4 4 0 0
T10 4 4 0 0

Line Coverage for Instance : tb.dut.u_spid_status.u_sw_status_update_sync
Line No.TotalCoveredPercent
TOTAL4646100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
CONT_ASSIGN27611100.00
CONT_ASSIGN27711100.00
CONT_ASSIGN27911100.00
CONT_ASSIGN28011100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
276 1 1
277 1 1
279 1 1
280 1 1


Cond Coverage for Instance : tb.dut.u_spid_status.u_sw_status_update_sync
TotalCoveredPercent
Conditions252080.00
Logical252080.00
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T4

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Unreachable
11CoveredT1,T3,T4

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (2'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (2'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T4
1CoveredT1,T2,T3

Branch Coverage for Instance : tb.dut.u_spid_status.u_sw_status_update_sync
Line No.TotalCoveredPercent
Branches 24 22 91.67
TERNARY 146 3 2 66.67
TERNARY 160 3 2 66.67
TERNARY 207 2 2 100.00
IF 59 3 3 100.00
IF 68 3 3 100.00
IF 92 3 3 100.00
IF 101 3 3 100.00
IF 117 2 2 100.00
IF 182 2 2 100.00

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

LineNo. Expression -1-: 146 (full_wclk) ? -2-: 146 ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)) ?

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


LineNo. Expression -1-: 160 (full_rclk) ? -2-: 160 ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)) ?

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


LineNo. Expression -1-: 207 (empty_rclk) ?

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


LineNo. Expression -1-: 59 if ((!rst_wr_ni)) -2-: 61 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 68 if ((!rst_wr_ni)) -2-: 70 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 92 if ((!rst_rd_ni)) -2-: 94 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 101 if ((!rst_rd_ni)) -2-: 103 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 117 if ((!rst_wr_ni))

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


LineNo. Expression -1-: 182 if (fifo_incr_wptr)

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


Assert Coverage for Instance : tb.dut.u_spid_status.u_sw_status_update_sync
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
GrayRptr_A 194637787 194636986 0 0
GrayWptr_A 603664480 603580655 0 0
ParamCheckDepth_A 932 932 0 0


GrayRptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 194637787 194636986 0 0
T1 757310 757309 0 0
T3 699656 699655 0 0
T4 20752 20751 0 0
T5 33864 33863 0 0
T7 104632 104631 0 0
T8 42953 42952 0 0
T9 36346 36345 0 0
T10 47152 47151 0 0
T12 242638 242637 0 0
T14 86419 86418 0 0

GrayWptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 603664480 603580655 0 0
T1 280166 280110 0 0
T2 1464 1367 0 0
T3 402035 401981 0 0
T4 28034 27982 0 0
T5 39133 39038 0 0
T6 1134 1059 0 0
T7 30225 30149 0 0
T8 348271 348203 0 0
T9 21874 21805 0 0
T10 332922 332822 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 932 932 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_spi_tpm.u_cmdaddr_buffer
Line No.TotalCoveredPercent
TOTAL4646100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
CONT_ASSIGN27611100.00
CONT_ASSIGN27711100.00
CONT_ASSIGN27911100.00
CONT_ASSIGN28011100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
276 1 1
277 1 1
279 1 1
280 1 1


Cond Coverage for Instance : tb.dut.u_spi_tpm.u_cmdaddr_buffer
TotalCoveredPercent
Conditions262492.31
Logical262492.31
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T11

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T3,T11
11CoveredT1,T3,T11

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (2'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((2'(g_depth_calc.wptr_value) - 2'(g_depth_calc.rptr_sync_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_sync_value)) + 2'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (2'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((2'(g_depth_calc.wptr_sync_value) - 2'(g_depth_calc.rptr_value))) : (((2'(Depth) - 2'(g_depth_calc.rptr_value)) + 2'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

Branch Coverage for Instance : tb.dut.u_spi_tpm.u_cmdaddr_buffer
Line No.TotalCoveredPercent
Branches 24 24 100.00
TERNARY 146 3 3 100.00
TERNARY 160 3 3 100.00
TERNARY 207 2 2 100.00
IF 59 3 3 100.00
IF 68 3 3 100.00
IF 92 3 3 100.00
IF 101 3 3 100.00
IF 117 2 2 100.00
IF 182 2 2 100.00

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

LineNo. Expression -1-: 146 (full_wclk) ? -2-: 146 ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)) ?

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


LineNo. Expression -1-: 160 (full_rclk) ? -2-: 160 ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)) ?

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


LineNo. Expression -1-: 207 (empty_rclk) ?

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


LineNo. Expression -1-: 59 if ((!rst_wr_ni)) -2-: 61 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 68 if ((!rst_wr_ni)) -2-: 70 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 92 if ((!rst_rd_ni)) -2-: 94 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 101 if ((!rst_rd_ni)) -2-: 103 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 117 if ((!rst_wr_ni))

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


LineNo. Expression -1-: 182 if (fifo_incr_wptr)

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


Assert Coverage for Instance : tb.dut.u_spi_tpm.u_cmdaddr_buffer
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
GrayRptr_A 603664480 603580655 0 0
GrayWptr_A 194637787 194636986 0 0
ParamCheckDepth_A 932 932 0 0


GrayRptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 603664480 603580655 0 0
T1 280166 280110 0 0
T2 1464 1367 0 0
T3 402035 401981 0 0
T4 28034 27982 0 0
T5 39133 39038 0 0
T6 1134 1059 0 0
T7 30225 30149 0 0
T8 348271 348203 0 0
T9 21874 21805 0 0
T10 332922 332822 0 0

GrayWptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 194637787 194636986 0 0
T1 757310 757309 0 0
T3 699656 699655 0 0
T4 20752 20751 0 0
T5 33864 33863 0 0
T7 104632 104631 0 0
T8 42953 42952 0 0
T9 36346 36345 0 0
T10 47152 47151 0 0
T12 242638 242637 0 0
T14 86419 86418 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 932 932 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_spi_tpm.u_wrfifo
Line No.TotalCoveredPercent
TOTAL6262100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
ROUTINE23077100.00
ROUTINE25199100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26911100.00
CONT_ASSIGN27111100.00
CONT_ASSIGN27211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
230 1 1
232 1 1
235 1 1
236 1 1
239 1 1
240 1 1
243 1 1
251 1 1
252 1 1
253 1 1
255 1 1
256 1 1
257 1 1
259 1 1
260 1 1
262 1 1
267 1 1
269 1 1
271 1 1
272 1 1


Cond Coverage for Instance : tb.dut.u_spi_tpm.u_wrfifo
TotalCoveredPercent
Conditions323093.75
Logical323093.75
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T11

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T3,T11
11CoveredT1,T3,T11

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (7'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((7'(g_depth_calc.wptr_value) - 7'(g_depth_calc.rptr_sync_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_sync_value)) + 7'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((7'(g_depth_calc.wptr_value) - 7'(g_depth_calc.rptr_sync_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_sync_value)) + 7'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (7'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((7'(g_depth_calc.wptr_sync_value) - 7'(g_depth_calc.rptr_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_value)) + 7'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T16

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((7'(g_depth_calc.wptr_sync_value) - 7'(g_depth_calc.rptr_value))) : (((7'(Depth) - 7'(g_depth_calc.rptr_value)) + 7'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       232
 EXPRESSION (decval[(PTR_WIDTH - 1)] ? decval_sub : decval)
             -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       253
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T3,T11
10CoveredT1,T3,T11
11CoveredT1,T3,T11

Branch Coverage for Instance : tb.dut.u_spi_tpm.u_wrfifo
Line No.TotalCoveredPercent
Branches 28 28 100.00
TERNARY 146 3 3 100.00
TERNARY 160 3 3 100.00
TERNARY 207 2 2 100.00
IF 59 3 3 100.00
IF 68 3 3 100.00
IF 92 3 3 100.00
IF 101 3 3 100.00
IF 117 2 2 100.00
IF 182 2 2 100.00
TERNARY 232 2 2 100.00
IF 256 2 2 100.00

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

LineNo. Expression -1-: 146 (full_wclk) ? -2-: 146 ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)) ?

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


LineNo. Expression -1-: 160 (full_rclk) ? -2-: 160 ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)) ?

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


LineNo. Expression -1-: 207 (empty_rclk) ?

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


LineNo. Expression -1-: 59 if ((!rst_wr_ni)) -2-: 61 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 68 if ((!rst_wr_ni)) -2-: 70 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 92 if ((!rst_rd_ni)) -2-: 94 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 101 if ((!rst_rd_ni)) -2-: 103 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 117 if ((!rst_wr_ni))

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


LineNo. Expression -1-: 182 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 232 (decval[(PTR_WIDTH - 1)]) ?

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


LineNo. Expression -1-: 256 if (grayval[(PTR_WIDTH - 1)])

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


Assert Coverage for Instance : tb.dut.u_spi_tpm.u_wrfifo
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
GrayRptr_A 603664480 603580655 0 0
GrayWptr_A 194637787 194636986 0 0
ParamCheckDepth_A 932 932 0 0


GrayRptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 603664480 603580655 0 0
T1 280166 280110 0 0
T2 1464 1367 0 0
T3 402035 401981 0 0
T4 28034 27982 0 0
T5 39133 39038 0 0
T6 1134 1059 0 0
T7 30225 30149 0 0
T8 348271 348203 0 0
T9 21874 21805 0 0
T10 332922 332822 0 0

GrayWptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 194637787 194636986 0 0
T1 757310 757309 0 0
T3 699656 699655 0 0
T4 20752 20751 0 0
T5 33864 33863 0 0
T7 104632 104631 0 0
T8 42953 42952 0 0
T9 36346 36345 0 0
T10 47152 47151 0 0
T12 242638 242637 0 0
T14 86419 86418 0 0

ParamCheckDepth_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 932 932 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_spi_tpm.u_rdfifo
Line No.TotalCoveredPercent
TOTAL6262100.00
CONT_ASSIGN5311100.00
CONT_ASSIGN5611100.00
ALWAYS5944100.00
ALWAYS6844100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8911100.00
ALWAYS9244100.00
ALWAYS10144100.00
ALWAYS11733100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
CONT_ASSIGN13211100.00
CONT_ASSIGN14211100.00
CONT_ASSIGN14311100.00
CONT_ASSIGN14411100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN15611100.00
CONT_ASSIGN15711100.00
CONT_ASSIGN15811100.00
CONT_ASSIGN15911100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17111100.00
CONT_ASSIGN17211100.00
ALWAYS18222100.00
CONT_ASSIGN18711100.00
CONT_ASSIGN20711100.00
ROUTINE23077100.00
ROUTINE25199100.00
CONT_ASSIGN26711100.00
CONT_ASSIGN26911100.00
CONT_ASSIGN27111100.00
CONT_ASSIGN27211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_async.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
56 1 1
59 1 1
60 1 1
61 1 1
62 1 1
MISSING_ELSE
68 1 1
69 1 1
70 1 1
71 1 1
MISSING_ELSE
86 1 1
89 1 1
92 1 1
93 1 1
94 1 1
95 1 1
MISSING_ELSE
101 1 1
102 1 1
103 1 1
104 1 1
MISSING_ELSE
117 1 1
118 1 1
120 1 1
130 1 1
131 1 1
132 1 1
142 1 1
143 1 1
144 1 1
145 1 1
146 1 1
156 1 1
157 1 1
158 1 1
159 1 1
160 1 1
171 1 1
172 1 1
182 1 1
183 1 1
MISSING_ELSE
187 1 1
207 1 1
230 1 1
232 1 1
235 1 1
236 1 1
239 1 1
240 1 1
243 1 1
251 1 1
252 1 1
253 1 1
255 1 1
256 1 1
257 1 1
259 1 1
260 1 1
262 1 1
267 1 1
269 1 1
271 1 1
272 1 1


Cond Coverage for Instance : tb.dut.u_spi_tpm.u_rdfifo
TotalCoveredPercent
Conditions323093.75
Logical323093.75
Non-Logical00
Event00

 LINE       53
 EXPRESSION (wvalid_i & wready_o)
             ----1---   ----2---
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT1,T3,T11

 LINE       86
 EXPRESSION (rvalid_o & rready_i)
             ----1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT1,T3,T11
11CoveredT1,T3,T11

 LINE       130
 EXPRESSION (fifo_wptr_q == (fifo_rptr_sync_q ^ xor_mask))
            -----------------------1----------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       131
 EXPRESSION (fifo_wptr_sync_combi == (fifo_rptr_q ^ xor_mask))
            -------------------------1------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       132
 EXPRESSION (fifo_wptr_sync_combi == fifo_rptr_q)
            ------------------1------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       146
 EXPRESSION 
 Number  Term
      1  full_wclk ? (5'(Depth)) : ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((5'(g_depth_calc.wptr_value) - 5'(g_depth_calc.rptr_sync_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_sync_value)) + 5'(g_depth_calc.wptr_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       146
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb) ? ((5'(g_depth_calc.wptr_value) - 5'(g_depth_calc.rptr_sync_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_sync_value)) + 5'(g_depth_calc.wptr_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       146
 SUB-EXPRESSION (g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 EXPRESSION 
 Number  Term
      1  full_rclk ? (5'(Depth)) : ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((5'(g_depth_calc.wptr_sync_value) - 5'(g_depth_calc.rptr_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_value)) + 5'(g_depth_calc.wptr_sync_value)))))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       160
 SUB-EXPRESSION 
 Number  Term
      1  (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb) ? ((5'(g_depth_calc.wptr_sync_value) - 5'(g_depth_calc.rptr_value))) : (((5'(Depth) - 5'(g_depth_calc.rptr_value)) + 5'(g_depth_calc.wptr_sync_value))))
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       160
 SUB-EXPRESSION (g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)
                --------------------------1--------------------------
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       207
 EXPRESSION (empty_rclk ? '0 : rdata_int)
             -----1----
-1-StatusTests
0CoveredT1,T3,T11
1CoveredT1,T2,T3

 LINE       232
 EXPRESSION (decval[(PTR_WIDTH - 1)] ? decval_sub : decval)
             -----------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T3,T11

 LINE       253
 EXPRESSION (dec_tmp[(i + 1)] ^ grayval[i])
             --------1-------   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T3,T11
10CoveredT1,T3,T11
11CoveredT1,T3,T11

Branch Coverage for Instance : tb.dut.u_spi_tpm.u_rdfifo
Line No.TotalCoveredPercent
Branches 28 28 100.00
TERNARY 146 3 3 100.00
TERNARY 160 3 3 100.00
TERNARY 207 2 2 100.00
IF 59 3 3 100.00
IF 68 3 3 100.00
IF 92 3 3 100.00
IF 101 3 3 100.00
IF 117 2 2 100.00
IF 182 2 2 100.00
TERNARY 232 2 2 100.00
IF 256 2 2 100.00

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

LineNo. Expression -1-: 146 (full_wclk) ? -2-: 146 ((g_depth_calc.wptr_msb == g_depth_calc.rptr_sync_msb)) ?

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


LineNo. Expression -1-: 160 (full_rclk) ? -2-: 160 ((g_depth_calc.wptr_sync_msb == g_depth_calc.rptr_msb)) ?

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


LineNo. Expression -1-: 207 (empty_rclk) ?

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


LineNo. Expression -1-: 59 if ((!rst_wr_ni)) -2-: 61 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 68 if ((!rst_wr_ni)) -2-: 70 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 92 if ((!rst_rd_ni)) -2-: 94 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 101 if ((!rst_rd_ni)) -2-: 103 if (fifo_incr_rptr)

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


LineNo. Expression -1-: 117 if ((!rst_wr_ni))

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


LineNo. Expression -1-: 182 if (fifo_incr_wptr)

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


LineNo. Expression -1-: 232 (decval[(PTR_WIDTH - 1)]) ?

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


LineNo. Expression -1-: 256 if (grayval[(PTR_WIDTH - 1)])

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


Assert Coverage for Instance : tb.dut.u_spi_tpm.u_rdfifo
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
GrayRptr_A 194638694 42962160 0 0
GrayWptr_A 603664480 88554482 0 0
ParamCheckDepth_A 932 932 0 0


GrayRptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 194638694 42962160 0 0
T1 757311 336635 0 0
T2 1 0 0 0
T3 699657 247159 0 0
T4 20753 0 0 0
T5 33865 0 0 0
T6 1 0 0 0
T7 104633 0 0 0
T8 42954 0 0 0
T9 36347 0 0 0
T10 47153 0 0 0
T11 0 109858 0 0
T14 0 80004 0 0
T15 0 3401 0 0
T16 0 222474 0 0
T17 0 42636 0 0
T18 0 371003 0 0
T25 0 63805 0 0
T62 0 48551 0 0

GrayWptr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 603664480 88554482 0 0
T1 280166 83702 0 0
T2 1464 93 0 0
T3 402035 123190 0 0
T4 28034 0 0 0
T5 39133 0 0 0
T6 1134 0 0 0
T7 30225 0 0 0
T8 348271 0 0 0
T9 21874 0 0 0
T10 332922 0 0 0
T11 0 772382 0 0
T13 0 375 0 0
T14 0 79827 0 0
T15 0 23934 0 0
T16 0 222151 0 0
T17 0 342803 0 0
T18 0 92287 0 0

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