diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-05-21 02:26:52 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-07-28 23:18:38 +0200 |
commit | 19720b970dff017c47805e37745b9fcf29843c45 (patch) | |
tree | b5a56d888b9e8c7530fc456a8748c32bb3feaed3 /passes/opt/opt_clean.cc | |
parent | 37d76deef1229048e145d77b5c75bcc2e0e1cf44 (diff) | |
download | yosys-19720b970dff017c47805e37745b9fcf29843c45.tar.gz yosys-19720b970dff017c47805e37745b9fcf29843c45.tar.bz2 yosys-19720b970dff017c47805e37745b9fcf29843c45.zip |
memory: Introduce $meminit_v2 cell, with EN input.
Diffstat (limited to 'passes/opt/opt_clean.cc')
-rw-r--r-- | passes/opt/opt_clean.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_clean.cc b/passes/opt/opt_clean.cc index 699fd4f80..c3a0928ef 100644 --- a/passes/opt/opt_clean.cc +++ b/passes/opt/opt_clean.cc @@ -117,7 +117,7 @@ void rmunused_module_cells(Module *module, bool verbose) } for (Cell *cell : module->cells()) { - if (cell->type.in(ID($memwr), ID($meminit))) { + if (cell->type.in(ID($memwr), ID($meminit), ID($meminit_v2))) { IdString mem_id = cell->getParam(ID::MEMID).decode_string(); mem2cells[mem_id].insert(cell); } |