proc_mux: copy switch src to _CMP wire

(cherry picked from commit 502ba3734b)
This commit is contained in:
Emil J. Tywoniak 2025-12-10 21:35:03 +01:00
parent 0d3c218d6b
commit 55633b1e85
1 changed files with 1 additions and 0 deletions

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)
{