aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ecp5/abc_5g.box
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-06-14 12:02:12 +0100
committerDavid Shah <dave@ds0.me>2019-06-14 17:15:02 +0100
commit95665730540c0fd7c76690f28d0fd6b5f13f2223 (patch)
tree91907bc7387e194d64d5503dec4bf4c7987593ae /techlibs/ecp5/abc_5g.box
parentbc22e2e3ee120aeb84323ce52031b895f9f62f54 (diff)
downloadyosys-95665730540c0fd7c76690f28d0fd6b5f13f2223.tar.gz
yosys-95665730540c0fd7c76690f28d0fd6b5f13f2223.tar.bz2
yosys-95665730540c0fd7c76690f28d0fd6b5f13f2223.zip
ecp5: Add abc9 option
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'techlibs/ecp5/abc_5g.box')
-rw-r--r--techlibs/ecp5/abc_5g.box36
1 files changed, 36 insertions, 0 deletions
diff --git a/techlibs/ecp5/abc_5g.box b/techlibs/ecp5/abc_5g.box
new file mode 100644
index 000000000..72af6d9cb
--- /dev/null
+++ b/techlibs/ecp5/abc_5g.box
@@ -0,0 +1,36 @@
+# Box 1 : CCU2C (2xCARRY + 2xLUT4)
+# Outputs: S0, S1, COUT
+# name ID w/b ins outs
+CCU2C 1 1 9 3
+
+#A0 A1 B0 B1 C0 C1 D0 D1 CIN
+379 - 379 - 275 - 141 - 257
+630 379 630 379 526 275 392 141 273
+516 516 516 516 412 412 278 278 43
+
+# Box 2 : TRELLIS_DPR16X4 (16x4 dist ram)
+# Outputs: DO0, DO1, DO2, DO3, DO4
+# name ID w/b ins outs
+TRELLIS_DPR16X4 2 0 14 4
+
+#DI0 DI1 DI2 DI3 RAD0 RAD1 RAD2 RAD3 WAD0 WAD1 WAD2 WAD3 WCK WRE
+- - - - 141 379 275 379 - - - - - -
+- - - - 141 379 275 379 - - - - - -
+- - - - 141 379 275 379 - - - - - -
+- - - - 141 379 275 379 - - - - - -
+
+# Box 3 : PFUMX (MUX2)
+# Outputs: Z
+# name ID w/b ins outs
+PFUMX 3 1 3 1
+
+#ALUT BLUT C0
+98 98 151
+
+# Box 4 : L6MUX21 (MUX2)
+# Outputs: Z
+# name ID w/b ins outs
+L6MUX21 4 1 3 1
+
+#D0 D1 SD
+140 141 148