mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
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)
|
for (auto &mem : memories)
|
||||||
mem_dict[mem.memid] = &mem;
|
mem_dict[mem.memid] = &mem;
|
||||||
for (auto cell : module->cells())
|
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()];
|
mem_cells[cell] = mem_dict[cell->parameters.at(ID::MEMID).decode_string()];
|
||||||
|
|
||||||
btorf_push("inputs");
|
btorf_push("inputs");
|
||||||
|
|
Loading…
Reference in a new issue