44 uint32_t *ring_buffer_to_input_buffer_left_shifts) {
49 if (dtcm_copy ==
NULL) {
50 log_error(
"Could not initialise weight region data");
55 log_error(
"Could not initialise weight region data");
68 weight_shift[s] = ring_buffer_to_input_buffer_left_shifts[s];
70 log_debug(
"\tSynapse type %u: Min weight:%d, Max weight:%d, A2+:%d, A2-:%d,"
71 " Weight multiply right shift:%u",
72 s, dtcm_copy[s].min_weight, dtcm_copy[s].max_weight,
73 dtcm_copy[s].a2_plus, dtcm_copy[s].a2_minus,
weight_shift[s]);
void log_error(const char *message,...)
void log_debug(const char *message,...)
static uint32_t n_synapse_types
The number of synapse types.
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.
uint32_t * weight_shift
Plasticity multiply shift array, in DTCM.
plasticity_weight_region_data_t * plasticity_weight_region_data
Global plasticity parameter data array, in DTCM.
How the configuration data for multiplicative is laid out in SDRAM. The layout is an array of these.
Multiplicative single-term weight dependence rule.
accum a2_plus
Scaling factor for weight delta on potentiation.
accum min_weight
Minimum weight.
accum max_weight
Maximum weight.
accum a2_minus
Scaling factor for weight delta on depression.
The configuration of the rule.