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

Module : spid_dpram
SCORELINECONDTOGGLEFSMBRANCHASSERT
91.67 100.00 75.00 100.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spid_dpram.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_spid_dpram 91.67 100.00 75.00 100.00



Module Instance : tb.dut.u_spid_dpram

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
91.67 100.00 75.00 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
95.45 100.00 81.82 100.00 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
92.65 95.15 86.84 96.92 88.89 95.45 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_ram2p.u_memory_2p 100.00 100.00 100.00 100.00 100.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : spid_dpram
Line No.TotalCoveredPercent
TOTAL2020100.00
CONT_ASSIGN6311100.00
CONT_ASSIGN6411100.00
CONT_ASSIGN6911100.00
CONT_ASSIGN7011100.00
CONT_ASSIGN8111100.00
CONT_ASSIGN8211100.00
CONT_ASSIGN8911100.00
CONT_ASSIGN9011100.00
ALWAYS10177100.00
ALWAYS11633100.00
CONT_ASSIGN16311100.00
CONT_ASSIGN17111100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spid_dpram.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spid_dpram.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
63 1 1
64 1 1
69 1 1
70 1 1
81 1 1
82 1 1
89 1 1
90 1 1
101 1 1
103 1 1
104 1 1
106 1 1
108 1 1
109 1 1
111 1 1
MISSING_ELSE
116 1 1
117 1 1
119 1 1
163 1 1
171 1 1


Cond Coverage for Module : spid_dpram
TotalCoveredPercent
Conditions161275.00
Logical161275.00
Non-Logical00
Event00

 LINE       63
 EXPRESSION ((sys_addr_i < Sys2SpiEnd) & sys_req_i & sys_write_i)
             ------------1------------   ----2----   -----3-----
-1--2--3-StatusTests
011Not Covered
101Not Covered
110Not Covered
111CoveredT2,T3,T4

 LINE       69
 EXPRESSION (spi_req_i & ((!spi_write_i)))
             ----1----   --------2-------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T11,T12
11CoveredT3,T4,T7

 LINE       81
 EXPRESSION (spi_req_i & spi_write_i)
             ----1----   -----2-----
-1--2-StatusTests
01Not Covered
10CoveredT3,T4,T7
11CoveredT7,T11,T12

 LINE       89
 EXPRESSION (sys_req_i & ((!sys_write_i)))
             ----1----   --------2-------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT2,T7,T9

 LINE       106
 EXPRESSION (spi2sys_wr_req && ((!initialized_words_q[7'(spi2sys_wr_addr)])))
             -------1------    ----------------------2----------------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT7,T11,T12
11CoveredT7,T11,T12

Branch Coverage for Module : spid_dpram
Line No.TotalCoveredPercent
Branches 4 4 100.00
IF 106 2 2 100.00
IF 116 2 2 100.00

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

LineNo. Expression -1-: 106 if ((spi2sys_wr_req && (!initialized_words_q[7'(spi2sys_wr_addr)])))

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


LineNo. Expression -1-: 116 if ((!rst_spi_ni))

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

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