diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-03-26 15:54:03 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-03-26 15:54:03 +0100 |
commit | 4fcba84b5d05ee335b816f7098cfbe62f549218c (patch) | |
tree | ddc6d7b900d692cc39bb7ce03e283d957702cb9f /src | |
parent | c24da16c8ca73d8c9778771f5c8484d7517a7fb8 (diff) |
Minor cleanup. Changed to localparams.
Diffstat (limited to 'src')
-rw-r--r-- | src/rtl/avalanche_entropy.v | 24 |
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" //---------------------------------------------------------------- |