gem5 v24.0.0.0
|
#include <port.hh>
Classes | |
struct | Binding |
struct | Sensitivity |
Public Member Functions | |
::sc_core::sc_port_base * | sc_port_base () |
Port (::sc_core::sc_port_base *port_base, int max) | |
~Port () | |
void | bind (::sc_core::sc_interface *interface) |
void | bind (::sc_core::sc_port_base *port) |
void | sensitive (StaticSensitivityPort *port) |
void | sensitive (StaticSensitivityFinder *finder) |
void | addReset (Reset *reset) |
void | finalize () |
void | regPort () |
int | size () |
int | maxSize () |
Static Public Member Functions | |
static Port * | fromPort (const ::sc_core::sc_port_base *pb) |
Private Member Functions | |
void | finalizePort (StaticSensitivityPort *port) |
void | finalizeFinder (StaticSensitivityFinder *finder) |
void | finalizeReset (Reset *reset) |
void | addInterface (::sc_core::sc_interface *iface) |
void | addInterfaces (::sc_core::sc_port_base *pb) |
::sc_core::sc_interface * | getInterface (int i) |
Private Attributes | |
::sc_core::sc_port_base * | portBase |
bool | finalized |
int | _maxSize |
int | _size |
bool | regPortNeeded |
std::vector< Binding * > | bindings |
std::vector< Sensitivity * > | sensitivities |
std::vector< Reset * > | resets |
|
inline |
Definition at line 128 of file port.hh.
References sc_gem5::allPorts.
|
inline |
Definition at line 135 of file port.hh.
References sc_gem5::allPorts.
|
inlineprivate |
Definition at line 66 of file port.hh.
References sc_core::sc_port_base::_gem5AddInterface(), _size, and portBase.
Referenced by addInterfaces(), bind(), and finalize().
|
inlineprivate |
Definition at line 73 of file port.hh.
References sc_core::sc_port_base::_gem5Interface(), sc_core::sc_port_base::_gem5Port, addInterface(), regPortNeeded, and sc_core::sc_port_base::size().
Referenced by finalize().
void sc_gem5::Port::addReset | ( | Reset * | reset | ) |
Definition at line 85 of file port.cc.
References finalized, finalizeReset(), and resets.
Referenced by sc_gem5::newReset().
|
inline |
Definition at line 138 of file port.hh.
References addInterface(), and bindings.
Referenced by sc_core::sc_port_base::bind(), and sc_core::sc_port_base::bind().
|
inline |
void sc_gem5::Port::finalize | ( | ) |
Definition at line 94 of file port.cc.
References sc_core::sc_port_base::_portPolicy(), addInterface(), addInterfaces(), b, bindings, finalized, finalizeFinder(), finalizePort(), finalizeReset(), maxSize(), panic, portBase, sc_core::sc_port_base::report_error(), resets, sc_core::SC_ALL_BOUND, sc_core::SC_ID_COMPLETE_BINDING_, sc_core::SC_ONE_OR_MORE_BOUND, sc_core::SC_ZERO_OR_MORE_BOUND, sensitivities, size(), and ss.
|
private |
Definition at line 47 of file port.cc.
References sc_gem5::SensitivityEvents::addEvent(), sc_gem5::StaticSensitivityFinder::find(), getInterface(), and size().
Referenced by finalize(), and sensitive().
|
private |
Definition at line 40 of file port.cc.
References sc_gem5::SensitivityEvents::addEvent(), sc_core::sc_interface::default_event(), getInterface(), and size().
Referenced by finalize(), and sensitive().
|
private |
Definition at line 54 of file port.cc.
References getInterface(), and size().
Referenced by addReset(), and finalize().
|
inlinestatic |
Definition at line 121 of file port.hh.
Referenced by sc_gem5::newReset().
|
inlineprivate |
Definition at line 82 of file port.hh.
References sc_core::sc_port_base::_gem5Interface(), and portBase.
Referenced by finalizeFinder(), finalizePort(), finalizeReset(), and regPort().
|
inline |
Definition at line 160 of file port.hh.
References _maxSize, and _size.
Referenced by finalize(), and sc_core::sc_port_base::maxSize().
void sc_gem5::Port::regPort | ( | ) |
Definition at line 158 of file port.cc.
References sc_core::sc_port_base::_ifTypeName(), getInterface(), portBase, sc_core::sc_interface::register_port(), regPortNeeded, and size().
|
inline |
void sc_gem5::Port::sensitive | ( | StaticSensitivityFinder * | finder | ) |
Definition at line 76 of file port.cc.
References finalized, finalizeFinder(), and sensitivities.
void sc_gem5::Port::sensitive | ( | StaticSensitivityPort * | port | ) |
Definition at line 67 of file port.cc.
References finalized, finalizePort(), and sensitivities.
|
inline |
Definition at line 159 of file port.hh.
References _size.
Referenced by finalize(), finalizeFinder(), finalizePort(), finalizeReset(), regPort(), and sc_core::sc_port_base::size().
|
private |
Definition at line 57 of file port.hh.
Referenced by addInterface(), maxSize(), and size().
|
private |
Definition at line 115 of file port.hh.
Referenced by bind(), bind(), and finalize().
|
private |
Definition at line 55 of file port.hh.
Referenced by addReset(), finalize(), sensitive(), and sensitive().
|
private |
Definition at line 53 of file port.hh.
Referenced by addInterface(), finalize(), getInterface(), regPort(), and sc_port_base().
|
private |
Definition at line 59 of file port.hh.
Referenced by addInterfaces(), and regPort().
|
private |
Definition at line 117 of file port.hh.
Referenced by addReset(), and finalize().
|
private |
Definition at line 116 of file port.hh.
Referenced by finalize(), sensitive(), and sensitive().