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

Module : kmac
SCORELINECONDTOGGLEFSMBRANCHASSERT
90.77 96.32 91.89 63.67 100.00 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 96.82 96.32 91.89 100.00 100.00 92.73 100.00



Module Instance : tb.dut

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
96.82 96.32 91.89 100.00 100.00 92.73 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
95.39 96.58 92.49 100.00 89.77 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 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.99 99.35 96.68 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,T6,T7

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

 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
11CoveredT11,T47,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
11CoveredT47,T38,T48

 LINE       541
 EXPRESSION (reg2hw.cfg_shadowed.entropy_ready.q & reg2hw.cfg_shadowed.entropy_ready.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT5,T32,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,T6,T7
101CoveredT4,T6,T8
110CoveredT4,T6,T14
111CoveredT4,T6,T8

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

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

 LINE       561
 SUB-EXPRESSION (msgfifo_empty || SecIdleAcceptSwMsg)
                 ------1------    ---------2--------
-1--2-StatusTests
0-CoveredT4,T6,T7
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
10CoveredT5,T22,T23
11CoveredT5,T22,T23

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

 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
0001CoveredT34,T49,T35
0010Not Covered
0100CoveredT5,T7,T9
1000CoveredT15,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
0010CoveredT11,T12,T13
0100Unreachable
1000CoveredT11,T12,T13

 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
000001CoveredT11,T12,T13
000010Unreachable
000100CoveredT11,T12,T13
001000CoveredT11,T12,T13
010000CoveredT11,T12,T13
100000CoveredT11,T12,T13

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

 LINE       730
 EXPRESSION (CShake == app_sha3_mode)
            ------------1------------
-1-StatusTests
0CoveredT6,T8,T14
1CoveredT4,T6,T7

 LINE       744
 EXPRESSION (app_kmac_en ? KmacKeyBlock : KmacMsgFeed)
             -----1-----
-1-StatusTests
0CoveredT6,T7,T14
1CoveredT4,T6,T14

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

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

 LINE       1339
 SUB-EXPRESSION (reg2hw.alert_test.fatal_fault_err.q & reg2hw.alert_test.fatal_fault_err.qe)
                 -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT21,T44,T50
10CoveredT4,T5,T6
11CoveredT21,T44,T50

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

 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
00010CoveredT11,T12,T13
00100CoveredT7,T9,T10
01000CoveredT11,T12,T13
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 T51,T52,T53 Yes T1,T2,T3 INPUT
rst_shadowed_ni Yes Yes T51,T52,T53 Yes T1,T2,T3 INPUT
clk_edn_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_edn_ni Yes Yes T51,T52,T53 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,T2,T3 Yes T1,T2,T3 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 T1,T51,T54 Yes T1,T51,T54 OUTPUT
tl_o.d_user.data_intg[6:0] Yes Yes T2,T3,T55 Yes T2,T3,T55 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,T55,T56 Yes T1,T3,T55 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,T55 Yes T2,T3,T55 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,T55 Yes T2,T3,T55 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,T55 Yes T2,T3,T55 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,T55 Yes T2,T3,T55 OUTPUT
keymgr_key_i.key[0][46:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][47] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][224:48] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][225] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][246:226] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][247] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][255:248] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][64:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][65] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][120:66] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][121] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][255:122] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.valid Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[0].last Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[0].strb[7:0] Yes Yes T33,T29,T47 Yes T33,T29,T47 INPUT
app_i[0].data[63:0] Yes Yes T5,T6,T14 Yes T5,T6,T14 INPUT
app_i[0].valid Yes Yes T5,T6,T7 Yes T5,T6,T7 INPUT
app_i[1].last Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[1].strb[7:0] Yes Yes T33,T47,T38 Yes T33,T47,T38 INPUT
app_i[1].data[63:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[1].valid Yes Yes T6,T7,T14 Yes T6,T7,T14 INPUT
app_i[2].last Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[2].strb[7:0] Yes Yes T47,T57,T38 Yes T47,T57,T38 INPUT
app_i[2].data[63:0] Yes Yes T6,T7,T14 Yes T6,T7,T14 INPUT
app_i[2].valid Yes Yes T6,T7,T14 Yes T6,T7,T14 INPUT
app_o[0].error Yes Yes T52,T53,T58 Yes T52,T53,T58 OUTPUT
app_o[0].digest_share1[383:0] No No No OUTPUT
app_o[0].digest_share0[383:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[0].done Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[0].ready Yes Yes T5,T6,T14 Yes T5,T6,T14 OUTPUT
app_o[1].error Yes Yes T15,T28,T37 Yes T15,T28,T37 OUTPUT
app_o[1].digest_share1[383:0] No No No OUTPUT
app_o[1].digest_share0[383:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[1].done Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[1].ready Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[2].error Yes Yes T7,T15,T28 Yes T7,T15,T28 OUTPUT
app_o[2].digest_share1[383:0] No No No OUTPUT
app_o[2].digest_share0[383:0] Yes Yes T6,T14,T27 Yes T6,T14,T27 OUTPUT
app_o[2].done Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[2].ready Yes Yes T6,T7,T14 Yes T6,T7,T14 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 T7,T9,T10 Yes T7,T9,T10 INPUT
intr_kmac_done_o Yes Yes T56,T59,T60 Yes T56,T59,T60 OUTPUT
intr_fifo_empty_o Yes Yes T56,T59,T60 Yes T56,T59,T60 OUTPUT
intr_kmac_err_o Yes Yes T56,T52,T59 Yes T56,T52,T59 OUTPUT
en_masking_o Unreachable Unreachable Unreachable OUTPUT
idle_o[3:0] Yes Yes T52,T53,T58 Yes T52,T53,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 13 100.00
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 Covered T1
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,T6,T7
CmdProcess Covered T4,T6,T8
CmdManualRun Covered T6,T8,T14
CmdDone Covered T4,T6,T8
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,T6,T7


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,T6,T7


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 T5,T7,T9
errchecker_err.valid Covered T34,T49,T35
sha3_err.valid Covered T15,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,T6,T7
KmacIdle 1 0 - - - - - - Covered T6,T8,T14
KmacIdle 0 - - - - - - - Covered T4,T5,T6
KmacPrefix - - 1 1 - - - - Covered T4,T6,T14
KmacPrefix - - 1 0 - - - - Covered T6,T7,T14
KmacPrefix - - 0 - - - - - Covered T4,T6,T7
KmacKeyBlock - - - - 1 - - - Covered T4,T6,T14
KmacKeyBlock - - - - 0 - - - Covered T4,T6,T14
KmacMsgFeed - - - - - 1 - - Covered T6,T14,T15
KmacMsgFeed - - - - - 0 1 - Covered T4,T6,T8
KmacMsgFeed - - - - - 0 0 - Covered T4,T6,T7
KmacDigest - - - - - - - 1 Covered T4,T6,T8
KmacDigest - - - - - - - 0 Covered T4,T6,T8
KmacTerminalError - - - - - - - - Covered T7,T9,T10
default - - - - - - - - Covered T11,T12,T13


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

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


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

Branches:
-1-StatusTests
1 Covered T4,T6,T8
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 T5,T22,T23
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,T9,T10
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,T9,T10
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 1308552 0 0
EnMaskingKnown_A 2147483647 2147483647 0 0
EntropyReadyLatched_A 2147483647 342745 0 0
EntrySizeRegSameToEntrySizePkg_A 1059 1059 0 0
ErrProcessedLatched_A 2147483647 502 0 0
FifoEmpty_A 2147483647 2147483647 0 0
FpvSecCmErrorCheckFsmCheck_A 2147483647 90 0 0
FpvSecCmKeccackFsmCheck_A 2147483647 90 0 0
FpvSecCmKeyIndexCountCheck_A 2147483647 90 0 0
FpvSecCmKmacAppFsmCheck_A 2147483647 90 0 0
FpvSecCmKmacCoreFsmCheck_A 2147483647 90 0 0
FpvSecCmKmacFsmCheck_A 2147483647 90 0 0
FpvSecCmRegWeOnehotCheck_A 2147483647 90 0 0
FpvSecCmRoundCountCheck_A 2147483647 90 0 0
FpvSecCmSHA3FsmCheck_A 2147483647 90 0 0
FpvSecCmSHA3padFsmCheck_A 2147483647 90 0 0
FpvSecCmSentMsgCountCheck_A 2147483647 90 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 1059 1059 0 0
NumEntriesRegSameToNumEntriesPkg_A 1059 1059 0 0
PrefixRegSameToPrefixPkg_A 1059 1059 0 0
SecretKeyDivideBy32_A 1059 1059 0 0
Sha3AbsorbedPulse_A 2147483647 352415 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 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

CmdSparse_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1308552 0 0
T4 20591 27 0 0
T5 88669 5 0 0
T6 839309 458 0 0
T7 3048 2 0 0
T8 10971 8 0 0
T14 860097 536 0 0
T15 105122 1063 0 0
T16 747377 1139 0 0
T17 632838 1249 0 0
T18 0 428 0 0
T21 1437 0 0 0

EnMaskingKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

EntropyReadyLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 342745 0 0
T4 20591 9 0 0
T5 88669 16 0 0
T6 839309 89 0 0
T7 3048 1 0 0
T8 10971 1 0 0
T14 860097 104 0 0
T15 105122 183 0 0
T16 747377 156 0 0
T17 632838 377 0 0
T18 0 60 0 0
T21 1437 0 0 0

EntrySizeRegSameToEntrySizePkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

ErrProcessedLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 502 0 0
T5 88669 16 0 0
T6 839309 0 0 0
T7 3048 0 0 0
T8 10971 0 0 0
T14 860097 0 0 0
T15 105122 0 0 0
T16 747377 0 0 0
T17 632838 0 0 0
T18 280068 0 0 0
T21 1437 0 0 0
T22 0 1 0 0
T23 0 7 0 0
T61 0 6 0 0
T62 0 2 0 0
T63 0 6 0 0
T64 0 2 0 0
T65 0 7 0 0
T66 0 13 0 0
T67 0 1 0 0

FifoEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

FpvSecCmErrorCheckFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKeccackFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKeyIndexCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKmacAppFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKmacCoreFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKmacFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmRoundCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmSHA3FsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmSHA3padFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmSentMsgCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

KmacCmd_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

KmacDone_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

KmacErr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

KmacStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

NumAlerts2_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

NumEntriesRegSameToNumEntriesPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

PrefixRegSameToPrefixPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

SecretKeyDivideBy32_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

Sha3AbsorbedPulse_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 352415 0 0
T4 20591 9 0 0
T5 88669 0 0 0
T6 839309 90 0 0
T7 3048 0 0 0
T8 10971 1 0 0
T14 860097 104 0 0
T15 105122 187 0 0
T16 747377 158 0 0
T17 632838 390 0 0
T18 0 61 0 0
T19 0 2265 0 0
T20 0 374 0 0
T21 1437 0 0 0

TlOAReadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

TlODValidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 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,T6,T7

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

 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
11CoveredT11,T47,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
11CoveredT47,T38,T48

 LINE       541
 EXPRESSION (reg2hw.cfg_shadowed.entropy_ready.q & reg2hw.cfg_shadowed.entropy_ready.qe)
             -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT5,T32,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,T6,T7
101CoveredT4,T6,T8
110CoveredT4,T6,T14
111CoveredT4,T6,T8

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

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

 LINE       561
 SUB-EXPRESSION (msgfifo_empty || SecIdleAcceptSwMsg)
                 ------1------    ---------2--------
-1--2-StatusTests
0-CoveredT4,T6,T7
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
10CoveredT5,T22,T23
11CoveredT5,T22,T23

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

 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
0001CoveredT34,T49,T35
0010Not Covered
0100CoveredT5,T7,T9
1000CoveredT15,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
0010CoveredT11,T12,T13
0100Unreachable
1000CoveredT11,T12,T13

 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
000001CoveredT11,T12,T13
000010Unreachable
000100CoveredT11,T12,T13
001000CoveredT11,T12,T13
010000CoveredT11,T12,T13
100000CoveredT11,T12,T13

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

 LINE       730
 EXPRESSION (CShake == app_sha3_mode)
            ------------1------------
-1-StatusTests
0CoveredT6,T8,T14
1CoveredT4,T6,T7

 LINE       744
 EXPRESSION (app_kmac_en ? KmacKeyBlock : KmacMsgFeed)
             -----1-----
-1-StatusTests
0CoveredT6,T7,T14
1CoveredT4,T6,T14

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

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

 LINE       1339
 SUB-EXPRESSION (reg2hw.alert_test.fatal_fault_err.q & reg2hw.alert_test.fatal_fault_err.qe)
                 -----------------1-----------------   ------------------2-----------------
-1--2-StatusTests
01CoveredT21,T44,T50
10CoveredT4,T5,T6
11CoveredT21,T44,T50

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

 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
00010CoveredT11,T12,T13
00100CoveredT7,T9,T10
01000CoveredT11,T12,T13
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 T51,T52,T53 Yes T1,T2,T3 INPUT
rst_shadowed_ni Yes Yes T51,T52,T53 Yes T1,T2,T3 INPUT
clk_edn_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_edn_ni Yes Yes T51,T52,T53 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,T2,T3 Yes T1,T2,T3 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 T1,T51,T54 Yes T1,T51,T54 OUTPUT
tl_o.d_user.data_intg[6:0] Yes Yes T2,T3,T55 Yes T2,T3,T55 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,T55,T56 Yes T1,T3,T55 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,T55 Yes T2,T3,T55 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,T55 Yes T2,T3,T55 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,T55 Yes T2,T3,T55 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,T55 Yes T2,T3,T55 OUTPUT
keymgr_key_i.key[0][46:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][47] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][224:48] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][225] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][246:226] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][247] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[0][255:248] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][64:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][65] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][120:66] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][121] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.key[1][255:122] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
keymgr_key_i.valid Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[0].last Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[0].strb[7:0] Yes Yes T33,T29,T47 Yes T33,T29,T47 INPUT
app_i[0].data[63:0] Yes Yes T5,T6,T14 Yes T5,T6,T14 INPUT
app_i[0].valid Yes Yes T5,T6,T7 Yes T5,T6,T7 INPUT
app_i[1].last Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[1].strb[7:0] Yes Yes T33,T47,T38 Yes T33,T47,T38 INPUT
app_i[1].data[63:0] Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[1].valid Yes Yes T6,T7,T14 Yes T6,T7,T14 INPUT
app_i[2].last Yes Yes T6,T14,T15 Yes T6,T14,T15 INPUT
app_i[2].strb[7:0] Yes Yes T47,T57,T38 Yes T47,T57,T38 INPUT
app_i[2].data[63:0] Yes Yes T6,T7,T14 Yes T6,T7,T14 INPUT
app_i[2].valid Yes Yes T6,T7,T14 Yes T6,T7,T14 INPUT
app_o[0].error Yes Yes T52,T53,T58 Yes T52,T53,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 T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[0].done Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[0].ready Yes Yes T5,T6,T14 Yes T5,T6,T14 OUTPUT
app_o[1].error Yes Yes T15,T28,T37 Yes T15,T28,T37 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 T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[1].done Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[1].ready Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[2].error Yes Yes T7,T15,T28 Yes T7,T15,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 T6,T14,T27 Yes T6,T14,T27 OUTPUT
app_o[2].done Yes Yes T6,T14,T15 Yes T6,T14,T15 OUTPUT
app_o[2].ready Yes Yes T6,T7,T14 Yes T6,T7,T14 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 T7,T9,T10 Yes T7,T9,T10 INPUT
intr_kmac_done_o Yes Yes T56,T59,T60 Yes T56,T59,T60 OUTPUT
intr_fifo_empty_o Yes Yes T56,T59,T60 Yes T56,T59,T60 OUTPUT
intr_kmac_err_o Yes Yes T56,T52,T59 Yes T56,T52,T59 OUTPUT
en_masking_o Unreachable Unreachable Unreachable OUTPUT
idle_o[3:0] Yes Yes T52,T53,T58 Yes T52,T53,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 13 100.00
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 Covered T1
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,T6,T7
CmdProcess Covered T4,T6,T8
CmdManualRun Covered T6,T8,T14
CmdDone Covered T4,T6,T8
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,T6,T7


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,T6,T7


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 T5,T7,T9
errchecker_err.valid Covered T34,T49,T35
sha3_err.valid Covered T15,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,T6,T7
KmacIdle 1 0 - - - - - - Covered T6,T8,T14
KmacIdle 0 - - - - - - - Covered T4,T5,T6
KmacPrefix - - 1 1 - - - - Covered T4,T6,T14
KmacPrefix - - 1 0 - - - - Covered T6,T7,T14
KmacPrefix - - 0 - - - - - Covered T4,T6,T7
KmacKeyBlock - - - - 1 - - - Covered T4,T6,T14
KmacKeyBlock - - - - 0 - - - Covered T4,T6,T14
KmacMsgFeed - - - - - 1 - - Covered T6,T14,T15
KmacMsgFeed - - - - - 0 1 - Covered T4,T6,T8
KmacMsgFeed - - - - - 0 0 - Covered T4,T6,T7
KmacDigest - - - - - - - 1 Covered T4,T6,T8
KmacDigest - - - - - - - 0 Covered T4,T6,T8
KmacTerminalError - - - - - - - - Covered T7,T9,T10
default - - - - - - - - Covered T11,T12,T13


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

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


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

Branches:
-1-StatusTests
1 Covered T4,T6,T8
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 T5,T22,T23
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,T9,T10
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,T9,T10
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 1308552 0 0
EnMaskingKnown_A 2147483647 2147483647 0 0
EntropyReadyLatched_A 2147483647 342745 0 0
EntrySizeRegSameToEntrySizePkg_A 1059 1059 0 0
ErrProcessedLatched_A 2147483647 502 0 0
FifoEmpty_A 2147483647 2147483647 0 0
FpvSecCmErrorCheckFsmCheck_A 2147483647 90 0 0
FpvSecCmKeccackFsmCheck_A 2147483647 90 0 0
FpvSecCmKeyIndexCountCheck_A 2147483647 90 0 0
FpvSecCmKmacAppFsmCheck_A 2147483647 90 0 0
FpvSecCmKmacCoreFsmCheck_A 2147483647 90 0 0
FpvSecCmKmacFsmCheck_A 2147483647 90 0 0
FpvSecCmRegWeOnehotCheck_A 2147483647 90 0 0
FpvSecCmRoundCountCheck_A 2147483647 90 0 0
FpvSecCmSHA3FsmCheck_A 2147483647 90 0 0
FpvSecCmSHA3padFsmCheck_A 2147483647 90 0 0
FpvSecCmSentMsgCountCheck_A 2147483647 90 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 1059 1059 0 0
NumEntriesRegSameToNumEntriesPkg_A 1059 1059 0 0
PrefixRegSameToPrefixPkg_A 1059 1059 0 0
SecretKeyDivideBy32_A 1059 1059 0 0
Sha3AbsorbedPulse_A 2147483647 352415 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 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

CmdSparse_M
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 1308552 0 0
T4 20591 27 0 0
T5 88669 5 0 0
T6 839309 458 0 0
T7 3048 2 0 0
T8 10971 8 0 0
T14 860097 536 0 0
T15 105122 1063 0 0
T16 747377 1139 0 0
T17 632838 1249 0 0
T18 0 428 0 0
T21 1437 0 0 0

EnMaskingKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

EntropyReadyLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 342745 0 0
T4 20591 9 0 0
T5 88669 16 0 0
T6 839309 89 0 0
T7 3048 1 0 0
T8 10971 1 0 0
T14 860097 104 0 0
T15 105122 183 0 0
T16 747377 156 0 0
T17 632838 377 0 0
T18 0 60 0 0
T21 1437 0 0 0

EntrySizeRegSameToEntrySizePkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

ErrProcessedLatched_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 502 0 0
T5 88669 16 0 0
T6 839309 0 0 0
T7 3048 0 0 0
T8 10971 0 0 0
T14 860097 0 0 0
T15 105122 0 0 0
T16 747377 0 0 0
T17 632838 0 0 0
T18 280068 0 0 0
T21 1437 0 0 0
T22 0 1 0 0
T23 0 7 0 0
T61 0 6 0 0
T62 0 2 0 0
T63 0 6 0 0
T64 0 2 0 0
T65 0 7 0 0
T66 0 13 0 0
T67 0 1 0 0

FifoEmpty_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

FpvSecCmErrorCheckFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKeccackFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKeyIndexCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKmacAppFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKmacCoreFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmKmacFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmRoundCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmSHA3FsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmSHA3padFsmCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

FpvSecCmSentMsgCountCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 90 0 0
T11 353500 20 0 0
T12 304791 20 0 0
T13 0 10 0 0
T47 371387 0 0 0
T68 0 20 0 0
T69 0 20 0 0
T70 152210 0 0 0
T71 523993 0 0 0
T72 187413 0 0 0
T73 464264 0 0 0
T74 412796 0 0 0
T75 379809 0 0 0
T76 472925 0 0 0

KmacCmd_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

KmacDone_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

KmacErr_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

KmacStKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

NumAlerts2_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

NumEntriesRegSameToNumEntriesPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

PrefixRegSameToPrefixPkg_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

SecretKeyDivideBy32_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 1059 1059 0 0
T4 1 1 0 0
T5 1 1 0 0
T6 1 1 0 0
T7 1 1 0 0
T8 1 1 0 0
T14 1 1 0 0
T15 1 1 0 0
T16 1 1 0 0
T17 1 1 0 0
T21 1 1 0 0

Sha3AbsorbedPulse_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 352415 0 0
T4 20591 9 0 0
T5 88669 0 0 0
T6 839309 90 0 0
T7 3048 0 0 0
T8 10971 1 0 0
T14 860097 104 0 0
T15 105122 187 0 0
T16 747377 158 0 0
T17 632838 390 0 0
T18 0 61 0 0
T19 0 2265 0 0
T20 0 374 0 0
T21 1437 0 0 0

TlOAReadyKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

TlODValidKnown_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

u_state_regs_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 2147483647 2147483647 0 0
T4 20591 20493 0 0
T5 88669 88578 0 0
T6 839309 839239 0 0
T7 3048 2917 0 0
T8 10971 10893 0 0
T14 860097 860024 0 0
T15 105122 105107 0 0
T16 747377 747320 0 0
T17 632838 632829 0 0
T21 1437 1351 0 0

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