We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bae610 commit 0458bceCopy full SHA for 0458bce
amaranth_boards/cmod_a7.py
@@ -75,14 +75,11 @@ class _CmodA7Platform(XilinxPlatform):
75
]
76
77
def toolchain_program(self, products, name):
78
- openocd = os.environ.get("OPENOCD", "openocd")
79
with products.extract("{}.bit".format(name)) as bitstream_filename:
80
- subprocess.check_call([openocd,
81
- # Use for debug output
82
- #"-d",
83
- "-c",
84
- "source [find board/digilent_cmod_a7.cfg]; init; pld load 0 {}; exit"
85
- .format(bitstream_filename)
+ subprocess.check_call(["openFPGALoader",
+ "-c", "digilent",
+ "--fpga-part", "xc7a35",
+ "{}".format(bitstream_filename)
86
])
87
88
0 commit comments