diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2012-09-10 12:21:01 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2012-09-10 12:21:01 -0500 |
commit | c5bf1390aa129fefa7102e2de2998c0e6b09b5b0 (patch) | |
tree | abd84f95c72cc3c7652d7471fed0d8cca74a9987 /src/mem/slicc/symbols/Type.py | |
parent | 4e6f048ef0f201718ac1a24ff917fb4d42a2b181 (diff) | |
download | gem5-c5bf1390aa129fefa7102e2de2998c0e6b09b5b0.tar.xz |
Ruby System: Convert to Clocked Object
This patch moves Ruby System from being a SimObject to recently introduced
ClockedObject.
Diffstat (limited to 'src/mem/slicc/symbols/Type.py')
-rw-r--r-- | src/mem/slicc/symbols/Type.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/symbols/Type.py b/src/mem/slicc/symbols/Type.py index 42ee8894a..3285b767f 100644 --- a/src/mem/slicc/symbols/Type.py +++ b/src/mem/slicc/symbols/Type.py @@ -415,7 +415,7 @@ ${{self.c_ident}}::print(ostream& out) const code('out << "${{dm.ident}} = " << m_${{dm.ident}} << " ";''') if self.isMessage: - code('out << "Time = " << getTime() * g_system_ptr->getClock() << " ";') + code('out << "Time = " << g_system_ptr->clockPeriod() * getTime() << " ";') code.dedent() # Trailer |