Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI've never used that core before but here are some things to check:
1) Make sure 'reg' is a 32-bit word offset. So if the registers are spaced at bytes 0x0, 0x4, 0x8, 0xC, 0x10, etc.... then you use 'reg' offsets of 0, 1, 2, 3, 4, etc... to access them (IORD and IOWR are 32-bit word access macros) 2) Make sure that the register you are accessing is readable, sometimes hardware folks don't bother making their registers read/write capable.