From: Florent Kermarrec Date: Wed, 9 May 2018 13:39:25 +0000 (+0200) Subject: soc/integration/cpu_interface: use riscv64 toolchain instead of riscv32 (prebuild... X-Git-Tag: 24jan2021_ls180~1708 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6854c7f5fc20f66f39447507f94ab2162b577be9;p=litex.git soc/integration/cpu_interface: use riscv64 toolchain instead of riscv32 (prebuild toolchain for windows can be found at gnutoolchains.com/) --- diff --git a/litex/soc/integration/cpu_interface.py b/litex/soc/integration/cpu_interface.py index 8e755202..aac73f66 100644 --- a/litex/soc/integration/cpu_interface.py +++ b/litex/soc/integration/cpu_interface.py @@ -34,13 +34,13 @@ def get_cpu_mak(cpu): triple = "or1k-linux" cpuflags += "-mffl1 -maddc" elif cpu == "picorv32": - assert not clang, "riscv32 not supported with clang." - triple = "riscv32-unknown-elf" + assert not clang, "picorv32 not supported with clang." + triple = "riscv64-unknown-elf" cpuflags = "-D__picorv32__ -mno-save-restore -march=rv32im -mabi=ilp32" clang = False elif cpu == "vexriscv": assert not clang, "vexrisv not supported with clang." - triple = "riscv32-unknown-elf" + triple = "riscv64-unknown-elf" cpuflags = "-D__vexriscv__ -march=rv32im -mabi=ilp32" clang = False else: