From 025663adff3796c9163a768822c6708af7029713 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 5 Jun 2020 01:31:53 +0000 Subject: [PATCH] cxxrtl: fix implementation of $sshr cell. Fixes #2111. --- backends/cxxrtl/cxxrtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/cxxrtl/cxxrtl.h b/backends/cxxrtl/cxxrtl.h index 701510b7f..7b91742e0 100644 --- a/backends/cxxrtl/cxxrtl.h +++ b/backends/cxxrtl/cxxrtl.h @@ -921,7 +921,7 @@ value sshr_uu(const value &a, const value &b) { template value sshr_su(const value &a, const value &b) { - return a.template shr(b).template scast(); + return a.template sshr(b).template scast(); } template -- 2.30.2