3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-30 13:19:05 +00:00

Update backends to avoid bits()

This commit is contained in:
Robert O'Callahan 2025-08-28 01:55:02 +00:00
parent 662a3df987
commit 34df6569a6
6 changed files with 33 additions and 26 deletions

View file

@ -105,7 +105,7 @@ struct MemContentsTest {
RTLIL::Const values;
for(addr_t addr = low; addr <= high; addr++) {
RTLIL::Const word(data_dist(rnd), data_width);
values.bits().insert(values.bits().end(), word.begin(), word.end());
values.append(word);
}
insert_concatenated(low, values);
}