Forum Discussion
Altera_Forum
Honored Contributor
13 years agocustom peripheral memory-mapping issue
Hello everyone. It's my first approach with addressing custom peripheral in a nios II based system, so I started developing a simple custom hardware that reads a 32 bit input and gives back "input...
Altera_Forum
Honored Contributor
13 years agoYes, I would always map a C struct onto the device, use an address that bypasses the cache and use normal C struct member operations.
the IORD() etc marcos are designed to cause grief.