Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 650 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 650 Bytes

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"