diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-21 12:35:06 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-21 12:35:06 +0200 |
commit | 1d88f1cf9f2088de7825f5292db5b40d4f73d036 (patch) | |
tree | ef1eeba2dcddbe957dabb8147b2b81cdc0d2ecd3 /passes/cmds/delete.cc | |
parent | 3cb61d03f8722fddfa14877accae1b3ca51e3926 (diff) | |
download | yosys-1d88f1cf9f2088de7825f5292db5b40d4f73d036.tar.gz yosys-1d88f1cf9f2088de7825f5292db5b40d4f73d036.tar.bz2 yosys-1d88f1cf9f2088de7825f5292db5b40d4f73d036.zip |
Removed deprecated module->new_wire()
Diffstat (limited to 'passes/cmds/delete.cc')
-rw-r--r-- | passes/cmds/delete.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/delete.cc b/passes/cmds/delete.cc index 1c02752c2..ce6ac4aff 100644 --- a/passes/cmds/delete.cc +++ b/passes/cmds/delete.cc @@ -30,7 +30,7 @@ struct DeleteWireWorker sig.optimize(); for (auto &c : sig.chunks) if (c.wire != NULL && delete_wires_p->count(c.wire->name)) { - c.wire = module->new_wire(c.width, NEW_ID); + c.wire = module->addWire(NEW_ID, c.width); c.offset = 0; } } |