Skip to content

Commit

Permalink
added report1 (c0e1adc1fc31de5d8a0cf6f0250f397035023caa)
Browse files Browse the repository at this point in the history
  • Loading branch information
andri committed Nov 22, 2019
1 parent 762e5de commit 7c9b8e7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 6 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
> Copyright (c) 2019 ETH Zurich, Integrated System Laboratory, Renzo Andri > This is the open sourced version of the IIS internal repo https://iis-git.ee.ethz.ch/andri/RNNASIP.git
> Copyright (c) 2019 ETH Zurich, Integrated System Laboratory, Renzo Andri
> This is the open sourced version of the IIS internal repo https://iis-git.ee.ethz.ch/andri/RNNASIP.git

# RNN ASIP
This is the main repository for the RNN Extension for PULP and tzscale (Synopsys)

The project has the following sub-repos and dependencies:

- RNN Pulpissimo (https://github.com/pulp-platform/pulpissimo/tree/rnnext or internal https://iis-git.ee.ethz.ch/andri/rnn-pulpissimo.git): Pulpissimo extended by special instructions
- RNN RISC-V core (https://github.com/pulp-platform/riscv/tree/rnn_extension or internal https://iis-git.ee.ethz.ch/andri/rnn-riscv.git): Includes the RISC-V core with the RNN Extensions.
- RISC-V toolchain with RNN-Extensions (https://github.com/pulp-platform/pulp-riscv-gnu-toolchain/tree/renzo-isa)
- The PULP SDK and ISS Simulator (https://github.com/pulp-platform/pulp-sdk.git)
- RNN Pulpissimo (https://github.com/pulp-platform/pulpissimo/tree/rnnext (80d493eaef950285a0e4f5d1e1afd4e6c0074872) or internal https://iis-git.ee.ethz.ch/andri/rnn-pulpissimo.git): Pulpissimo extended by special instructions
- RNN RISC-V core (https://github.com/pulp-platform/riscv/tree/rnn_extension (ad1680c2ec65ea65b8e342c16131298b290c9e34) or internal https://iis-git.ee.ethz.ch/andri/rnn-riscv.git): Includes the RISC-V core with the RNN Extensions.
- RISC-V toolchain with RNN-Extensions (https://github.com/pulp-platform/pulp-riscv-gnu-toolchain/commit/5d39fedd658d81a3ea9765cf9bd03a445b292e4b)
- The PULP SDK and ISS Simulator (https://github.com/pulp-platform/pulp-sdk/releases/tag/2019.10.01)

# Getting Started

Expand Down
Binary file added docs/Report1/report.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion sourcecode/funcApprox/tanh_eval.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
lib=evalClass(f, fxPtFormat);
results = []
results_maxerr = []
numElements_list = [2 4 8 16 32 64 128]'; %(2:4:128)';%[2 4 8 16 32 64 128]'
numElements_list = (2:4:128)'; %[2 4 8 16 32 64 128]'; %(2:4:128)';%[2 4 8 16 32 64 128]'
rangepm_list = [1:0.5:9]'
for i=1:size(numElements_list,1)
for j=1:size(rangepm_list,1)
Expand Down
22 changes: 22 additions & 0 deletions vp/build_risv_toolchain.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
# Copyright (c) 2019 ETH Zurich, Integrated System Laboratory, Renzo Andri

# Dependencies
# centos: sudo yum install autoconf automake libmpc-devel mpfr-devel gmp-devel gawk bison flex texinfo patchutils gcc gcc-c++ zlib-devel
# ubuntu16: 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 zlib1g-dev

export postfix="CentOS"

git clone --recursive https://github.com/pulp-platform/pulp-riscv-gnu-toolchain pulp-riscv-gnu-toolchain_$postfix

cd pulp-riscv-gnu-toolchain_$postfix
git checkout isa-renzo

echo "Make PULP"
./configure --prefix=$(pwd)/opt-riscv/ --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
make
cd ../




0 comments on commit 7c9b8e7

Please sign in to comment.