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:
parent
fcbda07411
commit
b470c480e9
2 changed files with 61 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue