mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-26 09:24:37 +00:00
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`. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| boxes.v | ||
| boxes_equals_clean.ys | ||
| boxes_equals_name.ys | ||
| boxes_equals_operators.ys | ||
| boxes_equals_pattern.ys | ||
| boxes_equals_wildcard.ys | ||
| boxes_no_equals.ys | ||
| boxes_no_equals_clean.ys | ||
| boxes_stack.ys | ||
| list_mod.ys | ||
| mod-attribute.ys | ||
| no_warn_assert.ys | ||
| no_warn_prefixed_arg_memb.ys | ||
| no_warn_prefixed_empty_select_arg.ys | ||
| run-test.sh | ||
| unset.ys | ||
| unset2.ys | ||
| warn_empty_select_arg.ys | ||