diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-06-23 10:00:57 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-06-23 10:00:57 +0200 |
commit | 906b9f1a5dbe37be9ce09c54a93095c41baab42a (patch) | |
tree | 5e59ba23cd7aeb27006cb529bfb888d86486436f /src/rtl/modexp_core.v | |
parent | d2a905581104410251f2e1efadb59249e8e97df4 (diff) |
Adding module parameters for generic operand size to modexp_core and top level localparams with explanation in modexp.v to control the core instantiation.
Diffstat (limited to 'src/rtl/modexp_core.v')
-rw-r--r-- | src/rtl/modexp_core.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rtl/modexp_core.v b/src/rtl/modexp_core.v index b8c4403..aa8a758 100644 --- a/src/rtl/modexp_core.v +++ b/src/rtl/modexp_core.v @@ -54,7 +54,8 @@ // //====================================================================== -module modexp_core( +module modexp_core #(parameter OPW = 32, parameter ADW = 8) + ( input wire clk, input wire reset_n, |