sPyNNaker neural_modelling  development
synaptogenesis_dynamics_static_impl.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 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 
23 #include <debug.h>
24 
26  UNUSED address_t sdram_sp_address, uint32_t *recording_regions_used) {
27  // The recording region is defined even if unused, so this value needs to
28  // be incremented in order for the recording region IDs to match up
29  *recording_regions_used += 1;
30  return true;
31 }
32 
34  UNUSED uint32_t time, UNUSED spike_t *spike,
35  UNUSED pop_table_lookup_result_t *result) {
36  return false;
37 }
38 
40  UNUSED uint32_t time, UNUSED synaptic_row_t row) {
41  return false;
42 }
43 
44 void synaptogenesis_spike_received(UNUSED uint32_t time, UNUSED spike_t spike) {
45 }
46 
47 uint32_t synaptogenesis_n_updates(void) {
48  return 0;
49 }
50 
52  return;
53 }
static uint32_t time
Simulation time.
struct synaptic_row * synaptic_row_t
The type of a synaptic row.
uint32_t spike_t
The type of a spike.
A structure to hold a response to a population table lookup.
This file contains the main interface for structural plasticity.
bool synaptogenesis_dynamics_rewire(uint32_t time, spike_t *spike, pop_table_lookup_result_t *result)
Trigger the process of synaptic rewiring.
void synaptogenesis_spike_received(uint32_t time, spike_t spike)
Indicates that a spike has been received.
uint32_t synaptogenesis_n_updates(void)
Number of updates to do of synaptogenesis this time step.
void print_post_to_pre_entry(void)
Print a certain data object.
bool synaptogenesis_row_restructure(uint32_t time, synaptic_row_t row)
Perform the actual restructuring of a row.
bool synaptogenesis_dynamics_initialise(address_t sdram_sp_address, uint32_t *recording_regions_used)
Initialisation of synaptic rewiring (synaptogenesis) parameters (random seed, spread of receptive fie...