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

sdram bank interleave storage

Altera_Forum
Honored Contributor II
1,377 Views

hi! 

Recently I want to use Altera FPGA EP2C35F484C8,and Hynix HY57V641620 to storage lots of video data ,so first I validate sdram in Modelsim ,I want to sdram bank interleave storage data to improve the efficiency of bandwidth, but I don't know how to operate,Can someone please help me and provide some suggestion ? Thanks first!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
609 Views

Hi , 

 

SDRAM usually split to 4 banks, in each bank mem also split to several kilo rows(or pages), you can read details of address bus from datasheet.  

 

When visit different pages in the same bank, controller will de-active current page and then active the next page for visit. This operation need 10~20 cycles to complete. 

 

If data stored in different bank, we can keep 4 pages active in 4 banks. Swtich form one bank to another bank seems faster than switch between pages in the same bank.  

 

So the key is how you allocate data to the SDRAM. 

 

By the way, use large "burst length" value will greatly increase the efficieny you expected.
0 Kudos
Reply