build/colognechip/colognechip: workaround for p_r complaining about a missing dly file (will be fixed by the next CologneChip's toolchain release)
This commit is contained in:
parent
697fb51a32
commit
45835b4b9d
|
@ -91,6 +91,11 @@ class CologneChipToolchain(GenericToolchain):
|
|||
""" 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 ---------------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue