sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
neuron.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
31#ifndef _NEURON_H_
32#define _NEURON_H_
33
34#include "synapse_row.h"
36#include <spin1_api.h>
37
53 void *core_params_address, void *neuron_params_address,
54 void *current_sources_address, void *recording_address,
55 void *initial_values_address, uint32_t *n_rec_regions_used);
56
61void neuron_do_timestep_update(timer_t time, uint timer_count);
62
66bool neuron_resume(uint32_t time);
67
70void neuron_pause(void);
71
75void neuron_transfer(weight_t *syns);
76
77#if LOG_LEVEL >= LOG_DEBUG
80void neuron_print_inputs(void);
81
85
90const char *neuron_get_synapse_type_char(uint32_t synapse_type);
91#endif
92
93#endif // _NEURON_H_
uint32_t timer_t
Data type definitions for SpiNNaker Neuron-modelling.
void neuron_pause(void)
Perform steps needed before pausing a simulation.
Definition neuron.c:184
bool neuron_initialise(void *core_params_address, void *neuron_params_address, void *current_sources_address, void *recording_address, void *initial_values_address, uint32_t *n_rec_regions_used)
translate the data stored in the NEURON_PARAMS data region in SDRAM and convert it into c based objec...
Definition neuron.c:105
const char * neuron_get_synapse_type_char(uint32_t synapse_type)
Get the synapse type description character.
Definition neuron.c:238
void neuron_print_synapse_parameters(void)
Print the neurons' synapse parameters.
Definition neuron.c:234
void neuron_print_inputs(void)
Print the inputs to the neurons.
Definition neuron.c:230
bool neuron_resume(uint32_t time)
Prepare to resume simulation of the neurons.
Definition neuron.c:93
void neuron_transfer(weight_t *syns)
Add inputs to the neurons.
Definition neuron.c:204
void neuron_do_timestep_update(timer_t time, uint timer_count)
executes all the updates to neural parameters when a given timer period has occurred.
Definition neuron.c:190
unsigned int uint
implementation for handling the processing of synapse rows.