[Cryptech-Commits] [staging/core/rng/rosc_entropy] 03/11: Adding an enable signal port for any consumers to know that the provider is active.
git at cryptech.is
git at cryptech.is
Tue Mar 17 13:18:36 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 staging/core/rng/rosc_entropy.
commit 1cf378042824e0f3c11229f98e8754947c7d31cc
Author: Joachim Strömbergson <joachim at secworks.se>
Date: Wed Sep 24 09:54:29 2014 +0200
Adding an enable signal port for any consumers to know that the provider is active.
---
src/rtl/rosc_entropy.v | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/rtl/rosc_entropy.v b/src/rtl/rosc_entropy.v
index 32fc3d2..a5fbd5a 100644
--- a/src/rtl/rosc_entropy.v
+++ b/src/rtl/rosc_entropy.v
@@ -47,6 +47,7 @@ module rosc_entropy(
output wire [31 : 0] read_data,
output wire error,
+ output wire entropy_enbled,
output wire [31 : 0] entropy_data,
output wire entropy_valid,
input wire entropy_ack,
@@ -117,9 +118,10 @@ module rosc_entropy(
assign error = tmp_error;
assign security_error = 0;
- assign internal_entropy_ack = api_entropy_ack | entropy_ack;
+ assign entropy_enabled = en_reg;
assign entropy_data = internal_entropy_data;
assign entropy_data_valid = internal_entropy_valid;
+ assign internal_entropy_ack = api_entropy_ack | entropy_ack;
//----------------------------------------------------------------
More information about the Commits
mailing list