Forum Discussion
Altera_Forum
Honored Contributor
17 years agoWhat kind of trouble are you in, recording or playback?
One thing, if you are using NiosII/f with data cache, you can not get correct value of Switch because of data caching, I think. To bypass data cache, you have to define # define Switch ((volatile char *) (0x01001020 | 0x80000000)) or read through IORD macro IORD(Switch,0) instead of (*Switch)