sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
Functions | Variables
bit_field_expander.h File Reference

Expands bitfields on SpiNNaker to reduce data transfer times. More...

#include <bit_field.h>
#include <neuron/synapse_row.h>
#include <neuron/population_table/population_table.h>
#include <neuron/structural_plasticity/synaptogenesis/sp_structs.h>
#include <filter_info.h>
#include <key_atom_map.h>

Go to the source code of this file.

Functions

static bool do_sdram_read_and_test (synaptic_row_t row_data, pop_table_lookup_result_t *result)
 Read row and test if there are any synapses.
 
static void determine_redundancy (filter_region_t *bitfield_filters)
 Determine which bit fields are redundant.
 
static bool generate_bit_field (filter_region_t *bitfield_filters, uint32_t *n_atom_data, void *synaptic_matrix, void *structural_matrix, pre_pop_info_table_t *pre_info, synaptic_row_t row_data)
 Create the bitfield for this master pop table and synaptic matrix.
 
static bool do_bitfield_generation (uint32_t *n_atom_data_sdram, void *master_pop, void *synaptic_matrix, void *bitfield_filters, void *structural_matrix)
 Entry point.
 

Variables

static uint32_t master_pop_table_length
 
static master_population_table_entrymaster_pop_table
 
static address_list_entryaddress_list
 

Detailed Description

Expands bitfields on SpiNNaker to reduce data transfer times.

Definition in file bit_field_expander.h.

Function Documentation

◆ do_sdram_read_and_test()

static bool do_sdram_read_and_test ( synaptic_row_t  row_data,
pop_table_lookup_result_t result 
)
static

Read row and test if there are any synapses.

Parameters
[in]row_dataThe DTCM address to read into
[in]rowthe SDRAM address to read
[in]n_bytes_to_transferhow many bytes to read to get the synaptic row
Returns
Whether there is target

Definition at line 38 of file bit_field_expander.h.

◆ determine_redundancy()

static void determine_redundancy ( filter_region_t bitfield_filters)
inlinestatic

Determine which bit fields are redundant.

Definition at line 62 of file bit_field_expander.h.

◆ generate_bit_field()

static bool generate_bit_field ( filter_region_t bitfield_filters,
uint32_t *  n_atom_data,
void *  synaptic_matrix,
void *  structural_matrix,
pre_pop_info_table_t pre_info,
synaptic_row_t  row_data 
)
inlinestatic

Create the bitfield for this master pop table and synaptic matrix.

Returns
Whether it was successful at generating the bitfield

Definition at line 78 of file bit_field_expander.h.

◆ do_bitfield_generation()

static bool do_bitfield_generation ( uint32_t *  n_atom_data_sdram,
void *  master_pop,
void *  synaptic_matrix,
void *  bitfield_filters,
void *  structural_matrix 
)
static

Entry point.

Definition at line 172 of file bit_field_expander.h.

Variable Documentation

◆ master_pop_table_length

uint32_t master_pop_table_length
static

Definition at line 28 of file bit_field_expander.h.

◆ master_pop_table

master_population_table_entry* master_pop_table
static

Definition at line 29 of file bit_field_expander.h.

◆ address_list

address_list_entry* address_list
static

Definition at line 30 of file bit_field_expander.h.