https://github.com/amamory/hermes-2x2-noc-axis-ip
A 2x2 mesh NoC compatible with AXI streaming interface
https://github.com/amamory/hermes-2x2-noc-axis-ip
axi-stream axi4-stream network-on-chip vivado
Last synced: 7 months ago
JSON representation
A 2x2 mesh NoC compatible with AXI streaming interface
- Host: GitHub
- URL: https://github.com/amamory/hermes-2x2-noc-axis-ip
- Owner: amamory
- Created: 2020-07-11T18:50:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-08T14:58:39.000Z (about 5 years ago)
- Last Synced: 2025-01-22T07:33:22.868Z (9 months ago)
- Topics: axi-stream, axi4-stream, network-on-chip, vivado
- Language: Coq
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vivado Hermes based 2x2 mesh network-on-chip
This repo contains scripts to recreate an 2x2 mesh network-on-chip based on [Hermes router](https://www.sciencedirect.com/science/article/abs/pii/S0167926004000185). The project is setup for Zedboard, although it would be easy to change to other boards assuming you have some basic TCL skills.
# IP design
The IP contains four masters and four slaves AXI streaming interfaces. The router ports are configured with 32-bit data width and input buffers of size 4. The IP frequency is currently set to 50MHz.

# How to use this repository
These scripts presented here are quite reusable if you keep the same dir structure. It should be useful for other Vivado/SDK projects with minor efforts. For this reason this repository is a template. Just click in **Use this Template** button to replicate it for your own project.
In command line, create an empty repository called ** in github and follow these steps to use it as a template:
```
mkdir
cd
git clone https://github.com/amamory/vivado-base-project.git .
rm -rf .git
git init
git remote set-url origin https://github.com//
git add * .gitignore
git commit -m "my initial commit"
git push origin master
```Each directory has instructions related to the kind of file you have to place in them.
# How to run it
These scripts are assuming Linux operation system (Ubuntu 18.04) and Vivado 2018.2.
Follow these instructions to recreate the Vivado and SDK projects:
- Open the **build.sh** script and edit the first two lines to setup the environment variables:
- **VIVADO**: path to the Vivado install dir;
- **VIVADO_DESIGN_NAME**: mandatory name of the design
- **XIL_APP_NAME**: used only in projects with software. Not used in this design;
- **VIVADO_TOP_NAME**: set the top name (optional).
- run *build.sh*These scripts will recreate the entire Vivado project, compile the design, generate the bitstream, export the hardware to SDK, create the SDK projects, import the source files, build all projects, and finally download both the bitstream and the elf application. Hopefully, all these steps will be executed automatically.
# How to update the scripts
These scripts come from a template repository and they get updated and improved over time. If you wish to get the latest script version, then follow these steps:
```
git remote add template https://github.com/amamory/vivado-base-project.git
git fetch --all
git merge --no-commit --no-ff template/master --allow-unrelated-histories
```Solve any conflict manually and then commit.
# Future work
- update the scripts to Vitis
- support or test with Windows (help required !!! :D )# Credits
The scripts are based on the excellent scripts from [fpgadesigner](https://github.com/fpgadeveloper/zedboard-axi-dma) plus few increments from my own such as project generalization, support to SDK project creation and compilation and other minor improvements.