From cbd0a6984725964e26ecc0dccd0fbd17e79dca84 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 25 Mar 2015 01:04:06 -0400 Subject: register data for eim output --- src/rtl/rosc_entropy.v | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 //====================================================================== -- cgit v1.2.3