Altera_Forum
Honored Contributor
14 years agoDynamic addressing and 32 bit i/f
Ok, this has probably been posted a million times before, but I can't find it, and I can't remember how it's done. I have an SOPC Builder component with a 32-bit slave interface. It has 8-bits of address. I've tried multiple ways of connecting it, including Native and Dynamic interface and remapping the address bits, but I can never get 32-bit access to it.
If I try within the Nios Debugger to access the memory, and try and write a word using the "Memory Viewer", it seems to write 4 bytes, rather than 1 word, but this corrupts 4 whole words within my component. ie if I write 12345678 to address 0, then I get 12121212 12121212 12121212 12121212 at the first 16 (byte) addresses or sometimes 78787878 78787878 78787878 78787878 depending on exactly what mode I used. But I can't get it to write 12345678. What am I doing wrong? Cheers, Simon