build/xilinx/vivado: synth_mode -> self._synth_mode.

This commit is contained in:
Florent Kermarrec 2022-06-29 10:18:14 +02:00
parent 382ebbf661
commit 7af59fe1f7
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ class XilinxVivadoToolchain(GenericToolchain):
return script_file
def run_script(self, script):
if synth_mode == "yosys":
if self._synth_mode == "yosys":
common._run_yosys(self.platform.device, self.platform.sources,
self.platform.verilog_include_paths, self._build_name)
if sys.platform in ["win32", "cygwin"]: