Last active
November 25, 2021 16:35
-
-
Save DanielChuDC/6da7bce5e2d357de8fbe04fe55621205 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/bash | |
| # lsb_release -a | |
| # Distributor ID: Ubuntu | |
| # Description: Ubuntu 20.04.3 LTS | |
| # Release: 20.04 | |
| # Codename: focal | |
| VERSION=2021.2 | |
| VIVADO_WORKSPACE=$HOME/vivado | |
| VITIS_WORKSPACE=$HOME/vitis | |
| INSTALLATION_DIRECTORY=/tools/xilinx | |
| # Add the source commands of both Vivado and Vitis to the ~/.bashrc file | |
| # in your virtual machine (Only have to do it once) | |
| source $INSTALLATION_DIRECTORY/Vivado/$VERSION/settings64.sh | |
| source $INSTALLATION_DIRECTORY/Vitis/$VERSION/settings64.sh | |
| # Create a directory as the workspace (Only have to do it once) | |
| mkdir $VIVADO_WORKSPACE | |
| mkdir $VITIS_WORKSPACE | |
| # Run Vivado | |
| cd $VIVADO_WORKSPACE | |
| vivado & | |
| # Run Vitis | |
| cd $VITIS_WORKSPACE | |
| vitis & |
Author
Author
Step 2: Install cable driver
reference from here
Author
Step3: Install the board files
Step4: Create a project
reference from Getting Started with Vivado and Vitis for Baremetal Software Projects
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reference from here