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



Module Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
94.29 96.20 83.96 100.00 91.30 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.26 97.65 92.02 98.97 100.00 96.91 97.98


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
94.26 97.67 85.11 100.00 u_eflash


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_prog_data.u_prog 97.50 100.00 93.65 95.00 100.00 96.36 100.00
u_disable_buf 100.00 100.00 100.00
u_erase 92.22 100.00 88.89 100.00 80.00
u_host_arb 91.95 75.93 91.89 100.00 100.00
u_host_outstanding_cnt 100.00 100.00
u_rd 97.48 99.15 92.78 100.00 99.25 96.23
u_scramble 98.18 100.00 90.91 100.00 100.00 100.00
u_state_regs 100.00 100.00 100.00 100.00



Module Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
98.37 98.73 95.28 100.00 97.83 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
97.83 97.89 93.16 100.00 100.00 97.94 97.98


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
94.26 97.67 85.11 100.00 u_eflash


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_prog_data.u_prog 98.60 100.00 95.24 100.00 100.00 96.36 100.00
u_disable_buf 100.00 100.00 100.00
u_erase 92.22 100.00 88.89 100.00 80.00
u_host_arb 93.98 75.93 100.00 100.00 100.00
u_host_outstanding_cnt 100.00 100.00
u_rd 97.48 99.15 92.78 100.00 99.25 96.23
u_scramble 98.18 100.00 90.91 100.00 100.00 100.00
u_state_regs 100.00 100.00 100.00 100.00

Line Coverage for Module : flash_phy_core
Line No.TotalCoveredPercent
TOTAL797898.73
ALWAYS15466100.00
ALWAYS16733100.00
CONT_ASSIGN19911100.00
CONT_ASSIGN20311100.00
ALWAYS20644100.00
ALWAYS21866100.00
ALWAYS2326583.33
CONT_ASSIGN28011100.00
CONT_ASSIGN28311100.00
CONT_ASSIGN28411100.00
CONT_ASSIGN28511100.00
CONT_ASSIGN29011100.00
CONT_ASSIGN32011100.00
CONT_ASSIGN32411100.00
ALWAYS3282929100.00
CONT_ASSIGN39111100.00
CONT_ASSIGN39511100.00
CONT_ASSIGN39611100.00
CONT_ASSIGN39711100.00
CONT_ASSIGN39811100.00
CONT_ASSIGN39911100.00
CONT_ASSIGN40011100.00
CONT_ASSIGN40111100.00
CONT_ASSIGN41811100.00
CONT_ASSIGN43111100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN57911100.00
CONT_ASSIGN58611100.00
CONT_ASSIGN60311100.00
CONT_ASSIGN60411100.00
CONT_ASSIGN60511100.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.CoveredStatements
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 0 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
TotalCoveredPercent
Conditions10610195.28
Logical10610195.28
Non-Logical00
Event00

 LINE       199
 EXPRESSION (host_gnt && (muxed_part != FlashPartData))
             ----1---    --------------2--------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT4,T5,T7
11CoveredT226,T176,T227

 LINE       199
 SUB-EXPRESSION (muxed_part != FlashPartData)
                --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       203
 EXPRESSION (((|host_outstanding)) & ((!ctrl_fsm_idle)))
             ----------1----------   ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT4,T5,T7
11Not Covered

 LINE       208
 EXPRESSION (host_gnt_err_event | host_outstanding_err_event)
             ---------1--------   -------------2------------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT226,T176,T227

 LINE       220
 EXPRESSION (host_outstanding == '0)
            ------------1-----------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT1,T2,T3

 LINE       234
 EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
             ------------1-----------    ------2------
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       234
 SUB-EXPRESSION (host_outstanding == '0)
                ------------1-----------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT1,T2,T3

 LINE       245
 EXPRESSION (host_gnt && ((!host_req_done_o)) && (host_outstanding <= flash_phy_pkg::RspOrderDepth))
             ----1---    ----------2---------    -------------------------3------------------------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT5,T7,T8
110Not Covered
111CoveredT4,T5,T7

 LINE       245
 EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
             ------1------    -------2-------    ----------3----------
-1--2--3-StatusTests
011CoveredT5,T7,T8
101CoveredT4,T5,T7
110CoveredT63,T129,T130
111CoveredT4,T5,T7

 LINE       284
 EXPRESSION (host_req & host_req_rdy_o)
             ----1---   -------2------
-1--2-StatusTests
01Not Covered
10CoveredT5,T7,T8
11CoveredT4,T5,T7

 LINE       285
 EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
             ----------1----------   ---------2---------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT4,T5,T7
11CoveredT4,T5,T7

 LINE       320
 EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       320
 SUB-EXPRESSION (phy_req & host_req)
                 ---1---   ----2---
-1--2-StatusTests
01CoveredT157,T158,T159
10CoveredT1,T2,T3
11CoveredT4,T5,T7

 LINE       324
 EXPRESSION (req_i & host_gnt)
             --1--   ----2---
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT1,T2,T3
11CoveredT5,T7,T8

 LINE       339
 EXPRESSION (ctrl_gnt && rd_i)
             ----1---    --2-
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T6,T12
11CoveredT1,T2,T3

 LINE       341
 EXPRESSION (ctrl_gnt && prog_i)
             ----1---    ---2--
-1--2-StatusTests
01CoveredT2,T6,T7
10CoveredT12,T7,T21
11CoveredT2,T6,T7

 LINE       391
 EXPRESSION ((ctrl_fsm_idle & ctrl_rsp_vld) | ((host_outstanding == '0) & host_req_done_o))
             ---------------1--------------   ----------------------2---------------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT63,T129,T130
10CoveredT97

 LINE       391
 SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
                 ------1------   ------2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT97

 LINE       391
 SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
                 ------------1-----------   -------2-------
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT1,T2,T3
11CoveredT63,T129,T130

 LINE       391
 SUB-EXPRESSION (host_outstanding == '0)
                ------------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       395
 EXPRESSION (host_sel ? host_addr_i : addr_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       396
 EXPRESSION (host_sel ? FlashPartData : part_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       397
 EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       398
 EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       399
 EXPRESSION (ctrl_rsp_vld & rd_i)
             ------1-----   --2-
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T6
11CoveredT1,T2,T3

 LINE       400
 EXPRESSION (ctrl_rsp_vld & prog_i)
             ------1-----   ---2--
-1--2-StatusTests
01CoveredT2,T6,T7
10CoveredT1,T2,T3
11CoveredT2,T6,T7

 LINE       401
 EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
             ------1-----   ------------2------------
-1--2-StatusTests
01CoveredT12,T7,T21
10CoveredT1,T2,T3
11CoveredT7,T21,T24

 LINE       401
 SUB-EXPRESSION (pg_erase_i | bk_erase_i)
                 -----1----   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T45,T46
10CoveredT12,T7,T21

 LINE       431
 EXPRESSION ((host_gnt_rd_err & (host_outstanding == 1'b1)) | host_outstanding_rd_err)
             -----------------------1----------------------   -----------2-----------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT176,T177

 LINE       431
 SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
                 -------1-------   -------------2------------
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT176,T177
11CoveredT176,T177

 LINE       431
 SUB-EXPRESSION (host_outstanding == 1'b1)
                -------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       434
 EXPRESSION (phy_req & (rd_i | host_req))
             ---1---   --------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T6,T12
11CoveredT1,T2,T3

 LINE       434
 SUB-EXPRESSION (rd_i | host_req)
                 --1-   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T7
10CoveredT1,T2,T3

 LINE       434
 EXPRESSION (arb_host_gnt_err ? ({flash_phy_pkg::FullDataWidth {1'b1}}) : flash_rdata)
             --------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT176,T177

 LINE       551
 EXPRESSION (prog_calc_req ? muxed_addr[(flash_phy_pkg::BusBankAddrW - 1):flash_phy_pkg::LsbAddrBit] : rd_calc_addr)
             ------1------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT33,T40,T14

 LINE       557
 EXPRESSION (prog_calc_req | rd_calc_req)
             ------1------   -----2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT33,T40,T14

 LINE       557
 EXPRESSION (prog_op_req | rd_op_req)
             -----1-----   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT33,T40,T14

 LINE       557
 EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
             -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT33,T40,T14

 LINE       579
 EXPRESSION (fsm_err | prog_fsm_err)
             ---1---   ------2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT15,T16,T17
10CoveredT15,T16,T17

FSM Coverage for Module : flash_phy_core
Summary for FSM :: state_q
TotalCoveredPercent
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
statesLine No.CoveredTests
StCtrl 344 Covered T12,T7,T21
StCtrlProg 342 Covered T2,T6,T7
StCtrlRead 340 Covered T1,T2,T3
StDisable 338 Covered T3,T12,T13
StIdle 352 Covered T1,T2,T3


transitionsLine No.CoveredTests
StCtrl->StIdle 372 Covered T12,T7,T21
StCtrlProg->StIdle 362 Covered T2,T6,T7
StCtrlRead->StIdle 352 Covered T1,T2,T3
StIdle->StCtrl 344 Covered T12,T7,T21
StIdle->StCtrlProg 342 Covered T2,T6,T7
StIdle->StCtrlRead 340 Covered T1,T2,T3
StIdle->StDisable 338 Covered T3,T12,T13



Branch Coverage for Module : flash_phy_core
Line No.TotalCoveredPercent
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 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 3 75.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-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 395 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 396 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 397 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 398 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 551 (prog_calc_req) ?

Branches:
-1-StatusTests
1 Covered T33,T40,T14
0 Covered T1,T2,T3


LineNo. Expression -1-: 434 (arb_host_gnt_err) ?

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


LineNo. Expression -1-: 557 (prog_op_req) ?

Branches:
-1-StatusTests
1 Covered T33,T40,T14
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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Covered T5,T7,T8
0 0 0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
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-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T226,T176,T227
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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Covered T176,T177
0 0 0 Covered T4,T5,T7


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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Not Covered
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-StatusTests
StIdle 1 - - - - - - Covered T3,T12,T13
StIdle 0 1 - - - - - Covered T1,T2,T3
StIdle 0 0 1 - - - - Covered T2,T6,T7
StIdle 0 0 0 1 - - - Covered T12,T7,T21
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,T6,T7
StCtrlProg - - - - - 0 - Covered T2,T6,T7
StCtrl - - - - - - 1 Covered T7,T21,T24
StCtrl - - - - - - 0 Covered T12,T7,T21
StDisable - - - - - - - Covered T3,T12,T13
default - - - - - - - Covered T15,T16,T17


Assert Coverage for Module : flash_phy_core
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 8 8 100.00 8 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 8 8 100.00 8 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
ArbCntMax_A 620393522 3749051 0 0
CtrlPrio_A 620393522 3749051 0 0
HostTransIdleChk_A 620393522 39175050 0 0
NoRemainder_A 1720 1720 0 0
OneHotReqs_A 620393522 618934914 0 0
Pow2Multiple_A 1720 1720 0 0
RdTxnCheck_A 619997304 618538696 0 0
u_state_regs_A 620393522 618934914 0 0


ArbCntMax_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 620393522 3749051 0 0
T5 259594 5847 0 0
T6 837258 0 0 0
T7 278362 0 0 0
T8 0 93730 0 0
T12 7714 0 0 0
T13 2552 0 0 0
T18 1968 0 0 0
T19 0 88271 0 0
T23 0 15595 0 0
T25 0 16449 0 0
T33 4396 0 0 0
T34 0 17676 0 0
T38 0 9193 0 0
T40 3604 0 0 0
T41 0 79207 0 0
T42 2506 0 0 0
T43 2612 0 0 0
T44 0 2840 0 0
T112 0 20 0 0
T113 0 77147 0 0

CtrlPrio_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 620393522 3749051 0 0
T5 259594 5847 0 0
T6 837258 0 0 0
T7 278362 0 0 0
T8 0 93730 0 0
T12 7714 0 0 0
T13 2552 0 0 0
T18 1968 0 0 0
T19 0 88271 0 0
T23 0 15595 0 0
T25 0 16449 0 0
T33 4396 0 0 0
T34 0 17676 0 0
T38 0 9193 0 0
T40 3604 0 0 0
T41 0 79207 0 0
T42 2506 0 0 0
T43 2612 0 0 0
T44 0 2840 0 0
T112 0 20 0 0
T113 0 77147 0 0

HostTransIdleChk_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 620393522 39175050 0 0
T4 4518 8 0 0
T5 259594 54515 0 0
T6 837258 0 0 0
T7 278362 530 0 0
T8 0 832786 0 0
T12 7714 0 0 0
T13 2552 0 0 0
T18 1968 0 0 0
T19 0 845274 0 0
T23 0 145098 0 0
T25 0 150019 0 0
T33 4396 20 0 0
T40 1802 0 0 0
T41 0 842747 0 0
T42 2506 0 0 0
T43 2612 0 0 0
T44 0 32964 0 0
T97 0 8 0 0
T112 0 374 0 0

NoRemainder_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1720 1720 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
T7 2 2 0 0
T12 2 2 0 0
T13 2 2 0 0
T18 2 2 0 0

OneHotReqs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 620393522 618934914 0 0
T1 2812 2652 0 0
T2 845846 845828 0 0
T3 3130 2556 0 0
T4 9036 8724 0 0
T5 259594 259294 0 0
T6 837258 837246 0 0
T7 278362 278224 0 0
T12 7714 6318 0 0
T13 2552 2104 0 0
T18 1968 1804 0 0

Pow2Multiple_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1720 1720 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
T7 2 2 0 0
T12 2 2 0 0
T13 2 2 0 0
T18 2 2 0 0

RdTxnCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 619997304 618538696 0 0
T1 2812 2652 0 0
T2 845846 845828 0 0
T3 3130 2556 0 0
T4 9036 8724 0 0
T5 259594 259294 0 0
T6 837258 837246 0 0
T7 278362 278224 0 0
T12 7714 6318 0 0
T13 2552 2104 0 0
T18 1968 1804 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 620393522 618934914 0 0
T1 2812 2652 0 0
T2 845846 845828 0 0
T3 3130 2556 0 0
T4 9036 8724 0 0
T5 259594 259294 0 0
T6 837258 837246 0 0
T7 278362 278224 0 0
T12 7714 6318 0 0
T13 2552 2104 0 0
T18 1968 1804 0 0

Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
Line No.TotalCoveredPercent
TOTAL797696.20
ALWAYS15466100.00
ALWAYS16733100.00
CONT_ASSIGN19911100.00
CONT_ASSIGN20311100.00
ALWAYS2064375.00
ALWAYS2186583.33
ALWAYS2326583.33
CONT_ASSIGN28011100.00
CONT_ASSIGN28311100.00
CONT_ASSIGN28411100.00
CONT_ASSIGN28511100.00
CONT_ASSIGN29011100.00
CONT_ASSIGN32011100.00
CONT_ASSIGN32411100.00
ALWAYS3282929100.00
CONT_ASSIGN39111100.00
CONT_ASSIGN39511100.00
CONT_ASSIGN39611100.00
CONT_ASSIGN39711100.00
CONT_ASSIGN39811100.00
CONT_ASSIGN39911100.00
CONT_ASSIGN40011100.00
CONT_ASSIGN40111100.00
CONT_ASSIGN41811100.00
CONT_ASSIGN43111100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN57911100.00
CONT_ASSIGN58611100.00
CONT_ASSIGN60311100.00
CONT_ASSIGN60411100.00
CONT_ASSIGN60511100.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.CoveredStatements
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 0 1
MISSING_ELSE
218 1 1
219 1 1
220 1 1
221 1 1
222 1 1
223 0 1
MISSING_ELSE
232 1 1
233 1 1
234 1 1
235 1 1
236 1 1
237 0 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
TotalCoveredPercent
Conditions1068983.96
Logical1068983.96
Non-Logical00
Event00

 LINE       199
 EXPRESSION (host_gnt && (muxed_part != FlashPartData))
             ----1---    --------------2--------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT4,T5,T7
11Not Covered

 LINE       199
 SUB-EXPRESSION (muxed_part != FlashPartData)
                --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       203
 EXPRESSION (((|host_outstanding)) & ((!ctrl_fsm_idle)))
             ----------1----------   ---------2--------
-1--2-StatusTests
01CoveredT2,T4,T5
10CoveredT4,T5,T7
11Not Covered

 LINE       208
 EXPRESSION (host_gnt_err_event | host_outstanding_err_event)
             ---------1--------   -------------2------------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10Not Covered

 LINE       220
 EXPRESSION (host_outstanding == '0)
            ------------1-----------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT1,T2,T3

 LINE       234
 EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
             ------------1-----------    ------2------
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT2,T4,T5
11CoveredT1,T2,T3

 LINE       234
 SUB-EXPRESSION (host_outstanding == '0)
                ------------1-----------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT1,T2,T3

 LINE       245
 EXPRESSION (host_gnt && ((!host_req_done_o)) && (host_outstanding <= flash_phy_pkg::RspOrderDepth))
             ----1---    ----------2---------    -------------------------3------------------------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT5,T7,T8
110Not Covered
111CoveredT4,T5,T7

 LINE       245
 EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
             ------1------    -------2-------    ----------3----------
-1--2--3-StatusTests
011CoveredT5,T7,T8
101CoveredT4,T5,T7
110Not Covered
111CoveredT4,T5,T7

 LINE       284
 EXPRESSION (host_req & host_req_rdy_o)
             ----1---   -------2------
-1--2-StatusTests
01Not Covered
10CoveredT5,T7,T8
11CoveredT4,T5,T7

 LINE       285
 EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
             ----------1----------   ---------2---------
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT4,T5,T7
11CoveredT4,T5,T7

 LINE       320
 EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       320
 SUB-EXPRESSION (phy_req & host_req)
                 ---1---   ----2---
-1--2-StatusTests
01Not Covered
10CoveredT2,T4,T5
11CoveredT4,T5,T7

 LINE       324
 EXPRESSION (req_i & host_gnt)
             --1--   ----2---
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT2,T4,T5
11CoveredT5,T7,T8

 LINE       339
 EXPRESSION (ctrl_gnt && rd_i)
             ----1---    --2-
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T6,T7
11CoveredT4,T5,T7

 LINE       341
 EXPRESSION (ctrl_gnt && prog_i)
             ----1---    ---2--
-1--2-StatusTests
01CoveredT2,T6,T7
10CoveredT7,T50,T45
11CoveredT2,T6,T7

 LINE       391
 EXPRESSION ((ctrl_fsm_idle & ctrl_rsp_vld) | ((host_outstanding == '0) & host_req_done_o))
             ---------------1--------------   ----------------------2---------------------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10Not Covered

 LINE       391
 SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
                 ------1------   ------2-----
-1--2-StatusTests
01CoveredT2,T4,T5
10CoveredT1,T2,T3
11Not Covered

 LINE       391
 SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
                 ------------1-----------   -------2-------
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT1,T2,T3
11Not Covered

 LINE       391
 SUB-EXPRESSION (host_outstanding == '0)
                ------------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       395
 EXPRESSION (host_sel ? host_addr_i : addr_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       396
 EXPRESSION (host_sel ? FlashPartData : part_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       397
 EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       398
 EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       399
 EXPRESSION (ctrl_rsp_vld & rd_i)
             ------1-----   --2-
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T6,T7
11CoveredT4,T5,T7

 LINE       400
 EXPRESSION (ctrl_rsp_vld & prog_i)
             ------1-----   ---2--
-1--2-StatusTests
01CoveredT2,T6,T7
10CoveredT4,T5,T7
11CoveredT2,T6,T7

 LINE       401
 EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
             ------1-----   ------------2------------
-1--2-StatusTests
01CoveredT12,T7,T21
10CoveredT2,T4,T5
11CoveredT7,T50,T45

 LINE       401
 SUB-EXPRESSION (pg_erase_i | bk_erase_i)
                 -----1----   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T45,T46
10CoveredT12,T7,T21

 LINE       431
 EXPRESSION ((host_gnt_rd_err & (host_outstanding == 1'b1)) | host_outstanding_rd_err)
             -----------------------1----------------------   -----------2-----------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10Not Covered

 LINE       431
 SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
                 -------1-------   -------------2------------
-1--2-StatusTests
01CoveredT4,T5,T7
10Not Covered
11Not Covered

 LINE       431
 SUB-EXPRESSION (host_outstanding == 1'b1)
                -------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT4,T5,T7

 LINE       434
 EXPRESSION (phy_req & (rd_i | host_req))
             ---1---   --------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T6,T7
11CoveredT4,T5,T7

 LINE       434
 SUB-EXPRESSION (rd_i | host_req)
                 --1-   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T7
10CoveredT1,T2,T3

 LINE       434
 EXPRESSION (arb_host_gnt_err ? ({flash_phy_pkg::FullDataWidth {1'b1}}) : flash_rdata)
             --------1-------
-1-StatusTests
0CoveredT1,T2,T3
1Not Covered

 LINE       551
 EXPRESSION (prog_calc_req ? muxed_addr[(flash_phy_pkg::BusBankAddrW - 1):flash_phy_pkg::LsbAddrBit] : rd_calc_addr)
             ------1------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT33,T50,T51

 LINE       557
 EXPRESSION (prog_calc_req | rd_calc_req)
             ------1------   -----2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T33
10CoveredT33,T50,T51

 LINE       557
 EXPRESSION (prog_op_req | rd_op_req)
             -----1-----   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT4,T5,T33
10CoveredT33,T50,T51

 LINE       557
 EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
             -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT33,T50,T51

 LINE       579
 EXPRESSION (fsm_err | prog_fsm_err)
             ---1---   ------2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT15,T16,T17
10CoveredT15,T16,T17

FSM Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
Summary for FSM :: state_q
TotalCoveredPercent
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
statesLine No.CoveredTests
StCtrl 344 Covered T7,T50,T45
StCtrlProg 342 Covered T2,T6,T7
StCtrlRead 340 Covered T4,T5,T7
StDisable 338 Covered T3,T12,T13
StIdle 352 Covered T1,T2,T3


transitionsLine No.CoveredTests
StCtrl->StIdle 372 Covered T7,T50,T45
StCtrlProg->StIdle 362 Covered T2,T6,T7
StCtrlRead->StIdle 352 Covered T4,T5,T7
StIdle->StCtrl 344 Covered T7,T50,T45
StIdle->StCtrlProg 342 Covered T2,T6,T7
StIdle->StCtrlRead 340 Covered T4,T5,T7
StIdle->StDisable 338 Covered T3,T12,T13



Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
Line No.TotalCoveredPercent
Branches 46 42 91.30
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 2 66.67
IF 218 4 3 75.00
IF 232 4 3 75.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-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 395 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 396 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 397 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 398 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T1,T2,T3


LineNo. Expression -1-: 551 (prog_calc_req) ?

Branches:
-1-StatusTests
1 Covered T33,T50,T51
0 Covered T1,T2,T3


LineNo. Expression -1-: 434 (arb_host_gnt_err) ?

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


LineNo. Expression -1-: 557 (prog_op_req) ?

Branches:
-1-StatusTests
1 Covered T33,T50,T51
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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T4,T5
0 0 1 Covered T5,T7,T8
0 0 0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
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-StatusTests
1 - Covered T1,T2,T3
0 1 Not Covered
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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Not Covered
0 0 0 Covered T4,T5,T7


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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Not Covered
0 0 0 Covered T2,T4,T5


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-StatusTests
StIdle 1 - - - - - - Covered T3,T12,T13
StIdle 0 1 - - - - - Covered T4,T5,T7
StIdle 0 0 1 - - - - Covered T2,T6,T7
StIdle 0 0 0 1 - - - Covered T7,T50,T45
StIdle 0 0 0 0 - - - Covered T1,T2,T3
StCtrlRead - - - - 1 - - Covered T4,T5,T7
StCtrlRead - - - - 0 - - Covered T4,T5,T7
StCtrlProg - - - - - 1 - Covered T2,T6,T7
StCtrlProg - - - - - 0 - Covered T2,T6,T7
StCtrl - - - - - - 1 Covered T7,T50,T45
StCtrl - - - - - - 0 Covered T7,T50,T45
StDisable - - - - - - - Covered T3,T12,T13
default - - - - - - - Covered T15,T16,T17


Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[1].u_core
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 8 8 100.00 8 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 8 8 100.00 8 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
ArbCntMax_A 310196761 1857629 0 0
CtrlPrio_A 310196761 1857629 0 0
HostTransIdleChk_A 310196761 19319967 0 0
NoRemainder_A 860 860 0 0
OneHotReqs_A 310196761 309467457 0 0
Pow2Multiple_A 860 860 0 0
RdTxnCheck_A 309998652 309269348 0 0
u_state_regs_A 310196761 309467457 0 0


ArbCntMax_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 1857629 0 0
T5 129797 2538 0 0
T6 418629 0 0 0
T7 139181 0 0 0
T8 0 10506 0 0
T12 3857 0 0 0
T13 1276 0 0 0
T18 984 0 0 0
T19 0 49543 0 0
T23 0 8612 0 0
T25 0 5651 0 0
T33 2198 0 0 0
T34 0 8258 0 0
T38 0 9193 0 0
T40 1802 0 0 0
T41 0 50882 0 0
T42 1253 0 0 0
T43 1306 0 0 0
T44 0 1345 0 0
T113 0 49852 0 0

CtrlPrio_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 1857629 0 0
T5 129797 2538 0 0
T6 418629 0 0 0
T7 139181 0 0 0
T8 0 10506 0 0
T12 3857 0 0 0
T13 1276 0 0 0
T18 984 0 0 0
T19 0 49543 0 0
T23 0 8612 0 0
T25 0 5651 0 0
T33 2198 0 0 0
T34 0 8258 0 0
T38 0 9193 0 0
T40 1802 0 0 0
T41 0 50882 0 0
T42 1253 0 0 0
T43 1306 0 0 0
T44 0 1345 0 0
T113 0 49852 0 0

HostTransIdleChk_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 19319967 0 0
T4 4518 8 0 0
T5 129797 26971 0 0
T6 418629 0 0 0
T7 139181 320 0 0
T8 0 382915 0 0
T12 3857 0 0 0
T13 1276 0 0 0
T18 984 0 0 0
T19 0 441201 0 0
T23 0 75928 0 0
T25 0 66677 0 0
T33 2198 20 0 0
T41 0 451299 0 0
T42 1253 0 0 0
T43 1306 0 0 0
T44 0 15772 0 0

NoRemainder_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 860 860 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T18 1 1 0 0

OneHotReqs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 309467457 0 0
T1 1406 1326 0 0
T2 422923 422914 0 0
T3 1565 1278 0 0
T4 4518 4362 0 0
T5 129797 129647 0 0
T6 418629 418623 0 0
T7 139181 139112 0 0
T12 3857 3159 0 0
T13 1276 1052 0 0
T18 984 902 0 0

Pow2Multiple_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 860 860 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T18 1 1 0 0

RdTxnCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 309998652 309269348 0 0
T1 1406 1326 0 0
T2 422923 422914 0 0
T3 1565 1278 0 0
T4 4518 4362 0 0
T5 129797 129647 0 0
T6 418629 418623 0 0
T7 139181 139112 0 0
T12 3857 3159 0 0
T13 1276 1052 0 0
T18 984 902 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 309467457 0 0
T1 1406 1326 0 0
T2 422923 422914 0 0
T3 1565 1278 0 0
T4 4518 4362 0 0
T5 129797 129647 0 0
T6 418629 418623 0 0
T7 139181 139112 0 0
T12 3857 3159 0 0
T13 1276 1052 0 0
T18 984 902 0 0

Line Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
Line No.TotalCoveredPercent
TOTAL797898.73
ALWAYS15466100.00
ALWAYS16733100.00
CONT_ASSIGN19911100.00
CONT_ASSIGN20311100.00
ALWAYS20644100.00
ALWAYS21866100.00
ALWAYS2326583.33
CONT_ASSIGN28011100.00
CONT_ASSIGN28311100.00
CONT_ASSIGN28411100.00
CONT_ASSIGN28511100.00
CONT_ASSIGN29011100.00
CONT_ASSIGN32011100.00
CONT_ASSIGN32411100.00
ALWAYS3282929100.00
CONT_ASSIGN39111100.00
CONT_ASSIGN39511100.00
CONT_ASSIGN39611100.00
CONT_ASSIGN39711100.00
CONT_ASSIGN39811100.00
CONT_ASSIGN39911100.00
CONT_ASSIGN40011100.00
CONT_ASSIGN40111100.00
CONT_ASSIGN41811100.00
CONT_ASSIGN43111100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN57911100.00
CONT_ASSIGN58611100.00
CONT_ASSIGN60311100.00
CONT_ASSIGN60411100.00
CONT_ASSIGN60511100.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.CoveredStatements
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 0 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
TotalCoveredPercent
Conditions10610195.28
Logical10610195.28
Non-Logical00
Event00

 LINE       199
 EXPRESSION (host_gnt && (muxed_part != FlashPartData))
             ----1---    --------------2--------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT5,T7,T8
11CoveredT226,T176,T227

 LINE       199
 SUB-EXPRESSION (muxed_part != FlashPartData)
                --------------1--------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       203
 EXPRESSION (((|host_outstanding)) & ((!ctrl_fsm_idle)))
             ----------1----------   ---------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT5,T7,T8
11Not Covered

 LINE       208
 EXPRESSION (host_gnt_err_event | host_outstanding_err_event)
             ---------1--------   -------------2------------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT226,T176,T227

 LINE       220
 EXPRESSION (host_outstanding == '0)
            ------------1-----------
-1-StatusTests
0CoveredT5,T7,T8
1CoveredT1,T2,T3

 LINE       234
 EXPRESSION ((host_outstanding == '0) && ctrl_fsm_idle)
             ------------1-----------    ------2------
-1--2-StatusTests
01CoveredT5,T7,T8
10CoveredT1,T2,T3
11CoveredT1,T2,T3

 LINE       234
 SUB-EXPRESSION (host_outstanding == '0)
                ------------1-----------
-1-StatusTests
0CoveredT5,T7,T8
1CoveredT1,T2,T3

 LINE       245
 EXPRESSION (host_gnt && ((!host_req_done_o)) && (host_outstanding <= flash_phy_pkg::RspOrderDepth))
             ----1---    ----------2---------    -------------------------3------------------------
-1--2--3-StatusTests
011CoveredT1,T2,T3
101CoveredT5,T7,T8
110Not Covered
111CoveredT5,T7,T8

 LINE       245
 EXPRESSION (((!host_gnt)) && host_req_done_o && ((|host_outstanding)))
             ------1------    -------2-------    ----------3----------
-1--2--3-StatusTests
011CoveredT5,T7,T8
101CoveredT5,T7,T8
110CoveredT63,T129,T130
111CoveredT5,T7,T8

 LINE       284
 EXPRESSION (host_req & host_req_rdy_o)
             ----1---   -------2------
-1--2-StatusTests
01Not Covered
10CoveredT5,T7,T8
11CoveredT5,T7,T8

 LINE       285
 EXPRESSION (((|host_outstanding)) & rd_stage_data_valid)
             ----------1----------   ---------2---------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT5,T7,T8
11CoveredT5,T7,T8

 LINE       320
 EXPRESSION ((phy_req & host_req) ? rd_stage_rdy : rd_stage_idle)
             ----------1---------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T7,T8

 LINE       320
 SUB-EXPRESSION (phy_req & host_req)
                 ---1---   ----2---
-1--2-StatusTests
01CoveredT157,T158,T159
10CoveredT1,T2,T3
11CoveredT5,T7,T8

 LINE       324
 EXPRESSION (req_i & host_gnt)
             --1--   ----2---
-1--2-StatusTests
01CoveredT5,T7,T8
10CoveredT1,T2,T3
11CoveredT5,T7,T8

 LINE       339
 EXPRESSION (ctrl_gnt && rd_i)
             ----1---    --2-
-1--2-StatusTests
01CoveredT4,T5,T7
10CoveredT2,T6,T12
11CoveredT1,T2,T3

 LINE       341
 EXPRESSION (ctrl_gnt && prog_i)
             ----1---    ---2--
-1--2-StatusTests
01CoveredT2,T6,T7
10CoveredT12,T7,T21
11CoveredT2,T6,T7

 LINE       391
 EXPRESSION ((ctrl_fsm_idle & ctrl_rsp_vld) | ((host_outstanding == '0) & host_req_done_o))
             ---------------1--------------   ----------------------2---------------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT63,T129,T130
10CoveredT97

 LINE       391
 SUB-EXPRESSION (ctrl_fsm_idle & ctrl_rsp_vld)
                 ------1------   ------2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT1,T2,T3
11CoveredT97

 LINE       391
 SUB-EXPRESSION ((host_outstanding == '0) & host_req_done_o)
                 ------------1-----------   -------2-------
-1--2-StatusTests
01CoveredT5,T7,T8
10CoveredT1,T2,T3
11CoveredT63,T129,T130

 LINE       391
 SUB-EXPRESSION (host_outstanding == '0)
                ------------1-----------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       395
 EXPRESSION (host_sel ? host_addr_i : addr_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T7,T8

 LINE       396
 EXPRESSION (host_sel ? FlashPartData : part_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T7,T8

 LINE       397
 EXPRESSION (host_sel ? host_scramble_en_i : scramble_en_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T7,T8

 LINE       398
 EXPRESSION (host_sel ? host_ecc_en_i : ecc_en_i)
             ----1---
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T7,T8

 LINE       399
 EXPRESSION (ctrl_rsp_vld & rd_i)
             ------1-----   --2-
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T6
11CoveredT1,T2,T3

 LINE       400
 EXPRESSION (ctrl_rsp_vld & prog_i)
             ------1-----   ---2--
-1--2-StatusTests
01CoveredT2,T6,T7
10CoveredT1,T2,T3
11CoveredT2,T6,T7

 LINE       401
 EXPRESSION (ctrl_rsp_vld & (pg_erase_i | bk_erase_i))
             ------1-----   ------------2------------
-1--2-StatusTests
01CoveredT12,T7,T21
10CoveredT1,T2,T3
11CoveredT7,T21,T24

 LINE       401
 SUB-EXPRESSION (pg_erase_i | bk_erase_i)
                 -----1----   -----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT7,T45,T46
10CoveredT12,T7,T21

 LINE       431
 EXPRESSION ((host_gnt_rd_err & (host_outstanding == 1'b1)) | host_outstanding_rd_err)
             -----------------------1----------------------   -----------2-----------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT176,T177

 LINE       431
 SUB-EXPRESSION (host_gnt_rd_err & (host_outstanding == 1'b1))
                 -------1-------   -------------2------------
-1--2-StatusTests
01CoveredT5,T7,T8
10CoveredT176,T177
11CoveredT176,T177

 LINE       431
 SUB-EXPRESSION (host_outstanding == 1'b1)
                -------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT5,T7,T8

 LINE       434
 EXPRESSION (phy_req & (rd_i | host_req))
             ---1---   --------2--------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T6,T12
11CoveredT1,T2,T3

 LINE       434
 SUB-EXPRESSION (rd_i | host_req)
                 --1-   ----2---
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT5,T7,T8
10CoveredT1,T2,T3

 LINE       434
 EXPRESSION (arb_host_gnt_err ? ({flash_phy_pkg::FullDataWidth {1'b1}}) : flash_rdata)
             --------1-------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT176,T177

 LINE       551
 EXPRESSION (prog_calc_req ? muxed_addr[(flash_phy_pkg::BusBankAddrW - 1):flash_phy_pkg::LsbAddrBit] : rd_calc_addr)
             ------1------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT40,T14,T50

 LINE       557
 EXPRESSION (prog_calc_req | rd_calc_req)
             ------1------   -----2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT40,T14,T50

 LINE       557
 EXPRESSION (prog_op_req | rd_op_req)
             -----1-----   ----2----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT1,T2,T3
10CoveredT40,T14,T50

 LINE       557
 EXPRESSION (prog_op_req ? ScrambleOp : DeScrambleOp)
             -----1-----
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT40,T14,T50

 LINE       579
 EXPRESSION (fsm_err | prog_fsm_err)
             ---1---   ------2-----
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT15,T16,T17
10CoveredT15,T16,T17

FSM Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
Summary for FSM :: state_q
TotalCoveredPercent
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
statesLine No.CoveredTests
StCtrl 344 Covered T12,T7,T21
StCtrlProg 342 Covered T2,T6,T7
StCtrlRead 340 Covered T1,T2,T3
StDisable 338 Covered T12,T14,T50
StIdle 352 Covered T1,T2,T3


transitionsLine No.CoveredTests
StCtrl->StIdle 372 Covered T12,T7,T21
StCtrlProg->StIdle 362 Covered T2,T6,T7
StCtrlRead->StIdle 352 Covered T1,T2,T3
StIdle->StCtrl 344 Covered T12,T7,T21
StIdle->StCtrlProg 342 Covered T2,T6,T7
StIdle->StCtrlRead 340 Covered T1,T2,T3
StIdle->StDisable 338 Covered T12,T14,T50



Branch Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
Line No.TotalCoveredPercent
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 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 3 75.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-StatusTests
1 Covered T5,T7,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 395 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T5,T7,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 396 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T5,T7,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 397 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T5,T7,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 398 (host_sel) ?

Branches:
-1-StatusTests
1 Covered T5,T7,T8
0 Covered T1,T2,T3


LineNo. Expression -1-: 551 (prog_calc_req) ?

Branches:
-1-StatusTests
1 Covered T40,T14,T50
0 Covered T1,T2,T3


LineNo. Expression -1-: 434 (arb_host_gnt_err) ?

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


LineNo. Expression -1-: 557 (prog_op_req) ?

Branches:
-1-StatusTests
1 Covered T40,T14,T50
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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Covered T5,T7,T8
0 0 0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
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-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T226,T176,T227
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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Covered T176,T177
0 0 0 Covered T5,T7,T8


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-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T1,T2,T3
0 0 1 Not Covered
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-StatusTests
StIdle 1 - - - - - - Covered T3,T12,T13
StIdle 0 1 - - - - - Covered T1,T2,T3
StIdle 0 0 1 - - - - Covered T2,T6,T7
StIdle 0 0 0 1 - - - Covered T12,T7,T21
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,T6,T7
StCtrlProg - - - - - 0 - Covered T2,T6,T7
StCtrl - - - - - - 1 Covered T7,T21,T24
StCtrl - - - - - - 0 Covered T12,T7,T21
StDisable - - - - - - - Covered T12,T14,T50
default - - - - - - - Covered T15,T16,T17


Assert Coverage for Instance : tb.dut.u_eflash.gen_flash_cores[0].u_core
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 8 8 100.00 8 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 8 8 100.00 8 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
ArbCntMax_A 310196761 1891422 0 0
CtrlPrio_A 310196761 1891422 0 0
HostTransIdleChk_A 310196761 19855083 0 0
NoRemainder_A 860 860 0 0
OneHotReqs_A 310196761 309467457 0 0
Pow2Multiple_A 860 860 0 0
RdTxnCheck_A 309998652 309269348 0 0
u_state_regs_A 310196761 309467457 0 0


ArbCntMax_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 1891422 0 0
T5 129797 3309 0 0
T6 418629 0 0 0
T7 139181 0 0 0
T8 0 83224 0 0
T12 3857 0 0 0
T13 1276 0 0 0
T18 984 0 0 0
T19 0 38728 0 0
T23 0 6983 0 0
T25 0 10798 0 0
T33 2198 0 0 0
T34 0 9418 0 0
T40 1802 0 0 0
T41 0 28325 0 0
T42 1253 0 0 0
T43 1306 0 0 0
T44 0 1495 0 0
T112 0 20 0 0
T113 0 27295 0 0

CtrlPrio_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 1891422 0 0
T5 129797 3309 0 0
T6 418629 0 0 0
T7 139181 0 0 0
T8 0 83224 0 0
T12 3857 0 0 0
T13 1276 0 0 0
T18 984 0 0 0
T19 0 38728 0 0
T23 0 6983 0 0
T25 0 10798 0 0
T33 2198 0 0 0
T34 0 9418 0 0
T40 1802 0 0 0
T41 0 28325 0 0
T42 1253 0 0 0
T43 1306 0 0 0
T44 0 1495 0 0
T112 0 20 0 0
T113 0 27295 0 0

HostTransIdleChk_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 19855083 0 0
T5 129797 27544 0 0
T6 418629 0 0 0
T7 139181 210 0 0
T8 0 449871 0 0
T12 3857 0 0 0
T13 1276 0 0 0
T18 984 0 0 0
T19 0 404073 0 0
T23 0 69170 0 0
T25 0 83342 0 0
T33 2198 0 0 0
T40 1802 0 0 0
T41 0 391448 0 0
T42 1253 0 0 0
T43 1306 0 0 0
T44 0 17192 0 0
T97 0 8 0 0
T112 0 374 0 0

NoRemainder_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 860 860 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T18 1 1 0 0

OneHotReqs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 309467457 0 0
T1 1406 1326 0 0
T2 422923 422914 0 0
T3 1565 1278 0 0
T4 4518 4362 0 0
T5 129797 129647 0 0
T6 418629 418623 0 0
T7 139181 139112 0 0
T12 3857 3159 0 0
T13 1276 1052 0 0
T18 984 902 0 0

Pow2Multiple_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 860 860 0 0
T1 1 1 0 0
T2 1 1 0 0
T3 1 1 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T12 1 1 0 0
T13 1 1 0 0
T18 1 1 0 0

RdTxnCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 309998652 309269348 0 0
T1 1406 1326 0 0
T2 422923 422914 0 0
T3 1565 1278 0 0
T4 4518 4362 0 0
T5 129797 129647 0 0
T6 418629 418623 0 0
T7 139181 139112 0 0
T12 3857 3159 0 0
T13 1276 1052 0 0
T18 984 902 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 310196761 309467457 0 0
T1 1406 1326 0 0
T2 422923 422914 0 0
T3 1565 1278 0 0
T4 4518 4362 0 0
T5 129797 129647 0 0
T6 418629 418623 0 0
T7 139181 139112 0 0
T12 3857 3159 0 0
T13 1276 1052 0 0
T18 984 902 0 0

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