mirror of
https://github.com/YosysHQ/yosys
synced 2026-04-15 08:44:11 +00:00
design: fix signorm commit connectivity to design
This commit is contained in:
parent
a4398d4d90
commit
872c940259
1 changed files with 4 additions and 1 deletions
|
|
@ -338,8 +338,11 @@ struct DesignPass : public Pass {
|
|||
{
|
||||
RTLIL::Design *design_copy = new RTLIL::Design;
|
||||
|
||||
for (auto mod : design->modules())
|
||||
for (auto mod : design->modules()) {
|
||||
// Triggers signorm flush if needed (hacky)
|
||||
(void)mod->connections();
|
||||
design_copy->add(mod->clone());
|
||||
}
|
||||
|
||||
design_copy->selection_stack = design->selection_stack;
|
||||
design_copy->selection_vars = design->selection_vars;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue