Ignore merging past ffs that we are not properly merging

This commit is contained in:
Miodrag Milanovic 2022-04-29 14:35:02 +02:00
parent b30d90a14a
commit 422db937d4
1 changed files with 1 additions and 0 deletions

View File

@ -987,6 +987,7 @@ void VerificImporter::merge_past_ffs(pool<RTLIL::Cell*> &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);