15 lines
375 B
C++
15 lines
375 B
C++
|
|
#include <pybind11/pybind11.h>
|
|
|
|
#include "SpikeGeneration2DManyIP.h"
|
|
|
|
namespace py = pybind11;
|
|
|
|
PYBIND11_MODULE(PySpikeGeneration2DManyIP, m)
|
|
{
|
|
m.doc() = "SpikeGeneration2DManyIP Module";
|
|
py::class_<SpikeGeneration2DManyIP>(m, "SpikeGeneration2DManyIP")
|
|
.def(py::init<>())
|
|
.def("spike_generation",
|
|
&SpikeGeneration2DManyIP::spike_generation_entrypoint);
|
|
}
|