Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
855 Views

Quartus II with ubuntu 11.04

Hi , 

 

I just installed Quartus II on ubuntu 11.04 operating system. It successfully got installed and i can see a directory named altera in my home directory which has further subdirectories. Now how can i run the software from terminal. How can i source quartus and run it ? Please help me.
0 Kudos
12 Replies
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

Hi , 

 

I just installed Quartus II on ubuntu 11.04 operating system. It successfully got installed and i can see a directory named altera in my home directory which has further subdirectories. Now how can i run the software from terminal. How can i source quartus and run it ? Please help me. 

--- Quote End ---  

 

 

You first add the bin/ directory of quartus to your path via something like: 

 

export PATH=$PATH:$HOME/altera/11.0/quartus/bin 

 

Then check that things are setup 

 

which quartus 

 

And then run the program 

 

quartus 

 

Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
10 Views

Thank you very much dave , 

Please help me to configure USB blaster driver as well . I am currently running USB blaster 11.04  

 

Please help me in that aswell . 

Thanks
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

Please help me to configure USB blaster driver as well. 

 

--- Quote End ---  

 

 

The USB-Blaster udev rule is in this thread 

 

http://www.alteraforum.com/forum/showthread.php?t=31426 

 

Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
10 Views

thanks for the reply dave, 

i tried to set udev rules like this 

first i opened  

sudo gedit /etc/udev/rules.d/51-usbblaster.rules 

 

then i simply pasted these rules explained 

# 51-usbblaster.rules# # * Use lsusb to see the 'Altera' bus and device number. # The device node is then /dev/bus/usb/<bus>/<device># # * use jtagconfig to detect devices on the usbblaster# BUS=="usb", SYSFS{idVendor}=="09fb", SYSFS{idProduct}=="6001", MODE="0666" 

 

in the text file and next  

 

sudo udevadm control --reload-rules 

 

Now, i opened Quartus again and reconnected the USB but still i am unable to see  

the USB blaster in hardware setup. Please reply =)
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

Now, i opened Quartus again and reconnected the USB but still i am unable to see the USB blaster in hardware setup. 

--- Quote End ---  

 

 

Do you have a USB-Blaster plugged into this machine? Is it a real machine or a virtual machine? Virtual machines do not work (at least the latest versions of VMWare and VirtualBox do not). 

 

Did you try any of the tests mentioned in the udev rules comments? 

 

* lsusb should show you the Altera device 

* jtagconfig can be used to scan a JTAG chain 

 

Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

Do you have a USB-Blaster plugged into this machine? Is it a real machine or a virtual machine? Virtual machines do not work (at least the latest versions of VMWare and VirtualBox do not). 

 

--- Quote End ---  

 

 

yes i have the USB cable plugged in to the system and i am not using any virtual machine. 

 

 

--- Quote Start ---  

 

Did you try any of the tests mentioned in the udev rules comments? 

 

--- Quote End ---  

 

 

I tried lsusb but it shows this 

---------------------------------------------- 

zohaib@ubuntu:~$ lsusb 

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

Bus 005 Device 003: ID 046d:c52f Logitech, Inc. Wireless Mouse M305 

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module] 

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub 

Bus 002 Device 003: ID 174f:1107 Syntek  

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

---------------------------------------------------------------------------------------------------- 

 

 

 

--- Quote Start ---  

 

* lsusb should show you the Altera device 

* jtagconfig can be used to scan a JTAG chain 

 

--- Quote End ---  

 

it does not show any ALTERA device.  

 

Please guide me.
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

it does not show any ALTERA device.  

 

Please guide me. 

--- Quote End ---  

 

 

First remove the USB-Blaster and clear the kernel message log via; 

 

sudo dmesg -c 

 

Then plug in the USB-Blaster and type 

 

dmesg 

 

Does it indicate the USB-Blaster was detected? 

 

Do you know that your USB-Blaster works? Do you know that the USB port works? 

 

Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

I got a similar problem. :confused: 

 

--- Quote End ---  

 

 

No, you have a different problem. 

 

 

--- Quote Start ---  

 

I installed Web Version of Quartus 11.1 (no Service Packs) from iso file (11.1_173_acds_linux.iso) on Ubuntu 11.04 

 

--- Quote End ---  

 

 

You haven't installed Web Edition, you must have installed the subscription edition. 

 

Your USB-Blaster setup looks fine. 

 

Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

You haven't installed Web Edition, you must have installed the subscription edition. 

Your USB-Blaster setup looks fine. 

 

--- Quote End ---  

 

 

Okay, any ideas? I downloaded a 3.7G file ACDS v11.1 Linux DVD (ISO) from this page:  

https :// www . altera.com/download/software/quartus-ii-se 

 

I see another 5.2G iso - 11.1_acds_devices.iso, which I did not download... Should I install that package too? Do you recommend to install SP2 immediately (another 3G file) ?
0 Kudos
Highlighted
Valued Contributor III
10 Views

Here's the Web Edition link I recently used: 

 

https://www.altera.com/download/software/quartus-ii-we 

 

Here's my notes from 11.10 install. I think it just 'worked' under 11.04, so you might not see the error message: 

 

# Uncompress the Quartus Web Edition archive mkdir temp cd temp sudo /bin/bash /mnt/quartus/11.1sp1_216_quartus_free_linux.sh # and you will see the following messages Creating directory 11.1sp1_216_quartus_free_linux Verifying archive integrity... All good. Uncompressing Quartus II Web Edition (Free)........... ...................................................... ...................................................... ................................................... ./setup: 1: Syntax error: "&" unexpected # Change into the uncompressed archive folder and run the setup utility cd 11.1sp1_216_quartus_free_linux sudo /bin/bash ./setup # This starts the installation GUI.# Install Quartus# eg. install into /opt/altera/11.1sp1_free Cheers, 

Dave
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

 

Here's my notes from 11.10 install. I think it just 'worked' under 11.04, so you might not see the error message: 

 

 

--- Quote End ---  

 

 

Not a problem at all :) 

 

1. I mounted the iso file and made a copy with read/write permissions 

2. Just changed Altera's Default  

 

# !/bin/sh to# !/bin/bash  

 

in setup files and installation of both files worked like a charm 

 

My problem is now RESOLVED, I just missed to install Altera's Device Drivers which is a separate archive (11.1_173_acds_devices.iso - 5.2 G file) :blink: 

 

Thank you Dave for your comments, wish everybody to enjoy Linux Versions as they perform Synthesis and Place&Route definitely FASTER, than Windows versions :-P 

 

Regards, 

Boris
0 Kudos
Highlighted
Valued Contributor III
10 Views

 

--- Quote Start ---  

 

My problem is now RESOLVED 

 

--- Quote End ---  

 

 

Excellent! 

 

 

--- Quote Start ---  

 

I just missed to install Altera's Device Drivers which is a separate archive (11.1_173_acds_devices.iso - 5.2 G file) :blink: 

 

--- Quote End ---  

 

I think the devices files are only for the subscription edition. I don't think the web edition needs them. But then again, the script I referred to above may unpack and install them. Either way, glad to hear you are up and running! 

 

Cheers, 

Dave
0 Kudos