stop check_signal_in_fanout from traversing FFs

This commit is contained in:
tklam 2018-10-13 23:24:24 +08:00
parent 302edf0429
commit f4343b3dc7
1 changed files with 2 additions and 2 deletions

View File

@ -423,8 +423,8 @@ struct EquivMakeWorker
auto driven_cells = bit2driven.at(source_bit);
for (auto driven_cell: driven_cells)
{
bool is_comb = comb_ct.cell_known(cell->type);
if (is_comb)
bool is_comb = comb_ct.cell_known(driven_cell->type);
if (!is_comb)
continue;
if (visited_cells.count(driven_cell) > 0)