gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::fastmodel::SignalReceiverInt Class Reference

#include <signal_receiver.hh>

Inheritance diagram for gem5::fastmodel::SignalReceiverInt:
gem5::fastmodel::SignalReceiver

Public Types

using IntPin = SignalSourcePort<bool>
 
- Public Types inherited from gem5::fastmodel::SignalReceiver
typedef std::function< void(bool)> OnChangeFunc
 

Public Member Functions

 SignalReceiverInt (const std::string &name)
 
IntPingetSignalOut (int idx)
 
- Public Member Functions inherited from gem5::fastmodel::SignalReceiver
 SignalReceiver (const std::string &name, OnChangeFunc on_change=nullptr)
 
 SignalReceiver (const char *name, OnChangeFunc on_change=nullptr)
 
void onChange (OnChangeFunc func)
 
void set_state (int export_id, const bool &new_state) override
 

Private Attributes

std::vector< std::unique_ptr< IntPin > > signalOut
 

Additional Inherited Members

- Public Attributes inherited from gem5::fastmodel::SignalReceiver
amba_pv::signal_slave_export< bool > signal_in
 

Detailed Description

Definition at line 86 of file signal_receiver.hh.

Member Typedef Documentation

◆ IntPin

Constructor & Destructor Documentation

◆ SignalReceiverInt()

gem5::fastmodel::SignalReceiverInt::SignalReceiverInt ( const std::string & name)
inlineexplicit

Member Function Documentation

◆ getSignalOut()

IntPin & gem5::fastmodel::SignalReceiverInt::getSignalOut ( int idx)
inline

Definition at line 103 of file signal_receiver.hh.

References gem5::csprintf(), and signalOut.

Member Data Documentation

◆ signalOut

std::vector<std::unique_ptr<IntPin> > gem5::fastmodel::SignalReceiverInt::signalOut
private

Definition at line 116 of file signal_receiver.hh.

Referenced by getSignalOut(), and SignalReceiverInt().


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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0