[Cryptech-Commits] [core/rng/avalanche_entropy] 01/01: Minor cleanup. Changed to localparams.

git at cryptech.is git at cryptech.is
Thu Mar 26 14:54:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch master
in repository core/rng/avalanche_entropy.

commit 4fcba84b5d05ee335b816f7098cfbe62f549218c
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Thu Mar 26 15:54:03 2015 +0100

    Minor cleanup. Changed to localparams.
---
 src/rtl/avalanche_entropy.v | 24 ++++++++++++------------
 1 file 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"
 
 
   //----------------------------------------------------------------



More information about the Commits mailing list