mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Bugfix in "techmap -extern"
This commit is contained in:
parent
8e7361f128
commit
b6acbc82e6
2 changed files with 17 additions and 10 deletions
|
@ -504,6 +504,7 @@ struct TechmapWorker
|
|||
|
||||
RTLIL::Wire *new_wire = tpl->addWire(port_name, wire);
|
||||
wire->port_input = false;
|
||||
wire->port_id = 0;
|
||||
|
||||
for (int i = 0; i < wire->width; i++) {
|
||||
port_new2old_map[RTLIL::SigBit(new_wire, i)] = RTLIL::SigBit(wire, i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue