Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFull On-Chip Memory
Hi, I'd like to know how to determine if the memory space of an on-chip memory is full. In my nios II system, I generated an on-chip M4K memory. It's size is 4096 bytes with a 32 bits data...
Altera_Forum
Honored Contributor
15 years agoYou need to do a byte read ...
The IOWR (etc) are designed for device register access - which are usually 32bit. You shouldn't do 32bit accesses from misaligned addresses, they are undefined on the niosII and could cause an interrupt.