rtlil_bufnorm: fix cell deletion deferral bug

This commit is contained in:
Emil J. Tywoniak 2026-03-07 01:10:04 +01:00
parent b7c97ba743
commit b206223c40
1 changed files with 2 additions and 2 deletions

View File

@ -75,9 +75,9 @@ struct RTLIL::SigNormIndex
else
cells_to_remove.push_back(cell);
for (auto cell : cells_to_remove)
module->remove(cell);
}
for (auto cell : cells_to_remove)
module->remove(cell);
for (auto portname : module->ports) {
Wire *wire = module->wire(portname);