notes:fpga:altera
Differences
This shows you the differences between two versions of the page.
| notes:fpga:altera [2025/02/14 11:28] – ↷ Page moved from notes:altera to notes:fpga:altera azman | notes:fpga:altera [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Altera Tools on Linux ====== | ||
| - | |||
| - | //**Note**: Of course, when I say Linux, I mean Slackware :p// | ||
| - | |||
| - | I have started using Altera (an alternative to Xilinx) because that is what I have to use in the course I will be handling next semester. And when I say on Linux, it is more like on Slackware. I run the software on my pure 64-bit Slackware, but in a 32-bit chroot environment. | ||
| - | |||
| - | I will be using Quartus Web Edition 13.0sp1, which is the last version that supports all Cylone FPGAs (low cost ones). Current version is now known as Quartus Prime Lite Edition 15.1. | ||
| - | |||
| - | ====== Command Line Stuff ====== | ||
| - | |||
| - | I use command-line most of the time - this is because I can then use shell scripts to automate my work flow. | ||
| - | |||
| - | ===== Device Programmer ===== | ||
| - | |||
| - | < | ||
| - | quartus_pgm -c usb-blaster -m JTAG --device=1 -o " | ||
| - | |||
| - | ====== Installation Notes ====== | ||
| - | |||
| - | Additional installation info... | ||
| - | |||
| - | ===== Using USB Byte Blaster ===== | ||
| - | |||
| - | To use the USB blaster (byte-blaster? | ||
| - | <file udev 99-altera-usb.rules> | ||
| - | SUBSYSTEM==" | ||
| - | </ | ||
| - | If not rebooting, do not forget to restart udev service. (e.g. '' | ||
| - | |||
| - | //**Note**: idProduct may vary (on Linux, check kernel message i.e. '' | ||
| - | |||
| - | ====== Run Time Issues ====== | ||
| - | |||
| - | Run-time issues... | ||
| - | |||
| - | ===== (Unsolved) ModelSim Run-Time Error ===== | ||
| - | |||
| - | This is exactly like I had previously (I guess I was on 14.1 that time), but the fix is no longer working on 14.2. Just a recap, when trying to run vsim, this error message appears < | ||
| - | Initialization problem, exiting. | ||
| - | |||
| - | Initialization problem, exiting. | ||
| - | |||
| - | Initialization problem, exiting. | ||
| - | |||
| - | while executing | ||
| - | " | ||
| - | (procedure " | ||
| - | invoked from within | ||
| - | " | ||
| - | invoked from within | ||
| - | " | ||
| - | (file "/ | ||
| - | ** Fatal: Read failure in vlm process (0,0) | ||
| - | </ | ||
| - | |||
| - | Recompiling freetype-2.4.7 does not fix this. Still looking for a fix... | ||
| - | |||
| - | Another bug has also been found - due to the fact that Slackware 14.2 is on 4.0 kernel version. The '' | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | ===== 20160727 Quartus II 13.0sp1 cannot run on Slackware 14.2 ===== | ||
| - | |||
| - | Slackware 14.2 has a newer libpng (1.14 and 1.16). So I copied the older version from 14.1 packages (aaa_elflibs) and copied it into ''/ | ||
| - | |||
| - | **Note:** To get that package on my slackware machine, I use my '' | ||
| - | |||
| - | ===== 20160201 ModelSim Run-time Error ===== | ||
| - | |||
| - | I had a problem running ModelSim (Altera Edition) and later found that a similar issue has been reported [[https:// | ||
| - | |||
| - | ====== Quartus 13.0sp1 on Devuan ====== | ||
| - | |||
| - | I have a machine running Devuan that I currently use to do some FPGA-related work. | ||
| - | |||
| - | ===== Prepare 32-bit Environment ===== | ||
| - | |||
| - | Most tools are still 32-bit. So, as root, setup multi-arch environment on Devuan and install required libraries. | ||
| - | < | ||
| - | # dpkg --add-architecture i386 | ||
| - | # apt update | ||
| - | # apt install libc6:i386 libncurses5: | ||
| - | # apt install libxft2: | ||
| - | # apt install zlib1g-dev: | ||
| - | </ | ||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | I usually install as normal user to a ' | ||
| - | |||
| - | ===== Issues ===== | ||
| - | |||
| - | Quartus needs libpng12 | ||
| - | * download< | ||
| - | PNG_BASE=" | ||
| - | PNG_VERS=1.2.59 | ||
| - | PNG_PACK=" | ||
| - | wget ${PNG_BASE}/ | ||
| - | * extract and compile < | ||
| - | $ ./configure | ||
| - | $ make CFLAGS+=-m32</ | ||
| - | * copy '' | ||
| - | |||
| - | ModelSim needs older freetype (2.4.7 should be fine) | ||
| - | * download | ||
| - | * extract and compile< | ||
| - | $ ./configure CFLAGS=-m32 | ||
| - | $ make</ | ||
| - | * copy '' | ||
| - | * do an export '' | ||
| - | * **note** this may be the solution to my previous issue on Slackware14.2 (will test this later) | ||
notes/fpga/altera.1739503690.txt.gz · Last modified: by azman
