How physical addresses map to rows and banks in DRAM

reference:

https://stackoverflow.com/questions/23428690/physical-memory-address-to-dram-mapping-information-for-x86

 

如果你有内存测试和内存地址Decode这方面的需求,可以私信我,我们一起进步!

Here is an example of how 32-bit physical addresses might be mapped*:

Bits 12-0 identify the byte within the 8KB page.
Bits 16-13 identify which of the 16 memory channels the system should use for this address.
Bits 20-17 identify which of the 16 banks the address will be found in.
Bits 32-21 identify which row within the bank is accessed.

20191031173611294.png

 

So if you have two physical addresses, you should be able to compare bits 17-20 to determine whether or not they are in the same bank. 

 

你可能感兴趣的:(memTest,嵌入式存储,内存SDRAM,DRAM,TEST,DramAddrMapping,DramAddrDecode)