build/xilinx/ise: Fix yosys flow

The top name changed in 2016 but only XST was changed.
This commit is contained in:
Christian Klarhorst 2022-06-28 15:26:14 +02:00
parent ec9d1c4fd0
commit aec8cd5339
1 changed files with 2 additions and 2 deletions

4
litex/build/xilinx/ise.py Normal file → Executable file
View File

@ -96,8 +96,8 @@ def _run_yosys(device, sources, vincpaths, build_name):
else: else:
raise OSError("Unsupported device") raise OSError("Unsupported device")
ys_contents += """hierarchy -top top ys_contents += """hierarchy -top {build_name}
synth_xilinx -top top -family {family} -ise synth_xilinx -top {build_name} -family {family} -ise
write_edif -pvector bra {build_name}.edif""".format(build_name=build_name, family=family) write_edif -pvector bra {build_name}.edif""".format(build_name=build_name, family=family)
ys_name = build_name + ".ys" ys_name = build_name + ".ys"