diff options
author | Gabe Black <gabeblack@google.com> | 2018-07-19 15:51:24 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-11 21:40:48 +0000 |
commit | a6c0e4623c6bb1077ca43c66663e039efb221bda (patch) | |
tree | 32054538eab1993856c1c9909c1a3e7c877d2092 /src/systemc/core/SystemC.py | |
parent | 544b136cbfbba53b6d97b763445e9f9b25eb2a7f (diff) | |
download | gem5-a6c0e4623c6bb1077ca43c66663e039efb221bda.tar.xz |
systemc: Implement the various sc_module stage callbacks.
This change also gets rid of the SystemC namespace which was
deprecated in favor of sc_gem5.
A few utility functions which check whether certain callbacks have
finished were also implemented. status tracking moved from a global
variable in sc_main.cc to a member of the kernel simobject.
Change-Id: I50967fae9c576fbe45b1faff587aaa824857a289
Reviewed-on: https://gem5-review.googlesource.com/12033
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/SystemC.py')
-rw-r--r-- | src/systemc/core/SystemC.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/core/SystemC.py b/src/systemc/core/SystemC.py index 41fecb2c2..dff72e2ce 100644 --- a/src/systemc/core/SystemC.py +++ b/src/systemc/core/SystemC.py @@ -33,7 +33,7 @@ from m5.SimObject import SimObject # It also acts as a collecting point for systemc related control functionality. class SystemC_Kernel(SimObject): type = 'SystemC_Kernel' - cxx_class = 'SystemC::Kernel' + cxx_class = 'sc_gem5::Kernel' cxx_header = 'systemc/core/kernel.hh' def sc_main(self, *args): |