mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-09 08:50:18 +00:00
fabulous: remove unused -blif option
Signed-off-by: Leo Moser <leomoser99@gmail.com>
This commit is contained in:
parent
e87d8e162e
commit
b06c57b2bf
1 changed files with 1 additions and 17 deletions
|
|
@ -43,10 +43,6 @@ struct SynthPass : public ScriptPass {
|
|||
log(" -auto-top\n");
|
||||
log(" automatically determine the top of the design hierarchy\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(" write the design to the specified JSON file. writing of an output file\n");
|
||||
log(" is omitted if this parameter is not specified.\n");
|
||||
|
|
@ -120,7 +116,7 @@ struct SynthPass : public ScriptPass {
|
|||
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<std::pair<string, string>> extra_ffs;
|
||||
|
||||
|
|
@ -139,7 +135,6 @@ struct SynthPass : public ScriptPass {
|
|||
carry_mode = "none";
|
||||
flatten = true;
|
||||
json_file = "";
|
||||
blif_file = "";
|
||||
}
|
||||
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||
|
|
@ -157,10 +152,6 @@ struct SynthPass : public ScriptPass {
|
|||
json_file = args[++argidx];
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-blif" && argidx + 1 < args.size()) {
|
||||
blif_file = args[++argidx];
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-run" && argidx + 1 < args.size()) {
|
||||
size_t pos = args[argidx + 1].find(':');
|
||||
if (pos == std::string::npos) {
|
||||
|
|
@ -440,13 +431,6 @@ struct SynthPass : public ScriptPass {
|
|||
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 (!json_file.empty() || help_mode)
|
||||
run(stringf("write_json %s", help_mode ? "<file-name>" : json_file));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue