From 8a688c354c5ca42ecdd4569886ffcdbfdbe76a8d Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 10 Oct 2019 11:44:55 +0000 Subject: [PATCH] de10_nano: fix programming. --- nmigen_boards/de10_nano.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__": -- 2.30.2