mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-09 15:47:31 +00:00
Const::decode_string() doesn't need to call bitvectorize
This commit is contained in:
parent
cb1186aac5
commit
caaf9a4400
2 changed files with 26 additions and 1 deletions
|
|
@ -579,7 +579,6 @@ std::string RTLIL::Const::decode_string() const
|
|||
if (auto str = get_if_str())
|
||||
return *str;
|
||||
|
||||
bitvectorize_internal();
|
||||
bitvectype& bv = get_bits();
|
||||
const int n = GetSize(bv);
|
||||
const int n_over_8 = n / 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue