5 #include "pybind11/operators.h"
6 #include "pybind11/pybind11.h"
7 #include "pybind11/stl.h"
8 #include "pybind11/stl_bind.h"
10 namespace py = pybind11;
17 #ifdef PYBIND11_MODULE
18 PYBIND11_MODULE(verilator, m)
20 m.doc() =
"hal VerilatorSimulatorPlugin python bindings";
24 py::module m(
"verilator",
"hal VerilatorSimulatorPlugin python bindings");
27 py::class_<VerilatorSimulatorPlugin, RawPtrWrapper<VerilatorSimulatorPlugin>,
BasePluginInterface>(m,
"VerilatorSimulatorPlugin")
33 auto py_verilator = m.def_submodule(
"VerilatorSimulator");
37 #ifndef PYBIND11_MODULE
std::string get_name() const override
std::string get_version() const override
const Module * module(const Gate *g, const NodeBoxes &boxes)
bool convert_gate_library_to_verilog(const Netlist *nl, const std::filesystem::path verilator_sim_path, const std::filesystem::path model_path="")