cxxrtl: fix implementation of $sshr cell.

Fixes #2111.
This commit is contained in:
whitequark 2020-06-05 01:31:53 +00:00
parent 577859fbdb
commit 025663adff
1 changed files with 1 additions and 1 deletions

View File

@ -921,7 +921,7 @@ value<BitsY> sshr_uu(const value<BitsA> &a, const value<BitsB> &b) {
template<size_t BitsY, size_t BitsA, size_t BitsB>
value<BitsY> sshr_su(const value<BitsA> &a, const value<BitsB> &b) {
return a.template shr(b).template scast<BitsY>();
return a.template sshr(b).template scast<BitsY>();
}
template<size_t BitsY, size_t BitsA, size_t BitsB>