Removed "techmap -share_map" (use "-map +/filename" instead)
authorClifford Wolf <clifford@clifford.at>
Wed, 8 Apr 2015 10:13:53 +0000 (12:13 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 8 Apr 2015 10:13:53 +0000 (12:13 +0200)
backends/btor/verilog2btor.sh
passes/techmap/techmap.cc

index ab45b4901bbdea2b71e4377daa1c7a869cb88540..abe31b9b813fcec32ce88ff9d9b858d5b64d9a2b 100755 (executable)
@@ -24,7 +24,7 @@ hierarchy -check;
 proc; 
 opt; opt_const -mux_undef; opt;
 rename -hide;;;
-#techmap -share_map pmux2mux.v;;
+#techmap -map +/pmux2mux.v;;
 splice; opt;
 memory_dff -wr_only;
 memory_collect;;
index ab748ed74ea850d43c605059a25cb01925756223..bc86571b831dceab251686caffcc8f7603eaea28 100644 (file)
@@ -824,11 +824,6 @@ struct TechmapPass : public Pass {
                log("    -map %%<design-name>\n");
                log("        like -map above, but with an in-memory design instead of a file.\n");
                log("\n");
-               log("    -share_map filename\n");
-               log("        like -map, but look for the file in the share directory (where the\n");
-               log("        yosys data files are). this is mainly used internally when techmap\n");
-               log("        is called from other commands.\n");
-               log("\n");
                log("    -extern\n");
                log("        load the cell implementations as separate modules into the design\n");
                log("        instead of inlining them.\n");
@@ -962,10 +957,6 @@ struct TechmapPass : public Pass {
                                        map_files.push_back(args[++argidx]);
                                continue;
                        }
-                       if (args[argidx] == "-share_map" && argidx+1 < args.size()) {
-                               map_files.push_back(proc_share_dirname() + args[++argidx]);
-                               continue;
-                       }
                        if (args[argidx] == "-max_iter" && argidx+1 < args.size()) {
                                max_iter = atoi(args[++argidx].c_str());
                                continue;