Skip to content

Commit

Permalink
build/colognechip/colognechip: workaround for p_r complaining about a…
Browse files Browse the repository at this point in the history
… missing dly file (will be fixed by the next CologneChip's toolchain release)
  • Loading branch information
trabucayre committed Mar 1, 2024
1 parent 697fb51 commit 45835b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions litex/build/colognechip/colognechip.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ def build_project(self):
""" create project files (mainly Yosys ys file)
"""
self._yosys.build_script()

# p_r complains about missing cc_worst_spd_dly.dly -> copy it in gateware directory
p_r_path = which("p_r")
cc_worst_spd_dly_path = os.path.join(os.path.dirname(p_r_path), "cc_worst_spd_dly.dly")
copyfile(cc_worst_spd_dly_path, os.path.join(self._build_dir, "cc_worst_spd_dly.dly"))

# Script ---------------------------------------------------------------------------------------

Expand Down

0 comments on commit 45835b4

Please sign in to comment.