Forum Discussion
Altera_Forum
Honored Contributor
14 years agohow to use single byte offset in function IORW?
I found the offset is 4 bytes in IOWR, I want to know how to set the offset single byte? thanks.
Altera_Forum
Honored Contributor
14 years agoyou can use the IOWR_xxDIRECT() macros instead of IOWR for byte addressing (xx being 8,16 or 32 depending on the access size).
Using an odd address will only work with IOWR_8DIRECT() though, if I remember correctly.