diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-08-16 22:17:23 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-08-16 22:17:23 -0400 |
commit | 76ab1c466c0b51abb6c7508d4d6ceb16a75d3a60 (patch) | |
tree | f52ba99220a92655b2073e0fcffd252ddfa5cb7a /configs/common | |
parent | 402fbda3df18ff1e4581d441a7ddd59f006926c0 (diff) | |
download | gem5-76ab1c466c0b51abb6c7508d4d6ceb16a75d3a60.tar.xz |
add etherdump file option
--HG--
extra : convert_revision : 6b62398778208bc4e64582e06fb73b71a94f3014
Diffstat (limited to 'configs/common')
-rw-r--r-- | configs/common/FSConfig.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py index e86cc05f5..193d3a5e5 100644 --- a/configs/common/FSConfig.py +++ b/configs/common/FSConfig.py @@ -83,14 +83,15 @@ def makeLinuxAlphaSystem(mem_mode, mdesc = None): return self -def makeDualRoot(testSystem, driveSystem): +def makeDualRoot(testSystem, driveSystem, dumpfile): self = Root() self.testsys = testSystem self.drivesys = driveSystem - - self.etherdump = EtherDump(file='ethertrace') self.etherlink = EtherLink(int1 = Parent.testsys.tsunami.etherint[0], - int2 = Parent.drivesys.tsunami.etherint[0], - dump = Parent.etherdump) + int2 = Parent.drivesys.tsunami.etherint[0]) + if dumpfile: + self.etherdump = EtherDump(file=dumpfile) + self.etherlink.dump = Parent.etherdump + self.clock = '1THz' return self |