proc_mux: copy switch src to _CMP wire

(cherry picked from commit 502ba3734b)
This commit is contained in:
Emil J. Tywoniak
2026-07-20 15:01:30 +02:00
parent 6182c7dd85
commit 9bc771e051
+1
View File
@@ -217,6 +217,7 @@ struct MuxGenCtx {
sstr << "$procmux$" << (autoidx++);
RTLIL::Wire *cmp_wire = mod->addWire(mod->design->twines.add(std::string{sstr.str() + "_CMP"}), 0);
cmp_wire->transfer_src_attribute(sw);
for (auto comp : *compare)
{