sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
Functions | Variables
last_neuron_selection_impl.c File Reference

Support code for last_neuron_selection_impl.h. More...

#include "last_neuron_selection_impl.h"

Go to the source code of this file.

Functions

void partner_init (uint8_t **data)
 Initialise the partner selection rule.
 

Variables

spike_tlast_spikes_buffer [2]
 Spike accumulation buffers.
 
uint32_t n_spikes [2]
 Spike buffer counters.
 
uint32_t last_spikes_buffer_size
 Size of each sub-array within last_spikes_buffer.
 
uint32_t last_time
 The time of the most recently-considered spike.
 

Detailed Description

Support code for last_neuron_selection_impl.h.

Definition in file last_neuron_selection_impl.c.

Function Documentation

◆ partner_init()

void partner_init ( uint8_t **  data)

Initialise the partner selection rule.

Parameters
[in,out]dataA variable holding the location in SDRAM to configure the rule from. Will be updated to point to the first location after the configuration data.

Definition at line 28 of file last_neuron_selection_impl.c.

Variable Documentation

◆ last_spikes_buffer

spike_t* last_spikes_buffer[2]

Spike accumulation buffers.

Two arrays, one for current timestep, one for previous

Definition at line 21 of file last_neuron_selection_impl.c.

◆ n_spikes

uint32_t n_spikes[2]

Spike buffer counters.

Two counters, one for current timestep, one for previous

Definition at line 22 of file last_neuron_selection_impl.c.

◆ last_spikes_buffer_size

uint32_t last_spikes_buffer_size

Size of each sub-array within last_spikes_buffer.

Definition at line 24 of file last_neuron_selection_impl.c.

◆ last_time

uint32_t last_time

The time of the most recently-considered spike.

Definition at line 26 of file last_neuron_selection_impl.c.