sPyNNaker neural_modelling 7.2.2
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
weight_multiplicative_impl.c File Reference

Support code for weight_multiplicative_impl.h. More...

#include "weight_multiplicative_impl.h"

Go to the source code of this file.

Data Structures

struct  multiplicative_config_t
 How the configuration data for multiplicative 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 array, in DTCM.
 
uint32_t * weight_shift
 Plasticity multiply shift array, in DTCM.
 

Detailed Description

Support code for weight_multiplicative_impl.h.

Definition in file weight_multiplicative_impl.c.


Data Structure Documentation

◆ multiplicative_config_t

struct multiplicative_config_t

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

Definition at line 32 of file weight_multiplicative_impl.c.

Data Fields
accum min_weight
accum max_weight
accum a2_plus
accum a2_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 42 of file weight_multiplicative_impl.c.

Variable Documentation

◆ plasticity_weight_region_data

plasticity_weight_region_data_t* plasticity_weight_region_data

Global plasticity parameter data array, in DTCM.

Definition at line 25 of file weight_multiplicative_impl.c.

◆ weight_shift

uint32_t* weight_shift

Plasticity multiply shift array, in DTCM.

Definition at line 28 of file weight_multiplicative_impl.c.