Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- how do i access these avalon signals within nios c code? --- Quote End --- You don't access the signals. You access the address at which the device will respond to read/write accesses. A FIFO will map to a single address. What you really need to do when developing a custom component is to create an SOPC system with an Avalon-MM BFM master and use that to generate read/write transactions to your device-under-test. To integrate a FIFO into an SOPC System, to start with you should create a Avalon-MM write-only slave (for writing to the FIFO), and an Avalon-MM read-only slave (for reading from the FIFO). It does not matter if this is what your design requires, as at some point, you may need either component. If you have never used the Verification-IP suite, there are online webinars that explain it quite well. Cheers, Dave