aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/synth/cells.v
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/synth/cells.v')
-rw-r--r--ecp5/synth/cells.v39
1 files changed, 39 insertions, 0 deletions
diff --git a/ecp5/synth/cells.v b/ecp5/synth/cells.v
new file mode 100644
index 00000000..2435713a
--- /dev/null
+++ b/ecp5/synth/cells.v
@@ -0,0 +1,39 @@
+(* blackbox *)
+module TRELLIS_SLICE(
+ input A0, B0, C0, D0,
+ input A1, B1, C1, D1,
+ input M0, M1,
+ input FCI, FXA, FXB,
+ input CLK, LSR, CE,
+ output F0, Q0,
+ output F1, Q1,
+ output FCO, OFX0, OFX1
+);
+
+parameter MODE = "LOGIC";
+parameter GSR = "ENABLED";
+parameter SRMODE = "LSR_OVER_CE";
+parameter CEMUX = "1";
+parameter CLKMUX = "CLK";
+parameter LSRMUX = "LSR";
+parameter LUT0_INITVAL = 16'h0000;
+parameter LUT1_INITVAL = 16'h0000;
+parameter REG0_SD = "0";
+parameter REG1_SD = "0";
+parameter REG0_REGSET = "RESET";
+parameter REG1_REGSET = "RESET";
+parameter CCU2_INJECT1_0 = "NO";
+parameter CCU2_INJECT1_1 = "NO";
+
+endmodule
+
+(* blackbox *)
+module TRELLIS_IO(
+ inout B,
+ input I,
+ input T,
+ output O,
+);
+parameter DIR = "INPUT";
+
+endmodule