3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-29 21:36:33 +00:00

Add dont_use_cells to scl cache.

This commit is contained in:
nella 2026-04-20 20:25:37 +02:00
parent b260b6a672
commit 69c3c3e4b2
3 changed files with 20 additions and 9 deletions

View file

@ -1027,7 +1027,7 @@ void AbcModuleState::prepare_module(RTLIL::Design *design, RTLIL::Module *module
run_abc.dont_use_args += stringf("-X \"%s\" ", dont_use_cell);
}
std::string merged_scl = convert_liberty_files_to_merged_scl(config.liberty_files, config.exe_file);
std::string merged_scl = convert_liberty_files_to_merged_scl(config.liberty_files, run_abc.dont_use_args, config.exe_file);
if (!merged_scl.empty()) {
run_abc.abc_script += stringf("read_scl \"%s\" ; ", merged_scl.c_str());
} else {