build/xilinx/vivado: Fix build.

This commit is contained in:
Florent Kermarrec 2022-08-04 17:59:12 +02:00
parent 47df2f6983
commit 926fb9a30a
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ class XilinxVivadoToolchain(GenericToolchain):
script_contents += "source " + os.path.join(os.getenv("LITEX_ENV_VIVADO"), "settings64.sh\n") script_contents += "source " + os.path.join(os.getenv("LITEX_ENV_VIVADO"), "settings64.sh\n")
script_ext = "sh" script_ext = "sh"
script_contents += common._build_yosys_project(platform=self.platform, build_name=self._build_name) #script_contents += common._build_yosys_project(platform=self.platform, build_name=self._build_name) # FIXME.
script_contents += "vivado -mode batch -source " + self._build_name + ".tcl\n" script_contents += "vivado -mode batch -source " + self._build_name + ".tcl\n"
script_file = "build_" + self._build_name + "." + script_ext script_file = "build_" + self._build_name + "." + script_ext
tools.write_to_file(script_file, script_contents) tools.write_to_file(script_file, script_contents)