sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
timing_pfister_triplet_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//---------------------------------------
24// Exponential lookup-tables
33
34//---------------------------------------
35// Functions
36//---------------------------------------
38 // **TODO** assert number of neurons is less than max
39
40 // Copy LUTs from following memory
41 address_t lut_address = address;
44 tau_x_lookup = maths_copy_int16_lut(&lut_address);
45 tau_y_lookup = maths_copy_int16_lut(&lut_address);
46
47 return lut_address;
48}
uint32_t * address_t
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
int16_lut * tau_x_lookup
Lookup table for τx exponential decay.
int16_lut * tau_minus_lookup
Lookup table for τ- exponential decay.
int16_lut * tau_plus_lookup
Lookup table for τ+ exponential decay.
int16_lut * tau_y_lookup
Lookup table for τy exponential decay.
address_t timing_initialise(address_t address)
Initialise the timing dependence state (global) from SDRAM.
Timing rule using spike triplets.