soc/integration/cpu_interface: use riscv64 toolchain instead of riscv32 (prebuild...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 9 May 2018 13:39:25 +0000 (15:39 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 9 May 2018 13:39:25 +0000 (15:39 +0200)
litex/soc/integration/cpu_interface.py

index 8e755202c7f48aab2a9e339dcd855f32ed4b14d2..aac73f6612f148acf6fd478bc60cf7313e8c64ab 100644 (file)
@@ -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: