mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/xilinx/ise: Fix yosys flow
The top name changed in 2016 but only XST was changed.
This commit is contained in:
parent
ec9d1c4fd0
commit
aec8cd5339
1 changed files with 2 additions and 2 deletions
4
litex/build/xilinx/ise.py
Normal file → Executable file
4
litex/build/xilinx/ise.py
Normal file → Executable 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"
|
||||||
|
|
Loading…
Reference in a new issue