hmctest.py (11552:354e5631a6c1) hmctest.py (11682:612f75cf36a0)
1import optparse
2import sys
3import subprocess
4
5import m5
6from m5.objects import *
7from m5.util import addToPath
8
1import optparse
2import sys
3import subprocess
4
5import m5
6from m5.objects import *
7from m5.util import addToPath
8
9addToPath('../common')
10import MemConfig
11import HMC
9addToPath('../')
12
10
11from common import MemConfig
12from common import HMC
13
13parser = optparse.OptionParser()
14
15# Use a HMC_2500_x32 by default
16parser.add_option("--mem-type", type = "choice", default = "HMC_2500_x32",
17 choices = MemConfig.mem_names(),
18 help = "type of memory to use")
19
20parser.add_option("--ranks", "-r", type = "int", default = 1,

--- 150 unchanged lines hidden ---
14parser = optparse.OptionParser()
15
16# Use a HMC_2500_x32 by default
17parser.add_option("--mem-type", type = "choice", default = "HMC_2500_x32",
18 choices = MemConfig.mem_names(),
19 help = "type of memory to use")
20
21parser.add_option("--ranks", "-r", type = "int", default = 1,

--- 150 unchanged lines hidden ---