aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/machxo2/synth_machxo2.cc
diff options
context:
space:
mode:
authorWilliam D. Jones <thor0505@comcast.net>2020-11-26 13:39:40 -0500
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-02-23 17:39:58 +0100
commitc76f361b56216aa4021c88e5d00b7d8323165967 (patch)
tree642346b70530e2190114a4623cdc720c9025e5f7 /techlibs/machxo2/synth_machxo2.cc
parent03cbf1327d01dbb7997d2f2b241340c29ff35e00 (diff)
downloadyosys-c76f361b56216aa4021c88e5d00b7d8323165967.tar.gz
yosys-c76f361b56216aa4021c88e5d00b7d8323165967.tar.bz2
yosys-c76f361b56216aa4021c88e5d00b7d8323165967.zip
machxo2: synth_machxo2 now maps ports to FACADE_IO.
Diffstat (limited to 'techlibs/machxo2/synth_machxo2.cc')
-rw-r--r--techlibs/machxo2/synth_machxo2.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/techlibs/machxo2/synth_machxo2.cc b/techlibs/machxo2/synth_machxo2.cc
index f126f9c32..794f25d0a 100644
--- a/techlibs/machxo2/synth_machxo2.cc
+++ b/techlibs/machxo2/synth_machxo2.cc
@@ -173,6 +173,11 @@ struct SynthMachXO2Pass : public ScriptPass
run("opt -fast");
}
+ if (check_label("map_ios"))
+ {
+ run("iopadmap -bits -outpad $__FACADE_OUTPAD I:O -inpad $__FACADE_INPAD O:I -toutpad $__FACADE_TOUTPAD OE:I:O -tinoutpad $__FACADE_TINOUTPAD OE:O:I:B A:top");
+ }
+
if (check_label("map_ffs"))
{
run("dfflegalize -cell $_DFF_P_ 0");