Forum Discussion
Altera_Forum
Honored Contributor
16 years agoApp only works under debug
I've come across an interesting problem - I've generated a NIOS II/f core with some basic peripherals such as three PIOs for the toggle switches, red LEDs and 7-segment displays on the DE2-70 board. ...
Altera_Forum
Honored Contributor
16 years agoIn your case it may be easiest to arrange that the PIO addresses have the MSB set. ie are between 0x80000000 and 0x8fffffff.
That will let you use normal C accesses instead if obfustacting the code with macros.