build/efinix/common: Fix EfinixAsyncResetSynchronizerImpl.

SR_VALUE is set to 0 by default and needs to be set to 1.
This commit is contained in:
Florent Kermarrec 2021-10-13 16:31:47 +02:00
parent f0a3fcfefa
commit 8316fbf14b
1 changed files with 2 additions and 0 deletions

View File

@ -17,12 +17,14 @@ class EfinixAsyncResetSynchronizerImpl(Module):
rst1 = Signal()
self.specials += [
Instance("EFX_FF",
p_SR_VALUE = 1,
i_D = 0,
i_SR = async_reset,
i_CLK = cd.clk,
i_CE = 1,
o_Q = rst1),
Instance("EFX_FF",
p_SR_VALUE = 1,
i_D = rst1,
i_SR = async_reset,
i_CLK = cd.clk,