Quartus 17.0 Prime install on Fedora 26

After installling Quartus on a x86_64 fedora 26, I fell upon the lib12.so.0 error. $ quartus quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory The simple solution is $ sudo dnf install libpng12-devel.i686 Unfortunately I was not unable to program the bitstream on the fpga, thus […]

uvm_dpi 32-bit requirements on Fedora 26

This morning I was trying to compile uvm’ s dpi plug on Fedora 26 and ended with the following error: Model Technology ModelSim – Intel FPGA Edition vlog 10.5c Compiler 2017.01 Jan 23 2017 vlog “+incdir+uvm-1.2/src” uvm-1.2/src/dpi/uvm_dpi.cc ** Warning: ** Warning: (vlog-7032) The 32-bit glibc RPM does not appear to be installed on this machine. […]

Modelsim Intel-Altera 10.5c on Fedora26

This blog post is about how to run Modelsim Intel-Altera 10.5c on Fedora 26 (4.12.13-300.fc26.x86_64) after its installation. Modelsim Intel-Altera 10.5c comes with intelFPGA_pro 17.0. First install the 32-bit libraries. $ sudo dnf install glibc.i686 zlib.i686 bzip2-libs.i686 libXft.i686 libXext.i686 ncurses-compat-libs.i686 Download the freetype of el7 from here and copy the so files to modelsim’s internal directory. […]

NIOS: alternative to IOWR

NIOS II programming is easy with the default include files and functions. An alternative to write to registers using simple C programming can be the following: IOWR(SENSOR_BASE,0,0xAA); IOWR() uses the ‘stio’ instruction in order to bypass the data cache. int *sensor_reg0 = (int)*SENSOR_BASE; *(sensor_reg0) =0xAA; SENSOR_BASE, which is an address in this example, should have […]

F-14 – libsys_cpt.so error with Quartus 11.0

While installing Quartus 11 on Fedora 14, I hit this small issue: quartus: error while loading shared libraries: libsys_cpt.so: cannot enable executable stack as shared object requires: Permission denied Solution (as root): $ cd /opt/altera/11.0/quartus/linux $ execstack -c libstdc++-libc6.2-2.so.3 libicudata.so.34 libsys_cpt.so