summaryrefslogtreecommitdiff
path: root/src/systemc/core/sc_module.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 22:05:53 -0700
committerGabe Black <gabeblack@google.com>2018-08-28 21:20:26 +0000
commit48a16049412ee5d99bbff650248d1d990bb38ada (patch)
tree001ddb7e70517cc23838bf68293ffe549c211fcb /src/systemc/core/sc_module.cc
parent61cf4339466da51c76c858245bd1841fd00e8405 (diff)
downloadgem5-48a16049412ee5d99bbff650248d1d990bb38ada.tar.xz
systemc: Add the nonstandard timed_out function.
Change-Id: If14a5f98f03448c712827b7f92d2a36992541518 Reviewed-on: https://gem5-review.googlesource.com/11279 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/sc_module.cc')
-rw-r--r--src/systemc/core/sc_module.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/systemc/core/sc_module.cc b/src/systemc/core/sc_module.cc
index b4fd29267..0954ce9c2 100644
--- a/src/systemc/core/sc_module.cc
+++ b/src/systemc/core/sc_module.cc
@@ -301,6 +301,14 @@ sc_module::next_trigger(double, sc_time_unit, const sc_event_and_list &)
}
+bool
+sc_module::timed_out()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return false;
+}
+
+
void
sc_module::wait()
{
@@ -483,6 +491,13 @@ next_trigger(double, sc_time_unit, const sc_event_and_list &)
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
+bool
+timed_out()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+ return false;
+}
+
void
wait()