mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 05:13:40 +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
|
@ -447,7 +447,7 @@ constant:
|
|||
bits.pop_back();
|
||||
$$ = new RTLIL::Const;
|
||||
for (auto it = bits.begin(); it != bits.end(); it++)
|
||||
$$->bits.push_back(*it);
|
||||
$$->bits().push_back(*it);
|
||||
if (is_signed) {
|
||||
$$->flags |= RTLIL::CONST_FLAG_SIGNED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue