Skip to content

Commit

Permalink
Improved readme
Browse files Browse the repository at this point in the history
  • Loading branch information
acw1251 committed Jul 13, 2016
1 parent 9f19187 commit 939f2d3
Showing 1 changed file with 39 additions and 20 deletions.
59 changes: 39 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,43 @@
riscy
=====

How to use:
How to use (in Ubuntu 14.04):

1. Get all the submodules
```
$ git submodule update --init --recursive
```

2. Edit setup.sh so `RISCY_HOME` points to the riscy directory

3. Setup environment for RISCY
```
$ source ./setup.sh
```

4. Get dependencies for building riscv tools.
```
$ sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc
```

5. Get newer version of Verilator. The version of Verilator in the Ubuntu package has a bug that prevents running our BSV designs. We use a PPA to provide a newer version of Verilator.
```
$ sudo apt-add-repository -y ppa:jamey-hicks/connectal
$ sudo apt-get update
$ sudo apt-get install verilator
```

6. Build riscv-tools
```
$ cd riscv-tools
$ ./build.sh
```

7. Build multicycle processor
```
$ cd ../procs/RV64G_multicycle
$ make build.verilator
```

8. Simulate tests by running `./runtests.sh` and then select which tests to run

1. `git submodule update --init --recursive`

2. Edit setup.sh so RISCY_HOME points to the riscy directory

3. `source ./setup.sh`

4. `cd riscv-tools`

5. ` sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc`

6. `./build.sh`

7. `cd ../procs/RV64G_multicycle`

8. `make build.verilator`

9. `./runtests.sh`

10. select which tests you want to run

0 comments on commit 939f2d3

Please sign in to comment.