From cbba5b46e948976ef16ca609740a456c1d8b5426 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Tue, 14 Nov 2023 21:59:42 +0100 Subject: [PATCH] build/efinix/efinity: fix 90 phase shift float -> int (yes: WHY?) --- litex/build/efinix/efinity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/build/efinix/efinity.py b/litex/build/efinix/efinity.py index 9e2592e01..04f6df610 100644 --- a/litex/build/efinix/efinity.py +++ b/litex/build/efinix/efinity.py @@ -280,6 +280,7 @@ class EfinityToolchain(GenericToolchain): # FIXME: peri.xml is generated from Efinity, why does it require patching? tools.replace_in_file(f"{self._build_name}.peri.xml", 'adv_out_phase_shift="0.0"', 'adv_out_phase_shift="0"') + tools.replace_in_file(f"{self._build_name}.peri.xml", 'adv_out_phase_shift="90.0"', 'adv_out_phase_shift="90"') def build_script(self): return "" # not used