xilinx_dffopt: Don't crash on missing IS_*_INVERTED.
authorMarcelina Kościelnicka <mwk@0x04.net>
Mon, 25 Jan 2021 12:01:18 +0000 (13:01 +0100)
committerMarcelina Kościelnicka <mwk@0x04.net>
Tue, 26 Jan 2021 23:32:00 +0000 (00:32 +0100)
commitea79e16bab7abf374f371626297e65c81e00a068
tree0e259e2ac06730d6bbda877249e58287c937e8f5
parentcd6f0732f3b342938a915951bdcd5299576f1843
xilinx_dffopt: Don't crash on missing IS_*_INVERTED.

The presence of IS_*_INVERTED on FD* cells follows Vivado, which
apparently has been decided by a dice roll.  Just assume false if the
parameter doesn't exist.

Fixes #2559.
techlibs/xilinx/xilinx_dffopt.cc
tests/arch/xilinx/mux.ys
tests/arch/xilinx/xilinx_dffopt.ys