vendor.xilinx_7series: fix IOB packing.

This commit is contained in:
Jean-François Nguyen 2019-06-17 20:01:26 +02:00 committed by whitequark
parent 3fc5f170e6
commit b3c5ff7e95

View file

@ -121,6 +121,9 @@ class Xilinx7SeriesPlatform(TemplatedPlatform):
for bit in range(len(q)):
_q = Signal()
_q.attrs["IOB"] = "TRUE"
# XXX: Vivado 2019.1 seems to make this flip-flop ineligible for IOB packing
# unless we prevent it from being optimized.
_q.attrs["DONT_TOUCH"] = "TRUE"
m.submodules += Instance("FDCE",
i_C=clk,
i_CE=Const(1),