Forum Discussion
Altera_Forum
Honored Contributor
13 years agoI got it working by moving my DDR3 controller to base address 0x00000000 in the system. The avalon writedata port on the DDR3 controller is 128bits wide so when I increment my address on the custom master, I increment by 0x10 (16 bytes or 128bits) at a time and everything is working nicely. This gets translated by the fabric and I can see the lower 4 bits of my master write address port are removed and the DDR3 controller is writing in 128bit chunks.
The question is how to get a non zero base address to work? If my DDR3 controller is at base address 0x10000000 and spans 0x1FFFFFFF; What address should I put out on my custom masters' write address port? I was trying to use 0x1XXXXXXX without luck. What am I doing wrong? I assumed everything that you did over the avalon interface was byte addressable, is this not the case?