Update README.md

This commit is contained in:
hqjenny 2019-10-31 22:17:21 -07:00 committed by GitHub
parent 1ec399d70e
commit d0cac90ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 1 deletions

View File

@ -1 +1,32 @@
# centrifuge
# Centrifuge - A Unified Approach to Generate RISC-V Accelerator SoC
## 1. Chipyard and FireSim Setup
1) Set up AWS machine following [Firesim Setting up your Manager Instance](https://docs.fires.im/en/latest/Initial-Setup/Setting-up-your-Manager-Instance.html)
2) Before initializing Chipyard, enable make/gcc 4.x.x
```
source scl_source enable devtoolset-8
```
3) Follow Chipyard Tutorial to setup the repo
https://chipyard.readthedocs.io/en/latest/
```
git clone https://github.com/ucb-bar/chipyard.git
cd chipyard
./scripts/init-submodules-no-riscv-tools.sh
./scripts/build-toolchains.sh
source ./scripts/env.sh
```
4) Generate the accelerator SoC defined in `accel.json`
```
cd tools/centrifuge/scripts
source hls-setup.sh
perl generate_soc.pl accel.json
```
5) Run Verilator Simulation
6) Generate FireSim Image