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
95.01 96.58 92.45 100.00 87.50 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 93.99 97.14 96.67 80.00 96.15 100.00
u_kmac_core 95.80 98.75 92.86 100.00 100.00 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 92.14 93.81 86.84 100.00 80.56 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
ALWAYS34200
ALWAYS34222100.00
ALWAYS348100.00
CONT_ASSIGN41711100.00
CONT_ASSIGN41811100.00
CONT_ASSIGN42211100.00
ALWAYS42599100.00
CONT_ASSIGN46011100.00
CONT_ASSIGN46111100.00
CONT_ASSIGN46211100.00
CONT_ASSIGN46511100.00
CONT_ASSIGN46911100.00
CONT_ASSIGN47011100.00
CONT_ASSIGN47411100.00
CONT_ASSIGN47711100.00
ALWAYS48466100.00
CONT_ASSIGN50911100.00
CONT_ASSIGN51411100.00
CONT_ASSIGN52111100.00
CONT_ASSIGN52411100.00
CONT_ASSIGN52511100.00
CONT_ASSIGN52611100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53500
CONT_ASSIGN53711100.00
CONT_ASSIGN54111100.00
CONT_ASSIGN54311100.00
CONT_ASSIGN54411100.00
CONT_ASSIGN54711100.00
CONT_ASSIGN54811100.00
CONT_ASSIGN55111100.00
ALWAYS55955100.00
CONT_ASSIGN56911100.00
CONT_ASSIGN57611100.00
CONT_ASSIGN57711100.00
CONT_ASSIGN57811100.00
CONT_ASSIGN58811100.00
ALWAYS60833100.00
CONT_ASSIGN61211100.00
CONT_ASSIGN63111100.00
CONT_ASSIGN63611100.00
ALWAYS6397571.43
CONT_ASSIGN67511100.00
CONT_ASSIGN680100.00
CONT_ASSIGN68711100.00
CONT_ASSIGN69711100.00
ALWAYS71733100.00
ALWAYS7212828100.00
CONT_ASSIGN87111100.00
CONT_ASSIGN87411100.00
CONT_ASSIGN93811100.00
CONT_ASSIGN94011100.00
CONT_ASSIGN97011100.00
CONT_ASSIGN97511100.00
CONT_ASSIGN97611100.00
CONT_ASSIGN97811100.00
CONT_ASSIGN98100
ALWAYS109900
ALWAYS109922100.00
CONT_ASSIGN1251100.00
CONT_ASSIGN125211100.00
CONT_ASSIGN125311100.00
CONT_ASSIGN126211100.00
CONT_ASSIGN126811100.00
CONT_ASSIGN126911100.00
CONT_ASSIGN127011100.00
CONT_ASSIGN127111100.00
CONT_ASSIGN127411100.00
CONT_ASSIGN128311100.00
CONT_ASSIGN132511100.00
CONT_ASSIGN133911100.00
CONT_ASSIGN134611100.00
CONT_ASSIGN135111100.00
ALWAYS13576583.33
CONT_ASSIGN136611100.00
CONT_ASSIGN136811100.00
ALWAYS138044100.00
CONT_ASSIGN138611100.00
ALWAYS140944100.00
ALWAYS141933100.00
CONT_ASSIGN143011100.00
CONT_ASSIGN143411100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.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
342 1 1
343 1 1
348 0 1
417 1 1
418 1 1
422 1 1
425 1 1
426 1 1
427 1 1
428 1 1
430 1 1
432 1 1
436 1 1
440 1 1
444 1 1
460 1 1
461 1 1
462 1 1
465 1 1
469 1 1
470 1 1
474 1 1
477 1 1
484 1 1
485 1 1
486 1 1
487 1 1
488 1 1
489 1 1
MISSING_ELSE
MISSING_ELSE
509 1 1
514 1 1
521 1 1
524 1 1
525 1 1
526 1 1
529 5 5
530 5 5
533 1 1
535 unreachable
537 1 1
541 1 1
543 1 1
544 1 1
547 1 1
548 1 1
551 1 1
559 1 1
560 1 1
561 1 1
562 1 1
564 1 1
569 1 1
576 1 1
577 1 1
578 1 1
588 1 1
608 2 2
609 1 1
612 1 1
631 1 1
636 1 1
639 1 1
641 1 1
646 1 1
650 1 1
654 1 1
658 0 1
662 0 1
675 1 1
680 0 1
687 1 1
697 1 1
717 3 3
721 1 1
723 1 1
724 1 1
726 1 1
728 1 1
730 1 1
731 1 1
734 1 1
737 1 1
743 1 1
744 1 1
746 1 1
751 1 1
752 1 1
753 1 1
755 1 1
761 1 1
766 1 1
767 1 1
769 1 1
771 1 1
777 1 1
778 1 1
780 1 1
786 1 1
787 1 1
799 1 1
800 1 1
MISSING_ELSE
871 1 1
874 1 1
938 1 1
940 1 1
970 1 1
975 1 1
976 1 1
978 1 1
981 unreachable
1099 1 1
1100 1 1
1251 0 1
1252 1 1
1253 1 1
1262 1 1
1268 1 1
1269 1 1
1270 1 1
1271 1 1
1274 1 1
1283 1 1
1325 1 1
1339 1 1
1346 1 1
1351 1 1
1357 1 1
1358 1 1
1359 1 1
1360 0 1
1361 1 1
1362 1 1
MISSING_ELSE
1366 1 1
1368 1 1
1380 1 1
1381 1 1
1382 1 1
1383 1 1
MISSING_ELSE
1386 1 1
1409 1 1
1410 1 1
1411 1 1
1413 1 1
MISSING_ELSE
1419 1 1
1420 1 1
1423 1 1
1430 1 1
1434 1 1
1436 6 6


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

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

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

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

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

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

 LINE       526
 EXPRESSION (reg2hw.cmd.entropy_req.q && reg2hw.cmd.entropy_req.qe)
             ------------1-----------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT19,T29,T31

 LINE       537
 EXPRESSION (reg2hw.cmd.hash_cnt_clr.qe && reg2hw.cmd.hash_cnt_clr.q)
             -------------1------------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT19,T29,T31

 LINE       541
 EXPRESSION (reg2hw.cfg_shadowed.entropy_ready.q & reg2hw.cfg_shadowed.entropy_ready.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT20,T21,T22
10CoveredT4,T5,T6
11CoveredT4,T5,T6

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

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

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

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

 LINE       569
 EXPRESSION (reg2hw.cfg_shadowed.err_processed.q & reg2hw.cfg_shadowed.err_processed.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT20,T21,T22
11CoveredT20,T21,T22

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

 LINE       631
 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
0001CoveredT17,T32,T33
0010Not Covered
0100CoveredT17,T20,T32
1000CoveredT26,T27,T28

 LINE       675
 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
0010CoveredT10,T11,T12
0100Unreachable
1000CoveredT10,T11,T12

 LINE       687
 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
000001CoveredT10,T11,T12
000010Unreachable
000100CoveredT10,T11,T12
001000CoveredT10,T11,T12
010000CoveredT10,T11,T12
100000CoveredT10,T11,T12

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

 LINE       730
 EXPRESSION (CShake == app_sha3_mode)
            ------------1------------
-1-StatusTests
0CoveredT14,T15,T16
1CoveredT4,T5,T6

 LINE       744
 EXPRESSION (app_kmac_en ? KmacKeyBlock : KmacMsgFeed)
             -----1-----
-1-StatusTests
0CoveredT17,T18,T19
1CoveredT4,T5,T6

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

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

 LINE       1339
 SUB-EXPRESSION (reg2hw.alert_test.fatal_fault_err.q & reg2hw.alert_test.fatal_fault_err.qe)
                 -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT54,T51,T55
10CoveredT4,T5,T6
11CoveredT54,T55,T56

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

 LINE       1368
 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
00010CoveredT10,T11,T12
00100CoveredT7,T8,T9
01000CoveredT10,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,T3,T57 Yes T1,T2,T3 INPUT
rst_shadowed_ni Yes Yes T1,T3,T57 Yes T1,T2,T3 INPUT
clk_edn_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_edn_ni Yes Yes T1,T3,T57 Yes T1,T2,T3 INPUT
tl_i.d_ready Yes Yes T2,T3,T57 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,T57,T58 Yes T1,T57,T58 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,T3,T57 Yes T1,T3,T57 INPUT
tl_i.a_address[31:0] Yes Yes T1,T3,T57 Yes T1,T3,T57 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,T3,T57 Yes T1,T3,T57 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 T1,T59,T60 Yes T1,T59,T60 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,T3,T57 Yes T1,T3,T57 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 T2,T3,T57 Yes T2,T3,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 T2,T3,T57 Yes T2,T3,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 T2,T3,T57 Yes T2,T3,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 T2,T3,T57 Yes T2,T3,T57 OUTPUT
keymgr_key_i.key[1:0][255:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
keymgr_key_i.valid Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[0].last Yes Yes T18,T19,T29 Yes T18,T19,T29 INPUT
app_i[0].strb[7:0] Yes Yes T19,T29,T31 Yes T19,T29,T31 INPUT
app_i[0].data[63:0] Yes Yes T18,T19,T29 Yes T18,T19,T29 INPUT
app_i[0].valid Yes Yes T18,T19,T29 Yes T18,T19,T29 INPUT
app_i[1].last Yes Yes T18,T19,T29 Yes T17,T18,T19 INPUT
app_i[1].strb[7:0] Yes Yes T19,T29,T31 Yes T19,T29,T31 INPUT
app_i[1].data[63:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[1].valid Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[2].last Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[2].strb[7:0] Yes Yes T19,T29,T31 Yes T19,T29,T31 INPUT
app_i[2].data[63:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[2].valid Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_o[0].error Yes Yes T3,T57,T61 Yes T3,T57,T61 OUTPUT
app_o[0].digest_share1[383:0] No No No OUTPUT
app_o[0].digest_share0[383:0] Yes Yes T18,T19,T29 Yes T18,T19,T29 OUTPUT
app_o[0].done Yes Yes T18,T19,T29 Yes T18,T19,T29 OUTPUT
app_o[0].ready Yes Yes T18,T19,T29 Yes T18,T19,T29 OUTPUT
app_o[1].error Yes Yes T26,T27,T28 Yes T26,T27,T28 OUTPUT
app_o[1].digest_share1[383:0] No No No OUTPUT
app_o[1].digest_share0[383:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[1].done Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[1].ready Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[2].error Yes Yes T26,T27,T28 Yes T26,T27,T28 OUTPUT
app_o[2].digest_share1[383:0] No No No OUTPUT
app_o[2].digest_share0[383:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[2].done Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[2].ready Yes Yes T17,T18,T19 Yes T17,T18,T19 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 T8,T9,T62 Yes T8,T9,T62 INPUT
intr_kmac_done_o Yes Yes T63,T64,T65 Yes T63,T64,T65 OUTPUT
intr_fifo_empty_o Yes Yes T63,T66,T67 Yes T63,T66,T67 OUTPUT
intr_kmac_err_o Yes Yes T3,T57,T68 Yes T3,T57,T68 OUTPUT
en_masking_o Unreachable Unreachable Unreachable OUTPUT
idle_o[3:0] Yes Yes T3,T57,T61 Yes T3,T57,T61 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 769 Covered T1
KmacIdle 737 Covered T1
KmacKeyBlock 744 Covered T1
KmacMsgFeed 734 Covered T1
KmacPrefix 731 Covered T1
KmacTerminalError 786 Covered T1


transitionsLine No.CoveredTests
KmacDigest->KmacIdle 778 Covered T1
KmacDigest->KmacTerminalError 800 Not Covered
KmacIdle->KmacMsgFeed 734 Covered T1
KmacIdle->KmacPrefix 731 Covered T1
KmacIdle->KmacTerminalError 800 Covered T1
KmacKeyBlock->KmacMsgFeed 753 Covered T1
KmacKeyBlock->KmacTerminalError 800 Covered T1
KmacMsgFeed->KmacDigest 769 Covered T1
KmacMsgFeed->KmacIdle 766 Covered T1
KmacMsgFeed->KmacTerminalError 800 Covered T1
KmacPrefix->KmacKeyBlock 744 Covered T1
KmacPrefix->KmacMsgFeed 744 Covered T1
KmacPrefix->KmacTerminalError 800 Covered T1



Branch Coverage for Module : kmac
Line No.TotalCoveredPercent
Branches 55 51 92.73
TERNARY 422 2 2 100.00
CASE 430 6 5 83.33
IF 484 3 3 100.00
IF 559 3 3 100.00
IF 608 2 2 100.00
CASE 641 6 4 66.67
IF 717 2 2 100.00
CASE 726 15 15 100.00
IF 799 2 2 100.00
TERNARY 1100 2 2 100.00
IF 1357 4 3 75.00
IF 1380 3 3 100.00
IF 1409 3 3 100.00
IF 1419 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-: 422 (cmd_update) ?

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


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

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


LineNo. Expression -1-: 484 if ((!rst_ni)) -2-: 486 if (engine_stable)

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


LineNo. Expression -1-: 559 if ((!rst_ni)) -2-: 561 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,T6


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

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


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

Branches:
-1-StatusTests
app_err.valid Covered T17,T20,T32
errchecker_err.valid Covered T17,T32,T33
sha3_err.valid Covered T26,T27,T28
entropy_err.valid Not Covered
msgfifo_err.valid Not Covered
default Covered T4,T5,T6


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

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


LineNo. Expression -1-: 726 case (kmac_st) -2-: 728 if ((kmac_cmd == CmdStart)) -3-: 730 if ((CShake == app_sha3_mode)) -4-: 743 if (sha3_block_processed) -5-: 744 (app_kmac_en) ? -6-: 752 if (sha3_block_processed) -7-: 761 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_true_strict(sha3_done))) -8-: 767 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_false_loose(sha3_done))) -9-: 777 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,T5,T6
KmacIdle 1 0 - - - - - - Covered T14,T15,T16
KmacIdle 0 - - - - - - - Covered T4,T5,T6
KmacPrefix - - 1 1 - - - - Covered T4,T5,T6
KmacPrefix - - 1 0 - - - - Covered T17,T18,T19
KmacPrefix - - 0 - - - - - Covered T4,T5,T6
KmacKeyBlock - - - - 1 - - - Covered T4,T5,T6
KmacKeyBlock - - - - 0 - - - Covered T4,T5,T6
KmacMsgFeed - - - - - 1 - - Covered T17,T18,T19
KmacMsgFeed - - - - - 0 1 - Covered T4,T5,T6
KmacMsgFeed - - - - - 0 0 - Covered T4,T5,T6
KmacDigest - - - - - - - 1 Covered T4,T5,T6
KmacDigest - - - - - - - 0 Covered T4,T5,T6
KmacTerminalError - - - - - - - - Covered T7,T8,T9
default - - - - - - - - Covered T10,T11,T12


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

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


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

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


LineNo. Expression -1-: 1357 if ((!rst_ni)) -2-: 1359 if (alert_recov_operation) -3-: 1361 if (err_processed)

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


LineNo. Expression -1-: 1380 if ((!rst_ni)) -2-: 1382 if (alert_fatal)

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


LineNo. Expression -1-: 1409 if ((!rst_ni)) -2-: 1411 if (alerts[1])

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


LineNo. Expression -1-: 1419 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 1322228 0 0
EnMaskingKnown_A 2147483647 2147483647 0 0
EntropyReadyLatched_A 2147483647 345758 0 0
EntrySizeRegSameToEntrySizePkg_A 1061 1061 0 0
ErrProcessedLatched_A 2147483647 546 0 0
FifoEmpty_A 2147483647 2147483647 0 0
FpvSecCmErrorCheckFsmCheck_A 2147483647 60 0 0
FpvSecCmKeccackFsmCheck_A 2147483647 60 0 0
FpvSecCmKeyIndexCountCheck_A 2147483647 60 0 0
FpvSecCmKmacAppFsmCheck_A 2147483647 60 0 0
FpvSecCmKmacCoreFsmCheck_A 2147483647 60 0 0
FpvSecCmKmacFsmCheck_A 2147483647 60 0 0
FpvSecCmRegWeOnehotCheck_A 2147483647 60 0 0
FpvSecCmRoundCountCheck_A 2147483647 60 0 0
FpvSecCmSHA3FsmCheck_A 2147483647 60 0 0
FpvSecCmSHA3padFsmCheck_A 2147483647 60 0 0
FpvSecCmSentMsgCountCheck_A 2147483647 60 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 1061 1061 0 0
NumEntriesRegSameToNumEntriesPkg_A 1061 1061 0 0
PrefixRegSameToPrefixPkg_A 1061 1061 0 0
SecretKeyDivideBy32_A 1061 1061 0 0
Sha3AbsorbedPulse_A 2147483647 355365 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 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

CmdSparse_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1322228 0 0
T4 20918 30 0 0
T5 16778 28 0 0
T6 20852 30 0 0
T13 21533 28 0 0
T14 145902 7939 0 0
T15 975860 1242 0 0
T16 491374 796 0 0
T17 163311 538 0 0
T18 296372 706 0 0
T19 940916 931 0 0

EnMaskingKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

EntropyReadyLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 345758 0 0
T4 20918 9 0 0
T5 16778 8 0 0
T6 20852 8 0 0
T13 21533 9 0 0
T14 145902 2198 0 0
T15 975860 376 0 0
T16 491374 239 0 0
T17 163311 70 0 0
T18 296372 132 0 0
T19 940916 196 0 0

EntrySizeRegSameToEntrySizePkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

ErrProcessedLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 546 0 0
T20 85880 16 0 0
T21 106915 17 0 0
T22 0 16 0 0
T26 130601 0 0 0
T32 708414 0 0 0
T37 329149 0 0 0
T46 507085 0 0 0
T47 68027 0 0 0
T52 133694 0 0 0
T69 0 9 0 0
T70 0 2 0 0
T71 0 18 0 0
T72 0 17 0 0
T73 0 2 0 0
T74 0 14 0 0
T75 0 16 0 0
T76 187935 0 0 0
T77 6144 0 0 0

FifoEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

FpvSecCmErrorCheckFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKeccackFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKeyIndexCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKmacAppFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKmacCoreFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKmacFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmRoundCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmSHA3FsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmSHA3padFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmSentMsgCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

KmacCmd_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

KmacDone_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

KmacErr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

KmacStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

NumAlerts2_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

NumEntriesRegSameToNumEntriesPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

PrefixRegSameToPrefixPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

SecretKeyDivideBy32_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

Sha3AbsorbedPulse_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 355365 0 0
T4 20918 9 0 0
T5 16778 9 0 0
T6 20852 9 0 0
T13 21533 9 0 0
T14 145902 2265 0 0
T15 975860 390 0 0
T16 491374 246 0 0
T17 163311 69 0 0
T18 296372 132 0 0
T19 940916 197 0 0

TlOAReadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

TlODValidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

Line Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
TOTAL16315796.32
ALWAYS34200
ALWAYS34222100.00
ALWAYS348100.00
CONT_ASSIGN41711100.00
CONT_ASSIGN41811100.00
CONT_ASSIGN42211100.00
ALWAYS42599100.00
CONT_ASSIGN46011100.00
CONT_ASSIGN46111100.00
CONT_ASSIGN46211100.00
CONT_ASSIGN46511100.00
CONT_ASSIGN46911100.00
CONT_ASSIGN47011100.00
CONT_ASSIGN47411100.00
CONT_ASSIGN47711100.00
ALWAYS48466100.00
CONT_ASSIGN50911100.00
CONT_ASSIGN51411100.00
CONT_ASSIGN52111100.00
CONT_ASSIGN52411100.00
CONT_ASSIGN52511100.00
CONT_ASSIGN52611100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN52911100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53011100.00
CONT_ASSIGN53311100.00
CONT_ASSIGN53500
CONT_ASSIGN53711100.00
CONT_ASSIGN54111100.00
CONT_ASSIGN54311100.00
CONT_ASSIGN54411100.00
CONT_ASSIGN54711100.00
CONT_ASSIGN54811100.00
CONT_ASSIGN55111100.00
ALWAYS55955100.00
CONT_ASSIGN56911100.00
CONT_ASSIGN57611100.00
CONT_ASSIGN57711100.00
CONT_ASSIGN57811100.00
CONT_ASSIGN58811100.00
ALWAYS60833100.00
CONT_ASSIGN61211100.00
CONT_ASSIGN63111100.00
CONT_ASSIGN63611100.00
ALWAYS6397571.43
CONT_ASSIGN67511100.00
CONT_ASSIGN680100.00
CONT_ASSIGN68711100.00
CONT_ASSIGN69711100.00
ALWAYS71733100.00
ALWAYS7212828100.00
CONT_ASSIGN87111100.00
CONT_ASSIGN87411100.00
CONT_ASSIGN93811100.00
CONT_ASSIGN94011100.00
CONT_ASSIGN97011100.00
CONT_ASSIGN97511100.00
CONT_ASSIGN97611100.00
CONT_ASSIGN97811100.00
CONT_ASSIGN98100
ALWAYS109900
ALWAYS109922100.00
CONT_ASSIGN1251100.00
CONT_ASSIGN125211100.00
CONT_ASSIGN125311100.00
CONT_ASSIGN126211100.00
CONT_ASSIGN126811100.00
CONT_ASSIGN126911100.00
CONT_ASSIGN127011100.00
CONT_ASSIGN127111100.00
CONT_ASSIGN127411100.00
CONT_ASSIGN128311100.00
CONT_ASSIGN132511100.00
CONT_ASSIGN133911100.00
CONT_ASSIGN134611100.00
CONT_ASSIGN135111100.00
ALWAYS13576583.33
CONT_ASSIGN136611100.00
CONT_ASSIGN136811100.00
ALWAYS138044100.00
CONT_ASSIGN138611100.00
ALWAYS140944100.00
ALWAYS141933100.00
CONT_ASSIGN143011100.00
CONT_ASSIGN143411100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.00
CONT_ASSIGN143611100.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
342 1 1
343 1 1
348 0 1
417 1 1
418 1 1
422 1 1
425 1 1
426 1 1
427 1 1
428 1 1
430 1 1
432 1 1
436 1 1
440 1 1
444 1 1
460 1 1
461 1 1
462 1 1
465 1 1
469 1 1
470 1 1
474 1 1
477 1 1
484 1 1
485 1 1
486 1 1
487 1 1
488 1 1
489 1 1
MISSING_ELSE
MISSING_ELSE
509 1 1
514 1 1
521 1 1
524 1 1
525 1 1
526 1 1
529 5 5
530 5 5
533 1 1
535 unreachable
537 1 1
541 1 1
543 1 1
544 1 1
547 1 1
548 1 1
551 1 1
559 1 1
560 1 1
561 1 1
562 1 1
564 1 1
569 1 1
576 1 1
577 1 1
578 1 1
588 1 1
608 2 2
609 1 1
612 1 1
631 1 1
636 1 1
639 1 1
641 1 1
646 1 1
650 1 1
654 1 1
658 0 1
662 0 1
675 1 1
680 0 1
687 1 1
697 1 1
717 3 3
721 1 1
723 1 1
724 1 1
726 1 1
728 1 1
730 1 1
731 1 1
734 1 1
737 1 1
743 1 1
744 1 1
746 1 1
751 1 1
752 1 1
753 1 1
755 1 1
761 1 1
766 1 1
767 1 1
769 1 1
771 1 1
777 1 1
778 1 1
780 1 1
786 1 1
787 1 1
799 1 1
800 1 1
MISSING_ELSE
871 1 1
874 1 1
938 1 1
940 1 1
970 1 1
975 1 1
976 1 1
978 1 1
981 unreachable
1099 1 1
1100 1 1
1251 0 1
1252 1 1
1253 1 1
1262 1 1
1268 1 1
1269 1 1
1270 1 1
1271 1 1
1274 1 1
1283 1 1
1325 1 1
1339 1 1
1346 1 1
1351 1 1
1357 1 1
1358 1 1
1359 1 1
1360 0 1
1361 1 1
1362 1 1
MISSING_ELSE
1366 1 1
1368 1 1
1380 1 1
1381 1 1
1382 1 1
1383 1 1
MISSING_ELSE
1386 1 1
1409 1 1
1410 1 1
1411 1 1
1413 1 1
MISSING_ELSE
1419 1 1
1420 1 1
1423 1 1
1430 1 1
1434 1 1
1436 6 6


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

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

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

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

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

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

 LINE       526
 EXPRESSION (reg2hw.cmd.entropy_req.q && reg2hw.cmd.entropy_req.qe)
             ------------1-----------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT19,T29,T31

 LINE       537
 EXPRESSION (reg2hw.cmd.hash_cnt_clr.qe && reg2hw.cmd.hash_cnt_clr.q)
             -------------1------------    ------------2------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT4,T5,T6
11CoveredT19,T29,T31

 LINE       541
 EXPRESSION (reg2hw.cfg_shadowed.entropy_ready.q & reg2hw.cfg_shadowed.entropy_ready.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT20,T21,T22
10CoveredT4,T5,T6
11CoveredT4,T5,T6

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

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

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

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

 LINE       569
 EXPRESSION (reg2hw.cfg_shadowed.err_processed.q & reg2hw.cfg_shadowed.err_processed.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT4,T5,T6
10CoveredT20,T21,T22
11CoveredT20,T21,T22

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

 LINE       631
 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
0001CoveredT17,T32,T33
0010Not Covered
0100CoveredT17,T20,T32
1000CoveredT26,T27,T28

 LINE       675
 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
0010CoveredT10,T11,T12
0100Unreachable
1000CoveredT10,T11,T12

 LINE       687
 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
000001CoveredT10,T11,T12
000010Unreachable
000100CoveredT10,T11,T12
001000CoveredT10,T11,T12
010000CoveredT10,T11,T12
100000CoveredT10,T11,T12

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

 LINE       730
 EXPRESSION (CShake == app_sha3_mode)
            ------------1------------
-1-StatusTests
0CoveredT14,T15,T16
1CoveredT4,T5,T6

 LINE       744
 EXPRESSION (app_kmac_en ? KmacKeyBlock : KmacMsgFeed)
             -----1-----
-1-StatusTests
0CoveredT17,T18,T19
1CoveredT4,T5,T6

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

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

 LINE       1339
 SUB-EXPRESSION (reg2hw.alert_test.fatal_fault_err.q & reg2hw.alert_test.fatal_fault_err.qe)
                 -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT54,T51,T55
10CoveredT4,T5,T6
11CoveredT54,T55,T56

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

 LINE       1368
 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
00010CoveredT10,T11,T12
00100CoveredT7,T8,T9
01000CoveredT10,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,T3,T57 Yes T1,T2,T3 INPUT
rst_shadowed_ni Yes Yes T1,T3,T57 Yes T1,T2,T3 INPUT
clk_edn_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_edn_ni Yes Yes T1,T3,T57 Yes T1,T2,T3 INPUT
tl_i.d_ready Yes Yes T2,T3,T57 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,T57,T58 Yes T1,T57,T58 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,T3,T57 Yes T1,T3,T57 INPUT
tl_i.a_address[31:0] Yes Yes T1,T3,T57 Yes T1,T3,T57 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,T3,T57 Yes T1,T3,T57 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 T1,T59,T60 Yes T1,T59,T60 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,T3,T57 Yes T1,T3,T57 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 T2,T3,T57 Yes T2,T3,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 T2,T3,T57 Yes T2,T3,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 T2,T3,T57 Yes T2,T3,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 T2,T3,T57 Yes T2,T3,T57 OUTPUT
keymgr_key_i.key[1:0][255:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
keymgr_key_i.valid Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[0].last Yes Yes T18,T19,T29 Yes T18,T19,T29 INPUT
app_i[0].strb[7:0] Yes Yes T19,T29,T31 Yes T19,T29,T31 INPUT
app_i[0].data[63:0] Yes Yes T18,T19,T29 Yes T18,T19,T29 INPUT
app_i[0].valid Yes Yes T18,T19,T29 Yes T18,T19,T29 INPUT
app_i[1].last Yes Yes T18,T19,T29 Yes T17,T18,T19 INPUT
app_i[1].strb[7:0] Yes Yes T19,T29,T31 Yes T19,T29,T31 INPUT
app_i[1].data[63:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[1].valid Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[2].last Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[2].strb[7:0] Yes Yes T19,T29,T31 Yes T19,T29,T31 INPUT
app_i[2].data[63:0] Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_i[2].valid Yes Yes T17,T18,T19 Yes T17,T18,T19 INPUT
app_o[0].error Yes Yes T3,T57,T61 Yes T3,T57,T61 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 T18,T19,T29 Yes T18,T19,T29 OUTPUT
app_o[0].done Yes Yes T18,T19,T29 Yes T18,T19,T29 OUTPUT
app_o[0].ready Yes Yes T18,T19,T29 Yes T18,T19,T29 OUTPUT
app_o[1].error Yes Yes T26,T27,T28 Yes T26,T27,T28 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 T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[1].done Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[1].ready Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[2].error Yes Yes T26,T27,T28 Yes T26,T27,T28 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 T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[2].done Yes Yes T17,T18,T19 Yes T17,T18,T19 OUTPUT
app_o[2].ready Yes Yes T17,T18,T19 Yes T17,T18,T19 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 T8,T9,T62 Yes T8,T9,T62 INPUT
intr_kmac_done_o Yes Yes T63,T64,T65 Yes T63,T64,T65 OUTPUT
intr_fifo_empty_o Yes Yes T63,T66,T67 Yes T63,T66,T67 OUTPUT
intr_kmac_err_o Yes Yes T3,T57,T68 Yes T3,T57,T68 OUTPUT
en_masking_o Unreachable Unreachable Unreachable OUTPUT
idle_o[3:0] Yes Yes T3,T57,T61 Yes T3,T57,T61 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 769 Covered T1
KmacIdle 737 Covered T1
KmacKeyBlock 744 Covered T1
KmacMsgFeed 734 Covered T1
KmacPrefix 731 Covered T1
KmacTerminalError 786 Covered T1


transitionsLine No.CoveredTests
KmacDigest->KmacIdle 778 Covered T1
KmacDigest->KmacTerminalError 800 Not Covered
KmacIdle->KmacMsgFeed 734 Covered T1
KmacIdle->KmacPrefix 731 Covered T1
KmacIdle->KmacTerminalError 800 Covered T1
KmacKeyBlock->KmacMsgFeed 753 Covered T1
KmacKeyBlock->KmacTerminalError 800 Covered T1
KmacMsgFeed->KmacDigest 769 Covered T1
KmacMsgFeed->KmacIdle 766 Covered T1
KmacMsgFeed->KmacTerminalError 800 Covered T1
KmacPrefix->KmacKeyBlock 744 Covered T1
KmacPrefix->KmacMsgFeed 744 Covered T1
KmacPrefix->KmacTerminalError 800 Covered T1



Branch Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
Branches 55 51 92.73
TERNARY 422 2 2 100.00
CASE 430 6 5 83.33
IF 484 3 3 100.00
IF 559 3 3 100.00
IF 608 2 2 100.00
CASE 641 6 4 66.67
IF 717 2 2 100.00
CASE 726 15 15 100.00
IF 799 2 2 100.00
TERNARY 1100 2 2 100.00
IF 1357 4 3 75.00
IF 1380 3 3 100.00
IF 1409 3 3 100.00
IF 1419 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-: 422 (cmd_update) ?

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


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

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


LineNo. Expression -1-: 484 if ((!rst_ni)) -2-: 486 if (engine_stable)

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


LineNo. Expression -1-: 559 if ((!rst_ni)) -2-: 561 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,T6


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

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


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

Branches:
-1-StatusTests
app_err.valid Covered T17,T20,T32
errchecker_err.valid Covered T17,T32,T33
sha3_err.valid Covered T26,T27,T28
entropy_err.valid Not Covered
msgfifo_err.valid Not Covered
default Covered T4,T5,T6


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

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


LineNo. Expression -1-: 726 case (kmac_st) -2-: 728 if ((kmac_cmd == CmdStart)) -3-: 730 if ((CShake == app_sha3_mode)) -4-: 743 if (sha3_block_processed) -5-: 744 (app_kmac_en) ? -6-: 752 if (sha3_block_processed) -7-: 761 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_true_strict(sha3_done))) -8-: 767 if ((prim_mubi_pkg::mubi4_test_true_strict(sha3_absorbed) && prim_mubi_pkg::mubi4_test_false_loose(sha3_done))) -9-: 777 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,T5,T6
KmacIdle 1 0 - - - - - - Covered T14,T15,T16
KmacIdle 0 - - - - - - - Covered T4,T5,T6
KmacPrefix - - 1 1 - - - - Covered T4,T5,T6
KmacPrefix - - 1 0 - - - - Covered T17,T18,T19
KmacPrefix - - 0 - - - - - Covered T4,T5,T6
KmacKeyBlock - - - - 1 - - - Covered T4,T5,T6
KmacKeyBlock - - - - 0 - - - Covered T4,T5,T6
KmacMsgFeed - - - - - 1 - - Covered T17,T18,T19
KmacMsgFeed - - - - - 0 1 - Covered T4,T5,T6
KmacMsgFeed - - - - - 0 0 - Covered T4,T5,T6
KmacDigest - - - - - - - 1 Covered T4,T5,T6
KmacDigest - - - - - - - 0 Covered T4,T5,T6
KmacTerminalError - - - - - - - - Covered T7,T8,T9
default - - - - - - - - Covered T10,T11,T12


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

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


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

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


LineNo. Expression -1-: 1357 if ((!rst_ni)) -2-: 1359 if (alert_recov_operation) -3-: 1361 if (err_processed)

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


LineNo. Expression -1-: 1380 if ((!rst_ni)) -2-: 1382 if (alert_fatal)

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


LineNo. Expression -1-: 1409 if ((!rst_ni)) -2-: 1411 if (alerts[1])

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


LineNo. Expression -1-: 1419 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 1322228 0 0
EnMaskingKnown_A 2147483647 2147483647 0 0
EntropyReadyLatched_A 2147483647 345758 0 0
EntrySizeRegSameToEntrySizePkg_A 1061 1061 0 0
ErrProcessedLatched_A 2147483647 546 0 0
FifoEmpty_A 2147483647 2147483647 0 0
FpvSecCmErrorCheckFsmCheck_A 2147483647 60 0 0
FpvSecCmKeccackFsmCheck_A 2147483647 60 0 0
FpvSecCmKeyIndexCountCheck_A 2147483647 60 0 0
FpvSecCmKmacAppFsmCheck_A 2147483647 60 0 0
FpvSecCmKmacCoreFsmCheck_A 2147483647 60 0 0
FpvSecCmKmacFsmCheck_A 2147483647 60 0 0
FpvSecCmRegWeOnehotCheck_A 2147483647 60 0 0
FpvSecCmRoundCountCheck_A 2147483647 60 0 0
FpvSecCmSHA3FsmCheck_A 2147483647 60 0 0
FpvSecCmSHA3padFsmCheck_A 2147483647 60 0 0
FpvSecCmSentMsgCountCheck_A 2147483647 60 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 1061 1061 0 0
NumEntriesRegSameToNumEntriesPkg_A 1061 1061 0 0
PrefixRegSameToPrefixPkg_A 1061 1061 0 0
SecretKeyDivideBy32_A 1061 1061 0 0
Sha3AbsorbedPulse_A 2147483647 355365 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 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

CmdSparse_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1322228 0 0
T4 20918 30 0 0
T5 16778 28 0 0
T6 20852 30 0 0
T13 21533 28 0 0
T14 145902 7939 0 0
T15 975860 1242 0 0
T16 491374 796 0 0
T17 163311 538 0 0
T18 296372 706 0 0
T19 940916 931 0 0

EnMaskingKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

EntropyReadyLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 345758 0 0
T4 20918 9 0 0
T5 16778 8 0 0
T6 20852 8 0 0
T13 21533 9 0 0
T14 145902 2198 0 0
T15 975860 376 0 0
T16 491374 239 0 0
T17 163311 70 0 0
T18 296372 132 0 0
T19 940916 196 0 0

EntrySizeRegSameToEntrySizePkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

ErrProcessedLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 546 0 0
T20 85880 16 0 0
T21 106915 17 0 0
T22 0 16 0 0
T26 130601 0 0 0
T32 708414 0 0 0
T37 329149 0 0 0
T46 507085 0 0 0
T47 68027 0 0 0
T52 133694 0 0 0
T69 0 9 0 0
T70 0 2 0 0
T71 0 18 0 0
T72 0 17 0 0
T73 0 2 0 0
T74 0 14 0 0
T75 0 16 0 0
T76 187935 0 0 0
T77 6144 0 0 0

FifoEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

FpvSecCmErrorCheckFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKeccackFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKeyIndexCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKmacAppFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKmacCoreFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmKmacFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmRoundCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmSHA3FsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmSHA3padFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

FpvSecCmSentMsgCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 60 0 0
T10 246733 10 0 0
T11 0 10 0 0
T12 0 20 0 0
T78 0 10 0 0
T79 0 10 0 0
T80 178812 0 0 0
T81 640777 0 0 0
T82 8408 0 0 0
T83 54594 0 0 0
T84 36752 0 0 0
T85 140575 0 0 0
T86 187174 0 0 0
T87 614146 0 0 0
T88 77164 0 0 0

KmacCmd_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

KmacDone_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

KmacErr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

KmacStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

NumAlerts2_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

NumEntriesRegSameToNumEntriesPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

PrefixRegSameToPrefixPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

SecretKeyDivideBy32_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1061 1061 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 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
T18 1 1 0 0
T19 1 1 0 0

Sha3AbsorbedPulse_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 355365 0 0
T4 20918 9 0 0
T5 16778 9 0 0
T6 20852 9 0 0
T13 21533 9 0 0
T14 145902 2265 0 0
T15 975860 390 0 0
T16 491374 246 0 0
T17 163311 69 0 0
T18 296372 132 0 0
T19 940916 197 0 0

TlOAReadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

TlODValidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20918 20835 0 0
T5 16778 16706 0 0
T6 20852 20788 0 0
T13 21533 21463 0 0
T14 145902 145901 0 0
T15 975860 975851 0 0
T16 491374 491368 0 0
T17 163311 163233 0 0
T18 296372 296301 0 0
T19 940916 940829 0 0

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