mirror of https://github.com/YosysHQ/yosys.git
pass jny: ensured the cell collection is cleared between modules
This commit is contained in:
parent
5a016713cc
commit
6053856f91
|
@ -88,6 +88,7 @@ struct JnyWriter
|
||||||
// it'll have to do for now,
|
// it'll have to do for now,
|
||||||
void coalesce_cells(Module* mod)
|
void coalesce_cells(Module* mod)
|
||||||
{
|
{
|
||||||
|
_cells.clear();
|
||||||
for (auto cell : mod->cells()) {
|
for (auto cell : mod->cells()) {
|
||||||
const auto cell_type = escape_string(RTLIL::unescape_id(cell->type));
|
const auto cell_type = escape_string(RTLIL::unescape_id(cell->type));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue