[Cryptech-Commits] [core/rng/rosc_entropy] 01/01: register data for eim output

git at cryptech.is git at cryptech.is
Wed Mar 25 05:07:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch master
in repository core/rng/rosc_entropy.

commit cbd0a6984725964e26ecc0dccd0fbd17e79dca84
Author: Paul Selkirk <paul at psgd.org>
Date:   Wed Mar 25 01:04:06 2015 -0400

    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
 
 //======================================================================



More information about the Commits mailing list