Searched refs:module (Results 1 - 25 of 73) sorted by relevance

123

/gem5/ext/mcpat/cacti/
H A Dcacti.i1 %module cacti
/gem5/src/python/pybind11/
H A Dpybind.hh45 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 Dstats.cc65 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 Dtest01.cpp54 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__.py40 for module in modules.keys():
41 if module.startswith('m5.objects.'):
42 exec("from %s import *" % module)
/gem5/src/python/m5/internal/
H A Dparams.py47 for name, module in inspect.getmembers(_m5):
/gem5/src/sim/
H A Dpython.cc38 sim_pybind(pybind11::module &m_internal)
40 pybind11::module m = m_internal.def_submodule("sim");
H A Dinit.hh87 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 Dtest01.cpp48 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 Dtest_interpreter.cpp54 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 Dpython.hh53 virtual void run(pybind11::module &systemc) = 0;
H A Dpython.cc65 systemc_pybind(pybind11::module &m_internal)
67 pybind11::module m = m_internal.def_submodule("systemc");
/gem5/ext/ply/test/
H A Dlex_module.py9 lex.lex(module=lex_module_import)
/gem5/src/systemc/tests/systemc/utils/sc_vector/test03/
H A Dtest03.cpp49 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 Dtest16.cpp41 SC_MODULE(module)
43 SC_CTOR(module)
89 module m("m");
/gem5/src/systemc/tests/systemc/utils/sc_vector/test07/
H A Dtest07.cpp46 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 Dsc_module.hh52 * 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 Dembed.cpp15 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 Dpygen.cc83 pybind_init_tracers(py::module &m_native)
87 py::module m = m_native.def_submodule("trace");
/gem5/ext/pybind11/tests/
H A Dpybind11_tests.cpp29 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 Dtest_async.cpp21 py::object loop = py::module::import("asyncio.events").attr("get_event_loop")();
H A Dpybind11_tests.h13 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 Dglobal_quantum_python.cc39 run(pybind11::module &systemc) override
/gem5/src/systemc/tests/systemc/bugs/async_reset_init/
H A Dasync_reset_init.cpp31 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 Dtest03.cpp107 SC_MODULE(module)
114 SC_CTOR(module)
142 module mod("top");

Completed in 17 milliseconds

123