From 422db937d44c10b850b8722dd39062650cf2db2b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 29 Apr 2022 14:35:02 +0200 Subject: [PATCH] Ignore merging past ffs that we are not properly merging --- frontends/verific/verific.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 284d5db31..d19d837ff 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -987,6 +987,7 @@ void VerificImporter::merge_past_ffs(pool &candidates) for (auto cell : candidates) { + if (cell->type != ID($dff)) continue; SigBit clock = cell->getPort(ID::CLK); bool clock_pol = cell->getParam(ID::CLK_POLARITY).as_bool(); database[make_pair(clock, int(clock_pol))].insert(cell); -- 2.30.2