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

Module : hmac
SCORELINECONDTOGGLEFSMBRANCHASSERT
82.74 94.02 73.91 100.00 40.00 88.51 100.00

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

Module self-instances :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
tb.dut 83.30 94.02 77.27 100.00 40.00 88.51 100.00



Module Instance : tb.dut

Instance :
SCORELINECONDTOGGLEFSMBRANCHASSERT
83.30 94.02 77.27 100.00 40.00 88.51 100.00


Instance's subtree :
SCORELINECONDTOGGLEFSMBRANCHASSERT
89.90 92.47 85.16 100.00 76.32 85.98 99.49


Parent :
SCORELINECONDTOGGLEFSMBRANCHASSERTNAME
tb


Subtrees :
NAMESCORELINECONDTOGGLEFSMBRANCHASSERT
gen_alert_tx[0].u_prim_alert_sender 100.00 100.00
hmac_csr_assert 100.00 100.00
intr_hw_fifo_empty 100.00 100.00 100.00 100.00 100.00
intr_hw_hmac_done 100.00 100.00 100.00 100.00 100.00
intr_hw_hmac_err 100.00 100.00 100.00 100.00 100.00
tlul_assert_device 100.00 100.00 100.00 100.00
u_hmac 89.78 95.33 78.98 100.00 84.81
u_msg_fifo 100.00 100.00 100.00 100.00 100.00
u_packer 100.00 100.00 100.00 100.00 100.00
u_prim_sha2_512 70.71 80.38 53.67 76.00 72.77
u_reg 98.22 94.80 97.60 100.00 98.72 100.00
u_tlul_adapter 88.86 94.06 88.52 80.25 92.59

Line Coverage for Module : hmac
Line No.TotalCoveredPercent
TOTAL18417394.02
CONT_ASSIGN12911100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
ALWAYS14315960.00
ALWAYS18433100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19211100.00
ALWAYS19677100.00
ALWAYS21033100.00
ALWAYS22100
ALWAYS2212121100.00
CONT_ASSIGN26111100.00
CONT_ASSIGN26511100.00
CONT_ASSIGN26611100.00
CONT_ASSIGN26811100.00
ALWAYS27055100.00
CONT_ASSIGN28011100.00
ALWAYS28266100.00
CONT_ASSIGN29311100.00
CONT_ASSIGN29411100.00
CONT_ASSIGN29611100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN29811100.00
CONT_ASSIGN29911100.00
CONT_ASSIGN30011100.00
CONT_ASSIGN30111100.00
CONT_ASSIGN30311100.00
CONT_ASSIGN30411100.00
CONT_ASSIGN30511100.00
CONT_ASSIGN30611100.00
CONT_ASSIGN30911100.00
CONT_ASSIGN31011100.00
CONT_ASSIGN31511100.00
CONT_ASSIGN31611100.00
CONT_ASSIGN31711100.00
ALWAYS32066100.00
ALWAYS33044100.00
ALWAYS36566100.00
CONT_ASSIGN41411100.00
CONT_ASSIGN42111100.00
CONT_ASSIGN42911100.00
CONT_ASSIGN43111100.00
ALWAYS43455100.00
CONT_ASSIGN47511100.00
CONT_ASSIGN47811100.00
CONT_ASSIGN48411100.00
CONT_ASSIGN48911100.00
CONT_ASSIGN49011100.00
CONT_ASSIGN49211100.00
CONT_ASSIGN49311100.00
CONT_ASSIGN49411100.00
ALWAYS4988562.50
CONT_ASSIGN56711100.00
ALWAYS57233100.00
ALWAYS58033100.00
ALWAYS58510880.00
CONT_ASSIGN60211100.00
CONT_ASSIGN60311100.00
CONT_ASSIGN61011100.00
CONT_ASSIGN61111100.00
CONT_ASSIGN71911100.00
CONT_ASSIGN74711100.00
CONT_ASSIGN74811100.00
CONT_ASSIGN74911100.00
ALWAYS75266100.00
CONT_ASSIGN76811100.00
ALWAYS77366100.00
CONT_ASSIGN81011100.00
CONT_ASSIGN81411100.00
ALWAYS81633100.00
CONT_ASSIGN82211100.00
ALWAYS84466100.00
ALWAYS85166100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_hmac_0.1/rtl/hmac.sv' or '../src/lowrisc_ip_hmac_0.1/rtl/hmac.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
129 1 1
130 1 1
131 1 1
143 1 1
144 1 1
146 1 1
148 1 1
150 1 1
151 1 1
153 0 1
MISSING_ELSE
158 1 1
159 1 1
160 1 1
MISSING_ELSE
165 0 1
168 0 1
==> MISSING_ELSE
173 0 1
174 0 1
175 0 1
==> MISSING_ELSE
184 1 1
185 1 1
187 1 1
191 1 1
192 1 1
196 1 1
197 1 1
198 1 1
199 1 1
201 1 1
202 1 1
203 1 1
MISSING_ELSE
MISSING_ELSE
210 2 2
211 1 1
221 1 1
223 1 1
225 1 1
226 1 1
MISSING_ELSE
229 1 1
231 1 1
232 1 1
234 1 1
236 1 1
237 1 1
239 1 1
241 1 1
242 1 1
244 1 1
245 1 1
247 1 1
248 1 1
250 1 1
251 1 1
253 1 1
254 1 1
MISSING_ELSE
261 1 1
265 1 1
266 1 1
268 1 1
270 1 1
271 1 1
272 1 1
273 1 1
274 1 1
280 1 1
282 1 1
283 1 1
284 1 1
285 1 1
286 1 1
287 1 1
293 1 1
294 1 1
296 1 1
297 1 1
298 1 1
299 1 1
300 1 1
301 1 1
303 1 1
304 1 1
305 1 1
306 1 1
309 1 1
310 1 1
315 1 1
316 1 1
317 1 1
320 1 1
321 1 1
322 1 1
323 1 1
324 1 1
325 1 1
MISSING_ELSE
330 1 1
331 1 1
358 1 1
359 1 1
MISSING_ELSE
365 1 1
366 1 1
367 1 1
368 1 1
369 1 1
370 1 1
MISSING_ELSE
414 1 1
421 1 1
429 1 1
431 1 1
434 1 1
435 1 1
436 1 1
438 1 1
439 1 1
475 1 1
478 1 1
484 1 1
489 1 1
490 1 1
492 1 1
493 1 1
494 1 1
498 1 1
499 1 1
500 1 1
502 1 1
503 0 1
505 0 1
506 0 1
==> MISSING_ELSE
509 1 1
567 1 1
572 1 1
573 1 1
574 1 1
580 2 2
581 1 1
585 1 1
586 1 1
587 1 1
588 0 1
MISSING_ELSE
590 1 1
591 0 1
MISSING_ELSE
MISSING_ELSE
595 1 1
596 1 1
597 1 1
598 1 1
MISSING_ELSE
602 1 1
603 1 1
610 1 1
611 1 1
719 1 1
747 1 1
748 1 1
749 1 1
752 1 1
753 1 1
754 1 1
755 1 1
756 1 1
MISSING_ELSE
760 1 1
768 1 1
773 1 1
774 1 1
776 1 1
780 1 1
784 1 1
788 1 1
810 1 1
814 1 1
816 1 1
817 1 1
819 1 1
822 1 1
844 2 2
845 2 2
846 2 2
MISSING_ELSE
851 2 2
852 2 2
853 2 2
MISSING_ELSE


Cond Coverage for Module : hmac
TotalCoveredPercent
Conditions13810273.91
Logical13810273.91
Non-Logical00
Event00

 LINE       165
 EXPRESSION (sha_message_length[8:0] == '0)
            ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       231
 EXPRESSION (digest_size == SHA2_256)
            ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       241
 EXPRESSION ((digest_size == SHA2_384) || (digest_size == SHA2_512))
             ------------1------------    ------------2------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT15,T16,T17
10CoveredT6,T18,T19

 LINE       241
 SUB-EXPRESSION (digest_size == SHA2_384)
                ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT6,T18,T19

 LINE       241
 SUB-EXPRESSION (digest_size == SHA2_512)
                ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT15,T16,T17

 LINE       242
 EXPRESSION (((i % 2) == 0) && (i < 15))
             -------1------    ----2---
-1--2-StatusTests
01CoveredT6,T18,T19
10Not Covered
11CoveredT6,T18,T19

 LINE       242
 SUB-EXPRESSION ((i % 2) == 0)
                -------1------
-1-StatusTests
0CoveredT6,T18,T19
1CoveredT6,T18,T19

 LINE       248
 EXPRESSION (reg2hw.digest[i].qe | reg2hw.digest[(i + 1)].qe)
             ---------1---------   ------------2------------
-1--2-StatusTests
00CoveredT6,T18,T19
01Not Covered
10Not Covered

 LINE       254
 EXPRESSION (reg2hw.digest[i].qe | reg2hw.digest[(i - 1)].qe)
             ---------1---------   ------------2------------
-1--2-StatusTests
00CoveredT6,T18,T19
01Not Covered
10Not Covered

 LINE       303
 EXPRESSION (reg2hw.cmd.hash_start.qe & reg2hw.cmd.hash_start.q)
             ------------1-----------   -----------2-----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT2,T3,T4

 LINE       304
 EXPRESSION (reg2hw.cmd.hash_stop.qe & reg2hw.cmd.hash_stop.q)
             -----------1-----------   -----------2----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11Not Covered

 LINE       305
 EXPRESSION (reg2hw.cmd.hash_continue.qe & reg2hw.cmd.hash_continue.q)
             -------------1-------------   -------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11Not Covered

 LINE       306
 EXPRESSION (reg2hw.cmd.hash_process.qe & reg2hw.cmd.hash_process.q)
             -------------1------------   ------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT2,T3,T4

 LINE       315
 EXPRESSION (reg_hash_start & sha_en & ((~cfg_block)))
             -------1------   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT2,T3,T4
101CoveredT6,T20,T18
110CoveredT6,T20,T18
111CoveredT2,T3,T4

 LINE       316
 EXPRESSION (reg_hash_continue & sha_en & ((~cfg_block)))
             --------1--------   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT2,T3,T4
101Not Covered
110Not Covered
111Not Covered

 LINE       317
 EXPRESSION (hash_start | hash_continue)
             -----1----   ------2------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       324
 EXPRESSION (reg_hash_done || reg_hash_stop)
             ------1------    ------2------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       358
 EXPRESSION (((!cfg_block)) && reg2hw.cfg.hmac_en.qe)
             -------1------    ----------2----------
-1--2-StatusTests
01CoveredT3,T4,T6
10CoveredT1,T2,T3
11CoveredT2,T3,T4

 LINE       414
 EXPRESSION (fifo_empty_q & ((~fifo_empty)))
             ------1-----   -------2-------
-1--2-StatusTests
01CoveredT2,T3,T4
10CoveredT1,T2,T3
11CoveredT2,T3,T4

 LINE       421
 EXPRESSION 
 Number  Term
      1  fifo_full ? 1'b1 : (fifo_empty_negedge ? 1'b0 : ((reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop) ? 1'b0 : fifo_full_seen_q)))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       421
 SUB-EXPRESSION (fifo_empty_negedge ? 1'b0 : ((reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop) ? 1'b0 : fifo_full_seen_q))
                 ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       421
 SUB-EXPRESSION ((reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop) ? 1'b0 : fifo_full_seen_q)
                 -------------------------------------1------------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       421
 SUB-EXPRESSION (reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop)
                 -------1------    --------2--------    --------3-------    ------4------
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001Not Covered
0010CoveredT2,T3,T4
0100Not Covered
1000CoveredT2,T3,T4

 LINE       429
 EXPRESSION (((~msg_allowed)) || ((~fifo_full_seen_q)))
             --------1-------    ----------2----------
-1--2-StatusTests
00CoveredT2,T5,T21
01CoveredT2,T3,T4
10CoveredT1,T2,T3

 LINE       431
 EXPRESSION (fifo_empty_gate ? 1'b0 : fifo_empty)
             -------1-------
-1-StatusTests
0CoveredT2,T5,T21
1CoveredT1,T2,T3

 LINE       475
 EXPRESSION (msg_fifo_req & ((~msg_fifo_we)))
             ------1-----   --------2-------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11Not Covered

 LINE       478
 EXPRESSION (msg_fifo_req & ((~hmac_fifo_wsel)) & packer_ready)
             ------1-----   ---------2---------   ------3-----
-1--2--3-StatusTests
011CoveredT1,T2,T3
101Not Covered
110UnreachableT2,T5,T22
111CoveredT2,T3,T4

 LINE       494
 EXPRESSION ((hmac_fifo_wsel && fifo_wready) ? hmac_fifo_wvalid : reg_fifo_wvalid)
             ---------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T4,T6

 LINE       494
 SUB-EXPRESSION (hmac_fifo_wsel && fifo_wready)
                 -------1------    -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT2,T4,T6

 LINE       500
 EXPRESSION (digest_size == SHA2_256)
            ------------1------------
-1-StatusTests
0Not Covered
1CoveredT2,T4,T6

 LINE       503
 EXPRESSION ((digest_size == SHA2_384) || (digest_size == SHA2_512))
             ------------1------------    ------------2------------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       503
 SUB-EXPRESSION (digest_size == SHA2_384)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       503
 SUB-EXPRESSION (digest_size == SHA2_512)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       519
 EXPRESSION (fifo_wvalid & sha_en)
             -----1-----   ---2--
-1--2-StatusTests
01CoveredT2,T3,T4
10Not Covered
11CoveredT2,T3,T4

 LINE       567
 EXPRESSION (msg_fifo_req & msg_fifo_we & ((~hmac_fifo_wsel)) & msg_allowed)
             ------1-----   -----2-----   ---------3---------   -----4-----
-1--2--3--4-StatusTests
0111CoveredT2,T3,T4
1011Not Covered
1101Not Covered
1110CoveredT6,T20,T18
1111CoveredT2,T3,T4

 LINE       597
 EXPRESSION (msg_write && sha_en && packer_ready)
             ----1----    ---2--    ------3-----
-1--2--3-StatusTests
011CoveredT2,T3,T4
101Not Covered
110UnreachableT2,T5,T22
111CoveredT2,T3,T4

 LINE       617
 EXPRESSION (msg_write & sha_en)
             ----1----   ---2--
-1--2-StatusTests
01CoveredT2,T3,T4
10Not Covered
11CoveredT2,T3,T4

 LINE       617
 EXPRESSION (fifo_wready & ((~hmac_fifo_wsel)))
             -----1-----   ---------2---------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T4,T6
11CoveredT1,T2,T3

 LINE       719
 SUB-EXPRESSION (reg2hw.alert_test.q & reg2hw.alert_test.qe)
                 ---------1---------   ----------2---------
-1--2-StatusTests
01CoveredT23,T24,T25
10CoveredT1,T2,T3
11CoveredT23,T24,T25

 LINE       747
 EXPRESSION ((reg_hash_start | reg_hash_continue) & ((~sha_en)))
             ------------------1-----------------   -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT6,T20,T18

 LINE       747
 SUB-EXPRESSION (reg_hash_start | reg_hash_continue)
                 -------1------   --------2--------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       748
 EXPRESSION ((reg_hash_start | reg_hash_continue) & cfg_block)
             ------------------1-----------------   ----2----
-1--2-StatusTests
01CoveredT2,T3,T4
10CoveredT2,T3,T4
11CoveredT6,T20,T18

 LINE       748
 SUB-EXPRESSION (reg_hash_start | reg_hash_continue)
                 -------1------   --------2--------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       749
 EXPRESSION (msg_fifo_req & ((~msg_allowed)))
             ------1-----   --------2-------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT6,T20,T18

 LINE       768
 EXPRESSION (((~reg2hw.intr_state.hmac_err.q)) & (hash_start_sha_disabled | update_seckey_inprocess | hash_start_active | msg_push_not_allowed))
             ----------------1----------------   -----------------------------------------------2----------------------------------------------
-1--2-StatusTests
01CoveredT6,T20,T18
10CoveredT1,T2,T3
11CoveredT3,T4,T6

 LINE       768
 SUB-EXPRESSION (hash_start_sha_disabled | update_seckey_inprocess | hash_start_active | msg_push_not_allowed)
                 -----------1-----------   -----------2-----------   --------3--------   ----------4---------
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001CoveredT6,T20,T18
0010CoveredT6,T20,T18
0100CoveredT3,T4,T6
1000CoveredT6,T20,T18

 LINE       810
 EXPRESSION (((!reg_fifo_wvalid)) && ((!fifo_rvalid)) && hmac_core_idle && sha_core_idle)
             ----------1---------    --------2-------    -------3------    ------4------
-1--2--3--4-StatusTests
0111Not Covered
1011Not Covered
1101CoveredT2,T4,T6
1110CoveredT2,T3,T6
1111CoveredT1,T2,T3

Toggle Coverage for Module : hmac
TotalCoveredPercent
Totals 30 30 100.00
Total Bits 346 346 100.00
Total Bits 0->1 173 173 100.00
Total Bits 1->0 173 173 100.00

Ports 30 30 100.00
Port Bits 346 346 100.00
Port Bits 0->1 173 173 100.00
Port Bits 1->0 173 173 100.00

Port Details
NameToggleToggle 1->0TestsToggle 0->1TestsDirection
clk_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_ni Yes Yes T1,T26,T27 Yes T1,T2,T3 INPUT
tl_i.d_ready Yes Yes T1,T4,T6 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,T3,T20 Yes T1,T3,T20 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 T8,T9,T10 Yes T8,T9,T10 OUTPUT
tl_o.d_user.data_intg[6:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,*T2,*T3 Yes T2,T3,T4 OUTPUT
tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_data[31:0] Yes Yes T1,T2,T3 Yes T2,T3,T4 OUTPUT
tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
tl_o.d_source[7:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
tl_o.d_size[1:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_opcode[0] Yes Yes *T2,*T3,*T4 Yes T2,T3,T4 OUTPUT
tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_rx_i[0].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[0].ack_p Yes Yes T1,T23,T24 Yes T1,T23,T24 INPUT
alert_rx_i[0].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[0].ping_p Unreachable Unreachable Unreachable INPUT
alert_tx_o[0].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[0].alert_p Yes Yes T1,T23,T24 Yes T1,T23,T24 OUTPUT
intr_hmac_done_o Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
intr_fifo_empty_o Yes Yes T21,T28,T29 Yes T21,T28,T29 OUTPUT
intr_hmac_err_o Yes Yes T3,T4,T6 Yes T3,T4,T6 OUTPUT
idle_o[3:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT

*Tests covering at least one bit in the range

FSM Coverage for Module : hmac
Summary for FSM :: done_state_q
TotalCoveredPercent
States 4 2 50.00 (Not included in score)
Transitions 5 2 40.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: done_state_q
statesLine No.CoveredTests
DoneAwaitCmd 160 Covered T1,T2,T3
DoneAwaitHashComplete 168 Not Covered
DoneAwaitHashDone 150 Covered T2,T3,T4
DoneAwaitMessageComplete 153 Not Covered


transitionsLine No.CoveredTests
DoneAwaitCmd->DoneAwaitHashDone 150 Covered T2,T3,T4
DoneAwaitCmd->DoneAwaitMessageComplete 153 Not Covered
DoneAwaitHashComplete->DoneAwaitCmd 175 Not Covered
DoneAwaitHashDone->DoneAwaitCmd 160 Covered T2,T3,T4
DoneAwaitMessageComplete->DoneAwaitHashComplete 168 Not Covered



Branch Coverage for Module : hmac
Line No.TotalCoveredPercent
Branches 87 77 88.51
TERNARY 421 4 4 100.00
TERNARY 431 2 2 100.00
TERNARY 494 2 2 100.00
CASE 146 10 4 40.00
IF 184 2 2 100.00
IF 197 3 3 100.00
IF 210 2 2 100.00
IF 223 2 2 100.00
IF 231 5 5 100.00
CASE 270 5 5 100.00
CASE 282 6 6 100.00
IF 320 4 4 100.00
IF 330 3 3 100.00
IF 365 4 4 100.00
IF 434 2 2 100.00
IF 498 4 2 50.00
IF 580 2 2 100.00
IF 586 5 3 60.00
IF 595 3 3 100.00
IF 753 2 2 100.00
CASE 774 5 5 100.00
IF 816 2 2 100.00
IF 844 4 4 100.00
IF 851 4 4 100.00

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

LineNo. Expression -1-: 421 (fifo_full) ? -2-: 421 (fifo_empty_negedge) ? -3-: 421 ((((reg_hash_start || reg_hash_continue) || reg_hash_process) || reg_hash_stop)) ?

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 431 (fifo_empty_gate) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T5,T21


LineNo. Expression -1-: 494 ((hmac_fifo_wsel && fifo_wready)) ?

Branches:
-1-StatusTests
1 Covered T2,T4,T6
0 Covered T1,T2,T3


LineNo. Expression -1-: 146 case (done_state_q) -2-: 148 if (sha_hash_process) -3-: 151 if (reg_hash_stop) -4-: 158 if (reg_hash_done) -5-: 165 if ((sha_message_length[8:0] == '0)) -6-: 173 if ((!hash_running))

Branches:
-1--2--3--4--5--6-StatusTests
DoneAwaitCmd 1 - - - - Covered T2,T3,T4
DoneAwaitCmd 0 1 - - - Not Covered
DoneAwaitCmd 0 0 - - - Covered T1,T2,T3
DoneAwaitHashDone - - 1 - - Covered T2,T3,T4
DoneAwaitHashDone - - 0 - - Covered T2,T3,T4
DoneAwaitMessageComplete - - - 1 - Not Covered
DoneAwaitMessageComplete - - - 0 - Not Covered
DoneAwaitHashComplete - - - - 1 Not Covered
DoneAwaitHashComplete - - - - 0 Not Covered
default - - - - - Not Covered


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 197 if (wipe_secret) -2-: 199 if ((!cfg_block))

Branches:
-1--2-StatusTests
1 - Covered T30,T31,T26
0 1 Covered T1,T2,T3
0 0 Covered T2,T3,T4


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 223 if ((i < 8))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 231 if ((digest_size == SHA2_256)) -2-: 232 if ((i < 8)) -3-: 241 if (((digest_size == SHA2_384) || (digest_size == SHA2_512))) -4-: 242 if ((((i % 2) == 0) && (i < 15)))

Branches:
-1--2--3--4-StatusTests
1 1 - - Covered T2,T3,T4
1 0 - - Covered T2,T3,T4
0 - 1 1 Covered T6,T18,T19
0 - 1 0 Covered T6,T18,T19
0 - 0 - Covered T1,T2,T3


LineNo. Expression -1-: 270 case (digest_size_supplied)

Branches:
-1-StatusTests
SHA2_256 Covered T2,T3,T4
SHA2_384 Covered T6,T18,T19
SHA2_512 Covered T15,T16,T17
SHA2_None Covered T1,T2,T3
default Covered T6,T20,T18


LineNo. Expression -1-: 282 case (key_length_supplied)

Branches:
-1-StatusTests
Key_128 Covered T20,T19,T32
Key_256 Covered T1,T2,T3
Key_384 Covered T6,T32,T33
Key_512 Covered T20,T19,T15
Key_1024 Covered T20,T34,T16
default Covered T6,T20,T18


LineNo. Expression -1-: 320 if ((!rst_ni)) -2-: 322 if (hash_start_or_continue) -3-: 324 if ((reg_hash_done || reg_hash_stop))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 330 if ((!rst_ni)) -2-: 358 if (((!cfg_block) && reg2hw.cfg.hmac_en.qe))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T3,T4
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 365 if ((!rst_ni)) -2-: 367 if (hash_start_or_continue) -3-: 369 if (packer_flush_done)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 498 if (hmac_fifo_wsel) -2-: 500 if ((digest_size == SHA2_256)) -3-: 503 if (((digest_size == SHA2_384) || (digest_size == SHA2_512)))

Branches:
-1--2--3-StatusTests
1 1 - Covered T2,T4,T6
1 0 1 Not Covered
1 0 0 Not Covered
0 - - Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 586 if ((!cfg_block)) -2-: 587 if (reg2hw.msg_length_lower.qe) -3-: 590 if (reg2hw.msg_length_upper.qe)

Branches:
-1--2--3-StatusTests
1 1 - Not Covered
1 0 - Covered T1,T2,T3
1 - 1 Not Covered
1 - 0 Covered T1,T2,T3
0 - - Covered T2,T3,T4


LineNo. Expression -1-: 595 if (hash_start) -2-: 597 if (((msg_write && sha_en) && packer_ready))

Branches:
-1--2-StatusTests
1 - Covered T2,T3,T4
0 1 Covered T2,T3,T4
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 753 if (cfg_block)

Branches:
-1-StatusTests
1 Covered T2,T3,T4
0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
hash_start_sha_disabled Covered T6,T20,T18
update_seckey_inprocess Covered T3,T4,T6
hash_start_active Covered T6,T20,T18
msg_push_not_allowed Covered T6,T20,T18
default Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 844 if ((!rst_ni)) -2-: 845 if (reg_hash_process) -3-: 846 if (reg_hash_done)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 851 if ((!rst_ni)) -2-: 852 if (hash_start_or_continue) -3-: 853 if (reg_hash_process)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


Assert Coverage for Module : hmac
TotalAttemptedPercentSucceeded/MatchedPercent
Assertions 13 13 100.00 13 100.00
Cover properties 0 0 0
Cover sequences 0 0 0
Total 13 13 100.00 13 100.00




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertKnownO_A 428600933 428529388 0 0
FpvSecCmRegWeOnehotCheck_A 428600933 110 0 0
IntrFifoEmptyOKnown 428600933 428529388 0 0
IntrHmacDoneOKnown 428600933 428529388 0 0
TlOAReadyKnown 428600933 428529388 0 0
TlODValidKnown 428600933 428529388 0 0
ValidHashProcessAssert 428600933 43843 0 0
ValidHmacEnConditionAssert 428600933 11458 0 0
ValidWriteAssert 428600933 25117709 0 0
gen_assert_wmask_bytealign[0].unnamed$$_0 428600933 25117709 0 0
gen_assert_wmask_bytealign[1].unnamed$$_0 428600933 25117709 0 0
gen_assert_wmask_bytealign[2].unnamed$$_0 428600933 25117709 0 0
gen_assert_wmask_bytealign[3].unnamed$$_0 428600933 25117709 0 0


AlertKnownO_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 110 0 0
T1 5927 20 0 0
T2 49484 0 0 0
T3 856066 0 0 0
T4 5092 0 0 0
T5 134076 0 0 0
T6 951089 0 0 0
T7 106107 0 0 0
T18 948228 0 0 0
T20 173036 0 0 0
T27 0 20 0 0
T35 40838 0 0 0
T36 0 20 0 0
T37 0 30 0 0
T38 0 20 0 0

IntrFifoEmptyOKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

IntrHmacDoneOKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

TlOAReadyKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

TlODValidKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

ValidHashProcessAssert
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 43843 0 0
T2 49484 13 0 0
T3 856066 194 0 0
T4 5092 4 0 0
T5 134076 38 0 0
T6 951089 9 0 0
T7 106107 20 0 0
T18 948228 6 0 0
T20 173036 14 0 0
T35 40838 44 0 0
T39 228488 40 0 0

ValidHmacEnConditionAssert
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 11458 0 0
T2 49484 8 0 0
T3 856066 0 0 0
T4 5092 1 0 0
T5 134076 22 0 0
T6 951089 33 0 0
T7 106107 1 0 0
T18 948228 8 0 0
T19 0 17 0 0
T20 173036 30 0 0
T35 40838 21 0 0
T39 228488 1 0 0

ValidWriteAssert
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[0].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[1].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[2].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[3].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

Line Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
TOTAL18417394.02
CONT_ASSIGN12911100.00
CONT_ASSIGN13011100.00
CONT_ASSIGN13111100.00
ALWAYS14315960.00
ALWAYS18433100.00
CONT_ASSIGN19111100.00
CONT_ASSIGN19211100.00
ALWAYS19677100.00
ALWAYS21033100.00
ALWAYS22100
ALWAYS2212121100.00
CONT_ASSIGN26111100.00
CONT_ASSIGN26511100.00
CONT_ASSIGN26611100.00
CONT_ASSIGN26811100.00
ALWAYS27055100.00
CONT_ASSIGN28011100.00
ALWAYS28266100.00
CONT_ASSIGN29311100.00
CONT_ASSIGN29411100.00
CONT_ASSIGN29611100.00
CONT_ASSIGN29711100.00
CONT_ASSIGN29811100.00
CONT_ASSIGN29911100.00
CONT_ASSIGN30011100.00
CONT_ASSIGN30111100.00
CONT_ASSIGN30311100.00
CONT_ASSIGN30411100.00
CONT_ASSIGN30511100.00
CONT_ASSIGN30611100.00
CONT_ASSIGN30911100.00
CONT_ASSIGN31011100.00
CONT_ASSIGN31511100.00
CONT_ASSIGN31611100.00
CONT_ASSIGN31711100.00
ALWAYS32066100.00
ALWAYS33044100.00
ALWAYS36566100.00
CONT_ASSIGN41411100.00
CONT_ASSIGN42111100.00
CONT_ASSIGN42911100.00
CONT_ASSIGN43111100.00
ALWAYS43455100.00
CONT_ASSIGN47511100.00
CONT_ASSIGN47811100.00
CONT_ASSIGN48411100.00
CONT_ASSIGN48911100.00
CONT_ASSIGN49011100.00
CONT_ASSIGN49211100.00
CONT_ASSIGN49311100.00
CONT_ASSIGN49411100.00
ALWAYS4988562.50
CONT_ASSIGN56711100.00
ALWAYS57233100.00
ALWAYS58033100.00
ALWAYS58510880.00
CONT_ASSIGN60211100.00
CONT_ASSIGN60311100.00
CONT_ASSIGN61011100.00
CONT_ASSIGN61111100.00
CONT_ASSIGN71911100.00
CONT_ASSIGN74711100.00
CONT_ASSIGN74811100.00
CONT_ASSIGN74911100.00
ALWAYS75266100.00
CONT_ASSIGN76811100.00
ALWAYS77366100.00
CONT_ASSIGN81011100.00
CONT_ASSIGN81411100.00
ALWAYS81633100.00
CONT_ASSIGN82211100.00
ALWAYS84466100.00
ALWAYS85166100.00
WARNING: The source file '/workspace/default/sim-vcs/../src/lowrisc_ip_hmac_0.1/rtl/hmac.sv' or '../src/lowrisc_ip_hmac_0.1/rtl/hmac.sv' was not found, so annotated line coverage report could not be generated.
Line No.CoveredStatements
129 1 1
130 1 1
131 1 1
143 1 1
144 1 1
146 1 1
148 1 1
150 1 1
151 1 1
153 0 1
MISSING_ELSE
158 1 1
159 1 1
160 1 1
MISSING_ELSE
165 0 1
168 0 1
==> MISSING_ELSE
173 0 1
174 0 1
175 0 1
==> MISSING_ELSE
184 1 1
185 1 1
187 1 1
191 1 1
192 1 1
196 1 1
197 1 1
198 1 1
199 1 1
201 1 1
202 1 1
203 1 1
MISSING_ELSE
MISSING_ELSE
210 2 2
211 1 1
221 1 1
223 1 1
225 1 1
226 1 1
MISSING_ELSE
229 1 1
231 1 1
232 1 1
234 1 1
236 1 1
237 1 1
239 1 1
241 1 1
242 1 1
244 1 1
245 1 1
247 1 1
248 1 1
250 1 1
251 1 1
253 1 1
254 1 1
MISSING_ELSE
261 1 1
265 1 1
266 1 1
268 1 1
270 1 1
271 1 1
272 1 1
273 1 1
274 1 1
280 1 1
282 1 1
283 1 1
284 1 1
285 1 1
286 1 1
287 1 1
293 1 1
294 1 1
296 1 1
297 1 1
298 1 1
299 1 1
300 1 1
301 1 1
303 1 1
304 1 1
305 1 1
306 1 1
309 1 1
310 1 1
315 1 1
316 1 1
317 1 1
320 1 1
321 1 1
322 1 1
323 1 1
324 1 1
325 1 1
MISSING_ELSE
330 1 1
331 1 1
358 1 1
359 1 1
MISSING_ELSE
365 1 1
366 1 1
367 1 1
368 1 1
369 1 1
370 1 1
MISSING_ELSE
414 1 1
421 1 1
429 1 1
431 1 1
434 1 1
435 1 1
436 1 1
438 1 1
439 1 1
475 1 1
478 1 1
484 1 1
489 1 1
490 1 1
492 1 1
493 1 1
494 1 1
498 1 1
499 1 1
500 1 1
502 1 1
503 0 1
505 0 1
506 0 1
==> MISSING_ELSE
509 1 1
567 1 1
572 1 1
573 1 1
574 1 1
580 2 2
581 1 1
585 1 1
586 1 1
587 1 1
588 0 1
MISSING_ELSE
590 1 1
591 0 1
MISSING_ELSE
MISSING_ELSE
595 1 1
596 1 1
597 1 1
598 1 1
MISSING_ELSE
602 1 1
603 1 1
610 1 1
611 1 1
719 1 1
747 1 1
748 1 1
749 1 1
752 1 1
753 1 1
754 1 1
755 1 1
756 1 1
MISSING_ELSE
760 1 1
768 1 1
773 1 1
774 1 1
776 1 1
780 1 1
784 1 1
788 1 1
810 1 1
814 1 1
816 1 1
817 1 1
819 1 1
822 1 1
844 2 2
845 2 2
846 2 2
MISSING_ELSE
851 2 2
852 2 2
853 2 2
MISSING_ELSE


Cond Coverage for Instance : tb.dut
TotalCoveredPercent
Conditions13210277.27
Logical13210277.27
Non-Logical00
Event00

 LINE       165
 EXPRESSION (sha_message_length[8:0] == '0)
            ---------------1---------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       231
 EXPRESSION (digest_size == SHA2_256)
            ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       241
 EXPRESSION ((digest_size == SHA2_384) || (digest_size == SHA2_512))
             ------------1------------    ------------2------------
-1--2-StatusTests
00CoveredT1,T2,T3
01CoveredT15,T16,T17
10CoveredT6,T18,T19

 LINE       241
 SUB-EXPRESSION (digest_size == SHA2_384)
                ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT6,T18,T19

 LINE       241
 SUB-EXPRESSION (digest_size == SHA2_512)
                ------------1------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT15,T16,T17

 LINE       242
 EXPRESSION (((i % 2) == 0) && (i < 15))
             -------1------    ----2---
-1--2-StatusTests
01CoveredT6,T18,T19
10Not Covered
11CoveredT6,T18,T19

 LINE       242
 SUB-EXPRESSION ((i % 2) == 0)
                -------1------
-1-StatusTests
0CoveredT6,T18,T19
1CoveredT6,T18,T19

 LINE       248
 EXPRESSION (reg2hw.digest[i].qe | reg2hw.digest[(i + 1)].qe)
             ---------1---------   ------------2------------
-1--2-StatusTests
00CoveredT6,T18,T19
01Not Covered
10Not Covered

 LINE       254
 EXPRESSION (reg2hw.digest[i].qe | reg2hw.digest[(i - 1)].qe)
             ---------1---------   ------------2------------
-1--2-StatusTests
00CoveredT6,T18,T19
01Not Covered
10Not Covered

 LINE       303
 EXPRESSION (reg2hw.cmd.hash_start.qe & reg2hw.cmd.hash_start.q)
             ------------1-----------   -----------2-----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT2,T3,T4

 LINE       304
 EXPRESSION (reg2hw.cmd.hash_stop.qe & reg2hw.cmd.hash_stop.q)
             -----------1-----------   -----------2----------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11Not Covered

 LINE       305
 EXPRESSION (reg2hw.cmd.hash_continue.qe & reg2hw.cmd.hash_continue.q)
             -------------1-------------   -------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11Not Covered

 LINE       306
 EXPRESSION (reg2hw.cmd.hash_process.qe & reg2hw.cmd.hash_process.q)
             -------------1------------   ------------2------------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT2,T3,T4

 LINE       315
 EXPRESSION (reg_hash_start & sha_en & ((~cfg_block)))
             -------1------   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT2,T3,T4
101CoveredT6,T20,T18
110CoveredT6,T20,T18
111CoveredT2,T3,T4

 LINE       316
 EXPRESSION (reg_hash_continue & sha_en & ((~cfg_block)))
             --------1--------   ---2--   -------3------
-1--2--3-StatusTests
011CoveredT2,T3,T4
101Not Covered
110Not Covered
111Not Covered

 LINE       317
 EXPRESSION (hash_start | hash_continue)
             -----1----   ------2------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       324
 EXPRESSION (reg_hash_done || reg_hash_stop)
             ------1------    ------2------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       358
 EXPRESSION (((!cfg_block)) && reg2hw.cfg.hmac_en.qe)
             -------1------    ----------2----------
-1--2-StatusTests
01CoveredT3,T4,T6
10CoveredT1,T2,T3
11CoveredT2,T3,T4

 LINE       414
 EXPRESSION (fifo_empty_q & ((~fifo_empty)))
             ------1-----   -------2-------
-1--2-StatusTests
01CoveredT2,T3,T4
10CoveredT1,T2,T3
11CoveredT2,T3,T4

 LINE       421
 EXPRESSION 
 Number  Term
      1  fifo_full ? 1'b1 : (fifo_empty_negedge ? 1'b0 : ((reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop) ? 1'b0 : fifo_full_seen_q)))
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT1,T2,T3

 LINE       421
 SUB-EXPRESSION (fifo_empty_negedge ? 1'b0 : ((reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop) ? 1'b0 : fifo_full_seen_q))
                 ---------1--------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       421
 SUB-EXPRESSION ((reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop) ? 1'b0 : fifo_full_seen_q)
                 -------------------------------------1------------------------------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T3,T4

 LINE       421
 SUB-EXPRESSION (reg_hash_start || reg_hash_continue || reg_hash_process || reg_hash_stop)
                 -------1------    --------2--------    --------3-------    ------4------
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001Not Covered
0010CoveredT2,T3,T4
0100Not Covered
1000CoveredT2,T3,T4

 LINE       429
 EXPRESSION (((~msg_allowed)) || ((~fifo_full_seen_q)))
             --------1-------    ----------2----------
-1--2-StatusTests
00CoveredT2,T5,T21
01CoveredT2,T3,T4
10CoveredT1,T2,T3

 LINE       431
 EXPRESSION (fifo_empty_gate ? 1'b0 : fifo_empty)
             -------1-------
-1-StatusTests
0CoveredT2,T5,T21
1CoveredT1,T2,T3

 LINE       475
 EXPRESSION (msg_fifo_req & ((~msg_fifo_we)))
             ------1-----   --------2-------
-1--2-StatusTestsExclude Annotation
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11Excluded VC_COV_UNR

 LINE       478
 EXPRESSION (msg_fifo_req & ((~hmac_fifo_wsel)) & packer_ready)
             ------1-----   ---------2---------   ------3-----
-1--2--3-StatusTests
011CoveredT1,T2,T3
101Not Covered
110UnreachableT2,T5,T22
111CoveredT2,T3,T4

 LINE       494
 EXPRESSION ((hmac_fifo_wsel && fifo_wready) ? hmac_fifo_wvalid : reg_fifo_wvalid)
             ---------------1---------------
-1-StatusTests
0CoveredT1,T2,T3
1CoveredT2,T4,T6

 LINE       494
 SUB-EXPRESSION (hmac_fifo_wsel && fifo_wready)
                 -------1------    -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10Not Covered
11CoveredT2,T4,T6

 LINE       500
 EXPRESSION (digest_size == SHA2_256)
            ------------1------------
-1-StatusTests
0Not Covered
1CoveredT2,T4,T6

 LINE       503
 EXPRESSION ((digest_size == SHA2_384) || (digest_size == SHA2_512))
             ------------1------------    ------------2------------
-1--2-StatusTests
00Not Covered
01Not Covered
10Not Covered

 LINE       503
 SUB-EXPRESSION (digest_size == SHA2_384)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       503
 SUB-EXPRESSION (digest_size == SHA2_512)
                ------------1------------
-1-StatusTests
0Not Covered
1Not Covered

 LINE       519
 EXPRESSION (fifo_wvalid & sha_en)
             -----1-----   ---2--
-1--2-StatusTestsExclude Annotation
01CoveredT2,T3,T4
10Excluded VC_COV_UNR
11CoveredT2,T3,T4

 LINE       567
 EXPRESSION (msg_fifo_req & msg_fifo_we & ((~hmac_fifo_wsel)) & msg_allowed)
             ------1-----   -----2-----   ---------3---------   -----4-----
-1--2--3--4-StatusTestsExclude Annotation
0111CoveredT2,T3,T4
1011Excluded VC_COV_UNR
1101Excluded VC_COV_UNR
1110CoveredT6,T20,T18
1111CoveredT2,T3,T4

 LINE       597
 EXPRESSION (msg_write && sha_en && packer_ready)
             ----1----    ---2--    ------3-----
-1--2--3-StatusTests
011CoveredT2,T3,T4
101Not Covered
110UnreachableT2,T5,T22
111CoveredT2,T3,T4

 LINE       617
 EXPRESSION (msg_write & sha_en)
             ----1----   ---2--
-1--2-StatusTestsExclude Annotation
01CoveredT2,T3,T4
10Excluded VC_COV_UNR
11CoveredT2,T3,T4

 LINE       617
 EXPRESSION (fifo_wready & ((~hmac_fifo_wsel)))
             -----1-----   ---------2---------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T4,T6
11CoveredT1,T2,T3

 LINE       719
 SUB-EXPRESSION (reg2hw.alert_test.q & reg2hw.alert_test.qe)
                 ---------1---------   ----------2---------
-1--2-StatusTests
01CoveredT23,T24,T25
10CoveredT1,T2,T3
11CoveredT23,T24,T25

 LINE       747
 EXPRESSION ((reg_hash_start | reg_hash_continue) & ((~sha_en)))
             ------------------1-----------------   -----2-----
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT6,T20,T18

 LINE       747
 SUB-EXPRESSION (reg_hash_start | reg_hash_continue)
                 -------1------   --------2--------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       748
 EXPRESSION ((reg_hash_start | reg_hash_continue) & cfg_block)
             ------------------1-----------------   ----2----
-1--2-StatusTests
01CoveredT2,T3,T4
10CoveredT2,T3,T4
11CoveredT6,T20,T18

 LINE       748
 SUB-EXPRESSION (reg_hash_start | reg_hash_continue)
                 -------1------   --------2--------
-1--2-StatusTests
00CoveredT1,T2,T3
01Not Covered
10CoveredT2,T3,T4

 LINE       749
 EXPRESSION (msg_fifo_req & ((~msg_allowed)))
             ------1-----   --------2-------
-1--2-StatusTests
01CoveredT1,T2,T3
10CoveredT2,T3,T4
11CoveredT6,T20,T18

 LINE       768
 EXPRESSION (((~reg2hw.intr_state.hmac_err.q)) & (hash_start_sha_disabled | update_seckey_inprocess | hash_start_active | msg_push_not_allowed))
             ----------------1----------------   -----------------------------------------------2----------------------------------------------
-1--2-StatusTests
01CoveredT6,T20,T18
10CoveredT1,T2,T3
11CoveredT3,T4,T6

 LINE       768
 SUB-EXPRESSION (hash_start_sha_disabled | update_seckey_inprocess | hash_start_active | msg_push_not_allowed)
                 -----------1-----------   -----------2-----------   --------3--------   ----------4---------
-1--2--3--4-StatusTests
0000CoveredT1,T2,T3
0001CoveredT6,T20,T18
0010CoveredT6,T20,T18
0100CoveredT3,T4,T6
1000CoveredT6,T20,T18

 LINE       810
 EXPRESSION (((!reg_fifo_wvalid)) && ((!fifo_rvalid)) && hmac_core_idle && sha_core_idle)
             ----------1---------    --------2-------    -------3------    ------4------
-1--2--3--4-StatusTestsExclude Annotation
0111Excluded VC_COV_UNR
1011Not Covered
1101CoveredT2,T4,T6
1110CoveredT2,T3,T6
1111CoveredT1,T2,T3

Toggle Coverage for Instance : tb.dut
TotalCoveredPercent
Totals 30 30 100.00
Total Bits 346 346 100.00
Total Bits 0->1 173 173 100.00
Total Bits 1->0 173 173 100.00

Ports 30 30 100.00
Port Bits 346 346 100.00
Port Bits 0->1 173 173 100.00
Port Bits 1->0 173 173 100.00

Port Details
NameToggleToggle 1->0TestsToggle 0->1TestsDirection
clk_i Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
rst_ni Yes Yes T1,T26,T27 Yes T1,T2,T3 INPUT
tl_i.d_ready Yes Yes T1,T4,T6 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,T3,T20 Yes T1,T3,T20 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 T8,T9,T10 Yes T8,T9,T10 OUTPUT
tl_o.d_user.data_intg[6:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
tl_o.d_user.rsp_intg[5:0] Yes Yes *T1,*T2,*T3 Yes T2,T3,T4 OUTPUT
tl_o.d_user.rsp_intg[6] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_data[31:0] Yes Yes T1,T2,T3 Yes T2,T3,T4 OUTPUT
tl_o.d_sink Unreachable Unreachable Unreachable OUTPUT
tl_o.d_source[7:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
tl_o.d_size[1:0] Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
tl_o.d_param[2:0] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_opcode[0] Yes Yes *T2,*T3,*T4 Yes T2,T3,T4 OUTPUT
tl_o.d_opcode[2:1] Unreachable Unreachable Unreachable OUTPUT
tl_o.d_valid Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_rx_i[0].ack_n Yes Yes T1,T2,T3 Yes T1,T2,T3 INPUT
alert_rx_i[0].ack_p Yes Yes T1,T23,T24 Yes T1,T23,T24 INPUT
alert_rx_i[0].ping_n Unreachable Unreachable Unreachable INPUT
alert_rx_i[0].ping_p Unreachable Unreachable Unreachable INPUT
alert_tx_o[0].alert_n Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT
alert_tx_o[0].alert_p Yes Yes T1,T23,T24 Yes T1,T23,T24 OUTPUT
intr_hmac_done_o Yes Yes T2,T3,T4 Yes T2,T3,T4 OUTPUT
intr_fifo_empty_o Yes Yes T21,T28,T29 Yes T21,T28,T29 OUTPUT
intr_hmac_err_o Yes Yes T3,T4,T6 Yes T3,T4,T6 OUTPUT
idle_o[3:0] Yes Yes T1,T2,T3 Yes T1,T2,T3 OUTPUT

*Tests covering at least one bit in the range

FSM Coverage for Instance : tb.dut
Summary for FSM :: done_state_q
TotalCoveredPercent
States 4 2 50.00 (Not included in score)
Transitions 5 2 40.00
Sequences 0 0

State, Transition and Sequence Details for FSM :: done_state_q
statesLine No.CoveredTests
DoneAwaitCmd 160 Covered T1,T2,T3
DoneAwaitHashComplete 168 Not Covered
DoneAwaitHashDone 150 Covered T2,T3,T4
DoneAwaitMessageComplete 153 Not Covered


transitionsLine No.CoveredTests
DoneAwaitCmd->DoneAwaitHashDone 150 Covered T2,T3,T4
DoneAwaitCmd->DoneAwaitMessageComplete 153 Not Covered
DoneAwaitHashComplete->DoneAwaitCmd 175 Not Covered
DoneAwaitHashDone->DoneAwaitCmd 160 Covered T2,T3,T4
DoneAwaitMessageComplete->DoneAwaitHashComplete 168 Not Covered



Branch Coverage for Instance : tb.dut
Line No.TotalCoveredPercent
Branches 87 77 88.51
TERNARY 421 4 4 100.00
TERNARY 431 2 2 100.00
TERNARY 494 2 2 100.00
CASE 146 10 4 40.00
IF 184 2 2 100.00
IF 197 3 3 100.00
IF 210 2 2 100.00
IF 223 2 2 100.00
IF 231 5 5 100.00
CASE 270 5 5 100.00
CASE 282 6 6 100.00
IF 320 4 4 100.00
IF 330 3 3 100.00
IF 365 4 4 100.00
IF 434 2 2 100.00
IF 498 4 2 50.00
IF 580 2 2 100.00
IF 586 5 3 60.00
IF 595 3 3 100.00
IF 753 2 2 100.00
CASE 774 5 5 100.00
IF 816 2 2 100.00
IF 844 4 4 100.00
IF 851 4 4 100.00

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

LineNo. Expression -1-: 421 (fifo_full) ? -2-: 421 (fifo_empty_negedge) ? -3-: 421 ((((reg_hash_start || reg_hash_continue) || reg_hash_process) || reg_hash_stop)) ?

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 431 (fifo_empty_gate) ?

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T2,T5,T21


LineNo. Expression -1-: 494 ((hmac_fifo_wsel && fifo_wready)) ?

Branches:
-1-StatusTests
1 Covered T2,T4,T6
0 Covered T1,T2,T3


LineNo. Expression -1-: 146 case (done_state_q) -2-: 148 if (sha_hash_process) -3-: 151 if (reg_hash_stop) -4-: 158 if (reg_hash_done) -5-: 165 if ((sha_message_length[8:0] == '0)) -6-: 173 if ((!hash_running))

Branches:
-1--2--3--4--5--6-StatusTests
DoneAwaitCmd 1 - - - - Covered T2,T3,T4
DoneAwaitCmd 0 1 - - - Not Covered
DoneAwaitCmd 0 0 - - - Covered T1,T2,T3
DoneAwaitHashDone - - 1 - - Covered T2,T3,T4
DoneAwaitHashDone - - 0 - - Covered T2,T3,T4
DoneAwaitMessageComplete - - - 1 - Not Covered
DoneAwaitMessageComplete - - - 0 - Not Covered
DoneAwaitHashComplete - - - - 1 Not Covered
DoneAwaitHashComplete - - - - 0 Not Covered
default - - - - - Not Covered


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 197 if (wipe_secret) -2-: 199 if ((!cfg_block))

Branches:
-1--2-StatusTests
1 - Covered T30,T31,T26
0 1 Covered T1,T2,T3
0 0 Covered T2,T3,T4


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 223 if ((i < 8))

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 231 if ((digest_size == SHA2_256)) -2-: 232 if ((i < 8)) -3-: 241 if (((digest_size == SHA2_384) || (digest_size == SHA2_512))) -4-: 242 if ((((i % 2) == 0) && (i < 15)))

Branches:
-1--2--3--4-StatusTests
1 1 - - Covered T2,T3,T4
1 0 - - Covered T2,T3,T4
0 - 1 1 Covered T6,T18,T19
0 - 1 0 Covered T6,T18,T19
0 - 0 - Covered T1,T2,T3


LineNo. Expression -1-: 270 case (digest_size_supplied)

Branches:
-1-StatusTests
SHA2_256 Covered T2,T3,T4
SHA2_384 Covered T6,T18,T19
SHA2_512 Covered T15,T16,T17
SHA2_None Covered T1,T2,T3
default Covered T6,T20,T18


LineNo. Expression -1-: 282 case (key_length_supplied)

Branches:
-1-StatusTests
Key_128 Covered T20,T19,T32
Key_256 Covered T1,T2,T3
Key_384 Covered T6,T32,T33
Key_512 Covered T20,T19,T15
Key_1024 Covered T20,T34,T16
default Covered T6,T20,T18


LineNo. Expression -1-: 320 if ((!rst_ni)) -2-: 322 if (hash_start_or_continue) -3-: 324 if ((reg_hash_done || reg_hash_stop))

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 330 if ((!rst_ni)) -2-: 358 if (((!cfg_block) && reg2hw.cfg.hmac_en.qe))

Branches:
-1--2-StatusTests
1 - Covered T1,T2,T3
0 1 Covered T2,T3,T4
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 365 if ((!rst_ni)) -2-: 367 if (hash_start_or_continue) -3-: 369 if (packer_flush_done)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 498 if (hmac_fifo_wsel) -2-: 500 if ((digest_size == SHA2_256)) -3-: 503 if (((digest_size == SHA2_384) || (digest_size == SHA2_512)))

Branches:
-1--2--3-StatusTests
1 1 - Covered T2,T4,T6
1 0 1 Not Covered
1 0 0 Not Covered
0 - - Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 586 if ((!cfg_block)) -2-: 587 if (reg2hw.msg_length_lower.qe) -3-: 590 if (reg2hw.msg_length_upper.qe)

Branches:
-1--2--3-StatusTests
1 1 - Not Covered
1 0 - Covered T1,T2,T3
1 - 1 Not Covered
1 - 0 Covered T1,T2,T3
0 - - Covered T2,T3,T4


LineNo. Expression -1-: 595 if (hash_start) -2-: 597 if (((msg_write && sha_en) && packer_ready))

Branches:
-1--2-StatusTests
1 - Covered T2,T3,T4
0 1 Covered T2,T3,T4
0 0 Covered T1,T2,T3


LineNo. Expression -1-: 753 if (cfg_block)

Branches:
-1-StatusTests
1 Covered T2,T3,T4
0 Covered T1,T2,T3


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

Branches:
-1-StatusTests
hash_start_sha_disabled Covered T6,T20,T18
update_seckey_inprocess Covered T3,T4,T6
hash_start_active Covered T6,T20,T18
msg_push_not_allowed Covered T6,T20,T18
default Covered T1,T2,T3


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

Branches:
-1-StatusTests
1 Covered T1,T2,T3
0 Covered T1,T2,T3


LineNo. Expression -1-: 844 if ((!rst_ni)) -2-: 845 if (reg_hash_process) -3-: 846 if (reg_hash_done)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


LineNo. Expression -1-: 851 if ((!rst_ni)) -2-: 852 if (hash_start_or_continue) -3-: 853 if (reg_hash_process)

Branches:
-1--2--3-StatusTests
1 - - Covered T1,T2,T3
0 1 - Covered T2,T3,T4
0 0 1 Covered T2,T3,T4
0 0 0 Covered T1,T2,T3


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




Assertion Details

NameAttemptsReal SuccessesFailuresIncomplete
AlertKnownO_A 428600933 428529388 0 0
FpvSecCmRegWeOnehotCheck_A 428600933 110 0 0
IntrFifoEmptyOKnown 428600933 428529388 0 0
IntrHmacDoneOKnown 428600933 428529388 0 0
TlOAReadyKnown 428600933 428529388 0 0
TlODValidKnown 428600933 428529388 0 0
ValidHashProcessAssert 428600933 43843 0 0
ValidHmacEnConditionAssert 428600933 11458 0 0
ValidWriteAssert 428600933 25117709 0 0
gen_assert_wmask_bytealign[0].unnamed$$_0 428600933 25117709 0 0
gen_assert_wmask_bytealign[1].unnamed$$_0 428600933 25117709 0 0
gen_assert_wmask_bytealign[2].unnamed$$_0 428600933 25117709 0 0
gen_assert_wmask_bytealign[3].unnamed$$_0 428600933 25117709 0 0


AlertKnownO_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

FpvSecCmRegWeOnehotCheck_A
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 110 0 0
T1 5927 20 0 0
T2 49484 0 0 0
T3 856066 0 0 0
T4 5092 0 0 0
T5 134076 0 0 0
T6 951089 0 0 0
T7 106107 0 0 0
T18 948228 0 0 0
T20 173036 0 0 0
T27 0 20 0 0
T35 40838 0 0 0
T36 0 20 0 0
T37 0 30 0 0
T38 0 20 0 0

IntrFifoEmptyOKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

IntrHmacDoneOKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

TlOAReadyKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

TlODValidKnown
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 428529388 0 0
T1 5927 4437 0 0
T2 49484 49424 0 0
T3 856066 856009 0 0
T4 5092 4997 0 0
T5 134076 133989 0 0
T6 951089 951007 0 0
T7 106107 106031 0 0
T18 948228 948157 0 0
T20 173036 173031 0 0
T35 40838 40753 0 0

ValidHashProcessAssert
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 43843 0 0
T2 49484 13 0 0
T3 856066 194 0 0
T4 5092 4 0 0
T5 134076 38 0 0
T6 951089 9 0 0
T7 106107 20 0 0
T18 948228 6 0 0
T20 173036 14 0 0
T35 40838 44 0 0
T39 228488 40 0 0

ValidHmacEnConditionAssert
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 11458 0 0
T2 49484 8 0 0
T3 856066 0 0 0
T4 5092 1 0 0
T5 134076 22 0 0
T6 951089 33 0 0
T7 106107 1 0 0
T18 948228 8 0 0
T19 0 17 0 0
T20 173036 30 0 0
T35 40838 21 0 0
T39 228488 1 0 0

ValidWriteAssert
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[0].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[1].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[2].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

gen_assert_wmask_bytealign[3].unnamed$$_0
NameAttemptsReal SuccessesFailuresIncomplete
Total 428600933 25117709 0 0
T2 49484 33200 0 0
T3 856066 74359 0 0
T4 5092 44 0 0
T5 134076 79850 0 0
T6 951089 19040 0 0
T7 106107 19156 0 0
T18 948228 18154 0 0
T20 173036 47643 0 0
T35 40838 480 0 0
T39 228488 41629 0 0

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