diff --git a/artiq/frontend/flash_tools.py b/artiq/frontend/flash_tools.py index d486454d3..432d03f37 100644 --- a/artiq/frontend/flash_tools.py +++ b/artiq/frontend/flash_tools.py @@ -1,6 +1,7 @@ import atexit import os import tempfile +import struct def artifact_path(this_binary_dir, *path_filename, srcbuild=False): @@ -65,9 +66,6 @@ def fetch_bin(binary_dir, components, srcbuild=False): # after # https://github.com/mfischer/fpgadev-zynq/blob/master/top/python/bit_to_zynq_bin.py -import struct - - def flip32(data): sl = struct.Struct("I")