24uint64_t udiv64(uint64_t num, uint64_t den) {
33 return 1/((unsigned)den);
37 while ((int64_t) den >= 0) {
83extern uint32_t latest_send_time;
86extern uint32_t earliest_send_time;
102static inline bool initialise_neuron_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)) {
uint32_t time
The current timer tick value.
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...
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.