gem5  v21.2.1.1
Public Member Functions | Public Attributes | Private Member Functions | List of all members
gem5::fastmodel::SignalSender Class Reference

#include <signal_sender.hh>

Inheritance diagram for gem5::fastmodel::SignalSender:
gem5::IntSinkPinBase gem5::Port

Public Member Functions

 SignalSender (const std::string &_name, PortID _id)
 
- Public Member Functions inherited from gem5::IntSinkPinBase
int number ()
 
bool state ()
 
void bind (Port &peer) override
 Attach to a peer port. More...
 
void unbind () override
 Dettach from a peer port. More...
 
- Public Member Functions inherited from gem5::Port
virtual ~Port ()
 Virtual destructor due to inheritance. More...
 
PortgetPeer ()
 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

- Protected Member Functions inherited from gem5::IntSinkPinBase
 IntSinkPinBase (const std::string &_name, PortID _id, int num)
 
void raise ()
 
void lower ()
 
- Protected Member Functions inherited from gem5::Port
void reportUnbound () const
 
 Port (const std::string &_name, PortID _id)
 Abstract base class for ports. More...
 
- Protected Attributes inherited from gem5::IntSinkPinBase
friend IntSourcePinBase
 
IntSourcePinBasesource = nullptr
 
int _number = 0
 
bool _state = false
 
- Protected Attributes inherited from gem5::Port
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...
 

Detailed Description

Definition at line 45 of file signal_sender.hh.

Constructor & Destructor Documentation

◆ SignalSender()

gem5::fastmodel::SignalSender::SignalSender ( const std::string &  _name,
PortID  _id 
)
inline

Definition at line 50 of file signal_sender.hh.

Member Function Documentation

◆ lowerOnDevice()

void gem5::fastmodel::SignalSender::lowerOnDevice ( )
inlineoverrideprivatevirtual

Implements gem5::IntSinkPinBase.

Definition at line 57 of file signal_sender.hh.

References signal_out.

◆ raiseOnDevice()

void gem5::fastmodel::SignalSender::raiseOnDevice ( )
inlineoverrideprivatevirtual

Implements gem5::IntSinkPinBase.

Definition at line 56 of file signal_sender.hh.

References signal_out.

Member Data Documentation

◆ signal_out

amba_pv::signal_master_port<bool> gem5::fastmodel::SignalSender::signal_out

The documentation for this class was generated from the following file:

Generated on Wed May 4 2022 12:15:04 for gem5 by doxygen 1.8.17