1
0
mirror of synced 2026-01-26 04:11:35 +00:00

cxxrtl: Prevent wires with input or output ports from being aliased

This commit is contained in:
Amiot Noe
2024-05-21 21:47:00 +02:00
committed by Catherine
parent 56c843959f
commit c7580eb18e

View File

@@ -3263,6 +3263,7 @@ struct CxxrtlWorker {
debug_wire_type = wire_type; // wire is a member
if (!debug_alias) continue;
if (wire->port_input || wire->port_output) continue; // preserve input/output metadata in flags
const RTLIL::Wire *it = wire;
while (flow.is_inlinable(it)) {
log_assert(flow.wire_comb_defs[it].size() == 1);