Merge pull request #1549 from antmicro/msieron/vivado-verilog-include-paths-fix
build/xilinx/vivado: fix verilog include paths
This commit is contained in:
commit
19e0e2fe8d
|
@ -281,7 +281,7 @@ class XilinxVivadoToolchain(GenericToolchain):
|
||||||
tcl.append("\n# Synthesis\n")
|
tcl.append("\n# Synthesis\n")
|
||||||
synth_cmd = f"synth_design -directive {self.vivado_synth_directive} -top {self._build_name} -part {self.platform.device}"
|
synth_cmd = f"synth_design -directive {self.vivado_synth_directive} -top {self._build_name} -part {self.platform.device}"
|
||||||
if self.platform.verilog_include_paths:
|
if self.platform.verilog_include_paths:
|
||||||
synth_cmd += f" -include_dirs \{{" ".join(self.platform.verilog_include_paths)}\}"
|
synth_cmd += f" -include_dirs {{{' '.join(self.platform.verilog_include_paths)}}}"
|
||||||
tcl.append(synth_cmd)
|
tcl.append(synth_cmd)
|
||||||
elif self._synth_mode == "yosys":
|
elif self._synth_mode == "yosys":
|
||||||
tcl.append("\n# Read Yosys EDIF\n")
|
tcl.append("\n# Read Yosys EDIF\n")
|
||||||
|
|
Loading…
Reference in New Issue