1
0
mirror of synced 2026-02-15 20:46:01 +00:00
Files
YosysHQ.yosys/tests
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
..
2025-01-27 13:19:26 +01:00
2023-08-12 11:59:39 +10:00
2023-08-12 11:59:39 +10:00
2025-03-14 14:08:15 +13:00
2023-08-12 11:59:39 +10:00
2023-08-12 11:59:39 +10:00
2024-11-12 13:33:41 +01:00
2023-08-12 11:59:39 +10:00
2023-08-12 11:59:39 +10:00
2025-02-14 14:01:27 +13:00
2024-11-05 12:36:31 +13:00
2025-03-14 16:32:18 +13:00
2023-08-12 11:59:39 +10:00
2025-03-14 14:08:15 +13:00
2024-11-05 12:36:31 +13:00
2023-08-12 11:59:39 +10:00
2024-02-16 11:43:28 +01:00