mirror of https://github.com/YosysHQ/yosys.git
Fixed submod for non-cleaned designs
This commit is contained in:
parent
a66ca0472a
commit
e881878341
|
@ -336,8 +336,11 @@ struct SubmodPass : public Pass {
|
|||
}
|
||||
if (module == NULL)
|
||||
log("Nothing selected -> do nothing.\n");
|
||||
else
|
||||
else {
|
||||
Pass::call_newsel(design, stringf("opt_clean %s", module->name.c_str()));
|
||||
log_header("Continuing SUBMOD pass.\n");
|
||||
SubmodWorker worker(design, module, opt_name);
|
||||
}
|
||||
}
|
||||
|
||||
log_pop();
|
||||
|
|
Loading…
Reference in New Issue