mirror of https://github.com/YosysHQ/yosys.git
proc_mux: copy switch src to _CMP wire
(cherry picked from commit 502ba3734b)
This commit is contained in:
parent
0d3c218d6b
commit
55633b1e85
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue