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:
parent
da65a18f39
commit
502ba3734b
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