https://github.com/amamory/axis_m_dip_ip
A Vivado IP to connect dip switches to a master AXI streaming interface
https://github.com/amamory/axis_m_dip_ip
axi4 tcl vhdl vivado
Last synced: 7 months ago
JSON representation
A Vivado IP to connect dip switches to a master AXI streaming interface
- Host: GitHub
- URL: https://github.com/amamory/axis_m_dip_ip
- Owner: amamory
- Created: 2020-06-28T14:52:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-07T18:08:31.000Z (about 5 years ago)
- Last Synced: 2025-01-22T07:33:26.723Z (9 months ago)
- Topics: axi4, tcl, vhdl, vivado
- Language: Tcl
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DIP switched to AXI master streaming interface
This repo contains scripts to recreate a Vivado IP which connects Zedboard's dip switches to an AXI master streaming interface. The project is setup for Zedboard, although it would be easy to change to other boards assuming you have some basic TCL skills.
The scripts are quite reusable if you keep the same dir structure. It should be useful for other Vivado/SDK projects with minor efforts.
# Module/IP design

# How to download it
This repository might have custom IPs included as git submodules. Thus, the following command is required to download all its dependencies.
```
git clone --recursive https://github.com/amamory/.git
```If you already cloned the repository without `--recursive`, then run the following command to download all the submodules.
```
git submodule update --init --recursive
```Refer to this [tutorial](https://www.vogella.com/tutorials/GitSubmodules/article.html) to learn how to manage submodules.
# 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**, **VIVADO_DESIGN_NAME**, **XIL_APP_NAME**, and **VIVADO_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 script
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.