Allow weight change.
More...
Go to the source code of this file.
|
bool | synapse_dynamics_initialise (address_t address, uint32_t n_neurons, uint32_t n_synapse_types, uint32_t *ring_buffer_to_input_buffer_left_shifts) |
| Initialise the synapse dynamics.
|
|
void | synapse_dynamics_process_post_synaptic_event (uint32_t time, index_t neuron_index) |
| Inform the synapses that the neuron fired.
|
|
static fixed_stdp_synapse | synapse_dynamics_stdp_get_fixed (uint32_t control_word, uint32_t time, uint32_t colour_delay) |
|
static void | synapse_dynamics_stdp_update_ring_buffers (weight_t *ring_buffers, fixed_stdp_synapse s, int32_t weight) |
|
static updatable_synapse_t | process_plastic_synapse (uint32_t pre_spike, uint32_t control_word, weight_t *ring_buffers, uint32_t time, uint32_t colour_delay, updatable_synapse_t synapse, uint32_t *changed) |
|
static int16_t | change_sign (weight_t weight) |
|
static void | process_weight_update (synapse_row_plastic_data_t *plastic_region_address, synapse_row_fixed_part_t *fixed_region) |
|
bool | synapse_dynamics_process_plastic_synapses (synapse_row_plastic_data_t *plastic_region_address, synapse_row_fixed_part_t *fixed_region, weight_t *ring_buffers, uint32_t time, uint32_t colour_delay, bool *write_back) |
| Process the dynamics of the synapses.
|
|
input_t | synapse_dynamics_get_intrinsic_bias (uint32_t time, index_t neuron_index) |
|
uint32_t | synapse_dynamics_get_plastic_pre_synaptic_events (void) |
| Get the counters for plastic pre synaptic events based on (if the model was compiled with SYNAPSE_BENCHMARK parameter) or returns 0.
|
|
uint32_t | synapse_dynamics_get_plastic_saturation_count (void) |
| Get the number of ring buffer saturation events due to adding plastic weights.
|
|
Allow weight change.
Definition in file synapse_dynamics_external_weight_change.c.
◆ limits
Data Fields |
weight_t |
min |
|
weight_t |
max |
|
◆ change_params
Data Fields |
uint32_t |
n_limits |
|
limits |
weight_limits[] |
|
◆ updatable_synapse_t
struct updatable_synapse_t |
Data Fields |
weight_t |
weight |
|
◆ synapse_row_plastic_data_t
struct synapse_row_plastic_data_t |
◆ fixed_stdp_synapse
struct fixed_stdp_synapse |
Data Fields |
uint32_t |
delay_dendritic |
|
uint32_t |
delay_axonal |
|
uint32_t |
type |
|
uint32_t |
index |
|
uint32_t |
type_index |
|
uint32_t |
ring_buffer_index |
|
uint32_t |
delay |
|
◆ synapse_dynamics_initialise()
bool synapse_dynamics_initialise |
( |
address_t |
address, |
|
|
uint32_t |
n_neurons, |
|
|
uint32_t |
n_synapse_types, |
|
|
uint32_t * |
ring_buffer_to_input_buffer_left_shifts |
|
) |
| |
Initialise the synapse dynamics.
- Parameters
-
[in] | address | Where the configuration data is |
[in] | n_neurons | Number of neurons |
[in] | n_synapse_types | Number of synapse types |
[in] | ring_buffer_to_input_buffer_left_shifts | How to interpret the values from the ring buffers |
- Returns
- Whether the initialisation succeeded.
Definition at line 65 of file synapse_dynamics_external_weight_change.c.
◆ synapse_dynamics_process_post_synaptic_event()
void synapse_dynamics_process_post_synaptic_event |
( |
uint32_t |
time, |
|
|
index_t |
neuron_index |
|
) |
| |
◆ synapse_dynamics_stdp_get_fixed()
static fixed_stdp_synapse synapse_dynamics_stdp_get_fixed |
( |
uint32_t |
control_word, |
|
|
uint32_t |
time, |
|
|
uint32_t |
colour_delay |
|
) |
| |
|
inlinestatic |
◆ synapse_dynamics_stdp_update_ring_buffers()
static void synapse_dynamics_stdp_update_ring_buffers |
( |
weight_t * |
ring_buffers, |
|
|
fixed_stdp_synapse |
s, |
|
|
int32_t |
weight |
|
) |
| |
|
inlinestatic |
◆ process_plastic_synapse()
static updatable_synapse_t process_plastic_synapse |
( |
uint32_t |
pre_spike, |
|
|
uint32_t |
control_word, |
|
|
weight_t * |
ring_buffers, |
|
|
uint32_t |
time, |
|
|
uint32_t |
colour_delay, |
|
|
updatable_synapse_t |
synapse, |
|
|
uint32_t * |
changed |
|
) |
| |
|
inlinestatic |
◆ change_sign()
static int16_t change_sign |
( |
weight_t |
weight | ) |
|
|
inlinestatic |
◆ process_weight_update()
◆ synapse_dynamics_process_plastic_synapses()
Process the dynamics of the synapses.
- Parameters
-
[in,out] | plastic_region_data | Where the plastic data is |
[in] | fixed_region | Where the fixed data is |
[in,out] | ring_buffers | The ring buffers |
[in] | time | The current simulation time |
[out] | Whether | to write back anything |
- Returns
- Whether the processing was successful or not
Definition at line 224 of file synapse_dynamics_external_weight_change.c.
◆ synapse_dynamics_get_intrinsic_bias()
input_t synapse_dynamics_get_intrinsic_bias |
( |
uint32_t |
time, |
|
|
index_t |
neuron_index |
|
) |
| |
◆ synapse_dynamics_get_plastic_pre_synaptic_events()
uint32_t synapse_dynamics_get_plastic_pre_synaptic_events |
( |
void |
| ) |
|
Get the counters for plastic pre synaptic events based on (if the model was compiled with SYNAPSE_BENCHMARK parameter) or returns 0.
- Returns
- counters for plastic pre synaptic events or 0
Definition at line 268 of file synapse_dynamics_external_weight_change.c.
◆ synapse_dynamics_get_plastic_saturation_count()
uint32_t synapse_dynamics_get_plastic_saturation_count |
( |
void |
| ) |
|
◆ post_event_history
◆ num_plastic_pre_synaptic_events
uint32_t num_plastic_pre_synaptic_events = 0 |
|
static |
◆ plastic_saturation_count
uint32_t plastic_saturation_count = 0 |
|
static |
◆ params