aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/calc.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-03 21:20:59 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-03 21:20:59 +0200
commitb9cb483f3e2a498ee75a422e09164a920918362b (patch)
treec1375a5e5b70895b2d392bfb308fc75d648a0c19 /kernel/calc.cc
parent5733f4a39d56388e531b6c1471f56c3efb023f31 (diff)
downloadyosys-b9cb483f3e2a498ee75a422e09164a920918362b.tar.gz
yosys-b9cb483f3e2a498ee75a422e09164a920918362b.tar.bz2
yosys-b9cb483f3e2a498ee75a422e09164a920918362b.zip
Using $pos models for $bu0
Diffstat (limited to 'kernel/calc.cc')
-rw-r--r--kernel/calc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/calc.cc b/kernel/calc.cc
index 4048e4a1f..da03f6164 100644
--- a/kernel/calc.cc
+++ b/kernel/calc.cc
@@ -575,7 +575,7 @@ RTLIL::Const RTLIL::const_pow(const RTLIL::Const &arg1, const RTLIL::Const &arg2
RTLIL::Const RTLIL::const_pos(const RTLIL::Const &arg1, const RTLIL::Const&, bool signed1, bool, int result_len)
{
RTLIL::Const arg1_ext = arg1;
- extend(arg1_ext, result_len, signed1);
+ extend_u0(arg1_ext, result_len, signed1);
return arg1_ext;
}