3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00

pass jny: ensured the cell collection is cleared between modules

This commit is contained in:
Aki Van Ness 2022-03-10 11:05:04 -05:00 committed by N. Engelhardt
parent 5a016713cc
commit 6053856f91

View file

@ -88,6 +88,7 @@ struct JnyWriter
// it'll have to do for now,
void coalesce_cells(Module* mod)
{
_cells.clear();
for (auto cell : mod->cells()) {
const auto cell_type = escape_string(RTLIL::unescape_id(cell->type));