Follow the tutorial here to set up RISC-V development environment.
After cloning the repo, we need to initialize the submodules by executing the following commands.
git submodule init
git submodule updatemake build USE_HTIF=1make binTerminal 1
openocd.exe -f ./examplechip.cfgTerminal 2
riscv64-unknown-elf-gdb.exe --eval-command="target extended-remote localhost:3333"