build/efinix/efinity: fix 90 phase shift float -> int (yes: WHY?)

This commit is contained in:
Gwenhael Goavec-Merou 2023-11-14 21:59:42 +01:00
parent c8a9f205e0
commit cbba5b46e9
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ class EfinityToolchain(GenericToolchain):
# FIXME: peri.xml is generated from Efinity, why does it require patching? # 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="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): def build_script(self):
return "" # not used return "" # not used