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 …
Category Archives: altera
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 …
qsys: signals in interface definition
QSYS does not load signals if the top-level module’s signals are of type std_ulogic.
signaltap – signals in red
With signaltap, when the signal is highlighted in red, it is because the signal is invalid after analysis and elaboration. It could be that the signal is not driving anything and got scrapped off. Alternatively, the technology viewer might help to debug.
Quartus 13.1 on Fedora 20
Installing Altera Quartus on Fedora 20 64-bit: $ ./setup.sh You must have the 32-bit compatibility libraries installed for the Quartus II installer and software to operate properly. Solution: # yum install glibc.i686 libXext.i386 libX11.i386 libXau.i386 libXdmcp.i386 freetype.i386 fontconfig.i386 expat.i386
opencores I2C’s size on FPGA
For one of my home based projects, I was tight on my Altera Cyclone IV 22K FPGA and had only 90 LEs left. I needed an I2C controller and opted for the opencores’ I2C controller. A quick trial on Quartus Altera 13.1 without constraints after fitter stage gave a total of 283 logic elements and …
Clock Gating on FPGA
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