Giter VIP home page Giter VIP logo

vivado2022.1-docker's Introduction

vivado2022.1-docker

Disclaimer: The script in this repo were gathered from multiple informal resources which may contaminated your own docker image. Use in your own risk.


I am using 13-inch, 2020, Four Thunderbolt 3 ports MacBook Pro with 2.3 GHz Quad-Core Intel Core i7 and 16 GB 3733 MHz LPDDR4X. Currently running Ventura 13.2.1 OS.

The whole installation will take about 160GB memory and end up with about 90GB.


  1. Get the ubuntu docker
docker pull ubuntu
  1. Download Xilinx Unified Installer 2022.1: Linux Self Extracting Web Installer and you will yield Xilinx_Unified_2022.1_0420_0327_Lin64.bin installer. It can be found in here

  2. Install xquartz using homebrew and set security setting.

brew install --cask xquartz

Set “Allow connections from network clients” in XQuartz -> settings... -> security


Note: Complete both under university WiFi would not take long.


  1. Run your new ubuntu image using:
xhost +
export DISPLAY=host.docker.internal:0
docker run -e DISPLAY=host.docker.internal:0 -it -v /sys/devices:/sys/devices:ro -v `pwd`:`pwd` -w `pwd` ubuntu:latest bash 
  1. Install all possible vivado dependencies. This can be done in two ways, 1. Give permission to init_docker.sh file under this repo or 2. Copy the instruction in init_docker.sh and run it line by line.

Note: Complete both under university WiFi would take a little while.


  1. Install Vivado from the installer. Assume your project directory is /dev/new_docker_project and you run the docker within the folder. Put your Xilinx_Unified_2022.1_0420_0327_Lin64.bin file under the folder.

AKA:

.
├── ...
├── Xilinx_Unified_2022.1_0420_0327_Lin64.bin
└── ...

Run:

chmod +x Xilinx_Unified_2022.1_0420_0327_Lin64.bin
./Xilinx_Unified_2022.1_0420_0327_Lin64.bin

In theory, the installer will pop up an installation window. It will ask you to log-in and choose Download and install now

Then choose Vivado, Vivado ML standard and all tools you need.

Then agree with licenses.

After confirm your installation configuration, your installation will be begin.


Note: Complete both under university WiFi or wired network would took 2 hours to download (around 8MB/s) 1 hour to install and couple minutes to finalize.


If all installation ran successfully, you should be able to run Vivado with command instructions.

If you installed in default path:

source /tools/Xilinx/Vivado/2022.1/settings64.sh
vivado &

Side notes: I need this particular version to build PYNQ board. In the middle of the process, I got errors for /lib/x86_64-linux-gnu/libudev.so.1 . By doing hours of research, I found an work around:

LD_PRELOAD=/lib/x86_64-linux-gnu/libudev.so.1 vivado [your command]

Thats in the same line.

I tried it and it built PYNQ board project successfully.

If someone who saw this repo some time after and got errors for whatever issues, I am not able to fix it. Sorry about it. But if someone indeed got it working, let me know.

vivado2022.1-docker's People

Contributors

siraisisatoru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.