3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-14 21:08:47 +00:00
yosys/passes
Krystine Sherwin 8405b3b723
select: Fix -none and -clear
If the selection stack only has one element (which it normally does), then
`design->pop_selection()` automatically resets to the default full selection.
This is a problem for `select [-none | -clear]` which were trying to replace the
current selection, but because the pop added an extra element when the `execute`
returned, the extra selection (the one we actually wanted) gets popped too. So
instead, reassign `design->selection()` in the same way as if we called `select
[selection]`.

Also adds selection stack tests, and removes the accidentally-committed
`boxes_dummy.ys`.
2025-03-14 16:32:18 +13:00
..
cmds select: Fix -none and -clear 2025-03-14 16:32:18 +13:00
equiv mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
fsm fix bugs in handling last id in hdlname to scopename conversion 2025-01-16 12:57:08 +01:00
hierarchy Use selection helpers 2025-03-14 14:08:13 +13:00
memory memory_libmap: update indices on design modification 2025-02-11 13:32:34 +01:00
opt Drop deprecation on Design::selected_modules() 2025-03-14 14:08:56 +13:00
pmgen pmgen: Move passes out of pmgen folder 2025-01-31 15:18:28 +13:00
proc mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
sat Drop deprecation on Design::selected_modules() 2025-03-14 14:08:56 +13:00
techmap Drop deprecation on Design::selected_modules() 2025-03-14 14:08:56 +13:00
tests macc: Stop using the B port 2025-01-08 13:03:35 +01:00