Lines Matching refs:sc_time
33 #include "systemc/ext/core/sc_time.hh"
43 pybind11::class_<sc_core::sc_time> sc_time(systemc, "sc_time");
44 sc_time
48 .def(pybind11::init<const sc_core::sc_time &>())
51 .def("value", &sc_core::sc_time::value)
52 .def("to_double", &sc_core::sc_time::to_double)
53 .def("to_seconds", &sc_core::sc_time::to_seconds)
54 .def("to_string", &sc_core::sc_time::to_string)
55 .def("__str__", &sc_core::sc_time::to_string)
70 pybind11::enum_<sc_core::sc_time_unit>(sc_time, "sc_time_unit")