From 8316fbf14b0c5f700218baee3959a00046de6684 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 13 Oct 2021 16:31:47 +0200 Subject: [PATCH] build/efinix/common: Fix EfinixAsyncResetSynchronizerImpl. SR_VALUE is set to 0 by default and needs to be set to 1. --- litex/build/efinix/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/build/efinix/common.py b/litex/build/efinix/common.py index 59f198732..e04a08075 100644 --- a/litex/build/efinix/common.py +++ b/litex/build/efinix/common.py @@ -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,