Skip to content

Commit

Permalink
Merge pull request #535 from antmicro/arty-cv32e40p
Browse files Browse the repository at this point in the history
Add support for the CV32E40P RISC-V CPU
  • Loading branch information
enjoy-digital authored May 22, 2020
2 parents 7d09ea1 + 2d6ee5a commit 4c4cd33
Show file tree
Hide file tree
Showing 10 changed files with 675 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litex/soc/cores/cpu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class CPUNone(CPU):
from litex.soc.cores.cpu.vexriscv import VexRiscv
from litex.soc.cores.cpu.rocket import RocketRV64
from litex.soc.cores.cpu.blackparrot import BlackParrotRV64
from litex.soc.cores.cpu.cv32e40p import CV32E40P

CPUS = {
# None
Expand All @@ -76,6 +77,7 @@ class CPUNone(CPU):
"picorv32" : PicoRV32,
"minerva" : Minerva,
"vexriscv" : VexRiscv,
"cv32e40p" : CV32E40P,

# RISC-V 64-bit
"rocket" : RocketRV64,
Expand Down
1 change: 1 addition & 0 deletions litex/soc/cores/cpu/cv32e40p/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from litex.soc.cores.cpu.cv32e40p.core import CV32E40P
4 changes: 4 additions & 0 deletions litex/soc/cores/cpu/cv32e40p/boot-helper.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.section .text, "ax", @progbits
.global boot_helper
boot_helper:
jr x13
Loading

0 comments on commit 4c4cd33

Please sign in to comment.