diff options
Diffstat (limited to 'src/systemc/ext/core/sc_event.hh')
-rw-r--r-- | src/systemc/ext/core/sc_event.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_event.hh b/src/systemc/ext/core/sc_event.hh index a5ac2d4f0..e9748cb95 100644 --- a/src/systemc/ext/core/sc_event.hh +++ b/src/systemc/ext/core/sc_event.hh @@ -64,6 +64,7 @@ class sc_event_finder public: // Should be "implementation defined" but used in the tests. virtual const sc_event &find_event(sc_interface *if_p=NULL) const = 0; + virtual const sc_port_base *port() const = 0; }; template <class IF> @@ -80,6 +81,8 @@ class sc_event_finder_t : public sc_event_finder virtual ~sc_event_finder_t() {} + const sc_port_base *port() const { return _port; } + const sc_event & find_event(sc_interface *if_p=NULL) const override { |