From 6854c7f5fc20f66f39447507f94ab2162b577be9 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 9 May 2018 15:39:25 +0200 Subject: [PATCH] soc/integration/cpu_interface: use riscv64 toolchain instead of riscv32 (prebuild toolchain for windows can be found at http://gnutoolchains.com/) --- litex/soc/integration/cpu_interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.30.2