3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-01-26 20:08:44 +00:00

proc_mux: copy switch src to _CMP wire

This commit is contained in:
Emil J. Tywoniak 2025-12-10 21:35:03 +01:00
parent da65a18f39
commit 502ba3734b

View file

@ -223,6 +223,7 @@ struct MuxGenCtx {
sstr << "$procmux$" << (autoidx++);
RTLIL::Wire *cmp_wire = mod->addWire(sstr.str() + "_CMP", 0);
cmp_wire->transfer_src_attribute(sw);
for (auto comp : *compare)
{