Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21069 Discussions

64-bit data width DDR2 SDRAM usage (problem with SOPC builder)

Altera_Forum
Honored Contributor II
1,131 Views

I am using the DDR2 SDRAM controller Megacore function in SOPC builder, and I cannot configure it with 64-bit data bus width (128 local width). The SOPC builder generates errors regarding address span overlap when generating the system, so I moved the native addressing components farther apart so that base addresses won't overlap. But the memory map cannot fit within addressable memory space of the Nios II Data Master which is restricted to 31 address bits. 

I am still stuck in here and cannot figure out what to do :confused:, so if anyone has an idea to solve this, i will be grateful.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
472 Views

Two things to remember: 

1 - Use "System->Auto Assign Base Addresses" to allow SoPC builder to automatically figure out address ranges for your components. 

2 - You can't have more than 2GB of address space. So if your DDR2 component is bigger than 1GB, you're probably going to run out of address space. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
472 Views

The SOPC builder regards address spans for some components while generating the system, and some of these addresses cannot be archived since the memory map cannot fit within addressable memory space of the Nios II Data Master which is restricted to 31 address bits. 

So I am afraid that won't work out!
0 Kudos
Altera_Forum
Honored Contributor II
472 Views

Pick a smaller DDR device?

0 Kudos
Altera_Forum
Honored Contributor II
472 Views

I think I need the entire bus to increase the performance

0 Kudos
Reply