Commit 1d09bd68 authored by Paweł Szostek's avatar Paweł Szostek

Fix potential problem with ISE version in remote synthesis

parent 83409641
No preview for this file type
......@@ -153,6 +153,7 @@ class ISEProject:
from srcfile import UCFFile, VHDLFile, VerilogFile, CDCFile, NGCFile
if self.ise >= 13.0:
for f in self.files:
p.vprint("Writing .xise file for version " + str(self.ise))
fp = self.xml_doc.createElement("file")
fp.setAttribute("xil_pn:name", os.path.relpath(f.path))
if isinstance(f, VHDLFile):
......@@ -183,6 +184,7 @@ class ISEProject:
fp.appendChild(assoc)
node.appendChild(fp);
else:
p.vprint("Writing .xise file for version " + str(self.ise))
reversed = self.files
reversed.reverse()
for f in reversed:
......
......@@ -113,8 +113,11 @@ endif
tcl = "run.tcl"
synthesis_cmd = "__do_synthesis:\n\t\t"
synthesis_cmd += "ssh $(USER)@$(SERVER) 'cd $(R_NAME)$(CWD) && {0}xtclsh {1}'"
self.writeln(synthesis_cmd.format(path.ise_path_32[str(ise)]+'/', tcl))
try:
self.writeln(synthesis_cmd.format(path.ise_path_32[str(ise)]+'/', tcl))
except KeyError:
self.writeln(synthesis_cmd.format("", tcl))
self.writeln()
send_back_cmd = "__send_back: \n\t\tcd .. && rsync -av $(USER)@$(SERVER):$(R_NAME)$(CWD) . && cd $(CWD)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment