aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rtl/avalanche_entropy.v24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/rtl/avalanche_entropy.v b/src/rtl/avalanche_entropy.v
index aeece13..af04c91 100644
--- a/src/rtl/avalanche_entropy.v
+++ b/src/rtl/avalanche_entropy.v
@@ -72,23 +72,23 @@ module avalanche_entropy(
//----------------------------------------------------------------
// Internal constant and parameter definitions.
//----------------------------------------------------------------
- parameter ADDR_NAME0 = 8'h00;
- parameter ADDR_NAME1 = 8'h01;
- parameter ADDR_VERSION = 8'h02;
+ localparam ADDR_NAME0 = 8'h00;
+ localparam ADDR_NAME1 = 8'h01;
+ localparam ADDR_VERSION = 8'h02;
- parameter ADDR_CTRL = 8'h10;
- parameter CTRL_ENABLE_BIT = 0;
+ localparam ADDR_CTRL = 8'h10;
+ localparam CTRL_ENABLE_BIT = 0;
- parameter ADDR_STATUS = 8'h11;
- parameter STATUS_VALID_BIT = 0;
+ localparam ADDR_STATUS = 8'h11;
+ localparam STATUS_VALID_BIT = 0;
- parameter ADDR_ENTROPY = 8'h20;
- parameter ADDR_DELTA = 8'h30;
+ localparam ADDR_ENTROPY = 8'h20;
+ localparam ADDR_DELTA = 8'h30;
- parameter CORE_NAME0 = 32'h6578746e; // "extn"
- parameter CORE_NAME1 = 32'h6f697365; // "oise"
- parameter CORE_VERSION = 32'h302e3130; // "0.10"
+ localparam CORE_NAME0 = 32'h6578746e; // "extn"
+ localparam CORE_NAME1 = 32'h6f697365; // "oise"
+ localparam CORE_VERSION = 32'h302e3130; // "0.10"
//----------------------------------------------------------------