ucb-bar / Baremetal-IDE

A submodule of Chipyard https://github.com/ucb-bar/chipyard

Home Page:https://ucb-bar.gitbook.io/chipyard/baremetal-ide/getting-started-with-baremetal-ide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chipyard Baremetal IDE

Setup

Follow the tutorial here to set up RISC-V development environment.

Initial Repository Setup

After cloning the repo, we need to initialize the submodules by executing the following commands.

git submodule init
git submodule update

Compile for simulation

make build USE_HTIF=1

Generate binary

make bin

Debug the SoC

Terminal 1

openocd.exe -f ./examplechip.cfg

Terminal 2

riscv64-unknown-elf-gdb.exe --eval-command="target extended-remote localhost:3333"

About

A submodule of Chipyard https://github.com/ucb-bar/chipyard

https://ucb-bar.gitbook.io/chipyard/baremetal-ide/getting-started-with-baremetal-ide


Languages

Language:HTML 78.6%Language:C 19.3%Language:Makefile 1.5%Language:CSS 0.6%