Line Coverage for Module :
uart_core
| Line No. | Total | Covered | Percent |
TOTAL | | 94 | 93 | 98.94 |
CONT_ASSIGN | 73 | 1 | 1 | 100.00 |
CONT_ASSIGN | 74 | 1 | 1 | 100.00 |
CONT_ASSIGN | 75 | 1 | 1 | 100.00 |
CONT_ASSIGN | 76 | 1 | 1 | 100.00 |
CONT_ASSIGN | 77 | 1 | 1 | 100.00 |
CONT_ASSIGN | 79 | 1 | 1 | 100.00 |
CONT_ASSIGN | 80 | 1 | 1 | 100.00 |
CONT_ASSIGN | 81 | 1 | 1 | 100.00 |
CONT_ASSIGN | 82 | 1 | 1 | 100.00 |
CONT_ASSIGN | 84 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 95 | 1 | 1 | 100.00 |
CONT_ASSIGN | 98 | 1 | 1 | 100.00 |
ALWAYS | 105 | 4 | 4 | 100.00 |
ALWAYS | 113 | 4 | 4 | 100.00 |
ALWAYS | 122 | 7 | 7 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 144 | 1 | 1 | 100.00 |
CONT_ASSIGN | 145 | 1 | 1 | 100.00 |
CONT_ASSIGN | 146 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 148 | 1 | 1 | 100.00 |
CONT_ASSIGN | 149 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
ALWAYS | 166 | 4 | 4 | 100.00 |
CONT_ASSIGN | 173 | 1 | 1 | 100.00 |
CONT_ASSIGN | 179 | 1 | 1 | 100.00 |
CONT_ASSIGN | 213 | 1 | 1 | 100.00 |
ALWAYS | 215 | 7 | 7 | 100.00 |
ALWAYS | 246 | 5 | 5 | 100.00 |
CONT_ASSIGN | 255 | 1 | 1 | 100.00 |
CONT_ASSIGN | 258 | 1 | 1 | 100.00 |
CONT_ASSIGN | 260 | 1 | 1 | 100.00 |
CONT_ASSIGN | 280 | 1 | 1 | 100.00 |
ALWAYS | 302 | 4 | 4 | 100.00 |
ALWAYS | 314 | 4 | 4 | 100.00 |
CONT_ASSIGN | 322 | 1 | 1 | 100.00 |
CONT_ASSIGN | 324 | 1 | 1 | 100.00 |
ALWAYS | 327 | 3 | 3 | 100.00 |
ALWAYS | 337 | 6 | 5 | 83.33 |
CONT_ASSIGN | 353 | 1 | 1 | 100.00 |
CONT_ASSIGN | 354 | 1 | 1 | 100.00 |
CONT_ASSIGN | 356 | 1 | 1 | 100.00 |
CONT_ASSIGN | 358 | 1 | 1 | 100.00 |
CONT_ASSIGN | 376 | 1 | 1 | 100.00 |
ALWAYS | 379 | 5 | 5 | 100.00 |
CONT_ASSIGN | 388 | 1 | 1 | 100.00 |
CONT_ASSIGN | 389 | 1 | 1 | 100.00 |
CONT_ASSIGN | 512 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv' or '../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
73 |
1 |
1 |
74 |
1 |
1 |
75 |
1 |
1 |
76 |
1 |
1 |
77 |
1 |
1 |
79 |
1 |
1 |
80 |
1 |
1 |
81 |
1 |
1 |
82 |
1 |
1 |
84 |
1 |
1 |
85 |
1 |
1 |
94 |
1 |
1 |
95 |
1 |
1 |
98 |
1 |
1 |
105 |
2 |
2 |
106 |
2 |
2 |
|
|
|
MISSING_ELSE |
113 |
1 |
1 |
114 |
1 |
1 |
115 |
1 |
1 |
116 |
1 |
1 |
122 |
2 |
2 |
124 |
1 |
1 |
126 |
2 |
2 |
|
|
|
MISSING_ELSE |
130 |
2 |
2 |
|
|
|
MISSING_ELSE |
140 |
1 |
1 |
142 |
1 |
1 |
144 |
1 |
1 |
145 |
1 |
1 |
146 |
1 |
1 |
147 |
1 |
1 |
148 |
1 |
1 |
149 |
1 |
1 |
151 |
1 |
1 |
152 |
1 |
1 |
166 |
1 |
1 |
167 |
1 |
1 |
168 |
1 |
1 |
169 |
1 |
1 |
|
|
|
MISSING_ELSE |
173 |
1 |
1 |
179 |
1 |
1 |
213 |
1 |
1 |
215 |
1 |
1 |
216 |
1 |
1 |
217 |
1 |
1 |
218 |
1 |
1 |
219 |
1 |
1 |
220 |
1 |
1 |
222 |
1 |
1 |
246 |
1 |
1 |
247 |
1 |
1 |
248 |
1 |
1 |
250 |
1 |
1 |
251 |
1 |
1 |
255 |
1 |
1 |
258 |
1 |
1 |
260 |
1 |
1 |
280 |
1 |
1 |
302 |
2 |
2 |
303 |
2 |
2 |
|
|
|
MISSING_ELSE |
314 |
1 |
1 |
315 |
1 |
1 |
317 |
1 |
1 |
319 |
1 |
1 |
322 |
1 |
1 |
324 |
1 |
1 |
327 |
1 |
1 |
328 |
1 |
1 |
330 |
1 |
1 |
337 |
1 |
1 |
340 |
0 |
1 |
341 |
1 |
1 |
343 |
1 |
1 |
345 |
1 |
1 |
347 |
1 |
1 |
353 |
1 |
1 |
354 |
1 |
1 |
356 |
1 |
1 |
358 |
1 |
1 |
376 |
1 |
1 |
379 |
1 |
1 |
380 |
1 |
1 |
381 |
1 |
1 |
383 |
1 |
1 |
384 |
1 |
1 |
388 |
1 |
1 |
389 |
1 |
1 |
512 |
1 |
1 |
Cond Coverage for Module :
uart_core
| Total | Covered | Percent |
Conditions | 104 | 103 | 99.04 |
Logical | 104 | 103 | 99.04 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 79
EXPRESSION (reg2hw.fifo_ctrl.rxrst.q & reg2hw.fifo_ctrl.rxrst.qe)
------------1----------- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T7,T9 |
1 | 1 | Covered | T2,T7,T9 |
LINE 80
EXPRESSION (reg2hw.fifo_ctrl.txrst.q & reg2hw.fifo_ctrl.txrst.qe)
------------1----------- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T4 |
1 | 1 | Covered | T1,T2,T4 |
LINE 94
EXPRESSION (rx_valid & (((~event_rx_frame_err)) | (rx_fifo_data != 8'b0)))
----1--- -------------------------2------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T13,T14 |
1 | 1 | Covered | T1,T2,T3 |
LINE 94
SUB-EXPRESSION (((~event_rx_frame_err)) | (rx_fifo_data != 8'b0))
-----------1----------- -----------2----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T2,T13,T14 |
0 | 1 | Covered | T2,T10,T15 |
1 | 0 | Covered | T1,T2,T3 |
LINE 94
SUB-EXPRESSION (rx_fifo_data != 8'b0)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 95
EXPRESSION (event_rx_frame_err & (rx_fifo_data == 8'b0))
---------1-------- -----------2----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T10,T15 |
1 | 1 | Covered | T2,T13,T14 |
LINE 95
SUB-EXPRESSION (rx_fifo_data == 8'b0)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 98
EXPRESSION (((break_st_q == BRK_WAIT) || not_allzero_char) ? 5'b0 : (allzero_err ? ((allzero_cnt_q + 5'b1)) : allzero_cnt_q))
-----------------------1----------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 98
SUB-EXPRESSION ((break_st_q == BRK_WAIT) || not_allzero_char)
------------1----------- --------2-------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T13,T14 |
LINE 98
SUB-EXPRESSION (break_st_q == BRK_WAIT)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T13,T14 |
LINE 98
SUB-EXPRESSION (allzero_err ? ((allzero_cnt_q + 5'b1)) : allzero_cnt_q)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T13,T14 |
LINE 146
EXPRESSION (tx_uart_idle & ((~tx_fifo_rvalid)))
------1----- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 168
EXPRESSION (tx_enable || rx_enable)
----1---- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
LINE 179
EXPRESSION (tx_uart_idle & tx_fifo_rvalid & tx_enable)
------1----- -------2------ ----3----
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T1,T2,T3 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 200
EXPRESSION (((^tx_fifo_data)) ^ reg2hw.ctrl.parity_odd.q)
--------1-------- ------------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T4 |
LINE 213
EXPRESSION (line_loopback ? rx : tx_out_q)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T9,T16,T12 |
LINE 255
EXPRESSION ((rx_sync & rx_sync_q1) | (rx_sync & rx_sync_q2) | (rx_sync_q1 & rx_sync_q2))
-----------1---------- -----------2---------- ------------3------------
-1- | -2- | -3- | Status | Tests |
0 | 0 | 0 | Covered | T1,T2,T3 |
0 | 0 | 1 | Covered | T1,T2,T3 |
0 | 1 | 0 | Covered | T1,T2,T3 |
1 | 0 | 0 | Covered | T1,T2,T3 |
LINE 255
SUB-EXPRESSION (rx_sync & rx_sync_q1)
---1--- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 255
SUB-EXPRESSION (rx_sync & rx_sync_q2)
---1--- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 255
SUB-EXPRESSION (rx_sync_q1 & rx_sync_q2)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 258
EXPRESSION (rxnf_enable ? rx_in_maj : rx_sync)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 260
EXPRESSION (sys_loopback ? tx_out : (line_loopback ? 1'b1 : rx_in_mx))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T9,T16,T12 |
LINE 260
SUB-EXPRESSION (line_loopback ? 1'b1 : rx_in_mx)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T9,T16,T12 |
LINE 280
EXPRESSION (rx_valid & ((~event_rx_frame_err)) & ((~event_rx_parity_err)))
----1--- -----------2----------- ------------3-----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T2,T10,T15 |
1 | 1 | 0 | Covered | T2,T4,T5 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 322
EXPRESSION (tx_fifo_depth == '0)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 324
EXPRESSION (((~tx_fifo_rvalid)) & ((~tx_uart_idle_q)) & tx_uart_idle)
---------1--------- ---------2--------- ------3-----
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T1,T2,T3 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 341
EXPRESSION (uart_fifo_rxilvl == (RxFifoDepthW - 1))
--------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T4 |
LINE 356
EXPRESSION (rx_fifo_depth != rx_fifo_depth_prev_q)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 358
EXPRESSION
Number Term
1 (uart_rxto_en == 1'b0) ? 24'b0 : (event_rx_timeout ? 24'b0 : (rx_fifo_depth_changed ? 24'b0 : ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q)))))
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION (uart_rxto_en == 1'b0)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION
Number Term
1 event_rx_timeout ? 24'b0 : (rx_fifo_depth_changed ? 24'b0 : ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q))))
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T4,T7 |
LINE 358
SUB-EXPRESSION (rx_fifo_depth_changed ? 24'b0 : ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q)))
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T4 |
LINE 358
SUB-EXPRESSION ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q))
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T4 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION (rx_fifo_depth == '0)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T4 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q)
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T4 |
1 | Covered | T1,T2,T4 |
LINE 376
EXPRESSION ((rx_timeout_count_q == uart_rxto_val) & uart_rxto_en)
------------------1------------------ ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T4,T7 |
LINE 376
SUB-EXPRESSION (rx_timeout_count_q == uart_rxto_val)
------------------1------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 388
EXPRESSION (rx_fifo_wvalid & ((~rx_fifo_wready)))
-------1------ ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T10,T11 |
LINE 389
EXPRESSION (break_err & (break_st_q == BRK_CHK))
----1---- -----------2-----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T2,T13,T14 |
LINE 389
SUB-EXPRESSION (break_st_q == BRK_CHK)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Module :
uart_core
| Line No. | Total | Covered | Percent |
Branches |
|
50 |
48 |
96.00 |
TERNARY |
98 |
3 |
3 |
100.00 |
TERNARY |
213 |
2 |
2 |
100.00 |
TERNARY |
258 |
2 |
2 |
100.00 |
TERNARY |
260 |
3 |
3 |
100.00 |
TERNARY |
358 |
6 |
6 |
100.00 |
IF |
105 |
3 |
3 |
100.00 |
CASE |
113 |
4 |
4 |
100.00 |
IF |
122 |
6 |
5 |
83.33 |
IF |
166 |
3 |
3 |
100.00 |
IF |
215 |
4 |
4 |
100.00 |
IF |
246 |
2 |
2 |
100.00 |
IF |
302 |
3 |
3 |
100.00 |
IF |
314 |
2 |
2 |
100.00 |
IF |
327 |
2 |
2 |
100.00 |
IF |
337 |
3 |
2 |
66.67 |
IF |
379 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv' or '../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 98 (((break_st_q == BRK_WAIT) || not_allzero_char)) ?
-2-: 98 (allzero_err) ?
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T2,T13,T14 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 213 (line_loopback) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T9,T16,T12 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 258 (rxnf_enable) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 260 (sys_loopback) ?
-2-: 260 (line_loopback) ?
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T9,T16,T12 |
0 |
1 |
Covered |
T9,T16,T12 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 358 ((uart_rxto_en == 1'b0)) ?
-2-: 358 (event_rx_timeout) ?
-3-: 358 (rx_fifo_depth_changed) ?
-4-: 358 ((rx_fifo_depth == '0)) ?
-5-: 358 (rx_tick_baud) ?
Branches:
-1- | -2- | -3- | -4- | -5- | Status | Tests |
1 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
- |
- |
Covered |
T2,T4,T7 |
0 |
0 |
1 |
- |
- |
Covered |
T1,T2,T4 |
0 |
0 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
0 |
0 |
1 |
Covered |
T1,T2,T4 |
0 |
0 |
0 |
0 |
0 |
Covered |
T1,T2,T4 |
LineNo. Expression
-1-: 105 if ((!rst_ni))
-2-: 106 if (rx_enable)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 113 case (reg2hw.ctrl.rxblvl.q)
Branches:
-1- | Status | Tests |
2'h0 |
Covered |
T1,T2,T3 |
2'h1 |
Covered |
T1,T2,T3 |
2'h2 |
Covered |
T1,T2,T3 |
default |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 122 if ((!rst_ni))
-2-: 124 case (break_st_q)
-3-: 126 if (event_rx_break_err)
-4-: 130 if (rx_in)
Branches:
-1- | -2- | -3- | -4- | Status | Tests |
1 |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
BRK_CHK |
1 |
- |
Covered |
T2,T13,T14 |
0 |
BRK_CHK |
0 |
- |
Covered |
T1,T2,T3 |
0 |
BRK_WAIT |
- |
1 |
Covered |
T2,T13,T14 |
0 |
BRK_WAIT |
- |
0 |
Covered |
T2,T13,T14 |
0 |
default |
- |
- |
Not Covered |
|
LineNo. Expression
-1-: 166 if ((!rst_ni))
-2-: 168 if ((tx_enable || rx_enable))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 215 if ((!rst_ni))
-2-: 217 if (ovrd_tx_en)
-3-: 219 if (sys_loopback)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T2,T10,T12 |
0 |
0 |
1 |
Covered |
T9,T16,T12 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 246 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 302 if ((!rst_ni))
-2-: 303 if (tick_baud_x16)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 314 if ((uart_fifo_txilvl >= (TxFifoDepthW - 2)))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 327 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 337 if ((uart_fifo_rxilvl > (RxFifoDepthW - 1)))
-2-: 341 if ((uart_fifo_rxilvl == (RxFifoDepthW - 1)))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Not Covered |
|
0 |
1 |
Covered |
T1,T2,T4 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 379 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Module :
uart_core
Assertion Details
RxFifoDepth_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1153 |
1153 |
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 |
TxFifoDepth_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1153 |
1153 |
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.uart_core
| Line No. | Total | Covered | Percent |
TOTAL | | 94 | 93 | 98.94 |
CONT_ASSIGN | 73 | 1 | 1 | 100.00 |
CONT_ASSIGN | 74 | 1 | 1 | 100.00 |
CONT_ASSIGN | 75 | 1 | 1 | 100.00 |
CONT_ASSIGN | 76 | 1 | 1 | 100.00 |
CONT_ASSIGN | 77 | 1 | 1 | 100.00 |
CONT_ASSIGN | 79 | 1 | 1 | 100.00 |
CONT_ASSIGN | 80 | 1 | 1 | 100.00 |
CONT_ASSIGN | 81 | 1 | 1 | 100.00 |
CONT_ASSIGN | 82 | 1 | 1 | 100.00 |
CONT_ASSIGN | 84 | 1 | 1 | 100.00 |
CONT_ASSIGN | 85 | 1 | 1 | 100.00 |
CONT_ASSIGN | 94 | 1 | 1 | 100.00 |
CONT_ASSIGN | 95 | 1 | 1 | 100.00 |
CONT_ASSIGN | 98 | 1 | 1 | 100.00 |
ALWAYS | 105 | 4 | 4 | 100.00 |
ALWAYS | 113 | 4 | 4 | 100.00 |
ALWAYS | 122 | 7 | 7 | 100.00 |
CONT_ASSIGN | 140 | 1 | 1 | 100.00 |
CONT_ASSIGN | 142 | 1 | 1 | 100.00 |
CONT_ASSIGN | 144 | 1 | 1 | 100.00 |
CONT_ASSIGN | 145 | 1 | 1 | 100.00 |
CONT_ASSIGN | 146 | 1 | 1 | 100.00 |
CONT_ASSIGN | 147 | 1 | 1 | 100.00 |
CONT_ASSIGN | 148 | 1 | 1 | 100.00 |
CONT_ASSIGN | 149 | 1 | 1 | 100.00 |
CONT_ASSIGN | 151 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
ALWAYS | 166 | 4 | 4 | 100.00 |
CONT_ASSIGN | 173 | 1 | 1 | 100.00 |
CONT_ASSIGN | 179 | 1 | 1 | 100.00 |
CONT_ASSIGN | 213 | 1 | 1 | 100.00 |
ALWAYS | 215 | 7 | 7 | 100.00 |
ALWAYS | 246 | 5 | 5 | 100.00 |
CONT_ASSIGN | 255 | 1 | 1 | 100.00 |
CONT_ASSIGN | 258 | 1 | 1 | 100.00 |
CONT_ASSIGN | 260 | 1 | 1 | 100.00 |
CONT_ASSIGN | 280 | 1 | 1 | 100.00 |
ALWAYS | 302 | 4 | 4 | 100.00 |
ALWAYS | 314 | 4 | 4 | 100.00 |
CONT_ASSIGN | 322 | 1 | 1 | 100.00 |
CONT_ASSIGN | 324 | 1 | 1 | 100.00 |
ALWAYS | 327 | 3 | 3 | 100.00 |
ALWAYS | 337 | 6 | 5 | 83.33 |
CONT_ASSIGN | 353 | 1 | 1 | 100.00 |
CONT_ASSIGN | 354 | 1 | 1 | 100.00 |
CONT_ASSIGN | 356 | 1 | 1 | 100.00 |
CONT_ASSIGN | 358 | 1 | 1 | 100.00 |
CONT_ASSIGN | 376 | 1 | 1 | 100.00 |
ALWAYS | 379 | 5 | 5 | 100.00 |
CONT_ASSIGN | 388 | 1 | 1 | 100.00 |
CONT_ASSIGN | 389 | 1 | 1 | 100.00 |
CONT_ASSIGN | 512 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv' or '../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
73 |
1 |
1 |
74 |
1 |
1 |
75 |
1 |
1 |
76 |
1 |
1 |
77 |
1 |
1 |
79 |
1 |
1 |
80 |
1 |
1 |
81 |
1 |
1 |
82 |
1 |
1 |
84 |
1 |
1 |
85 |
1 |
1 |
94 |
1 |
1 |
95 |
1 |
1 |
98 |
1 |
1 |
105 |
2 |
2 |
106 |
2 |
2 |
|
|
|
MISSING_ELSE |
113 |
1 |
1 |
114 |
1 |
1 |
115 |
1 |
1 |
116 |
1 |
1 |
122 |
2 |
2 |
124 |
1 |
1 |
126 |
2 |
2 |
|
|
|
MISSING_ELSE |
130 |
2 |
2 |
|
|
|
MISSING_ELSE |
140 |
1 |
1 |
142 |
1 |
1 |
144 |
1 |
1 |
145 |
1 |
1 |
146 |
1 |
1 |
147 |
1 |
1 |
148 |
1 |
1 |
149 |
1 |
1 |
151 |
1 |
1 |
152 |
1 |
1 |
166 |
1 |
1 |
167 |
1 |
1 |
168 |
1 |
1 |
169 |
1 |
1 |
|
|
|
MISSING_ELSE |
173 |
1 |
1 |
179 |
1 |
1 |
213 |
1 |
1 |
215 |
1 |
1 |
216 |
1 |
1 |
217 |
1 |
1 |
218 |
1 |
1 |
219 |
1 |
1 |
220 |
1 |
1 |
222 |
1 |
1 |
246 |
1 |
1 |
247 |
1 |
1 |
248 |
1 |
1 |
250 |
1 |
1 |
251 |
1 |
1 |
255 |
1 |
1 |
258 |
1 |
1 |
260 |
1 |
1 |
280 |
1 |
1 |
302 |
2 |
2 |
303 |
2 |
2 |
|
|
|
MISSING_ELSE |
314 |
1 |
1 |
315 |
1 |
1 |
317 |
1 |
1 |
319 |
1 |
1 |
322 |
1 |
1 |
324 |
1 |
1 |
327 |
1 |
1 |
328 |
1 |
1 |
330 |
1 |
1 |
337 |
1 |
1 |
340 |
0 |
1 |
341 |
1 |
1 |
343 |
1 |
1 |
345 |
1 |
1 |
347 |
1 |
1 |
353 |
1 |
1 |
354 |
1 |
1 |
356 |
1 |
1 |
358 |
1 |
1 |
376 |
1 |
1 |
379 |
1 |
1 |
380 |
1 |
1 |
381 |
1 |
1 |
383 |
1 |
1 |
384 |
1 |
1 |
388 |
1 |
1 |
389 |
1 |
1 |
512 |
1 |
1 |
Cond Coverage for Instance : tb.dut.uart_core
| Total | Covered | Percent |
Conditions | 104 | 103 | 99.04 |
Logical | 104 | 103 | 99.04 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 79
EXPRESSION (reg2hw.fifo_ctrl.rxrst.q & reg2hw.fifo_ctrl.rxrst.qe)
------------1----------- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T7,T9 |
1 | 1 | Covered | T2,T7,T9 |
LINE 80
EXPRESSION (reg2hw.fifo_ctrl.txrst.q & reg2hw.fifo_ctrl.txrst.qe)
------------1----------- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T4 |
1 | 1 | Covered | T1,T2,T4 |
LINE 94
EXPRESSION (rx_valid & (((~event_rx_frame_err)) | (rx_fifo_data != 8'b0)))
----1--- -------------------------2------------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T13,T14 |
1 | 1 | Covered | T1,T2,T3 |
LINE 94
SUB-EXPRESSION (((~event_rx_frame_err)) | (rx_fifo_data != 8'b0))
-----------1----------- -----------2----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T2,T13,T14 |
0 | 1 | Covered | T2,T10,T15 |
1 | 0 | Covered | T1,T2,T3 |
LINE 94
SUB-EXPRESSION (rx_fifo_data != 8'b0)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 95
EXPRESSION (event_rx_frame_err & (rx_fifo_data == 8'b0))
---------1-------- -----------2----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T10,T15 |
1 | 1 | Covered | T2,T13,T14 |
LINE 95
SUB-EXPRESSION (rx_fifo_data == 8'b0)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 98
EXPRESSION (((break_st_q == BRK_WAIT) || not_allzero_char) ? 5'b0 : (allzero_err ? ((allzero_cnt_q + 5'b1)) : allzero_cnt_q))
-----------------------1----------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 98
SUB-EXPRESSION ((break_st_q == BRK_WAIT) || not_allzero_char)
------------1----------- --------2-------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T13,T14 |
LINE 98
SUB-EXPRESSION (break_st_q == BRK_WAIT)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T13,T14 |
LINE 98
SUB-EXPRESSION (allzero_err ? ((allzero_cnt_q + 5'b1)) : allzero_cnt_q)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T13,T14 |
LINE 146
EXPRESSION (tx_uart_idle & ((~tx_fifo_rvalid)))
------1----- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 168
EXPRESSION (tx_enable || rx_enable)
----1---- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
LINE 179
EXPRESSION (tx_uart_idle & tx_fifo_rvalid & tx_enable)
------1----- -------2------ ----3----
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T1,T2,T3 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 200
EXPRESSION (((^tx_fifo_data)) ^ reg2hw.ctrl.parity_odd.q)
--------1-------- ------------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T4 |
LINE 213
EXPRESSION (line_loopback ? rx : tx_out_q)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T9,T16,T12 |
LINE 255
EXPRESSION ((rx_sync & rx_sync_q1) | (rx_sync & rx_sync_q2) | (rx_sync_q1 & rx_sync_q2))
-----------1---------- -----------2---------- ------------3------------
-1- | -2- | -3- | Status | Tests |
0 | 0 | 0 | Covered | T1,T2,T3 |
0 | 0 | 1 | Covered | T1,T2,T3 |
0 | 1 | 0 | Covered | T1,T2,T3 |
1 | 0 | 0 | Covered | T1,T2,T3 |
LINE 255
SUB-EXPRESSION (rx_sync & rx_sync_q1)
---1--- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 255
SUB-EXPRESSION (rx_sync & rx_sync_q2)
---1--- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 255
SUB-EXPRESSION (rx_sync_q1 & rx_sync_q2)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 258
EXPRESSION (rxnf_enable ? rx_in_maj : rx_sync)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 260
EXPRESSION (sys_loopback ? tx_out : (line_loopback ? 1'b1 : rx_in_mx))
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T9,T16,T12 |
LINE 260
SUB-EXPRESSION (line_loopback ? 1'b1 : rx_in_mx)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T9,T16,T12 |
LINE 280
EXPRESSION (rx_valid & ((~event_rx_frame_err)) & ((~event_rx_parity_err)))
----1--- -----------2----------- ------------3-----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T2,T10,T15 |
1 | 1 | 0 | Covered | T2,T4,T5 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 322
EXPRESSION (tx_fifo_depth == '0)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 324
EXPRESSION (((~tx_fifo_rvalid)) & ((~tx_uart_idle_q)) & tx_uart_idle)
---------1--------- ---------2--------- ------3-----
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T1,T2,T3 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 341
EXPRESSION (uart_fifo_rxilvl == (RxFifoDepthW - 1))
--------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T4 |
LINE 356
EXPRESSION (rx_fifo_depth != rx_fifo_depth_prev_q)
-------------------1-------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 358
EXPRESSION
Number Term
1 (uart_rxto_en == 1'b0) ? 24'b0 : (event_rx_timeout ? 24'b0 : (rx_fifo_depth_changed ? 24'b0 : ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q)))))
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION (uart_rxto_en == 1'b0)
-----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION
Number Term
1 event_rx_timeout ? 24'b0 : (rx_fifo_depth_changed ? 24'b0 : ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q))))
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T4,T7 |
LINE 358
SUB-EXPRESSION (rx_fifo_depth_changed ? 24'b0 : ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q)))
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T4 |
LINE 358
SUB-EXPRESSION ((rx_fifo_depth == '0) ? 24'b0 : (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q))
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T4 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION (rx_fifo_depth == '0)
----------1----------
-1- | Status | Tests |
0 | Covered | T1,T2,T4 |
1 | Covered | T1,T2,T3 |
LINE 358
SUB-EXPRESSION (rx_tick_baud ? ((rx_timeout_count_q + 24'b1)) : rx_timeout_count_q)
------1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T4 |
1 | Covered | T1,T2,T4 |
LINE 376
EXPRESSION ((rx_timeout_count_q == uart_rxto_val) & uart_rxto_en)
------------------1------------------ ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T4,T7 |
LINE 376
SUB-EXPRESSION (rx_timeout_count_q == uart_rxto_val)
------------------1------------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 388
EXPRESSION (rx_fifo_wvalid & ((~rx_fifo_wready)))
-------1------ ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T10,T11 |
LINE 389
EXPRESSION (break_err & (break_st_q == BRK_CHK))
----1---- -----------2-----------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T2,T13,T14 |
LINE 389
SUB-EXPRESSION (break_st_q == BRK_CHK)
-----------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
Branch Coverage for Instance : tb.dut.uart_core
| Line No. | Total | Covered | Percent |
Branches |
|
49 |
48 |
97.96 |
TERNARY |
98 |
3 |
3 |
100.00 |
TERNARY |
213 |
2 |
2 |
100.00 |
TERNARY |
258 |
2 |
2 |
100.00 |
TERNARY |
260 |
3 |
3 |
100.00 |
TERNARY |
358 |
6 |
6 |
100.00 |
IF |
105 |
3 |
3 |
100.00 |
CASE |
113 |
4 |
4 |
100.00 |
IF |
122 |
5 |
5 |
100.00 |
IF |
166 |
3 |
3 |
100.00 |
IF |
215 |
4 |
4 |
100.00 |
IF |
246 |
2 |
2 |
100.00 |
IF |
302 |
3 |
3 |
100.00 |
IF |
314 |
2 |
2 |
100.00 |
IF |
327 |
2 |
2 |
100.00 |
IF |
337 |
3 |
2 |
66.67 |
IF |
379 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv' or '../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 98 (((break_st_q == BRK_WAIT) || not_allzero_char)) ?
-2-: 98 (allzero_err) ?
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T2,T13,T14 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 213 (line_loopback) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T9,T16,T12 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 258 (rxnf_enable) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 260 (sys_loopback) ?
-2-: 260 (line_loopback) ?
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T9,T16,T12 |
0 |
1 |
Covered |
T9,T16,T12 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 358 ((uart_rxto_en == 1'b0)) ?
-2-: 358 (event_rx_timeout) ?
-3-: 358 (rx_fifo_depth_changed) ?
-4-: 358 ((rx_fifo_depth == '0)) ?
-5-: 358 (rx_tick_baud) ?
Branches:
-1- | -2- | -3- | -4- | -5- | Status | Tests |
1 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
- |
- |
Covered |
T2,T4,T7 |
0 |
0 |
1 |
- |
- |
Covered |
T1,T2,T4 |
0 |
0 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
0 |
0 |
1 |
Covered |
T1,T2,T4 |
0 |
0 |
0 |
0 |
0 |
Covered |
T1,T2,T4 |
LineNo. Expression
-1-: 105 if ((!rst_ni))
-2-: 106 if (rx_enable)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 113 case (reg2hw.ctrl.rxblvl.q)
Branches:
-1- | Status | Tests |
2'h0 |
Covered |
T1,T2,T3 |
2'h1 |
Covered |
T1,T2,T3 |
2'h2 |
Covered |
T1,T2,T3 |
default |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 122 if ((!rst_ni))
-2-: 124 case (break_st_q)
-3-: 126 if (event_rx_break_err)
-4-: 130 if (rx_in)
Branches:
-1- | -2- | -3- | -4- | Status | Tests |
1 |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
BRK_CHK |
1 |
- |
Covered |
T2,T13,T14 |
0 |
BRK_CHK |
0 |
- |
Covered |
T1,T2,T3 |
0 |
BRK_WAIT |
- |
1 |
Covered |
T2,T13,T14 |
0 |
BRK_WAIT |
- |
0 |
Covered |
T2,T13,T14 |
0 |
default |
- |
- |
Excluded |
|
LineNo. Expression
-1-: 166 if ((!rst_ni))
-2-: 168 if ((tx_enable || rx_enable))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 215 if ((!rst_ni))
-2-: 217 if (ovrd_tx_en)
-3-: 219 if (sys_loopback)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T2,T10,T12 |
0 |
0 |
1 |
Covered |
T9,T16,T12 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 246 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 302 if ((!rst_ni))
-2-: 303 if (tick_baud_x16)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 314 if ((uart_fifo_txilvl >= (TxFifoDepthW - 2)))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 327 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 337 if ((uart_fifo_rxilvl > (RxFifoDepthW - 1)))
-2-: 341 if ((uart_fifo_rxilvl == (RxFifoDepthW - 1)))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Not Covered |
|
0 |
1 |
Covered |
T1,T2,T4 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 379 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Assert Coverage for Instance : tb.dut.uart_core
Assertion Details
RxFifoDepth_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1153 |
1153 |
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 |
TxFifoDepth_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1153 |
1153 |
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 |