//calculate the total storage based on the devices the user selected and the number of
//calculate number of devices
/************************
This code has always been problematic even though it's pretty simple. I'll try to explain it
for my own sanity.
There are two main variables here that we could let the user choose:
NUM_RANKS or TOTAL_STORAGE. Since the density and width of the part is
fixed by the device ini file, the only variable that is really
controllable is the number of ranks. Users care more about choosing the
total amount of storage, but with
关于动态存储器dram中rank,bank,device之间的关系
最新推荐文章于 2024-07-22 13:25:06 发布
本文探讨了DRAM中rank、bank和device之间的关系。根据JEDEC标准,每个rank的输出宽度为64位,设备宽度为DEVICE_WIDTH。通过计算NUM_DEVICES_PER_RANK和PER_RANK_STORAGE,可以确定总存储容量TOTAL_STORAGE,该计算涉及到NUM_RANKS、NUM_ROWS、NUM_COLS和NUM_BANKS等参数。当TOTAL_STORAGE小于PER_RANK_STORAGE时,可能会出现问题。
摘要由CSDN通过智能技术生成