From 09a3f5b1c044c2ccae1817f66e2dd035961a1137 Mon Sep 17 00:00:00 2001 From: Aki Van Ness Date: Thu, 10 Mar 2022 11:05:04 -0500 Subject: [PATCH] pass jny: ensured the cell collection is cleared between modules (cherry picked from commit 6053856f9130dd864b4f38c8b71f13f5e2ca7f6b) --- backends/jny/jny.cc | 1 + 1 file changed, 1 insertion(+) 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)); -- 2.30.2