You are on page 1of 4

Installation of tools and softwares

Quartus-lite-18.1
Software for Intel FPGAs (We will simulate and synthesize designs in VHDL/Verilog on DE0-Nano
board using this software.)
Create account / and login at https://www.intel.com/content/www/us/en/my-intel/fpga-sign-in.html

Quartus-lite-18.1 on Linux

1. For linux : Download Quartus-lite-18.1.0.625-linux.tar


2. Extract files from tar, and run setup.sh (See commands and selections in screenshots below.)
3. Install required 32bit libraries (required for Modelsim-Altera simulator)
for Ubuntu 16.04 run following three commands :
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libxft2 libxft2:i386 libxtst6 libsm6:i386 libxtst6:i386 g++-
multilib lib32z1 lib32stdc++6 lib32gcc1 expat:i386 fontconfig:i386 libfreetype6:i386
libexpat1:i386 libc6:i386 libgtk-3-0:i386 libcanberra0:i386 libpng12-0:i386
libice6:i386 libsm6:i386 libncurses5:i386 zlib1g:i386 libx11-6:i386 libxau6:i386
libxdmcp6:i386 libxext6:i386 libxft2:i386 libxrender1:i386 libxt6:i386 libxtst6:i386
for Ubuntu 18.04 run following three commands :
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libxft2 libxft2:i386 libxtst6 libsm6:i386 libxtst6:i386 g++-
multilib lib32z1 lib32stdc++6 lib32gcc1 expat:i386 fontconfig:i386 libfreetype6:i386
libexpat1:i386 libc6:i386 libgtk-3-0:i386 libcanberra0:i386 libice6:i386 libsm6:i386
libncurses5:i386 zlib1g:i386 libx11-6:i386 libxau6:i386 libxdmcp6:i386 libxext6:i386
libxft2:i386 libxrender1:i386 libxt6:i386 libxtst6:i386
for Ubuntu 18.04 copy following libraries to folders shown below: (These libraries are copied
from ubunto 16.04)
libpng12-0 for quartus
copy the file :
1. http://10.107.88.22/EE705/software_installation/ubuntu-
18.04_quartus_modelsim_reqd_libs_from_ubuntu_16.04/libs/64/libpng12.so.0
to your quartus installtion directory at : intelFPGA_lite/18.1/quartus/linux64/
32bit libpng12-0 and libfreetype6 for ModelSim
copy the files :
1. http://10.107.88.22/EE705/software_installation/ubuntu-
18.04_quartus_modelsim_reqd_libs_from_ubuntu_16.04/libs/32/libfreetype.so.6
2. http://10.107.88.22/EE705/software_installation/ubuntu-
18.04_quartus_modelsim_reqd_libs_from_ubuntu_16.04/libs/32/libpng12.so.0
to your quartus installtion directory at : intelFPGA_lite/18.1/modelsim_ase/linuxaloem/
4. TO start quartus, run following command in a terminal
~/intelFPGA_lite/18.1/quartus/bin/quartus &
(Note : for Ubuntu 18.04, for modelsim to work, type following command before launching
quartus.
export
LD_LIBRARY_PATH=$HOME/intelFPGA_lite/18.1/modelsim_ase/linuxaloem:$LD_LIBRARY_PATH
5. Installation of cable drivers to program DE0-Nano board:
Download following file : 51-usbblaster.rules
Open a terminal, cd to the directory where file was downloaded, and run following command:
sudo cp 51-usbblaster.rules /etc/udev/rules.d/
sudo udevadm control --reload

Quartus-lite-18.1 on Windows
1. Download Quartus-lite-18.1.0.625-windows.tar
2. Extract the tar, run setup, make selections as shown in screenshots above.
3. Installation of cable drivers to program DE0-Nano board:
(These steps need DE0-Nano board; so, following steps can be done once you have DE0-Nano
board, i.e. during lab session)
1. Plug the USB-Blaster II cable into your PC.
2. Open the Device Manager, and right-click on the Unknown device under the Other
devices branch.
3. Select Update Driver Software.
4. Select Browse my computer for driver software.
5. Enter the location of the Quartus Prime software USB-Blaster driver files directory ( <
Path to Quartus Prime installation>\drivers\usb-blaster) in the Search for driver
software in this location field.
6. Click Next.
7. Click Install in the Would you like to install this device software? Windows security
dialog box.
8. Close the Update Driver Software - Altera USB-Blaster (Unconfigured) successful
installation notification. The Device Manager now shows a new branch called JTAG
cables with an Altera USB-Blaster (Unconfigured) node.
9. Open the Quartus Prime Programmer. Within a few seconds, the JTAG cables branch
displays two nodes: Altera USB-Blaster (JTAG interface) and Altera-USB Blaster II
(System Console interface)

ghdl, iverilog, gtkwave


(open-source simulators for vhdl and verilog, and waveform viewer)

ghdl (vhdl simulator)


1. Windows
1. Download - https://sourceforge.net/projects/ghdl-updates/
2. Copy it to c: drive and extract it there
3. Add c:/ghdl-0.31-mcode-win32 and c:/ghdl-0.31-mcode-win32/bin to path**
4. Double click the two .bat files in c:/ghdl-0.31-mcode-win32/ folder
5. Go to command prompt and type - ghdl --help to test
2. Ubuntu 14.04
1. sudo add-apt-repository ppa:pgavin/ghdl
2. sudo apt-get update
3. sudo apt-get install ghdl
4. Go to terminal and type - ghdl --help to test
3. Ubuntu 16.04, Ubuntu 18.04
1. Download following three .deb files from links given below :
1. gnat-4.8-base_4.8.2-8ubuntu3_amd64.deb
2. libgnat-4.8_4.8.2-8ubuntu3_amd64.deb
3. ghdl_0.33-1ubuntu1_amd64.deb
https://packages.ubuntu.com/trusty/amd64/gnat-4.8-base/download
https://packages.ubuntu.com/trusty/amd64/libgnat-4.8/download
https://sourceforge.net/projects/ghdl-updates/files/Builds/ghdl-0.33/debian/ghdl_0.33-
1ubuntu1_amd64.deb/download
2. In a terminal, cd to the directory where these three .deb files are downloaded.
Type :
sudo apt install ./gnat-4.8-base_4.8.2-8ubuntu3_amd64.deb
sudo apt install ./libgnat-4.8_4.8.2-8ubuntu3_amd64.deb
sudo apt install ./ghdl_0.33-1ubuntu1_amd64.deb
3. Can try cached files at http://10.107.88.22/EE705/software_installation/ghdl_cache_16.04/

iverilog (verilog simulator, verilog to vhdl converter)


1. Windows
1. Download iverilog-10.1.1-x64_setup.exe from - http://bleyer.org/icarus/
2. Add C:\iverilog\bin to path
2. Ubuntu
1. sudo apt-get install iverilog

gtkwave (Waveform viewer)

1. Windows
1. Download gtkwave-3.3.78-bin-win32 from -https://sourceforge.net/projects/gtkwave/
2. copy it to c: drive and extract it there
3. Add c:\gtkwave;c:\gtkwave\bin;c:\gtkwave\lib to path in enviroment variables - system
variables
2. Ubuntu
1. sudo apt-get install iverilog

Note : To add path in windows : Right click My computer - properties - Advanced Settings -
Enviromental variables - system variables - path

You might also like