From: Eddie Hung Date: Fri, 22 Nov 2019 00:17:03 +0000 (-0800) Subject: When expanding upwards, do not capture $__ABC9_{FF,ASYNC}_ X-Git-Tag: working-ls180~881^2^2~159 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4ec42ac38bd5678d9f3018d3921a3f0f4239986;p=yosys.git When expanding upwards, do not capture $__ABC9_{FF,ASYNC}_ Since they should be captured downwards from the owning flop --- diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index 8d4ff4025..4b6ec6e11 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -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);