sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
Functions
synaptogenesis_dynamics_static_impl.c File Reference

This file contains the static (non-)implementation of synaptogenesis. More...

#include "synaptogenesis_dynamics.h"
#include <debug.h>

Go to the source code of this file.

Functions

bool synaptogenesis_dynamics_initialise (address_t sdram_sp_address, uint32_t *recording_regions_used)
 Initialisation of synaptic rewiring (synaptogenesis) parameters (random seed, spread of receptive field etc.)
 
bool synaptogenesis_dynamics_rewire (uint32_t time, spike_t *spike, pop_table_lookup_result_t *result)
 Trigger the process of synaptic rewiring.
 
bool synaptogenesis_row_restructure (uint32_t time, synaptic_row_t row)
 Perform the actual restructuring of a row.
 
void synaptogenesis_spike_received (uint32_t time, spike_t spike)
 Indicates that a spike has been received.
 
uint32_t synaptogenesis_n_updates (void)
 Number of updates to do of synaptogenesis this time step.
 
void print_post_to_pre_entry (void)
 Print a certain data object.
 

Detailed Description

This file contains the static (non-)implementation of synaptogenesis.

No functionality is gained with this class.

Definition in file synaptogenesis_dynamics_static_impl.c.

Function Documentation

◆ synaptogenesis_dynamics_initialise()

bool synaptogenesis_dynamics_initialise ( address_t  sdram_sp_address,
uint32_t *  recording_regions_used 
)

Initialisation of synaptic rewiring (synaptogenesis) parameters (random seed, spread of receptive field etc.)

Parameters
[in]sdram_sp_addressAddress of the start of the SDRAM region which contains synaptic rewiring params.
[in,out]recording_regions_usedVariable used to track what recording regions have been used
Returns
Whether we were successful.

Definition at line 25 of file synaptogenesis_dynamics_static_impl.c.

◆ synaptogenesis_dynamics_rewire()

bool synaptogenesis_dynamics_rewire ( uint32_t  time,
spike_t spike,
pop_table_lookup_result_t result 
)

Trigger the process of synaptic rewiring.

Usually called on a timer registered in c_main()

Parameters
[in]timethe current timestep
[out]spikevariable to hold the spike
[out]resultThe result of the population table lookup
Returns
True if a row is to be transferred, false otherwise

Definition at line 33 of file synaptogenesis_dynamics_static_impl.c.

◆ synaptogenesis_row_restructure()

bool synaptogenesis_row_restructure ( uint32_t  time,
synaptic_row_t  row 
)

Perform the actual restructuring of a row.

Parameters
[in]timeThe time of the restructure
[in]rowThe row to restructure
Returns
True if the row was changed and needs to be written back

Definition at line 39 of file synaptogenesis_dynamics_static_impl.c.

◆ synaptogenesis_spike_received()

void synaptogenesis_spike_received ( uint32_t  time,
spike_t  spike 
)

Indicates that a spike has been received.

Parameters
[in]timeThe time that the spike was received at
[in]spikeThe received spike

Definition at line 44 of file synaptogenesis_dynamics_static_impl.c.

◆ synaptogenesis_n_updates()

uint32_t synaptogenesis_n_updates ( void  )

Number of updates to do of synaptogenesis this time step.

Returns
The number of updates to do this time step

Definition at line 47 of file synaptogenesis_dynamics_static_impl.c.

◆ print_post_to_pre_entry()

void print_post_to_pre_entry ( void  )

Print a certain data object.

Definition at line 51 of file synaptogenesis_dynamics_static_impl.c.