Skip to content

Commit

Permalink
BlackParrot initial commit
Browse files Browse the repository at this point in the history
w/ Litex BIOS simulation including LiteDRAM
w/ Litex BIOS working on FPGA excluding LiteDRAM
  • Loading branch information
scanakci committed Jan 17, 2020
1 parent 5aa516c commit d15c911
Show file tree
Hide file tree
Showing 26 changed files with 2,313 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
[submodule "litex/soc/cores/cpu/microwatt/sources"]
path = litex/soc/cores/cpu/microwatt/sources
url = https://github.com/antonblanchard/microwatt
[submodule "litex/soc/cores/cpu/blackparrot/pre-alpha-release"]
path = litex/soc/cores/cpu/blackparrot/pre-alpha-release
url = https://github.com/black-parrot/pre-alpha-release.git
2 changes: 2 additions & 0 deletions litex/soc/cores/cpu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class CPUNone(CPU):
from litex.soc.cores.cpu.minerva import Minerva
from litex.soc.cores.cpu.rocket import RocketRV64
from litex.soc.cores.cpu.microwatt import Microwatt
from litex.soc.cores.cpu.blackparrot import BlackParrotRV64

CPUS = {
"lm32" : LM32,
Expand All @@ -42,6 +43,7 @@ class CPUNone(CPU):
"minerva" : Minerva,
"rocket" : RocketRV64,
"microwatt" : Microwatt,
"blackparrot" : BlackParrotRV64,
}

# CPU Variants/Extensions Definition ---------------------------------------------------------------
Expand Down
12 changes: 12 additions & 0 deletions litex/soc/cores/cpu/blackparrot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
TODO: Edit
git submodule update --init --recursive (for blackparrot pre-alpha repo)
cd pre_alpha_release
follow getting_started to install blackparrot
cd ..
source ./setEnvironment.sh #should be sourced each time you open a terminal or just add this line to bashrc
Add $BP_TOP/external/bin to $PATH for verilator and riscv-gnu tools
./update_BP.sh #to modify some of the files in Blackparrot repo (one-time process)
Currently, we could simulate the LITEX-BIOS on BP processor.

[![asciicast](https://asciinema.org/a/286568.svg)](https://asciinema.org/a/286568)

1 change: 1 addition & 0 deletions litex/soc/cores/cpu/blackparrot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from litex.soc.cores.cpu.blackparrot.core import BlackParrotRV64
Loading

0 comments on commit d15c911

Please sign in to comment.