1import optparse 2import sys 3import subprocess 4 5import m5 6from m5.objects import * 7from m5.util import addToPath 8 9addToPath('../') 10 11from common import MemConfig 12from common import HMC 13 14parser = optparse.OptionParser() 15 |
16# Use a HMC_2500_1x32 (1 channel, 32-bits wide) by default 17parser.add_option("--mem-type", type = "choice", default = "HMC_2500_1x32", |
18 choices = MemConfig.mem_names(), 19 help = "type of memory to use") 20 21parser.add_option("--ranks", "-r", type = "int", default = 1, 22 help = "Number of ranks to iterate across") 23 24parser.add_option("--rd_perc", type ="int", default=100, 25 help = "Percentage of read commands") --- 146 unchanged lines hidden --- |