mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
macc_v2: Start new cell
This commit is contained in:
parent
08394c51a2
commit
c5fd96ebb0
5 changed files with 119 additions and 37 deletions
|
@ -403,7 +403,7 @@ struct MaccmapPass : public Pass {
|
|||
|
||||
for (auto mod : design->selected_modules())
|
||||
for (auto cell : mod->selected_cells())
|
||||
if (cell->type == ID($macc)) {
|
||||
if (cell->type.in(ID($macc), ID($macc_v2))) {
|
||||
log("Mapping %s.%s (%s).\n", log_id(mod), log_id(cell), log_id(cell->type));
|
||||
maccmap(mod, cell, unmap_mode);
|
||||
mod->remove(cell);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue