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

Module : prim_fifo_sync
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.15 100.00 84.62 100.00 100.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.uart_core.u_uart_txfifo 96.15 100.00 84.62 100.00 100.00
tb.dut.uart_core.u_uart_rxfifo 96.15 100.00 84.62 100.00 100.00



Module Instance : tb.dut.uart_core.u_uart_txfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.15 100.00 84.62 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.15 100.00 84.62 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
99.13 100.00 99.06 98.33 uart_core


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_normal_fifo.u_fifo_cnt 100.00 100.00 100.00



Module Instance : tb.dut.uart_core.u_uart_rxfifo

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.15 100.00 84.62 100.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.15 100.00 84.62 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
99.13 100.00 99.06 98.33 uart_core


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_normal_fifo.u_fifo_cnt 100.00 100.00 100.00

Line Coverage for Module : prim_fifo_sync
Line No.TotalCoveredPercent
TOTAL2222100.00
ALWAYS7044100.00
CONT_ASSIGN8411100.00
CONT_ASSIGN8511100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8711100.00
CONT_ASSIGN8811100.00
CONT_ASSIGN9211100.00
CONT_ASSIGN9311100.00
CONT_ASSIGN9811100.00
CONT_ASSIGN9911100.00
CONT_ASSIGN10011100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN16211100.00
ALWAYS16522100.00
CONT_ASSIGN17511100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN18011100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
70 1 1
71 1 1
72 1 1
73 1 1
MISSING_ELSE
84 1 1
85 1 1
86 1 1
87 1 1
88 1 1
92 1 1
93 1 1
98 1 1
99 1 1
100 1 1
145 1 1
146 1 1
162 1 1
165 1 1
166 1 1
MISSING_ELSE
175 1 1
176 1 1
180 1 1


Cond Coverage for Module : prim_fifo_sync
TotalCoveredPercent
Conditions262284.62
Logical262284.62
Non-Logical00
Event00

 LINE       88
 EXPRESSION 
 Number  Term
      1  gen_normal_fifo.full ? (8'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value)))))
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT14,T15,T16

 LINE       88
 SUB-EXPRESSION 
 Number  Term
      1  (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value))))
-1-StatusTests
0CoveredT17,T18,T14
1CoveredT11,T12,T13

 LINE       88
 SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
                ---------------------------1--------------------------
-1-StatusTests
0CoveredT17,T18,T14
1CoveredT11,T12,T13

 LINE       92
 EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
             ----1---   ----2---   ---------------3--------------
-1--2--3-StatusTests
011CoveredT11,T12,T13
101CoveredT14,T15,T16
110Not Covered
111CoveredT11,T12,T13

 LINE       93
 EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
             ----1---   ----2---   ---------------3--------------
-1--2--3-StatusTests
011Not Covered
101CoveredT11,T12,T13
110Not Covered
111CoveredT11,T12,T13

 LINE       98
 EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
             ------------1------------   ---------------2--------------
-1--2-StatusTests
01CoveredT14,T15,T16
10CoveredT11,T12,T13
11CoveredT11,T12,T13

 LINE       100
 EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
             -------------1------------   ---------------2--------------
-1--2-StatusTests
01CoveredT11,T12,T13
10Not Covered
11CoveredT11,T12,T13

 LINE       145
 EXPRESSION (gen_normal_fifo.fifo_wptr == (gen_normal_fifo.fifo_rptr ^ {1'b1, {(gen_normal_fifo.PTR_WIDTH - 1) {1'b0}}}))
            ------------------------------------------------------1------------------------------------------------------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT14,T15,T16

 LINE       146
 EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT11,T12,T13

 LINE       180
 EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
             ----------1----------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT11,T12,T13

Branch Coverage for Module : prim_fifo_sync
Line No.TotalCoveredPercent
Branches 10 10 100.00
TERNARY 88 3 3 100.00
TERNARY 180 2 2 100.00
IF 70 3 3 100.00
IF 165 2 2 100.00

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

LineNo. Expression -1-: 88 (gen_normal_fifo.full) ? -2-: 88 ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)) ?

Branches:
-1--2-StatusTests
1 - Covered T14,T15,T16
0 1 Covered T11,T12,T13
0 0 Covered T17,T18,T14


LineNo. Expression -1-: 180 (gen_normal_fifo.empty) ?

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T11,T12,T13


LineNo. Expression -1-: 70 if ((!rst_ni)) -2-: 72 if (gen_normal_fifo.under_rst)

Branches:
-1--2-StatusTests
1 - Covered T11,T12,T13
0 1 Covered T11,T12,T13
0 0 Covered T11,T12,T13


LineNo. Expression -1-: 165 if (gen_normal_fifo.fifo_incr_wptr)

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T11,T12,T13


Assert Coverage for Module : prim_fifo_sync
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 5 5 100.00 5 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 5 5 100.00 5 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
DataKnown_A 2147483647 2147483647 0 0
DepthKnown_A 2147483647 2147483647 0 0
RvalidKnown_A 2147483647 2147483647 0 0
WreadyKnown_A 2147483647 2147483647 0 0
gen_normal_fifo.depthShallNotExceedParamDepth 2147483647 2147483647 0 0


DataKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 39542 1037 0 0
T12 162868 48 0 0
T13 303842 488432 0 0
T14 244798 908991 0 0
T17 315352 448349 0 0
T18 773238 655259 0 0
T19 409952 101250 0 0
T20 66248 1947 0 0
T21 643546 389377 0 0
T22 418706 947873 0 0

DepthKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 39542 39442 0 0
T12 162868 162708 0 0
T13 303842 303822 0 0
T14 244798 244792 0 0
T17 315352 315336 0 0
T18 773238 773224 0 0
T19 409952 409802 0 0
T20 66248 66106 0 0
T21 643546 643516 0 0
T22 418706 418696 0 0

RvalidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 39542 39442 0 0
T12 162868 162708 0 0
T13 303842 303822 0 0
T14 244798 244792 0 0
T17 315352 315336 0 0
T18 773238 773224 0 0
T19 409952 409802 0 0
T20 66248 66106 0 0
T21 643546 643516 0 0
T22 418706 418696 0 0

WreadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 39542 39442 0 0
T12 162868 162708 0 0
T13 303842 303822 0 0
T14 244798 244792 0 0
T17 315352 315336 0 0
T18 773238 773224 0 0
T19 409952 409802 0 0
T20 66248 66106 0 0
T21 643546 643516 0 0
T22 418706 418696 0 0

gen_normal_fifo.depthShallNotExceedParamDepth
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 39542 1037 0 0
T12 162868 48 0 0
T13 303842 488432 0 0
T14 244798 908991 0 0
T17 315352 448349 0 0
T18 773238 655259 0 0
T19 409952 101250 0 0
T20 66248 1947 0 0
T21 643546 389377 0 0
T22 418706 947873 0 0

Line Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
Line No.TotalCoveredPercent
TOTAL2222100.00
ALWAYS7044100.00
CONT_ASSIGN8411100.00
CONT_ASSIGN8511100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8711100.00
CONT_ASSIGN8811100.00
CONT_ASSIGN9211100.00
CONT_ASSIGN9311100.00
CONT_ASSIGN9811100.00
CONT_ASSIGN9911100.00
CONT_ASSIGN10011100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN16211100.00
ALWAYS16522100.00
CONT_ASSIGN17511100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN18011100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
70 1 1
71 1 1
72 1 1
73 1 1
MISSING_ELSE
84 1 1
85 1 1
86 1 1
87 1 1
88 1 1
92 1 1
93 1 1
98 1 1
99 1 1
100 1 1
145 1 1
146 1 1
162 1 1
165 1 1
166 1 1
MISSING_ELSE
175 1 1
176 1 1
180 1 1


Cond Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
TotalCoveredPercent
Conditions262284.62
Logical262284.62
Non-Logical00
Event00

 LINE       88
 EXPRESSION 
 Number  Term
      1  gen_normal_fifo.full ? (8'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value)))))
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT14,T15,T16

 LINE       88
 SUB-EXPRESSION 
 Number  Term
      1  (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value))))
-1-StatusTests
0CoveredT17,T18,T14
1CoveredT11,T12,T13

 LINE       88
 SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
                ---------------------------1--------------------------
-1-StatusTests
0CoveredT17,T18,T14
1CoveredT11,T12,T13

 LINE       92
 EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
             ----1---   ----2---   ---------------3--------------
-1--2--3-StatusTests
011CoveredT11,T12,T13
101CoveredT14,T15,T16
110Not Covered
111CoveredT11,T12,T13

 LINE       93
 EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
             ----1---   ----2---   ---------------3--------------
-1--2--3-StatusTests
011Not Covered
101CoveredT13,T19,T17
110Not Covered
111CoveredT11,T12,T13

 LINE       98
 EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
             ------------1------------   ---------------2--------------
-1--2-StatusTests
01CoveredT14,T15,T16
10CoveredT11,T12,T13
11CoveredT11,T12,T13

 LINE       100
 EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
             -------------1------------   ---------------2--------------
-1--2-StatusTests
01CoveredT11,T12,T13
10Not Covered
11CoveredT11,T12,T13

 LINE       145
 EXPRESSION (gen_normal_fifo.fifo_wptr == (gen_normal_fifo.fifo_rptr ^ {1'b1, {(gen_normal_fifo.PTR_WIDTH - 1) {1'b0}}}))
            ------------------------------------------------------1------------------------------------------------------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT14,T15,T16

 LINE       146
 EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT11,T12,T13

 LINE       180
 EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
             ----------1----------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT11,T12,T13

Branch Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
Line No.TotalCoveredPercent
Branches 10 10 100.00
TERNARY 88 3 3 100.00
TERNARY 180 2 2 100.00
IF 70 3 3 100.00
IF 165 2 2 100.00

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

LineNo. Expression -1-: 88 (gen_normal_fifo.full) ? -2-: 88 ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)) ?

Branches:
-1--2-StatusTests
1 - Covered T14,T15,T16
0 1 Covered T11,T12,T13
0 0 Covered T17,T18,T14


LineNo. Expression -1-: 180 (gen_normal_fifo.empty) ?

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T11,T12,T13


LineNo. Expression -1-: 70 if ((!rst_ni)) -2-: 72 if (gen_normal_fifo.under_rst)

Branches:
-1--2-StatusTests
1 - Covered T11,T12,T13
0 1 Covered T11,T12,T13
0 0 Covered T11,T12,T13


LineNo. Expression -1-: 165 if (gen_normal_fifo.fifo_incr_wptr)

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T11,T12,T13


Assert Coverage for Instance : tb.dut.uart_core.u_uart_txfifo
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 5 5 100.00 5 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 5 5 100.00 5 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
DataKnown_A 2147483647 2066399924 0 0
DepthKnown_A 2147483647 2147483647 0 0
RvalidKnown_A 2147483647 2147483647 0 0
WreadyKnown_A 2147483647 2147483647 0 0
gen_normal_fifo.depthShallNotExceedParamDepth 2147483647 2066399924 0 0


DataKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2066399924 0 0
T11 19771 10 0 0
T12 81434 6 0 0
T13 151921 252701 0 0
T14 122399 626227 0 0
T17 157676 126974 0 0
T18 386619 206216 0 0
T19 204976 43460 0 0
T20 33124 10 0 0
T21 321773 198522 0 0
T22 209353 677800 0 0

DepthKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 19771 19721 0 0
T12 81434 81354 0 0
T13 151921 151911 0 0
T14 122399 122396 0 0
T17 157676 157668 0 0
T18 386619 386612 0 0
T19 204976 204901 0 0
T20 33124 33053 0 0
T21 321773 321758 0 0
T22 209353 209348 0 0

RvalidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 19771 19721 0 0
T12 81434 81354 0 0
T13 151921 151911 0 0
T14 122399 122396 0 0
T17 157676 157668 0 0
T18 386619 386612 0 0
T19 204976 204901 0 0
T20 33124 33053 0 0
T21 321773 321758 0 0
T22 209353 209348 0 0

WreadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 19771 19721 0 0
T12 81434 81354 0 0
T13 151921 151911 0 0
T14 122399 122396 0 0
T17 157676 157668 0 0
T18 386619 386612 0 0
T19 204976 204901 0 0
T20 33124 33053 0 0
T21 321773 321758 0 0
T22 209353 209348 0 0

gen_normal_fifo.depthShallNotExceedParamDepth
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2066399924 0 0
T11 19771 10 0 0
T12 81434 6 0 0
T13 151921 252701 0 0
T14 122399 626227 0 0
T17 157676 126974 0 0
T18 386619 206216 0 0
T19 204976 43460 0 0
T20 33124 10 0 0
T21 321773 198522 0 0
T22 209353 677800 0 0

Line Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
Line No.TotalCoveredPercent
TOTAL2222100.00
ALWAYS7044100.00
CONT_ASSIGN8411100.00
CONT_ASSIGN8511100.00
CONT_ASSIGN8611100.00
CONT_ASSIGN8711100.00
CONT_ASSIGN8811100.00
CONT_ASSIGN9211100.00
CONT_ASSIGN9311100.00
CONT_ASSIGN9811100.00
CONT_ASSIGN9911100.00
CONT_ASSIGN10011100.00
CONT_ASSIGN14511100.00
CONT_ASSIGN14611100.00
CONT_ASSIGN16211100.00
ALWAYS16522100.00
CONT_ASSIGN17511100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN18011100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' or '../src/lowrisc_prim_fifo_0/rtl/prim_fifo_sync.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
70 1 1
71 1 1
72 1 1
73 1 1
MISSING_ELSE
84 1 1
85 1 1
86 1 1
87 1 1
88 1 1
92 1 1
93 1 1
98 1 1
99 1 1
100 1 1
145 1 1
146 1 1
162 1 1
165 1 1
166 1 1
MISSING_ELSE
175 1 1
176 1 1
180 1 1


Cond Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
TotalCoveredPercent
Conditions262284.62
Logical262284.62
Non-Logical00
Event00

 LINE       88
 EXPRESSION 
 Number  Term
      1  gen_normal_fifo.full ? (8'(Depth)) : ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value)))))
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT14,T23,T24

 LINE       88
 SUB-EXPRESSION 
 Number  Term
      1  (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb) ? ((8'(gen_normal_fifo.wptr_value) - 8'(gen_normal_fifo.rptr_value))) : (((8'(Depth) - 8'(gen_normal_fifo.rptr_value)) + 8'(gen_normal_fifo.wptr_value))))
-1-StatusTests
0CoveredT14,T25,T15
1CoveredT11,T12,T13

 LINE       88
 SUB-EXPRESSION (gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)
                ---------------------------1--------------------------
-1-StatusTests
0CoveredT14,T25,T15
1CoveredT11,T12,T13

 LINE       92
 EXPRESSION (wvalid_i & wready_o & ((~gen_normal_fifo.under_rst)))
             ----1---   ----2---   ---------------3--------------
-1--2--3-StatusTests
011CoveredT11,T12,T13
101CoveredT14,T23,T24
110Not Covered
111CoveredT11,T12,T13

 LINE       93
 EXPRESSION (rvalid_o & rready_i & ((~gen_normal_fifo.under_rst)))
             ----1---   ----2---   ---------------3--------------
-1--2--3-StatusTests
011Not Covered
101CoveredT11,T12,T13
110Not Covered
111CoveredT11,T12,T13

 LINE       98
 EXPRESSION (((~gen_normal_fifo.full)) & ((~gen_normal_fifo.under_rst)))
             ------------1------------   ---------------2--------------
-1--2-StatusTests
01CoveredT14,T23,T24
10CoveredT11,T12,T13
11CoveredT11,T12,T13

 LINE       100
 EXPRESSION (((~gen_normal_fifo.empty)) & ((~gen_normal_fifo.under_rst)))
             -------------1------------   ---------------2--------------
-1--2-StatusTests
01CoveredT11,T12,T13
10Not Covered
11CoveredT11,T12,T13

 LINE       145
 EXPRESSION (gen_normal_fifo.fifo_wptr == (gen_normal_fifo.fifo_rptr ^ {1'b1, {(gen_normal_fifo.PTR_WIDTH - 1) {1'b0}}}))
            ------------------------------------------------------1------------------------------------------------------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT14,T23,T24

 LINE       146
 EXPRESSION (gen_normal_fifo.fifo_wptr == gen_normal_fifo.fifo_rptr)
            ----------------------------1---------------------------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT11,T12,T13

 LINE       180
 EXPRESSION (gen_normal_fifo.empty ? 'b0 : gen_normal_fifo.rdata_int)
             ----------1----------
-1-StatusTests
0CoveredT11,T12,T13
1CoveredT11,T12,T13

Branch Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
Line No.TotalCoveredPercent
Branches 10 10 100.00
TERNARY 88 3 3 100.00
TERNARY 180 2 2 100.00
IF 70 3 3 100.00
IF 165 2 2 100.00

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

LineNo. Expression -1-: 88 (gen_normal_fifo.full) ? -2-: 88 ((gen_normal_fifo.wptr_msb == gen_normal_fifo.rptr_msb)) ?

Branches:
-1--2-StatusTests
1 - Covered T14,T23,T24
0 1 Covered T11,T12,T13
0 0 Covered T14,T25,T15


LineNo. Expression -1-: 180 (gen_normal_fifo.empty) ?

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T11,T12,T13


LineNo. Expression -1-: 70 if ((!rst_ni)) -2-: 72 if (gen_normal_fifo.under_rst)

Branches:
-1--2-StatusTests
1 - Covered T11,T12,T13
0 1 Covered T11,T12,T13
0 0 Covered T11,T12,T13


LineNo. Expression -1-: 165 if (gen_normal_fifo.fifo_incr_wptr)

Branches:
-1-StatusTests
1 Covered T11,T12,T13
0 Covered T11,T12,T13


Assert Coverage for Instance : tb.dut.uart_core.u_uart_rxfifo
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 5 5 100.00 5 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 5 5 100.00 5 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
DataKnown_A 2147483647 1357035043 0 0
DepthKnown_A 2147483647 2147483647 0 0
RvalidKnown_A 2147483647 2147483647 0 0
WreadyKnown_A 2147483647 2147483647 0 0
gen_normal_fifo.depthShallNotExceedParamDepth 2147483647 1357035043 0 0


DataKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1357035043 0 0
T11 19771 1027 0 0
T12 81434 42 0 0
T13 151921 235731 0 0
T14 122399 282764 0 0
T17 157676 321375 0 0
T18 386619 449043 0 0
T19 204976 57790 0 0
T20 33124 1937 0 0
T21 321773 190855 0 0
T22 209353 270073 0 0

DepthKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 19771 19721 0 0
T12 81434 81354 0 0
T13 151921 151911 0 0
T14 122399 122396 0 0
T17 157676 157668 0 0
T18 386619 386612 0 0
T19 204976 204901 0 0
T20 33124 33053 0 0
T21 321773 321758 0 0
T22 209353 209348 0 0

RvalidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 19771 19721 0 0
T12 81434 81354 0 0
T13 151921 151911 0 0
T14 122399 122396 0 0
T17 157676 157668 0 0
T18 386619 386612 0 0
T19 204976 204901 0 0
T20 33124 33053 0 0
T21 321773 321758 0 0
T22 209353 209348 0 0

WreadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T11 19771 19721 0 0
T12 81434 81354 0 0
T13 151921 151911 0 0
T14 122399 122396 0 0
T17 157676 157668 0 0
T18 386619 386612 0 0
T19 204976 204901 0 0
T20 33124 33053 0 0
T21 321773 321758 0 0
T22 209353 209348 0 0

gen_normal_fifo.depthShallNotExceedParamDepth
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1357035043 0 0
T11 19771 1027 0 0
T12 81434 42 0 0
T13 151921 235731 0 0
T14 122399 282764 0 0
T17 157676 321375 0 0
T18 386619 449043 0 0
T19 204976 57790 0 0
T20 33124 1937 0 0
T21 321773 190855 0 0
T22 209353 270073 0 0

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