DDR SDRAM Memory Bank

posted in IfThen Software
Published September 29, 2011
Advertisement
Because I'm getting into the section on memory (and some parts of yesterday's example made me curious, particularly the RAS-to-CAS delay) I have decided to research RAM again. I did quite a bit of research in this area about a month ago, so a lot of this is review and should go by relatively quickly.

Data is stored in RAM in an array of bits called a "bank".
bank.png

A horizontal line of bits make up a "word line" and a vertical line of bits make up a "bit line".
word_lines_bit_lines-1.png

The array is split up into rows and columns. A row is equivalent to a word line, so that's easy enough. A column is made up of multiple contiguous bit lines, either 4, 8, or 16 depending on the architecture of the chip. The number of bit lines which make up a column is the word width of the chip, or just simply the "width". This is usually written with an "x" followed by the width: x4, x8, and x16.
row_column.png

The number of rows depends on the generation of DDR and the "density" of the chip. The density is the number of bits the chip has total across all banks. The number of columns depends on the density and width of the chip. The exact row and column counts for the possible densities and widths are specified by the DDR standard for the generation in question, although my experience is that you have to perform some calculations to find them. Here is a table I put together of the row and column counts for the first generation of DDR:
DDR1_row_and_column_counts.png

Reposted from http://invisiblegdev.blogspot.com/
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement