diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-03-06 11:13:43 -0800 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-03-06 11:13:43 -0800 |
commit | d55b25cde6d2c072885a2c468d209fb18d6628e6 (patch) | |
tree | 391c4e66a69818a95037a5f2adccb2e8e0c84648 /tests/configs/tsunami-simple-timing.py | |
parent | f800fddcea850822efee031b9b904280639da4c6 (diff) | |
download | gem5-d55b25cde6d2c072885a2c468d209fb18d6628e6.tar.xz |
Move all of the parameters of the Root SimObject so they are
directly configured by python. Move stuff from root.(cc|hh) to
core.(cc|hh) since it really belogs there now.
In the process, simplify how ticks are used in the python code.
--HG--
extra : convert_revision : cf82ee1ea20f9343924f30bacc2a38d4edee8df3
Diffstat (limited to 'tests/configs/tsunami-simple-timing.py')
-rw-r--r-- | tests/configs/tsunami-simple-timing.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/configs/tsunami-simple-timing.py b/tests/configs/tsunami-simple-timing.py index 59401c040..9f532e3ae 100644 --- a/tests/configs/tsunami-simple-timing.py +++ b/tests/configs/tsunami-simple-timing.py @@ -1,4 +1,4 @@ -# Copyright (c) 2006 The Regents of The University of Michigan +# Copyright (c) 2006-2007 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -36,4 +36,5 @@ system = FSConfig.makeLinuxAlphaSystem('timing') system.cpu = cpu cpu.connectMemPorts(system.membus) -root = Root(clock = '2GHz', system = system) +root = Root(system=system) +m5.ticks.setGlobalFrequency('2GHz') |