/gem5/ext/mcpat/cacti/ |
H A D | cacti.i | 1 %module cacti
|
/gem5/src/python/pybind11/ |
H A D | pybind.hh | 45 void pybind_init_core(pybind11::module &m_native); 46 void pybind_init_debug(pybind11::module &m_native); 48 void pybind_init_event(pybind11::module &m_native); 49 void pybind_init_stats(pybind11::module &m_native);
|
H A D | stats.cc | 65 py::module m = py::module::import("m5.stats"); 72 py::module m = py::module::import("m5.stats"); 79 pybind_init_stats(py::module &m_native) 81 py::module m = m_native.def_submodule("stats");
|
/gem5/src/systemc/tests/systemc/kernel/sc_object/test01/ |
H A D | test01.cpp | 54 mod_a module("module"); 61 module.add_attribute(a1); 62 module.add_attribute(a2); 63 module.add_attribute(a3); 66 sc_attr_cltn& att_cltn = module.attr_cltn(); 73 module.dump(cout); 74 module.dump(); 77 module.print(); 79 cout<<endl<<endl<<"Module base name: "<<module [all...] |
/gem5/src/python/m5/objects/ |
H A D | __init__.py | 40 for module in modules.keys(): 41 if module.startswith('m5.objects.'): 42 exec("from %s import *" % module)
|
/gem5/src/python/m5/internal/ |
H A D | params.py | 47 for name, module in inspect.getmembers(_m5):
|
/gem5/src/sim/ |
H A D | python.cc | 38 sim_pybind(pybind11::module &m_internal) 40 pybind11::module m = m_internal.def_submodule("sim");
|
H A D | init.hh | 87 void (*init_func)(pybind11::module &), 91 void (*init_func)(pybind11::module &)); 100 void (*initFunc)(pybind11::module &); 103 void init(pybind11::module &m);
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test01/ |
H A D | test01.cpp | 48 SC_MODULE( module ) 56 module( sc_core::sc_module_name, unsigned n_sub ) function 72 module m("dut", 4);
|
/gem5/ext/pybind11/tests/test_embed/ |
H A D | test_interpreter.cpp | 54 auto module = py::module::import("test_interpreter"); variable 55 REQUIRE(py::hasattr(module, "DerivedWidget")); 57 auto locals = py::dict("hello"_a="Hello, World!", "x"_a=5, **module.attr("__dict__")); 64 auto py_widget = module.attr("DerivedWidget")("The question"); 73 REQUIRE_NOTHROW(py::module::import("widget_module")); 74 REQUIRE_THROWS_WITH(py::module::import("throw_exception"), 76 REQUIRE_THROWS_WITH(py::module::import("throw_error_already_set"), 110 REQUIRE(py::module::import("widget_module").attr("add")(1, 2).cast<int>() == 3); 113 REQUIRE(py::module [all...] |
/gem5/src/systemc/core/ |
H A D | python.hh | 53 virtual void run(pybind11::module &systemc) = 0;
|
H A D | python.cc | 65 systemc_pybind(pybind11::module &m_internal) 67 pybind11::module m = m_internal.def_submodule("systemc");
|
/gem5/ext/ply/test/ |
H A D | lex_module.py | 9 lex.lex(module=lex_module_import)
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test03/ |
H A D | test03.cpp | 49 SC_MODULE( module ) 53 module( sc_core::sc_module_name, unsigned n_sub ); // constructor 61 return new sub_module( name, param ); // forward param to sub-module 71 module::module( sc_core::sc_module_name, unsigned n_sub ) function in class:module 80 module dut( "dut", 5 );
|
/gem5/src/systemc/tests/systemc/tracing/vcd_trace/test16/ |
H A D | test16.cpp | 41 SC_MODULE(module) 43 SC_CTOR(module) 89 module m("m");
|
/gem5/src/systemc/tests/systemc/utils/sc_vector/test07/ |
H A D | test07.cpp | 46 SC_MODULE( module ) 54 module( sc_core::sc_module_name, unsigned n_sub ) function 58 // bind ports of submodules (before initialisation of module vector) 61 // initialise module vector 87 module m("dut", 4);
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | sc_module.hh | 52 * thread on that module implements the gem5 event loop. 70 /** A SystemC module implementing the gem5 event queue. This object 79 * notify the module so that the yielding 'wait' can be interrupted. 80 * From the point of view of another SystemC module calling into gem5, 112 Module &module; member in class:Gem5SystemC::Module::SCEventQueue 116 Module &module_) : EventQueue(name), module(module_) 119 /** Signal module to wakeup */ 137 static void setupEventQueues(Module &module);
|
/gem5/ext/pybind11/tests/test_cmake_build/ |
H A D | embed.cpp | 15 auto m = py::module::import("test_cmake_build"); 19 py::module::import("sys").attr("argv") = py::make_tuple("test.py", "embed.cpp");
|
/gem5/src/cpu/testers/traffic_gen/ |
H A D | pygen.cc | 83 pybind_init_tracers(py::module &m_native) 87 py::module m = m_native.def_submodule("trace");
|
/gem5/ext/pybind11/tests/ |
H A D | pybind11_tests.cpp | 29 std::list<std::function<void(py::module &)>> &initializers() { 30 static std::list<std::function<void(py::module &)>> inits; 39 initializers().push_back([=](py::module &parent) { 45 void bind_ConstructorStats(py::module &m) { 66 m.doc() = "pybind11 test module";
|
H A D | test_async.cpp | 21 py::object loop = py::module::import("asyncio.events").attr("get_event_loop")();
|
H A D | pybind11_tests.h | 13 using Initializer = void (*)(py::module &); 21 void test_submodule_##name(py::module &); \ 23 void test_submodule_##name(py::module &variable)
|
/gem5/src/systemc/tlm_core/2/quantum/ |
H A D | global_quantum_python.cc | 39 run(pybind11::module &systemc) override
|
/gem5/src/systemc/tests/systemc/bugs/async_reset_init/ |
H A D | async_reset_init.cpp | 31 SC_MODULE(module) 36 SC_CTOR(module) 98 }; // SC_MODULE(module) 108 module top("top");
|
/gem5/src/systemc/tests/systemc/kernel/phase_callbacks/test03/ |
H A D | test03.cpp | 107 SC_MODULE(module) 114 SC_CTOR(module) 142 module mod("top");
|