From 4fcba84b5d05ee335b816f7098cfbe62f549218c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Thu, 26 Mar 2015 15:54:03 +0100 Subject: Minor cleanup. Changed to localparams. --- src/rtl/avalanche_entropy.v | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') 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" //---------------------------------------------------------------- -- cgit v1.2.3