mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
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)
|
if (module == NULL)
|
||||||
log("Nothing selected -> do nothing.\n");
|
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);
|
SubmodWorker worker(design, module, opt_name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log_pop();
|
log_pop();
|
||||||
|
|
Loading…
Reference in a new issue