DDR Address Decoding!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DDR Address Decoding!

Jump to solution
3,359 Views
qammarabbas
Contributor IV

Hi,

I am trying to figure out the address decoding of a 8Gbit micron DDR3 RAM(with 8 logical banks) device.The datasheet mentions that 16 bits are used for row address and 10 bits are used for column address. According to the given information, the size of a single bank  will be 2^16 (rows) * 2^7 (columns). Why is there another x128 mentioned in the block diagram? 
Please find the attached image for your information. Thank you!

Tags (1)
0 Kudos
1 Solution
2,609 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

I see form attached picture that datasheet should say that there are 16-bit row address, 10-bit column address, 3-bit bank address and dataword width is 16-bit. Hence single bank capacity is (rows*columns*width) = 2^16*2^10*16 bits = 1 Gb.

DDR3 SDRAM's prefetch buffer size is 8n (eight datawords per memory access), i.e. for 16-bit datword prefetch buffer size is 8*16=128 bits. From 10-bit column address of 16-bit dataword the 7 msb select 128-bit chunk for prefetch on memory access. The rest 3 lsb select dataword in the prefetched 128-bit.

So on the figure they prefer present 2^16*2^10*16 bits in a single bank as 2^16*(2^7*10^3)*(2^4) bits = 65536*128*128 bits

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
2,610 Views
r8070z
NXP Employee
NXP Employee


Have a great day,

I see form attached picture that datasheet should say that there are 16-bit row address, 10-bit column address, 3-bit bank address and dataword width is 16-bit. Hence single bank capacity is (rows*columns*width) = 2^16*2^10*16 bits = 1 Gb.

DDR3 SDRAM's prefetch buffer size is 8n (eight datawords per memory access), i.e. for 16-bit datword prefetch buffer size is 8*16=128 bits. From 10-bit column address of 16-bit dataword the 7 msb select 128-bit chunk for prefetch on memory access. The rest 3 lsb select dataword in the prefetched 128-bit.

So on the figure they prefer present 2^16*2^10*16 bits in a single bank as 2^16*(2^7*10^3)*(2^4) bits = 65536*128*128 bits

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
2,609 Views
qammarabbas
Contributor IV

Thanks a lot!

0 Kudos