diff --git a/majors/CE/Vivado/images/Vivado_setup_wizard.png b/majors/CE/Vivado/images/Vivado_setup_wizard.png new file mode 100644 index 0000000..624912d Binary files /dev/null and b/majors/CE/Vivado/images/Vivado_setup_wizard.png differ diff --git a/majors/CE/Vivado/images/download_page.png b/majors/CE/Vivado/images/download_page.png new file mode 100644 index 0000000..a757748 Binary files /dev/null and b/majors/CE/Vivado/images/download_page.png differ diff --git a/majors/CE/Vivado/images/setup_vivado.png b/majors/CE/Vivado/images/setup_vivado.png new file mode 100644 index 0000000..cb9c7f7 Binary files /dev/null and b/majors/CE/Vivado/images/setup_vivado.png differ diff --git a/majors/CE/Vivado/images/vivado_running.png b/majors/CE/Vivado/images/vivado_running.png new file mode 100644 index 0000000..84c0404 Binary files /dev/null and b/majors/CE/Vivado/images/vivado_running.png differ diff --git a/majors/CE/Vivado/vivado.md b/majors/CE/Vivado/vivado.md new file mode 100644 index 0000000..4eda05f --- /dev/null +++ b/majors/CE/Vivado/vivado.md @@ -0,0 +1,86 @@ +--- +title: Installing Vivado on linux +layout: default +--- + +Vivado is a software that is used during digital system design II. It is installed on lab +computers but its useful to have it on your laptop or personal computer to work on your lab on the go since they are very time consuming. +I had trouble setting up the software but no fear! Here is a guide to get it working on a clean installation of Kubuntu. + +## Download Vivado + +The version used in class is **2019.1**. If you haven’t downloaded it yet, you can find it here: + +[Vivado 2019.1 Download Link](https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vivado-design-tools/archive.html) + +![Vivado Download Site](images/download_page.png) + +## Create Directories + +You’ll need two directories for the installation. Run the following commands in your terminal to create them: + +```bash +mkdir -p /tools/Xilinx +``` + +Then, set the proper permissions: + +```bash +sudo chmod -R 777 /tools/ +cd tools/ +sudo chmod -R 777 /Xilinx +``` + +## Extract the Installer + +Navigate to the folder where the Vivado installer `.tar.gz` file was downloaded. Then, extract it using your preferred archive manager. For example, using `ark`: + +```bash +ark -b Xilinx_Vivado_SDK_2019.1_0524_1430.tar.gz +``` + +## Install Dependencies + +CD into the extracted folder, then into the `scripts` directory: + +```bash +cd Xilinx_Vivado_SDK_2019.1_0524_1430 +cd scripts +``` + +Run the `setupLibNCurses.sh` script: + +```bash +sudo ./setupLibNCurses.sh +``` + +If the script fails, manually install the required dependencies: + +```bash +sudo apt update +sudo apt install libtinfo-dev +sudo ln -s /lib/x86_64-linux-gnu/libtinfo.so.6 /lib/x86_64-linux-gnu/libtinfo.so.5 +``` + +## Run the Installer + +Go back to the base installation folder: + +```bash +cd .. +chmod +x xsetup +./xsetup +``` + +![Running xsetup in Terminal](images/setup_vivado.png) + +> Do **not** use `sudo` for this step. +> When prompted, select the installation folder as `/tools/Xilinx`. + +![Vivado Setup Wizard](images/Vivado_setup_wizard.png) + +After following these steps you should have vivado working on your linux machine! +![Vivado Running on Linux](images/vivado_running.png) + +--- + diff --git a/majors/CE/index.md b/majors/CE/index.md index 77e5db7..1304534 100644 --- a/majors/CE/index.md +++ b/majors/CE/index.md @@ -5,6 +5,10 @@ layout: default # Useful Software +## Guide to install Vivado on Linux +* [Vivado](./Vivado/Vivado.md) + + ## EveryCircuit EveryCircuit is an application for Android, iOS, and the web that allows you to build and simulate circuits. While it is not free, you are able to try it and build simple circuits for free. It can be helpful for figuring out hard circuits homework problems, or trying to create your own circuits for projects.