build/vendor/common: Minor style cleanup.

This commit is contained in:
Florent Kermarrec 2022-10-24 09:33:22 +02:00
parent 88d89773ef
commit af445e93dd
3 changed files with 14 additions and 7 deletions

View File

@ -44,14 +44,16 @@ class EfinixAsyncResetSynchronizerImpl(Module):
i_SR = async_reset, i_SR = async_reset,
i_CLK = cd.clk, i_CLK = cd.clk,
i_CE = 1, i_CE = 1,
o_Q = rst1), o_Q = rst1
),
Instance("EFX_FF", Instance("EFX_FF",
p_SR_VALUE = 1, p_SR_VALUE = 1,
i_D = rst1, i_D = rst1,
i_SR = async_reset, i_SR = async_reset,
i_CLK = cd.clk, i_CLK = cd.clk,
i_CE = 1, i_CE = 1,
o_Q = cd.rst) o_Q = cd.rst
)
] ]

View File

@ -19,7 +19,8 @@ class GowinAsyncResetSynchronizerImpl(Module):
i_D = 0, i_D = 0,
i_PRESET = async_reset, i_PRESET = async_reset,
i_CLK = cd.clk, i_CLK = cd.clk,
o_Q = rst1), o_Q = rst1
),
Instance("DFFP", Instance("DFFP",
i_D = rst1, i_D = rst1,
i_PRESET = async_reset, i_PRESET = async_reset,

View File

@ -25,7 +25,8 @@ class LatticeECP5AsyncResetSynchronizerImpl(Module):
i_D = 0, i_D = 0,
i_PD = async_reset, i_PD = async_reset,
i_CK = cd.clk, i_CK = cd.clk,
o_Q = rst1), o_Q = rst1
),
Instance("FD1S3BX", Instance("FD1S3BX",
i_D = rst1, i_D = rst1,
i_PD = async_reset, i_PD = async_reset,
@ -191,7 +192,8 @@ class LatticeNXsyncResetSynchronizerImpl(Module):
i_PD = async_reset, i_PD = async_reset,
i_CK = cd.clk, i_CK = cd.clk,
i_SP = 1, i_SP = 1,
o_Q = rst1), o_Q = rst1
),
Instance("FD1P3BX", Instance("FD1P3BX",
i_D = rst1, i_D = rst1,
i_PD = async_reset, i_PD = async_reset,
@ -343,12 +345,14 @@ class LatticeiCE40AsyncResetSynchronizerImpl(Module):
i_D = 0, i_D = 0,
i_S = async_reset, i_S = async_reset,
i_C = cd.clk, i_C = cd.clk,
o_Q = rst1), o_Q = rst1
),
Instance("SB_DFFS", Instance("SB_DFFS",
i_D = rst1, i_D = rst1,
i_S = async_reset, i_S = async_reset,
i_C = cd.clk, i_C = cd.clk,
o_Q = cd.rst) o_Q = cd.rst
)
] ]