mirror of https://github.com/YosysHQ/yosys.git
fabulous: remove unused `-blif` option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
This commit is contained in:
parent
e87d8e162e
commit
b06c57b2bf
|
|
@ -43,10 +43,6 @@ struct SynthPass : public ScriptPass {
|
||||||
log(" -auto-top\n");
|
log(" -auto-top\n");
|
||||||
log(" automatically determine the top of the design hierarchy\n");
|
log(" automatically determine the top of the design hierarchy\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
log(" -blif <file>\n");
|
|
||||||
log(" write the design to the specified BLIF file. writing of an output file\n");
|
|
||||||
log(" is omitted if this parameter is not specified.\n");
|
|
||||||
log("\n");
|
|
||||||
log(" -json <file>\n");
|
log(" -json <file>\n");
|
||||||
log(" write the design to the specified JSON file. writing of an output file\n");
|
log(" write the design to the specified JSON file. writing of an output file\n");
|
||||||
log(" is omitted if this parameter is not specified.\n");
|
log(" is omitted if this parameter is not specified.\n");
|
||||||
|
|
@ -120,7 +116,7 @@ struct SynthPass : public ScriptPass {
|
||||||
log("\n");
|
log("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
string top_module, json_file, blif_file, fsm_opts, memory_opts, carry_mode, cells_map, arith_map, clkbuf_map, multiplier_map;
|
string top_module, json_file, fsm_opts, memory_opts, carry_mode, cells_map, arith_map, clkbuf_map, multiplier_map;
|
||||||
std::vector<string> extra_plib, extra_map, extra_mlibmap;
|
std::vector<string> extra_plib, extra_map, extra_mlibmap;
|
||||||
std::vector<std::pair<string, string>> extra_ffs;
|
std::vector<std::pair<string, string>> extra_ffs;
|
||||||
|
|
||||||
|
|
@ -139,7 +135,6 @@ struct SynthPass : public ScriptPass {
|
||||||
carry_mode = "none";
|
carry_mode = "none";
|
||||||
flatten = true;
|
flatten = true;
|
||||||
json_file = "";
|
json_file = "";
|
||||||
blif_file = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||||
|
|
@ -157,10 +152,6 @@ struct SynthPass : public ScriptPass {
|
||||||
json_file = args[++argidx];
|
json_file = args[++argidx];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-blif" && argidx + 1 < args.size()) {
|
|
||||||
blif_file = args[++argidx];
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (args[argidx] == "-run" && argidx + 1 < args.size()) {
|
if (args[argidx] == "-run" && argidx + 1 < args.size()) {
|
||||||
size_t pos = args[argidx + 1].find(':');
|
size_t pos = args[argidx + 1].find(':');
|
||||||
if (pos == std::string::npos) {
|
if (pos == std::string::npos) {
|
||||||
|
|
@ -440,13 +431,6 @@ struct SynthPass : public ScriptPass {
|
||||||
run("stat");
|
run("stat");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_label("blif")) {
|
|
||||||
if (!blif_file.empty() || help_mode) {
|
|
||||||
run("opt_clean -purge");
|
|
||||||
run(stringf("write_blif -attr -cname -conn -param %s", help_mode ? "<file-name>" : blif_file.c_str()));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (check_label("json")) {
|
if (check_label("json")) {
|
||||||
if (!json_file.empty() || help_mode)
|
if (!json_file.empty() || help_mode)
|
||||||
run(stringf("write_json %s", help_mode ? "<file-name>" : json_file));
|
run(stringf("write_json %s", help_mode ? "<file-name>" : json_file));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue