[Cryptech-Commits] [core/math/modexp] 01/01: Merge branch 'config_core_selector'
git at cryptech.is
git at cryptech.is
Mon Nov 16 21:39:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
paul at psgd.org pushed a commit to branch master
in repository core/math/modexp.
commit 6a7af4ad75bdd0c1c99500b3060d275bc9a9640a
Merge: e61c650 b97c869
Author: Paul Selkirk <paul at psgd.org>
Date: Fri Nov 13 16:44:30 2015 -0500
Merge branch 'config_core_selector'
src/rtl/modexp.v | 256 ++++++++++++++++++++++++++-----------------------------
1 file changed, 123 insertions(+), 133 deletions(-)
diff --cc src/rtl/modexp.v
index 65f4058,2af987f..ebda365
--- a/src/rtl/modexp.v
+++ b/src/rtl/modexp.v
@@@ -72,15 -72,6 +72,15 @@@ module modexp
//----------------------------------------------------------------
// Internal constant and parameter definitions.
//----------------------------------------------------------------
++
+ // The operand width is the internal operand width in bits.
+ // The address width is the size of the address space used. This
+ // value must be balances with OPERAND_WIDTH to allow a total
+ // of 8192 bits of data. OPERAND_WIDTH * (ADDRESS_WIDTH ** 2)
+ // is the formula. Note that the API data with is always 32 bits.
+ localparam OPERAND_WIDTH = 32;
+ localparam ADDRESS_WIDTH = 8;
+
- localparam GENERAL_PREFIX = 4'h0;
localparam ADDR_NAME0 = 8'h00;
localparam ADDR_NAME1 = 8'h01;
localparam ADDR_VERSION = 8'h02;
More information about the Commits
mailing list