build/xilinx/ise: fix top name
This commit is contained in:
parent
3bb2bc35e2
commit
9499147bd4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue