aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/machxo2/synth_machxo2.cc
diff options
context:
space:
mode:
authorMarcelina Koƛcielnicka <mwk@0x04.net>2021-11-09 11:22:48 +0100
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-11-09 15:40:16 +0100
commit15b0d717ed658b342ce5f74df5a65827eed04a94 (patch)
treee9dfb025526ea0f1fbddf705987872fc889a951c /techlibs/machxo2/synth_machxo2.cc
parent4871d8f19911dc48bf7726519437be8a821c0a1f (diff)
downloadyosys-15b0d717ed658b342ce5f74df5a65827eed04a94.tar.gz
yosys-15b0d717ed658b342ce5f74df5a65827eed04a94.tar.bz2
yosys-15b0d717ed658b342ce5f74df5a65827eed04a94.zip
iopadmap: Add native support for negative-polarity output enable.
Diffstat (limited to 'techlibs/machxo2/synth_machxo2.cc')
-rw-r--r--techlibs/machxo2/synth_machxo2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/machxo2/synth_machxo2.cc b/techlibs/machxo2/synth_machxo2.cc
index bba8f4830..e86ec5aaf 100644
--- a/techlibs/machxo2/synth_machxo2.cc
+++ b/techlibs/machxo2/synth_machxo2.cc
@@ -185,7 +185,7 @@ struct SynthMachXO2Pass : public ScriptPass
{
if (!noiopad || help_mode)
{
- 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");
+ 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]");
}