3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-18 05:20:27 +00:00

verifix: fix bits() deprecation warnings

This commit is contained in:
Miodrag Milanovic 2025-10-13 09:47:18 +02:00
parent 9a12d92551
commit 2f8f421dee
2 changed files with 11 additions and 12 deletions

View file

@ -577,7 +577,7 @@ struct SvaFsm
if (delta_pos >= 0 && i_within_j && j_within_i) {
did_something = true;
values[i].bits()[delta_pos] = State::Sa;
values[i].set(delta_pos, State::Sa);
values[j] = values.back();
values.pop_back();
goto next_pair;