aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/rosc_entropy.v8
-rw-r--r--src/rtl/rosc_entropy_core.v4
2 files changed, 7 insertions, 5 deletions
diff --git a/src/rtl/rosc_entropy.v b/src/rtl/rosc_entropy.v
index 815c606..404ddae 100644
--- a/src/rtl/rosc_entropy.v
+++ b/src/rtl/rosc_entropy.v
@@ -47,15 +47,17 @@ module rosc_entropy(
output wire [31 : 0] read_data,
output wire error,
+ input wire discard,
+ input wire test_mode,
+ output wire security_error,
+
output wire entropy_enabled,
output wire [31 : 0] entropy_data,
output wire entropy_valid,
input wire entropy_ack,
output wire [7 : 0] debug,
- input wire debug_update,
-
- output wire security_error
+ input wire debug_update
);
diff --git a/src/rtl/rosc_entropy_core.v b/src/rtl/rosc_entropy_core.v
index 98e08e6..6fb48ec 100644
--- a/src/rtl/rosc_entropy_core.v
+++ b/src/rtl/rosc_entropy_core.v
@@ -203,7 +203,7 @@ module rosc_entropy_core(
//----------------------------------------------------------------
always @*
begin : debug_out
- debug_delay_ctr_new = 8'h00000000;
+ debug_delay_ctr_new = 32'h00000000;
debug_delay_ctr_we = 0;
debug_we = 0;
@@ -215,7 +215,7 @@ module rosc_entropy_core(
if (debug_delay_ctr_reg == DEBUG_DELAY)
begin
- debug_delay_ctr_new = 8'h00000000;
+ debug_delay_ctr_new = 32'h00000000;
debug_delay_ctr_we = 1;
debug_we = 1;
end