mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-05 11:35:20 +02:00
proc_mux: copy switch src to _CMP wire
(cherry picked from commit 502ba3734b)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user