aboutsummaryrefslogtreecommitdiff
path: root/src/rtl/pe/modexpa7_primitive_switch.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtl/pe/modexpa7_primitive_switch.v')
-rw-r--r--src/rtl/pe/modexpa7_primitive_switch.v16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/rtl/pe/modexpa7_primitive_switch.v b/src/rtl/pe/modexpa7_primitive_switch.v
new file mode 100644
index 0000000..d38069b
--- /dev/null
+++ b/src/rtl/pe/modexpa7_primitive_switch.v
@@ -0,0 +1,16 @@
+//`define USE_VENDOR_PRIMITIVES
+
+`ifdef USE_VENDOR_PRIMITIVES
+
+`define ADDER32_PRIMITIVE adder32_artix7
+`define SUBTRACTOR32_PRIMITIVE subtractor32_artix7
+`define SYSTOLIC_PE_PRIMITIVE systolic_pe_artix7
+
+`else
+
+`define ADDER32_PRIMITIVE adder32_generic
+`define SUBTRACTOR32_PRIMITIVE subtractor32_generic
+`define SYSTOLIC_PE_PRIMITIVE systolic_pe_generic
+
+
+`endif