mirror of https://github.com/YosysHQ/yosys.git
Move \init signal for non-port signals as long as internally driven
This commit is contained in:
parent
130d3b9639
commit
b3a66dff7c
|
@ -175,7 +175,7 @@ struct SubmodWorker
|
|||
new_wire->port_output = new_wire_port_output;
|
||||
new_wire->start_offset = wire->start_offset;
|
||||
new_wire->attributes = wire->attributes;
|
||||
if (new_wire->port_output) {
|
||||
if (!flags.is_int_driven.is_fully_zero()) {
|
||||
new_wire->attributes.erase(ID(init));
|
||||
auto sig = sigmap(wire);
|
||||
for (int i = 0; i < GetSize(sig); i++) {
|
||||
|
|
Loading…
Reference in New Issue