build/microsemi/common: Cleanup MicrosemiPolarfireAsyncResetSynchronizerImpl.

This commit is contained in:
Florent Kermarrec 2021-07-15 10:01:52 +02:00
parent 2b393254da
commit 10ea45da55
1 changed files with 8 additions and 4 deletions

View File

@ -14,12 +14,16 @@ class MicrosemiPolarfireAsyncResetSynchronizerImpl(Module):
rst1 = Signal() rst1 = Signal()
self.specials += [ self.specials += [
Instance("DFN1P0", Instance("DFN1P0",
i_D=0, i_PRE=~async_reset, i_CLK = cd.clk,
i_CLK=cd.clk, o_Q=rst1 i_PRE = ~async_reset,
i_D = 0,
o_Q = rst1
), ),
Instance("DFN1P0", Instance("DFN1P0",
i_D=rst1, i_PRE=~async_reset, i_CLK = cd.clk,
i_CLK=cd.clk, o_Q=cd.rst i_PRE = ~async_reset,
i_D = rst1,
o_Q = cd.rst
) )
] ]