3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-12 20:51:27 +00:00
This commit is contained in:
Han Qi 2025-09-10 18:29:00 +08:00 committed by GitHub
commit 4e5cd2305d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 1 deletions

View file

@ -5872,7 +5872,10 @@ bool RTLIL::SigSpec::parse_rhs(const RTLIL::SigSpec &lhs, RTLIL::SigSpec &sig, R
}
}
return parse(sig, module, str);
if (!parse(sig, module, str))
return false;
sig.extend_u0(lhs.width_);
return true;
}
RTLIL::CaseRule::~CaseRule()