diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-05-01 16:26:43 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-05-01 16:26:43 -0700 |
commit | f86d153cef724af9d30e4139783a7e14d7ba0a19 (patch) | |
tree | 1c2cd09407cbeef2f68c19f9bcfb95566355fa01 /techlibs/ice40 | |
parent | acafcdc94dc148b2bf9c8faef173e5b2b54e1ac5 (diff) | |
parent | 7a0af004a0a4dc3831997f0845d40fc3ea514281 (diff) | |
download | yosys-f86d153cef724af9d30e4139783a7e14d7ba0a19.tar.gz yosys-f86d153cef724af9d30e4139783a7e14d7ba0a19.tar.bz2 yosys-f86d153cef724af9d30e4139783a7e14d7ba0a19.zip |
Merge branch 'master' of github.com:YosysHQ/yosys
Diffstat (limited to 'techlibs/ice40')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 8899bfcc4..5de33110a 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -225,11 +225,13 @@ struct SynthIce40Pass : public ScriptPass run("proc"); } - if (flatten && check_label("flatten", "(unless -noflatten)")) + if (check_label("flatten", "(unless -noflatten)")) { - run("flatten"); - run("tribuf -logic"); - run("deminout"); + if (flatten) { + run("flatten"); + run("tribuf -logic"); + run("deminout"); + } } if (check_label("coarse")) |