mirror of https://github.com/YosysHQ/yosys.git
Cope with possibility that D could connect to Q on same cell
This commit is contained in:
parent
cee30deef5
commit
242b3083ea
|
@ -197,7 +197,7 @@ match next
|
|||
select !next->has_keep_attr()
|
||||
select !port(next, \D)[0].wire->get_bool_attribute(\keep)
|
||||
slice idx GetSize(port(next, \Q))
|
||||
select nusers(port(next, \Q)[idx]) == 3
|
||||
select nusers(port(next, \Q)[idx]) <= 3
|
||||
index <IdString> next->type === chain.back().first->type
|
||||
index <SigBit> port(next, \Q)[idx] === port(chain.back().first, \D)[chain.back().second]
|
||||
index <SigBit> port(next, \Q)[idx] === port(shiftx, \A)[shiftx_width-1-GetSize(chain)]
|
||||
|
|
Loading…
Reference in New Issue