diff options
author | Tim 'mithro' Ansell <me@mith.ro> | 2018-04-15 16:05:52 -0700 |
---|---|---|
committer | Tim 'mithro' Ansell <me@mith.ro> | 2018-04-18 16:55:08 -0700 |
commit | ca39e493ba78e7a4eaf3f0876321f892cce20f65 (patch) | |
tree | 664aa87aa865d749f02ebce12ec53df636c80fd1 | |
parent | 81a457c4a68937f8edb4c48ca5a5de86b5c05769 (diff) | |
download | yosys-ca39e493ba78e7a4eaf3f0876321f892cce20f65.tar.gz yosys-ca39e493ba78e7a4eaf3f0876321f892cce20f65.tar.bz2 yosys-ca39e493ba78e7a4eaf3f0876321f892cce20f65.zip |
synth_ice40: Rework the vpr blif output slightly.
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index 42873305e..10a1d600b 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -260,13 +260,17 @@ struct SynthIce40Pass : public ScriptPass if (!blif_file.empty() || help_mode) { if (vpr || help_mode) { run(stringf("opt_clean -purge"), - " (vpr mode)"); - run(stringf("write_blif %s", help_mode ? "<file-name>" : blif_file.c_str()), - " (vpr mode)"); + " " + " (vpr mode)"); + run(stringf("write_blif -attr -cname -conn -param %s", + help_mode ? "<file-name>" : blif_file.c_str()), + " (vpr mode)"); } if (!vpr) run(stringf("write_blif -gates -attr -param %s", - help_mode ? "<file-name>" : blif_file.c_str()), "(non-vpr mode)"); + help_mode ? "<file-name>" : blif_file.c_str()), + " " + " (non-vpr mode)"); } } |