aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt/opt_reduce.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-11 00:02:28 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-11 00:39:45 +0100
commite5b974fa2af7ee372eb7ee4f59322099ee3c1bf9 (patch)
treedba5018d12a4bca14c5c2adef8adaca1aa0dbebe /passes/opt/opt_reduce.cc
parent0fd3ebdb23dd1116a37c5277596d367487a283fb (diff)
downloadyosys-e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9.tar.gz
yosys-e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9.tar.bz2
yosys-e5b974fa2af7ee372eb7ee4f59322099ee3c1bf9.zip
Cleanups and bugfixes in response to new internal cell checker
Diffstat (limited to 'passes/opt/opt_reduce.cc')
-rw-r--r--passes/opt/opt_reduce.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/opt/opt_reduce.cc b/passes/opt/opt_reduce.cc
index 98351762e..dd1299810 100644
--- a/passes/opt/opt_reduce.cc
+++ b/passes/opt/opt_reduce.cc
@@ -127,6 +127,7 @@ struct OptReduceWorker
reduce_or_cell->name = NEW_ID;
reduce_or_cell->type = "$reduce_or";
reduce_or_cell->connections["\\A"] = this_s;
+ reduce_or_cell->parameters["\\A_SIGNED"] = RTLIL::Const(0);
reduce_or_cell->parameters["\\A_WIDTH"] = RTLIL::Const(this_s.width);
reduce_or_cell->parameters["\\Y_WIDTH"] = RTLIL::Const(1);
module->cells[reduce_or_cell->name] = reduce_or_cell;