sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
timing_vogels_2011_impl.c
Go to the documentation of this file.
1/*
2 * Copyright (c) 2017 The University of Manchester
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
20
21//---------------------------------------
22// Globals
23//---------------------------------------
26
29
31typedef struct {
32 int32_t alpha;
33 uint32_t lut_data[];
35
36//---------------------------------------
37// Functions
38//---------------------------------------
40 log_info("timing_initialise: starting");
41 log_info("\tVogels 2011 timing rule");
43
44 // Copy parameters
46
47 // Copy LUTs from following memory
48 address_t lut_address = config->lut_data;
49 tau_lookup = maths_copy_int16_lut(&lut_address);
50
51 log_info("timing_initialise: completed successfully");
52
53 return lut_address;
54}
uint32_t * address_t
void log_info(const char *message,...)
static int16_lut * maths_copy_int16_lut(address_t *address)
Copy a Lookup Table from SDRAM to DTCM, updating the address.
Definition maths.h:57
Lookup Table of 16-bit integers.
Definition maths.h:44
plasticity_trace_region_data_t plasticity_trace_region_data
Global plasticity parameter data.
address_t timing_initialise(address_t address)
Initialise the timing dependence state (global) from SDRAM.
int16_lut * tau_lookup
Lookup table for pre-computed τ
How the configuration data for vogels_2011 is laid out in SDRAM.
Timing rule from Vogels 2011.
Configuration information about plasticity traces.