Skip to content

Commit

Permalink
更新 svuvm.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Git authored Oct 14, 2024
1 parent 56cb6aa commit 1799610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/svuvm/svuvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ PYBIND11_MODULE(svuvm, m) {
s_vpi_vecval s;
s.aval = aval;
s.bval = bval;
}), py::arg("aval"), py::arg("bval"))
}), py::arg("aval") = 0, py::arg("bval") = 0)
.def_readwrite("aval", &s_vpi_vecval::aval)
.def_readwrite("bval", &s_vpi_vecval::bval);
}

m.def("uvm_report", &m_uvm_report_dpi, "report function", py::arg("severity"), py::arg("id"), py::arg("message"), py::arg("verbosity"), py::arg("file"), py::arg("linenum"));

m.def("int_str_max", &int_str_max, "Find the maximum of integers represented as strings.");
Expand Down

0 comments on commit 1799610

Please sign in to comment.