aboutsummaryrefslogtreecommitdiff
path: root/src/rtl
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2014-09-26 14:39:15 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2014-09-26 14:39:15 +0200
commit8f7a8e5789d9feb7b8ec1ac9e2041c8dbbc1395c (patch)
tree9bc68d473f7d8d114a13be782fcb1ec086ffe064 /src/rtl
parent752b8ae8a4dab8a859967e69a2ef5f0703f3af54 (diff)
Update of rosc entropy after synthesis of the trng.
Diffstat (limited to 'src/rtl')
-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