Removed extraneous readblif knob from abc.cc

This commit is contained in:
AdvaySingh1 2026-01-30 12:42:55 -08:00
parent 3b4574b648
commit d7a3b4e312
1 changed files with 1 additions and 4 deletions

View File

@ -143,7 +143,6 @@ struct AbcConfig
bool map_mux8 = false;
bool map_mux16 = false;
bool markgroups = false;
bool read_blif_m = false; // Add -m flag to read_blif command
pool<std::string> enabled_gates;
bool cmos_cost = false;
int max_threads = -1; // -1 means auto (use number of modules)
@ -993,8 +992,7 @@ void AbcModuleState::prepare_module(RTLIL::Design *design, RTLIL::Module *module
log_header(design, "Extracting gate netlist of module `%s' to `%s/input.blif'..\n",
module->name.c_str(), replace_tempdir(run_abc.tempdir_name, run_abc.tempdir_name, config.show_tempdir).c_str());
std::string abc_script = stringf("read_blif%s \"%s/input.blif\"; ",
config.read_blif_m ? " -m" : "", run_abc.tempdir_name);
std::string abc_script = stringf("read_blif \"%s/input.blif\"; ", run_abc.tempdir_name);
if (!config.liberty_files.empty() || !config.genlib_files.empty()) {
std::string dont_use_args;
@ -2092,7 +2090,6 @@ struct AbcPass : public Pass {
config.cleanup = !design->scratchpad_get_bool("abc.nocleanup", false);
config.show_tempdir = design->scratchpad_get_bool("abc.showtmp", false);
config.markgroups = design->scratchpad_get_bool("abc.markgroups", false);
config.read_blif_m = design->scratchpad_get_bool("abc.readblifm", false);
config.max_threads = design->scratchpad_get_int("abc.max_threads", -1);
config.reserved_cores = design->scratchpad_get_int("abc.reserved_cores", 4);