Line Coverage for Module :
prim_generic_flash_bank
| Line No. | Total | Covered | Percent |
TOTAL | | 142 | 142 | 100.00 |
CONT_ASSIGN | 127 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
CONT_ASSIGN | 153 | 1 | 1 | 100.00 |
CONT_ASSIGN | 175 | 1 | 1 | 100.00 |
CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
CONT_ASSIGN | 177 | 1 | 1 | 100.00 |
CONT_ASSIGN | 178 | 1 | 1 | 100.00 |
CONT_ASSIGN | 181 | 1 | 1 | 100.00 |
CONT_ASSIGN | 182 | 1 | 1 | 100.00 |
CONT_ASSIGN | 183 | 1 | 1 | 100.00 |
CONT_ASSIGN | 184 | 1 | 1 | 100.00 |
CONT_ASSIGN | 186 | 1 | 1 | 100.00 |
ALWAYS | 189 | 3 | 3 | 100.00 |
ALWAYS | 194 | 9 | 9 | 100.00 |
ALWAYS | 210 | 4 | 4 | 100.00 |
ALWAYS | 221 | 6 | 6 | 100.00 |
CONT_ASSIGN | 231 | 1 | 1 | 100.00 |
ALWAYS | 236 | 13 | 13 | 100.00 |
ALWAYS | 251 | 86 | 86 | 100.00 |
CONT_ASSIGN | 402 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 446 | 1 | 1 | 100.00 |
CONT_ASSIGN | 447 | 1 | 1 | 100.00 |
CONT_ASSIGN | 450 | 1 | 1 | 100.00 |
CONT_ASSIGN | 453 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' or '../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
127 |
1 |
1 |
152 |
1 |
1 |
153 |
1 |
1 |
175 |
1 |
1 |
176 |
1 |
1 |
177 |
1 |
1 |
178 |
1 |
1 |
181 |
1 |
1 |
182 |
1 |
1 |
183 |
1 |
1 |
184 |
1 |
1 |
186 |
1 |
1 |
189 |
2 |
2 |
190 |
1 |
1 |
194 |
1 |
1 |
195 |
1 |
1 |
196 |
1 |
1 |
197 |
1 |
1 |
198 |
1 |
1 |
200 |
1 |
1 |
201 |
1 |
1 |
202 |
1 |
1 |
203 |
1 |
1 |
210 |
1 |
1 |
211 |
1 |
1 |
212 |
1 |
1 |
213 |
1 |
1 |
|
|
|
MISSING_ELSE |
221 |
1 |
1 |
222 |
1 |
1 |
223 |
1 |
1 |
224 |
1 |
1 |
225 |
1 |
1 |
226 |
1 |
1 |
|
|
|
MISSING_ELSE |
231 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
238 |
1 |
1 |
240 |
2 |
2 |
241 |
2 |
2 |
242 |
2 |
2 |
|
|
|
MISSING_ELSE |
244 |
2 |
2 |
245 |
2 |
2 |
|
|
|
MISSING_ELSE |
251 |
1 |
1 |
254 |
1 |
1 |
255 |
1 |
1 |
256 |
1 |
1 |
257 |
1 |
1 |
258 |
1 |
1 |
259 |
1 |
1 |
260 |
1 |
1 |
261 |
1 |
1 |
262 |
1 |
1 |
263 |
1 |
1 |
264 |
1 |
1 |
267 |
1 |
1 |
268 |
1 |
1 |
269 |
1 |
1 |
271 |
1 |
1 |
273 |
1 |
1 |
274 |
1 |
1 |
275 |
1 |
1 |
|
|
|
MISSING_ELSE |
281 |
1 |
1 |
282 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
286 |
1 |
1 |
287 |
1 |
1 |
292 |
1 |
1 |
293 |
1 |
1 |
294 |
1 |
1 |
295 |
1 |
1 |
296 |
1 |
1 |
297 |
1 |
1 |
298 |
1 |
1 |
299 |
1 |
1 |
300 |
1 |
1 |
301 |
1 |
1 |
302 |
1 |
1 |
303 |
1 |
1 |
304 |
1 |
1 |
305 |
1 |
1 |
306 |
1 |
1 |
307 |
1 |
1 |
308 |
1 |
1 |
|
|
|
MISSING_ELSE |
313 |
1 |
1 |
314 |
1 |
1 |
316 |
1 |
1 |
317 |
1 |
1 |
320 |
1 |
1 |
321 |
1 |
1 |
322 |
1 |
1 |
323 |
1 |
1 |
324 |
1 |
1 |
326 |
1 |
1 |
327 |
1 |
1 |
330 |
1 |
1 |
332 |
1 |
1 |
333 |
1 |
1 |
334 |
1 |
1 |
|
|
|
MISSING_ELSE |
340 |
1 |
1 |
341 |
1 |
1 |
342 |
1 |
1 |
343 |
1 |
1 |
344 |
1 |
1 |
346 |
1 |
1 |
347 |
1 |
1 |
348 |
1 |
1 |
349 |
1 |
1 |
355 |
1 |
1 |
356 |
1 |
1 |
357 |
1 |
1 |
358 |
1 |
1 |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
362 |
1 |
1 |
364 |
1 |
1 |
365 |
1 |
1 |
366 |
1 |
1 |
367 |
1 |
1 |
368 |
1 |
1 |
375 |
1 |
1 |
376 |
1 |
1 |
377 |
1 |
1 |
378 |
1 |
1 |
379 |
1 |
1 |
390 |
1 |
1 |
391 |
1 |
1 |
|
|
|
MISSING_ELSE |
402 |
1 |
1 |
426 |
3 |
3 |
446 |
1 |
1 |
447 |
1 |
1 |
450 |
1 |
1 |
453 |
1 |
1 |
Cond Coverage for Module :
prim_generic_flash_bank
| Total | Covered | Percent |
Conditions | 84 | 78 | 92.86 |
Logical | 84 | 78 | 92.86 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 152
EXPRESSION ((rd_i | prog_i | pg_erase_i | bk_erase_i) & ((!init_busy_o)))
--------------------1-------------------- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T152,T153,T154 |
1 | 1 | Covered | T1,T2,T3 |
LINE 152
SUB-EXPRESSION (rd_i | prog_i | pg_erase_i | bk_erase_i)
--1- ---2-- -----3---- -----4----
-1- | -2- | -3- | -4- | Status | Tests |
0 | 0 | 0 | 0 | Covered | T1,T2,T3 |
0 | 0 | 0 | 1 | Covered | T2,T41,T69 |
0 | 0 | 1 | 0 | Covered | T2,T3,T4 |
0 | 1 | 0 | 0 | Covered | T4,T5,T6 |
1 | 0 | 0 | 0 | Covered | T1,T2,T3 |
LINE 153
EXPRESSION (ack & ((!init_busy_o)))
-1- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T5,T6 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 175
EXPRESSION (cmd_valid & cmd_q.rd)
----1---- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 176
EXPRESSION (cmd_valid & cmd_q.prog)
----1---- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T4,T5,T6 |
LINE 177
EXPRESSION (cmd_valid & cmd_q.pg_erase)
----1---- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T4 |
LINE 178
EXPRESSION (cmd_valid & cmd_q.bk_erase)
----1---- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T41,T69 |
LINE 181
EXPRESSION (mem_req & ((~mem_wr)))
---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 231
EXPRESSION ((ReadLatency == 1) ? rd_data_d : rd_data_q)
---------1--------
-1- | Status | Tests |
0 | Covered | T22,T25,T28 |
1 | Covered | T1,T2,T3 |
LINE 231
SUB-EXPRESSION (ReadLatency == 1)
---------1--------
-1- | Status | Tests |
0 | Covered | T22,T25,T28 |
1 | Covered | T1,T2,T3 |
LINE 274
EXPRESSION (init_i && flash_power_ready_h_i && ((!flash_power_down_h_i)))
---1-- ----------2---------- ------------3------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Unreachable | |
1 | 0 | 1 | Covered | T155,T152,T156 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 357
EXPRESSION ((index_cnt < index_limit_q) || (time_cnt < time_limit_q))
-------------1------------- ------------2------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T2,T4,T12 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T4,T12 |
LINE 390
EXPRESSION (((!flash_power_ready_h_i)) || flash_power_down_h_i)
-------------1------------ ----------2---------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T155,T152,T156 |
LINE 402
EXPRESSION (mem_req & ((mem_part == FlashPartData) | mem_bk_erase))
---1--- ----------------------2---------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T4 |
LINE 402
SUB-EXPRESSION ((mem_part == FlashPartData) | mem_bk_erase)
-------------1------------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T41,T103,T81 |
1 | 0 | Covered | T1,T2,T3 |
LINE 402
SUB-EXPRESSION (mem_part == FlashPartData)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 0) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T3,T4,T17 |
1 | 0 | 1 | Covered | T1,T2,T4 |
1 | 1 | 0 | Covered | T5,T20,T8 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 0) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T5,T20,T8 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 0)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 1) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T59,T41,T80 |
1 | 0 | 1 | Covered | T2,T8,T33 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T8,T58,T59 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 1) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T41,T69 |
1 | 0 | Covered | T8,T33,T58 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 1)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T8,T33,T58 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 2) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T8,T59,T25 |
1 | 0 | 1 | Covered | T2,T5,T20 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T5,T20,T8 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 2) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T41,T69 |
1 | 0 | Covered | T5,T20,T8 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 2)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T5,T20,T8 |
LINE 447
EXPRESSION ((rd_part_q == FlashPartData) ? rd_data_main : rd_data_info)
--------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 447
SUB-EXPRESSION (rd_part_q == FlashPartData)
--------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
FSM Coverage for Module :
prim_generic_flash_bank
Summary for FSM :: st_q
| Total | Covered | Percent | |
States |
7 |
7 |
100.00 |
(Not included in score) |
Transitions |
16 |
15 |
93.75 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: st_q
states | Line No. | Covered | Tests |
StErSuspend |
356 |
Covered |
T155,T157,T152 |
StErase |
302 |
Covered |
T2,T3,T4 |
StIdle |
286 |
Covered |
T1,T2,T3 |
StInit |
275 |
Covered |
T1,T2,T3 |
StProg |
334 |
Covered |
T4,T5,T6 |
StRead |
296 |
Covered |
T1,T2,T3 |
StReset |
391 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
StErSuspend->StIdle |
379 |
Covered |
T155,T157,T158 |
StErSuspend->StReset |
391 |
Covered |
T152,T153,T154 |
StErase->StErSuspend |
356 |
Covered |
T155,T157,T152 |
StErase->StIdle |
364 |
Covered |
T2,T4,T12 |
StErase->StReset |
391 |
Covered |
T3,T52,T115 |
StIdle->StErase |
302 |
Covered |
T2,T3,T4 |
StIdle->StRead |
296 |
Covered |
T1,T2,T3 |
StIdle->StReset |
391 |
Covered |
T3,T5,T18 |
StInit->StIdle |
286 |
Covered |
T1,T2,T3 |
StInit->StReset |
391 |
Not Covered |
|
StProg->StIdle |
346 |
Covered |
T4,T5,T6 |
StProg->StReset |
391 |
Covered |
T159,T155,T113 |
StRead->StIdle |
327 |
Covered |
T1,T2,T3 |
StRead->StProg |
334 |
Covered |
T4,T5,T6 |
StRead->StReset |
391 |
Covered |
T18,T51,T60 |
StReset->StInit |
275 |
Covered |
T1,T2,T3 |
Branch Coverage for Module :
prim_generic_flash_bank
| Line No. | Total | Covered | Percent |
Branches |
|
45 |
45 |
100.00 |
TERNARY |
231 |
2 |
2 |
100.00 |
TERNARY |
447 |
2 |
2 |
100.00 |
IF |
189 |
2 |
2 |
100.00 |
IF |
194 |
2 |
2 |
100.00 |
IF |
210 |
3 |
3 |
100.00 |
IF |
221 |
3 |
3 |
100.00 |
IF |
236 |
8 |
8 |
100.00 |
CASE |
271 |
21 |
21 |
100.00 |
IF |
390 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' or '../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 231 ((ReadLatency == 1)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T22,T25,T28 |
LineNo. Expression
-1-: 447 ((rd_part_q == FlashPartData)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 189 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 194 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 210 if ((!rst_ni))
-2-: 212 if (mem_rd_q)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 221 if ((!rst_ni))
-2-: 224 if (mem_rd_d)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 236 if ((!rst_ni))
-2-: 240 if (time_cnt_inc)
-3-: 241 if (time_cnt_set1)
-4-: 242 if (time_cnt_clr)
-5-: 244 if (index_cnt_inc)
-6-: 245 if (index_cnt_clr)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | Status | Tests |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T10,T14 |
0 |
0 |
0 |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
0 |
0 |
0 |
- |
- |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
1 |
- |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 271 case (st_q)
-2-: 274 if (((init_i && flash_power_ready_h_i) && (!flash_power_down_h_i)))
-3-: 282 if ((index_cnt < InitCycles))
-4-: 292 if (rd_req)
-5-: 297 if (prog_req)
-6-: 301 if (pg_erase_req)
-7-: 305 if (bk_erase_req)
-8-: 313 if ((time_cnt < ReadLatency))
-9-: 316 if ((!prog_pend_q))
-10-: 320 if (rd_req)
-11-: 330 if (prog_pend_q)
-12-: 341 if ((time_cnt < ProgLatency))
-13-: 355 if (erase_suspend_req_i)
-14-: 357 if (((index_cnt < index_limit_q) || (time_cnt < time_limit_q)))
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | -9- | -10- | -11- | -12- | -13- | -14- | Status | Tests |
StReset |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StReset |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StInit |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StInit |
- |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
- |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T4,T5,T6 |
StIdle |
- |
- |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T3,T4 |
StIdle |
- |
- |
0 |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T41,T69 |
StIdle |
- |
- |
0 |
0 |
0 |
0 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StRead |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T4,T5,T6 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
1 |
1 |
- |
- |
- |
- |
Covered |
T10,T14 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
1 |
0 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
1 |
- |
- |
- |
Covered |
T4,T5,T6 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
0 |
- |
- |
- |
Covered |
T10,T14 |
StProg |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T4,T5,T6 |
StProg |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T4,T5,T6 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T155,T157,T152 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
1 |
Covered |
T2,T3,T4 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
0 |
Covered |
T2,T4,T12 |
StErSuspend |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T155,T157,T152 |
default |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T10,T14 |
LineNo. Expression
-1-: 390 if (((!flash_power_ready_h_i) || flash_power_down_h_i))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[0].u_prim_flash_bank
| Line No. | Total | Covered | Percent |
TOTAL | | 142 | 142 | 100.00 |
CONT_ASSIGN | 127 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
CONT_ASSIGN | 153 | 1 | 1 | 100.00 |
CONT_ASSIGN | 175 | 1 | 1 | 100.00 |
CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
CONT_ASSIGN | 177 | 1 | 1 | 100.00 |
CONT_ASSIGN | 178 | 1 | 1 | 100.00 |
CONT_ASSIGN | 181 | 1 | 1 | 100.00 |
CONT_ASSIGN | 182 | 1 | 1 | 100.00 |
CONT_ASSIGN | 183 | 1 | 1 | 100.00 |
CONT_ASSIGN | 184 | 1 | 1 | 100.00 |
CONT_ASSIGN | 186 | 1 | 1 | 100.00 |
ALWAYS | 189 | 3 | 3 | 100.00 |
ALWAYS | 194 | 9 | 9 | 100.00 |
ALWAYS | 210 | 4 | 4 | 100.00 |
ALWAYS | 221 | 6 | 6 | 100.00 |
CONT_ASSIGN | 231 | 1 | 1 | 100.00 |
ALWAYS | 236 | 13 | 13 | 100.00 |
ALWAYS | 251 | 86 | 86 | 100.00 |
CONT_ASSIGN | 402 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 446 | 1 | 1 | 100.00 |
CONT_ASSIGN | 447 | 1 | 1 | 100.00 |
CONT_ASSIGN | 450 | 1 | 1 | 100.00 |
CONT_ASSIGN | 453 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' or '../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
127 |
1 |
1 |
152 |
1 |
1 |
153 |
1 |
1 |
175 |
1 |
1 |
176 |
1 |
1 |
177 |
1 |
1 |
178 |
1 |
1 |
181 |
1 |
1 |
182 |
1 |
1 |
183 |
1 |
1 |
184 |
1 |
1 |
186 |
1 |
1 |
189 |
2 |
2 |
190 |
1 |
1 |
194 |
1 |
1 |
195 |
1 |
1 |
196 |
1 |
1 |
197 |
1 |
1 |
198 |
1 |
1 |
200 |
1 |
1 |
201 |
1 |
1 |
202 |
1 |
1 |
203 |
1 |
1 |
210 |
1 |
1 |
211 |
1 |
1 |
212 |
1 |
1 |
213 |
1 |
1 |
|
|
|
MISSING_ELSE |
221 |
1 |
1 |
222 |
1 |
1 |
223 |
1 |
1 |
224 |
1 |
1 |
225 |
1 |
1 |
226 |
1 |
1 |
|
|
|
MISSING_ELSE |
231 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
238 |
1 |
1 |
240 |
2 |
2 |
241 |
2 |
2 |
242 |
2 |
2 |
|
|
|
MISSING_ELSE |
244 |
2 |
2 |
245 |
2 |
2 |
|
|
|
MISSING_ELSE |
251 |
1 |
1 |
254 |
1 |
1 |
255 |
1 |
1 |
256 |
1 |
1 |
257 |
1 |
1 |
258 |
1 |
1 |
259 |
1 |
1 |
260 |
1 |
1 |
261 |
1 |
1 |
262 |
1 |
1 |
263 |
1 |
1 |
264 |
1 |
1 |
267 |
1 |
1 |
268 |
1 |
1 |
269 |
1 |
1 |
271 |
1 |
1 |
273 |
1 |
1 |
274 |
1 |
1 |
275 |
1 |
1 |
|
|
|
MISSING_ELSE |
281 |
1 |
1 |
282 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
286 |
1 |
1 |
287 |
1 |
1 |
292 |
1 |
1 |
293 |
1 |
1 |
294 |
1 |
1 |
295 |
1 |
1 |
296 |
1 |
1 |
297 |
1 |
1 |
298 |
1 |
1 |
299 |
1 |
1 |
300 |
1 |
1 |
301 |
1 |
1 |
302 |
1 |
1 |
303 |
1 |
1 |
304 |
1 |
1 |
305 |
1 |
1 |
306 |
1 |
1 |
307 |
1 |
1 |
308 |
1 |
1 |
|
|
|
MISSING_ELSE |
313 |
1 |
1 |
314 |
1 |
1 |
316 |
1 |
1 |
317 |
1 |
1 |
320 |
1 |
1 |
321 |
1 |
1 |
322 |
1 |
1 |
323 |
1 |
1 |
324 |
1 |
1 |
326 |
1 |
1 |
327 |
1 |
1 |
330 |
1 |
1 |
332 |
1 |
1 |
333 |
1 |
1 |
334 |
1 |
1 |
|
|
|
MISSING_ELSE |
340 |
1 |
1 |
341 |
1 |
1 |
342 |
1 |
1 |
343 |
1 |
1 |
344 |
1 |
1 |
346 |
1 |
1 |
347 |
1 |
1 |
348 |
1 |
1 |
349 |
1 |
1 |
355 |
1 |
1 |
356 |
1 |
1 |
357 |
1 |
1 |
358 |
1 |
1 |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
362 |
1 |
1 |
364 |
1 |
1 |
365 |
1 |
1 |
366 |
1 |
1 |
367 |
1 |
1 |
368 |
1 |
1 |
375 |
1 |
1 |
376 |
1 |
1 |
377 |
1 |
1 |
378 |
1 |
1 |
379 |
1 |
1 |
390 |
1 |
1 |
391 |
1 |
1 |
|
|
|
MISSING_ELSE |
402 |
1 |
1 |
426 |
3 |
3 |
446 |
1 |
1 |
447 |
1 |
1 |
450 |
1 |
1 |
453 |
1 |
1 |
Cond Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[0].u_prim_flash_bank
| Total | Covered | Percent |
Conditions | 84 | 78 | 92.86 |
Logical | 84 | 78 | 92.86 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 152
EXPRESSION ((rd_i | prog_i | pg_erase_i | bk_erase_i) & ((!init_busy_o)))
--------------------1-------------------- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T152 |
1 | 1 | Covered | T1,T2,T3 |
LINE 152
SUB-EXPRESSION (rd_i | prog_i | pg_erase_i | bk_erase_i)
--1- ---2-- -----3---- -----4----
-1- | -2- | -3- | -4- | Status | Tests |
0 | 0 | 0 | 0 | Covered | T1,T2,T3 |
0 | 0 | 0 | 1 | Covered | T41,T69,T70 |
0 | 0 | 1 | 0 | Covered | T2,T3,T4 |
0 | 1 | 0 | 0 | Covered | T4,T5,T18 |
1 | 0 | 0 | 0 | Covered | T1,T2,T3 |
LINE 153
EXPRESSION (ack & ((!init_busy_o)))
-1- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T5,T18 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 175
EXPRESSION (cmd_valid & cmd_q.rd)
----1---- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T3,T4 |
1 | 1 | Covered | T1,T2,T3 |
LINE 176
EXPRESSION (cmd_valid & cmd_q.prog)
----1---- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T4,T5,T18 |
LINE 177
EXPRESSION (cmd_valid & cmd_q.pg_erase)
----1---- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T2,T3,T4 |
LINE 178
EXPRESSION (cmd_valid & cmd_q.bk_erase)
----1---- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T41,T69,T70 |
LINE 181
EXPRESSION (mem_req & ((~mem_wr)))
---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 231
EXPRESSION ((ReadLatency == 1) ? rd_data_d : rd_data_q)
---------1--------
-1- | Status | Tests |
0 | Covered | T22,T25,T28 |
1 | Covered | T1,T2,T3 |
LINE 231
SUB-EXPRESSION (ReadLatency == 1)
---------1--------
-1- | Status | Tests |
0 | Covered | T22,T25,T28 |
1 | Covered | T1,T2,T3 |
LINE 274
EXPRESSION (init_i && flash_power_ready_h_i && ((!flash_power_down_h_i)))
---1-- ----------2---------- ------------3------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Unreachable | |
1 | 0 | 1 | Covered | T155,T152,T156 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 357
EXPRESSION ((index_cnt < index_limit_q) || (time_cnt < time_limit_q))
-------------1------------- ------------2------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T2,T4,T12 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T4,T12 |
LINE 390
EXPRESSION (((!flash_power_ready_h_i)) || flash_power_down_h_i)
-------------1------------ ----------2---------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T155,T152,T156 |
LINE 402
EXPRESSION (mem_req & ((mem_part == FlashPartData) | mem_bk_erase))
---1--- ----------------------2---------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T4 |
LINE 402
SUB-EXPRESSION ((mem_part == FlashPartData) | mem_bk_erase)
-------------1------------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T41,T81,T83 |
1 | 0 | Covered | T1,T2,T3 |
LINE 402
SUB-EXPRESSION (mem_part == FlashPartData)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 0) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T3,T17,T18 |
1 | 0 | 1 | Covered | T1,T2,T4 |
1 | 1 | 0 | Covered | T5,T20,T8 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 0) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T5,T20,T8 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 0)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 1) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T41,T80,T81 |
1 | 0 | 1 | Covered | T8,T33,T58 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T8,T58,T41 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 1) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T41,T69,T70 |
1 | 0 | Covered | T8,T33,T58 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 1)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T8,T33,T58 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 2) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T8,T25,T41 |
1 | 0 | 1 | Covered | T5,T20,T8 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T5,T20,T8 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 2) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T41,T69,T70 |
1 | 0 | Covered | T5,T20,T8 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 2)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T5,T20,T8 |
LINE 447
EXPRESSION ((rd_part_q == FlashPartData) ? rd_data_main : rd_data_info)
--------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 447
SUB-EXPRESSION (rd_part_q == FlashPartData)
--------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
FSM Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[0].u_prim_flash_bank
Summary for FSM :: st_q
| Total | Covered | Percent | |
States |
7 |
7 |
100.00 |
(Not included in score) |
Transitions |
16 |
15 |
93.75 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: st_q
states | Line No. | Covered | Tests |
StErSuspend |
356 |
Covered |
T155,T157,T158 |
StErase |
302 |
Covered |
T2,T3,T4 |
StIdle |
286 |
Covered |
T1,T2,T3 |
StInit |
275 |
Covered |
T1,T2,T3 |
StProg |
334 |
Covered |
T4,T5,T18 |
StRead |
296 |
Covered |
T1,T2,T3 |
StReset |
391 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
StErSuspend->StIdle |
379 |
Covered |
T155,T157,T158 |
StErSuspend->StReset |
391 |
Covered |
T154 |
StErase->StErSuspend |
356 |
Covered |
T155,T157,T158 |
StErase->StIdle |
364 |
Covered |
T2,T4,T12 |
StErase->StReset |
391 |
Covered |
T3,T52,T115 |
StIdle->StErase |
302 |
Covered |
T2,T3,T4 |
StIdle->StRead |
296 |
Covered |
T1,T2,T3 |
StIdle->StReset |
391 |
Covered |
T3,T5,T20 |
StInit->StIdle |
286 |
Covered |
T1,T2,T3 |
StInit->StReset |
391 |
Not Covered |
|
StProg->StIdle |
346 |
Covered |
T4,T5,T18 |
StProg->StReset |
391 |
Covered |
T155,T113,T146 |
StRead->StIdle |
327 |
Covered |
T1,T2,T3 |
StRead->StProg |
334 |
Covered |
T4,T5,T18 |
StRead->StReset |
391 |
Covered |
T18,T51,T160 |
StReset->StInit |
275 |
Covered |
T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[0].u_prim_flash_bank
| Line No. | Total | Covered | Percent |
Branches |
|
45 |
45 |
100.00 |
TERNARY |
231 |
2 |
2 |
100.00 |
TERNARY |
447 |
2 |
2 |
100.00 |
IF |
189 |
2 |
2 |
100.00 |
IF |
194 |
2 |
2 |
100.00 |
IF |
210 |
3 |
3 |
100.00 |
IF |
221 |
3 |
3 |
100.00 |
IF |
236 |
8 |
8 |
100.00 |
CASE |
271 |
21 |
21 |
100.00 |
IF |
390 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' or '../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 231 ((ReadLatency == 1)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T22,T25,T28 |
LineNo. Expression
-1-: 447 ((rd_part_q == FlashPartData)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 189 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 194 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 210 if ((!rst_ni))
-2-: 212 if (mem_rd_q)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 221 if ((!rst_ni))
-2-: 224 if (mem_rd_d)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 236 if ((!rst_ni))
-2-: 240 if (time_cnt_inc)
-3-: 241 if (time_cnt_set1)
-4-: 242 if (time_cnt_clr)
-5-: 244 if (index_cnt_inc)
-6-: 245 if (index_cnt_clr)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | Status | Tests |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T10,T14 |
0 |
0 |
0 |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
0 |
0 |
0 |
- |
- |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
1 |
- |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 271 case (st_q)
-2-: 274 if (((init_i && flash_power_ready_h_i) && (!flash_power_down_h_i)))
-3-: 282 if ((index_cnt < InitCycles))
-4-: 292 if (rd_req)
-5-: 297 if (prog_req)
-6-: 301 if (pg_erase_req)
-7-: 305 if (bk_erase_req)
-8-: 313 if ((time_cnt < ReadLatency))
-9-: 316 if ((!prog_pend_q))
-10-: 320 if (rd_req)
-11-: 330 if (prog_pend_q)
-12-: 341 if ((time_cnt < ProgLatency))
-13-: 355 if (erase_suspend_req_i)
-14-: 357 if (((index_cnt < index_limit_q) || (time_cnt < time_limit_q)))
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | -9- | -10- | -11- | -12- | -13- | -14- | Status | Tests |
StReset |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StReset |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StInit |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StInit |
- |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
- |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T4,T5,T18 |
StIdle |
- |
- |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T3,T4 |
StIdle |
- |
- |
0 |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T41,T69,T70 |
StIdle |
- |
- |
0 |
0 |
0 |
0 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StRead |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T4,T5,T18 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
1 |
1 |
- |
- |
- |
- |
Covered |
T10,T14 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
1 |
0 |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
1 |
- |
- |
- |
Covered |
T4,T5,T18 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
0 |
- |
- |
- |
Covered |
T10,T14 |
StProg |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T4,T5,T18 |
StProg |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T4,T5,T18 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T155,T157,T158 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
1 |
Covered |
T2,T3,T4 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
0 |
Covered |
T2,T4,T12 |
StErSuspend |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T155,T157,T158 |
default |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T10,T14 |
LineNo. Expression
-1-: 390 if (((!flash_power_ready_h_i) || flash_power_down_h_i))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[1].u_prim_flash_bank
| Line No. | Total | Covered | Percent |
TOTAL | | 142 | 142 | 100.00 |
CONT_ASSIGN | 127 | 1 | 1 | 100.00 |
CONT_ASSIGN | 152 | 1 | 1 | 100.00 |
CONT_ASSIGN | 153 | 1 | 1 | 100.00 |
CONT_ASSIGN | 175 | 1 | 1 | 100.00 |
CONT_ASSIGN | 176 | 1 | 1 | 100.00 |
CONT_ASSIGN | 177 | 1 | 1 | 100.00 |
CONT_ASSIGN | 178 | 1 | 1 | 100.00 |
CONT_ASSIGN | 181 | 1 | 1 | 100.00 |
CONT_ASSIGN | 182 | 1 | 1 | 100.00 |
CONT_ASSIGN | 183 | 1 | 1 | 100.00 |
CONT_ASSIGN | 184 | 1 | 1 | 100.00 |
CONT_ASSIGN | 186 | 1 | 1 | 100.00 |
ALWAYS | 189 | 3 | 3 | 100.00 |
ALWAYS | 194 | 9 | 9 | 100.00 |
ALWAYS | 210 | 4 | 4 | 100.00 |
ALWAYS | 221 | 6 | 6 | 100.00 |
CONT_ASSIGN | 231 | 1 | 1 | 100.00 |
ALWAYS | 236 | 13 | 13 | 100.00 |
ALWAYS | 251 | 86 | 86 | 100.00 |
CONT_ASSIGN | 402 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 426 | 1 | 1 | 100.00 |
CONT_ASSIGN | 446 | 1 | 1 | 100.00 |
CONT_ASSIGN | 447 | 1 | 1 | 100.00 |
CONT_ASSIGN | 450 | 1 | 1 | 100.00 |
CONT_ASSIGN | 453 | 1 | 1 | 100.00 |
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' or '../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' was not found, so annotated line coverage report could not be generated.
Line No. | Covered | Statements | |
127 |
1 |
1 |
152 |
1 |
1 |
153 |
1 |
1 |
175 |
1 |
1 |
176 |
1 |
1 |
177 |
1 |
1 |
178 |
1 |
1 |
181 |
1 |
1 |
182 |
1 |
1 |
183 |
1 |
1 |
184 |
1 |
1 |
186 |
1 |
1 |
189 |
2 |
2 |
190 |
1 |
1 |
194 |
1 |
1 |
195 |
1 |
1 |
196 |
1 |
1 |
197 |
1 |
1 |
198 |
1 |
1 |
200 |
1 |
1 |
201 |
1 |
1 |
202 |
1 |
1 |
203 |
1 |
1 |
210 |
1 |
1 |
211 |
1 |
1 |
212 |
1 |
1 |
213 |
1 |
1 |
|
|
|
MISSING_ELSE |
221 |
1 |
1 |
222 |
1 |
1 |
223 |
1 |
1 |
224 |
1 |
1 |
225 |
1 |
1 |
226 |
1 |
1 |
|
|
|
MISSING_ELSE |
231 |
1 |
1 |
236 |
1 |
1 |
237 |
1 |
1 |
238 |
1 |
1 |
240 |
2 |
2 |
241 |
2 |
2 |
242 |
2 |
2 |
|
|
|
MISSING_ELSE |
244 |
2 |
2 |
245 |
2 |
2 |
|
|
|
MISSING_ELSE |
251 |
1 |
1 |
254 |
1 |
1 |
255 |
1 |
1 |
256 |
1 |
1 |
257 |
1 |
1 |
258 |
1 |
1 |
259 |
1 |
1 |
260 |
1 |
1 |
261 |
1 |
1 |
262 |
1 |
1 |
263 |
1 |
1 |
264 |
1 |
1 |
267 |
1 |
1 |
268 |
1 |
1 |
269 |
1 |
1 |
271 |
1 |
1 |
273 |
1 |
1 |
274 |
1 |
1 |
275 |
1 |
1 |
|
|
|
MISSING_ELSE |
281 |
1 |
1 |
282 |
1 |
1 |
283 |
1 |
1 |
284 |
1 |
1 |
286 |
1 |
1 |
287 |
1 |
1 |
292 |
1 |
1 |
293 |
1 |
1 |
294 |
1 |
1 |
295 |
1 |
1 |
296 |
1 |
1 |
297 |
1 |
1 |
298 |
1 |
1 |
299 |
1 |
1 |
300 |
1 |
1 |
301 |
1 |
1 |
302 |
1 |
1 |
303 |
1 |
1 |
304 |
1 |
1 |
305 |
1 |
1 |
306 |
1 |
1 |
307 |
1 |
1 |
308 |
1 |
1 |
|
|
|
MISSING_ELSE |
313 |
1 |
1 |
314 |
1 |
1 |
316 |
1 |
1 |
317 |
1 |
1 |
320 |
1 |
1 |
321 |
1 |
1 |
322 |
1 |
1 |
323 |
1 |
1 |
324 |
1 |
1 |
326 |
1 |
1 |
327 |
1 |
1 |
330 |
1 |
1 |
332 |
1 |
1 |
333 |
1 |
1 |
334 |
1 |
1 |
|
|
|
MISSING_ELSE |
340 |
1 |
1 |
341 |
1 |
1 |
342 |
1 |
1 |
343 |
1 |
1 |
344 |
1 |
1 |
346 |
1 |
1 |
347 |
1 |
1 |
348 |
1 |
1 |
349 |
1 |
1 |
355 |
1 |
1 |
356 |
1 |
1 |
357 |
1 |
1 |
358 |
1 |
1 |
359 |
1 |
1 |
360 |
1 |
1 |
361 |
1 |
1 |
362 |
1 |
1 |
364 |
1 |
1 |
365 |
1 |
1 |
366 |
1 |
1 |
367 |
1 |
1 |
368 |
1 |
1 |
375 |
1 |
1 |
376 |
1 |
1 |
377 |
1 |
1 |
378 |
1 |
1 |
379 |
1 |
1 |
390 |
1 |
1 |
391 |
1 |
1 |
|
|
|
MISSING_ELSE |
402 |
1 |
1 |
426 |
3 |
3 |
446 |
1 |
1 |
447 |
1 |
1 |
450 |
1 |
1 |
453 |
1 |
1 |
Cond Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[1].u_prim_flash_bank
| Total | Covered | Percent |
Conditions | 84 | 78 | 92.86 |
Logical | 84 | 78 | 92.86 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 152
EXPRESSION ((rd_i | prog_i | pg_erase_i | bk_erase_i) & ((!init_busy_o)))
--------------------1-------------------- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T153,T154 |
1 | 1 | Covered | T1,T2,T4 |
LINE 152
SUB-EXPRESSION (rd_i | prog_i | pg_erase_i | bk_erase_i)
--1- ---2-- -----3---- -----4----
-1- | -2- | -3- | -4- | Status | Tests |
0 | 0 | 0 | 0 | Covered | T1,T2,T3 |
0 | 0 | 0 | 1 | Covered | T2,T70,T71 |
0 | 0 | 1 | 0 | Covered | T4,T53,T67 |
0 | 1 | 0 | 0 | Covered | T4,T6,T22 |
1 | 0 | 0 | 0 | Covered | T1,T2,T4 |
LINE 153
EXPRESSION (ack & ((!init_busy_o)))
-1- --------2-------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T4,T6,T22 |
1 | 0 | Covered | T1,T2,T3 |
1 | 1 | Covered | T1,T2,T3 |
LINE 175
EXPRESSION (cmd_valid & cmd_q.rd)
----1---- ----2---
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T4,T6 |
1 | 1 | Covered | T1,T2,T4 |
LINE 176
EXPRESSION (cmd_valid & cmd_q.prog)
----1---- -----2----
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T4 |
1 | 1 | Covered | T4,T6,T22 |
LINE 177
EXPRESSION (cmd_valid & cmd_q.pg_erase)
----1---- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T4 |
1 | 1 | Covered | T4,T53,T67 |
LINE 178
EXPRESSION (cmd_valid & cmd_q.bk_erase)
----1---- -------2------
-1- | -2- | Status | Tests |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T4 |
1 | 1 | Covered | T2,T70,T71 |
LINE 181
EXPRESSION (mem_req & ((~mem_wr)))
---1--- -----2-----
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T2,T4,T6 |
1 | 1 | Covered | T1,T2,T4 |
LINE 231
EXPRESSION ((ReadLatency == 1) ? rd_data_d : rd_data_q)
---------1--------
-1- | Status | Tests |
0 | Covered | T22,T25,T28 |
1 | Covered | T1,T2,T3 |
LINE 231
SUB-EXPRESSION (ReadLatency == 1)
---------1--------
-1- | Status | Tests |
0 | Covered | T22,T25,T28 |
1 | Covered | T1,T2,T3 |
LINE 274
EXPRESSION (init_i && flash_power_ready_h_i && ((!flash_power_down_h_i)))
---1-- ----------2---------- ------------3------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Unreachable | |
1 | 0 | 1 | Covered | T155,T152,T156 |
1 | 1 | 0 | Covered | T1,T2,T3 |
1 | 1 | 1 | Covered | T1,T2,T3 |
LINE 357
EXPRESSION ((index_cnt < index_limit_q) || (time_cnt < time_limit_q))
-------------1------------- ------------2------------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T2,T4,T53 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T2,T4,T53 |
LINE 390
EXPRESSION (((!flash_power_ready_h_i)) || flash_power_down_h_i)
-------------1------------ ----------2---------
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T155,T152,T156 |
LINE 402
EXPRESSION (mem_req & ((mem_part == FlashPartData) | mem_bk_erase))
---1--- ----------------------2---------------------
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Covered | T4,T59,T53 |
1 | 1 | Covered | T1,T2,T4 |
LINE 402
SUB-EXPRESSION ((mem_part == FlashPartData) | mem_bk_erase)
-------------1------------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T4,T59,T53 |
0 | 1 | Covered | T103,T105,T83 |
1 | 0 | Covered | T1,T2,T3 |
LINE 402
SUB-EXPRESSION (mem_part == FlashPartData)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 0) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T4,T59,T53 |
1 | 0 | 1 | Covered | T1,T2,T4 |
1 | 1 | 0 | Covered | T59,T24,T41 |
1 | 1 | 1 | Covered | T4,T59,T53 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T59,T53 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 0) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T8,T33,T58 |
0 | 1 | Not Covered | |
1 | 0 | Covered | T1,T2,T3 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 0)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 1) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T59,T103,T104 |
1 | 0 | 1 | Covered | T2,T8,T33 |
1 | 1 | 0 | Covered | T4,T59,T53 |
1 | 1 | 1 | Covered | T59,T41,T100 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T59,T53 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 1) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T70,T71 |
1 | 0 | Covered | T8,T33,T58 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 1)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T8,T33,T58 |
LINE 426
EXPRESSION (mem_req & (mem_part == FlashPartInfo) & ((mem_info_sel == 2) | mem_bk_erase))
---1--- -------------2------------- ------------------3-----------------
-1- | -2- | -3- | Status | Tests |
0 | 1 | 1 | Covered | T59,T41,T94 |
1 | 0 | 1 | Covered | T2,T8,T33 |
1 | 1 | 0 | Covered | T4,T59,T53 |
1 | 1 | 1 | Covered | T59,T24,T41 |
LINE 426
SUB-EXPRESSION (mem_part == FlashPartInfo)
-------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T4,T59,T53 |
LINE 426
SUB-EXPRESSION ((mem_info_sel == 2) | mem_bk_erase)
---------1--------- ------2-----
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T2,T70,T71 |
1 | 0 | Covered | T8,T33,T58 |
LINE 426
SUB-EXPRESSION (mem_info_sel == 2)
---------1---------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T8,T33,T58 |
LINE 447
EXPRESSION ((rd_part_q == FlashPartData) ? rd_data_main : rd_data_info)
--------------1-------------
-1- | Status | Tests |
0 | Covered | T4,T59,T53 |
1 | Covered | T1,T2,T3 |
LINE 447
SUB-EXPRESSION (rd_part_q == FlashPartData)
--------------1-------------
-1- | Status | Tests |
0 | Covered | T1,T2,T3 |
1 | Covered | T1,T2,T3 |
FSM Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[1].u_prim_flash_bank
Summary for FSM :: st_q
| Total | Covered | Percent | |
States |
7 |
7 |
100.00 |
(Not included in score) |
Transitions |
16 |
15 |
93.75 |
|
Sequences |
0 |
0 |
|
|
State, Transition and Sequence Details for FSM :: st_q
states | Line No. | Covered | Tests |
StErSuspend |
356 |
Covered |
T157,T152,T158 |
StErase |
302 |
Covered |
T2,T4,T53 |
StIdle |
286 |
Covered |
T1,T2,T3 |
StInit |
275 |
Covered |
T1,T2,T3 |
StProg |
334 |
Covered |
T4,T6,T22 |
StRead |
296 |
Covered |
T1,T2,T4 |
StReset |
391 |
Covered |
T1,T2,T3 |
transitions | Line No. | Covered | Tests |
StErSuspend->StIdle |
379 |
Covered |
T157,T158,T161 |
StErSuspend->StReset |
391 |
Covered |
T152,T153 |
StErase->StErSuspend |
356 |
Covered |
T157,T152,T158 |
StErase->StIdle |
364 |
Covered |
T2,T4,T53 |
StErase->StReset |
391 |
Covered |
T155,T152,T156 |
StIdle->StErase |
302 |
Covered |
T2,T4,T53 |
StIdle->StRead |
296 |
Covered |
T1,T2,T4 |
StIdle->StReset |
391 |
Covered |
T3,T5,T18 |
StInit->StIdle |
286 |
Covered |
T1,T2,T3 |
StInit->StReset |
391 |
Not Covered |
|
StProg->StIdle |
346 |
Covered |
T4,T6,T22 |
StProg->StReset |
391 |
Covered |
T159,T155,T152 |
StRead->StIdle |
327 |
Covered |
T1,T2,T4 |
StRead->StProg |
334 |
Covered |
T4,T6,T22 |
StRead->StReset |
391 |
Covered |
T60,T162,T163 |
StReset->StInit |
275 |
Covered |
T1,T2,T3 |
Branch Coverage for Instance : tb.dut.u_eflash.u_flash.gen_generic.u_impl_generic.gen_prim_flash_banks[1].u_prim_flash_bank
| Line No. | Total | Covered | Percent |
Branches |
|
45 |
45 |
100.00 |
TERNARY |
231 |
2 |
2 |
100.00 |
TERNARY |
447 |
2 |
2 |
100.00 |
IF |
189 |
2 |
2 |
100.00 |
IF |
194 |
2 |
2 |
100.00 |
IF |
210 |
3 |
3 |
100.00 |
IF |
221 |
3 |
3 |
100.00 |
IF |
236 |
8 |
8 |
100.00 |
CASE |
271 |
21 |
21 |
100.00 |
IF |
390 |
2 |
2 |
100.00 |
WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv' or '../src/lowrisc_prim_generic_flash_0/rtl/prim_generic_flash_bank.sv was not found/opened, so annotated branch coverage report could not be generated.
LineNo. Expression
-1-: 231 ((ReadLatency == 1)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T22,T25,T28 |
LineNo. Expression
-1-: 447 ((rd_part_q == FlashPartData)) ?
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T4,T59,T53 |
LineNo. Expression
-1-: 189 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 194 if ((!rst_ni))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 210 if ((!rst_ni))
-2-: 212 if (mem_rd_q)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T4 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 221 if ((!rst_ni))
-2-: 224 if (mem_rd_d)
Branches:
-1- | -2- | Status | Tests |
1 |
- |
Covered |
T1,T2,T3 |
0 |
1 |
Covered |
T1,T2,T4 |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 236 if ((!rst_ni))
-2-: 240 if (time_cnt_inc)
-3-: 241 if (time_cnt_set1)
-4-: 242 if (time_cnt_clr)
-5-: 244 if (index_cnt_inc)
-6-: 245 if (index_cnt_clr)
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | Status | Tests |
1 |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
- |
- |
- |
Covered |
T1,T2,T4 |
0 |
0 |
1 |
- |
- |
- |
Covered |
T10,T14 |
0 |
0 |
0 |
1 |
- |
- |
Covered |
T1,T2,T4 |
0 |
0 |
0 |
0 |
- |
- |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
1 |
- |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
0 |
1 |
Covered |
T1,T2,T3 |
0 |
- |
- |
- |
0 |
0 |
Covered |
T1,T2,T3 |
LineNo. Expression
-1-: 271 case (st_q)
-2-: 274 if (((init_i && flash_power_ready_h_i) && (!flash_power_down_h_i)))
-3-: 282 if ((index_cnt < InitCycles))
-4-: 292 if (rd_req)
-5-: 297 if (prog_req)
-6-: 301 if (pg_erase_req)
-7-: 305 if (bk_erase_req)
-8-: 313 if ((time_cnt < ReadLatency))
-9-: 316 if ((!prog_pend_q))
-10-: 320 if (rd_req)
-11-: 330 if (prog_pend_q)
-12-: 341 if ((time_cnt < ProgLatency))
-13-: 355 if (erase_suspend_req_i)
-14-: 357 if (((index_cnt < index_limit_q) || (time_cnt < time_limit_q)))
Branches:
-1- | -2- | -3- | -4- | -5- | -6- | -7- | -8- | -9- | -10- | -11- | -12- | -13- | -14- | Status | Tests |
StReset |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StReset |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StInit |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StInit |
- |
0 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StIdle |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T4 |
StIdle |
- |
- |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T4,T6,T22 |
StIdle |
- |
- |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T4,T53,T67 |
StIdle |
- |
- |
0 |
0 |
0 |
1 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T2,T70,T71 |
StIdle |
- |
- |
0 |
0 |
0 |
0 |
- |
- |
- |
- |
- |
- |
- |
Covered |
T1,T2,T3 |
StRead |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
- |
- |
- |
- |
Covered |
T4,T6,T22 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
1 |
1 |
- |
- |
- |
- |
Covered |
T10,T14 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
1 |
0 |
- |
- |
- |
- |
Covered |
T1,T2,T4 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
1 |
- |
- |
- |
Covered |
T4,T6,T22 |
StRead |
- |
- |
- |
- |
- |
- |
0 |
0 |
- |
0 |
- |
- |
- |
Covered |
T10,T14 |
StProg |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
- |
Covered |
T4,T6,T22 |
StProg |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
- |
- |
Covered |
T4,T6,T22 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
1 |
- |
Covered |
T157,T152,T158 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
1 |
Covered |
T2,T4,T53 |
StErase |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
0 |
0 |
Covered |
T2,T4,T53 |
StErSuspend |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T157,T152,T158 |
default |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
- |
Covered |
T10,T14 |
LineNo. Expression
-1-: 390 if (((!flash_power_ready_h_i) || flash_power_down_h_i))
Branches:
-1- | Status | Tests |
1 |
Covered |
T1,T2,T3 |
0 |
Covered |
T1,T2,T3 |