aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/machxo2/synth_machxo2.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2023-03-18 18:11:50 +0100
committermyrtle <gatecat@ds0.me>2023-03-20 09:58:41 +0100
commitff9f1fb86e41eb59a92590efe03423f15a3d9cc0 (patch)
tree342b946a62ff3172c0f43817b8e21a3af2f0306b /techlibs/machxo2/synth_machxo2.cc
parent4d7e9e2e5d34a899d0ebff2b666b0fccfa9405bc (diff)
downloadyosys-ff9f1fb86e41eb59a92590efe03423f15a3d9cc0.tar.gz
yosys-ff9f1fb86e41eb59a92590efe03423f15a3d9cc0.tar.bz2
yosys-ff9f1fb86e41eb59a92590efe03423f15a3d9cc0.zip
Start unification effort for machxo2 and ecp5
Diffstat (limited to 'techlibs/machxo2/synth_machxo2.cc')
-rw-r--r--techlibs/machxo2/synth_machxo2.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/techlibs/machxo2/synth_machxo2.cc b/techlibs/machxo2/synth_machxo2.cc
index dbd01bbfd..4ca6351bd 100644
--- a/techlibs/machxo2/synth_machxo2.cc
+++ b/techlibs/machxo2/synth_machxo2.cc
@@ -214,9 +214,9 @@ struct SynthMachXO2Pass : public ScriptPass
{
if (!noiopad || help_mode)
{
- run("iopadmap -bits -outpad $__FACADE_OUTPAD I:O -inpad $__FACADE_INPAD O:I -toutpad $__FACADE_TOUTPAD ~T:I:O -tinoutpad $__FACADE_TINOUTPAD ~T:O:I:B A:top");
- run("attrmvcp -attr src -attr LOC t:$__FACADE_OUTPAD %x:+[O] t:$__FACADE_TOUTPAD %x:+[O] t:$__FACADE_TINOUTPAD %x:+[B]");
- run("attrmvcp -attr src -attr LOC -driven t:$__FACADE_INPAD %x:+[I]");
+ run("iopadmap -bits -outpad OB I:O -inpad IB O:I -toutpad OBZ ~T:I:O -tinoutpad BB ~T:O:I:B A:top", "(only if '-iopad')");
+ run("attrmvcp -attr src -attr LOC t:OB %x:+[O] t:OBZ %x:+[O] t:BB %x:+[B]");
+ run("attrmvcp -attr src -attr LOC -driven t:IB %x:+[I]");
}
}