mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Added call_on_selection() and call_on_module() API
This commit is contained in:
parent
2e358bd667
commit
8d04ca7d22
4 changed files with 37 additions and 16 deletions
|
@ -338,7 +338,7 @@ struct SubmodPass : public Pass {
|
|||
if (module == NULL)
|
||||
log("Nothing selected -> do nothing.\n");
|
||||
else {
|
||||
Pass::call_newsel(design, stringf("opt_clean %s", module->name.c_str()));
|
||||
Pass::call_on_module(design, module, "opt_clean");
|
||||
log_header("Continuing SUBMOD pass.\n");
|
||||
SubmodWorker worker(design, module, opt_name);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue