Skip to content

added Vivado install guide #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added majors/CE/Vivado/images/Vivado_setup_wizard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added majors/CE/Vivado/images/download_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added majors/CE/Vivado/images/setup_vivado.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added majors/CE/Vivado/images/vivado_running.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
86 changes: 86 additions & 0 deletions majors/CE/Vivado/vivado.md
Original file line number Diff line number Diff line change
@@ -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)

---

4 changes: 4 additions & 0 deletions majors/CE/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down