microsemi/common: improve presentation

This commit is contained in:
Florent Kermarrec 2019-08-08 16:06:40 +02:00
parent 36d9d78c5e
commit 60873a5b73
1 changed files with 8 additions and 4 deletions

View File

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