Merge pull request #1346 from cklarhorst/master

build/xilinx/ise: Fix yosys flow
This commit is contained in:
enjoy-digital 2022-06-29 10:16:06 +02:00 committed by GitHub
commit bc6ce4b04b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"