Line Coverage for Module :
keymgr_sideload_key
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 16 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 30 | 1 | 1 | 100.00 |
ALWAYS | 33 | 6 | 6 | 100.00 |
ALWAYS | 43 | 8 | 8 | 100.00 |
28
29 1/1 assign valid_o = valid_q & en_i;
Tests: T1 T2 T3
30 1/1 assign key_o = key_q;
Tests: T1 T2 T3
31
32 always_ff @(posedge clk_i or negedge rst_ni) begin
33 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
34 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
35 1/1 end else if (!en_i || clr_i) begin
Tests: T1 T2 T3
36 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
37 1/1 end else if (set_i) begin
Tests: T1 T2 T3
38 1/1 valid_q <= 1'b1;
Tests: T1 T3 T4
39 end
MISSING_ELSE
40 end
41
42 always_ff @(posedge clk_i or negedge rst_ni) begin
43 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
44 1/1 key_q <= '0;
Tests: T1 T2 T3
45 1/1 end else if (clr_i) begin
Tests: T1 T2 T3
46 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T1 T3 T4
47 1/1 key_q[i] <= {EntropyCopies{entropy_i[i]}};
Tests: T1 T3 T4
48 end
49 1/1 end else if (set_i) begin
Tests: T1 T2 T3
50 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T1 T3 T4
51 1/1 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
Tests: T1 T3 T4
52 end
53 end
MISSING_ELSE
Cond Coverage for Module :
keymgr_sideload_key ( parameter Width=256,EntropyCopies=8 )
Cond Coverage for Module self-instances :
| Total | Covered | Percent |
Conditions | 8 | 7 | 87.50 |
Logical | 8 | 7 | 87.50 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 29
EXPRESSION (valid_q & en_i)
---1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T1,T3,T4 |
LINE 35
EXPRESSION (((!en_i)) || clr_i)
----1---- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
LINE 51
EXPRESSION (set_en_i ? key_i[i] : ({EntropyCopies {entropy_i[i]}}))
----1---
-1- | Status | Tests |
0 | Covered | T10,T11,T47 |
1 | Covered | T1,T3,T4 |
Cond Coverage for Module :
keymgr_sideload_key ( parameter Width=384,EntropyCopies=12 )
Cond Coverage for Module self-instances :
| Total | Covered | Percent |
Conditions | 8 | 7 | 87.50 |
Logical | 8 | 7 | 87.50 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 29
EXPRESSION (valid_q & en_i)
---1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T18,T35,T36 |
LINE 35
EXPRESSION (((!en_i)) || clr_i)
----1---- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
LINE 51
EXPRESSION (set_en_i ? key_i[i] : ({EntropyCopies {entropy_i[i]}}))
----1---
-1- | Status | Tests |
0 | Covered | T10,T11,T12 |
1 | Covered | T18,T35,T36 |
Branch Coverage for Module :
keymgr_sideload_key
| Line No. | Total | Covered | Percent |
Branches |
|
8 |
8 |
100.00 |
IF |
33 |
4 |
4 |
100.00 |
IF |
43 |
4 |
4 |
100.00 |
33 if (!rst_ni) begin
-1-
34 valid_q <= 1'b0;
==>
35 end else if (!en_i || clr_i) begin
-2-
36 valid_q <= 1'b0;
==>
37 end else if (set_i) begin
-3-
38 valid_q <= 1'b1;
==>
39 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T1,T3,T4 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
43 if (!rst_ni) begin
-1-
44 key_q <= '0;
==>
45 end else if (clr_i) begin
-2-
46 for (int i = 0; i < Shares; i++) begin
==>
47 key_q[i] <= {EntropyCopies{entropy_i[i]}};
48 end
49 end else if (set_i) begin
-3-
50 for (int i = 0; i < Shares; i++) begin
==>
51 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
52 end
53 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T3,T4 |
0 |
0 |
1 |
Covered |
T1,T3,T4 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.u_sideload_ctrl.u_aes_key
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 16 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 30 | 1 | 1 | 100.00 |
ALWAYS | 33 | 6 | 6 | 100.00 |
ALWAYS | 43 | 8 | 8 | 100.00 |
28
29 1/1 assign valid_o = valid_q & en_i;
Tests: T1 T2 T3
30 1/1 assign key_o = key_q;
Tests: T1 T2 T3
31
32 always_ff @(posedge clk_i or negedge rst_ni) begin
33 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
34 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
35 1/1 end else if (!en_i || clr_i) begin
Tests: T1 T2 T3
36 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
37 1/1 end else if (set_i) begin
Tests: T1 T2 T3
38 1/1 valid_q <= 1'b1;
Tests: T18 T37 T19
39 end
MISSING_ELSE
40 end
41
42 always_ff @(posedge clk_i or negedge rst_ni) begin
43 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
44 1/1 key_q <= '0;
Tests: T1 T2 T3
45 1/1 end else if (clr_i) begin
Tests: T1 T2 T3
46 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T1 T3 T4
47 1/1 key_q[i] <= {EntropyCopies{entropy_i[i]}};
Tests: T1 T3 T4
48 end
49 1/1 end else if (set_i) begin
Tests: T1 T2 T3
50 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T18 T37 T19
51 1/1 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
Tests: T18 T37 T19
52 end
53 end
MISSING_ELSE
Cond Coverage for Instance : tb.dut.u_sideload_ctrl.u_aes_key
| Total | Covered | Percent |
Conditions | 8 | 7 | 87.50 |
Logical | 8 | 7 | 87.50 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 29
EXPRESSION (valid_q & en_i)
---1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T18,T37,T19 |
LINE 35
EXPRESSION (((!en_i)) || clr_i)
----1---- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
LINE 51
EXPRESSION (set_en_i ? key_i[i] : ({EntropyCopies {entropy_i[i]}}))
----1---
-1- | Status | Tests |
0 | Covered | T11,T47 |
1 | Covered | T18,T37,T19 |
Branch Coverage for Instance : tb.dut.u_sideload_ctrl.u_aes_key
| Line No. | Total | Covered | Percent |
Branches |
|
8 |
8 |
100.00 |
IF |
33 |
4 |
4 |
100.00 |
IF |
43 |
4 |
4 |
100.00 |
33 if (!rst_ni) begin
-1-
34 valid_q <= 1'b0;
==>
35 end else if (!en_i || clr_i) begin
-2-
36 valid_q <= 1'b0;
==>
37 end else if (set_i) begin
-3-
38 valid_q <= 1'b1;
==>
39 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T18,T37,T19 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
43 if (!rst_ni) begin
-1-
44 key_q <= '0;
==>
45 end else if (clr_i) begin
-2-
46 for (int i = 0; i < Shares; i++) begin
==>
47 key_q[i] <= {EntropyCopies{entropy_i[i]}};
48 end
49 end else if (set_i) begin
-3-
50 for (int i = 0; i < Shares; i++) begin
==>
51 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
52 end
53 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T3,T4 |
0 |
0 |
1 |
Covered |
T18,T37,T19 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.u_sideload_ctrl.u_otbn_key
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 16 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 30 | 1 | 1 | 100.00 |
ALWAYS | 33 | 6 | 6 | 100.00 |
ALWAYS | 43 | 8 | 8 | 100.00 |
28
29 1/1 assign valid_o = valid_q & en_i;
Tests: T1 T2 T3
30 1/1 assign key_o = key_q;
Tests: T1 T2 T3
31
32 always_ff @(posedge clk_i or negedge rst_ni) begin
33 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
34 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
35 1/1 end else if (!en_i || clr_i) begin
Tests: T1 T2 T3
36 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
37 1/1 end else if (set_i) begin
Tests: T1 T2 T3
38 1/1 valid_q <= 1'b1;
Tests: T18 T35 T36
39 end
MISSING_ELSE
40 end
41
42 always_ff @(posedge clk_i or negedge rst_ni) begin
43 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
44 1/1 key_q <= '0;
Tests: T1 T2 T3
45 1/1 end else if (clr_i) begin
Tests: T1 T2 T3
46 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T1 T3 T4
47 1/1 key_q[i] <= {EntropyCopies{entropy_i[i]}};
Tests: T1 T3 T4
48 end
49 1/1 end else if (set_i) begin
Tests: T1 T2 T3
50 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T18 T35 T36
51 1/1 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
Tests: T18 T35 T36
52 end
53 end
MISSING_ELSE
Cond Coverage for Instance : tb.dut.u_sideload_ctrl.u_otbn_key
| Total | Covered | Percent |
Conditions | 8 | 7 | 87.50 |
Logical | 8 | 7 | 87.50 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 29
EXPRESSION (valid_q & en_i)
---1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T18,T35,T36 |
LINE 35
EXPRESSION (((!en_i)) || clr_i)
----1---- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
LINE 51
EXPRESSION (set_en_i ? key_i[i] : ({EntropyCopies {entropy_i[i]}}))
----1---
-1- | Status | Tests |
0 | Covered | T10,T11,T12 |
1 | Covered | T18,T35,T36 |
Branch Coverage for Instance : tb.dut.u_sideload_ctrl.u_otbn_key
| Line No. | Total | Covered | Percent |
Branches |
|
8 |
8 |
100.00 |
IF |
33 |
4 |
4 |
100.00 |
IF |
43 |
4 |
4 |
100.00 |
33 if (!rst_ni) begin
-1-
34 valid_q <= 1'b0;
==>
35 end else if (!en_i || clr_i) begin
-2-
36 valid_q <= 1'b0;
==>
37 end else if (set_i) begin
-3-
38 valid_q <= 1'b1;
==>
39 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T18,T35,T36 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
43 if (!rst_ni) begin
-1-
44 key_q <= '0;
==>
45 end else if (clr_i) begin
-2-
46 for (int i = 0; i < Shares; i++) begin
==>
47 key_q[i] <= {EntropyCopies{entropy_i[i]}};
48 end
49 end else if (set_i) begin
-3-
50 for (int i = 0; i < Shares; i++) begin
==>
51 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
52 end
53 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T3,T4 |
0 |
0 |
1 |
Covered |
T18,T35,T36 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
Line Coverage for Instance : tb.dut.u_sideload_ctrl.u_kmac_key
| Line No. | Total | Covered | Percent |
TOTAL | | 16 | 16 | 100.00 |
CONT_ASSIGN | 29 | 1 | 1 | 100.00 |
CONT_ASSIGN | 30 | 1 | 1 | 100.00 |
ALWAYS | 33 | 6 | 6 | 100.00 |
ALWAYS | 43 | 8 | 8 | 100.00 |
28
29 1/1 assign valid_o = valid_q & en_i;
Tests: T1 T2 T3
30 1/1 assign key_o = key_q;
Tests: T1 T2 T3
31
32 always_ff @(posedge clk_i or negedge rst_ni) begin
33 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
34 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
35 1/1 end else if (!en_i || clr_i) begin
Tests: T1 T2 T3
36 1/1 valid_q <= 1'b0;
Tests: T1 T2 T3
37 1/1 end else if (set_i) begin
Tests: T1 T2 T3
38 1/1 valid_q <= 1'b1;
Tests: T1 T3 T4
39 end
MISSING_ELSE
40 end
41
42 always_ff @(posedge clk_i or negedge rst_ni) begin
43 1/1 if (!rst_ni) begin
Tests: T1 T2 T3
44 1/1 key_q <= '0;
Tests: T1 T2 T3
45 1/1 end else if (clr_i) begin
Tests: T1 T2 T3
46 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T1 T3 T4
47 1/1 key_q[i] <= {EntropyCopies{entropy_i[i]}};
Tests: T1 T3 T4
48 end
49 1/1 end else if (set_i) begin
Tests: T1 T2 T3
50 1/1 for (int i = 0; i < Shares; i++) begin
Tests: T1 T3 T4
51 1/1 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
Tests: T1 T3 T4
52 end
53 end
MISSING_ELSE
Cond Coverage for Instance : tb.dut.u_sideload_ctrl.u_kmac_key
| Total | Covered | Percent |
Conditions | 8 | 7 | 87.50 |
Logical | 8 | 7 | 87.50 |
Non-Logical | 0 | 0 | |
Event | 0 | 0 | |
LINE 29
EXPRESSION (valid_q & en_i)
---1--- --2-
-1- | -2- | Status | Tests |
0 | 1 | Covered | T1,T2,T3 |
1 | 0 | Not Covered | |
1 | 1 | Covered | T1,T3,T4 |
LINE 35
EXPRESSION (((!en_i)) || clr_i)
----1---- --2--
-1- | -2- | Status | Tests |
0 | 0 | Covered | T1,T2,T3 |
0 | 1 | Covered | T1,T3,T4 |
1 | 0 | Covered | T1,T2,T3 |
LINE 51
EXPRESSION (set_en_i ? key_i[i] : ({EntropyCopies {entropy_i[i]}}))
----1---
-1- | Status | Tests |
0 | Covered | T10,T11,T47 |
1 | Covered | T1,T3,T4 |
Branch Coverage for Instance : tb.dut.u_sideload_ctrl.u_kmac_key
| Line No. | Total | Covered | Percent |
Branches |
|
8 |
8 |
100.00 |
IF |
33 |
4 |
4 |
100.00 |
IF |
43 |
4 |
4 |
100.00 |
33 if (!rst_ni) begin
-1-
34 valid_q <= 1'b0;
==>
35 end else if (!en_i || clr_i) begin
-2-
36 valid_q <= 1'b0;
==>
37 end else if (set_i) begin
-3-
38 valid_q <= 1'b1;
==>
39 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T2,T3 |
0 |
0 |
1 |
Covered |
T1,T3,T4 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |
43 if (!rst_ni) begin
-1-
44 key_q <= '0;
==>
45 end else if (clr_i) begin
-2-
46 for (int i = 0; i < Shares; i++) begin
==>
47 key_q[i] <= {EntropyCopies{entropy_i[i]}};
48 end
49 end else if (set_i) begin
-3-
50 for (int i = 0; i < Shares; i++) begin
==>
51 key_q[i] <= set_en_i ? key_i[i] : {EntropyCopies{entropy_i[i]}};
52 end
53 end
MISSING_ELSE
==>
Branches:
-1- | -2- | -3- | Status | Tests |
1 |
- |
- |
Covered |
T1,T2,T3 |
0 |
1 |
- |
Covered |
T1,T3,T4 |
0 |
0 |
1 |
Covered |
T1,T3,T4 |
0 |
0 |
0 |
Covered |
T1,T2,T3 |