Skip to content

Commit

Permalink
Merge pull request #754 from cr1901/picorv32-riscv32
Browse files Browse the repository at this point in the history
Use riscv32 gcc triples for picorv32- superset of riscv64 triples.
  • Loading branch information
enjoy-digital authored Dec 31, 2020
2 parents 7379525 + f65491c commit afbac26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/soc/cores/cpu/picorv32/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

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"]
Expand All @@ -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
Expand Down

0 comments on commit afbac26

Please sign in to comment.