aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/api/pySoftMC/pySoftMC.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/api/pySoftMC/pySoftMC.cpp b/sources/api/pySoftMC/pySoftMC.cpp
index b7a53bd..6f01620 100644
--- a/sources/api/pySoftMC/pySoftMC.cpp
+++ b/sources/api/pySoftMC/pySoftMC.cpp
@@ -58,6 +58,7 @@ PYBIND11_MODULE(pySoftMC, m)
py::class_<SoftMCPlatform>(m, "SoftMCPlatform")
.def(py::init())
+ .def(py::init<int>(), py::arg("dimm_select"))
.def("init", &SoftMCPlatform::init)
.def("reset_fpga", &SoftMCPlatform::reset_fpga)
.def("execute", &SoftMCPlatform::execute, py::arg("program"))