sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
local_only_impl.h
1/*
2 * Copyright (c) 2021 The University of Manchester
3 * based on work Copyright (c) The University of Sussex,
4 * Garibaldi Pineda Garcia, James Turner, James Knight and Thomas Nowotny
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * https://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19#ifndef _LOCAL_ONLY_H_
20#define _LOCAL_ONLY_H_
21
23
24extern uint32_t synapse_delay_mask;
25
26extern uint32_t synapse_type_index_bits;
27
28extern uint32_t synapse_index_bits;
29
32bool local_only_impl_initialise(void *address);
33
35void local_only_impl_process_spike(uint32_t time, uint32_t spike,
36 uint16_t* ring_buffers);
37
38#endif
static weight_t * ring_buffers
The ring buffers to be used in the simulation.
Definition c_main.c:118
uint32_t synapse_delay_mask
The mask to get the synaptic delay from a "synapse".
Definition local_only.c:71
uint32_t synapse_type_index_bits
The number of bits used by the synapse type and post-neuron index.
Definition local_only.c:74
uint32_t synapse_index_bits
The number of bits used by just the post-neuron index.
Definition local_only.c:77
Data type definitions for SpiNNaker Neuron-modelling.