From: whitequark Date: Thu, 10 Oct 2019 11:44:55 +0000 (+0000) Subject: de10_nano: fix programming. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a688c354c5ca42ecdd4569886ffcdbfdbe76a8d;p=nmigen-boards.git de10_nano: fix programming. --- diff --git a/nmigen_boards/de10_nano.py b/nmigen_boards/de10_nano.py index 7ea3d68..80a70d8 100644 --- a/nmigen_boards/de10_nano.py +++ b/nmigen_boards/de10_nano.py @@ -82,7 +82,7 @@ class DE10NanoPlatform(IntelPlatform): quartus_pgm = os.environ.get("QUARTUS_PGM", "quartus_pgm") with products.extract("{}.sof".format(name)) as bitstream_filename: subprocess.check_call([quartus_pgm, "--haltcc", "--mode", "JTAG", - "--operation", "P;" + bitstream_filename]) + "--operation", "P;" + bitstream_filename + "@2"]) if __name__ == "__main__":