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

Module : spi_s2p
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_s2p 0.00 0.00 0.00 0.00



Module Instance : tb.dut.u_s2p

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
18.78 0.00 0.00 75.11 0.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
no children


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : spi_s2p
Line No.TotalCoveredPercent
TOTAL2000.00
ALWAYS43400.00
ALWAYS63300.00
CONT_ASSIGN71100.00
ALWAYS75800.00
ALWAYS91400.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_spi_device_0.1/rtl/spi_s2p.sv' or '../src/lowrisc_ip_spi_device_0.1/rtl/spi_s2p.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
43 0 1
45 0 1
49 0 1
53 0 1
63 0 1
64 0 1
66 0 1
71 0 1
75 0 1
76 0 1
77 0 1
78 0 1
80 0 1
81 0 1
82 0 1
83 0 1
91 0 1
92 0 1
93 0 1
94 0 1


Cond Coverage for Module : spi_s2p
TotalCoveredPercent
Conditions1400.00
Logical1400.00
Non-Logical00
Event00

 LINE       45
 EXPRESSION (order_i ? ({s_i[0], data_q[7:1]}) : ({data_q[6:0], s_i[0]}))
             ---1---
-1-StatusTests
0Not Covered
1Not Covered

 LINE       49
 EXPRESSION (order_i ? ({s_i[1:0], data_q[7:2]}) : ({data_q[5:0], s_i[1:0]}))
             ---1---
-1-StatusTests
0Not Covered
1Not Covered

 LINE       53
 EXPRESSION (order_i ? ({s_i[3:0], data_q[7:4]}) : ({data_q[3:0], s_i[3:0]}))
             ---1---
-1-StatusTests
0Not Covered
1Not Covered

 LINE       77
 EXPRESSION (cnt == '0)
            -----1-----
-1-StatusTests
0Not Covered
1Not Covered

 LINE       92
 EXPRESSION (cnt == 3'b0)
            ------1------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       93
 EXPRESSION (cnt == 3'b1)
            ------1------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       94
 EXPRESSION (cnt == 3'h3)
            ------1------
-1-StatusTests
0Not Covered
1Not Covered

Branch Coverage for Module : spi_s2p
Line No.TotalCoveredPercent
Branches 19 0 0.00
CASE 43 7 0 0.00
IF 63 2 0 0.00
IF 75 6 0 0.00
CASE 91 4 0 0.00

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

LineNo. Expression -1-: 43 case (io_mode_i) -2-: 45 (order_i) ? -3-: 49 (order_i) ? -4-: 53 (order_i) ?

Branches:
-1--2--3--4-StatusTests
SingleIO 1 - - Not Covered
SingleIO 0 - - Not Covered
DualIO - 1 - Not Covered
DualIO - 0 - Not Covered
QuadIO - - 1 Not Covered
QuadIO - - 0 Not Covered
default - - - Not Covered


LineNo. Expression -1-: 63 if ((!rst_ni))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 75 if ((!rst_ni)) -2-: 77 if ((cnt == '0)) -3-: 80 case (io_mode_i)

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 SingleIO Not Covered
0 0 DualIO Not Covered
0 0 QuadIO Not Covered
0 0 default Not Covered


LineNo. Expression -1-: 91 case (io_mode_i)

Branches:
-1-StatusTests
SingleIO Not Covered
DualIO Not Covered
QuadIO Not Covered
default Not Covered

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