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

Module : usbdev_aon_wake
SCORELINECONDTOGGLEFSMBRANCHASSERT
94.02 97.14 84.21 94.74 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.top_earlgrey.u_pinmux_aon.u_usbdev_aon_wake 94.02 97.14 84.21 94.74 100.00



Module Instance : tb.dut.top_earlgrey.u_pinmux_aon.u_usbdev_aon_wake

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
94.02 97.14 84.21 94.74 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.84 98.91 90.32 98.11 100.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
92.43 99.22 89.45 98.66 86.38 88.46 u_pinmux_aon


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
filter_activity 100.00 100.00 100.00 100.00
filter_bus_reset 100.00 100.00 100.00 100.00
filter_sense 100.00 100.00 100.00 100.00
u_pullup_en_cdc 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 : usbdev_aon_wake
Line No.TotalCoveredPercent
TOTAL353497.14
CONT_ASSIGN5311100.00
CONT_ASSIGN7811100.00
CONT_ASSIGN7911100.00
CONT_ASSIGN10311100.00
CONT_ASSIGN10411100.00
CONT_ASSIGN106100.00
CONT_ASSIGN10711100.00
CONT_ASSIGN11011100.00
CONT_ASSIGN11211100.00
ALWAYS11577100.00
ALWAYS12766100.00
ALWAYS15333100.00
CONT_ASSIGN16011100.00
CONT_ASSIGN17611100.00
CONT_ASSIGN17811100.00
ALWAYS18255100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19311100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_usbdev_0.1/rtl/usbdev_aon_wake.sv' or '../src/lowrisc_ip_usbdev_0.1/rtl/usbdev_aon_wake.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
53 1 1
78 1 1
79 1 1
103 1 1
104 1 1
106 0 1
107 1 1
110 1 1
112 1 1
115 1 1
116 1 1
117 1 1
118 1 1
120 1 1
121 1 1
122 1 1
127 1 1
129 1 1
132 1 1
133 1 1
MISSING_ELSE
141 1 1
142 1 1
MISSING_ELSE
153 1 1
154 1 1
156 1 1
160 1 1
176 1 1
178 1 1
182 1 1
183 1 1
184 1 1
186 1 1
187 1 1
191 1 1
193 1 1


Cond Coverage for Module : usbdev_aon_wake
TotalCoveredPercent
Conditions383284.21
Logical383284.21
Non-Logical00
Event00

 LINE       53
 EXPRESSION ((usb_dp_i != usb_dppullup_en_o) | (usb_dn_i != usb_dnpullup_en_o))
             ---------------1---------------   ---------------2---------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT1,T2,T3

 LINE       53
 SUB-EXPRESSION (usb_dp_i != usb_dppullup_en_o)
                ---------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       53
 SUB-EXPRESSION (usb_dn_i != usb_dnpullup_en_o)
                ---------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       78
 EXPRESSION (((~usb_dp_i)) & ((~usb_dn_i)))
             ------1------   ------2------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       103
 EXPRESSION ((event_bus_reset | bus_reset_q) & wake_detect_active_q)
             ---------------1---------------   ----------2---------
-1--2-StatusTests
01CoveredT8,T9,T10
10CoveredT1,T2,T56
11Not Covered

 LINE       103
 SUB-EXPRESSION (event_bus_reset | bus_reset_q)
                 -------1-------   -----2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT1,T2,T56

 LINE       104
 EXPRESSION ((event_sense_lost | sense_lost_q) & wake_detect_active_q)
             ----------------1----------------   ----------2---------
-1--2-StatusTests
01Not Covered
10CoveredT1,T2,T3
11CoveredT8,T9,T10

 LINE       104
 SUB-EXPRESSION (event_sense_lost | sense_lost_q)
                 --------1-------   ------2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT1,T2,T3

 LINE       110
 EXPRESSION (wake_detect_active_q & (event_not_idle | event_bus_reset | event_sense_lost | wake_req_q))
             ----------1---------   ---------------------------------2--------------------------------
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT8,T9,T10

 LINE       110
 SUB-EXPRESSION (event_not_idle | event_bus_reset | event_sense_lost | wake_req_q)
                 -------1------   -------2-------   --------3-------   -----4----
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001Not Covered
0010CoveredT1,T2,T3
0100CoveredT56,T47,T124
1000CoveredT1,T2,T3

 LINE       176
 EXPRESSION (wake_detect_active_q ? aon_dppullup_en_q : usbdev_dppullup_en_aon)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT8,T9,T10

 LINE       178
 EXPRESSION (wake_detect_active_q ? aon_dnpullup_en_q : usbdev_dnpullup_en_aon)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT8,T9,T10

 LINE       191
 EXPRESSION (wake_detect_active_q ? aon_dppullup_en_q : usbdev_dppullup_en_i)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT8,T9,T10

 LINE       193
 EXPRESSION (wake_detect_active_q ? aon_dnpullup_en_q : usbdev_dnpullup_en_i)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT8,T9,T10

Branch Coverage for Module : usbdev_aon_wake
Line No.TotalCoveredPercent
Branches 19 18 94.74
TERNARY 176 2 2 100.00
TERNARY 178 2 2 100.00
TERNARY 191 2 2 100.00
TERNARY 193 2 2 100.00
IF 115 2 2 100.00
CASE 129 5 4 80.00
IF 153 2 2 100.00
IF 182 2 2 100.00

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

LineNo. Expression -1-: 176 (wake_detect_active_q) ?

Branches:
-1-StatusTests
1 Covered T8,T9,T10
0 Covered T1,T2,T3


LineNo. Expression -1-: 178 (wake_detect_active_q) ?

Branches:
-1-StatusTests
1 Covered T8,T9,T10
0 Covered T1,T2,T3


LineNo. Expression -1-: 191 (wake_detect_active_q) ?

Branches:
-1-StatusTests
1 Covered T8,T9,T10
0 Covered T1,T2,T3


LineNo. Expression -1-: 193 (wake_detect_active_q) ?

Branches:
-1-StatusTests
1 Covered T8,T9,T10
0 Covered T1,T2,T3


LineNo. Expression -1-: 115 if ((!rst_aon_ni))

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


LineNo. Expression -1-: 129 case (wake_detect_active_q) -2-: 132 if (suspend_req_aon_i) -3-: 141 if (wake_ack_aon_i)

Branches:
-1--2--3-StatusTests
1'b0 1 - Covered T8,T9,T10
1'b0 0 - Covered T8,T9,T10
1'b1 - 1 Covered T8,T9,T10
1'b1 - 0 Covered T8,T9,T10
default - - Not Covered


LineNo. Expression -1-: 153 if ((!rst_aon_ni))

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


LineNo. Expression -1-: 182 if ((!rst_aon_ni))

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


Assert Coverage for Module : usbdev_aon_wake
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 1 1 100.00 1 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 1 1 100.00 1 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
WakeDetectActiveAonKnown_A 1338259 1162257 0 0


WakeDetectActiveAonKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1338259 1162257 0 0
T1 292 69 0 0
T2 342 119 0 0
T3 366 145 0 0
T7 378 153 0 0
T55 309 85 0 0
T56 301 77 0 0
T57 330 107 0 0
T58 305 79 0 0
T59 345 124 0 0
T60 332 108 0 0

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