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 | 279 | 1 | 1 | 100.00 |
CONT_ASSIGN | 282 | 1 | 1 | 100.00 |
CONT_ASSIGN | 283 | 1 | 1 | 100.00 |
CONT_ASSIGN | 284 | 1 | 1 | 100.00 |
CONT_ASSIGN | 289 | 1 | 1 | 100.00 |
CONT_ASSIGN | 319 | 1 | 1 | 100.00 |
CONT_ASSIGN | 323 | 1 | 1 | 100.00 |
ALWAYS | 327 | 29 | 29 | 100.00 |
CONT_ASSIGN | 390 | 1 | 1 | 100.00 |
CONT_ASSIGN | 394 | 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 | 417 | 1 | 1 | 100.00 |
CONT_ASSIGN | 430 | 1 | 1 | 100.00 |
CONT_ASSIGN | 550 | 1 | 1 | 100.00 |
CONT_ASSIGN | 578 | 1 | 1 | 100.00 |
CONT_ASSIGN | 585 | 1 | 1 | 100.00 |
CONT_ASSIGN | 602 | 1 | 1 | 100.00 |
CONT_ASSIGN | 603 | 1 | 1 | 100.00 |
CONT_ASSIGN | 604 | 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 |
279 |
1 |
1 |
282 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
289 |
1 |
1 |
319 |
1 |
1 |
323 |
1 |
1 |
327 |
1 |
1 |
328 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
331 |
1 |
1 |
333 |
1 |
1 |
335 |
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 |
|
|
|
MISSING_ELSE |
349 |
1 |
1 |
350 |
1 |
1 |
351 |
1 |
1 |
|
|
|
MISSING_ELSE |
358 |
1 |
1 |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
|
|
|
MISSING_ELSE |
367 |
1 |
1 |
368 |
1 |
1 |
369 |
1 |
1 |
370 |
1 |
1 |
371 |
1 |
1 |
|
|
|
MISSING_ELSE |
376 |
1 |
1 |
377 |
1 |
1 |
390 |
1 |
1 |
394 |
1 |
1 |
395 |
1 |
1 |
396 |
1 |
1 |
397 |
1 |
1 |
398 |
1 |
1 |
399 |
1 |
1 |
400 |
1 |
1 |
417 |
1 |
1 |
430 |
1 |
1 |
550 |
1 |
1 |
578 |
1 |
1 |
585 |
1 |
1 |
602 |
1 |
1 |
603 |
1 |
1 |
604 |
1 |
1 |
Cond Coverage for Module :
flash_phy_core
| Total | Covered | Percent |
Conditions | 106 | 97 | 91.51 |
Logical | 106 | 97 | 91.51 |
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 | T2,T3,T16 |
1 | 1 | Covered | T216,T208,T206 |
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 | T2,T3,T16 |
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 | T216,T208,T206 |
LINE 220
EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T2,T3,T16 |
1 | Covered | T1,T2,T3 |
LINE 234
EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
------------1----------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
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 | T2,T3,T16 |
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 | T2,T3,T6 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T2,T3,T16 |
LINE 245
EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
------1------ -------2------- ----------3----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T2,T3,T6 |
1 | 0 | 1 | Covered | T2,T3,T16 |
1 | 1 | 0 | Covered | T75,T76 |
1 | 1 | 1 | Covered | T2,T3,T16 |
LINE 283
EXPRESSION (host_req & host_req_rdy_o)
----1--- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T3,T6 |
1 | 1 | Covered | T2,T3,T16 |
LINE 284
EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
----------1---------- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T16 |
1 | 1 | Covered | T2,T3,T16 |
LINE 319
EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
----------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 319
SUB-EXPRESSION (phy_req & host_req)
---1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T172,T173,T174 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T16 |
LINE 323
EXPRESSION (req_i & host_gnt)
--1-- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T6 |
LINE 338
EXPRESSION (ctrl_gnt && rd_i)
----1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 340
EXPRESSION (ctrl_gnt && prog_i)
----1--- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T4 |
1 | 0 | Covered | T4,T11,T5 |
1 | 1 | Covered | T2,T3,T4 |
LINE 390
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 | T75,T76 |
1 | 0 | Covered | T2,T232,T233 |
LINE 390
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 | T2,T232,T233 |
LINE 390
SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
------------1----------- -------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T75,T76 |
LINE 390
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 394
EXPRESSION (host_sel ? host_addr_i : addr_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 395
EXPRESSION (host_sel ? FlashPartData : part_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 396
EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 397
EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 398
EXPRESSION (ctrl_rsp_vld & rd_i)
------1----- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 399
EXPRESSION (ctrl_rsp_vld & prog_i)
------1----- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T4 |
LINE 400
EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
------1----- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T11,T5 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T4,T11,T5 |
LINE 400
SUB-EXPRESSION (pg_erase_i | bk_erase_i)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T42,T87,T33 |
1 | 0 | Covered | T4,T11,T5 |
LINE 430
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 430
SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
-------1------- -------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Not Covered | |
1 | 1 | Not Covered | |
LINE 430
SUB-EXPRESSION (host_outstanding == 1'b1)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 433
EXPRESSION (phy_req & (rd_i | host_req))
---1--- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 433
SUB-EXPRESSION (rd_i | host_req)
--1- ----2---
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Covered | T1,T2,T3 |
LINE 433
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 550
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 | T2,T3,T11 |
LINE 556
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 | T2,T3,T11 |
LINE 556
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 | T2,T3,T11 |
LINE 556
EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T11 |
LINE 578
EXPRESSION (fsm_err | prog_fsm_err)
---1--- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T13,T14,T23 |
1 | 0 | Covered | T13,T14,T23 |
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 |
343 |
Covered |
T12 |
StCtrlProg |
341 |
Covered |
T12 |
StCtrlRead |
339 |
Covered |
T12 |
StDisable |
337 |
Covered |
T12 |
StIdle |
351 |
Covered |
T12 |
transitions | Line No. | Covered | Tests |
StCtrl->StIdle |
371 |
Covered |
T12 |
StCtrlProg->StIdle |
361 |
Covered |
T12 |
StCtrlRead->StIdle |
351 |
Covered |
T12 |
StIdle->StCtrl |
343 |
Covered |
T12 |
StIdle->StCtrlProg |
341 |
Covered |
T12 |
StIdle->StCtrlRead |
339 |
Covered |
T12 |
StIdle->StDisable |
337 |
Covered |
T12 |
Branch Coverage for Module :
flash_phy_core
| Line No. | Total | Covered | Percent |
Branches |
|
46 |
45 |
97.83 |
TERNARY |
319 |
2 |
2 |
100.00 |
TERNARY |
394 |
2 |
2 |
100.00 |
TERNARY |
395 |
2 |
2 |
100.00 |
TERNARY |
396 |
2 |
2 |
100.00 |
TERNARY |
397 |
2 |
2 |
100.00 |
TERNARY |
550 |
2 |
2 |
100.00 |
TERNARY |
433 |
2 |
1 |
50.00 |
TERNARY |
556 |
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 |
333 |
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-: 319 ((phy_req & host_req)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 394 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 395 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 396 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 397 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 550 (prog_calc_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T11 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 433 (arb_host_gnt_err) ?
Branches:
-1- | Status | Tests |
1 |
Not Covered |
|
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 556 (prog_op_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T11 |
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 |
T2,T3,T6 |
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 |
T216,T208,T206 |
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 |
T8 |
0 |
0 |
0 |
Covered |
T2,T3,T16 |
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 |
T8 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 333 case (state_q)
-2-: 336 if (prim_mubi_pkg::mubi4_test_true_loose(flash_disable[FsmDisableIdx]))
-3-: 338 if ((ctrl_gnt && rd_i))
-4-: 340 if ((ctrl_gnt && prog_i))
-5-: 342 if (ctrl_gnt)
-6-: 349 if (rd_stage_data_valid)
-7-: 359 if (prog_ack)
-8-: 369 if (erase_ack)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T2,T10,T11 |
StIdle |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
0 |
0 |
1 |
- |
- |
- |
- |
Covered |
T2,T3,T4 |
StIdle |
0 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T4,T11,T5 |
StIdle |
0 |
0 |
0 |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlProg |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T2,T3,T4 |
StCtrlProg |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T2,T3,T4 |
StCtrl |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T4,T11,T5 |
StCtrl |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T4,T11,T5 |
StDisable |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T10,T11 |
default |
- |
- |
- |
- |
- |
- |
- |
Covered |
T13,T8,T14 |
Assert Coverage for Module :
flash_phy_core
Assertion Details
ArbCntMax_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
758842094 |
4328683 |
0 |
0 |
T3 |
726434 |
19531 |
0 |
0 |
T4 |
11958 |
0 |
0 |
0 |
T5 |
418688 |
0 |
0 |
0 |
T6 |
681846 |
18011 |
0 |
0 |
T10 |
7326 |
0 |
0 |
0 |
T11 |
802470 |
0 |
0 |
0 |
T15 |
8308 |
0 |
0 |
0 |
T16 |
6504 |
0 |
0 |
0 |
T17 |
2318 |
0 |
0 |
0 |
T20 |
0 |
87138 |
0 |
0 |
T31 |
0 |
77765 |
0 |
0 |
T38 |
0 |
8758 |
0 |
0 |
T44 |
0 |
5809 |
0 |
0 |
T62 |
0 |
3380 |
0 |
0 |
T74 |
501624 |
0 |
0 |
0 |
T77 |
0 |
3095 |
0 |
0 |
T168 |
0 |
72100 |
0 |
0 |
T234 |
0 |
79207 |
0 |
0 |
CtrlPrio_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
758842094 |
4328676 |
0 |
0 |
T3 |
726434 |
19531 |
0 |
0 |
T4 |
11958 |
0 |
0 |
0 |
T5 |
418688 |
0 |
0 |
0 |
T6 |
681846 |
18011 |
0 |
0 |
T10 |
7326 |
0 |
0 |
0 |
T11 |
802470 |
0 |
0 |
0 |
T15 |
8308 |
0 |
0 |
0 |
T16 |
6504 |
0 |
0 |
0 |
T17 |
2318 |
0 |
0 |
0 |
T20 |
0 |
87138 |
0 |
0 |
T31 |
0 |
77765 |
0 |
0 |
T38 |
0 |
8758 |
0 |
0 |
T44 |
0 |
5809 |
0 |
0 |
T62 |
0 |
3380 |
0 |
0 |
T74 |
501624 |
0 |
0 |
0 |
T77 |
0 |
3095 |
0 |
0 |
T168 |
0 |
72100 |
0 |
0 |
T234 |
0 |
79207 |
0 |
0 |
HostTransIdleChk_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
758842094 |
45667720 |
0 |
0 |
T2 |
2382 |
20 |
0 |
0 |
T3 |
726434 |
204643 |
0 |
0 |
T4 |
11958 |
0 |
0 |
0 |
T5 |
418688 |
0 |
0 |
0 |
T6 |
681846 |
159387 |
0 |
0 |
T10 |
7326 |
0 |
0 |
0 |
T11 |
802470 |
0 |
0 |
0 |
T15 |
8308 |
0 |
0 |
0 |
T16 |
6504 |
28 |
0 |
0 |
T17 |
2318 |
0 |
0 |
0 |
T19 |
0 |
144 |
0 |
0 |
T20 |
0 |
847110 |
0 |
0 |
T31 |
0 |
828092 |
0 |
0 |
T32 |
0 |
32 |
0 |
0 |
T34 |
0 |
370 |
0 |
0 |
T41 |
0 |
16 |
0 |
0 |
T44 |
0 |
53668 |
0 |
0 |
T77 |
0 |
14724 |
0 |
0 |
T133 |
0 |
306 |
0 |
0 |
NoRemainder_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2100 |
2100 |
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 |
T10 |
2 |
2 |
0 |
0 |
T11 |
2 |
2 |
0 |
0 |
T15 |
2 |
2 |
0 |
0 |
T16 |
2 |
2 |
0 |
0 |
T17 |
2 |
2 |
0 |
0 |
OneHotReqs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
758842094 |
757169894 |
0 |
0 |
T1 |
3442 |
3326 |
0 |
0 |
T2 |
2382 |
2086 |
0 |
0 |
T3 |
726434 |
726326 |
0 |
0 |
T4 |
11958 |
11768 |
0 |
0 |
T5 |
418688 |
394956 |
0 |
0 |
T10 |
7326 |
6016 |
0 |
0 |
T11 |
802470 |
802434 |
0 |
0 |
T15 |
8308 |
6936 |
0 |
0 |
T16 |
6504 |
6166 |
0 |
0 |
T17 |
2318 |
2206 |
0 |
0 |
Pow2Multiple_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
2100 |
2100 |
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 |
T10 |
2 |
2 |
0 |
0 |
T11 |
2 |
2 |
0 |
0 |
T15 |
2 |
2 |
0 |
0 |
T16 |
2 |
2 |
0 |
0 |
T17 |
2 |
2 |
0 |
0 |
RdTxnCheck_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
758405090 |
756732890 |
0 |
0 |
T1 |
3442 |
3326 |
0 |
0 |
T2 |
2382 |
2086 |
0 |
0 |
T3 |
726434 |
726326 |
0 |
0 |
T4 |
11958 |
11768 |
0 |
0 |
T5 |
418688 |
394956 |
0 |
0 |
T10 |
7326 |
6016 |
0 |
0 |
T11 |
802470 |
802434 |
0 |
0 |
T15 |
8308 |
6936 |
0 |
0 |
T16 |
6504 |
6166 |
0 |
0 |
T17 |
2318 |
2206 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
758842094 |
757169894 |
0 |
0 |
T1 |
3442 |
3326 |
0 |
0 |
T2 |
2382 |
2086 |
0 |
0 |
T3 |
726434 |
726326 |
0 |
0 |
T4 |
11958 |
11768 |
0 |
0 |
T5 |
418688 |
394956 |
0 |
0 |
T10 |
7326 |
6016 |
0 |
0 |
T11 |
802470 |
802434 |
0 |
0 |
T15 |
8308 |
6936 |
0 |
0 |
T16 |
6504 |
6166 |
0 |
0 |
T17 |
2318 |
2206 |
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 | 279 | 1 | 1 | 100.00 |
CONT_ASSIGN | 282 | 1 | 1 | 100.00 |
CONT_ASSIGN | 283 | 1 | 1 | 100.00 |
CONT_ASSIGN | 284 | 1 | 1 | 100.00 |
CONT_ASSIGN | 289 | 1 | 1 | 100.00 |
CONT_ASSIGN | 319 | 1 | 1 | 100.00 |
CONT_ASSIGN | 323 | 1 | 1 | 100.00 |
ALWAYS | 327 | 29 | 29 | 100.00 |
CONT_ASSIGN | 390 | 1 | 1 | 100.00 |
CONT_ASSIGN | 394 | 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 | 417 | 1 | 1 | 100.00 |
CONT_ASSIGN | 430 | 1 | 1 | 100.00 |
CONT_ASSIGN | 550 | 1 | 1 | 100.00 |
CONT_ASSIGN | 578 | 1 | 1 | 100.00 |
CONT_ASSIGN | 585 | 1 | 1 | 100.00 |
CONT_ASSIGN | 602 | 1 | 1 | 100.00 |
CONT_ASSIGN | 603 | 1 | 1 | 100.00 |
CONT_ASSIGN | 604 | 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 |
279 |
1 |
1 |
282 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
289 |
1 |
1 |
319 |
1 |
1 |
323 |
1 |
1 |
327 |
1 |
1 |
328 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
331 |
1 |
1 |
333 |
1 |
1 |
335 |
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 |
|
|
|
MISSING_ELSE |
349 |
1 |
1 |
350 |
1 |
1 |
351 |
1 |
1 |
|
|
|
MISSING_ELSE |
358 |
1 |
1 |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
|
|
|
MISSING_ELSE |
367 |
1 |
1 |
368 |
1 |
1 |
369 |
1 |
1 |
370 |
1 |
1 |
371 |
1 |
1 |
|
|
|
MISSING_ELSE |
376 |
1 |
1 |
377 |
1 |
1 |
390 |
1 |
1 |
394 |
1 |
1 |
395 |
1 |
1 |
396 |
1 |
1 |
397 |
1 |
1 |
398 |
1 |
1 |
399 |
1 |
1 |
400 |
1 |
1 |
417 |
1 |
1 |
430 |
1 |
1 |
550 |
1 |
1 |
578 |
1 |
1 |
585 |
1 |
1 |
602 |
1 |
1 |
603 |
1 |
1 |
604 |
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 | T2,T3,T6 |
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 | T1,T3,T4 |
1 | 0 | Covered | T2,T3,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 | Not Covered | |
LINE 220
EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T2,T3,T6 |
1 | Covered | T1,T2,T3 |
LINE 234
EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
------------1----------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T6 |
1 | 0 | Covered | T1,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 234
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T2,T3,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 | T2,T3,T6 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T2,T3,T6 |
LINE 245
EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
------1------ -------2------- ----------3----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T2,T3,T6 |
1 | 0 | 1 | Covered | T2,T3,T6 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T2,T3,T6 |
LINE 283
EXPRESSION (host_req & host_req_rdy_o)
----1--- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T3,T6 |
1 | 1 | Covered | T2,T3,T6 |
LINE 284
EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
----------1---------- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T2,T3,T6 |
1 | 1 | Covered | T2,T3,T6 |
LINE 319
EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
----------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T6 |
LINE 319
SUB-EXPRESSION (phy_req & host_req)
---1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T3,T4 |
1 | 1 | Covered | T2,T3,T6 |
LINE 323
EXPRESSION (req_i & host_gnt)
--1-- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T6 |
1 | 0 | Covered | T1,T3,T4 |
1 | 1 | Covered | T3,T6,T44 |
LINE 338
EXPRESSION (ctrl_gnt && rd_i)
----1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T4,T11 |
1 | 1 | Covered | T1,T3,T4 |
LINE 340
EXPRESSION (ctrl_gnt && prog_i)
----1--- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T4 |
1 | 0 | Covered | T11,T42,T43 |
1 | 1 | Covered | T3,T4,T11 |
LINE 390
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 390
SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
------1------ ------2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Not Covered | |
LINE 390
SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
------------1----------- -------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Not Covered | |
LINE 390
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 394
EXPRESSION (host_sel ? host_addr_i : addr_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T6 |
LINE 395
EXPRESSION (host_sel ? FlashPartData : part_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T6 |
LINE 396
EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T6 |
LINE 397
EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T6 |
LINE 398
EXPRESSION (ctrl_rsp_vld & rd_i)
------1----- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T4,T11 |
1 | 1 | Covered | T1,T3,T4 |
LINE 399
EXPRESSION (ctrl_rsp_vld & prog_i)
------1----- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T4 |
1 | 0 | Covered | T1,T3,T4 |
1 | 1 | Covered | T3,T4,T11 |
LINE 400
EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
------1----- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T11,T5 |
1 | 0 | Covered | T1,T3,T4 |
1 | 1 | Covered | T11,T42,T43 |
LINE 400
SUB-EXPRESSION (pg_erase_i | bk_erase_i)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T42,T87,T33 |
1 | 0 | Covered | T4,T11,T5 |
LINE 430
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 430
SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
-------1------- -------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T6 |
1 | 0 | Not Covered | |
1 | 1 | Not Covered | |
LINE 430
SUB-EXPRESSION (host_outstanding == 1'b1)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T6 |
LINE 433
EXPRESSION (phy_req & (rd_i | host_req))
---1--- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T3,T4,T11 |
1 | 1 | Covered | T1,T2,T3 |
LINE 433
SUB-EXPRESSION (rd_i | host_req)
--1- ----2---
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T3,T6 |
1 | 0 | Covered | T1,T2,T3 |
LINE 433
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 550
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 | T3,T11,T41 |
LINE 556
EXPRESSION (prog_calc_req | rd_calc_req)
------1------ -----2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T3,T11 |
1 | 0 | Covered | T3,T11,T41 |
LINE 556
EXPRESSION (prog_op_req | rd_op_req)
-----1----- ----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T3,T11,T41 |
1 | 0 | Covered | T3,T11,T41 |
LINE 556
EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T3,T11,T41 |
LINE 578
EXPRESSION (fsm_err | prog_fsm_err)
---1--- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T13,T14,T23 |
1 | 0 | Covered | T13,T14,T23 |
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 |
343 |
Covered |
T12 |
StCtrlProg |
341 |
Covered |
T12 |
StCtrlRead |
339 |
Covered |
T12 |
StDisable |
337 |
Covered |
T12 |
StIdle |
351 |
Covered |
T12 |
transitions | Line No. | Covered | Tests |
StCtrl->StIdle |
371 |
Covered |
T12 |
StCtrlProg->StIdle |
361 |
Covered |
T12 |
StCtrlRead->StIdle |
351 |
Covered |
T12 |
StIdle->StCtrl |
343 |
Covered |
T12 |
StIdle->StCtrlProg |
341 |
Covered |
T12 |
StIdle->StCtrlRead |
339 |
Covered |
T12 |
StIdle->StDisable |
337 |
Covered |
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 |
319 |
2 |
2 |
100.00 |
TERNARY |
394 |
2 |
2 |
100.00 |
TERNARY |
395 |
2 |
2 |
100.00 |
TERNARY |
396 |
2 |
2 |
100.00 |
TERNARY |
397 |
2 |
2 |
100.00 |
TERNARY |
550 |
2 |
2 |
100.00 |
TERNARY |
433 |
2 |
1 |
50.00 |
TERNARY |
556 |
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 |
333 |
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-: 319 ((phy_req & host_req)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 394 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 395 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 396 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 397 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T6 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 550 (prog_calc_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T11,T41 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 433 (arb_host_gnt_err) ?
Branches:
-1- | Status | Tests |
1 |
Not Covered |
|
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 556 (prog_op_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T3,T11,T41 |
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,T3,T4 |
0 |
0 |
1 |
Covered |
T3,T6,T44 |
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 |
T8 |
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 |
T8 |
0 |
0 |
0 |
Covered |
T2,T3,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 |
T8 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 333 case (state_q)
-2-: 336 if (prim_mubi_pkg::mubi4_test_true_loose(flash_disable[FsmDisableIdx]))
-3-: 338 if ((ctrl_gnt && rd_i))
-4-: 340 if ((ctrl_gnt && prog_i))
-5-: 342 if (ctrl_gnt)
-6-: 349 if (rd_stage_data_valid)
-7-: 359 if (prog_ack)
-8-: 369 if (erase_ack)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T2,T10,T11 |
StIdle |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T3,T4 |
StIdle |
0 |
0 |
1 |
- |
- |
- |
- |
Covered |
T3,T4,T11 |
StIdle |
0 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T11,T42,T43 |
StIdle |
0 |
0 |
0 |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T1,T3,T4 |
StCtrlRead |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T1,T3,T4 |
StCtrlProg |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T3,T4,T11 |
StCtrlProg |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T3,T4,T11 |
StCtrl |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T11,T42,T43 |
StCtrl |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T11,T42,T43 |
StDisable |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T10,T11 |
default |
- |
- |
- |
- |
- |
- |
- |
Covered |
T13,T8,T14 |
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 |
379421047 |
2157594 |
0 |
0 |
T3 |
363217 |
7197 |
0 |
0 |
T4 |
5979 |
0 |
0 |
0 |
T5 |
209344 |
0 |
0 |
0 |
T6 |
340923 |
8450 |
0 |
0 |
T10 |
3663 |
0 |
0 |
0 |
T11 |
401235 |
0 |
0 |
0 |
T15 |
4154 |
0 |
0 |
0 |
T16 |
3252 |
0 |
0 |
0 |
T17 |
1159 |
0 |
0 |
0 |
T20 |
0 |
35432 |
0 |
0 |
T31 |
0 |
47998 |
0 |
0 |
T38 |
0 |
1917 |
0 |
0 |
T44 |
0 |
1773 |
0 |
0 |
T62 |
0 |
645 |
0 |
0 |
T74 |
250812 |
0 |
0 |
0 |
T77 |
0 |
1220 |
0 |
0 |
T168 |
0 |
37698 |
0 |
0 |
T234 |
0 |
48925 |
0 |
0 |
CtrlPrio_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
2157587 |
0 |
0 |
T3 |
363217 |
7197 |
0 |
0 |
T4 |
5979 |
0 |
0 |
0 |
T5 |
209344 |
0 |
0 |
0 |
T6 |
340923 |
8450 |
0 |
0 |
T10 |
3663 |
0 |
0 |
0 |
T11 |
401235 |
0 |
0 |
0 |
T15 |
4154 |
0 |
0 |
0 |
T16 |
3252 |
0 |
0 |
0 |
T17 |
1159 |
0 |
0 |
0 |
T20 |
0 |
35432 |
0 |
0 |
T31 |
0 |
47998 |
0 |
0 |
T38 |
0 |
1917 |
0 |
0 |
T44 |
0 |
1773 |
0 |
0 |
T62 |
0 |
645 |
0 |
0 |
T74 |
250812 |
0 |
0 |
0 |
T77 |
0 |
1220 |
0 |
0 |
T168 |
0 |
37698 |
0 |
0 |
T234 |
0 |
48925 |
0 |
0 |
HostTransIdleChk_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
22408681 |
0 |
0 |
T2 |
1191 |
16 |
0 |
0 |
T3 |
363217 |
87957 |
0 |
0 |
T4 |
5979 |
0 |
0 |
0 |
T5 |
209344 |
0 |
0 |
0 |
T6 |
340923 |
69698 |
0 |
0 |
T10 |
3663 |
0 |
0 |
0 |
T11 |
401235 |
0 |
0 |
0 |
T15 |
4154 |
0 |
0 |
0 |
T16 |
3252 |
0 |
0 |
0 |
T17 |
1159 |
0 |
0 |
0 |
T20 |
0 |
412794 |
0 |
0 |
T31 |
0 |
415247 |
0 |
0 |
T34 |
0 |
158 |
0 |
0 |
T41 |
0 |
16 |
0 |
0 |
T44 |
0 |
27391 |
0 |
0 |
T77 |
0 |
14724 |
0 |
0 |
T133 |
0 |
306 |
0 |
0 |
NoRemainder_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1050 |
1050 |
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 |
T10 |
1 |
1 |
0 |
0 |
T11 |
1 |
1 |
0 |
0 |
T15 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
OneHotReqs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
378584947 |
0 |
0 |
T1 |
1721 |
1663 |
0 |
0 |
T2 |
1191 |
1043 |
0 |
0 |
T3 |
363217 |
363163 |
0 |
0 |
T4 |
5979 |
5884 |
0 |
0 |
T5 |
209344 |
197478 |
0 |
0 |
T10 |
3663 |
3008 |
0 |
0 |
T11 |
401235 |
401217 |
0 |
0 |
T15 |
4154 |
3468 |
0 |
0 |
T16 |
3252 |
3083 |
0 |
0 |
T17 |
1159 |
1103 |
0 |
0 |
Pow2Multiple_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1050 |
1050 |
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 |
T10 |
1 |
1 |
0 |
0 |
T11 |
1 |
1 |
0 |
0 |
T15 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
RdTxnCheck_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379202545 |
378366445 |
0 |
0 |
T1 |
1721 |
1663 |
0 |
0 |
T2 |
1191 |
1043 |
0 |
0 |
T3 |
363217 |
363163 |
0 |
0 |
T4 |
5979 |
5884 |
0 |
0 |
T5 |
209344 |
197478 |
0 |
0 |
T10 |
3663 |
3008 |
0 |
0 |
T11 |
401235 |
401217 |
0 |
0 |
T15 |
4154 |
3468 |
0 |
0 |
T16 |
3252 |
3083 |
0 |
0 |
T17 |
1159 |
1103 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
378584947 |
0 |
0 |
T1 |
1721 |
1663 |
0 |
0 |
T2 |
1191 |
1043 |
0 |
0 |
T3 |
363217 |
363163 |
0 |
0 |
T4 |
5979 |
5884 |
0 |
0 |
T5 |
209344 |
197478 |
0 |
0 |
T10 |
3663 |
3008 |
0 |
0 |
T11 |
401235 |
401217 |
0 |
0 |
T15 |
4154 |
3468 |
0 |
0 |
T16 |
3252 |
3083 |
0 |
0 |
T17 |
1159 |
1103 |
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 | 279 | 1 | 1 | 100.00 |
CONT_ASSIGN | 282 | 1 | 1 | 100.00 |
CONT_ASSIGN | 283 | 1 | 1 | 100.00 |
CONT_ASSIGN | 284 | 1 | 1 | 100.00 |
CONT_ASSIGN | 289 | 1 | 1 | 100.00 |
CONT_ASSIGN | 319 | 1 | 1 | 100.00 |
CONT_ASSIGN | 323 | 1 | 1 | 100.00 |
ALWAYS | 327 | 29 | 29 | 100.00 |
CONT_ASSIGN | 390 | 1 | 1 | 100.00 |
CONT_ASSIGN | 394 | 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 | 417 | 1 | 1 | 100.00 |
CONT_ASSIGN | 430 | 1 | 1 | 100.00 |
CONT_ASSIGN | 550 | 1 | 1 | 100.00 |
CONT_ASSIGN | 578 | 1 | 1 | 100.00 |
CONT_ASSIGN | 585 | 1 | 1 | 100.00 |
CONT_ASSIGN | 602 | 1 | 1 | 100.00 |
CONT_ASSIGN | 603 | 1 | 1 | 100.00 |
CONT_ASSIGN | 604 | 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 |
279 |
1 |
1 |
282 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
289 |
1 |
1 |
319 |
1 |
1 |
323 |
1 |
1 |
327 |
1 |
1 |
328 |
1 |
1 |
329 |
1 |
1 |
330 |
1 |
1 |
331 |
1 |
1 |
333 |
1 |
1 |
335 |
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 |
|
|
|
MISSING_ELSE |
349 |
1 |
1 |
350 |
1 |
1 |
351 |
1 |
1 |
|
|
|
MISSING_ELSE |
358 |
1 |
1 |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
|
|
|
MISSING_ELSE |
367 |
1 |
1 |
368 |
1 |
1 |
369 |
1 |
1 |
370 |
1 |
1 |
371 |
1 |
1 |
|
|
|
MISSING_ELSE |
376 |
1 |
1 |
377 |
1 |
1 |
390 |
1 |
1 |
394 |
1 |
1 |
395 |
1 |
1 |
396 |
1 |
1 |
397 |
1 |
1 |
398 |
1 |
1 |
399 |
1 |
1 |
400 |
1 |
1 |
417 |
1 |
1 |
430 |
1 |
1 |
550 |
1 |
1 |
578 |
1 |
1 |
585 |
1 |
1 |
602 |
1 |
1 |
603 |
1 |
1 |
604 |
1 |
1 |
Cond Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
| Total | Covered | Percent |
Conditions | 106 | 97 | 91.51 |
Logical | 106 | 97 | 91.51 |
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 | T2,T3,T16 |
1 | 1 | Covered | T216,T208,T206 |
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 | T2,T3,T16 |
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 | T216,T208,T206 |
LINE 220
EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T2,T3,T16 |
1 | Covered | T1,T2,T3 |
LINE 234
EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
------------1----------- ------2------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
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 | T2,T3,T16 |
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 | T2,T3,T6 |
1 | 1 | 0 | Not Covered | |
1 | 1 | 1 | Covered | T2,T3,T16 |
LINE 245
EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
------1------ -------2------- ----------3----------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T2,T3,T6 |
1 | 0 | 1 | Covered | T2,T3,T16 |
1 | 1 | 0 | Covered | T75,T76 |
1 | 1 | 1 | Covered | T2,T3,T16 |
LINE 283
EXPRESSION (host_req & host_req_rdy_o)
----1--- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T3,T6,T44 |
1 | 1 | Covered | T2,T3,T16 |
LINE 284
EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
----------1---------- ---------2---------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T16 |
1 | 1 | Covered | T2,T3,T16 |
LINE 319
EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
----------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 319
SUB-EXPRESSION (phy_req & host_req)
---1--- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T172,T173,T174 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T16 |
LINE 323
EXPRESSION (req_i & host_gnt)
--1-- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T6 |
LINE 338
EXPRESSION (ctrl_gnt && rd_i)
----1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 340
EXPRESSION (ctrl_gnt && prog_i)
----1--- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T4 |
1 | 0 | Covered | T4,T11,T5 |
1 | 1 | Covered | T2,T3,T4 |
LINE 390
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 | T75,T76 |
1 | 0 | Covered | T2,T232,T233 |
LINE 390
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 | T2,T232,T233 |
LINE 390
SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
------------1----------- -------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T75,T76 |
LINE 390
SUB-EXPRESSION (host_outstanding == '0)
------------1-----------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 394
EXPRESSION (host_sel ? host_addr_i : addr_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 395
EXPRESSION (host_sel ? FlashPartData : part_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 396
EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 397
EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
----1---
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 398
EXPRESSION (ctrl_rsp_vld & rd_i)
------1----- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 399
EXPRESSION (ctrl_rsp_vld & prog_i)
------1----- ---2--
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T4 |
LINE 400
EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
------1----- ------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T11,T5 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T4,T11,T5 |
LINE 400
SUB-EXPRESSION (pg_erase_i | bk_erase_i)
-----1---- -----2----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T42,T87,T33 |
1 | 0 | Covered | T4,T11,T5 |
LINE 430
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 430
SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
-------1------- -------------2------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Not Covered | |
1 | 1 | Not Covered | |
LINE 430
SUB-EXPRESSION (host_outstanding == 1'b1)
-------------1------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T16 |
LINE 433
EXPRESSION (phy_req & (rd_i | host_req))
---1--- --------2--------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 433
SUB-EXPRESSION (rd_i | host_req)
--1- ----2---
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T3,T16 |
1 | 0 | Covered | T1,T2,T3 |
LINE 433
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 550
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 | T2,T3,T11 |
LINE 556
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 | T2,T3,T11 |
LINE 556
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 | T2,T3,T11 |
LINE 556
EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
-----1-----
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T2,T3,T11 |
LINE 578
EXPRESSION (fsm_err | prog_fsm_err)
---1--- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T13,T14,T23 |
1 | 0 | Covered | T13,T14,T23 |
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 |
343 |
Covered |
T12 |
StCtrlProg |
341 |
Covered |
T12 |
StCtrlRead |
339 |
Covered |
T12 |
StDisable |
337 |
Covered |
T12 |
StIdle |
351 |
Covered |
T12 |
transitions | Line No. | Covered | Tests |
StCtrl->StIdle |
371 |
Covered |
T12 |
StCtrlProg->StIdle |
361 |
Covered |
T12 |
StCtrlRead->StIdle |
351 |
Covered |
T12 |
StIdle->StCtrl |
343 |
Covered |
T12 |
StIdle->StCtrlProg |
341 |
Covered |
T12 |
StIdle->StCtrlRead |
339 |
Covered |
T12 |
StIdle->StDisable |
337 |
Covered |
T12 |
Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
| Line No. | Total | Covered | Percent |
Branches |
|
46 |
45 |
97.83 |
TERNARY |
319 |
2 |
2 |
100.00 |
TERNARY |
394 |
2 |
2 |
100.00 |
TERNARY |
395 |
2 |
2 |
100.00 |
TERNARY |
396 |
2 |
2 |
100.00 |
TERNARY |
397 |
2 |
2 |
100.00 |
TERNARY |
550 |
2 |
2 |
100.00 |
TERNARY |
433 |
2 |
1 |
50.00 |
TERNARY |
556 |
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 |
333 |
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-: 319 ((phy_req & host_req)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 394 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 395 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 396 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 397 (host_sel) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T16 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 550 (prog_calc_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T11 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 433 (arb_host_gnt_err) ?
Branches:
-1- | Status | Tests |
1 |
Not Covered |
|
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 556 (prog_op_req) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T2,T3,T11 |
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 |
T2,T3,T6 |
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 |
T216,T208,T206 |
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 |
T8 |
0 |
0 |
0 |
Covered |
T2,T3,T16 |
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 |
T8 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 333 case (state_q)
-2-: 336 if (prim_mubi_pkg::mubi4_test_true_loose(flash_disable[FsmDisableIdx]))
-3-: 338 if ((ctrl_gnt && rd_i))
-4-: 340 if ((ctrl_gnt && prog_i))
-5-: 342 if (ctrl_gnt)
-6-: 349 if (rd_stage_data_valid)
-7-: 359 if (prog_ack)
-8-: 369 if (erase_ack)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | Status | Tests |
StIdle |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T2,T10,T11 |
StIdle |
0 |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
0 |
0 |
1 |
- |
- |
- |
- |
Covered |
T2,T3,T4 |
StIdle |
0 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T4,T11,T5 |
StIdle |
0 |
0 |
0 |
0 |
- |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlRead |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T1,T2,T3 |
StCtrlProg |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T2,T3,T4 |
StCtrlProg |
- |
- |
- |
- |
- |
0 |
- |
Covered |
T2,T3,T4 |
StCtrl |
- |
- |
- |
- |
- |
- |
1 |
Covered |
T4,T11,T5 |
StCtrl |
- |
- |
- |
- |
- |
- |
0 |
Covered |
T4,T11,T5 |
StDisable |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T10,T11 |
default |
- |
- |
- |
- |
- |
- |
- |
Covered |
T13,T8,T14 |
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 |
379421047 |
2171089 |
0 |
0 |
T3 |
363217 |
12334 |
0 |
0 |
T4 |
5979 |
0 |
0 |
0 |
T5 |
209344 |
0 |
0 |
0 |
T6 |
340923 |
9561 |
0 |
0 |
T10 |
3663 |
0 |
0 |
0 |
T11 |
401235 |
0 |
0 |
0 |
T15 |
4154 |
0 |
0 |
0 |
T16 |
3252 |
0 |
0 |
0 |
T17 |
1159 |
0 |
0 |
0 |
T20 |
0 |
51706 |
0 |
0 |
T31 |
0 |
29767 |
0 |
0 |
T38 |
0 |
6841 |
0 |
0 |
T44 |
0 |
4036 |
0 |
0 |
T62 |
0 |
2735 |
0 |
0 |
T74 |
250812 |
0 |
0 |
0 |
T77 |
0 |
1875 |
0 |
0 |
T168 |
0 |
34402 |
0 |
0 |
T234 |
0 |
30282 |
0 |
0 |
CtrlPrio_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
2171089 |
0 |
0 |
T3 |
363217 |
12334 |
0 |
0 |
T4 |
5979 |
0 |
0 |
0 |
T5 |
209344 |
0 |
0 |
0 |
T6 |
340923 |
9561 |
0 |
0 |
T10 |
3663 |
0 |
0 |
0 |
T11 |
401235 |
0 |
0 |
0 |
T15 |
4154 |
0 |
0 |
0 |
T16 |
3252 |
0 |
0 |
0 |
T17 |
1159 |
0 |
0 |
0 |
T20 |
0 |
51706 |
0 |
0 |
T31 |
0 |
29767 |
0 |
0 |
T38 |
0 |
6841 |
0 |
0 |
T44 |
0 |
4036 |
0 |
0 |
T62 |
0 |
2735 |
0 |
0 |
T74 |
250812 |
0 |
0 |
0 |
T77 |
0 |
1875 |
0 |
0 |
T168 |
0 |
34402 |
0 |
0 |
T234 |
0 |
30282 |
0 |
0 |
HostTransIdleChk_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
23259039 |
0 |
0 |
T2 |
1191 |
4 |
0 |
0 |
T3 |
363217 |
116686 |
0 |
0 |
T4 |
5979 |
0 |
0 |
0 |
T5 |
209344 |
0 |
0 |
0 |
T6 |
340923 |
89689 |
0 |
0 |
T10 |
3663 |
0 |
0 |
0 |
T11 |
401235 |
0 |
0 |
0 |
T15 |
4154 |
0 |
0 |
0 |
T16 |
3252 |
28 |
0 |
0 |
T17 |
1159 |
0 |
0 |
0 |
T19 |
0 |
144 |
0 |
0 |
T20 |
0 |
434316 |
0 |
0 |
T31 |
0 |
412845 |
0 |
0 |
T32 |
0 |
32 |
0 |
0 |
T34 |
0 |
212 |
0 |
0 |
T44 |
0 |
26277 |
0 |
0 |
NoRemainder_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1050 |
1050 |
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 |
T10 |
1 |
1 |
0 |
0 |
T11 |
1 |
1 |
0 |
0 |
T15 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
OneHotReqs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
378584947 |
0 |
0 |
T1 |
1721 |
1663 |
0 |
0 |
T2 |
1191 |
1043 |
0 |
0 |
T3 |
363217 |
363163 |
0 |
0 |
T4 |
5979 |
5884 |
0 |
0 |
T5 |
209344 |
197478 |
0 |
0 |
T10 |
3663 |
3008 |
0 |
0 |
T11 |
401235 |
401217 |
0 |
0 |
T15 |
4154 |
3468 |
0 |
0 |
T16 |
3252 |
3083 |
0 |
0 |
T17 |
1159 |
1103 |
0 |
0 |
Pow2Multiple_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
1050 |
1050 |
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 |
T10 |
1 |
1 |
0 |
0 |
T11 |
1 |
1 |
0 |
0 |
T15 |
1 |
1 |
0 |
0 |
T16 |
1 |
1 |
0 |
0 |
T17 |
1 |
1 |
0 |
0 |
RdTxnCheck_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379202545 |
378366445 |
0 |
0 |
T1 |
1721 |
1663 |
0 |
0 |
T2 |
1191 |
1043 |
0 |
0 |
T3 |
363217 |
363163 |
0 |
0 |
T4 |
5979 |
5884 |
0 |
0 |
T5 |
209344 |
197478 |
0 |
0 |
T10 |
3663 |
3008 |
0 |
0 |
T11 |
401235 |
401217 |
0 |
0 |
T15 |
4154 |
3468 |
0 |
0 |
T16 |
3252 |
3083 |
0 |
0 |
T17 |
1159 |
1103 |
0 |
0 |
u_state_regs_A
Name | Attempts | Real Successes | Failures | Incomplete |
Total |
379421047 |
378584947 |
0 |
0 |
T1 |
1721 |
1663 |
0 |
0 |
T2 |
1191 |
1043 |
0 |
0 |
T3 |
363217 |
363163 |
0 |
0 |
T4 |
5979 |
5884 |
0 |
0 |
T5 |
209344 |
197478 |
0 |
0 |
T10 |
3663 |
3008 |
0 |
0 |
T11 |
401235 |
401217 |
0 |
0 |
T15 |
4154 |
3468 |
0 |
0 |
T16 |
3252 |
3083 |
0 |
0 |
T17 |
1159 |
1103 |
0 |
0 |