mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Added $meminit cell type
This commit is contained in:
parent
ef151b0b30
commit
910556560f
4 changed files with 33 additions and 1 deletions
|
@ -47,7 +47,7 @@ void rmunused_module_cells(Module *module, bool verbose)
|
|||
if (bit.wire != nullptr)
|
||||
wire2driver[bit].insert(cell);
|
||||
}
|
||||
if (cell->type == "$memwr" || cell->type == "$assert" || cell->has_keep_attr())
|
||||
if (cell->type.in("$memwr", "$meminit", "$assert") || cell->has_keep_attr())
|
||||
queue.insert(cell);
|
||||
else
|
||||
unused.insert(cell);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue