Merge pull request #754 from cr1901/picorv32-riscv32

Use riscv32 gcc triples for picorv32- superset of riscv64 triples.
This commit is contained in:
enjoy-digital 2020-12-31 09:32:31 +01:00 committed by GitHub
commit afbac26e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ from migen import *
from litex import get_data_mod
from litex.soc.interconnect import wishbone
from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV64
from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV32
CPU_VARIANTS = ["minimal", "standard"]
@ -38,7 +38,7 @@ class PicoRV32(CPU):
variants = CPU_VARIANTS
data_width = 32
endianness = "little"
gcc_triple = CPU_GCC_TRIPLE_RISCV64
gcc_triple = CPU_GCC_TRIPLE_RISCV32
linker_output_format = "elf32-littleriscv"
nop = "nop"
io_regions = {0x80000000: 0x80000000} # origin, length