aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-03-25 01:04:06 -0400
committerPaul Selkirk <paul@psgd.org>2015-03-25 01:04:06 -0400
commitcbd0a6984725964e26ecc0dccd0fbd17e79dca84 (patch)
tree8e24bc0bc5b56fd651ffae73207f3606eec0697b
parenta7b141c2ef441c775ed5d3bf96348ab00334075d (diff)
register data for eim output
-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
//======================================================================