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:
@@ -183,6 +183,9 @@ class sc_module : public sc_object
|
||||
void next_trigger(const sc_time &, const sc_event_and_list &);
|
||||
void next_trigger(double, sc_time_unit, const sc_event_and_list &);
|
||||
|
||||
// Nonstandard
|
||||
bool timed_out();
|
||||
|
||||
void wait();
|
||||
void wait(int);
|
||||
void wait(const sc_event &);
|
||||
@@ -242,6 +245,9 @@ void wait(double, sc_time_unit, const sc_event_or_list &);
|
||||
void wait(const sc_time &, const sc_event_and_list &);
|
||||
void wait(double, sc_time_unit, const sc_event_and_list &);
|
||||
|
||||
// Nonstandard
|
||||
bool timed_out();
|
||||
|
||||
#define SC_MODULE(name) struct name : ::sc_core::sc_module
|
||||
|
||||
#define SC_CTOR(name) \
|
||||
|
||||
@@ -67,6 +67,9 @@ class sc_prim_channel : public sc_object
|
||||
void next_trigger(const sc_time &, const sc_event_and_list &);
|
||||
void next_trigger(double, sc_time_unit, const sc_event_and_list &);
|
||||
|
||||
// Nonstandard.
|
||||
bool timed_out();
|
||||
|
||||
void wait();
|
||||
void wait(int);
|
||||
void wait(const sc_event &);
|
||||
|
||||
Reference in New Issue
Block a user