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>
This commit is contained in:
Gabe Black
2018-06-15 22:05:53 -07:00
parent 61cf433946
commit 48a1604941
4 changed files with 31 additions and 0 deletions

View File

@@ -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()

View File

@@ -134,6 +134,13 @@ sc_prim_channel::next_trigger(double, sc_time_unit, const sc_event_and_list &)
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
bool
sc_prim_channel::timed_out()
{
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
return false;
}
void
sc_prim_channel::wait()
{