Forum Discussion
Altera_Forum
Honored Contributor
15 years agoProblem in creating a custom SOPC device driver
Hi. I created a SOPC custom component. It's a FIFO. I want to add it to a NIOS project. In doing so, I need to write a driver. I'm reading the paper "Developing Device Drivers for the Hardware ...
Altera_Forum
Honored Contributor
15 years agoThis will only work if you created a complete HAL driver.
The easiest way is to actually access the registers with the IORD and IOWR macros, and the DCFIFO_DE_TOP_0_BASE define in system.h to know what address to use.