"-m", "jtag",
- "-c", "{}{}".format(self.cable_name, cable_suffix),
- "-o", "p;{}@{}".format(bitstream_file, self.device_id)
"-m", "jtag",
- "-c", "{}{}".format(self.cable_name, cable_suffix),
- "-o", "p;{}@{}".format(bitstream_file, self.device_id)
-+ "-c", f"{self.cable_name}{cable_suffix}"
-+ "-o", f"p;{bitstream_file}@{self.device_id}"
++ "-c", f"{self.cable_name}{cable_suffix}",
++ "-o", f"P;{bitstream_file}@{self.device_id}",
--- a/litex/build/altera/quartus.py
+++ b/litex/build/altera/quartus.py
@@ -18,6 +18,7 @@ from migen.fhdl.simplify import FullMemoryWE
--- a/litex/build/altera/quartus.py
+++ b/litex/build/altera/quartus.py
@@ -18,6 +18,7 @@ from migen.fhdl.simplify import FullMemoryWE
- return {
- "synth_tool" : args.synth_tool,
- "conv_tool" : args.conv_tool,
- return {
- "synth_tool" : args.synth_tool,
- "conv_tool" : args.conv_tool,
+ if args.win32_quartus:
+ if args.win32_quartus_path:
+ quartus_path = args.win32_quartus_path
+ else:
+ quartus_path = os.getenv("LITEX_WIN32_QUARTUS_PATH", "/mnt/c/altera_lite/25.1std/quartus/bin64")
+ if args.win32_quartus:
+ if args.win32_quartus_path:
+ quartus_path = args.win32_quartus_path
+ else:
+ quartus_path = os.getenv("LITEX_WIN32_QUARTUS_PATH", "/mnt/c/altera_lite/25.1std/quartus/bin64")
+ "win32_quartus" : args.win32_quartus,
+ "win32_quartus_path" : args.win32_quartus_path,
+ "quartus_path" : quartus_path,
+ "win32_quartus" : args.win32_quartus,
+ "win32_quartus_path" : args.win32_quartus_path,
+ "quartus_path" : quartus_path,