1
0
mirror of synced 2026-02-02 07:01:06 +00:00
Files
YosysHQ.yosys/tests/select
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
..
2020-04-12 22:45:45 +02:00
2025-03-14 16:32:18 +13:00
2024-11-04 13:16:13 +01:00
2024-11-04 16:26:46 +01:00
2023-08-12 11:59:39 +10:00
2020-04-16 10:51:58 -07:00
2020-04-16 10:51:58 -07:00