mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-06 15:25:47 +00:00
Merge remote-tracking branch 'origin/eddie/fix1115' into xc7mux
This commit is contained in:
commit
99ff7b5c8c
4 changed files with 25 additions and 12 deletions
|
@ -3438,7 +3438,7 @@ void RTLIL::SigSpec::extend_u0(int width, bool is_signed)
|
|||
|
||||
if (width_ < width) {
|
||||
RTLIL::SigBit padding = width_ > 0 ? (*this)[width_ - 1] : RTLIL::State::Sx;
|
||||
if (padding != RTLIL::State::Sx && !is_signed)
|
||||
if (!is_signed)
|
||||
padding = RTLIL::State::S0;
|
||||
while (width_ < width)
|
||||
append(padding);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue