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 …
Tag Archives: NIOS
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 …