From 9499147bd44d26086d4a831bbf77a03ca9aa6c4d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 29 Jun 2016 23:22:57 +0200 Subject: [PATCH] build/xilinx/ise: fix top name --- litex/build/xilinx/ise.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/build/xilinx/ise.py b/litex/build/xilinx/ise.py index e8a80855..48d7ded6 100644 --- a/litex/build/xilinx/ise.py +++ b/litex/build/xilinx/ise.py @@ -52,7 +52,7 @@ def _build_xst_files(device, sources, vincpaths, build_name, xst_opt): xst_contents = """run -ifn {build_name}.prj --top top +-top {build_name} {xst_opt} -ofn {build_name}.ngc -p {device} @@ -134,6 +134,7 @@ class XilinxISEToolchain: def build(self, platform, fragment, build_dir="build", build_name="top", toolchain_path=None, source=None, run=True, mode="xst", **kwargs): + print(source) if not isinstance(fragment, _Fragment): fragment = fragment.get_fragment() if toolchain_path is None: -- 2.30.2