Class dynapse
Defined in File dynapse.hpp
Inheritance Relationships
Base Type
public libcaer::devices::usb
(Class usb)
Class Documentation
-
class dynapse : public libcaer::devices::usb
Public Functions
-
inline dynapse(uint16_t deviceID)
-
inline dynapse(uint16_t deviceID, uint8_t busNumberRestrict, uint8_t devAddressRestrict, const std::string &serialNumberRestrict)
-
inline struct caer_dynapse_info infoGet() const noexcept
-
inline virtual std::string toString() const noexcept override
-
inline void sendDataToUSB(const uint32_t *data, size_t numConfig) const
-
inline void writeSramWords(const uint16_t *data, uint32_t baseAddr, size_t numWords) const
-
inline void writePoissonSpikeRate(uint16_t neuronAddr, float rateHz) const
-
inline void writeSram(uint8_t coreId, uint8_t neuronAddrCore, uint8_t virtualCoreId, bool sx, uint8_t dx, bool sy, uint8_t dy, uint8_t sramId, uint8_t destinationCore) const
-
inline void writeSramN(uint16_t neuronAddr, uint8_t sramId, uint8_t virtualCoreId, bool sx, uint8_t dx, bool sy, uint8_t dy, uint8_t destinationCore) const
-
inline void writeCam(uint16_t inputNeuronAddr, uint16_t neuronAddr, uint8_t camId, uint8_t synapseType) const
Public Static Functions
-
static inline uint32_t biasDynapseGenerate(const struct caer_bias_dynapse dynapseBias) noexcept
-
static inline struct caer_bias_dynapse biasDynapseParse(const uint32_t dynapseBias) noexcept
-
static inline uint32_t generateCamBits(uint16_t inputNeuronAddr, uint16_t neuronAddr, uint8_t camId, uint8_t synapseType) noexcept
-
static inline uint32_t generateSramBits(uint16_t neuronAddr, uint8_t sramId, uint8_t virtualCoreId, bool sx, uint8_t dx, bool sy, uint8_t dy, uint8_t destinationCore) noexcept
-
static inline uint16_t coreXYToNeuronId(uint8_t coreId, uint8_t columnX, uint8_t rowY) noexcept
-
static inline uint16_t coreAddrToNeuronId(uint8_t coreId, uint8_t neuronAddrCore) noexcept
-
static inline uint16_t spikeEventGetX(const libcaer::events::SpikeEvent &event) noexcept
-
static inline uint16_t spikeEventGetY(const libcaer::events::SpikeEvent &event) noexcept
-
static inline uint16_t spikeEventGetX(const libcaer::events::SpikeEvent *event) noexcept
-
static inline uint16_t spikeEventGetY(const libcaer::events::SpikeEvent *event) noexcept
-
static inline libcaer::events::SpikeEvent spikeEventFromXY(uint16_t x, uint16_t y) noexcept
-
inline dynapse(uint16_t deviceID)