51 uint32_t *ring_buffer_to_input_buffer_left_shifts);
#define decay(x, d)
This is a type-generic decay "function".
Data type definitions for SpiNNaker Neuron-modelling.
static uint32_t n_synapse_types
The number of synapse types.
implementation for handling the processing of synapse rows.
address_t weight_initialise(address_t address, uint32_t n_synapse_types, uint32_t *ring_buffer_to_input_buffer_left_shifts)
Initialises the weight aspect of an STDP rule.
static weight_t weight_get_final(weight_state_t new_state)
Gets the final weight.
static weight_state_t weight_get_initial(weight_t weight, index_t synapse_type)
Gets the initial weight state.
static void weight_decay(weight_state_t *state, int32_t decay)
Decay the weight inside the state by multiplication.
static accum weight_get_update(weight_state_t state)
Get the weight inside during update in STDP fixed point format.
The current state data for the rule.