Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIORD IOWR macros vs. memory access to peripherals
What is the point of the IORD and IOWR macros? I can access my custom Avalon peripherals using them, but it seems like I can't access them like the following: volatile alt_u32 *DEV_PTR = DEV_...
Altera_Forum
Honored Contributor
15 years agoOk, I'm trying to write a simple code in order to write e read a register. I think about the interface of the register it is good. So when I write value it is perfect ( I test the writed data with signal tap) but, when try to read the data, the NIOS debug block: it isn't possible go on. If I put a break point on the line function IORD(...), and after press F6, the system stop.
Why? There is a problem? Where is? Thanks Luca