3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-10 08:03:26 +00:00

Added iopadmap pass

This commit is contained in:
Clifford Wolf 2013-10-16 16:16:06 +02:00
parent b6db2d9b33
commit 96e7abad48
4 changed files with 167 additions and 2 deletions

View file

@ -47,7 +47,7 @@ static void rmunused_module_cells(RTLIL::Module *module, bool verbose)
wire2driver.insert(sig, cell);
}
}
if (cell->type == "$memwr")
if (cell->type == "$memwr" || cell->attributes.count("\\keep"))
queue.insert(cell);
unused.insert(cell);
}