Skip to content

Commit

Permalink
build/efinix/efinity: fix 90 phase shift float -> int (yes: WHY?)
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Nov 17, 2023
1 parent c8a9f20 commit cbba5b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions litex/build/efinix/efinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def build_project(self):

# 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
Expand Down

0 comments on commit cbba5b4

Please sign in to comment.