Line Coverage for Module :
flash_phy_core
| Line No. | Total | Covered | Percent |
TOTAL | | 79 | 79 | 100.00 |
ALWAYS | 154 | 6 | 6 | 100.00 |
ALWAYS | 167 | 3 | 3 | 100.00 |
CONT_ASSIGN | 199 | 1 | 1 | 100.00 |
CONT_ASSIGN | 203 | 1 | 1 | 100.00 |
ALWAYS | 206 | 4 | 4 | 100.00 |
ALWAYS | 218 | 6 | 6 | 100.00 |
ALWAYS | 232 | 6 | 6 | 100.00 |
CONT_ASSIGN | 280 | 1 | 1 | 100.00 |
CONT_ASSIGN | 283 | 1 | 1 | 100.00 |
CONT_ASSIGN | 284 | 1 | 1 | 100.00 |
CONT_ASSIGN | 285 | 1 | 1 | 100.00 |
CONT_ASSIGN | 290 | 1 | 1 | 100.00 |
CONT_ASSIGN | 320 | 1 | 1 | 100.00 |
CONT_ASSIGN | 324 | 1 | 1 | 100.00 |
ALWAYS | 328 | 29 | 29 | 100.00 |
CONT_ASSIGN | 391 | 1 | 1 | 100.00 |
CONT_ASSIGN | 395 | 1 | 1 | 100.00 |
CONT_ASSIGN | 396 | 1 | 1 | 100.00 |
CONT_ASSIGN | 397 | 1 | 1 | 100.00 |
CONT_ASSIGN | 398 | 1 | 1 | 100.00 |
CONT_ASSIGN | 399 | 1 | 1 | 100.00 |
CONT_ASSIGN | 400 | 1 | 1 | 100.00 |
CONT_ASSIGN | 401 | 1 | 1 | 100.00 |
CONT_ASSIGN | 418 | 1 | 1 | 100.00 |
CONT_ASSIGN | 431 | 1 | 1 | 100.00 |
CONT_ASSIGN | 551 | 1 | 1 | 100.00 |
CONT_ASSIGN | 579 | 1 | 1 | 100.00 |
CONT_ASSIGN | 586 | 1 | 1 | 100.00 |
CONT_ASSIGN | 603 | 1 | 1 | 100.00 |
CONT_ASSIGN | 604 | 1 | 1 | 100.00 |
CONT_ASSIGN | 605 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' or '../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
154 |
1 |
1 |
155 |
1 |
1 |
156 |
1 |
1 |
157 |
1 |
1 |
158 |
1 |
1 |
159 |
1 |
1 |
|
|
|
MISSING_ELSE |
167 |
3 |
3 |
199 |
1 |
1 |
203 |
1 |
1 |
206 |
1 |
1 |
207 |
1 |
1 |
208 |
1 |
1 |
209 |
1 |
1 |
|
|
|
MISSING_ELSE |
218 |
1 |
1 |
219 |
1 |
1 |
220 |
1 |
1 |
221 |
1 |
1 |
222 |
1 |
1 |
223 |
1 |
1 |
|
|
|
MISSING_ELSE |
232 |
1 |
1 |
233 |
1 |
1 |
234 |
1 |
1 |
235 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
|
|
|
MISSING_ELSE |
280 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
285 |
1 |
1 |
290 |
1 |
1 |
320 |
1 |
1 |
324 |
1 |
1 |
328 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
331 |
1 |
1 |
332 |
1 |
1 |
334 |
1 |
1 |
336 |
1 |
1 |
337 |
1 |
1 |
338 |
1 |
1 |
339 |
1 |
1 |
340 |
1 |
1 |
341 |
1 |
1 |
342 |
1 |
1 |
343 |
1 |
1 |
344 |
1 |
1 |
|
|
|
MISSING_ELSE |
350 |
1 |
1 |
351 |
1 |
1 |
352 |
1 |
1 |
|
|
|
MISSING_ELSE |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
362 |
1 |
1 |
|
|
|
MISSING_ELSE |
368 |
1 |
1 |
369 |
1 |
1 |
370 |
1 |
1 |
371 |
1 |
1 |
372 |
1 |
1 |
|
|
|
MISSING_ELSE |
377 |
1 |
1 |
378 |
1 |
1 |
391 |
1 |
1 |
395 |
1 |
1 |
396 |
1 |
1 |
397 |
1 |
1 |
398 |
1 |
1 |
399 |
1 |
1 |
400 |
1 |
1 |
401 |
1 |
1 |
418 |
1 |
1 |
431 |
1 |
1 |
551 |
1 |
1 |
579 |
1 |
1 |
586 |
1 |
1 |
603 |
1 |
1 |
604 |
1 |
1 |
605 |
1 |
1 |
Cond Coverage for Module :
flash_phy_core
| Total | Covered | Percent |
Conditions | 106 | 101 | 95.28 |
Logical | 106 | 101 | 95.28 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 199
EXPRESSION (host_gnt && (muxed_part != FlashPartData))
----1--- --------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T5,T6 |
1 | 1 | Covered | T53,T200,T9 |
LINE 199
SUB-EXPRESSION (muxed_part != FlashPartData)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 203
EXPRESSION (((|host_outstanding)) & ((!ctrl_fsm_idle)))
----------1---------- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T5,T6 |
1 | 1 | Not Covered | |
LINE 208
EXPRESSION (host_gnt_err_event | host_outstanding_err_event)
---------1-------- -------------2------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T53,T200,T9 |
LINE 220
EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T3,T5,T6 |
1 | Covered | T1,T2,T3 |
LINE 234
EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
------------1----------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 234
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T3,T5,T6 |
1 | Covered | T1,T2,T3 |
LINE 245
EXPRESSION (host_gnt && ((!host_req_done_o)) && (host_outstanding <= flash_phy_pkg::RspOrderDepth))
----1--- ----------2--------- -------------------------3------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T3,T5,T6 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T3,T5,T6 |
LINE 245
EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
------1------ -------2------- ----------3----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T3,T5,T6 |
1 | 0 | 1 | Covered | T3,T5,T6 |
1 | 1 | 0 | Covered | T76,T77,T112 |
1 | 1 | 1 | Covered | T3,T5,T6 |
LINE 284
EXPRESSION (host_req & host_req_rdy_o)
----1--- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T3,T6,T7 |
1 | 1 | Covered | T3,T5,T6 |
LINE 285
EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
----------1---------- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T5,T6 |
1 | 1 | Covered | T3,T5,T6 |
LINE 320
EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
----------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 320
SUB-EXPRESSION (phy_req & host_req)
---1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T128,T127,T129 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T3,T5,T6 |
LINE 324
EXPRESSION (req_i & host_gnt)
--1-- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T3,T6,T7 |
LINE 339
EXPRESSION (ctrl_gnt && rd_i)
----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 341
EXPRESSION (ctrl_gnt && prog_i)
----1--- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T3,T4 |
LINE 391
EXPRESSION ((ctrl_fsm_idle & ctrl_rsp_vld) | ((host_outstanding == '0) & host_req_done_o))
---------------1-------------- ----------------------2---------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T76,T77,T112 |
1 | 0 | Covered | T224,T225 |
LINE 391
SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
------1------ ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T224,T225 |
LINE 391
SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
------------1----------- -------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T76,T77,T112 |
LINE 391
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 395
EXPRESSION (host_sel ? host_addr_i : addr_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 396
EXPRESSION (host_sel ? FlashPartData : part_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 397
EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 398
EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 399
EXPRESSION (ctrl_rsp_vld & rd_i)
------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 400
EXPRESSION (ctrl_rsp_vld & prog_i)
------1----- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T3,T17 |
LINE 401
EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
------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 401
SUB-EXPRESSION (pg_erase_i | bk_erase_i)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T17,T18 |
1 | 0 | Covered | T1,T2,T17 |
LINE 431
EXPRESSION ((host_gnt_rd_err & (host_outstanding == 1'b1)) | host_outstanding_rd_err)
-----------------------1---------------------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T200 |
LINE 431
SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
-------1------- -------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T200 |
1 | 1 | Covered | T200 |
LINE 431
SUB-EXPRESSION (host_outstanding == 1'b1)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 434
EXPRESSION (phy_req & (rd_i | host_req))
---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 434
SUB-EXPRESSION (rd_i | host_req)
--1- ----2---
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
LINE 434
EXPRESSION (arb_host_gnt_err ? ({flash_phy_pkg::FullDataWidth {1'b1}}) : flash_rdata)
--------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T200 |
LINE 551
EXPRESSION (prog_calc_req ? muxed_addr[(flash_phy_pkg::BusBankAddrW - 1):flash_phy_pkg::LsbAddrBit] : rd_calc_addr)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T19,T11,T46 |
LINE 557
EXPRESSION (prog_calc_req | rd_calc_req)
------1------ -----2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T19,T11,T46 |
LINE 557
EXPRESSION (prog_op_req | rd_op_req)
-----1----- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T19,T11,T46 |
LINE 557
EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T19,T11,T46 |
LINE 579
EXPRESSION (fsm_err | prog_fsm_err)
---1--- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T14,T15,T38 |
1 | 0 | Covered | T14,T15,T38 |
FSM Coverage for Module :
flash_phy_core
Summary for FSM :: state_q
| Total | Covered | Percent | |
States |
5 |
5 |
100.00 |
(Not included in score) |
Transitions |
7 |
7 |
100.00 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: state_q
states | Line No. | Covered | Tests |
StCtrl |
344 |
Covered |
T1,T2,T3 |
StCtrlProg |
342 |
Covered |
T1,T3,T4 |
StCtrlRead |
340 |
Covered |
T1,T2,T3 |
StDisable |
338 |
Covered |
T2,T11,T12 |
StIdle |
352 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
StCtrl->StIdle |
372 |
Covered |
T1,T2,T3 |
StCtrlProg->StIdle |
362 |
Covered |
T1,T3,T4 |
StCtrlRead->StIdle |
352 |
Covered |
T1,T2,T3 |
StIdle->StCtrl |
344 |
Covered |
T1,T2,T3 |
StIdle->StCtrlProg |
342 |
Covered |
T1,T3,T4 |
StIdle->StCtrlRead |
340 |
Covered |
T1,T2,T3 |
StIdle->StDisable |
338 |
Covered |
T2,T11,T12 |
Branch Coverage for Module :
flash_phy_core
| Line No. | Total | Covered | Percent |
Branches |
|
46 |
46 |
100.00 |
TERNARY |
320 |
2 |
2 |
100.00 |
TERNARY |
395 |
2 |
2 |
100.00 |
TERNARY |
396 |
2 |
2 |
100.00 |
TERNARY |
397 |
2 |
2 |
100.00 |
TERNARY |
398 |
2 |
2 |
100.00 |
TERNARY |
551 |
2 |
2 |
100.00 |
TERNARY |
434 |
2 |
2 |
100.00 |
TERNARY |
557 |
2 |
2 |
100.00 |
IF |
154 |
4 |
4 |
100.00 |
IF |
167 |
2 |
2 |
100.00 |
IF |
206 |
3 |
3 |
100.00 |
IF |
218 |
4 |
4 |
100.00 |
IF |
232 |
4 |
4 |
100.00 |
CASE |
334 |
13 |
13 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' or '../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 320 ((phy_req & host_req)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 395 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 396 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 397 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 398 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 551 (prog_calc_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T19,T11,T46 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 434 (arb_host_gnt_err) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T200 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 557 (prog_op_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T19,T11,T46 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 154 if ((!rst_ni))
-2-: 156 if (ctrl_rsp_vld)
-3-: 158 if (inc_arb_cnt)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T3,T6,T7 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 167 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 206 if ((!rst_ni))
-2-: 208 if ((host_gnt_err_event | host_outstanding_err_event))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T53,T200,T9 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 218 if ((!rst_ni))
-2-: 220 if ((host_outstanding == '0))
-3-: 222 if (host_gnt_err_event)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T200,T9,T13 |
0 |
0 |
0 |
Covered |
T3,T5,T6 |
LineNo. Expression
-1-: 232 if ((!rst_ni))
-2-: 234 if (((host_outstanding == '0) && ctrl_fsm_idle))
-3-: 236 if (host_outstanding_err_event)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T9,T13 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 334 case (state_q)
-2-: 337 if (prim_mubi_pkg::mubi4_test_true_loose(flash_disable[FsmDisableIdx]))
-3-: 339 if ((ctrl_gnt && rd_i))
-4-: 341 if ((ctrl_gnt && prog_i))
-5-: 343 if (ctrl_gnt)
-6-: 350 if (rd_stage_data_valid)
-7-: 360 if (prog_ack)
-8-: 370 if (erase_ack)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T2,T11,T12 |
StIdle |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
0 |
0 |
1 |
- |
- |
- |
- |
Covered |
T1,T3,T4 |
StIdle |
0 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
0 |
0 |
0 |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlProg |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T1,T3,T17 |
StCtrlProg |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T1,T3,T4 |
StCtrl |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T1,T2,T3 |
StCtrl |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T1,T2,T3 |
StDisable |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T11,T12 |
default |
- |
- |
- |
- |
- |
- |
- |
Covered |
T14,T9,T15 |
Assert Coverage for Module :
flash_phy_core
Assertion Details
ArbCntMax_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
886898464 |
4398760 |
0 |
0 |
T6 |
209806 |
5605 |
0 |
0 |
T7 |
240936 |
5983 |
0 |
0 |
T11 |
2736 |
0 |
0 |
0 |
T12 |
1958 |
0 |
0 |
0 |
T18 |
308300 |
0 |
0 |
0 |
T19 |
7348 |
0 |
0 |
0 |
T22 |
48400 |
0 |
0 |
0 |
T31 |
0 |
5508 |
0 |
0 |
T32 |
0 |
6326 |
0 |
0 |
T34 |
0 |
86829 |
0 |
0 |
T35 |
0 |
74 |
0 |
0 |
T36 |
0 |
3407 |
0 |
0 |
T37 |
0 |
23723 |
0 |
0 |
T39 |
75364 |
3460 |
0 |
0 |
T41 |
2118 |
0 |
0 |
0 |
T42 |
0 |
1724 |
0 |
0 |
T48 |
2912 |
0 |
0 |
0 |
T52 |
0 |
15415 |
0 |
0 |
CtrlPrio_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
886898464 |
4398746 |
0 |
0 |
T6 |
209806 |
5605 |
0 |
0 |
T7 |
240936 |
5983 |
0 |
0 |
T11 |
2736 |
0 |
0 |
0 |
T12 |
1958 |
0 |
0 |
0 |
T18 |
308300 |
0 |
0 |
0 |
T19 |
7348 |
0 |
0 |
0 |
T22 |
48400 |
0 |
0 |
0 |
T31 |
0 |
5508 |
0 |
0 |
T32 |
0 |
6326 |
0 |
0 |
T34 |
0 |
86829 |
0 |
0 |
T35 |
0 |
74 |
0 |
0 |
T36 |
0 |
3407 |
0 |
0 |
T37 |
0 |
23723 |
0 |
0 |
T39 |
75364 |
3460 |
0 |
0 |
T41 |
2118 |
0 |
0 |
0 |
T42 |
0 |
1724 |
0 |
0 |
T48 |
2912 |
0 |
0 |
0 |
T52 |
0 |
15415 |
0 |
0 |
HostTransIdleChk_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
886898464 |
46002981 |
0 |
0 |
T3 |
273604 |
262 |
0 |
0 |
T4 |
4356 |
0 |
0 |
0 |
T5 |
3512 |
15 |
0 |
0 |
T6 |
209806 |
53161 |
0 |
0 |
T7 |
0 |
52853 |
0 |
0 |
T11 |
2736 |
0 |
0 |
0 |
T16 |
4420 |
0 |
0 |
0 |
T17 |
1622316 |
0 |
0 |
0 |
T18 |
308300 |
0 |
0 |
0 |
T19 |
7348 |
36 |
0 |
0 |
T22 |
0 |
327 |
0 |
0 |
T24 |
0 |
18 |
0 |
0 |
T25 |
0 |
16 |
0 |
0 |
T34 |
0 |
862665 |
0 |
0 |
T35 |
0 |
38 |
0 |
0 |
T36 |
0 |
16308 |
0 |
0 |
T39 |
0 |
33234 |
0 |
0 |
T48 |
2912 |
0 |
0 |
0 |
T94 |
0 |
30 |
0 |
0 |
T111 |
0 |
24 |
0 |
0 |
NoRemainder_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2124 |
2124 |
0 |
0 |
T1 |
2 |
2 |
0 |
0 |
T2 |
2 |
2 |
0 |
0 |
T3 |
2 |
2 |
0 |
0 |
T4 |
2 |
2 |
0 |
0 |
T5 |
2 |
2 |
0 |
0 |
T6 |
2 |
2 |
0 |
0 |
T16 |
2 |
2 |
0 |
0 |
T17 |
2 |
2 |
0 |
0 |
T18 |
2 |
2 |
0 |
0 |
T19 |
2 |
2 |
0 |
0 |
OneHotReqs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
886898464 |
885272104 |
0 |
0 |
T1 |
425088 |
424946 |
0 |
0 |
T2 |
1616 |
1460 |
0 |
0 |
T3 |
273604 |
273444 |
0 |
0 |
T4 |
4356 |
4040 |
0 |
0 |
T5 |
3512 |
3336 |
0 |
0 |
T6 |
209806 |
209580 |
0 |
0 |
T16 |
4420 |
4262 |
0 |
0 |
T17 |
1622316 |
1622126 |
0 |
0 |
T18 |
308300 |
308282 |
0 |
0 |
T19 |
7348 |
7076 |
0 |
0 |
Pow2Multiple_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2124 |
2124 |
0 |
0 |
T1 |
2 |
2 |
0 |
0 |
T2 |
2 |
2 |
0 |
0 |
T3 |
2 |
2 |
0 |
0 |
T4 |
2 |
2 |
0 |
0 |
T5 |
2 |
2 |
0 |
0 |
T6 |
2 |
2 |
0 |
0 |
T16 |
2 |
2 |
0 |
0 |
T17 |
2 |
2 |
0 |
0 |
T18 |
2 |
2 |
0 |
0 |
T19 |
2 |
2 |
0 |
0 |
RdTxnCheck_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
885889662 |
884263302 |
0 |
0 |
T1 |
425088 |
424946 |
0 |
0 |
T2 |
1616 |
1460 |
0 |
0 |
T3 |
273604 |
273444 |
0 |
0 |
T4 |
4356 |
4040 |
0 |
0 |
T5 |
3512 |
3336 |
0 |
0 |
T6 |
209806 |
209580 |
0 |
0 |
T16 |
4420 |
4262 |
0 |
0 |
T17 |
1622316 |
1622126 |
0 |
0 |
T18 |
308300 |
308282 |
0 |
0 |
T19 |
7348 |
7076 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
886898464 |
885272104 |
0 |
0 |
T1 |
425088 |
424946 |
0 |
0 |
T2 |
1616 |
1460 |
0 |
0 |
T3 |
273604 |
273444 |
0 |
0 |
T4 |
4356 |
4040 |
0 |
0 |
T5 |
3512 |
3336 |
0 |
0 |
T6 |
209806 |
209580 |
0 |
0 |
T16 |
4420 |
4262 |
0 |
0 |
T17 |
1622316 |
1622126 |
0 |
0 |
T18 |
308300 |
308282 |
0 |
0 |
T19 |
7348 |
7076 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
| Line No. | Total | Covered | Percent |
TOTAL | | 79 | 79 | 100.00 |
ALWAYS | 154 | 6 | 6 | 100.00 |
ALWAYS | 167 | 3 | 3 | 100.00 |
CONT_ASSIGN | 199 | 1 | 1 | 100.00 |
CONT_ASSIGN | 203 | 1 | 1 | 100.00 |
ALWAYS | 206 | 4 | 4 | 100.00 |
ALWAYS | 218 | 6 | 6 | 100.00 |
ALWAYS | 232 | 6 | 6 | 100.00 |
CONT_ASSIGN | 280 | 1 | 1 | 100.00 |
CONT_ASSIGN | 283 | 1 | 1 | 100.00 |
CONT_ASSIGN | 284 | 1 | 1 | 100.00 |
CONT_ASSIGN | 285 | 1 | 1 | 100.00 |
CONT_ASSIGN | 290 | 1 | 1 | 100.00 |
CONT_ASSIGN | 320 | 1 | 1 | 100.00 |
CONT_ASSIGN | 324 | 1 | 1 | 100.00 |
ALWAYS | 328 | 29 | 29 | 100.00 |
CONT_ASSIGN | 391 | 1 | 1 | 100.00 |
CONT_ASSIGN | 395 | 1 | 1 | 100.00 |
CONT_ASSIGN | 396 | 1 | 1 | 100.00 |
CONT_ASSIGN | 397 | 1 | 1 | 100.00 |
CONT_ASSIGN | 398 | 1 | 1 | 100.00 |
CONT_ASSIGN | 399 | 1 | 1 | 100.00 |
CONT_ASSIGN | 400 | 1 | 1 | 100.00 |
CONT_ASSIGN | 401 | 1 | 1 | 100.00 |
CONT_ASSIGN | 418 | 1 | 1 | 100.00 |
CONT_ASSIGN | 431 | 1 | 1 | 100.00 |
CONT_ASSIGN | 551 | 1 | 1 | 100.00 |
CONT_ASSIGN | 579 | 1 | 1 | 100.00 |
CONT_ASSIGN | 586 | 1 | 1 | 100.00 |
CONT_ASSIGN | 603 | 1 | 1 | 100.00 |
CONT_ASSIGN | 604 | 1 | 1 | 100.00 |
CONT_ASSIGN | 605 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' or '../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
154 |
1 |
1 |
155 |
1 |
1 |
156 |
1 |
1 |
157 |
1 |
1 |
158 |
1 |
1 |
159 |
1 |
1 |
|
|
|
MISSING_ELSE |
167 |
3 |
3 |
199 |
1 |
1 |
203 |
1 |
1 |
206 |
1 |
1 |
207 |
1 |
1 |
208 |
1 |
1 |
209 |
1 |
1 |
|
|
|
MISSING_ELSE |
218 |
1 |
1 |
219 |
1 |
1 |
220 |
1 |
1 |
221 |
1 |
1 |
222 |
1 |
1 |
223 |
1 |
1 |
|
|
|
MISSING_ELSE |
232 |
1 |
1 |
233 |
1 |
1 |
234 |
1 |
1 |
235 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
|
|
|
MISSING_ELSE |
280 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
285 |
1 |
1 |
290 |
1 |
1 |
320 |
1 |
1 |
324 |
1 |
1 |
328 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
331 |
1 |
1 |
332 |
1 |
1 |
334 |
1 |
1 |
336 |
1 |
1 |
337 |
1 |
1 |
338 |
1 |
1 |
339 |
1 |
1 |
340 |
1 |
1 |
341 |
1 |
1 |
342 |
1 |
1 |
343 |
1 |
1 |
344 |
1 |
1 |
|
|
|
MISSING_ELSE |
350 |
1 |
1 |
351 |
1 |
1 |
352 |
1 |
1 |
|
|
|
MISSING_ELSE |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
362 |
1 |
1 |
|
|
|
MISSING_ELSE |
368 |
1 |
1 |
369 |
1 |
1 |
370 |
1 |
1 |
371 |
1 |
1 |
372 |
1 |
1 |
|
|
|
MISSING_ELSE |
377 |
1 |
1 |
378 |
1 |
1 |
391 |
1 |
1 |
395 |
1 |
1 |
396 |
1 |
1 |
397 |
1 |
1 |
398 |
1 |
1 |
399 |
1 |
1 |
400 |
1 |
1 |
401 |
1 |
1 |
418 |
1 |
1 |
431 |
1 |
1 |
551 |
1 |
1 |
579 |
1 |
1 |
586 |
1 |
1 |
603 |
1 |
1 |
604 |
1 |
1 |
605 |
1 |
1 |
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
| Total | Covered | Percent |
Conditions | 106 | 89 | 83.96 |
Logical | 106 | 89 | 83.96 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 199
EXPRESSION (host_gnt && (muxed_part != FlashPartData))
----1--- --------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T6,T19 |
1 | 1 | Not Covered | |
LINE 199
SUB-EXPRESSION (muxed_part != FlashPartData)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 203
EXPRESSION (((|host_outstanding)) & ((!ctrl_fsm_idle)))
----------1---------- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T17,T6 |
1 | 0 | Covered | T3,T6,T19 |
1 | 1 | Not Covered | |
LINE 208
EXPRESSION (host_gnt_err_event | host_outstanding_err_event)
---------1-------- -------------2------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 220
EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T3,T6,T19 |
1 | Covered | T1,T2,T3 |
LINE 234
EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
------------1----------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T6,T19 |
1 | 0 | Covered | T3,T17,T6 |
1 | 1 | Covered | T1,T2,T3 |
LINE 234
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T3,T6,T19 |
1 | Covered | T1,T2,T3 |
LINE 245
EXPRESSION (host_gnt && ((!host_req_done_o)) && (host_outstanding <= flash_phy_pkg::RspOrderDepth))
----1--- ----------2--------- -------------------------3------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T3,T6,T7 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T3,T6,T19 |
LINE 245
EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
------1------ -------2------- ----------3----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T3,T6,T7 |
1 | 0 | 1 | Covered | T3,T6,T19 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T3,T6,T19 |
LINE 284
EXPRESSION (host_req & host_req_rdy_o)
----1--- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T6,T7,T39 |
1 | 1 | Covered | T3,T6,T19 |
LINE 285
EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
----------1---------- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T17,T6 |
1 | 0 | Covered | T3,T6,T19 |
1 | 1 | Covered | T3,T6,T19 |
LINE 320
EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
----------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T6,T19 |
LINE 320
SUB-EXPRESSION (phy_req & host_req)
---1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T3,T17,T6 |
1 | 1 | Covered | T3,T6,T19 |
LINE 324
EXPRESSION (req_i & host_gnt)
--1-- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T6,T19 |
1 | 0 | Covered | T3,T17,T6 |
1 | 1 | Covered | T3,T6,T7 |
LINE 339
EXPRESSION (ctrl_gnt && rd_i)
----1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T17,T18 |
1 | 1 | Covered | T3,T17,T6 |
LINE 341
EXPRESSION (ctrl_gnt && prog_i)
----1--- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T3,T17,T18 |
1 | 1 | Covered | T3,T17,T18 |
LINE 391
EXPRESSION ((ctrl_fsm_idle & ctrl_rsp_vld) | ((host_outstanding == '0) & host_req_done_o))
---------------1-------------- ----------------------2---------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 391
SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
------1------ ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T17,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Not Covered | |
LINE 391
SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
------------1----------- -------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T6,T19 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Not Covered | |
LINE 391
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 395
EXPRESSION (host_sel ? host_addr_i : addr_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T6,T19 |
LINE 396
EXPRESSION (host_sel ? FlashPartData : part_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T6,T19 |
LINE 397
EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T6,T19 |
LINE 398
EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T6,T19 |
LINE 399
EXPRESSION (ctrl_rsp_vld & rd_i)
------1----- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T17,T18 |
1 | 1 | Covered | T3,T17,T6 |
LINE 400
EXPRESSION (ctrl_rsp_vld & prog_i)
------1----- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T3,T17,T6 |
1 | 1 | Covered | T3,T17,T18 |
LINE 401
EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
------1----- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T17,T6 |
1 | 1 | Covered | T3,T17,T18 |
LINE 401
SUB-EXPRESSION (pg_erase_i | bk_erase_i)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T17,T18 |
1 | 0 | Covered | T1,T2,T17 |
LINE 431
EXPRESSION ((host_gnt_rd_err & (host_outstanding == 1'b1)) | host_outstanding_rd_err)
-----------------------1---------------------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Not Covered | |
LINE 431
SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
-------1------- -------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T6,T19 |
1 | 0 | Not Covered | |
1 | 1 | Not Covered | |
LINE 431
SUB-EXPRESSION (host_outstanding == 1'b1)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T6,T19 |
LINE 434
EXPRESSION (phy_req & (rd_i | host_req))
---1--- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T17,T18 |
1 | 1 | Covered | T3,T17,T6 |
LINE 434
SUB-EXPRESSION (rd_i | host_req)
--1- ----2---
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T6,T19 |
1 | 0 | Covered | T1,T2,T3 |
LINE 434
EXPRESSION (arb_host_gnt_err ? ({flash_phy_pkg::FullDataWidth {1'b1}}) : flash_rdata)
--------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Not Covered | |
LINE 551
EXPRESSION (prog_calc_req ? muxed_addr[(flash_phy_pkg::BusBankAddrW - 1):flash_phy_pkg::LsbAddrBit] : rd_calc_addr)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T19,T11,T226 |
LINE 557
EXPRESSION (prog_calc_req | rd_calc_req)
------1------ -----2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T6,T19,T7 |
1 | 0 | Covered | T19,T11,T226 |
LINE 557
EXPRESSION (prog_op_req | rd_op_req)
-----1----- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T6,T19,T7 |
1 | 0 | Covered | T19,T11,T92 |
LINE 557
EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T19,T11,T92 |
LINE 579
EXPRESSION (fsm_err | prog_fsm_err)
---1--- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T14,T15,T38 |
1 | 0 | Covered | T14,T15,T38 |
FSM Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
Summary for FSM :: state_q
| Total | Covered | Percent | |
States |
5 |
5 |
100.00 |
(Not included in score) |
Transitions |
7 |
7 |
100.00 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: state_q
states | Line No. | Covered | Tests |
StCtrl |
344 |
Covered |
T3,T17,T18 |
StCtrlProg |
342 |
Covered |
T3,T17,T18 |
StCtrlRead |
340 |
Covered |
T3,T17,T6 |
StDisable |
338 |
Covered |
T2,T11,T12 |
StIdle |
352 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
StCtrl->StIdle |
372 |
Covered |
T3,T17,T18 |
StCtrlProg->StIdle |
362 |
Covered |
T3,T17,T18 |
StCtrlRead->StIdle |
352 |
Covered |
T3,T17,T6 |
StIdle->StCtrl |
344 |
Covered |
T3,T17,T18 |
StIdle->StCtrlProg |
342 |
Covered |
T3,T17,T18 |
StIdle->StCtrlRead |
340 |
Covered |
T3,T17,T6 |
StIdle->StDisable |
338 |
Covered |
T2,T11,T12 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
| Line No. | Total | Covered | Percent |
Branches |
|
46 |
45 |
97.83 |
TERNARY |
320 |
2 |
2 |
100.00 |
TERNARY |
395 |
2 |
2 |
100.00 |
TERNARY |
396 |
2 |
2 |
100.00 |
TERNARY |
397 |
2 |
2 |
100.00 |
TERNARY |
398 |
2 |
2 |
100.00 |
TERNARY |
551 |
2 |
2 |
100.00 |
TERNARY |
434 |
2 |
1 |
50.00 |
TERNARY |
557 |
2 |
2 |
100.00 |
IF |
154 |
4 |
4 |
100.00 |
IF |
167 |
2 |
2 |
100.00 |
IF |
206 |
3 |
3 |
100.00 |
IF |
218 |
4 |
4 |
100.00 |
IF |
232 |
4 |
4 |
100.00 |
CASE |
334 |
13 |
13 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' or '../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 320 ((phy_req & host_req)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T6,T19 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 395 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T6,T19 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 396 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T6,T19 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 397 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T6,T19 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 398 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T6,T19 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 551 (prog_calc_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T19,T11,T226 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 434 (arb_host_gnt_err) ?
Branches:
-1- | Status | Tests |
1 |
Not Covered |
|
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 557 (prog_op_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T19,T11,T92 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 154 if ((!rst_ni))
-2-: 156 if (ctrl_rsp_vld)
-3-: 158 if (inc_arb_cnt)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T3,T17,T6 |
0 |
0 |
1 |
Covered |
T3,T6,T7 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 167 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 206 if ((!rst_ni))
-2-: 208 if ((host_gnt_err_event | host_outstanding_err_event))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T9,T13 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 218 if ((!rst_ni))
-2-: 220 if ((host_outstanding == '0))
-3-: 222 if (host_gnt_err_event)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T9,T13 |
0 |
0 |
0 |
Covered |
T3,T6,T19 |
LineNo. Expression
-1-: 232 if ((!rst_ni))
-2-: 234 if (((host_outstanding == '0) && ctrl_fsm_idle))
-3-: 236 if (host_outstanding_err_event)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T9,T13 |
0 |
0 |
0 |
Covered |
T3,T17,T6 |
LineNo. Expression
-1-: 334 case (state_q)
-2-: 337 if (prim_mubi_pkg::mubi4_test_true_loose(flash_disable[FsmDisableIdx]))
-3-: 339 if ((ctrl_gnt && rd_i))
-4-: 341 if ((ctrl_gnt && prog_i))
-5-: 343 if (ctrl_gnt)
-6-: 350 if (rd_stage_data_valid)
-7-: 360 if (prog_ack)
-8-: 370 if (erase_ack)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T2,T11,T12 |
StIdle |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T3,T17,T6 |
StIdle |
0 |
0 |
1 |
- |
- |
- |
- |
Covered |
T3,T17,T18 |
StIdle |
0 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T3,T17,T18 |
StIdle |
0 |
0 |
0 |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T3,T17,T6 |
StCtrlRead |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T3,T17,T6 |
StCtrlProg |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T3,T17,T18 |
StCtrlProg |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T3,T17,T18 |
StCtrl |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T3,T17,T18 |
StCtrl |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T3,T17,T18 |
StDisable |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T11,T12 |
default |
- |
- |
- |
- |
- |
- |
- |
Covered |
T14,T9,T15 |
Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
Assertion Details
ArbCntMax_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
2147172 |
0 |
0 |
T6 |
104903 |
3101 |
0 |
0 |
T7 |
120468 |
2779 |
0 |
0 |
T11 |
1368 |
0 |
0 |
0 |
T12 |
979 |
0 |
0 |
0 |
T18 |
154150 |
0 |
0 |
0 |
T19 |
3674 |
0 |
0 |
0 |
T22 |
24200 |
0 |
0 |
0 |
T31 |
0 |
4518 |
0 |
0 |
T32 |
0 |
2151 |
0 |
0 |
T34 |
0 |
36874 |
0 |
0 |
T36 |
0 |
495 |
0 |
0 |
T37 |
0 |
7943 |
0 |
0 |
T39 |
37682 |
2600 |
0 |
0 |
T41 |
1059 |
0 |
0 |
0 |
T42 |
0 |
1724 |
0 |
0 |
T48 |
1456 |
0 |
0 |
0 |
T52 |
0 |
8416 |
0 |
0 |
CtrlPrio_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
2147172 |
0 |
0 |
T6 |
104903 |
3101 |
0 |
0 |
T7 |
120468 |
2779 |
0 |
0 |
T11 |
1368 |
0 |
0 |
0 |
T12 |
979 |
0 |
0 |
0 |
T18 |
154150 |
0 |
0 |
0 |
T19 |
3674 |
0 |
0 |
0 |
T22 |
24200 |
0 |
0 |
0 |
T31 |
0 |
4518 |
0 |
0 |
T32 |
0 |
2151 |
0 |
0 |
T34 |
0 |
36874 |
0 |
0 |
T36 |
0 |
495 |
0 |
0 |
T37 |
0 |
7943 |
0 |
0 |
T39 |
37682 |
2600 |
0 |
0 |
T41 |
1059 |
0 |
0 |
0 |
T42 |
0 |
1724 |
0 |
0 |
T48 |
1456 |
0 |
0 |
0 |
T52 |
0 |
8416 |
0 |
0 |
HostTransIdleChk_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
22416677 |
0 |
0 |
T3 |
136802 |
110 |
0 |
0 |
T4 |
2178 |
0 |
0 |
0 |
T5 |
1756 |
0 |
0 |
0 |
T6 |
104903 |
25862 |
0 |
0 |
T7 |
0 |
25554 |
0 |
0 |
T11 |
1368 |
0 |
0 |
0 |
T16 |
2210 |
0 |
0 |
0 |
T17 |
811158 |
0 |
0 |
0 |
T18 |
154150 |
0 |
0 |
0 |
T19 |
3674 |
36 |
0 |
0 |
T22 |
0 |
140 |
0 |
0 |
T24 |
0 |
18 |
0 |
0 |
T34 |
0 |
422076 |
0 |
0 |
T35 |
0 |
38 |
0 |
0 |
T36 |
0 |
16308 |
0 |
0 |
T39 |
0 |
17730 |
0 |
0 |
T48 |
1456 |
0 |
0 |
0 |
NoRemainder_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1062 |
1062 |
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 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
OneHotReqs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
442636052 |
0 |
0 |
T1 |
212544 |
212473 |
0 |
0 |
T2 |
808 |
730 |
0 |
0 |
T3 |
136802 |
136722 |
0 |
0 |
T4 |
2178 |
2020 |
0 |
0 |
T5 |
1756 |
1668 |
0 |
0 |
T6 |
104903 |
104790 |
0 |
0 |
T16 |
2210 |
2131 |
0 |
0 |
T17 |
811158 |
811063 |
0 |
0 |
T18 |
154150 |
154141 |
0 |
0 |
T19 |
3674 |
3538 |
0 |
0 |
Pow2Multiple_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1062 |
1062 |
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 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
RdTxnCheck_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
442944831 |
442131651 |
0 |
0 |
T1 |
212544 |
212473 |
0 |
0 |
T2 |
808 |
730 |
0 |
0 |
T3 |
136802 |
136722 |
0 |
0 |
T4 |
2178 |
2020 |
0 |
0 |
T5 |
1756 |
1668 |
0 |
0 |
T6 |
104903 |
104790 |
0 |
0 |
T16 |
2210 |
2131 |
0 |
0 |
T17 |
811158 |
811063 |
0 |
0 |
T18 |
154150 |
154141 |
0 |
0 |
T19 |
3674 |
3538 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
442636052 |
0 |
0 |
T1 |
212544 |
212473 |
0 |
0 |
T2 |
808 |
730 |
0 |
0 |
T3 |
136802 |
136722 |
0 |
0 |
T4 |
2178 |
2020 |
0 |
0 |
T5 |
1756 |
1668 |
0 |
0 |
T6 |
104903 |
104790 |
0 |
0 |
T16 |
2210 |
2131 |
0 |
0 |
T17 |
811158 |
811063 |
0 |
0 |
T18 |
154150 |
154141 |
0 |
0 |
T19 |
3674 |
3538 |
0 |
0 |
Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
| Line No. | Total | Covered | Percent |
TOTAL | | 79 | 79 | 100.00 |
ALWAYS | 154 | 6 | 6 | 100.00 |
ALWAYS | 167 | 3 | 3 | 100.00 |
CONT_ASSIGN | 199 | 1 | 1 | 100.00 |
CONT_ASSIGN | 203 | 1 | 1 | 100.00 |
ALWAYS | 206 | 4 | 4 | 100.00 |
ALWAYS | 218 | 6 | 6 | 100.00 |
ALWAYS | 232 | 6 | 6 | 100.00 |
CONT_ASSIGN | 280 | 1 | 1 | 100.00 |
CONT_ASSIGN | 283 | 1 | 1 | 100.00 |
CONT_ASSIGN | 284 | 1 | 1 | 100.00 |
CONT_ASSIGN | 285 | 1 | 1 | 100.00 |
CONT_ASSIGN | 290 | 1 | 1 | 100.00 |
CONT_ASSIGN | 320 | 1 | 1 | 100.00 |
CONT_ASSIGN | 324 | 1 | 1 | 100.00 |
ALWAYS | 328 | 29 | 29 | 100.00 |
CONT_ASSIGN | 391 | 1 | 1 | 100.00 |
CONT_ASSIGN | 395 | 1 | 1 | 100.00 |
CONT_ASSIGN | 396 | 1 | 1 | 100.00 |
CONT_ASSIGN | 397 | 1 | 1 | 100.00 |
CONT_ASSIGN | 398 | 1 | 1 | 100.00 |
CONT_ASSIGN | 399 | 1 | 1 | 100.00 |
CONT_ASSIGN | 400 | 1 | 1 | 100.00 |
CONT_ASSIGN | 401 | 1 | 1 | 100.00 |
CONT_ASSIGN | 418 | 1 | 1 | 100.00 |
CONT_ASSIGN | 431 | 1 | 1 | 100.00 |
CONT_ASSIGN | 551 | 1 | 1 | 100.00 |
CONT_ASSIGN | 579 | 1 | 1 | 100.00 |
CONT_ASSIGN | 586 | 1 | 1 | 100.00 |
CONT_ASSIGN | 603 | 1 | 1 | 100.00 |
CONT_ASSIGN | 604 | 1 | 1 | 100.00 |
CONT_ASSIGN | 605 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' or '../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
154 |
1 |
1 |
155 |
1 |
1 |
156 |
1 |
1 |
157 |
1 |
1 |
158 |
1 |
1 |
159 |
1 |
1 |
|
|
|
MISSING_ELSE |
167 |
3 |
3 |
199 |
1 |
1 |
203 |
1 |
1 |
206 |
1 |
1 |
207 |
1 |
1 |
208 |
1 |
1 |
209 |
1 |
1 |
|
|
|
MISSING_ELSE |
218 |
1 |
1 |
219 |
1 |
1 |
220 |
1 |
1 |
221 |
1 |
1 |
222 |
1 |
1 |
223 |
1 |
1 |
|
|
|
MISSING_ELSE |
232 |
1 |
1 |
233 |
1 |
1 |
234 |
1 |
1 |
235 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
|
|
|
MISSING_ELSE |
280 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
285 |
1 |
1 |
290 |
1 |
1 |
320 |
1 |
1 |
324 |
1 |
1 |
328 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
331 |
1 |
1 |
332 |
1 |
1 |
334 |
1 |
1 |
336 |
1 |
1 |
337 |
1 |
1 |
338 |
1 |
1 |
339 |
1 |
1 |
340 |
1 |
1 |
341 |
1 |
1 |
342 |
1 |
1 |
343 |
1 |
1 |
344 |
1 |
1 |
|
|
|
MISSING_ELSE |
350 |
1 |
1 |
351 |
1 |
1 |
352 |
1 |
1 |
|
|
|
MISSING_ELSE |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
362 |
1 |
1 |
|
|
|
MISSING_ELSE |
368 |
1 |
1 |
369 |
1 |
1 |
370 |
1 |
1 |
371 |
1 |
1 |
372 |
1 |
1 |
|
|
|
MISSING_ELSE |
377 |
1 |
1 |
378 |
1 |
1 |
391 |
1 |
1 |
395 |
1 |
1 |
396 |
1 |
1 |
397 |
1 |
1 |
398 |
1 |
1 |
399 |
1 |
1 |
400 |
1 |
1 |
401 |
1 |
1 |
418 |
1 |
1 |
431 |
1 |
1 |
551 |
1 |
1 |
579 |
1 |
1 |
586 |
1 |
1 |
603 |
1 |
1 |
604 |
1 |
1 |
605 |
1 |
1 |
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
| Total | Covered | Percent |
Conditions | 106 | 101 | 95.28 |
Logical | 106 | 101 | 95.28 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 199
EXPRESSION (host_gnt && (muxed_part != FlashPartData))
----1--- --------------2--------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T5,T6 |
1 | 1 | Covered | T53,T200,T9 |
LINE 199
SUB-EXPRESSION (muxed_part != FlashPartData)
--------------1--------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 203
EXPRESSION (((|host_outstanding)) & ((!ctrl_fsm_idle)))
----------1---------- ---------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T5,T6 |
1 | 1 | Not Covered | |
LINE 208
EXPRESSION (host_gnt_err_event | host_outstanding_err_event)
---------1-------- -------------2------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T53,T200,T9 |
LINE 220
EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T3,T5,T6 |
1 | Covered | T1,T2,T3 |
LINE 234
EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
------------1----------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 234
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T3,T5,T6 |
1 | Covered | T1,T2,T3 |
LINE 245
EXPRESSION (host_gnt && ((!host_req_done_o)) && (host_outstanding <= flash_phy_pkg::RspOrderDepth))
----1--- ----------2--------- -------------------------3------------------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T1,T2,T3 |
1 | 0 | 1 | Covered | T3,T5,T6 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T3,T5,T6 |
LINE 245
EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
------1------ -------2------- ----------3----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T3,T5,T6 |
1 | 0 | 1 | Covered | T3,T5,T6 |
1 | 1 | 0 | Covered | T76,T77,T112 |
1 | 1 | 1 | Covered | T3,T5,T6 |
LINE 284
EXPRESSION (host_req & host_req_rdy_o)
----1--- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T3,T6,T7 |
1 | 1 | Covered | T3,T5,T6 |
LINE 285
EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
----------1---------- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T5,T6 |
1 | 1 | Covered | T3,T5,T6 |
LINE 320
EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
----------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 320
SUB-EXPRESSION (phy_req & host_req)
---1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T128,T127,T129 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T3,T5,T6 |
LINE 324
EXPRESSION (req_i & host_gnt)
--1-- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T3,T6,T7 |
LINE 339
EXPRESSION (ctrl_gnt && rd_i)
----1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T17,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 341
EXPRESSION (ctrl_gnt && prog_i)
----1--- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T17,T18 |
1 | 0 | Covered | T1,T2,T17 |
1 | 1 | Covered | T1,T3,T4 |
LINE 391
EXPRESSION ((ctrl_fsm_idle & ctrl_rsp_vld) | ((host_outstanding == '0) & host_req_done_o))
---------------1-------------- ----------------------2---------------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T76,T77,T112 |
1 | 0 | Covered | T224,T225 |
LINE 391
SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
------1------ ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T224,T225 |
LINE 391
SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
------------1----------- -------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T76,T77,T112 |
LINE 391
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 395
EXPRESSION (host_sel ? host_addr_i : addr_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 396
EXPRESSION (host_sel ? FlashPartData : part_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 397
EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 398
EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 399
EXPRESSION (ctrl_rsp_vld & rd_i)
------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 400
EXPRESSION (ctrl_rsp_vld & prog_i)
------1----- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T3,T17 |
LINE 401
EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
------1----- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T17 |
LINE 401
SUB-EXPRESSION (pg_erase_i | bk_erase_i)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T17,T18 |
1 | 0 | Covered | T1,T2,T17 |
LINE 431
EXPRESSION ((host_gnt_rd_err & (host_outstanding == 1'b1)) | host_outstanding_rd_err)
-----------------------1---------------------- -----------2-----------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T200 |
LINE 431
SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
-------1------- -------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T200 |
1 | 1 | Covered | T200 |
LINE 431
SUB-EXPRESSION (host_outstanding == 1'b1)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T5,T6 |
LINE 434
EXPRESSION (phy_req & (rd_i | host_req))
---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 434
SUB-EXPRESSION (rd_i | host_req)
--1- ----2---
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
LINE 434
EXPRESSION (arb_host_gnt_err ? ({flash_phy_pkg::FullDataWidth {1'b1}}) : flash_rdata)
--------1-------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T200 |
LINE 551
EXPRESSION (prog_calc_req ? muxed_addr[(flash_phy_pkg::BusBankAddrW - 1):flash_phy_pkg::LsbAddrBit] : rd_calc_addr)
------1------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T46,T49,T81 |
LINE 557
EXPRESSION (prog_calc_req | rd_calc_req)
------1------ -----2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T46,T49,T81 |
LINE 557
EXPRESSION (prog_op_req | rd_op_req)
-----1----- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T46,T49,T81 |
LINE 557
EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T46,T49,T81 |
LINE 579
EXPRESSION (fsm_err | prog_fsm_err)
---1--- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T14,T15,T38 |
1 | 0 | Covered | T14,T15,T38 |
FSM Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
Summary for FSM :: state_q
| Total | Covered | Percent | |
States |
5 |
5 |
100.00 |
(Not included in score) |
Transitions |
7 |
7 |
100.00 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: state_q
states | Line No. | Covered | Tests |
StCtrl |
344 |
Covered |
T1,T2,T17 |
StCtrlProg |
342 |
Covered |
T1,T3,T4 |
StCtrlRead |
340 |
Covered |
T1,T2,T3 |
StDisable |
338 |
Covered |
T2,T11,T12 |
StIdle |
352 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
StCtrl->StIdle |
372 |
Covered |
T1,T2,T17 |
StCtrlProg->StIdle |
362 |
Covered |
T1,T3,T4 |
StCtrlRead->StIdle |
352 |
Covered |
T1,T2,T3 |
StIdle->StCtrl |
344 |
Covered |
T1,T2,T17 |
StIdle->StCtrlProg |
342 |
Covered |
T1,T3,T4 |
StIdle->StCtrlRead |
340 |
Covered |
T1,T2,T3 |
StIdle->StDisable |
338 |
Covered |
T2,T11,T12 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
| Line No. | Total | Covered | Percent |
Branches |
|
46 |
46 |
100.00 |
TERNARY |
320 |
2 |
2 |
100.00 |
TERNARY |
395 |
2 |
2 |
100.00 |
TERNARY |
396 |
2 |
2 |
100.00 |
TERNARY |
397 |
2 |
2 |
100.00 |
TERNARY |
398 |
2 |
2 |
100.00 |
TERNARY |
551 |
2 |
2 |
100.00 |
TERNARY |
434 |
2 |
2 |
100.00 |
TERNARY |
557 |
2 |
2 |
100.00 |
IF |
154 |
4 |
4 |
100.00 |
IF |
167 |
2 |
2 |
100.00 |
IF |
206 |
3 |
3 |
100.00 |
IF |
218 |
4 |
4 |
100.00 |
IF |
232 |
4 |
4 |
100.00 |
CASE |
334 |
13 |
13 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv' or '../src/lowrisc_ip_flash_ctrl_0.1/rtl/flash_phy_core.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 320 ((phy_req & host_req)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 395 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 396 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 397 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 398 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T5,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 551 (prog_calc_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T46,T49,T81 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 434 (arb_host_gnt_err) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T200 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 557 (prog_op_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T46,T49,T81 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 154 if ((!rst_ni))
-2-: 156 if (ctrl_rsp_vld)
-3-: 158 if (inc_arb_cnt)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T3,T6,T7 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 167 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 206 if ((!rst_ni))
-2-: 208 if ((host_gnt_err_event | host_outstanding_err_event))
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T53,T200,T9 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 218 if ((!rst_ni))
-2-: 220 if ((host_outstanding == '0))
-3-: 222 if (host_gnt_err_event)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T200,T9,T13 |
0 |
0 |
0 |
Covered |
T3,T5,T6 |
LineNo. Expression
-1-: 232 if ((!rst_ni))
-2-: 234 if (((host_outstanding == '0) && ctrl_fsm_idle))
-3-: 236 if (host_outstanding_err_event)
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T9,T13 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 334 case (state_q)
-2-: 337 if (prim_mubi_pkg::mubi4_test_true_loose(flash_disable[FsmDisableIdx]))
-3-: 339 if ((ctrl_gnt && rd_i))
-4-: 341 if ((ctrl_gnt && prog_i))
-5-: 343 if (ctrl_gnt)
-6-: 350 if (rd_stage_data_valid)
-7-: 360 if (prog_ack)
-8-: 370 if (erase_ack)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T2,T11,T12 |
StIdle |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
0 |
0 |
1 |
- |
- |
- |
- |
Covered |
T1,T3,T4 |
StIdle |
0 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T1,T2,T17 |
StIdle |
0 |
0 |
0 |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlProg |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T1,T3,T17 |
StCtrlProg |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T1,T3,T4 |
StCtrl |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T1,T2,T17 |
StCtrl |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T1,T2,T17 |
StDisable |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T11,T12 |
default |
- |
- |
- |
- |
- |
- |
- |
Covered |
T14,T9,T15 |
Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
Assertion Details
ArbCntMax_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
2251588 |
0 |
0 |
T6 |
104903 |
2504 |
0 |
0 |
T7 |
120468 |
3204 |
0 |
0 |
T11 |
1368 |
0 |
0 |
0 |
T12 |
979 |
0 |
0 |
0 |
T18 |
154150 |
0 |
0 |
0 |
T19 |
3674 |
0 |
0 |
0 |
T22 |
24200 |
0 |
0 |
0 |
T31 |
0 |
990 |
0 |
0 |
T32 |
0 |
4175 |
0 |
0 |
T34 |
0 |
49955 |
0 |
0 |
T35 |
0 |
74 |
0 |
0 |
T36 |
0 |
2912 |
0 |
0 |
T37 |
0 |
15780 |
0 |
0 |
T39 |
37682 |
860 |
0 |
0 |
T41 |
1059 |
0 |
0 |
0 |
T48 |
1456 |
0 |
0 |
0 |
T52 |
0 |
6999 |
0 |
0 |
CtrlPrio_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
2251574 |
0 |
0 |
T6 |
104903 |
2504 |
0 |
0 |
T7 |
120468 |
3204 |
0 |
0 |
T11 |
1368 |
0 |
0 |
0 |
T12 |
979 |
0 |
0 |
0 |
T18 |
154150 |
0 |
0 |
0 |
T19 |
3674 |
0 |
0 |
0 |
T22 |
24200 |
0 |
0 |
0 |
T31 |
0 |
990 |
0 |
0 |
T32 |
0 |
4175 |
0 |
0 |
T34 |
0 |
49955 |
0 |
0 |
T35 |
0 |
74 |
0 |
0 |
T36 |
0 |
2912 |
0 |
0 |
T37 |
0 |
15780 |
0 |
0 |
T39 |
37682 |
860 |
0 |
0 |
T41 |
1059 |
0 |
0 |
0 |
T48 |
1456 |
0 |
0 |
0 |
T52 |
0 |
6999 |
0 |
0 |
HostTransIdleChk_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
23586304 |
0 |
0 |
T3 |
136802 |
152 |
0 |
0 |
T4 |
2178 |
0 |
0 |
0 |
T5 |
1756 |
15 |
0 |
0 |
T6 |
104903 |
27299 |
0 |
0 |
T7 |
0 |
27299 |
0 |
0 |
T11 |
1368 |
0 |
0 |
0 |
T16 |
2210 |
0 |
0 |
0 |
T17 |
811158 |
0 |
0 |
0 |
T18 |
154150 |
0 |
0 |
0 |
T19 |
3674 |
0 |
0 |
0 |
T22 |
0 |
187 |
0 |
0 |
T25 |
0 |
16 |
0 |
0 |
T34 |
0 |
440589 |
0 |
0 |
T39 |
0 |
15504 |
0 |
0 |
T48 |
1456 |
0 |
0 |
0 |
T94 |
0 |
30 |
0 |
0 |
T111 |
0 |
24 |
0 |
0 |
NoRemainder_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1062 |
1062 |
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 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
OneHotReqs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
442636052 |
0 |
0 |
T1 |
212544 |
212473 |
0 |
0 |
T2 |
808 |
730 |
0 |
0 |
T3 |
136802 |
136722 |
0 |
0 |
T4 |
2178 |
2020 |
0 |
0 |
T5 |
1756 |
1668 |
0 |
0 |
T6 |
104903 |
104790 |
0 |
0 |
T16 |
2210 |
2131 |
0 |
0 |
T17 |
811158 |
811063 |
0 |
0 |
T18 |
154150 |
154141 |
0 |
0 |
T19 |
3674 |
3538 |
0 |
0 |
Pow2Multiple_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1062 |
1062 |
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 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
T18 |
1 |
1 |
0 |
0 |
T19 |
1 |
1 |
0 |
0 |
RdTxnCheck_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
442944831 |
442131651 |
0 |
0 |
T1 |
212544 |
212473 |
0 |
0 |
T2 |
808 |
730 |
0 |
0 |
T3 |
136802 |
136722 |
0 |
0 |
T4 |
2178 |
2020 |
0 |
0 |
T5 |
1756 |
1668 |
0 |
0 |
T6 |
104903 |
104790 |
0 |
0 |
T16 |
2210 |
2131 |
0 |
0 |
T17 |
811158 |
811063 |
0 |
0 |
T18 |
154150 |
154141 |
0 |
0 |
T19 |
3674 |
3538 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
443449232 |
442636052 |
0 |
0 |
T1 |
212544 |
212473 |
0 |
0 |
T2 |
808 |
730 |
0 |
0 |
T3 |
136802 |
136722 |
0 |
0 |
T4 |
2178 |
2020 |
0 |
0 |
T5 |
1756 |
1668 |
0 |
0 |
T6 |
104903 |
104790 |
0 |
0 |
T16 |
2210 |
2131 |
0 |
0 |
T17 |
811158 |
811063 |
0 |
0 |
T18 |
154150 |
154141 |
0 |
0 |
T19 |
3674 |
3538 |
0 |
0 |