Skip to content

Commit ae8c813

Browse files
committed
targets: default XCU1525 VexiiRiscv to AXI-Lite bus
Use an AXI-Lite SoC bus by default when the SQRL XCU1525 target is built with VexiiRiscv, while preserving explicit --bus-standard overrides. Validated with 2-channel and 4-channel full-map dry runs, a 2-channel Vivado 2024.1 full build meeting timing, and board boot over regular UART with both DDR controllers passing BIOS memtest.
1 parent 262b697 commit ae8c813

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

litex_boards/targets/sqrl_xcu1525.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,13 @@ def main():
402402
parser.add_target_argument("--etherbone-ip", default="192.168.1.50", help="Etherbone IP address.")
403403
parser.add_target_argument("--driver", action="store_true", help="Generate PCIe driver.")
404404
parser.add_target_argument("--with-sata", action="store_true", help="Enable SATA support (over SFP2SATA on qsfp0_sfp0).")
405+
406+
# VexiiRiscv exposes an AXI-Lite peripheral bus, so use AXI-Lite as the
407+
# default SoC bus for this CPU while still allowing explicit overrides.
408+
if (parser.get_value_from_key("--cpu-type", None) == "vexiiriscv" and
409+
parser.get_value_from_key("--bus-standard", None) is None):
410+
parser.set_defaults(bus_standard="axi-lite")
411+
405412
args = parser.parse_args()
406413
if args.with_etherbone and args.eth_dynamic_ip:
407414
parser.error("--eth-dynamic-ip cannot be used with Etherbone.")

0 commit comments

Comments
 (0)