When expanding upwards, do not capture $__ABC9_{FF,ASYNC}_

Since they should be captured downwards from the owning flop
This commit is contained in:
Eddie Hung 2019-11-21 16:17:03 -08:00
parent 5a30e3ac3b
commit c4ec42ac38
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,7 @@ struct Abc9Pass : public Pass {
for (auto bit : cell_to_bit_up[cell])
for (auto c : bit_to_cell_up[bit])
if (unassigned_cells.count(c)) {
if (unassigned_cells.count(c) && !c->type.in("$__ABC9_FF_", "$__ABC9_ASYNC_")) {
unassigned_cells.erase(c);
next_expand_queue_up.insert(c);
assigned_cells[key].insert(c->name);