mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-22 04:12:06 +00:00
rtlil: represent Const strings as std::string
This commit is contained in:
parent
61ed9b6263
commit
785bd44da7
90 changed files with 947 additions and 643 deletions
|
@ -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.bits.begin(), word.bits.end());
|
||||
values.bits().insert(values.bits().end(), word.begin(), word.end());
|
||||
}
|
||||
insert_concatenated(low, values);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue