microsemi/common: improve presentation
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 8 Aug 2019 14:06:40 +0000 (16:06 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 8 Aug 2019 14:06:40 +0000 (16:06 +0200)
litex/build/microsemi/common.py

index f5717552aeab2d64757ff75cc6f40a1e11d09901..55ff8f09c4e6d9702e97d3e5c48d3ee9e75bb9b3 100644 (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
+            )
         ]