From aec8cd5339fa1bfe280bb0aafafef2f03e4a84c8 Mon Sep 17 00:00:00 2001 From: Christian Klarhorst Date: Tue, 28 Jun 2022 15:26:14 +0200 Subject: [PATCH] build/xilinx/ise: Fix yosys flow The top name changed in 2016 but only XST was changed. --- litex/build/xilinx/ise.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 litex/build/xilinx/ise.py diff --git a/litex/build/xilinx/ise.py b/litex/build/xilinx/ise.py old mode 100644 new mode 100755 index 5c6b01190..1abed5b0b --- a/litex/build/xilinx/ise.py +++ b/litex/build/xilinx/ise.py @@ -96,8 +96,8 @@ def _run_yosys(device, sources, vincpaths, build_name): else: raise OSError("Unsupported device") - ys_contents += """hierarchy -top top -synth_xilinx -top top -family {family} -ise + ys_contents += """hierarchy -top {build_name} +synth_xilinx -top {build_name} -family {family} -ise write_edif -pvector bra {build_name}.edif""".format(build_name=build_name, family=family) ys_name = build_name + ".ys"