69 weight_t weight, uint32_t left_shift) {
95 uint32_t **ring_buffer_to_input_buffer_left_shifts,
96 bool* clear_input_buffers_of_late_packets_init,
97 uint32_t *incoming_spike_buffer_size);
107 uint32_t time, uint32_t spike_colour, uint32_t
colour_mask,
static weight_t * ring_buffers
The ring buffers to be used in the simulation.
static uint32_t colour_mask
The mask to apply to get the colour from the current timestep or key.
Data type definitions for SpiNNaker Neuron-modelling.
struct synaptic_row * synaptic_row_t
The type of a synaptic row.
static uint32_t n_neurons
The number of neurons on the core.
static uint32_t n_synapse_types
The number of synapse types.
void io_printf(char *stream, char *format,...)
implementation for handling the processing of synapse rows.
static input_t synapse_row_convert_weight_to_input(weight_t weight, uint32_t left_shift)
Converts a weight stored in a synapse row to an input.
uint32_t max_late_spike
The maximum lateness of a spike.
void synapses_flush_ring_buffers(timer_t time)
Reset the ring buffers to 0 at the given time.
uint32_t synapse_delay_mask
Mask to pick out the delay.
uint32_t synapse_type_index_bits
Number of bits needed for the synapse type and index.
uint32_t synapse_index_bits
Number of bits in the synapse index.
uint32_t synapse_index_mask
Mask to pick out the synapse index.
uint32_t synapses_saturation_count
Count of the number of times the synapses have saturated their weights.
void synapses_resume(timer_t time)
Resume processing of synapses after a pause.
static void synapses_print_weight(weight_t weight, uint32_t left_shift)
Print the weight of a synapse.
uint32_t synapses_get_pre_synaptic_events(void)
returns the counters for plastic and fixed pre synaptic events based on (if the model was compiled wi...
uint32_t synapse_delay_bits
Number of bits in the delay.
bool synapses_initialise(address_t synapse_params_address, uint32_t *n_neurons, uint32_t *n_synapse_types, weight_t **ring_buffers, uint32_t **ring_buffer_to_input_buffer_left_shifts, bool *clear_input_buffers_of_late_packets_init, uint32_t *incoming_spike_buffer_size)
Initialise the synapse processing.
uint32_t synapse_type_index_mask
Mask to pick out the synapse type and index.
uint32_t late_spikes
Count of the spikes that are received late.
bool synapses_process_synaptic_row(uint32_t time, uint32_t spike_colour, uint32_t colour_mask, synaptic_row_t row, bool *write_back)
process a synaptic row
uint32_t synapse_type_bits
Number of bits in the synapse type.
uint32_t skipped_synapses
uint32_t synapse_type_mask
Mask to pick out the synapse type.