ice40: synth_ice40 cleanup
authorEddie Hung <eddie@fpgeh.com>
Tue, 14 Apr 2020 14:48:37 +0000 (07:48 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 14 May 2020 17:33:56 +0000 (10:33 -0700)
techlibs/ice40/synth_ice40.cc

index a8bf93db50fbf88f9a9fa610aac0f465b18fd769..376cb7dbd955f6ab6def0114ba0501c27f5efde3 100644 (file)
@@ -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");
                }