sPyNNaker neural_modelling 7.2.2
|
Support code for weight_additive_two_term_impl.h. More...
#include "weight_additive_two_term_impl.h"
Go to the source code of this file.
Data Structures | |
struct | additive_two_term_config_t |
How the configuration data for additive_two_term is laid out in SDRAM. The layout is an array of these. More... | |
Functions | |
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. | |
Variables | |
plasticity_weight_region_data_t * | plasticity_weight_region_data |
Global plasticity parameter data. | |
uint32_t * | weight_shift |
Plasticity multiply shift array, in DTCM. | |
Support code for weight_additive_two_term_impl.h.
Definition in file weight_additive_two_term_impl.c.
struct additive_two_term_config_t |
How the configuration data for additive_two_term is laid out in SDRAM. The layout is an array of these.
Definition at line 32 of file weight_additive_two_term_impl.c.
Data Fields | ||
---|---|---|
accum | min_weight | |
accum | max_weight | |
accum | a2_plus | |
accum | a2_minus | |
accum | a3_plus | |
accum | a3_minus |
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.
[in] | address | the absolute address in SRAM where the weight parameters are stored. |
[in] | n_synapse_types | The number of synapse types |
[in] | ring_buffer_to_input_buffer_left_shifts | how much a value needs to be shifted in the left direction to support comprises with fixed point arithmetic |
Definition at line 44 of file weight_additive_two_term_impl.c.
plasticity_weight_region_data_t* plasticity_weight_region_data |
Global plasticity parameter data.
Definition at line 25 of file weight_additive_two_term_impl.c.
uint32_t* weight_shift |
Plasticity multiply shift array, in DTCM.
Definition at line 28 of file weight_additive_two_term_impl.c.