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 5580421 commit 9bae610Copy full SHA for 9bae610
amaranth_boards/cmod_s7.py
@@ -73,14 +73,11 @@ class CmodS7_Platform(XilinxPlatform):
73
]
74
75
def toolchain_program(self, products, name):
76
- openocd = os.environ.get("OPENOCD", "openocd")
77
with products.extract("{}.bit".format(name)) as bitstream_filename:
78
- subprocess.check_call([openocd,
79
- # Use for debug output
80
- #"-d",
81
- "-c",
82
- "source [find board/digilent_cmod_s7.cfg]; init; pld load 0 {}; exit"
83
- .format(bitstream_filename)
+ subprocess.check_call(["openFPGALoader",
+ "-c", "digilent",
+ "--fpga-part", "xc7s25",
+ "{}".format(bitstream_filename)
84
])
85
86
0 commit comments