sPyNNaker neural_modelling 7.2.2
|
Data type definitions for SpiNNaker Neuron-modelling. More...
Go to the source code of this file.
Typedefs | |
typedef uint32_t | key_t |
The type of a SpiNNaker multicast message key word. | |
typedef uint32_t | payload_t |
The type of a SpiNNaker multicast message payload word. | |
typedef uint32_t | spike_t |
The type of a spike. | |
typedef struct synaptic_row * | synaptic_row_t |
The type of a synaptic row. | |
typedef REAL | input_t |
The type of an input. | |
typedef REAL | state_t |
The type of a state variable. | |
Functions | |
static key_t | spike_key (spike_t s) |
helper method to retrieve the key from a spike | |
static payload_t | spike_payload (spike_t s) |
helper method to retrieve the pay-load from a spike | |
Data type definitions for SpiNNaker Neuron-modelling.
Defines a spike with either a payload or not and implements the functionality to extract the key and payload in both cases. If the spike is compiled as not having a payload, the payload will always be returned as 0.
Definition in file neuron-typedefs.h.
typedef uint32_t key_t |
The type of a SpiNNaker multicast message key word.
Definition at line 39 of file neuron-typedefs.h.
typedef uint32_t payload_t |
The type of a SpiNNaker multicast message payload word.
Definition at line 41 of file neuron-typedefs.h.
typedef uint32_t spike_t |
The type of a spike.
Definition at line 78 of file neuron-typedefs.h.
typedef struct synaptic_row* synaptic_row_t |
The type of a synaptic row.
There is no definition of struct synaptic row
because it is a form of memory structure that C cannot encode as a single struct
.
It's actually this, with multiple variable length arrays intermixed with size counts:
The relevant implementation structures are:
Definition at line 118 of file neuron-typedefs.h.
The type of an input.
Definition at line 121 of file neuron-typedefs.h.
The type of a state variable.
Definition at line 124 of file neuron-typedefs.h.
helper method to retrieve the key from a spike
[in] | s | the spike to get the key from |
Definition at line 83 of file neuron-typedefs.h.
helper method to retrieve the pay-load from a spike
[in] | s | the spike to get the pay-load from |
Definition at line 91 of file neuron-typedefs.h.