soc/integration/cpu_interface: use riscv64 toolchain instead of riscv32 (prebuild toolchain for windows can be found at http://gnutoolchains.com/)

This commit is contained in:
Florent Kermarrec 2018-05-09 15:39:25 +02:00
parent 66229c8c05
commit 6854c7f5fc
1 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@ def get_cpu_mak(cpu):
triple = "or1k-linux" triple = "or1k-linux"
cpuflags += "-mffl1 -maddc" cpuflags += "-mffl1 -maddc"
elif cpu == "picorv32": elif cpu == "picorv32":
assert not clang, "riscv32 not supported with clang." assert not clang, "picorv32 not supported with clang."
triple = "riscv32-unknown-elf" triple = "riscv64-unknown-elf"
cpuflags = "-D__picorv32__ -mno-save-restore -march=rv32im -mabi=ilp32" cpuflags = "-D__picorv32__ -mno-save-restore -march=rv32im -mabi=ilp32"
clang = False clang = False
elif cpu == "vexriscv": elif cpu == "vexriscv":
assert not clang, "vexrisv not supported with clang." assert not clang, "vexrisv not supported with clang."
triple = "riscv32-unknown-elf" triple = "riscv64-unknown-elf"
cpuflags = "-D__vexriscv__ -march=rv32im -mabi=ilp32" cpuflags = "-D__vexriscv__ -march=rv32im -mabi=ilp32"
clang = False clang = False
else: else: