de10_nano: fix programming.
authorwhitequark <whitequark@whitequark.org>
Thu, 10 Oct 2019 11:44:55 +0000 (11:44 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 10 Oct 2019 11:44:55 +0000 (11:44 +0000)
nmigen_boards/de10_nano.py

index 7ea3d680e9a4a2b6d9f1a7eadbfc4ce4253e35f5..80a70d89ace1e67a364998833b445313023e5c95 100644 (file)
@@ -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__":