From b06c57b2bfdec18427fc09cb158ca34020b47525 Mon Sep 17 00:00:00 2001 From: Leo Moser Date: Wed, 1 Jul 2026 10:30:06 +0200 Subject: [PATCH] fabulous: remove unused `-blif` option Signed-off-by: Leo Moser --- techlibs/fabulous/synth_fabulous.cc | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/techlibs/fabulous/synth_fabulous.cc b/techlibs/fabulous/synth_fabulous.cc index d77dd54a9..59358c07e 100644 --- a/techlibs/fabulous/synth_fabulous.cc +++ b/techlibs/fabulous/synth_fabulous.cc @@ -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 \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 \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 extra_plib, extra_map, extra_mlibmap; std::vector> extra_ffs; @@ -139,7 +135,6 @@ struct SynthPass : public ScriptPass { carry_mode = "none"; flatten = true; json_file = ""; - blif_file = ""; } void execute(std::vector 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 ? "" : blif_file.c_str())); - } - } - if (check_label("json")) { if (!json_file.empty() || help_mode) run(stringf("write_json %s", help_mode ? "" : json_file));