3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Added the obvious optimizations to alumacc $macc generator

This commit is contained in:
Clifford Wolf 2014-09-15 12:22:03 +02:00
parent fcbda07411
commit b470c480e9
2 changed files with 61 additions and 0 deletions

View file

@ -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();