diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2012-10-15 08:07:07 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2012-10-15 08:07:07 -0400 |
commit | 930db9257dbac7e678888a65a17c39bcc87aa7fa (patch) | |
tree | 0963906363267079f8cab73332e926320cbd242e /tests/configs/realview-simple-atomic.py | |
parent | 8cc503f1dd535690a9e50188d0216844057125f8 (diff) | |
download | gem5-930db9257dbac7e678888a65a17c39bcc87aa7fa.tar.xz |
Clock: Inherit the clock from parent by default
This patch changes the default 1 Tick clock period to a proxy that
resolves the parents clock. As a result of this, the caches and
L1-to-L2 bus, for example, will automatically use the clock period of
the CPU unless explicitly overridden.
To ensure backwards compatibility, the System class overrides the
proxy and specifies a 1 Tick clock. We could change this to something
more reasonable in a follow-on patch, perhaps 1 GHz or something
similar.
With this patch applied, all clocked objects should have a reasonable
clock period set, and could start specifying delays in Cycles instead
of absolute time.
Diffstat (limited to 'tests/configs/realview-simple-atomic.py')
0 files changed, 0 insertions, 0 deletions