summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/systemc/sc_module.cc3
-rw-r--r--util/systemc/sc_module.hh3
2 files changed, 4 insertions, 2 deletions
diff --git a/util/systemc/sc_module.cc b/util/systemc/sc_module.cc
index 46a8d39ee..40f79bc85 100644
--- a/util/systemc/sc_module.cc
+++ b/util/systemc/sc_module.cc
@@ -43,6 +43,7 @@
* Steve Reinhardt
* Andrew Bardsley
* Matthias Jung
+ * Christian Menard
*/
/**
@@ -77,7 +78,7 @@ setTickFrequency()
::setClockFrequency(1000000000000);
}
-Module::Module(sc_core::sc_module_name name) : sc_core::sc_module(name),
+Module::Module(sc_core::sc_module_name name) : sc_core::sc_channel(name),
in_simulate(false)
{
SC_METHOD(eventLoop);
diff --git a/util/systemc/sc_module.hh b/util/systemc/sc_module.hh
index b529e2137..ff4e56e53 100644
--- a/util/systemc/sc_module.hh
+++ b/util/systemc/sc_module.hh
@@ -42,6 +42,7 @@
* Authors: Nathan Binkert
* Steve Reinhardt
* Andrew Bardsley
+ * Christian Menard
*/
/**
@@ -83,7 +84,7 @@ namespace Gem5SystemC
* This functionality is wrapped in an sc_module as its intended that
* the a class representing top level simulation control should be derived
* from this class. */
-class Module : public sc_core::sc_module
+class Module : public sc_core::sc_channel
{
protected:
/** Event to trigger (via. ::notify) for event scheduling from