mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-16 04:05:42 +00:00
Merge 5628dff0bd into dddf137888
This commit is contained in:
commit
3f44ddff33
3 changed files with 65 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ bool RTLIL::Const::convertible_to_int(bool is_signed) const
|
|||
if (size == 32) {
|
||||
if (is_signed)
|
||||
return true;
|
||||
return back() != State::S1;
|
||||
return (*this)[size - 1] != State::S1;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue