From af445e93ddc4c6929b7d0e36e72212cbe23d1f6f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 24 Oct 2022 09:33:22 +0200 Subject: [PATCH] build/vendor/common: Minor style cleanup. --- litex/build/efinix/common.py | 6 ++++-- litex/build/gowin/common.py | 3 ++- litex/build/lattice/common.py | 12 ++++++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/litex/build/efinix/common.py b/litex/build/efinix/common.py index 611e6f183..6bfe530ff 100644 --- a/litex/build/efinix/common.py +++ b/litex/build/efinix/common.py @@ -44,14 +44,16 @@ class EfinixAsyncResetSynchronizerImpl(Module): i_SR = async_reset, i_CLK = cd.clk, i_CE = 1, - o_Q = rst1), + o_Q = rst1 + ), Instance("EFX_FF", p_SR_VALUE = 1, i_D = rst1, i_SR = async_reset, i_CLK = cd.clk, i_CE = 1, - o_Q = cd.rst) + o_Q = cd.rst + ) ] diff --git a/litex/build/gowin/common.py b/litex/build/gowin/common.py index 573fc45cc..5c58fffa7 100644 --- a/litex/build/gowin/common.py +++ b/litex/build/gowin/common.py @@ -19,7 +19,8 @@ class GowinAsyncResetSynchronizerImpl(Module): i_D = 0, i_PRESET = async_reset, i_CLK = cd.clk, - o_Q = rst1), + o_Q = rst1 + ), Instance("DFFP", i_D = rst1, i_PRESET = async_reset, diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index 8ef8b191e..68fdaf83b 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -25,7 +25,8 @@ class LatticeECP5AsyncResetSynchronizerImpl(Module): i_D = 0, i_PD = async_reset, i_CK = cd.clk, - o_Q = rst1), + o_Q = rst1 + ), Instance("FD1S3BX", i_D = rst1, i_PD = async_reset, @@ -191,7 +192,8 @@ class LatticeNXsyncResetSynchronizerImpl(Module): i_PD = async_reset, i_CK = cd.clk, i_SP = 1, - o_Q = rst1), + o_Q = rst1 + ), Instance("FD1P3BX", i_D = rst1, i_PD = async_reset, @@ -343,12 +345,14 @@ class LatticeiCE40AsyncResetSynchronizerImpl(Module): i_D = 0, i_S = async_reset, i_C = cd.clk, - o_Q = rst1), + o_Q = rst1 + ), Instance("SB_DFFS", i_D = rst1, i_S = async_reset, i_C = cd.clk, - o_Q = cd.rst) + o_Q = cd.rst + ) ]