dramsim2地址映射

dramsim2的地址映射在AddressMapping.cpp文件中实现,反映了CPU发出的physical address如何被memory controller转换成DRAM行列地址

scheme1: chan:rank:row:col:bank

scheme2: chan:row:col:bank:rank

scheme3: chan:rank:bank:col:row

scheme4: chan:rank:bank:row:col

scheme5: chan:row:col:rank:bank

scheme6: chan:row:bank:rank:col

scheme7: row:col:rank:bank:chan

地址映射的配置在system.ini.example中:

ADDRESS_MAPPING_SCHEME=scheme2 ;valid schemes 1-7; For multiple independent channels, use scheme7 since it has the most parallelism

单独运行dramsim2时,需要添加system.ini(通常把system.ini.example改名);用gem5调用dramsim2时,在DRAMSIM2.py中调用system.ini.example文件,因此如果需要改地址映射关系,直接改这个文件即可

你可能感兴趣的:(dramsim2地址映射)