diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2014-09-24 09:54:29 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2014-09-24 09:54:29 +0200 |
commit | 1cf378042824e0f3c11229f98e8754947c7d31cc (patch) | |
tree | bda628e093a21697402cc1240b4bb23a45c9d39b /src/rtl | |
parent | 071ea1d8114b786615068b47f83571b8ec16e001 (diff) |
Adding an enable signal port for any consumers to know that the provider is active.
Diffstat (limited to 'src/rtl')
-rw-r--r-- | src/rtl/rosc_entropy.v | 4 |
1 files changed, 3 insertions, 1 deletions
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; //---------------------------------------------------------------- |