From b470c480e97fe112810d04a6051d1029ce1e8c29 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 15 Sep 2014 12:22:03 +0200 Subject: Added the obvious optimizations to alumacc $macc generator --- passes/techmap/alumacc.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'passes/techmap/alumacc.cc') diff --git a/passes/techmap/alumacc.cc b/passes/techmap/alumacc.cc index 3fddcef1..c52e0e4c 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(); -- cgit v1.2.3