gem5
v20.1.0.0
|
#include <sc_signal_resolved.hh>
Public Member Functions | |
sc_signal_resolved () | |
sc_signal_resolved (const char *name) | |
virtual | ~sc_signal_resolved () |
virtual void | register_port (sc_port_base &, const char *) |
virtual void | write (const sc_dt::sc_logic &) |
sc_signal_resolved & | operator= (const sc_dt::sc_logic &) |
sc_signal_resolved & | operator= (const sc_signal_resolved &) |
virtual const char * | kind () const |
Public Member Functions inherited from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS > | |
sc_signal () | |
sc_signal (const char *name) | |
sc_signal (const char *name, const sc_dt::sc_logic &initial_value) | |
virtual | ~sc_signal () |
sc_signal< sc_dt::sc_logic, WRITER_POLICY > & | operator= (const sc_dt::sc_logic &t) |
sc_signal< sc_dt::sc_logic, WRITER_POLICY > & | operator= (const sc_signal< sc_dt::sc_logic, WRITER_POLICY > &s) |
Public Member Functions inherited from sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY > | |
ScSignalBaseT (const char *_name) | |
ScSignalBaseT (const char *_name, const sc_dt::sc_logic &initial_value) | |
virtual | ~ScSignalBaseT () |
virtual const sc_dt::sc_logic & | read () const |
operator const sc_dt::sc_logic & () const | |
virtual const sc_core::sc_event & | default_event () const |
virtual const sc_core::sc_event & | value_changed_event () const |
virtual void | print (std::ostream &os=std::cout) const |
virtual void | dump (std::ostream &os=std::cout) const |
virtual bool | event () const |
virtual sc_core::sc_writer_policy | get_writer_policy () const |
Public Member Functions inherited from sc_core::sc_object | |
const char * | name () const |
const char * | basename () const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
sc_object * | get_parent_object () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &) |
sc_attr_base * | remove_attribute (const std::string &) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
sc_simcontext * | simcontext () const |
Public Member Functions inherited from sc_core::sc_signal_in_if< sc_dt::sc_logic > | |
virtual const sc_dt::sc_logic & | read () const =0 |
virtual const sc_event & | value_changed_event () const =0 |
virtual const sc_event & | posedge_event () const =0 |
virtual const sc_event & | negedge_event () const =0 |
virtual bool | event () const =0 |
virtual bool | posedge () const =0 |
virtual bool | negedge () const =0 |
Public Member Functions inherited from sc_core::sc_interface | |
virtual const sc_event & | default_event () const |
virtual | ~sc_interface () |
Private Member Functions | |
sc_signal_resolved (const sc_signal_resolved &) | |
Private Attributes | |
std::map<::sc_gem5::Process *, sc_dt::sc_logic > | inputs |
Additional Inherited Members | |
Protected Attributes inherited from sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY > | |
sc_dt::sc_logic | m_cur_val |
sc_dt::sc_logic | m_new_val |
WriteChecker< WRITER_POLICY > | _checker |
Protected Attributes inherited from sc_gem5::ScSignalBaseBinary | |
std::vector< sc_gem5::Reset * > | _resets |
InternalScEvent | _posedgeEvent |
InternalScEvent | _negedgeEvent |
uint64_t | _posStamp |
uint64_t | _negStamp |
Protected Attributes inherited from sc_gem5::ScSignalBase | |
InternalScEvent | _valueChangedEvent |
uint64_t | _changeStamp |
sc_core::sc_port_base * | _gem5WriterPort |
Definition at line 55 of file sc_signal_resolved.hh.
sc_core::sc_signal_resolved::sc_signal_resolved | ( | ) |
Definition at line 36 of file sc_signal_resolved.cc.
|
explicit |
Definition at line 41 of file sc_signal_resolved.cc.
|
virtual |
Definition at line 45 of file sc_signal_resolved.cc.
|
inlineprivate |
Definition at line 75 of file sc_signal_resolved.hh.
|
inlinevirtual |
Reimplemented from sc_gem5::ScSignalBase.
Definition at line 68 of file sc_signal_resolved.hh.
sc_signal_resolved & sc_core::sc_signal_resolved::operator= | ( | const sc_dt::sc_logic & | l | ) |
Definition at line 64 of file sc_signal_resolved.cc.
References MipsISA::l, and write().
sc_signal_resolved & sc_core::sc_signal_resolved::operator= | ( | const sc_signal_resolved & | r | ) |
Definition at line 71 of file sc_signal_resolved.cc.
References MipsISA::r, and write().
|
virtual |
Reimplemented from sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY >.
Definition at line 46 of file sc_signal_resolved.cc.
|
protectedvirtual |
Reimplemented from sc_core::sc_signal< sc_dt::sc_logic, SC_MANY_WRITERS >.
Definition at line 78 of file sc_signal_resolved.cc.
References inputs, sc_dt::Log_0, sc_dt::Log_1, sc_dt::Log_X, sc_dt::Log_Z, sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY >::m_new_val, sc_core::sc_signal< T, WRITER_POLICY >::update(), and sc_dt::sc_logic::value().
|
virtual |
Reimplemented from sc_gem5::ScSignalBaseT< sc_dt::sc_logic, WRITER_POLICY >.
Definition at line 49 of file sc_signal_resolved.cc.
References sc_gem5::Scheduler::current(), inputs, MipsISA::l, MipsISA::p, sc_core::sc_prim_channel::request_update(), and sc_gem5::scheduler.
Referenced by operator=().
|
private |
Definition at line 79 of file sc_signal_resolved.hh.