aboutsummaryrefslogtreecommitdiffstats
path: root/backends/jny/jny.cc
diff options
context:
space:
mode:
Diffstat (limited to 'backends/jny/jny.cc')
-rw-r--r--backends/jny/jny.cc1
1 files changed, 1 insertions, 0 deletions
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));