Skip to content

Instantly share code, notes, and snippets.

@DanielChuDC
Last active November 25, 2021 16:35
Show Gist options
  • Save DanielChuDC/6da7bce5e2d357de8fbe04fe55621205 to your computer and use it in GitHub Desktop.
Save DanielChuDC/6da7bce5e2d357de8fbe04fe55621205 to your computer and use it in GitHub Desktop.
#!/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 &
@DanielChuDC
Copy link
Author

reference from here

@DanielChuDC
Copy link
Author

Step 2: Install cable driver

reference from here

@DanielChuDC
Copy link
Author

DanielChuDC commented Nov 25, 2021

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