aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/modexp_core.v
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-23 10:00:57 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-23 10:00:57 +0200
commit906b9f1a5dbe37be9ce09c54a93095c41baab42a (patch)
tree5e59ba23cd7aeb27006cb529bfb888d86486436f /src/rtl/modexp_core.v
parentd2a905581104410251f2e1efadb59249e8e97df4 (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.v3
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,