20 #include <data_specification.h>
24 uint64_t udiv64(uint64_t num, uint64_t den) {
33 return 1/((unsigned)den);
37 while ((int64_t) den >= 0) {
102 static inline bool initialise_neuron_regions(
103 data_specification_metadata_t *ds_regions,
108 data_specification_get_region(regions.core_params, ds_regions),
109 data_specification_get_region(regions.neuron_params, ds_regions),
110 data_specification_get_region(regions.current_source_params, ds_regions),
111 data_specification_get_region(regions.neuron_recording, ds_regions),
112 data_specification_get_region(regions.initial_values, ds_regions),
113 n_rec_regions_used)) {
static uint32_t time
Simulation time.
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...
uint32_t latest_send_time
Latest time in a timestep that any neuron has sent a spike.
uint32_t earliest_send_time
Earliest time in a timestep that any neuron has sent a spike.
The provenance information provided by neurons.
uint32_t current_timer_tick
The current time.
uint32_t earliest_send
Earliest send time within any time step.
uint32_t n_tdma_misses
The number of times a TDMA slot was missed.
uint32_t latest_send
Latest send time within any time step.
The region IDs used by the neuron processing.
uint32_t neuron_params
The neuron parameters.
uint32_t initial_values
The initial values at time 0.
uint32_t neuron_recording
The neuron recording details.
uint32_t current_source_params
The current source parameters.
uint32_t core_params
The core parameters.