mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
bugpoint: add -wires option.
This commit is contained in:
parent
2b474a01e1
commit
1838edf35c
2 changed files with 39 additions and 4 deletions
|
@ -1826,7 +1826,7 @@ void RTLIL::Module::remove(const pool<RTLIL::Wire*> &wires)
|
|||
sig.pack();
|
||||
for (auto &c : sig.chunks_)
|
||||
if (c.wire != NULL && wires_p->count(c.wire)) {
|
||||
c.wire = module->addWire(NEW_ID, c.width);
|
||||
c.wire = module->addWire(stringf("$delete_wire$%d", autoidx++), c.width);
|
||||
c.offset = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue