aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/alumacc.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-09-15 12:22:03 +0200
committerClifford Wolf <clifford@clifford.at>2014-09-15 12:22:03 +0200
commitb470c480e97fe112810d04a6051d1029ce1e8c29 (patch)
treef99f56795d8e059ada76c3c796fb9f34dd47259e /passes/techmap/alumacc.cc
parentfcbda0741166bfbc3244f05f92e9cc5f925160e6 (diff)
downloadyosys-b470c480e97fe112810d04a6051d1029ce1e8c29.tar.gz
yosys-b470c480e97fe112810d04a6051d1029ce1e8c29.tar.bz2
yosys-b470c480e97fe112810d04a6051d1029ce1e8c29.zip
Added the obvious optimizations to alumacc $macc generator
Diffstat (limited to 'passes/techmap/alumacc.cc')
-rw-r--r--passes/techmap/alumacc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/techmap/alumacc.cc b/passes/techmap/alumacc.cc
index 3fddcef13..c52e0e4ca 100644
--- a/passes/techmap/alumacc.cc
+++ b/passes/techmap/alumacc.cc
@@ -317,6 +317,7 @@ struct AlumaccWorker
log(" creating $macc cell for %s: %s\n", log_id(n->cell), log_id(cell));
+ n->macc.optimize(SIZE(n->y));
n->macc.to_cell(cell);
cell->setPort("\\Y", n->y);
cell->fixup_parameters();