mibuild/xilinx: connect CE on reset synchronizer FFs

This commit is contained in:
Sebastien Bourdeauducq 2014-08-06 23:51:50 +08:00
parent b124a98d92
commit 7ebf08db5e

View file

@ -72,9 +72,9 @@ class XilinxAsyncResetSynchronizerImpl(Module):
rst1 = Signal()
self.specials += [
Instance("FDPE", p_INIT=1, i_D=0, i_PRE=async_reset,
i_C=cd.clk, o_Q=rst1),
i_CE=1, i_C=cd.clk, o_Q=rst1),
Instance("FDPE", p_INIT=1, i_D=rst1, i_PRE=async_reset,
i_C=cd.clk, o_Q=cd.rst)
i_CE=1, i_C=cd.clk, o_Q=cd.rst)
]
class XilinxAsyncResetSynchronizer: