/gem5/src/systemc/channel/ |
H A D | sc_in_resolved.cc | 11 * neither the name of the copyright holders nor the names of its 39 sc_in_resolved::sc_in_resolved(const char *name) : argument 40 sc_in<sc_dt::sc_logic>(name) 50 std::string msg = csprintf("port '%s' (%s)", name(), kind());
|
/gem5/ext/systemc/src/sysc/tracing/ |
H A D | sc_vcd_trace.h | 30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 80 // `Name' forms the base of the name to which `.vcd' is added. 81 vcd_trace_file(const char *name); 92 void trace(const bool& object, const std::string& name); 96 const std::string& name); 99 void trace(const sc_dt::sc_logic& object, const std::string& name); 102 void trace(const unsigned char& object, const std::string& name, 106 void trace(const unsigned short& object, const std::string& name, 110 void trace(const unsigned int& object, const std::string& name, 114 void trace(const unsigned long& object, const std::string& name, 173 traceT(const T& object, const std::string& name, vcd_enum type=VCD_WIRE) argument [all...] |
H A D | sc_wif_trace.h | 30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 78 // `Name' forms the base of the name to which `.awif' is added. 79 explicit wif_trace_file(const char *name); 88 void trace(const bool& object, const std::string& name); 91 void trace(const sc_dt::sc_bit& object, const std::string& name); 94 void trace(const sc_dt::sc_logic& object, const std::string& name); 97 void trace(const unsigned char& object, const std::string& name, 101 void trace(const unsigned short& object, const std::string& name, 105 void trace(const unsigned int& object, const std::string& name, 109 void trace(const unsigned long& object, const std::string& name, 168 traceT(const T& object, const std::string& name, wif_enum type) argument [all...] |
H A D | sc_trace.cpp | 30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 91 const std::string& name, 95 tf->trace( object.read(), name, width ); 102 const std::string& name, 106 tf->trace( object.read(), name, width ); 113 const std::string& name, 117 tf->trace( object.read(), name, width ); 124 const std::string& name, 128 tf->trace( object.read(), name, width ); 136 const std::string& name) 89 sc_trace( sc_trace_file* tf, const sc_signal_in_if<char>& object, const std::string& name, int width ) argument 100 sc_trace( sc_trace_file* tf, const sc_signal_in_if<short>& object, const std::string& name, int width ) argument 111 sc_trace( sc_trace_file* tf, const sc_signal_in_if<int>& object, const std::string& name, int width ) argument 122 sc_trace( sc_trace_file* tf, const sc_signal_in_if<long>& object, const std::string& name, int width ) argument 134 sc_trace(sc_trace_file* , const void* , const std::string& name) argument 199 sc_trace( sc_trace_file* tf, const unsigned int& object, const std::string& name, const char** enum_literals ) argument [all...] |
/gem5/tests/gem5/memory/ |
H A D | test.py | 11 # neither the name of the copyright holders nor the names of its 36 name='simple_mem_default', variable 52 for name, params in simple_mem_params: 56 name='simple_mem_' + name, variable 64 name='memtest', variable
|
/gem5/src/systemc/core/ |
H A D | sc_attr.cc | 11 * neither the name of the copyright holders nor the names of its 41 const std::string &sc_attr_base::name() const { return _name; } function in class:sc_core::sc_attr_base 74 if (!attr || (*this)[attr->name()]) 82 sc_attr_cltn::operator [] (const std::string &name) argument 85 if (attr->name() == name) 91 sc_attr_cltn::operator [] (const std::string &name) const 94 if (attr->name() == name) 100 sc_attr_cltn::remove(const std::string &name) argument [all...] |
H A D | sc_module_name.cc | 11 * neither the name of the copyright holders nor the names of its 41 sc_module_name::sc_module_name(const char *name) : argument 42 _name(name), _gem5_module(nullptr), _on_the_stack(true) 49 _gem5_module = new sc_gem5::Module(name);
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | typeid.h | 32 PYBIND11_NOINLINE inline void clean_type_id(std::string &name) { argument 36 abi::__cxa_demangle(name.c_str(), nullptr, nullptr, &status), std::free }; 38 name = res.get(); 40 detail::erase_all(name, "class "); 41 detail::erase_all(name, "struct "); 42 detail::erase_all(name, "enum "); 44 detail::erase_all(name, "pybind11::"); 50 std::string name(typeid(T).name()); 51 detail::clean_type_id(name); [all...] |
/gem5/configs/common/ |
H A D | HWPConfig.py | 11 # neither the name of the copyright holders nor the names of its 56 def get(name): 57 """Get a HWP class from a user provided class name or alias.""" 60 hwp_class = _hwp_classes[name] 63 print("%s is not a valid HWP model." % (name,)) 71 for name, cls in _hwp_classes.items(): 72 print("\t%s" % name) 86 for name, cls in inspect.getmembers(m5.objects, is_hwp_class): 87 _hwp_classes[name] = cls
|
/gem5/ext/libfdt/ |
H A D | libfdt.h | 140 #define __fdt_set_hdr(name) \ 141 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 144 fdth->name = cpu_to_fdt32(val); \ 247 * @name: name of the subnode to locate 248 * @namelen: number of characters of name to consider 251 * namelen characters of name for matching the subnode name. This is 256 const char *name, int namelen); 261 * @name 443 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 528 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 866 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 901 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 913 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 978 fdt_property_u32(void *fdt, const char *name, uint32_t val) argument 983 fdt_property_u64(void *fdt, const char *name, uint64_t val) argument 988 fdt_property_cell(void *fdt, const char *name, uint32_t val) argument 1138 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1173 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1185 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1280 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1315 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1327 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
/gem5/src/base/ |
H A D | output.cc | 25 * neither the name of the copyright holders nor the names of its 68 OutputStream::OutputStream(const std::string &name, std::ostream *stream) argument 69 : _name(name), _stream(stream) 84 const std::string &name, 87 : OutputStream(name, new stream_type_t()), 122 OutputDirectory::OutputDirectory(const std::string &name) argument 124 setDirectory(name); 136 OutputDirectory::checkForStdio(const string &name) argument 138 if (name == "cerr" || name 83 OutputFile(const OutputDirectory &dir, const std::string &name, std::ios_base::openmode mode, bool recreateable) argument 206 create(const string &name, bool binary, bool no_gz) argument 220 open(const std::string &name, ios_base::openmode mode, bool recreateable, bool no_gz) argument 258 findOrCreate(const std::string &name, bool binary) argument 279 createSubdirectory(const string &name) argument 292 remove(const string &name, bool recursive) argument [all...] |
/gem5/ext/googletest/googlemock/scripts/generator/cpp/ |
H A D | ast.py | 135 def _StringHelper(self, name, suffix): 137 return '%s(%s)' % (name, suffix) 138 return '%s(%d, %d, %s)' % (name, self.start, self.end, suffix) 145 def __init__(self, start, end, name, definition): 147 self.name = name 151 value = '%s %s' % (self.name, self.definition) 214 def __init__(self, start, end, name, parameter_type, default): 216 self.name = name [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | embed.h | 20 # define PYBIND11_EMBEDDED_MODULE_IMPL(name) \ 21 extern "C" PyObject *pybind11_init_impl_##name() { \ 22 return pybind11_init_wrapper_##name(); \ 25 # define PYBIND11_EMBEDDED_MODULE_IMPL(name) \ 26 extern "C" void pybind11_init_impl_##name() { \ 27 pybind11_init_wrapper_##name(); \ 33 defined in global scope. The first macro parameter is the name of the 46 #define PYBIND11_EMBEDDED_MODULE(name, variable) \ 47 static void PYBIND11_CONCAT(pybind11_init_, name)(pybind11::module &); \ 48 static PyObject PYBIND11_CONCAT(*pybind11_init_wrapper_, name)() { \ 77 embedded_module(const char *name, init_t init) argument [all...] |
/gem5/src/sim/power/ |
H A D | power_model.hh | 21 * neither the name of the copyright holders nor the names of its 91 .name(params()->name + ".dynamic_power") 97 .name(params()->name + ".static_power") 142 .name(params()->name + ".dynamic_power") 148 .name(params()->name + ".static_power") 165 const std::string &name) 164 ThermalProbeListener(PowerModel &_pm, ProbeManager *pm, const std::string &name) argument [all...] |
/gem5/src/python/m5/util/ |
H A D | pybind.py | 20 # neither the name of the copyright holders nor the names of its 51 def __init__(self, name, cxx_name=None, writable=True): 52 self.name = name 53 self.cxx_name = cxx_name if cxx_name else name 58 code('.${export}("${{self.name}}", &${cname}::${{self.cxx_name}})') 61 def __init__(self, name, cxx_name=None, args=None, 63 self.name = name 64 self.cxx_name = cxx_name if cxx_name else name [all...] |
/gem5/ext/fputils/tests/ |
H A D | fp80_cvtd.c | 48 test_fp80_cvtd_class(const char *name, fp80_t fin, int class) argument 53 test_fail(name); 55 test_ok(name); 60 test_fp80_cvtd_inf(const char *name, fp80_t fin, int expected_inf_class) argument 65 test_fail(name); 67 test_ok(name);
|
/gem5/src/systemc/tests/systemc/kernel/process_control/suspend_resume/test1/ |
H A D | test1.cpp | 26 // CVS MODIFICATION LOG - modifiers, enter your name, affiliation, date and 101 const char* name = "stimulator"; local 104 time_stamp(cout) << name << ": resuming target_cthread0" << endl; 111 time_stamp(cout) << name << ": resuming target_method0" << endl; 118 time_stamp(cout) << name << ": resuming target_thread0" << endl; 125 time_stamp(cout) << name << ": terminating" << endl; 132 const char* name = "target_cthread0"; local 134 time_stamp(cout) << name << ": starting" << endl; 135 time_stamp(cout) << name << ": issuing self suspend" << endl; 139 time_stamp(cout) << name << " 153 const char* name = "target_method0"; local 183 const char* name = "target_thread0"; local [all...] |
/gem5/util/m5/ |
H A D | m5op_x86.S | 12 * neither the name of the copyright holders nor the names of its 37 #define TWO_BYTE_OP(name, number) \ 38 .globl name; \ 39 .func name; \ 40 name: \ label 51 #define TWO_BYTE_OP(name, number) \ 52 .globl name; \ 53 .func name; \ 54 name: \ label 67 #define TWO_BYTE_OP(name, numbe 70 name: \\ label [all...] |
/gem5/src/systemc/tests/systemc/communication/sc_signal/constructors/ |
H A D | test01.cpp | 30 MODIFICATION LOG - modifiers, enter your name, affiliation, date and 51 cout << sig1.name() << " = " << sig1.read() << endl; 52 cout << sig2.name() << " = " << sig2.read() << endl; 53 cout << sig3.name() << " = " << sig3.read() << endl;
|
/gem5/src/systemc/ |
H A D | sc_port_wrapper.hh | 11 * neither the name of the copyright holders nor the names of its 59 ScPortWrapper(ScPort& p, const std::string& name, PortID id) argument 60 : Port(name, id), port_(p) 86 name(), peer.name()); 99 ScInterfaceWrapper(IF& i, const std::string name, PortID id) argument 100 : Port(name, id), iface_(i) 122 name(), peer.name()); 140 ScExportWrapper(ScExport& p, const std::string& name, PortI argument [all...] |
/gem5/ext/mcpat/ |
H A D | cachecontroller.cc | 14 * neither the name of the copyright holders nor the names of its 39 name = "Cache Controller";
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test08/ |
H A D | test08.cpp | 35 : name(nm) 37 std::string name; member in struct:foo 53 sc_assert( sc_assemble_vector( foo_vec, &foo::name ).size() == 1 ); 55 sc_assert( sc_assemble_vector( foo_vec, &foo::name )
|
/gem5/tests/gem5/test_build/ |
H A D | test_build.py | 11 # neither the name of the copyright holders nor the names of its 49 name = 'build-{isa}-{var}'.format(isa=isa, var=variant) variable 52 function = TestFunction(lambda fixtures: True, name, 54 TestSuite(name=name, tests=[function], tags=tags)
|
/gem5/util/systemc/systemc_within_gem5/systemc_simple_object/ |
H A D | printer.cc | 11 * neither the name of the copyright holders nor the names of its 43 Printer *printer = new Printer(name.c_str());
|
/gem5/src/arch/alpha/ |
H A D | osfpal.cc | 12 * neither the name of the copyright holders nor the names of its 34 PAL::name(int index) function in class:PAL
|