FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5156 Discussions

DE0 SDRAM Control Panel Addressing

Altera_Forum
Honored Contributor II
785 Views

Hi, 

 

On DE0 board there is a 8 Mbyte sdram with 4 banks. Each bank consists of 4096 rows and 256 columns of 16 bit data. I want to write data to sdram with de0 control panel software. But its addressing style is like 0x000000 (24 bits). But actually rows are 12bits, columns are 8 bits and banks are 2 bits with a total 22 bits. Which bits correspond to software's addressing style? Which ones represent banks which ones represent rows. 

 

Thanks and Regards.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
108 Views

I figured it out. For people who want to know what they are really dealing with, addressing is like that: 

 

As you increase address from 0x000000 one by one SDRAM's Bank0's columns increase upto Bank1's last column then it returns to Bank0 this time row number increased by 1. This process goes to the last row and column of Bank1 then it switches to Bank2 and Bank3 with same process until the last row and column of Bank3 which is addressed by Control Panel as 0x3FFFFF. 

 

You can use control panel to write SDRAM and then you can read the data with a simple SDRAM reader.
Reply