From 00b411d8d28af46b9067fe252cebd8dddd0ebfec Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 15 Jun 2018 17:01:57 -0700 Subject: systemc: Define the nonstandard sc_event_queue_port typedef. Used in the tests. Change-Id: Ic4b4a313b2bd02e5cb3ec07c4f7ee79219728881 Reviewed-on: https://gem5-review.googlesource.com/11262 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/ext/channel/sc_event_queue.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/systemc/ext/channel/sc_event_queue.hh') diff --git a/src/systemc/ext/channel/sc_event_queue.hh b/src/systemc/ext/channel/sc_event_queue.hh index aa2f72e77..1cd3c01ab 100644 --- a/src/systemc/ext/channel/sc_event_queue.hh +++ b/src/systemc/ext/channel/sc_event_queue.hh @@ -33,6 +33,7 @@ #include "../core/sc_interface.hh" #include "../core/sc_module.hh" // for sc_gen_unique_name #include "../core/sc_module_name.hh" +#include "../core/sc_port.hh" #include "../core/sc_time.hh" #include "warn_unimpl.hh" @@ -65,6 +66,10 @@ class sc_event_queue : public sc_event_queue_if, public sc_module virtual const sc_event &default_event() const; }; +// Nonstandard +typedef sc_port + sc_event_queue_port; + } // namespace sc_core #endif //__SYSTEMC_EXT_CHANNEL_SC_EVENT_QUEUE_HH__ -- cgit v1.2.3