gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sc_core::sc_prim_channel Class Reference

#include <sc_prim.hh>

Inheritance diagram for sc_core::sc_prim_channel:
sc_core::sc_object sc_core::sc_fifo< T > sc_core::sc_signal< sc_dt::sc_bigint< W > > sc_core::sc_signal< sc_dt::sc_biguint< W > > sc_core::sc_signal< sc_dt::sc_int< W > > sc_core::sc_signal< sc_dt::sc_uint< W > > sc_gem5::ScSignalBase tlm::tlm_fifo< T > tlm::tlm_fifo< REQ > tlm::tlm_fifo< RSP >

Public Member Functions

virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (std::ostream &=std::cout) const
 
virtual void dump (std::ostream &=std::cout) const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () const
 

Protected Member Functions

 sc_prim_channel ()
 
 sc_prim_channel (const char *)
 
virtual ~sc_prim_channel ()
 
void request_update ()
 
void async_request_update ()
 
virtual void update ()
 
void next_trigger ()
 
void next_trigger (const sc_event &)
 
void next_trigger (const sc_event_or_list &)
 
void next_trigger (const sc_event_and_list &)
 
void next_trigger (const sc_time &)
 
void next_trigger (double, sc_time_unit)
 
void next_trigger (const sc_time &, const sc_event &)
 
void next_trigger (double, sc_time_unit, const sc_event &)
 
void next_trigger (const sc_time &, const sc_event_or_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_or_list &)
 
void next_trigger (const sc_time &, const sc_event_and_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_and_list &)
 
bool timed_out ()
 
void wait ()
 
void wait (int)
 
void wait (const sc_event &)
 
void wait (const sc_event_or_list &)
 
void wait (const sc_event_and_list &)
 
void wait (const sc_time &)
 
void wait (double, sc_time_unit)
 
void wait (const sc_time &, const sc_event &)
 
void wait (double, sc_time_unit, const sc_event &)
 
void wait (const sc_time &, const sc_event_or_list &)
 
void wait (double, sc_time_unit, const sc_event_or_list &)
 
void wait (const sc_time &, const sc_event_and_list &)
 
void wait (double, sc_time_unit, const sc_event_and_list &)
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 

Private Member Functions

 sc_prim_channel (const sc_prim_channel &)
 
sc_prim_channeloperator= (const sc_prim_channel &)
 

Private Attributes

sc_gem5::Channel_gem5_channel
 

Friends

class sc_gem5::Kernel
 
class sc_gem5::Channel
 

Detailed Description

Definition at line 50 of file sc_prim.hh.

Constructor & Destructor Documentation

◆ sc_prim_channel() [1/3]

sc_core::sc_prim_channel::sc_prim_channel ( )
protected

◆ sc_prim_channel() [2/3]

sc_core::sc_prim_channel::sc_prim_channel ( const char *  _name)
explicitprotected

◆ ~sc_prim_channel()

sc_core::sc_prim_channel::~sc_prim_channel ( )
protectedvirtual

Definition at line 67 of file sc_prim.cc.

References _gem5_channel.

◆ sc_prim_channel() [3/3]

sc_core::sc_prim_channel::sc_prim_channel ( const sc_prim_channel )
private

Member Function Documentation

◆ async_request_update()

void sc_core::sc_prim_channel::async_request_update ( )
protected

Definition at line 76 of file sc_prim.cc.

References _gem5_channel, and sc_gem5::Channel::asyncRequestUpdate().

◆ before_end_of_elaboration()

virtual void sc_core::sc_prim_channel::before_end_of_elaboration ( )
inlineprotectedvirtual

Reimplemented in sc_core::sc_clock.

Definition at line 96 of file sc_prim.hh.

◆ end_of_elaboration()

virtual void sc_core::sc_prim_channel::end_of_elaboration ( )
inlineprotectedvirtual

Definition at line 97 of file sc_prim.hh.

◆ end_of_simulation()

virtual void sc_core::sc_prim_channel::end_of_simulation ( )
inlineprotectedvirtual

Definition at line 99 of file sc_prim.hh.

◆ kind()

virtual const char* sc_core::sc_prim_channel::kind ( ) const
inlinevirtual

◆ next_trigger() [1/12]

void sc_core::sc_prim_channel::next_trigger ( )
protected

Definition at line 82 of file sc_prim.cc.

References sc_core::next_trigger().

◆ next_trigger() [2/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_event e)
protected

Definition at line 88 of file sc_prim.cc.

References ArmISA::e, and sc_core::next_trigger().

◆ next_trigger() [3/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_event_and_list eal)
protected

Definition at line 100 of file sc_prim.cc.

References sc_core::next_trigger().

◆ next_trigger() [4/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_event_or_list eol)
protected

Definition at line 94 of file sc_prim.cc.

References sc_core::next_trigger().

◆ next_trigger() [5/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t)
protected

Definition at line 106 of file sc_prim.cc.

References sc_core::next_trigger(), and ArmISA::t.

◆ next_trigger() [6/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event e 
)
protected

Definition at line 118 of file sc_prim.cc.

References ArmISA::e, sc_core::next_trigger(), and ArmISA::t.

◆ next_trigger() [7/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_and_list eal 
)
protected

Definition at line 143 of file sc_prim.cc.

References sc_core::next_trigger(), and ArmISA::t.

◆ next_trigger() [8/12]

void sc_core::sc_prim_channel::next_trigger ( const sc_time t,
const sc_event_or_list eol 
)
protected

Definition at line 130 of file sc_prim.cc.

References sc_core::next_trigger(), and ArmISA::t.

◆ next_trigger() [9/12]

void sc_core::sc_prim_channel::next_trigger ( double  d,
sc_time_unit  u 
)
protected

Definition at line 112 of file sc_prim.cc.

References ArmISA::d, sc_core::next_trigger(), and ArmISA::u.

◆ next_trigger() [10/12]

void sc_core::sc_prim_channel::next_trigger ( double  d,
sc_time_unit  u,
const sc_event e 
)
protected

Definition at line 124 of file sc_prim.cc.

References ArmISA::d, ArmISA::e, sc_core::next_trigger(), and ArmISA::u.

◆ next_trigger() [11/12]

void sc_core::sc_prim_channel::next_trigger ( double  d,
sc_time_unit  u,
const sc_event_and_list eal 
)
protected

Definition at line 149 of file sc_prim.cc.

References ArmISA::d, sc_core::next_trigger(), and ArmISA::u.

◆ next_trigger() [12/12]

void sc_core::sc_prim_channel::next_trigger ( double  d,
sc_time_unit  u,
const sc_event_or_list eol 
)
protected

Definition at line 136 of file sc_prim.cc.

References ArmISA::d, sc_core::next_trigger(), and ArmISA::u.

◆ operator=()

sc_prim_channel& sc_core::sc_prim_channel::operator= ( const sc_prim_channel )
private

◆ request_update()

void sc_core::sc_prim_channel::request_update ( )
protected

◆ start_of_simulation()

virtual void sc_core::sc_prim_channel::start_of_simulation ( )
inlineprotectedvirtual

Definition at line 98 of file sc_prim.hh.

◆ timed_out()

bool sc_core::sc_prim_channel::timed_out ( )
protected

Definition at line 156 of file sc_prim.cc.

References sc_core::timed_out().

◆ update()

virtual void sc_core::sc_prim_channel::update ( )
inlineprotectedvirtual

◆ wait() [1/13]

void sc_core::sc_prim_channel::wait ( )
protected

Definition at line 162 of file sc_prim.cc.

References sc_core::wait().

◆ wait() [2/13]

void sc_core::sc_prim_channel::wait ( const sc_event e)
protected

Definition at line 174 of file sc_prim.cc.

References ArmISA::e, and sc_core::wait().

◆ wait() [3/13]

void sc_core::sc_prim_channel::wait ( const sc_event_and_list eal)
protected

Definition at line 186 of file sc_prim.cc.

References sc_core::wait().

◆ wait() [4/13]

void sc_core::sc_prim_channel::wait ( const sc_event_or_list eol)
protected

Definition at line 180 of file sc_prim.cc.

References sc_core::wait().

◆ wait() [5/13]

void sc_core::sc_prim_channel::wait ( const sc_time t)
protected

Definition at line 192 of file sc_prim.cc.

References ArmISA::t, and sc_core::wait().

◆ wait() [6/13]

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event e 
)
protected

Definition at line 204 of file sc_prim.cc.

References ArmISA::e, ArmISA::t, and sc_core::wait().

◆ wait() [7/13]

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event_and_list eal 
)
protected

Definition at line 228 of file sc_prim.cc.

References ArmISA::t, and sc_core::wait().

◆ wait() [8/13]

void sc_core::sc_prim_channel::wait ( const sc_time t,
const sc_event_or_list eol 
)
protected

Definition at line 216 of file sc_prim.cc.

References ArmISA::t, and sc_core::wait().

◆ wait() [9/13]

void sc_core::sc_prim_channel::wait ( double  d,
sc_time_unit  u 
)
protected

Definition at line 198 of file sc_prim.cc.

References ArmISA::d, ArmISA::u, and sc_core::wait().

◆ wait() [10/13]

void sc_core::sc_prim_channel::wait ( double  d,
sc_time_unit  u,
const sc_event e 
)
protected

Definition at line 210 of file sc_prim.cc.

References ArmISA::d, ArmISA::e, ArmISA::u, and sc_core::wait().

◆ wait() [11/13]

void sc_core::sc_prim_channel::wait ( double  d,
sc_time_unit  u,
const sc_event_and_list eal 
)
protected

Definition at line 234 of file sc_prim.cc.

References ArmISA::d, ArmISA::u, and sc_core::wait().

◆ wait() [12/13]

void sc_core::sc_prim_channel::wait ( double  d,
sc_time_unit  u,
const sc_event_or_list eol 
)
protected

Definition at line 222 of file sc_prim.cc.

References ArmISA::d, ArmISA::u, and sc_core::wait().

◆ wait() [13/13]

void sc_core::sc_prim_channel::wait ( int  i)
protected

Definition at line 168 of file sc_prim.cc.

References ArmISA::i, and sc_core::wait().

Friends And Related Function Documentation

◆ sc_gem5::Channel

friend class sc_gem5::Channel
friend

Definition at line 106 of file sc_prim.hh.

◆ sc_gem5::Kernel

friend class sc_gem5::Kernel
friend

Definition at line 94 of file sc_prim.hh.

Member Data Documentation

◆ _gem5_channel

sc_gem5::Channel* sc_core::sc_prim_channel::_gem5_channel
private

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

Generated on Wed Sep 30 2020 14:03:09 for gem5 by doxygen 1.8.17