From: Aki Van Ness Date: Thu, 10 Mar 2022 16:05:04 +0000 (-0500) Subject: pass jny: ensured the cell collection is cleared between modules X-Git-Tag: yosys-0.17~35 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6053856f9130dd864b4f38c8b71f13f5e2ca7f6b;p=yosys.git pass jny: ensured the cell collection is cleared between modules --- diff --git a/backends/jny/jny.cc b/backends/jny/jny.cc index 1cbfaaddc..b89283a15 100644 --- a/backends/jny/jny.cc +++ b/backends/jny/jny.cc @@ -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));