From 1cf378042824e0f3c11229f98e8754947c7d31cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Wed, 24 Sep 2014 09:54:29 +0200 Subject: 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(-) (limited to 'src') 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; //---------------------------------------------------------------- -- cgit v1.2.3