diff options
author | William D. Jones <thor0505@comcast.net> | 2020-12-13 00:34:01 -0500 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-02-23 17:39:58 +0100 |
commit | 120404bfda90578a014ba702d457eb85ae3711d7 (patch) | |
tree | a33d7e7209995fe69a959212532fe39f9ca23768 /techlibs | |
parent | 3674eb34d4e3719798a274a251150a7687064422 (diff) | |
download | yosys-120404bfda90578a014ba702d457eb85ae3711d7.tar.gz yosys-120404bfda90578a014ba702d457eb85ae3711d7.tar.bz2 yosys-120404bfda90578a014ba702d457eb85ae3711d7.zip |
machxo2: Improve help_mode output in synth_machxo2.
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/machxo2/synth_machxo2.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/techlibs/machxo2/synth_machxo2.cc b/techlibs/machxo2/synth_machxo2.cc index ea9b2a0e8..19c0ab9d0 100644 --- a/techlibs/machxo2/synth_machxo2.cc +++ b/techlibs/machxo2/synth_machxo2.cc @@ -160,7 +160,7 @@ struct SynthMachXO2Pass : public ScriptPass if (check_label("flatten", "(unless -noflatten)")) { - if (flatten) { + if (flatten || help_mode) { run("proc"); run("flatten"); run("tribuf -logic"); @@ -181,13 +181,13 @@ struct SynthMachXO2Pass : public ScriptPass run("opt -fast"); } - if (check_label("map_ios")) + if (check_label("map_ios", "(unless -noiopad)")) { 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", "(skip if '-noiopad')"); - run("attrmvcp -attr src -attr LOC t:$__FACADE_OUTPAD %x:+[O] t:$__FACADE_TOUTPAD %x:+[O] t:$__FACADE_TINOUTPAD %x:+[B]", "(skip if '-noiopad')"); - run("attrmvcp -attr src -attr LOC -driven t:$__FACADE_INPAD %x:+[I]", "(skip if '-noiopad')"); + 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("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]"); } } |