aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/rosc_entropy.v9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rtl/rosc_entropy.v b/src/rtl/rosc_entropy.v
index 0a7e60b..e83ee52 100644
--- a/src/rtl/rosc_entropy.v
+++ b/src/rtl/rosc_entropy.v
@@ -118,13 +118,14 @@ module rosc_entropy(
reg [31 : 0] tmp_read_data;
+ reg [31 : 0] tmp_read_data_reg;
reg tmp_error;
//----------------------------------------------------------------
// Concurrent connectivity for ports etc.
//----------------------------------------------------------------
- assign read_data = tmp_read_data;
+ assign read_data = tmp_read_data_reg;
assign error = tmp_error;
assign security_error = 0;
@@ -304,6 +305,12 @@ module rosc_entropy(
end
end
+ // register data for eim output
+ always @(posedge clk)
+ begin
+ tmp_read_data_reg <= tmp_read_data;
+ end
+
endmodule // rosc_entropy_core
//======================================================================