伯克利boom與riscv工具安裝步驟
阿新 • • 發佈:2019-02-04
Boom環境搭建
1,從github上克隆boom模擬器:
$ git clone https://github.com/ucb-bar/rocket-chip.git
$ cd rocket-chip
$ git checkout boom
$ git submodule update --init
$ cd emulator; make run CONFIG=BOOMConfig
2,RISC-V Toolchain安裝
$ export RISCV=/path/to/install/riscv/toolchain
$ export PATH="${PATH}RISCV/bin"
$ git clone https://github.com/ucb-bar/rocket-chip.git
$ cd rocket-chip
$ git checkout boom
$ git submodule update --init
$ cd riscv-tools
$ git submodule update --init --recursive
$ ./build.sh //安裝
$ cd ../emulator; make run CONFIG=BOOMConfig //配置為boom模式
1,從github上克隆boom模擬器:
$ git clone https://github.com/ucb-bar/rocket-chip.git
$ cd rocket-chip
$ git checkout boom
$ git submodule update --init
$ cd emulator; make run CONFIG=BOOMConfig
2,RISC-V Toolchain安裝
$ export RISCV=/path/to/install/riscv/toolchain
$ export PATH="${PATH}RISCV/bin"
$ git clone https://github.com/ucb-bar/rocket-chip.git
$ cd rocket-chip
$ git checkout boom
$ git submodule update --init
$ cd riscv-tools
$ git submodule update --init --recursive
$ ./build.sh //安裝
$ cd ../emulator; make run CONFIG=BOOMConfig //配置為boom模式