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

Module : kmac
SCORELINECONDTOGGLEFSMBRANCHASSERT
89.49 96.32 91.89 63.67 92.31 92.73 100.00

Source File(s) :
/workspace/default/sim-vcs/../src/lowrisc_ip_kmac_0.1/rtl/kmac.sv

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut 95.54 96.32 91.89 100.00 92.31 92.73 100.00



Module Instance : tb.dut

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
95.54 96.32 91.89 100.00 92.31 92.73 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
94.82 96.58 92.46 100.00 86.36 94.67 98.84


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
tb


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_alert_tx[0].u_prim_alert_sender 100.00 100.00
gen_alert_tx[1].u_prim_alert_sender 100.00 100.00
intr_fifo_empty 93.75 100.00 75.00 100.00 100.00
intr_kmac_done 93.75 100.00 75.00 100.00 100.00
intr_kmac_err 93.75 100.00 75.00 100.00 100.00
kmac_csr_assert 100.00 100.00
sha3pad_assert_cov_if 100.00 100.00
tlul_assert_device 100.00 100.00 100.00 100.00
u_app_intf 94.18 94.07 89.80 94.12 92.94 100.00
u_errchk 95.99 97.14 96.67 90.00 96.15 100.00
u_kmac_core 93.72 98.75 92.86 100.00 87.50 92.31 90.91
u_msgfifo 97.55 100.00 94.00 100.00 93.75 100.00
u_prim_lc_sync 100.00 100.00 100.00 100.00
u_reg 98.98 99.35 96.63 100.00 98.94 100.00
u_sha3 91.67 93.81 86.84 100.00 77.78 91.62 100.00
u_sha3_done_sender 100.00 100.00 100.00 100.00
u_state_regs 100.00 100.00 100.00 100.00
u_staterd 89.69 89.64 80.83 88.30 100.00
u_tlul_adapter_msgfifo 79.67 86.78 73.83 76.83 81.25

Line Coverage for Module : kmac
Line No.TotalCoveredPercent
TOTAL16315796.32
ALWAYS34600
ALWAYS34622100.00
ALWAYS352100.00
CONT_ASSIGN42111100.00
CONT_ASSIGN42211100.00
CONT_ASSIGN42611100.00
ALWAYS42999100.00
CONT_ASSIGN46411100.00
CONT_ASSIGN46511100.00
CONT_ASSIGN46611100.00
CONT_ASSIGN46911100.00
CONT_ASSIGN47311100.00
CONT_ASSIGN47411100.00
CONT_ASSIGN47811100.00
CONT_ASSIGN48111100.00
ALWAYS48866100.00
CONT_ASSIGN51311100.00
CONT_ASSIGN51811100.00
CONT_ASSIGN52511100.00
CONT_ASSIGN52811100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53711100.00
CONT_ASSIGN53900
CONT_ASSIGN54111100.00
CONT_ASSIGN54511100.00
CONT_ASSIGN54711100.00
CONT_ASSIGN54811100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN55211100.00
CONT_ASSIGN55511100.00
ALWAYS56355100.00
CONT_ASSIGN57311100.00
CONT_ASSIGN58011100.00
CONT_ASSIGN58111100.00
CONT_ASSIGN58211100.00
CONT_ASSIGN59211100.00
ALWAYS61233100.00
CONT_ASSIGN61611100.00
CONT_ASSIGN63511100.00
CONT_ASSIGN64011100.00
ALWAYS6437571.43
CONT_ASSIGN67911100.00
CONT_ASSIGN684100.00
CONT_ASSIGN69111100.00
CONT_ASSIGN70111100.00
ALWAYS72133100.00
ALWAYS7252828100.00
CONT_ASSIGN87511100.00
CONT_ASSIGN87811100.00
CONT_ASSIGN94211100.00
CONT_ASSIGN94411100.00
CONT_ASSIGN97411100.00
CONT_ASSIGN97911100.00
CONT_ASSIGN98011100.00
CONT_ASSIGN98211100.00
CONT_ASSIGN98500
ALWAYS110300
ALWAYS110322100.00
CONT_ASSIGN1255100.00
CONT_ASSIGN125611100.00
CONT_ASSIGN125711100.00
CONT_ASSIGN126611100.00
CONT_ASSIGN127211100.00
CONT_ASSIGN127311100.00
CONT_ASSIGN127411100.00
CONT_ASSIGN127511100.00
CONT_ASSIGN127811100.00
CONT_ASSIGN128711100.00
CONT_ASSIGN133111100.00
CONT_ASSIGN134511100.00
CONT_ASSIGN135211100.00
CONT_ASSIGN135711100.00
ALWAYS13636583.33
CONT_ASSIGN137211100.00
CONT_ASSIGN137411100.00
ALWAYS138644100.00
CONT_ASSIGN139211100.00
ALWAYS141544100.00
ALWAYS142533100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN144011100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_kmac_0.1/rtl/kmac.sv' or '../src/lowrisc_ip_kmac_0.1/rtl/kmac.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
346 1 1
347 1 1
352 0 1
421 1 1
422 1 1
426 1 1
429 1 1
430 1 1
431 1 1
432 1 1
434 1 1
436 1 1
440 1 1
444 1 1
448 1 1
464 1 1
465 1 1
466 1 1
469 1 1
473 1 1
474 1 1
478 1 1
481 1 1
488 1 1
489 1 1
490 1 1
491 1 1
492 1 1
493 1 1
MISSING_ELSE
MISSING_ELSE
513 1 1
518 1 1
525 1 1
528 1 1
529 1 1
530 1 1
533 5 5
534 5 5
537 1 1
539 unreachable
541 1 1
545 1 1
547 1 1
548 1 1
551 1 1
552 1 1
555 1 1
563 1 1
564 1 1
565 1 1
566 1 1
568 1 1
573 1 1
580 1 1
581 1 1
582 1 1
592 1 1
612 2 2
613 1 1
616 1 1
635 1 1
640 1 1
643 1 1
645 1 1
650 1 1
654 1 1
658 1 1
662 0 1
666 0 1
679 1 1
684 0 1
691 1 1
701 1 1
721 3 3
725 1 1
727 1 1
728 1 1
730 1 1
732 1 1
734 1 1
735 1 1
738 1 1
741 1 1
747 1 1
748 1 1
750 1 1
755 1 1
756 1 1
757 1 1
759 1 1
765 1 1
770 1 1
771 1 1
773 1 1
775 1 1
781 1 1
782 1 1
784 1 1
790 1 1
791 1 1
803 1 1
804 1 1
MISSING_ELSE
875 1 1
878 1 1
942 1 1
944 1 1
974 1 1
979 1 1
980 1 1
982 1 1
985 unreachable
1103 1 1
1104 1 1
1255 0 1
1256 1 1
1257 1 1
1266 1 1
1272 1 1
1273 1 1
1274 1 1
1275 1 1
1278 1 1
1287 1 1
1331 1 1
1345 1 1
1352 1 1
1357 1 1
1363 1 1
1364 1 1
1365 1 1
1366 0 1
1367 1 1
1368 1 1
MISSING_ELSE
1372 1 1
1374 1 1
1386 1 1
1387 1 1
1388 1 1
1389 1 1
MISSING_ELSE
1392 1 1
1415 1 1
1416 1 1
1417 1 1
1419 1 1
MISSING_ELSE
1425 1 1
1426 1 1
1429 1 1
1436 1 1
1440 1 1
1442 6 6


Cond Coverage for Module : kmac
TotalCoveredPercent
Conditions746891.89
Logical746891.89
Non-Logical00
Event00

 LINE       426
 EXPRESSION (cmd_update ? cmd_q : CmdNone)
             -----1----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       464
 EXPRESSION (sha3_fsm == StIdle)
            ----------1---------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       465
 EXPRESSION (sha3_fsm == StAbsorb)
            -----------1----------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       466
 EXPRESSION (sha3_fsm == StSqueeze)
            -----------1-----------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       478
 EXPRESSION (sha3_fsm == StIdle)
            ----------1---------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       530
 EXPRESSION (reg2hw.cmd.entropy_req.q && reg2hw.cmd.entropy_req.qe)
             ------------1-----------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT22,T30,T27

 LINE       541
 EXPRESSION (reg2hw.cmd.hash_cnt_clr.qe && reg2hw.cmd.hash_cnt_clr.q)
             -------------1------------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT14,T22,T8

 LINE       545
 EXPRESSION (reg2hw.cfg_shadowed.entropy_ready.q & reg2hw.cfg_shadowed.entropy_ready.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT6,T20,T21
10CoveredT4,T5,T6
11CoveredT4,T5,T6

 LINE       552
 EXPRESSION (cfg_msg_mask & msg_valid & msg_ready)
             ------1-----   ----2----   ----3----
-1--2--3-StatusTests
011CoveredT4,T5,T7
101CoveredT4,T5,T7
110CoveredT4,T7,T13
111CoveredT4,T5,T7

 LINE       565
 EXPRESSION ((sha3_fsm == StIdle) && (msgfifo_empty || SecIdleAcceptSwMsg))
             ----------1---------    ------------------2------------------
-1--2-StatusTests
01CoveredT4,T5,T7
10Not Covered
11CoveredT4,T5,T6

 LINE       565
 SUB-EXPRESSION (sha3_fsm == StIdle)
                ----------1---------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT4,T5,T6

 LINE       565
 SUB-EXPRESSION (msgfifo_empty || SecIdleAcceptSwMsg)
                 ------1------    ---------2--------
-1--2-StatusTests
0-CoveredT4,T5,T7
1-CoveredT4,T5,T6

 LINE       573
 EXPRESSION (reg2hw.cfg_shadowed.err_processed.q & reg2hw.cfg_shadowed.err_processed.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT6,T20,T21
11CoveredT6,T20,T21

 LINE       616
 EXPRESSION (((~msgfifo_empty_q)) & msgfifo_empty)
             ----------1---------   ------2------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T7,T13
11CoveredT4,T5,T7

 LINE       635
 EXPRESSION (sha3_err.valid | app_err.valid | entropy_err.valid | errchecker_err.valid)
             -------1------   ------2------   --------3--------   ----------4---------
-1--2--3--4-StatusTests
0000CoveredT4,T5,T6
0001CoveredT31,T32,T48
0010Not Covered
0100CoveredT6,T20,T8
1000CoveredT14,T22,T27

 LINE       679
 EXPRESSION (sha3_count_error | kmac_entropy_hash_counter_error | key_index_error | msgfifo_counter_error)
             --------1-------   ---------------2---------------   -------3-------   ----------4----------
-1--2--3--4-StatusTests
0000CoveredT4,T5,T6
0001Not Covered
0010CoveredT8,T11,T12
0100Unreachable
1000CoveredT8,T11,T12

 LINE       691
 EXPRESSION (sha3_state_error | kmac_errchk_state_error | kmac_core_state_error | kmac_app_state_error | kmac_entropy_state_error | kmac_state_error)
             --------1-------   -----------2-----------   ----------3----------   ----------4---------   ------------5-----------   --------6-------
-1--2--3--4--5--6-StatusTests
000000CoveredT4,T5,T6
000001CoveredT8,T11,T12
000010Unreachable
000100CoveredT8,T11,T12
001000CoveredT8,T11,T12
010000CoveredT8,T11,T12
100000CoveredT8,T11,T12

 LINE       732
 EXPRESSION (kmac_cmd == CmdStart)
            -----------1----------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       734
 EXPRESSION (CShake == app_sha3_mode)
            ------------1------------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT4,T7,T13

 LINE       748
 EXPRESSION (app_kmac_en ? KmacKeyBlock : KmacMsgFeed)
             -----1-----
-1-StatusTests
0CoveredT14,T22,T23
1CoveredT4,T7,T13

 LINE       974
 EXPRESSION (tlram_req & tlram_we)
             ----1----   ----2---
-1--2-StatusTests
01CoveredT4,T5,T7
10Not Covered
11CoveredT4,T5,T7

 LINE       1104
 EXPRESSION (reg_state_valid ? reg_state[i] : 'b0)
             -------1-------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       1345
 SUB-EXPRESSION (reg2hw.alert_test.fatal_fault_err.q & reg2hw.alert_test.fatal_fault_err.qe)
                 -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT43,T49,T50
10CoveredT4,T5,T6
11CoveredT43,T49,T51

 LINE       1345
 SUB-EXPRESSION (reg2hw.alert_test.recov_operation_err.q & reg2hw.alert_test.recov_operation_err.qe)
                 -------------------1-------------------   --------------------2-------------------
-1--2-StatusTests
01CoveredT43,T49,T51
10CoveredT4,T5,T6
11CoveredT43,T49,T51

 LINE       1374
 EXPRESSION (shadowed_storage_err | alert_intg_err | sparse_fsm_error | counter_error | control_integrity_error)
             ----------1---------   -------2------   --------3-------   ------4------   -----------5-----------
-1--2--3--4--5-StatusTests
00000CoveredT4,T5,T6
00001Not Covered
00010CoveredT8,T11,T12
00100CoveredT8,T9,T10
01000CoveredT8,T11,T12
10000Not Covered

Toggle Coverage for Module : kmac
TotalCoveredPercent
Totals 71 64 90.14
Total Bits 6534 4160 63.67
Total Bits 0->1 3267 2080 63.67
Total Bits 1->0 3267 2080 63.67

Ports 71 64 90.14
Port Bits 6534 4160 63.67
Port Bits 0->1 3267 2080 63.67
Port Bits 1->0 3267 2080 63.67

Port Details
NameToggleToggle 1->0TestsToggle 0->1TestsDirection
clk_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_ni Yes Yes T1,T2,T52 Yes T1,T2,T3 INPUT
rst_shadowed_ni Yes Yes T1,T2,T52 Yes T1,T2,T3 INPUT
clk_edn_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_edn_ni Yes Yes T1,T2,T52 Yes T1,T2,T3 INPUT
tl_i.d_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_user.instr_type[3:0] Yes Yes T1,T53,T54 Yes T1,T52,T53 INPUT
tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
tl_i.a_data[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_mask[3:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_address[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
tl_i.a_opcode[2:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_o.a_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_error Yes Yes T52,T55,T56 Yes T52,T55,T56 OUTPUT
tl_o.d_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,*T2,*T3 Yes T1,T2,T3 OUTPUT
tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_data[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
tl_o.d_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_opcode[0] Yes Yes *T1,*T2,*T3 Yes T1,T2,T3 OUTPUT
tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_rx_i[0].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[0].ack_p Yes Yes T1,T2,T57 Yes T1,T2,T57 INPUT
alert_rx_i[0].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[0].ping_p Unreachable Unreachable Unreachable INPUT
alert_rx_i[1].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[1].ack_p Yes Yes T1,T2,T57 Yes T1,T2,T57 INPUT
alert_rx_i[1].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[1].ping_p Unreachable Unreachable Unreachable INPUT
alert_tx_o[0].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[0].alert_p Yes Yes T1,T2,T57 Yes T1,T2,T57 OUTPUT
alert_tx_o[1].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[1].alert_p Yes Yes T1,T2,T57 Yes T1,T2,T57 OUTPUT
keymgr_key_i.key[1:0][255:0] Yes Yes T4,T7,T14 Yes T4,T7,T14 INPUT
keymgr_key_i.valid Yes Yes T4,T7,T14 Yes T4,T7,T14 INPUT
app_i[0].last Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[0].strb[7:0] Yes Yes T14,T22,T30 Yes T14,T22,T30 INPUT
app_i[0].data[63:0] Yes Yes T6,T14,T22 Yes T6,T14,T22 INPUT
app_i[0].valid Yes Yes T6,T14,T20 Yes T6,T14,T20 INPUT
app_i[1].last Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[1].strb[7:0] Yes Yes T14,T22,T30 Yes T14,T22,T30 INPUT
app_i[1].data[63:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[1].valid Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[2].last Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[2].strb[7:0] Yes Yes T14,T22,T30 Yes T14,T22,T30 INPUT
app_i[2].data[63:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[2].valid Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_o[0].error Yes Yes T1,T2,T58 Yes T1,T2,T58 OUTPUT
app_o[0].digest_share1[383:0] No No No OUTPUT
app_o[0].digest_share0[383:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[0].done Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[0].ready Yes Yes T6,T14,T20 Yes T6,T14,T20 OUTPUT
app_o[1].error Yes Yes T14,T22,T27 Yes T14,T22,T27 OUTPUT
app_o[1].digest_share1[383:0] No No No OUTPUT
app_o[1].digest_share0[383:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[1].done Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[1].ready Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[2].error Yes Yes T14,T22,T27 Yes T14,T22,T27 OUTPUT
app_o[2].digest_share1[383:0] No No No OUTPUT
app_o[2].digest_share0[383:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[2].done Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[2].ready Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
entropy_o.edn_req No No No OUTPUT
entropy_i.edn_bus[31:0] No No No INPUT
entropy_i.edn_fips No No No INPUT
entropy_i.edn_ack No No No INPUT
lc_escalate_en_i[3:0] Yes Yes T10,T59,T60 Yes T10,T59,T60 INPUT
intr_kmac_done_o Yes Yes T53,T54,T61 Yes T53,T54,T61 OUTPUT
intr_fifo_empty_o Yes Yes T53,T54,T61 Yes T53,T54,T61 OUTPUT
intr_kmac_err_o Yes Yes T2,T52,T53 Yes T2,T52,T53 OUTPUT
en_masking_o Unreachable Unreachable Unreachable OUTPUT
idle_o[3:0] Yes Yes T1,T2,T58 Yes T1,T2,T58 OUTPUT

*Tests covering at least one bit in the range

FSM Coverage for Module : kmac
Summary for FSM :: kmac_st
TotalCoveredPercent
States 6 6 100.00 (Not included in score)
Transitions 13 12 92.31
Sequences 0 0

State, Transition and Sequence Details for FSM :: kmac_st
statesLine No.CoveredTests
KmacDigest 773 Covered T1
KmacIdle 741 Covered T1
KmacKeyBlock 748 Covered T1
KmacMsgFeed 738 Covered T1
KmacPrefix 735 Covered T1
KmacTerminalError 790 Covered T1


transitionsLine No.CoveredTests
KmacDigest->KmacIdle 782 Covered T1
KmacDigest->KmacTerminalError 804 Not Covered
KmacIdle->KmacMsgFeed 738 Covered T1
KmacIdle->KmacPrefix 735 Covered T1
KmacIdle->KmacTerminalError 804 Covered T1
KmacKeyBlock->KmacMsgFeed 757 Covered T1
KmacKeyBlock->KmacTerminalError 804 Covered T1
KmacMsgFeed->KmacDigest 773 Covered T1
KmacMsgFeed->KmacIdle 770 Covered T1
KmacMsgFeed->KmacTerminalError 804 Covered T1
KmacPrefix->KmacKeyBlock 748 Covered T1
KmacPrefix->KmacMsgFeed 748 Covered T1
KmacPrefix->KmacTerminalError 804 Covered T1



Branch Coverage for Module : kmac
Line No.TotalCoveredPercent
Branches 55 51 92.73
TERNARY 426 2 2 100.00
CASE 434 6 5 83.33
IF 488 3 3 100.00
IF 563 3 3 100.00
IF 612 2 2 100.00
CASE 645 6 4 66.67
IF 721 2 2 100.00
CASE 730 15 15 100.00
IF 803 2 2 100.00
TERNARY 1104 2 2 100.00
IF 1363 4 3 75.00
IF 1386 3 3 100.00
IF 1415 3 3 100.00
IF 1425 2 2 100.00

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

LineNo. Expression -1-: 426 (cmd_update) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


LineNo. Expression -1-: 434 case (kmac_cmd)

Branches:
-1-StatusTests
CmdStart Covered T4,T5,T7
CmdProcess Covered T4,T5,T7
CmdManualRun Covered T4,T7,T14
CmdDone Covered T4,T5,T7
CmdNone Covered T4,T5,T6
default Not Covered


LineNo. Expression -1-: 488 if ((!rst_ni)) -2-: 490 if (engine_stable)

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T4,T5,T6
0 0 Covered T4,T5,T7


LineNo. Expression -1-: 563 if ((!rst_ni)) -2-: 565 if (((sha3_fsm == StIdle) && (msgfifo_empty || SecIdleAcceptSwMsg)))

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T4,T5,T6
0 0 Covered T4,T5,T7


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

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


LineNo. Expression -1-: 645 case (1'b1)

Branches:
-1-StatusTests
app_err.valid Covered T6,T20,T8
errchecker_err.valid Covered T31,T32,T48
sha3_err.valid Covered T14,T22,T27
entropy_err.valid Not Covered
msgfifo_err.valid Not Covered
default Covered T4,T5,T6


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

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


LineNo. Expression -1-: 730 case (kmac_st) -2-: 732 if ((kmac_cmd == CmdStart)) -3-: 734 if ((CShake == app_sha3_mode)) -4-: 747 if (sha3_block_processed) -5-: 748 (app_kmac_en) ? -6-: 756 if (sha3_block_processed) -7-: 765 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_true_strict(sha3_done))) -8-: 771 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_false_loose(sha3_done))) -9-: 781 if (prim_mubi_pkg::mubi4_test_true_strict(sha3_done))

Branches:
-1--2--3--4--5--6--7--8--9-StatusTests
KmacIdle 1 1 - - - - - - Covered T4,T7,T13
KmacIdle 1 0 - - - - - - Covered T4,T5,T7
KmacIdle 0 - - - - - - - Covered T4,T5,T6
KmacPrefix - - 1 1 - - - - Covered T4,T7,T13
KmacPrefix - - 1 0 - - - - Covered T14,T22,T23
KmacPrefix - - 0 - - - - - Covered T4,T7,T13
KmacKeyBlock - - - - 1 - - - Covered T4,T7,T13
KmacKeyBlock - - - - 0 - - - Covered T4,T7,T13
KmacMsgFeed - - - - - 1 - - Covered T14,T22,T23
KmacMsgFeed - - - - - 0 1 - Covered T4,T5,T7
KmacMsgFeed - - - - - 0 0 - Covered T4,T5,T7
KmacDigest - - - - - - - 1 Covered T4,T5,T7
KmacDigest - - - - - - - 0 Covered T4,T5,T7
KmacTerminalError - - - - - - - - Covered T8,T9,T10
default - - - - - - - - Covered T8,T11,T12


LineNo. Expression -1-: 803 if (lc_ctrl_pkg::lc_tx_test_true_loose(lc_escalate_en[0]))

Branches:
-1-StatusTests
1 Covered T8,T9,T10
0 Covered T4,T5,T6


LineNo. Expression -1-: 1104 (reg_state_valid) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T4,T5,T6


LineNo. Expression -1-: 1363 if ((!rst_ni)) -2-: 1365 if (alert_recov_operation) -3-: 1367 if (err_processed)

Branches:
-1--2--3-StatusTests
1 - - Covered T4,T5,T6
0 1 - Not Covered
0 0 1 Covered T6,T20,T21
0 0 0 Covered T4,T5,T6


LineNo. Expression -1-: 1386 if ((!rst_ni)) -2-: 1388 if (alert_fatal)

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T8,T9,T10
0 0 Covered T4,T5,T6


LineNo. Expression -1-: 1415 if ((!rst_ni)) -2-: 1417 if (alerts[1])

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T8,T9,T10
0 0 Covered T4,T5,T6


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

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


Assert Coverage for Module : kmac
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 30 30 100.00 30 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 30 30 100.00 30 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertKnownO_A 2147483647 2147483647 0 0
CmdSparse_M 2147483647 1294680 0 0
EnMaskingKnown_A 2147483647 2147483647 0 0
EntropyReadyLatched_A 2147483647 341065 0 0
EntrySizeRegSameToEntrySizePkg_A 1054 1054 0 0
ErrProcessedLatched_A 2147483647 570 0 0
FifoEmpty_A 2147483647 2147483647 0 0
FpvSecCmErrorCheckFsmCheck_A 2147483647 80 0 0
FpvSecCmKeccackFsmCheck_A 2147483647 80 0 0
FpvSecCmKeyIndexCountCheck_A 2147483647 80 0 0
FpvSecCmKmacAppFsmCheck_A 2147483647 80 0 0
FpvSecCmKmacCoreFsmCheck_A 2147483647 80 0 0
FpvSecCmKmacFsmCheck_A 2147483647 80 0 0
FpvSecCmRegWeOnehotCheck_A 2147483647 80 0 0
FpvSecCmRoundCountCheck_A 2147483647 80 0 0
FpvSecCmSHA3FsmCheck_A 2147483647 80 0 0
FpvSecCmSHA3padFsmCheck_A 2147483647 80 0 0
FpvSecCmSentMsgCountCheck_A 2147483647 80 0 0
KmacCmd_A 2147483647 2147483647 0 0
KmacDone_A 2147483647 2147483647 0 0
KmacErr_A 2147483647 2147483647 0 0
KmacStKnown_A 2147483647 2147483647 0 0
NumAlerts2_A 1054 1054 0 0
NumEntriesRegSameToNumEntriesPkg_A 1054 1054 0 0
PrefixRegSameToPrefixPkg_A 1054 1054 0 0
SecretKeyDivideBy32_A 1054 1054 0 0
Sha3AbsorbedPulse_A 2147483647 350568 0 0
TlOAReadyKnown_A 2147483647 2147483647 0 0
TlODValidKnown_A 2147483647 2147483647 0 0
u_state_regs_A 2147483647 2147483647 0 0


AlertKnownO_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

CmdSparse_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1294680 0 0
T4 112460 1092 0 0
T5 968815 1252 0 0
T6 92727 5 0 0
T7 209507 1107 0 0
T13 6277 28 0 0
T14 746917 891 0 0
T15 151264 335 0 0
T16 959622 791 0 0
T17 16668 30 0 0
T20 11651 1 0 0

EnMaskingKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

EntropyReadyLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 341065 0 0
T4 112460 146 0 0
T5 968815 377 0 0
T6 92727 19 0 0
T7 209507 155 0 0
T13 6277 9 0 0
T14 746917 184 0 0
T15 151264 102 0 0
T16 959622 238 0 0
T17 16668 9 0 0
T20 11651 1 0 0

EntrySizeRegSameToEntrySizePkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

ErrProcessedLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 570 0 0
T6 92727 19 0 0
T7 209507 0 0 0
T13 6277 0 0 0
T14 746917 0 0 0
T15 151264 0 0 0
T16 959622 0 0 0
T17 16668 0 0 0
T18 6302 0 0 0
T19 946173 0 0 0
T20 11651 1 0 0
T21 0 6 0 0
T24 0 16 0 0
T36 0 13 0 0
T62 0 12 0 0
T63 0 19 0 0
T64 0 8 0 0
T65 0 8 0 0
T66 0 10 0 0

FifoEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

FpvSecCmErrorCheckFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKeccackFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKeyIndexCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKmacAppFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKmacCoreFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKmacFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmRoundCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmSHA3FsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmSHA3padFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmSentMsgCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

KmacCmd_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

KmacDone_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

KmacErr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

KmacStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

NumAlerts2_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

NumEntriesRegSameToNumEntriesPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

PrefixRegSameToPrefixPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

SecretKeyDivideBy32_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

Sha3AbsorbedPulse_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 350568 0 0
T4 112460 147 0 0
T5 968815 390 0 0
T6 92727 0 0 0
T7 209507 156 0 0
T13 6277 9 0 0
T14 746917 185 0 0
T15 151264 103 0 0
T16 959622 246 0 0
T17 16668 9 0 0
T18 0 9 0 0
T19 0 246 0 0
T20 11651 0 0 0

TlOAReadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

TlODValidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

Line Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
TOTAL16315796.32
ALWAYS34600
ALWAYS34622100.00
ALWAYS352100.00
CONT_ASSIGN42111100.00
CONT_ASSIGN42211100.00
CONT_ASSIGN42611100.00
ALWAYS42999100.00
CONT_ASSIGN46411100.00
CONT_ASSIGN46511100.00
CONT_ASSIGN46611100.00
CONT_ASSIGN46911100.00
CONT_ASSIGN47311100.00
CONT_ASSIGN47411100.00
CONT_ASSIGN47811100.00
CONT_ASSIGN48111100.00
ALWAYS48866100.00
CONT_ASSIGN51311100.00
CONT_ASSIGN51811100.00
CONT_ASSIGN52511100.00
CONT_ASSIGN52811100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53411100.00
CONT_ASSIGN53711100.00
CONT_ASSIGN53900
CONT_ASSIGN54111100.00
CONT_ASSIGN54511100.00
CONT_ASSIGN54711100.00
CONT_ASSIGN54811100.00
CONT_ASSIGN55111100.00
CONT_ASSIGN55211100.00
CONT_ASSIGN55511100.00
ALWAYS56355100.00
CONT_ASSIGN57311100.00
CONT_ASSIGN58011100.00
CONT_ASSIGN58111100.00
CONT_ASSIGN58211100.00
CONT_ASSIGN59211100.00
ALWAYS61233100.00
CONT_ASSIGN61611100.00
CONT_ASSIGN63511100.00
CONT_ASSIGN64011100.00
ALWAYS6437571.43
CONT_ASSIGN67911100.00
CONT_ASSIGN684100.00
CONT_ASSIGN69111100.00
CONT_ASSIGN70111100.00
ALWAYS72133100.00
ALWAYS7252828100.00
CONT_ASSIGN87511100.00
CONT_ASSIGN87811100.00
CONT_ASSIGN94211100.00
CONT_ASSIGN94411100.00
CONT_ASSIGN97411100.00
CONT_ASSIGN97911100.00
CONT_ASSIGN98011100.00
CONT_ASSIGN98211100.00
CONT_ASSIGN98500
ALWAYS110300
ALWAYS110322100.00
CONT_ASSIGN1255100.00
CONT_ASSIGN125611100.00
CONT_ASSIGN125711100.00
CONT_ASSIGN126611100.00
CONT_ASSIGN127211100.00
CONT_ASSIGN127311100.00
CONT_ASSIGN127411100.00
CONT_ASSIGN127511100.00
CONT_ASSIGN127811100.00
CONT_ASSIGN128711100.00
CONT_ASSIGN133111100.00
CONT_ASSIGN134511100.00
CONT_ASSIGN135211100.00
CONT_ASSIGN135711100.00
ALWAYS13636583.33
CONT_ASSIGN137211100.00
CONT_ASSIGN137411100.00
ALWAYS138644100.00
CONT_ASSIGN139211100.00
ALWAYS141544100.00
ALWAYS142533100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN144011100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
CONT_ASSIGN144211100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_kmac_0.1/rtl/kmac.sv' or '../src/lowrisc_ip_kmac_0.1/rtl/kmac.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
346 1 1
347 1 1
352 0 1
421 1 1
422 1 1
426 1 1
429 1 1
430 1 1
431 1 1
432 1 1
434 1 1
436 1 1
440 1 1
444 1 1
448 1 1
464 1 1
465 1 1
466 1 1
469 1 1
473 1 1
474 1 1
478 1 1
481 1 1
488 1 1
489 1 1
490 1 1
491 1 1
492 1 1
493 1 1
MISSING_ELSE
MISSING_ELSE
513 1 1
518 1 1
525 1 1
528 1 1
529 1 1
530 1 1
533 5 5
534 5 5
537 1 1
539 unreachable
541 1 1
545 1 1
547 1 1
548 1 1
551 1 1
552 1 1
555 1 1
563 1 1
564 1 1
565 1 1
566 1 1
568 1 1
573 1 1
580 1 1
581 1 1
582 1 1
592 1 1
612 2 2
613 1 1
616 1 1
635 1 1
640 1 1
643 1 1
645 1 1
650 1 1
654 1 1
658 1 1
662 0 1
666 0 1
679 1 1
684 0 1
691 1 1
701 1 1
721 3 3
725 1 1
727 1 1
728 1 1
730 1 1
732 1 1
734 1 1
735 1 1
738 1 1
741 1 1
747 1 1
748 1 1
750 1 1
755 1 1
756 1 1
757 1 1
759 1 1
765 1 1
770 1 1
771 1 1
773 1 1
775 1 1
781 1 1
782 1 1
784 1 1
790 1 1
791 1 1
803 1 1
804 1 1
MISSING_ELSE
875 1 1
878 1 1
942 1 1
944 1 1
974 1 1
979 1 1
980 1 1
982 1 1
985 unreachable
1103 1 1
1104 1 1
1255 0 1
1256 1 1
1257 1 1
1266 1 1
1272 1 1
1273 1 1
1274 1 1
1275 1 1
1278 1 1
1287 1 1
1331 1 1
1345 1 1
1352 1 1
1357 1 1
1363 1 1
1364 1 1
1365 1 1
1366 0 1
1367 1 1
1368 1 1
MISSING_ELSE
1372 1 1
1374 1 1
1386 1 1
1387 1 1
1388 1 1
1389 1 1
MISSING_ELSE
1392 1 1
1415 1 1
1416 1 1
1417 1 1
1419 1 1
MISSING_ELSE
1425 1 1
1426 1 1
1429 1 1
1436 1 1
1440 1 1
1442 6 6


Cond Coverage for Instance : tb.dut
TotalCoveredPercent
Conditions746891.89
Logical746891.89
Non-Logical00
Event00

 LINE       426
 EXPRESSION (cmd_update ? cmd_q : CmdNone)
             -----1----
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       464
 EXPRESSION (sha3_fsm == StIdle)
            ----------1---------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       465
 EXPRESSION (sha3_fsm == StAbsorb)
            -----------1----------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       466
 EXPRESSION (sha3_fsm == StSqueeze)
            -----------1-----------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       478
 EXPRESSION (sha3_fsm == StIdle)
            ----------1---------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T6

 LINE       530
 EXPRESSION (reg2hw.cmd.entropy_req.q && reg2hw.cmd.entropy_req.qe)
             ------------1-----------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT22,T30,T27

 LINE       541
 EXPRESSION (reg2hw.cmd.hash_cnt_clr.qe && reg2hw.cmd.hash_cnt_clr.q)
             -------------1------------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT14,T22,T8

 LINE       545
 EXPRESSION (reg2hw.cfg_shadowed.entropy_ready.q & reg2hw.cfg_shadowed.entropy_ready.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT6,T20,T21
10CoveredT4,T5,T6
11CoveredT4,T5,T6

 LINE       552
 EXPRESSION (cfg_msg_mask & msg_valid & msg_ready)
             ------1-----   ----2----   ----3----
-1--2--3-StatusTests
011CoveredT4,T5,T7
101CoveredT4,T5,T7
110CoveredT4,T7,T13
111CoveredT4,T5,T7

 LINE       565
 EXPRESSION ((sha3_fsm == StIdle) && (msgfifo_empty || SecIdleAcceptSwMsg))
             ----------1---------    ------------------2------------------
-1--2-StatusTests
01CoveredT4,T5,T7
10Not Covered
11CoveredT4,T5,T6

 LINE       565
 SUB-EXPRESSION (sha3_fsm == StIdle)
                ----------1---------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT4,T5,T6

 LINE       565
 SUB-EXPRESSION (msgfifo_empty || SecIdleAcceptSwMsg)
                 ------1------    ---------2--------
-1--2-StatusTests
0-CoveredT4,T5,T7
1-CoveredT4,T5,T6

 LINE       573
 EXPRESSION (reg2hw.cfg_shadowed.err_processed.q & reg2hw.cfg_shadowed.err_processed.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT6,T20,T21
11CoveredT6,T20,T21

 LINE       616
 EXPRESSION (((~msgfifo_empty_q)) & msgfifo_empty)
             ----------1---------   ------2------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T7,T13
11CoveredT4,T5,T7

 LINE       635
 EXPRESSION (sha3_err.valid | app_err.valid | entropy_err.valid | errchecker_err.valid)
             -------1------   ------2------   --------3--------   ----------4---------
-1--2--3--4-StatusTests
0000CoveredT4,T5,T6
0001CoveredT31,T32,T48
0010Not Covered
0100CoveredT6,T20,T8
1000CoveredT14,T22,T27

 LINE       679
 EXPRESSION (sha3_count_error | kmac_entropy_hash_counter_error | key_index_error | msgfifo_counter_error)
             --------1-------   ---------------2---------------   -------3-------   ----------4----------
-1--2--3--4-StatusTests
0000CoveredT4,T5,T6
0001Not Covered
0010CoveredT8,T11,T12
0100Unreachable
1000CoveredT8,T11,T12

 LINE       691
 EXPRESSION (sha3_state_error | kmac_errchk_state_error | kmac_core_state_error | kmac_app_state_error | kmac_entropy_state_error | kmac_state_error)
             --------1-------   -----------2-----------   ----------3----------   ----------4---------   ------------5-----------   --------6-------
-1--2--3--4--5--6-StatusTests
000000CoveredT4,T5,T6
000001CoveredT8,T11,T12
000010Unreachable
000100CoveredT8,T11,T12
001000CoveredT8,T11,T12
010000CoveredT8,T11,T12
100000CoveredT8,T11,T12

 LINE       732
 EXPRESSION (kmac_cmd == CmdStart)
            -----------1----------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       734
 EXPRESSION (CShake == app_sha3_mode)
            ------------1------------
-1-StatusTests
0CoveredT4,T5,T7
1CoveredT4,T7,T13

 LINE       748
 EXPRESSION (app_kmac_en ? KmacKeyBlock : KmacMsgFeed)
             -----1-----
-1-StatusTests
0CoveredT14,T22,T23
1CoveredT4,T7,T13

 LINE       974
 EXPRESSION (tlram_req & tlram_we)
             ----1----   ----2---
-1--2-StatusTests
01CoveredT4,T5,T7
10Not Covered
11CoveredT4,T5,T7

 LINE       1104
 EXPRESSION (reg_state_valid ? reg_state[i] : 'b0)
             -------1-------
-1-StatusTests
0CoveredT4,T5,T6
1CoveredT4,T5,T7

 LINE       1345
 SUB-EXPRESSION (reg2hw.alert_test.fatal_fault_err.q & reg2hw.alert_test.fatal_fault_err.qe)
                 -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT43,T49,T50
10CoveredT4,T5,T6
11CoveredT43,T49,T51

 LINE       1345
 SUB-EXPRESSION (reg2hw.alert_test.recov_operation_err.q & reg2hw.alert_test.recov_operation_err.qe)
                 -------------------1-------------------   --------------------2-------------------
-1--2-StatusTests
01CoveredT43,T49,T51
10CoveredT4,T5,T6
11CoveredT43,T49,T51

 LINE       1374
 EXPRESSION (shadowed_storage_err | alert_intg_err | sparse_fsm_error | counter_error | control_integrity_error)
             ----------1---------   -------2------   --------3-------   ------4------   -----------5-----------
-1--2--3--4--5-StatusTests
00000CoveredT4,T5,T6
00001Not Covered
00010CoveredT8,T11,T12
00100CoveredT8,T9,T10
01000CoveredT8,T11,T12
10000Not Covered

Toggle Coverage for Instance : tb.dut
TotalCoveredPercent
Totals 64 64 100.00
Total Bits 4160 4160 100.00
Total Bits 0->1 2080 2080 100.00
Total Bits 1->0 2080 2080 100.00

Ports 64 64 100.00
Port Bits 4160 4160 100.00
Port Bits 0->1 2080 2080 100.00
Port Bits 1->0 2080 2080 100.00

Port Details
NameToggleToggle 1->0TestsToggle 0->1TestsDirectionExclude Annotation
clk_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_ni Yes Yes T1,T2,T52 Yes T1,T2,T3 INPUT
rst_shadowed_ni Yes Yes T1,T2,T52 Yes T1,T2,T3 INPUT
clk_edn_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_edn_ni Yes Yes T1,T2,T52 Yes T1,T2,T3 INPUT
tl_i.d_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_user.cmd_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_user.instr_type[3:0] Yes Yes T1,T53,T54 Yes T1,T52,T53 INPUT
tl_i.a_user.rsvd[4:0] Unreachable Unreachable Unreachable INPUT
tl_i.a_data[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_mask[3:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_address[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_param[2:0] Unreachable Unreachable Unreachable INPUT
tl_i.a_opcode[2:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_i.a_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
tl_o.a_ready Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_error Yes Yes T52,T55,T56 Yes T52,T55,T56 OUTPUT
tl_o.d_user.data_intg[6:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,*T2,*T3 Yes T1,T2,T3 OUTPUT
tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_data[31:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
tl_o.d_source[7:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_size[1:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_opcode[0] Yes Yes *T1,*T2,*T3 Yes T1,T2,T3 OUTPUT
tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_rx_i[0].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[0].ack_p Yes Yes T1,T2,T57 Yes T1,T2,T57 INPUT
alert_rx_i[0].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[0].ping_p Unreachable Unreachable Unreachable INPUT
alert_rx_i[1].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[1].ack_p Yes Yes T1,T2,T57 Yes T1,T2,T57 INPUT
alert_rx_i[1].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[1].ping_p Unreachable Unreachable Unreachable INPUT
alert_tx_o[0].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[0].alert_p Yes Yes T1,T2,T57 Yes T1,T2,T57 OUTPUT
alert_tx_o[1].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[1].alert_p Yes Yes T1,T2,T57 Yes T1,T2,T57 OUTPUT
keymgr_key_i.key[1:0][255:0] Yes Yes T4,T7,T14 Yes T4,T7,T14 INPUT
keymgr_key_i.valid Yes Yes T4,T7,T14 Yes T4,T7,T14 INPUT
app_i[0].last Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[0].strb[7:0] Yes Yes T14,T22,T30 Yes T14,T22,T30 INPUT
app_i[0].data[63:0] Yes Yes T6,T14,T22 Yes T6,T14,T22 INPUT
app_i[0].valid Yes Yes T6,T14,T20 Yes T6,T14,T20 INPUT
app_i[1].last Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[1].strb[7:0] Yes Yes T14,T22,T30 Yes T14,T22,T30 INPUT
app_i[1].data[63:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[1].valid Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[2].last Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[2].strb[7:0] Yes Yes T14,T22,T30 Yes T14,T22,T30 INPUT
app_i[2].data[63:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_i[2].valid Yes Yes T14,T22,T23 Yes T14,T22,T23 INPUT
app_o[0].error Yes Yes T1,T2,T58 Yes T1,T2,T58 OUTPUT
app_o[0].digest_share1[383:0] Excluded Excluded Excluded OUTPUT [UNSUPPORTED]: unmasked kmac share1 always output 0.
app_o[0].digest_share0[383:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[0].done Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[0].ready Yes Yes T6,T14,T20 Yes T6,T14,T20 OUTPUT
app_o[1].error Yes Yes T14,T22,T27 Yes T14,T22,T27 OUTPUT
app_o[1].digest_share1[383:0] Excluded Excluded Excluded OUTPUT [UNSUPPORTED]: unmasked kmac share1 always output 0.
app_o[1].digest_share0[383:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[1].done Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[1].ready Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[2].error Yes Yes T14,T22,T27 Yes T14,T22,T27 OUTPUT
app_o[2].digest_share1[383:0] Excluded Excluded Excluded OUTPUT [UNSUPPORTED]: unmasked kmac share1 always output 0.
app_o[2].digest_share0[383:0] Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[2].done Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
app_o[2].ready Yes Yes T14,T22,T23 Yes T14,T22,T23 OUTPUT
entropy_o.edn_req[0:0] Excluded Excluded Excluded OUTPUT [UNSUPPORTED]: unmasked kmac does not use entropy.
entropy_i.edn_bus[31:0] Excluded Excluded Excluded INPUT [UNSUPPORTED]: unmasked kmac does not use entropy.
entropy_i.edn_fips[0:0] Excluded Excluded Excluded INPUT [UNSUPPORTED]: unmasked kmac does not use entropy.
entropy_i.edn_ack[0:0] Excluded Excluded Excluded INPUT [UNSUPPORTED]: unmasked kmac does not use entropy.
lc_escalate_en_i[3:0] Yes Yes T10,T59,T60 Yes T10,T59,T60 INPUT
intr_kmac_done_o Yes Yes T53,T54,T61 Yes T53,T54,T61 OUTPUT
intr_fifo_empty_o Yes Yes T53,T54,T61 Yes T53,T54,T61 OUTPUT
intr_kmac_err_o Yes Yes T2,T52,T53 Yes T2,T52,T53 OUTPUT
en_masking_o Unreachable Unreachable Unreachable OUTPUT
idle_o[3:0] Yes Yes T1,T2,T58 Yes T1,T2,T58 OUTPUT

*Tests covering at least one bit in the range

FSM Coverage for Instance : tb.dut
Summary for FSM :: kmac_st
TotalCoveredPercent
States 6 6 100.00 (Not included in score)
Transitions 13 12 92.31
Sequences 0 0

State, Transition and Sequence Details for FSM :: kmac_st
statesLine No.CoveredTests
KmacDigest 773 Covered T1
KmacIdle 741 Covered T1
KmacKeyBlock 748 Covered T1
KmacMsgFeed 738 Covered T1
KmacPrefix 735 Covered T1
KmacTerminalError 790 Covered T1


transitionsLine No.CoveredTests
KmacDigest->KmacIdle 782 Covered T1
KmacDigest->KmacTerminalError 804 Not Covered
KmacIdle->KmacMsgFeed 738 Covered T1
KmacIdle->KmacPrefix 735 Covered T1
KmacIdle->KmacTerminalError 804 Covered T1
KmacKeyBlock->KmacMsgFeed 757 Covered T1
KmacKeyBlock->KmacTerminalError 804 Covered T1
KmacMsgFeed->KmacDigest 773 Covered T1
KmacMsgFeed->KmacIdle 770 Covered T1
KmacMsgFeed->KmacTerminalError 804 Covered T1
KmacPrefix->KmacKeyBlock 748 Covered T1
KmacPrefix->KmacMsgFeed 748 Covered T1
KmacPrefix->KmacTerminalError 804 Covered T1



Branch Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
Branches 55 51 92.73
TERNARY 426 2 2 100.00
CASE 434 6 5 83.33
IF 488 3 3 100.00
IF 563 3 3 100.00
IF 612 2 2 100.00
CASE 645 6 4 66.67
IF 721 2 2 100.00
CASE 730 15 15 100.00
IF 803 2 2 100.00
TERNARY 1104 2 2 100.00
IF 1363 4 3 75.00
IF 1386 3 3 100.00
IF 1415 3 3 100.00
IF 1425 2 2 100.00

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

LineNo. Expression -1-: 426 (cmd_update) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


LineNo. Expression -1-: 434 case (kmac_cmd)

Branches:
-1-StatusTests
CmdStart Covered T4,T5,T7
CmdProcess Covered T4,T5,T7
CmdManualRun Covered T4,T7,T14
CmdDone Covered T4,T5,T7
CmdNone Covered T4,T5,T6
default Not Covered


LineNo. Expression -1-: 488 if ((!rst_ni)) -2-: 490 if (engine_stable)

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T4,T5,T6
0 0 Covered T4,T5,T7


LineNo. Expression -1-: 563 if ((!rst_ni)) -2-: 565 if (((sha3_fsm == StIdle) && (msgfifo_empty || SecIdleAcceptSwMsg)))

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T4,T5,T6
0 0 Covered T4,T5,T7


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

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


LineNo. Expression -1-: 645 case (1'b1)

Branches:
-1-StatusTests
app_err.valid Covered T6,T20,T8
errchecker_err.valid Covered T31,T32,T48
sha3_err.valid Covered T14,T22,T27
entropy_err.valid Not Covered
msgfifo_err.valid Not Covered
default Covered T4,T5,T6


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

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


LineNo. Expression -1-: 730 case (kmac_st) -2-: 732 if ((kmac_cmd == CmdStart)) -3-: 734 if ((CShake == app_sha3_mode)) -4-: 747 if (sha3_block_processed) -5-: 748 (app_kmac_en) ? -6-: 756 if (sha3_block_processed) -7-: 765 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_true_strict(sha3_done))) -8-: 771 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_false_loose(sha3_done))) -9-: 781 if (prim_mubi_pkg::mubi4_test_true_strict(sha3_done))

Branches:
-1--2--3--4--5--6--7--8--9-StatusTests
KmacIdle 1 1 - - - - - - Covered T4,T7,T13
KmacIdle 1 0 - - - - - - Covered T4,T5,T7
KmacIdle 0 - - - - - - - Covered T4,T5,T6
KmacPrefix - - 1 1 - - - - Covered T4,T7,T13
KmacPrefix - - 1 0 - - - - Covered T14,T22,T23
KmacPrefix - - 0 - - - - - Covered T4,T7,T13
KmacKeyBlock - - - - 1 - - - Covered T4,T7,T13
KmacKeyBlock - - - - 0 - - - Covered T4,T7,T13
KmacMsgFeed - - - - - 1 - - Covered T14,T22,T23
KmacMsgFeed - - - - - 0 1 - Covered T4,T5,T7
KmacMsgFeed - - - - - 0 0 - Covered T4,T5,T7
KmacDigest - - - - - - - 1 Covered T4,T5,T7
KmacDigest - - - - - - - 0 Covered T4,T5,T7
KmacTerminalError - - - - - - - - Covered T8,T9,T10
default - - - - - - - - Covered T8,T11,T12


LineNo. Expression -1-: 803 if (lc_ctrl_pkg::lc_tx_test_true_loose(lc_escalate_en[0]))

Branches:
-1-StatusTests
1 Covered T8,T9,T10
0 Covered T4,T5,T6


LineNo. Expression -1-: 1104 (reg_state_valid) ?

Branches:
-1-StatusTests
1 Covered T4,T5,T7
0 Covered T4,T5,T6


LineNo. Expression -1-: 1363 if ((!rst_ni)) -2-: 1365 if (alert_recov_operation) -3-: 1367 if (err_processed)

Branches:
-1--2--3-StatusTests
1 - - Covered T4,T5,T6
0 1 - Not Covered
0 0 1 Covered T6,T20,T21
0 0 0 Covered T4,T5,T6


LineNo. Expression -1-: 1386 if ((!rst_ni)) -2-: 1388 if (alert_fatal)

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T8,T9,T10
0 0 Covered T4,T5,T6


LineNo. Expression -1-: 1415 if ((!rst_ni)) -2-: 1417 if (alerts[1])

Branches:
-1--2-StatusTests
1 - Covered T4,T5,T6
0 1 Covered T8,T9,T10
0 0 Covered T4,T5,T6


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

Branches:
-1-StatusTests
1 Covered T4,T5,T6
0 Covered T4,T5,T6


Assert Coverage for Instance : tb.dut
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 30 30 100.00 30 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 30 30 100.00 30 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertKnownO_A 2147483647 2147483647 0 0
CmdSparse_M 2147483647 1294680 0 0
EnMaskingKnown_A 2147483647 2147483647 0 0
EntropyReadyLatched_A 2147483647 341065 0 0
EntrySizeRegSameToEntrySizePkg_A 1054 1054 0 0
ErrProcessedLatched_A 2147483647 570 0 0
FifoEmpty_A 2147483647 2147483647 0 0
FpvSecCmErrorCheckFsmCheck_A 2147483647 80 0 0
FpvSecCmKeccackFsmCheck_A 2147483647 80 0 0
FpvSecCmKeyIndexCountCheck_A 2147483647 80 0 0
FpvSecCmKmacAppFsmCheck_A 2147483647 80 0 0
FpvSecCmKmacCoreFsmCheck_A 2147483647 80 0 0
FpvSecCmKmacFsmCheck_A 2147483647 80 0 0
FpvSecCmRegWeOnehotCheck_A 2147483647 80 0 0
FpvSecCmRoundCountCheck_A 2147483647 80 0 0
FpvSecCmSHA3FsmCheck_A 2147483647 80 0 0
FpvSecCmSHA3padFsmCheck_A 2147483647 80 0 0
FpvSecCmSentMsgCountCheck_A 2147483647 80 0 0
KmacCmd_A 2147483647 2147483647 0 0
KmacDone_A 2147483647 2147483647 0 0
KmacErr_A 2147483647 2147483647 0 0
KmacStKnown_A 2147483647 2147483647 0 0
NumAlerts2_A 1054 1054 0 0
NumEntriesRegSameToNumEntriesPkg_A 1054 1054 0 0
PrefixRegSameToPrefixPkg_A 1054 1054 0 0
SecretKeyDivideBy32_A 1054 1054 0 0
Sha3AbsorbedPulse_A 2147483647 350568 0 0
TlOAReadyKnown_A 2147483647 2147483647 0 0
TlODValidKnown_A 2147483647 2147483647 0 0
u_state_regs_A 2147483647 2147483647 0 0


AlertKnownO_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

CmdSparse_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1294680 0 0
T4 112460 1092 0 0
T5 968815 1252 0 0
T6 92727 5 0 0
T7 209507 1107 0 0
T13 6277 28 0 0
T14 746917 891 0 0
T15 151264 335 0 0
T16 959622 791 0 0
T17 16668 30 0 0
T20 11651 1 0 0

EnMaskingKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

EntropyReadyLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 341065 0 0
T4 112460 146 0 0
T5 968815 377 0 0
T6 92727 19 0 0
T7 209507 155 0 0
T13 6277 9 0 0
T14 746917 184 0 0
T15 151264 102 0 0
T16 959622 238 0 0
T17 16668 9 0 0
T20 11651 1 0 0

EntrySizeRegSameToEntrySizePkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

ErrProcessedLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 570 0 0
T6 92727 19 0 0
T7 209507 0 0 0
T13 6277 0 0 0
T14 746917 0 0 0
T15 151264 0 0 0
T16 959622 0 0 0
T17 16668 0 0 0
T18 6302 0 0 0
T19 946173 0 0 0
T20 11651 1 0 0
T21 0 6 0 0
T24 0 16 0 0
T36 0 13 0 0
T62 0 12 0 0
T63 0 19 0 0
T64 0 8 0 0
T65 0 8 0 0
T66 0 10 0 0

FifoEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

FpvSecCmErrorCheckFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKeccackFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKeyIndexCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKmacAppFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKmacCoreFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmKmacFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmRoundCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmSHA3FsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmSHA3padFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

FpvSecCmSentMsgCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 80 0 0
T8 221824 10 0 0
T11 321694 20 0 0
T12 0 20 0 0
T45 144071 0 0 0
T46 416650 0 0 0
T67 0 20 0 0
T68 0 10 0 0
T69 318318 0 0 0
T70 6376 0 0 0
T71 727845 0 0 0
T72 251278 0 0 0
T73 178766 0 0 0
T74 606224 0 0 0

KmacCmd_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

KmacDone_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

KmacErr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

KmacStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

NumAlerts2_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

NumEntriesRegSameToNumEntriesPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

PrefixRegSameToPrefixPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

SecretKeyDivideBy32_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1054 1054 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T13 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T20 1 1 0 0

Sha3AbsorbedPulse_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 350568 0 0
T4 112460 147 0 0
T5 968815 390 0 0
T6 92727 0 0 0
T7 209507 156 0 0
T13 6277 9 0 0
T14 746917 185 0 0
T15 151264 103 0 0
T16 959622 246 0 0
T17 16668 9 0 0
T18 0 9 0 0
T19 0 246 0 0
T20 11651 0 0 0

TlOAReadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

TlODValidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 112460 112452 0 0
T5 968815 968805 0 0
T6 92727 92651 0 0
T7 209507 209501 0 0
T13 6277 6201 0 0
T14 746917 746321 0 0
T15 151264 151166 0 0
T16 959622 959530 0 0
T17 16668 16606 0 0
T20 11651 11585 0 0

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