sPyNNaker neural_modelling 7.1.1
Loading...
Searching...
No Matches
timing.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 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
21#ifndef _TIMING_H_
22#define _TIMING_H_
23
28
32
39 uint32_t time, uint32_t last_time, post_trace_t last_trace);
40
47 uint32_t time, uint32_t last_time, post_trace_t last_trace);
48
55 uint32_t time, uint32_t last_time, pre_trace_t last_trace);
56
67 uint32_t time, pre_trace_t trace, uint32_t last_pre_time,
68 pre_trace_t last_pre_trace, uint32_t last_post_time,
69 post_trace_t last_post_trace, update_state_t previous_state);
70
81 uint32_t time, post_trace_t trace, uint32_t last_pre_time,
82 pre_trace_t last_pre_trace, uint32_t last_post_time,
83 post_trace_t last_post_trace, update_state_t previous_state);
84
85#endif // _TIMING_H_
uint32_t * address_t
uint32_t last_time
The time of the most recently-considered spike.
static post_trace_t timing_add_post_spike(uint32_t time, uint32_t last_time, post_trace_t last_trace)
Add a post spike to the post trace.
static post_trace_t timing_decay_post(uint32_t time, uint32_t last_time, post_trace_t last_trace)
Evolve the post trace without adding a spike.
static update_state_t timing_apply_pre_spike(uint32_t time, pre_trace_t trace, uint32_t last_pre_time, pre_trace_t last_pre_trace, uint32_t last_post_time, post_trace_t last_post_trace, update_state_t previous_state)
Apply a pre-spike timing rule state update.
static pre_trace_t timing_add_pre_spike(uint32_t time, uint32_t last_time, pre_trace_t last_trace)
Add a pre spike to the pre trace.
static update_state_t timing_apply_post_spike(uint32_t time, post_trace_t trace, uint32_t last_pre_time, pre_trace_t last_pre_trace, uint32_t last_post_time, post_trace_t last_post_trace, update_state_t previous_state)
Apply a post-spike timing rule state update.
static post_trace_t timing_get_initial_post_trace(void)
Get an initial post-synaptic timing trace.
address_t timing_initialise(address_t address)
Initialise the timing dependence state (global) from SDRAM.
The type of post-spike traces.
The type of pre-spike traces.