sPyNNaker neural_modelling 7.2.2
|
Spike processing fast API. More...
#include <common/neuron-typedefs.h>
#include <common/in_spikes.h>
#include <spin1_api.h>
#include "synapse_row.h"
Go to the source code of this file.
Data Structures | |
struct | sdram_config |
A region of SDRAM used to transfer synapses. More... | |
struct | key_config |
struct | spike_processing_fast_provenance |
Provenance for spike processing. More... | |
Functions | |
bool | spike_processing_fast_initialise (uint32_t row_max_n_words, uint32_t spike_buffer_size, bool discard_late_packets, uint32_t pkts_per_ts_rec_region, uint32_t multicast_priority, struct sdram_config sdram_inputs_param, struct key_config key_config_param, weight_t *ring_buffers_param) |
Set up spike processing. | |
void | spike_processing_fast_time_step_loop (uint32_t time, uint32_t n_rewires) |
The main loop of spike processing to be run once per time step. Note that this function will not return until the end of the time step; it will only be interrupted by SDP or MC packets. | |
void | spike_processing_fast_store_provenance (struct spike_processing_fast_provenance *prov) |
Store any provenance data gathered from spike processing. | |
Spike processing fast API.
Definition in file spike_processing_fast.h.
struct sdram_config |
A region of SDRAM used to transfer synapses.
Definition at line 87 of file c_main_neurons.c.
struct key_config |
The key and mask being used to send spikes from neurons processed on this core.
Definition at line 39 of file spike_processing_fast.h.
struct spike_processing_fast_provenance |
Provenance for spike processing.
Definition at line 53 of file spike_processing_fast.h.
bool spike_processing_fast_initialise | ( | uint32_t | row_max_n_words, |
uint32_t | spike_buffer_size, | ||
bool | discard_late_packets, | ||
uint32_t | pkts_per_ts_rec_region, | ||
uint32_t | multicast_priority, | ||
struct sdram_config | sdram_inputs_param, | ||
struct key_config | key_config_param, | ||
weight_t * | ring_buffers_param | ||
) |
Set up spike processing.
[in] | row_max_n_words | The maximum row length in words |
[in] | spike_buffer_size | The size to make the spike buffer |
[in] | discard_late_packets | Whether to throw away packets not processed at the end of a time step or keep them for the next time step |
[in] | pkts_per_ts_rec_region | The ID of the recording region to record packets-per-time-step to |
[in] | multicast_priority | The priority of multicast processing |
[in] | sdram_inputs_param | Details of the SDRAM transfer for the ring buffers |
[in] | key_config_param | Details of the key used by the neuron core |
[in] | ring_buffers_param | The ring buffers to update with synapse weights |
Definition at line 599 of file spike_processing_fast.c.
void spike_processing_fast_time_step_loop | ( | uint32_t | time, |
uint32_t | n_rewires | ||
) |
The main loop of spike processing to be run once per time step. Note that this function will not return until the end of the time step; it will only be interrupted by SDP or MC packets.
[in] | time | The time step of the simulation |
[in] | n_rewires | The number of rewiring attempts to be done |
Definition at line 501 of file spike_processing_fast.c.
void spike_processing_fast_store_provenance | ( | struct spike_processing_fast_provenance * | prov | ) |
Store any provenance data gathered from spike processing.
[in] | prov | The structure to store the provenance data in |
Definition at line 644 of file spike_processing_fast.c.