New Horizons









Welcome to my blog

My name is Sven Andersson and I
work as a consultant in embedded
system design, implemented in ASIC
and FPGA.
In my spare time I write this blog
and I hope it will inspire others to
learn more about this fantastic field.
I live in Stockholm Sweden and have
my own company

Contact

You are welcome to contact me
and ask questions or make comments
about my blog.



Content

New Horizons
What's new
Starting a blog
Writing a blog
Using an RSS reader

Zynq Design From Scratch
Started February 2014
1 Introduction
Changes and updates
2 Zynq-7000 All Programmable SoC
3 ZedBoard and other boards
4 Computer platform and VirtualBox
5 Installing Ubuntu
6 Fixing Ubuntu
7 Installing Vivado
8 Starting Vivado
9 Using Vivado
10 Lab 1. Create a Zynq project
11 Lab 1. Build a hardware platform
12 Lab 1. Create a software application
13 Lab 1. Connect to ZedBoard
14 Lab 1. Run a software application
15 Lab 1. Benchmarking ARM Cortex-A9
16 Lab 2. Adding a GPIO peripheral
17 Lab 2. Create a custom HDL module
18 Lab 2. Connect package pins and implement
19 Lab 2. Create a software application and configure the PL
20 Lab 2. Debugging a software application
21 Running Linux from SD card
22 Installing PetaLinux
23 Booting PetaLinux
24 Connect to ZedBoad via ethernet
25 Rebuilding the PetaLinux kernel image
26 Running a DHCP server on the host
27 Running a TFTP server on the host
28 PetaLinux boot via U-boot
29 PetaLinux application development
30 Fixing the host computer
31 Running NFS servers
32 VirtualBox seamless mode
33 Mounting guest file system using sshfs
34 PetaLinux. Setting up a web server
35 PetaLinux. Using cgi scripts
36 PetaLinux. Web enabled application
37 Convert from VirtualBox to VMware
38 Running Linaro Ubuntu on ZedBoard
39 Running Android on ZedBoard
40 Lab2. Booting from SD card and SPI flash
41 Lab2. PetaLinux board bringup
42 Lab2. Writing userspace IO device driver
43 Lab2. Hardware debugging
44 MicroZed quick start
45 Installing Vivado 2014.1
46 Lab3. Adding push buttons to our Zynq system
47 Lab3. Adding an interrupt service routine
48 Installing Ubuntu 14.04
49 Installing Vivado and Petalinux 2014.2
50 Using Vivado 2014.2
51 Upgrading to Ubuntu 14.04
52 Using Petalinux 2014.2
53 Booting from SD card and SPI flash
54 Booting Petalinux 2014.2 from SD card
55 Booting Petalinux 2014.2 from SPI flash
56 Installing Vivado 2014.3

Chipotle Verification System
Introduction

EE Times Retrospective Series
It all started more than 40 years ago
My first job as an electrical engineer
The Memory (R)evolution
The Microprocessor (R)evolution

Four soft-core processors
Started January 2012
Introduction
Table of contents
Leon3
MicroBlaze
OpenRISC 1200
Nios II

Using the Spartan-6 LX9 MicroBoard
Started August 2011
Introduction
Table of contents
Problems, fixes and solutions

FPGA Design From Scratch
Started December 2006
Introduction
Table of contents
Index
Acronyms and abbreviations

Actel FPGA design
Designing with an Actel FPGA. Part 1
Designing with an Actel FPGA. Part 2
Designing with an Actel FPGA. Part 3
Designing with an Actel FPGA. Part 4
Designing with an Actel FPGA. Part 5

CAD
A hardware designer's best friend
Zoo Design Platform

Linux
Installing Cobra Command Tool
A processor benchmark

Mac
Porting a Unix program to Mac OS X
Fixing a HyperTerminal in Mac OS X
A dream come true

Running
The New York City Marathon

Skiing/Skating
Kittelfjall Lappland

Tour skating in Sweden and around the world
Top
Introduction
SSSK
Wild skating
Tour day
Safety equipment
A look at the equipment you need
Skate maintenance
Links
Books, photos, films and videos
Weather forecasts

Travel
38000 feet above see level
A trip to Spain
Florida the sunshine state

Photo Albums
Seaside Florida
Ronda Spain
Sevilla Spain
Cordoba Spain
Alhambra Spain
Kittelfjäll Lapland
Landsort Art Walk
Skating on thin ice

Books
100 Power Tips for FPGA Designers

Favorites
Adventures in ASIC
ChipHit
Computer History Museum
DeepChip
Design & Reuse
Dilbert
d9 Tech Blog
EDA Cafe
EDA DesignLine
Eli's tech Blog
Embedded.com
EmbeddedRelated.com
FPGA Arcade
FPGA Blog
FPGA Central
FPGA CPU News
FPGA developer
FPGA Journal
FPGA World
Lesley Shannon Courses
Mac 2 Ubuntu
Programmable Logic DesignLine
OpenCores
Simplehelp
SOCcentral
World of ASIC



If you want to be updated on this weblog Enter your email here:



rss feed



 
Tuesday, February 11, 2014
Zynq design from scratch. Part 7.
Vivado Design Suite

The Vivado Design Suite provides a highly integrated design environment (IDE) with a completely new generation of system-to-IC level tools, all built on the backbone of a shared scalable data model and a common debug environment. It is also an open environment based on industry standards such as the AMBA4 AXI4 interconnect specification, IP-XACT IP packaging metadata, the Tool Command Language (Tcl), Synopsys Design Constraints (SDC) and others that facilitate design flows tailored to the user’s needs. Xilinx architected Vivado tools to enable the combination of all types of programmable technologies and scale up to 100-million-ASIC equivalent gate designs.

Installing Vivado 2014.2

For more information on how to install the latest version of Vivado see part 49 of this blog.

Xilinx SDK


The Software Development Kit (SDK) is the Xilinx Integrated Design Environment for creating embedded applications on any of Xilinx' microprocessors from Zynq™-7000 All Programmable SoCs, to the industry-leading MicroBlaze™. SDK is the first application IDE to deliver true homogenous and heterogenous multi-processor design and debug.

Vivado WebPACK

The Vivado Design Suite WebPACK Edition is the FREE version of the Vivado design suite. Vivado WebPACK delivers instant access to some basic Vivado features and functionality at no cost. Here is a description of the different Vivado editions Xilinx has to offer. I think we will be fine with the free WebPACK.



Documentation

We can find all the documentation on the Xilinx support page. The first thing to read is the "Vivado Design Suite User Guide Getting Started". For more information see the following documents:
  • Vivado Design User Guide: Embedded Processor Hardware Design (UG898)
  • Vivado Design Suite Tutorial: Embedded Hardware Design (UG940)
  • Vivado Design Suite User Guide: Designing IP Subsystems Using IP Integrator (UG994)
  • Vivado Design Suite User Guide: Using the Vivado IDE (UG893)

Download Vivado

Before we can download anything from the Xilinx web page we have to register and create an account.



After registering we are ready to sign in to the Xilinx download page.



They only way to get the SDK is to use the "All OS Vivado and SDK Full Installer" (6.81GB).




Click Save File to save this file in the Downloads directory.

Unpacking the tar file

Use the following commands to unpack the downloaded tar file:

cd
cd Downloads
tar xfv Xilinx_Vivado_SDK_2013.4_1210_1.tar

The result from the unpacking is stored in a temporary directory named
Xilinx_Vivado_SDK_2013.4_1210_1. This directory can be deleted after the installation has finished.

Install Vivado


Before starting the installer we have to decide where to install the software. The default directory is /opt/Xilinx. We create the Xilinx directory uisng this command:

sudo mkdir /opt/Xilinx

Now we can start the installer.

cd
Xilinx_Vivado_SDK_2013.4_1210_1
sudo ./xsetup






Click Next and accept the license agreements.
 



We will install Vivado WebPACK + SDK.



We will not install any cable drivers and we will fix the license file later on.



Select destination directory. The installation will take up almost 15GB.



The installation will complete within 30 minutes.



Here is the result.



When finished, we have Vivado installed and we are ready to run but first we must install a license file.

Installing a license file

Even though Vivado WebPACK is free software at no cost, we have to install a license file to be able to run the synthesis and implemenation software. Let's go to the Xilinx licensing site. After signing in we end up on this page.



Here are the different licenses we can generate.


We mark the Vivado Design Suite WebPACK tick box and click Generate Node-Locked License.


 

We don't have to provide any hostid our hostname. Just click Next.



The license was generated successfully.



To download the license file click the download symbol (arrow down).



Copy the downloaded file (Xilinx.lic) to the directory $HOME/.Xilinx

Great news, this is the first time we have access to the complete Xilinx design flow for unlimited time at no cost.


Top   Previous   Next


Posted at 10:44 by svenand

Henry Choi
September 6, 2014   10:54 PM PDT
 
Hi Sven, I just installed and ran Vivado and SDK on Ubuntu 64 bit for the first time (have been running on Windows 7 till now; but now going through the Ubuntu on Zynq tutorial). When I fired up SDK (xsdk, after changing .bashrc to source the SDK's settings64.sh), SDK did NOT like the Vivado webpack license I loaded in the license manager. I had load the Zedboard ISE license (which works for ISE on Windows too--I dual boot) to appease xsdk. I don't see where I went off your recommendations, but if I didn't make a mistake, your claim "this is the first time we have access to the complete Xilinx design flow for unlimited time at no cost" would not be entirely true...
Pan
August 26, 2014   09:28 AM PDT
 
changes made by Pedro is important to install Vivado on ubuntu
anjosi
August 22, 2014   12:39 PM PDT
 
Hi,

Thank again for the great tutorial!

I switched my laptop to a new lenovo y50-70 with UHD screen. Now the Vivado UI has extremely small text and icons. It is basically so small that I cannot read it. I installed the kubuntu-desktop on ubuntu and got everything else looking good except the vivado UI.

Do you know any way to scale up the menu text and icons in vivado?

A
svenand
August 21, 2014   08:41 AM PDT
 
Part 45 shows how to setup the licensing in Vivado 2014.1
http://svenand.blogdrive.com/archive/206.html
Dave W
August 20, 2014   10:55 PM PDT
 
Xilinx no longer provides the Certificate based license for the Vivado WebPack. They only provide an Activation license which is not supported for Virtual Machines.

http://forums.xilinx.com/t5/Installation-and-Licensing/Unable-to-load-license-rights-into-trusted-storage/td-p/450834

If anyone has a workaround for this, please let me know...
Raul
August 9, 2014   09:28 PM PDT
 
For CentOS 7 you need to revert the biosnames naming convention for the ethernet adaptors. You need to do this so the licensing manager can find your ethernet adaptor. It only knows how to find eth* adaptors. Add the following to your kernel boot args in grub `biosdevname=0 net.ifnames=0`.
Pedro
July 11, 2014   05:19 PM PDT
 
To install Vivado on Ubuntu or Debian derivatives I find that it is necessary to edit the xsetup script.

I change the first line from
#!/bin/sh
to
#!/bin/bash

For convenience I create a couple of scripts in my home directory.

~/vivado_setup contains this

source /opt/Xilinx/Vivado/2014.2/settings64.sh

then sdk_setup contains

source /opt/Xilinx/SDK/2014.2/settings64.sh
CROSS_COMPILE=arm-xilinx-linux-gnueabi-
export CROSS_COMPILE
ARCH=arm
export ARCH

I find it easier to control compilation using vivado in tcl mode.

vivado -mode tcl

or you can run the Vivado IDE

vivado



svenand
June 20, 2014   07:44 PM PDT
 
Hi Daniel,
I will install Vivado 2014.2 and Petalinux 2014.2 and write about my findings.
Daniel Wisehart
June 20, 2014   07:04 PM PDT
 
I send a lot of people your way, Andersson, for questions about Xilinx tools and Ubuntu. Many thanks for what you have done.

Would you consider updating this page to show 2014.2 Vivado? The install process has changed (again), and is probably easier, but it has some twists that will interest people.

Regards,
Daniel
 

Leave a Comment:

Name


Homepage (optional)


Comments




Previous Entry Home Next Entry