gem5
v22.1.0.0
|
#include <signal_sender.hh>
Public Member Functions | |
SignalSender (const std::string &_name, PortID _id) | |
![]() | |
int | number () |
bool | state () |
void | bind (Port &peer) override |
Attach to a peer port. More... | |
void | unbind () override |
Dettach from a peer port. More... | |
![]() | |
virtual | ~Port () |
Virtual destructor due to inheritance. More... | |
Port & | getPeer () |
Return a reference to this port's peer. More... | |
const std::string | name () const |
Return port name (for DPRINTF). More... | |
PortID | getId () const |
Get the port id. More... | |
bool | isConnected () const |
Is this port currently connected to a peer? More... | |
void | takeOverFrom (Port *old) |
A utility function to make it easier to swap out ports. More... | |
Public Attributes | |
amba_pv::signal_master_port< bool > | signal_out |
Private Member Functions | |
void | raiseOnDevice () override |
void | lowerOnDevice () override |
Additional Inherited Members | |
![]() | |
IntSinkPinBase (const std::string &_name, PortID _id, int num) | |
void | raise () |
void | lower () |
![]() | |
void | reportUnbound () const |
Port (const std::string &_name, PortID _id) | |
Abstract base class for ports. More... | |
![]() | |
friend | IntSourcePinBase |
IntSourcePinBase * | source = nullptr |
int | _number = 0 |
bool | _state = false |
![]() | |
const PortID | id |
A numeric identifier to distinguish ports in a vector, and set to InvalidPortID in case this port is not part of a vector. More... | |
Port * | _peer |
A pointer to this port's peer. More... | |
bool | _connected |
Whether this port is currently connected to a peer port. More... | |
Definition at line 45 of file signal_sender.hh.
|
inline |
Definition at line 50 of file signal_sender.hh.
|
inlineoverrideprivatevirtual |
Implements gem5::IntSinkPinBase.
Definition at line 57 of file signal_sender.hh.
References signal_out.
|
inlineoverrideprivatevirtual |
Implements gem5::IntSinkPinBase.
Definition at line 56 of file signal_sender.hh.
References signal_out.
amba_pv::signal_master_port<bool> gem5::fastmodel::SignalSender::signal_out |
Definition at line 48 of file signal_sender.hh.
Referenced by gem5::fastmodel::ScxEvsCortexR52< Types >::CorePins::CorePins(), lowerOnDevice(), raiseOnDevice(), gem5::fastmodel::ScxEvsCortexR52< Types >::requestReset(), gem5::fastmodel::ScxEvsCortexA76< Types >::ScxEvsCortexA76(), and gem5::fastmodel::ScxEvsCortexR52< Types >::ScxEvsCortexR52().