mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-29 21:38:45 +00:00
proc_mux: copy switch src to _CMP wire
This commit is contained in:
parent
2a5fde3661
commit
da89633912
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue