diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-04-14 07:48:37 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-05-14 10:33:56 -0700 |
commit | 23c53a6bdde645ef475752e24e7751beb20a3121 (patch) | |
tree | 44d5acece8f26d96e365b165d2a2a7cd3b1c9067 /techlibs | |
parent | 5d5029fa75b8cb37c07fc15a0429e28fe317b472 (diff) | |
download | yosys-23c53a6bdde645ef475752e24e7751beb20a3121.tar.gz yosys-23c53a6bdde645ef475752e24e7751beb20a3121.tar.bz2 yosys-23c53a6bdde645ef475752e24e7751beb20a3121.zip |
ice40: synth_ice40 cleanup
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/ice40/synth_ice40.cc | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc index a8bf93db5..376cb7dbd 100644 --- a/techlibs/ice40/synth_ice40.cc +++ b/techlibs/ice40/synth_ice40.cc @@ -412,19 +412,9 @@ struct SynthIce40Pass : public ScriptPass if (check_label("map_cells")) { if (help_mode) - run("techmap [-map +/ice40/ff_map.v] [-map +/ice40/cells_map.v]", "(skip if -abc9; skip if -vpr)"); - else if (vpr) - run("techmap -map +/ice40/ff_map.v"); - else { - std::string techmap_args; - if (!abc9) - techmap_args += " -map +/ice40/ff_map.v"; - if (!vpr) - techmap_args += " -map +/ice40/cells_map.v"; - if (!techmap_args.empty()) - run("techmap " + techmap_args); - } - + run("techmap -map +/ice40/cells_map.v", "(skip if -vpr)"); + else if (!vpr) + run("techmap -map +/ice40/cells_map.v"); run("clean"); } |