forked from M-Labs/artiq
Revert "artiq_flash/sayma: check for DONE after load"
This reverts commit 2de5b0cf25
.
would make artiq uninstallable on windows as win buildbot is broken
This commit is contained in:
parent
2de5b0cf25
commit
aff7fa008f
|
@ -114,8 +114,6 @@ class Programmer:
|
||||||
self._loaded = defaultdict(lambda: None)
|
self._loaded = defaultdict(lambda: None)
|
||||||
self._script = ["init"]
|
self._script = ["init"]
|
||||||
|
|
||||||
add_commands(self._script, "source xilinx-stat.cfg")
|
|
||||||
|
|
||||||
def _transfer_script(self, script):
|
def _transfer_script(self, script):
|
||||||
if isinstance(self._client, LocalClient):
|
if isinstance(self._client, LocalClient):
|
||||||
return "[find {}]".format(script)
|
return "[find {}]".format(script)
|
||||||
|
@ -146,13 +144,6 @@ class Programmer:
|
||||||
"pld load {pld} {{{filename}}}",
|
"pld load {pld} {{{filename}}}",
|
||||||
pld=pld, filename=bitfile)
|
pld=pld, filename=bitfile)
|
||||||
|
|
||||||
def check_done(self, tap):
|
|
||||||
add_commands(self._script,
|
|
||||||
"set stat [xilinx_get_stat {tap}]",
|
|
||||||
"echo [format {{{tap} stat: 0b%032b}} $stat]",
|
|
||||||
"if ![expr $stat & 0x1000] {{echo \"not DONE\"; exit 1;}}",
|
|
||||||
tap=tap)
|
|
||||||
|
|
||||||
def load_proxy(self):
|
def load_proxy(self):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
@ -364,10 +355,8 @@ def main():
|
||||||
if args.target == "sayma":
|
if args.target == "sayma":
|
||||||
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
rtm_gateware_bit = artifact_path("rtm_gateware", "rtm.bit")
|
||||||
programmer.load(rtm_gateware_bit, 0)
|
programmer.load(rtm_gateware_bit, 0)
|
||||||
programmer.check_done("xc7.tap")
|
|
||||||
gateware_bit = artifact_path(variant, "gateware", "top.bit")
|
gateware_bit = artifact_path(variant, "gateware", "top.bit")
|
||||||
programmer.load(gateware_bit, 1)
|
programmer.load(gateware_bit, 1)
|
||||||
programmer.check_done("xcu.tap")
|
|
||||||
else:
|
else:
|
||||||
gateware_bit = artifact_path(variant, "gateware", "top.bit")
|
gateware_bit = artifact_path(variant, "gateware", "top.bit")
|
||||||
programmer.load(gateware_bit, 0)
|
programmer.load(gateware_bit, 0)
|
||||||
|
|
Loading…
Reference in New Issue