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

Module : otp_ctrl_scrmbl
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_ip_otp_ctrl_1.0/rtl/otp_ctrl_scrmbl.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut.u_otp_ctrl_scrmbl 0.00 0.00 0.00 0.00 0.00



Module Instance : tb.dut.u_otp_ctrl_scrmbl

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
0.00 0.00 0.00 0.00 0.00 0.00


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
7.86 0.00 0.00 31.46 0.00 dut


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_anchor_digests[0].u_const_anchor_buf 0.00 0.00
gen_anchor_digests[0].u_iv_anchor_buf 0.00 0.00
gen_anchor_digests[1].u_const_anchor_buf 0.00 0.00
gen_anchor_digests[1].u_iv_anchor_buf 0.00 0.00
gen_anchor_digests[2].u_const_anchor_buf 0.00 0.00
gen_anchor_digests[2].u_iv_anchor_buf 0.00 0.00
gen_anchor_digests[3].u_const_anchor_buf 0.00 0.00
gen_anchor_digests[3].u_iv_anchor_buf 0.00 0.00
gen_anchor_keys[0].u_key_anchor_buf 0.00 0.00
gen_anchor_keys[1].u_key_anchor_buf 0.00 0.00
gen_anchor_keys[2].u_key_anchor_buf 0.00 0.00
u_prim_count 0.00 0.00
u_prim_present_dec 0.00 0.00 0.00 0.00
u_prim_present_enc 0.00 0.00 0.00 0.00
u_state_regs 0.00 0.00 0.00


Since this is the module's only instance, the coverage report is the same as for the module.
Line Coverage for Module : otp_ctrl_scrmbl
Line No.TotalCoveredPercent
TOTAL12000.00
ALWAYS1411000.00
CONT_ASSIGN198100.00
CONT_ASSIGN199100.00
CONT_ASSIGN200100.00
CONT_ASSIGN201100.00
CONT_ASSIGN208100.00
CONT_ASSIGN214100.00
CONT_ASSIGN223100.00
CONT_ASSIGN229100.00
CONT_ASSIGN230100.00
CONT_ASSIGN233100.00
CONT_ASSIGN280100.00
ALWAYS3007500.00
ALWAYS474300.00
ALWAYS4772100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_otp_ctrl_1.0/rtl/otp_ctrl_scrmbl.sv' or '../src/lowrisc_ip_otp_ctrl_1.0/rtl/otp_ctrl_scrmbl.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
141 0 1
142 0 1
143 0 1
144 0 1
146 0 1
147 0 1
150 0 1
154 0 1
155 0 1
156 0 1
198 0 1
199 0 1
200 0 1
201 0 1
208 0 1
214 0 1
223 0 1
229 0 1
230 0 1
233 0 1
280 0 1
300 0 1
301 0 1
302 0 1
303 0 1
304 0 1
305 0 1
306 0 1
307 0 1
308 0 1
309 0 1
310 0 1
311 0 1
312 0 1
313 0 1
314 0 1
316 0 1
321 0 1
322 0 1
324 0 1
325 0 1
327 0 1
328 0 1
329 0 1
330 0 1
333 0 1
334 0 1
335 0 1
336 0 1
339 0 1
340 0 1
342 0 1
346 0 1
347 0 1
348 0 1
349 0 1
350 0 1
353 0 1
354 0 1
355 0 1
358 0 1
359 0 1
360 0 1
361 0 1
362 0 1
363 0 1
==> MISSING_ELSE
372 0 1
373 0 1
374 0 1
375 0 1
376 0 1
377 0 1
378 0 1
379 0 1
==> MISSING_ELSE
385 0 1
386 0 1
387 0 1
388 0 1
389 0 1
390 0 1
391 0 1
392 0 1
==> MISSING_ELSE
399 0 1
400 0 1
401 0 1
402 0 1
403 0 1
404 0 1
405 0 1
406 0 1
408 0 1
412 0 1
==> MISSING_ELSE
418 0 1
432 0 1
433 0 1
434 0 1
==> MISSING_ELSE
474 0 3
477 0 1
478 0 1
479 0 1
480 0 1
481 0 1
482 0 1
483 0 1
484 0 1
486 0 1
487 0 1
490 0 1
491 0 1
492 0 1
==> MISSING_ELSE
494 0 1
495 0 1
==> MISSING_ELSE
497 0 1
498 0 1
499 0 1
500 0 1
==> MISSING_ELSE
502 0 1
503 0 1
==> MISSING_ELSE


Cond Coverage for Module : otp_ctrl_scrmbl
TotalCoveredPercent
Conditions6800.00
Logical6800.00
Non-Logical00
Event00

 LINE       208
 EXPRESSION 
 Number  Term
      1  (data_state_sel == SelEncDataOut) ? enc_data_out : ((data_state_sel == SelDecDataOut) ? dec_data_out : ((data_state_sel == SelDigestState) ? digest_state_q : ((data_state_sel == SelEncDataOutXor) ? enc_data_out_xor : data_i))))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION (data_state_sel == SelEncDataOut)
                ----------------1----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION 
 Number  Term
      1  (data_state_sel == SelDecDataOut) ? dec_data_out : ((data_state_sel == SelDigestState) ? digest_state_q : ((data_state_sel == SelEncDataOutXor) ? enc_data_out_xor : data_i)))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION (data_state_sel == SelDecDataOut)
                ----------------1----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION ((data_state_sel == SelDigestState) ? digest_state_q : ((data_state_sel == SelEncDataOutXor) ? enc_data_out_xor : data_i))
                 -----------------1----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION (data_state_sel == SelDigestState)
                -----------------1----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION ((data_state_sel == SelEncDataOutXor) ? enc_data_out_xor : data_i)
                 ------------------1-----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       208
 SUB-EXPRESSION (data_state_sel == SelEncDataOutXor)
                ------------------1-----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 EXPRESSION 
 Number  Term
      1  (key_state_sel == SelDecKeyOut) ? dec_key_out : ((key_state_sel == SelEncKeyOut) ? enc_key_out : ((key_state_sel == SelDecKeyInit) ? otp_dec_key_mux : ((key_state_sel == SelEncKeyInit) ? otp_enc_key_mux : ((key_state_sel == SelDigestConst) ? otp_digest_const_mux : ((key_state_sel == SelDigestChained) ? ({data_state_q, data_shadow_q}) : ({data_i, data_shadow_q})))))))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION (key_state_sel == SelDecKeyOut)
                ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION 
 Number  Term
      1  (key_state_sel == SelEncKeyOut) ? enc_key_out : ((key_state_sel == SelDecKeyInit) ? otp_dec_key_mux : ((key_state_sel == SelEncKeyInit) ? otp_enc_key_mux : ((key_state_sel == SelDigestConst) ? otp_digest_const_mux : ((key_state_sel == SelDigestChained) ? ({data_state_q, data_shadow_q}) : ({data_i, data_shadow_q}))))))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION (key_state_sel == SelEncKeyOut)
                ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION 
 Number  Term
      1  (key_state_sel == SelDecKeyInit) ? otp_dec_key_mux : ((key_state_sel == SelEncKeyInit) ? otp_enc_key_mux : ((key_state_sel == SelDigestConst) ? otp_digest_const_mux : ((key_state_sel == SelDigestChained) ? ({data_state_q, data_shadow_q}) : ({data_i, data_shadow_q})))))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION (key_state_sel == SelDecKeyInit)
                ----------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION 
 Number  Term
      1  (key_state_sel == SelEncKeyInit) ? otp_enc_key_mux : ((key_state_sel == SelDigestConst) ? otp_digest_const_mux : ((key_state_sel == SelDigestChained) ? ({data_state_q, data_shadow_q}) : ({data_i, data_shadow_q}))))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION (key_state_sel == SelEncKeyInit)
                ----------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION 
 Number  Term
      1  (key_state_sel == SelDigestConst) ? otp_digest_const_mux : ((key_state_sel == SelDigestChained) ? ({data_state_q, data_shadow_q}) : ({data_i, data_shadow_q})))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION (key_state_sel == SelDigestConst)
                ----------------1----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION ((key_state_sel == SelDigestChained) ? ({data_state_q, data_shadow_q}) : ({data_i, data_shadow_q}))
                 -----------------1-----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       214
 SUB-EXPRESSION (key_state_sel == SelDigestChained)
                -----------------1-----------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       223
 EXPRESSION 
 Number  Term
      1  (key_state_sel == SelDecKeyOut) ? dec_idx_out : ((key_state_sel == SelEncKeyOut) ? enc_idx_out : ((key_state_sel == SelDecKeyInit) ? ((unsigned'(5'(otp_ctrl_pkg::NumPresentRounds)))) : 5'b1)))
-1-StatusTests
0Not Covered
1Not Covered

 LINE       223
 SUB-EXPRESSION (key_state_sel == SelDecKeyOut)
                ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       223
 SUB-EXPRESSION ((key_state_sel == SelEncKeyOut) ? enc_idx_out : ((key_state_sel == SelDecKeyInit) ? ((unsigned'(5'(otp_ctrl_pkg::NumPresentRounds)))) : 5'b1))
                 ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       223
 SUB-EXPRESSION (key_state_sel == SelEncKeyOut)
                ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       223
 SUB-EXPRESSION ((key_state_sel == SelDecKeyInit) ? ((unsigned'(5'(otp_ctrl_pkg::NumPresentRounds)))) : 5'b1)
                 ----------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       223
 SUB-EXPRESSION (key_state_sel == SelDecKeyInit)
                ----------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       230
 EXPRESSION (digest_init ? otp_digest_iv_mux : enc_data_out_xor)
             -----1-----
-1-StatusTests
0Not Covered
1Not Covered

 LINE       233
 EXPRESSION (valid_q ? data_state_q : 0)
             ---1---
-1-StatusTests
0Not Covered
1Not Covered

 LINE       339
 EXPRESSION (digest_mode_q == ChainedMode)
            ---------------1--------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       348
 EXPRESSION ((digest_mode_q == ChainedMode) ? SelDigestChained : SelDigestInput)
             ---------------1--------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       348
 SUB-EXPRESSION (digest_mode_q == ChainedMode)
                ---------------1--------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       377
 EXPRESSION (cnt == LastPresentRound)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       390
 EXPRESSION (cnt == LastPresentRound)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       404
 EXPRESSION (cnt == LastPresentRound)
            ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

FSM Coverage for Module : otp_ctrl_scrmbl
Summary for FSM :: state_q
TotalCoveredPercent
States 5 0 0.00 (Not included in score)
Transitions 10 0 0.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: state_q
statesLine No.CoveredTests
DecryptSt 327 Not Covered
DigestSt 346 Not Covered
EncryptSt 333 Not Covered
ErrorSt 433 Not Covered
IdleSt 378 Not Covered


transitionsLine No.CoveredTests
DecryptSt->ErrorSt 433 Not Covered
DecryptSt->IdleSt 378 Not Covered
DigestSt->ErrorSt 433 Not Covered
DigestSt->IdleSt 405 Not Covered
EncryptSt->ErrorSt 433 Not Covered
EncryptSt->IdleSt 391 Not Covered
IdleSt->DecryptSt 327 Not Covered
IdleSt->DigestSt 346 Not Covered
IdleSt->EncryptSt 333 Not Covered
IdleSt->ErrorSt 433 Not Covered



Branch Coverage for Module : otp_ctrl_scrmbl
Line No.TotalCoveredPercent
Branches 52 0 0.00
TERNARY 208 5 0 0.00
TERNARY 214 7 0 0.00
TERNARY 223 4 0 0.00
TERNARY 230 2 0 0.00
TERNARY 233 2 0 0.00
CASE 316 18 0 0.00
IF 432 2 0 0.00
IF 474 2 0 0.00
IF 477 10 0 0.00

WARNING: The source file /workspace/default/sim-vcs/../src/lowrisc_ip_otp_ctrl_1.0/rtl/otp_ctrl_scrmbl.sv' or '../src/lowrisc_ip_otp_ctrl_1.0/rtl/otp_ctrl_scrmbl.sv was not found/opened, so annotated branch coverage report could not be generated.

LineNo. Expression -1-: 208 ((data_state_sel == SelEncDataOut)) ? -2-: 208 ((data_state_sel == SelDecDataOut)) ? -3-: 208 ((data_state_sel == SelDigestState)) ? -4-: 208 ((data_state_sel == SelEncDataOutXor)) ?

Branches:
-1--2--3--4-StatusTests
1 - - - Not Covered
0 1 - - Not Covered
0 0 1 - Not Covered
0 0 0 1 Not Covered
0 0 0 0 Not Covered


LineNo. Expression -1-: 214 ((key_state_sel == SelDecKeyOut)) ? -2-: 214 ((key_state_sel == SelEncKeyOut)) ? -3-: 214 ((key_state_sel == SelDecKeyInit)) ? -4-: 214 ((key_state_sel == SelEncKeyInit)) ? -5-: 214 ((key_state_sel == SelDigestConst)) ? -6-: 214 ((key_state_sel == SelDigestChained)) ?

Branches:
-1--2--3--4--5--6-StatusTests
1 - - - - - Not Covered
0 1 - - - - Not Covered
0 0 1 - - - Not Covered
0 0 0 1 - - Not Covered
0 0 0 0 1 - Not Covered
0 0 0 0 0 1 Not Covered
0 0 0 0 0 0 Not Covered


LineNo. Expression -1-: 223 ((key_state_sel == SelDecKeyOut)) ? -2-: 223 ((key_state_sel == SelEncKeyOut)) ? -3-: 223 ((key_state_sel == SelDecKeyInit)) ?

Branches:
-1--2--3-StatusTests
1 - - Not Covered
0 1 - Not Covered
0 0 1 Not Covered
0 0 0 Not Covered


LineNo. Expression -1-: 230 (digest_init) ?

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 233 (valid_q) ?

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 316 case (state_q) -2-: 324 if (valid_i) -3-: 325 case (cmd_i) -4-: 339 if ((digest_mode_q == ChainedMode)) -5-: 348 ((digest_mode_q == ChainedMode)) ? -6-: 377 if ((cnt == LastPresentRound)) -7-: 390 if ((cnt == LastPresentRound)) -8-: 404 if ((cnt == LastPresentRound))

Branches:
-1--2--3--4--5--6--7--8-StatusTests
IdleSt 1 Decrypt - - - - - Not Covered
IdleSt 1 Encrypt - - - - - Not Covered
IdleSt 1 LoadShadow 1 - - - - Not Covered
IdleSt 1 LoadShadow 0 - - - - Not Covered
IdleSt 1 Digest - 1 - - - Not Covered
IdleSt 1 Digest - 0 - - - Not Covered
IdleSt 1 DigestInit - - - - - Not Covered
IdleSt 1 DigestFinalize - - - - - Not Covered
IdleSt 1 default - - - - - Not Covered
IdleSt 0 - - - - - - Not Covered
DecryptSt - - - - 1 - - Not Covered
DecryptSt - - - - 0 - - Not Covered
EncryptSt - - - - - 1 - Not Covered
EncryptSt - - - - - 0 - Not Covered
DigestSt - - - - - - 1 Not Covered
DigestSt - - - - - - 0 Not Covered
ErrorSt - - - - - - - Not Covered
default - - - - - - - Not Covered


LineNo. Expression -1-: 432 if ((lc_ctrl_pkg::lc_tx_test_true_loose(escalate_en_i) || cnt_err))

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


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

Branches:
-1-StatusTests
1 Not Covered
0 Not Covered


LineNo. Expression -1-: 477 if ((!rst_ni)) -2-: 490 if (key_state_en) -3-: 494 if (data_state_en) -4-: 497 if (data_shadow_copy) -5-: 499 if (data_shadow_load) -6-: 502 if (digest_state_en)

Branches:
-1--2--3--4--5--6-StatusTests
1 - - - - - Not Covered
0 1 - - - - Not Covered
0 0 - - - - Not Covered
0 - 1 - - - Not Covered
0 - 0 - - - Not Covered
0 - - 1 - - Not Covered
0 - - 0 1 - Not Covered
0 - - 0 0 - Not Covered
0 - - - - 1 Not Covered
0 - - - - 0 Not Covered

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