Update README.md
- Removed instruction to checkout riscv-tests (as they are now globally installed when building the riscv-tools). - Clarified the riscv-tools set-up information to clarify that the rocket-chip/riscv-tools is the version to build.
This commit is contained in:
parent
fbff46d27d
commit
3fe00ce32a
20
README.md
20
README.md
@ -22,19 +22,27 @@ the RISC-V Rocket Core. For more information on Rocket Chip, please consult our
|
|||||||
$ git clone https://github.com/ucb-bar/rocket-chip.git
|
$ git clone https://github.com/ucb-bar/rocket-chip.git
|
||||||
$ cd rocket-chip
|
$ cd rocket-chip
|
||||||
$ git submodule update --init
|
$ git submodule update --init
|
||||||
$ cd riscv-tools
|
|
||||||
$ git submodule update --init --recursive riscv-tests
|
|
||||||
|
|
||||||
### Setting up the RISCV environment variable
|
### Setting up the RISCV environment variable
|
||||||
|
|
||||||
To build the rocket-chip repository, you must point the RISCV
|
To build the rocket-chip repository, you must point the RISCV
|
||||||
environment variable to your riscv-tools installation directory. If you
|
environment variable to your riscv-tools installation directory.
|
||||||
do not yet have riscv-tools installed, please follow the directions in
|
|
||||||
the
|
|
||||||
[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md).
|
|
||||||
|
|
||||||
$ export RISCV=/path/to/riscv/toolchain/installation
|
$ export RISCV=/path/to/riscv/toolchain/installation
|
||||||
|
|
||||||
|
The riscv-tools repository is already included in
|
||||||
|
rocket-chip as a git submodule. You **must** build this version
|
||||||
|
of riscv-tools:
|
||||||
|
|
||||||
|
$ cd rocket-chip/riscv-tools
|
||||||
|
$ git submodule update --init --recursive
|
||||||
|
$ export RISCV=/path/to/install/riscv/toolchain
|
||||||
|
$ ./build.sh
|
||||||
|
|
||||||
|
For more information (or if you run into any issues), please consult the
|
||||||
|
[riscv-tools/README](https://github.com/riscv/riscv-tools/blob/master/README.md).
|
||||||
|
|
||||||
|
|
||||||
### Building The Project
|
### Building The Project
|
||||||
|
|
||||||
First, to build the C simulator:
|
First, to build the C simulator:
|
||||||
|
Loading…
Reference in New Issue
Block a user