mirror of https://github.com/YosysHQ/yosys.git
cxxrtl: Prevent wires with input or output ports from being aliased
This commit is contained in:
parent
56c843959f
commit
c7580eb18e
|
@ -3263,6 +3263,7 @@ struct CxxrtlWorker {
|
||||||
debug_wire_type = wire_type; // wire is a member
|
debug_wire_type = wire_type; // wire is a member
|
||||||
|
|
||||||
if (!debug_alias) continue;
|
if (!debug_alias) continue;
|
||||||
|
if (wire->port_input || wire->port_output) continue; // preserve input/output metadata in flags
|
||||||
const RTLIL::Wire *it = wire;
|
const RTLIL::Wire *it = wire;
|
||||||
while (flow.is_inlinable(it)) {
|
while (flow.is_inlinable(it)) {
|
||||||
log_assert(flow.wire_comb_defs[it].size() == 1);
|
log_assert(flow.wire_comb_defs[it].size() == 1);
|
||||||
|
|
Loading…
Reference in New Issue