aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGus Smith <gus@normalcomputing.ai>2026-05-29 11:03:47 -0700
committerGus Smith <gus@normalcomputing.ai>2026-05-29 11:03:47 -0700
commitd5fe22de89fa904c7bf19320e348258d678142a3 (patch)
treeea6f480fa6002f002e988a245334cfe13d6a183b
parentdb0dc94d8a3161333b21636aacdfb9ce9284a16b (diff)
downloaddram-bender-d5fe22de89fa904c7bf19320e348258d678142a3.tar.gz
Add constructor
-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"))