aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/modexpa7_settings.vh
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl/modexpa7_settings.vh')
-rw-r--r--src/rtl/modexpa7_settings.vh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rtl/modexpa7_settings.vh b/src/rtl/modexpa7_settings.vh
new file mode 100644
index 0000000..aca24b4
--- /dev/null
+++ b/src/rtl/modexpa7_settings.vh
@@ -0,0 +1,6 @@
+localparam SYSTOLIC_PE_LATENCY = 4;
+
+localparam SYSTOLIC_CNTR_WIDTH = OPERAND_ADDR_WIDTH - SYSTOLIC_ARRAY_POWER;
+localparam SYSTOLIC_ARRAY_LENGTH = 2 ** SYSTOLIC_ARRAY_POWER;
+localparam SYSTOLIC_NUM_CYCLES = 2 ** SYSTOLIC_CNTR_WIDTH;
+