3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Fix select_op_random ignoring boxes

This commit is contained in:
Krystine Sherwin 2025-03-14 14:08:14 +13:00
parent 59802584b0
commit f15cd73419
No known key found for this signature in database

View file

@ -228,7 +228,7 @@ static void select_op_random(RTLIL::Design *design, RTLIL::Selection &lhs, int c
}
}
lhs = RTLIL::Selection(false, false, design);
lhs = RTLIL::Selection(false, lhs.selects_boxes, design);
while (!objects.empty() && count-- > 0)
{