sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
weight_additive_two_term_impl.c File Reference

Support code for weight_additive_two_term_impl.h. More...

#include "weight_additive_two_term_impl.h"

Go to the source code of this file.

Data Structures

struct  additive_two_term_config_t
 How the configuration data for additive_two_term is laid out in SDRAM. The layout is an array of these. More...
 

Functions

address_t weight_initialise (address_t address, uint32_t n_synapse_types, uint32_t *ring_buffer_to_input_buffer_left_shifts)
 Initialises the weight aspect of an STDP rule.
 

Variables

plasticity_weight_region_data_tplasticity_weight_region_data
 Global plasticity parameter data.
 
uint32_t * weight_shift
 Plasticity multiply shift array, in DTCM.
 

Detailed Description

Support code for weight_additive_two_term_impl.h.

Definition in file weight_additive_two_term_impl.c.


Data Structure Documentation

◆ additive_two_term_config_t

struct additive_two_term_config_t

How the configuration data for additive_two_term is laid out in SDRAM. The layout is an array of these.

Definition at line 32 of file weight_additive_two_term_impl.c.

Data Fields
accum min_weight
accum max_weight
accum a2_plus
accum a2_minus
accum a3_plus
accum a3_minus

Function Documentation

◆ weight_initialise()

address_t weight_initialise ( address_t  address,
uint32_t  n_synapse_types,
uint32_t *  ring_buffer_to_input_buffer_left_shifts 
)

Initialises the weight aspect of an STDP rule.

Parameters
[in]addressthe absolute address in SRAM where the weight parameters are stored.
[in]n_synapse_typesThe number of synapse types
[in]ring_buffer_to_input_buffer_left_shiftshow much a value needs to be shifted in the left direction to support comprises with fixed point arithmetic
Returns
the end of the weight region as an absolute SDRAM memory address.

Definition at line 44 of file weight_additive_two_term_impl.c.

Variable Documentation

◆ plasticity_weight_region_data

plasticity_weight_region_data_t* plasticity_weight_region_data

Global plasticity parameter data.

Definition at line 25 of file weight_additive_two_term_impl.c.

◆ weight_shift

uint32_t* weight_shift

Plasticity multiply shift array, in DTCM.

Definition at line 28 of file weight_additive_two_term_impl.c.