Fix select_op_random ignoring boxes

This commit is contained in:
Krystine Sherwin 2024-11-20 11:03:52 +13:00
parent 06f2d1e0fc
commit 453e9f0a23
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

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)
{