mirror of https://github.com/YosysHQ/yosys.git
btor: Use is_mem_cell in one more place.
This commit is contained in:
parent
d905990d01
commit
33513d923a
|
@ -1083,7 +1083,7 @@ struct BtorWorker
|
|||
for (auto &mem : memories)
|
||||
mem_dict[mem.memid] = &mem;
|
||||
for (auto cell : module->cells())
|
||||
if (cell->type.in(ID($mem), ID($memwr), ID($memrd), ID($meminit)))
|
||||
if (cell->is_mem_cell())
|
||||
mem_cells[cell] = mem_dict[cell->parameters.at(ID::MEMID).decode_string()];
|
||||
|
||||
btorf_push("inputs");
|
||||
|
|
Loading…
Reference in New Issue