aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/ice40_hx8k_b_evn.py
diff options
context:
space:
mode:
Diffstat (limited to 'nmigen_boards/ice40_hx8k_b_evn.py')
-rw-r--r--nmigen_boards/ice40_hx8k_b_evn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nmigen_boards/ice40_hx8k_b_evn.py b/nmigen_boards/ice40_hx8k_b_evn.py
index 1f6d6d1..4ff8d85 100644
--- a/nmigen_boards/ice40_hx8k_b_evn.py
+++ b/nmigen_boards/ice40_hx8k_b_evn.py
@@ -62,7 +62,7 @@ class ICE40HX8KBEVNPlatform(LatticeICE40Platform):
iceprog = os.environ.get("ICEPROG", "iceprog")
with products.extract("{}.bin".format(name)) as bitstream_filename:
# TODO: this should be factored out and made customizable
- subprocess.run([iceprog, "-S", bitstream_filename], check=True)
+ subprocess.check_call([iceprog, "-S", bitstream_filename])
if __name__ == "__main__":