/gem5/src/systemc/core/ |
H A D | sc_object.cc | 33 #include "systemc/ext/core/sc_object.hh" 41 std::vector<sc_object *> top_level_objects; 46 sc_object::name() const 52 sc_object::basename() const 58 sc_object::print(std::ostream &out) const 64 sc_object::dump(std::ostream &out) const 69 const std::vector<sc_object *> & 70 sc_object::get_child_objects() const 76 sc_object::get_child_events() const 81 sc_object * 135 sc_object::sc_object() function in class:sc_core::sc_object 140 sc_object::sc_object(const char *name) function in class:sc_core::sc_object 145 sc_object::sc_object(const sc_object &other) function in class:sc_core::sc_object [all...] |
H A D | object.hh | 37 #include "systemc/ext/core/sc_object.hh" 44 typedef std::vector<sc_core::sc_object *> Objects; 52 Object(sc_core::sc_object *_sc_obj); 53 Object(sc_core::sc_object *_sc_obj, const char *); 54 Object(sc_core::sc_object *_sc_obj, const Object &); 60 * sc_object methods. 68 const std::vector<sc_core::sc_object *> &get_child_objects() const; 70 sc_core::sc_object *get_parent_object() const; 83 getFromScObject(sc_core::sc_object *sc_obj) 88 sc_core::sc_object *sc_ob [all...] |
H A D | object.cc | 60 addObject(Objects *objects, sc_core::sc_object *object) 88 Object::Object(sc_core::sc_object *_sc_obj) : Object(_sc_obj, nullptr) {} 90 Object::Object(sc_core::sc_object *_sc_obj, const char *obj_name) : 114 sc_core::sc_object *sc_p = parent; 130 Object::Object(sc_core::sc_object *_sc_obj, const Object &arg) : 184 const std::vector<sc_core::sc_object *> & 196 sc_core::sc_object *Object::get_parent_object() const 275 pickUniqueName(::sc_core::sc_object *parent, std::string base) 291 const std::vector<sc_core::sc_object *> & 297 sc_core::sc_object * [all...] |
H A D | sc_simcontext.cc | 60 sc_object * 70 sc_object *
|
/gem5/src/systemc/ext/core/ |
H A D | sc_object.hh | 52 class sc_object class in namespace:sc_core 58 virtual const char *kind() const { return "sc_object"; } 63 virtual const std::vector<sc_object *> &get_child_objects() const; 65 sc_object *get_parent_object() const; 79 sc_object(); 80 sc_object(const char *); 81 sc_object(const sc_object &); 82 sc_object &operator = (const sc_object [all...] |
H A D | sc_simcontext.hh | 45 sc_object *first_object(); 46 sc_object *next_object();
|
H A D | sc_process_handle.hh | 38 #include "sc_object.hh" 120 class sc_process_b : public sc_object 123 sc_process_b(const char *name) : sc_object(name), file(nullptr), lineno(0) 125 sc_process_b() : sc_object(), file(nullptr), lineno(0) {} 159 explicit sc_process_handle(sc_object *); 183 const std::vector<sc_object *> &get_child_objects() const; 185 sc_object *get_parent_object() const; 186 sc_object *get_process_object() const;
|
/gem5/src/systemc/tests/systemc/kernel/sc_object/test02/ |
H A D | test02.cpp | 42 class Name : public sc_object { 44 Name(const char* name) : sc_object(name) 48 class NoName : public sc_object { 50 NoName() : sc_object()
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_object.h | 22 sc_object.h -- Abstract base class of all SystemC `simulation' objects. 48 // CLASS : sc_object 53 class sc_object class in namespace:sc_core 81 virtual const char* kind() const { return "sc_object"; } 109 virtual const std::vector<sc_object*>& get_child_objects() const 112 sc_object* get_parent() const; 113 sc_object* get_parent_object() const { return m_parent; } 117 sc_object(); 118 sc_object(const char* nm); 120 sc_object( cons [all...] |
H A D | sc_object_manager.h | 39 class sc_object; 52 friend class sc_object; 61 sc_object* m_object_p; // if non-null this is an sc_object. 66 typedef std::vector<sc_object*> object_vector_t; 73 sc_object* find_object(const char* name); 74 sc_object* first_object(); 75 sc_object* next_object(); 77 void hierarchy_push(sc_object* mdl); 78 sc_object* hierarchy_po [all...] |
H A D | sc_object_int.h | 32 #include "sysc/kernel/sc_object.h" 39 class sc_object::hierarchy_scope 42 explicit hierarchy_scope(sc_object* obj); 56 sc_object::hierarchy_scope::hierarchy_scope( sc_object* obj ) 70 sc_object::hierarchy_scope::hierarchy_scope( sc_module* mod ) 79 sc_object::hierarchy_scope::~hierarchy_scope() 89 sc_object::do_simulation_phase_callback()
|
H A D | sc_object.cpp | 22 sc_object.cpp -- Abstract base class of all SystemC objects. 40 #include "sysc/kernel/sc_object.h" 65 // CLASS : sc_object 71 sc_object::add_child_event( sc_event* event_p ) 78 sc_object::add_child_object( sc_object* object_ ) 85 sc_object::basename() const 93 sc_object::print(::std::ostream& os) const 99 sc_object::dump(::std::ostream& os) const 121 // |"sc_object 206 sc_object::sc_object() : function in class:sc_core::sc_object 213 sc_object::sc_object( const sc_object& that ) : function in class:sc_core::sc_object 227 sc_object::sc_object(const char* nm) : function in class:sc_core::sc_object [all...] |
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_writer_policy.h | 43 class sc_object; 47 sc_signal_invalid_writer( sc_object* target, sc_object* first_writer, 48 sc_object* second_writer, bool check_delta ); 73 bool check_write( sc_object* /* target */, bool /* value_changed */ ) 80 bool check_write( sc_object* target, bool value_changed ); 86 sc_object* m_writer_p; 96 bool check_write( sc_object* target, bool value_changed ) 108 bool check_port( sc_object*, sc_port_base*, bool ) argument 114 bool check_port( sc_object* targe [all...] |
H A D | sc_mutex.cpp | 43 : sc_object( sc_gen_unique_name( "mutex" ) ), 49 : sc_object( name_ ), 118 // Andy Goodrich: changed object derivation to use sc_object rather than
|
H A D | sc_export.cpp | 42 sc_export_base::sc_export_base() : sc_object(sc_gen_unique_name("export")) 47 sc_export_base::sc_export_base(const char* name_) : sc_object(name_) 75 sc_object::hierarchy_scope scope( parent ); 91 sc_object::hierarchy_scope scope( parent ); 107 sc_object::hierarchy_scope scope( parent ); 123 sc_object::hierarchy_scope scope( parent );
|
H A D | sc_semaphore.cpp | 60 : sc_object( sc_gen_unique_name( "semaphore" ) ), 70 : sc_object( name_ ), 132 // Andy Goodrich: changed object derivation to use sc_object rather than
|
H A D | sc_mutex.h | 33 #include "sysc/kernel/sc_object.h" 47 public sc_object 102 // Andy Goodrich: changed object derivation to use sc_object rather than
|
/gem5/src/systemc/ext/channel/ |
H A D | sc_mutex.hh | 34 #include "../core/sc_object.hh" 41 class sc_mutex : public sc_mutex_if, public sc_object 55 sc_mutex(const sc_mutex &) : sc_interface(), sc_mutex_if(), sc_object() {}
|
H A D | sc_semaphore.hh | 34 #include "../core/sc_object.hh" 40 class sc_semaphore : public sc_semaphore_if, public sc_object 56 sc_interface(), sc_semaphore_if(), sc_object()
|
/gem5/src/systemc/channel/ |
H A D | sc_mutex.cc | 38 sc_object(sc_gen_unique_name("mutex")) 42 sc_interface(), sc_mutex_if(), sc_object(name)
|
/gem5/src/systemc/ext/tlm_core/1/analysis/ |
H A D | analysis_port.hh | 32 class tlm_analysis_port : public sc_core::sc_object, 36 tlm_analysis_port() : sc_core::sc_object() {} 37 tlm_analysis_port(const char *nm) : sc_core::sc_object(nm) {}
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_vector.cpp | 44 : sc_object( sc_gen_unique_name("vector") ) 49 std::vector< sc_object* > const & 53 objs_vec_ = new std::vector< sc_object* >; 60 if( sc_object* obj = object_cast(*it) ) 66 sc_object* 105 sc_object* parent_p = simc->active_object(); 168 // - supports virtual inheritance from sc_object again 170 // - still requires element type to be derived from sc_object
|
/gem5/src/systemc/tests/systemc/compliance_1666/test210/ |
H A D | test210.cpp | 12 void recurse_hierarchy(sc_object* obj)
15 std::vector<sc_object*> children = obj->get_child_objects();
16 for (std::vector<sc_object*>::iterator i = children.begin(); i != children.end(); i++)
40 sc_object* obj;
67 std::vector<sc_object*> tops = sc_get_top_level_objects();
91 sc_object* obj;
|
/gem5/src/systemc/utils/ |
H A D | sc_vector.cc | 62 const std::vector<sc_object *> & 67 sc_object *obj_ptr = objectCast(ptr);
|
/gem5/src/systemc/ext/tlm_utils/ |
H A D | convenience_socket_bases.h | 25 class sc_object; 44 virtual const sc_core::sc_object *get_socket() const = 0;
|