diff options
author | Gabe Black <gabeblack@google.com> | 2018-12-12 16:07:58 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-01-09 01:33:03 +0000 |
commit | 6bc26ff7f275ada5857b3e9566bf0cdf6d705f1d (patch) | |
tree | 7d637aefd25df67c9f94501c9a869a20cf4b787f /src | |
parent | 77165ae17ffa3c93b333e52e633b6237b1aca996 (diff) | |
download | gem5-6bc26ff7f275ada5857b3e9566bf0cdf6d705f1d.tar.xz |
systemc: Replace some calls to some Accellera specific functions in TLM.
The TLM event finder class was calling implementation specific
functions from the Accellera version of systemc. This change replaces those
calls with equivalent calls which match the gem5 implementation.
Change-Id: I0ecdb0a4bf09aeb1aad823a01105fbd88edb4601
Reviewed-on: https://gem5-review.googlesource.com/c/15075
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h b/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h index 75d7ffdde..0f88d3f4e 100644 --- a/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h +++ b/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h @@ -55,7 +55,7 @@ inline const sc_core::sc_event & tlm_event_finder_t<IF, T>::find_event(sc_core::sc_interface *if_p) const { const IF *iface = if_p ? dynamic_cast<const IF *>(if_p) : - dynamic_cast<const IF *>(port().get_interface()); + dynamic_cast<const IF *>(port()->_gem5Interface(0)); if (iface == nullptr) { report_error(sc_core::SC_ID_FIND_EVENT_, "port is not bound"); return sc_core::sc_event::none; |