-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added white background to README image See merge request hwdesign/ips/accelerators/sauria!2
- Loading branch information
Showing
3 changed files
with
1,040 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ The accelerator can natively compute convolution and general matrix-matrix multi | |
|
||
Maintainer: Jordi Fornt Mas ([email protected]) | ||
|
||
![diagram](diagram.svg?raw=true){width=60%} | ||
<img src="diagram.svg" width="750"> | ||
|
||
## Documentation | ||
|
||
|
@@ -19,25 +19,37 @@ Check out the project's Wiki (https://gitlab.bsc.es/hwdesign/ips/accelerators/sa | |
|
||
## Installation | ||
|
||
After cloning the repository and selecting the branch, run the following command to update all the submodules needed: | ||
After cloning the repository and selecting the branch, run the following command to update all the submodules: | ||
|
||
```bash | ||
git submodule update --init --recursive | ||
``` | ||
|
||
## Running Simulations | ||
|
||
SAURIA can be emulated using Verilator v4.224. We have observed issues with older and newer versions, so we recommend using a local installation as described below. A testbench for simulation with commercial RTL simulators (e.g. Synopsys VCS or Questa) is also provided. | ||
|
||
The first step is to install Verilator, which can be done as follows: | ||
To install Verilator v4.224 locally, run: | ||
|
||
```bash | ||
source setup.sh | ||
cd tools/ | ||
source install_verilator.sh | ||
``` | ||
|
||
Before starting a simulation, we generate a set of random convolutions and GEMMs using Python: | ||
To use the Python script that generates random stimuli for the simulations, install the required packages into your Python environment by using pip: | ||
|
||
```bash | ||
pip install -r Python/requirements_pip.txt | ||
``` | ||
|
||
Or, alternatively, using Conda: | ||
|
||
```bash | ||
conda install --file Python/requirements_pip.txt | ||
``` | ||
|
||
## Running Simulations | ||
|
||
First, we generate a set of random convolutions and GEMMs using Python: | ||
|
||
```bash | ||
source setup.sh | ||
|
@@ -75,6 +87,10 @@ If you use SAURIA in your work, you can cite the following paper: | |
doi={10.1109/TVLSI.2023.3286122}} | ||
``` | ||
|
||
## Contributing | ||
|
||
If you would like to contribute to SAURIA, please contact [email protected]. | ||
|
||
## Licensing | ||
|
||
SAURIA is released under the [Solderpad v2.1 license](https://solderpad.org/licenses/SHL-2.1/). |
Oops, something went wrong.