Forum Discussion
Altera_Forum
Honored Contributor
12 years agoWell, to make it a Qsys component what you would normally do would be to implement an Avalon-MM Slave interface with some control registers, and then create a _sw.tcl and associated .c/.h with a HAL driver to manipulate those control registers.
But since you a pressed for time, maybe you might prefer to just instantiate PIO in/out modules and connect your new hardware together in the top level. Then the software is simply a few library routines that manipulate the PIO hardware as your component expects. The examples are here: http://www.altera.com/support/examples/exm-list.jsp?cat=embedded The checksum accelerator is probably as good a starting point as any.