Hello

Hello
From my House

Wednesday, September 21, 2016

Installing FPGA in a linux Ubuntu Machine

Story:

I just came from Pokhara seeking to learn FPGA and then I was here with Digitronix Nepal's CEO Mr. Krishna Gaihre. He was my college friend and here he was starting up his own Digitronix Lab in view to promote FPGA learners in Nepal. It was really a challenging start to start something that is still a hard liner in the world business in a place where simple electronics design market wasn't in place. People used/actually loved electronic branded products but when it came to going for design it is really like a pedlar asking the home owner to lend him a piece of gold. (It wasn't impossible but still noone was willing to take that ground)

Now, story apart. I really have been full of nonsense with my busy life back in my government job tasks with no useful strategical progresses. Thereby, I started for learning FPGA to the capital city of Nepal with my friend Krishna.

So, what were my challenges. My friend had a Windows machine. Now I needed a Linux trainer for installation and running a ViVado FPGA machine. The problem was there had been updates and the old blogs and microsites stated the problems with past traditional paths and it was really infuriating when things didn't work.

Here I present my story with Xilinx ViVado Linux Edition 2016.1

  1. You can find a Xilinx Fresh installation file from Xilinx Website www.xilinx.com/support/download.html
  2. Choose your machine. In my case it is Ubuntu 16.04
  3. Then in a suitable downloads directory download it.
  4. Then unzip the downloaded tar.gz file.
  5. Well, you could double click on xsetup file. But I would prefer to go this way:
  • Go to Terminal
  • Do cd ~/Downloads/Xilinx
  • chmod +777 ./xsetup
  • sudo ./xsetup
Now the second Story....
  1.  


    Choose the System Edition

    I chose to not run sudo.. So I got problem with write permission. You could install in different location.
  2. Then after installation you need to find a license file 
  3. So, point you mouse to this link... 
    1. License Link:  
  4.  Then you can follow a tutorial made by my friend to get a license file:
    1. License Generation Technique by Digitronix Nepal..
  5. I guess you have a license file ready at hand...
  6. Now follow these steps as illustrated in the pictures below:

  7. Click the Load License on Left. Then click Copy License.

    Navigate to the downloaded Xilinx.lic file

    Opening the License File

    License Installation Success Page

    View your Host Information if you require in future

    1.  You may then close the Lincense Manager
    2. Now comes another story for running your Vivado Machine. Be careful. Here my major problem remained
  8. I had to navigate to /opt/Xilinx
  9. Then Go to Vivado/2016.1 folder
  10.  Temptation is to sudo run ./settings64.sh 
  11. But as you can see here, I run an error. So do a run without sudo in the script.
  12. In other words... 
    • ./settings64.sh
  13.  Next step is to navigate inside bin... This is where your main application is located
    1. cd bin
  14. Then as usual type: 
    • ./vivado
  15. The program runs.. Hurray!! 
  16.  


No comments:

Post a Comment