API Reference: calix
-
namespace
ccalix
-
namespace
hagen
-
namespace
ccalix::hagen
::
multiplication
Functions
-
SYMBOL_VISIBLE void send_vectors (stadls::vx::v3::PlaybackProgramBuilder &builder, const pybind11::array_t< uint_fast16_t > &vector, const size_t num_sends, const size_t wait_period, const halco::hicann_dls::vx::v3::SynramOnDLS synram_coord, const size_t synram_selection_bit)
Generate events for the given vector in hagen mode.
- Parameters
builder – Builder to append writes to
vector – Array containing the input vector
num_sends – Number of repeats of the whole vector
wait_period – Wait time between two successive events
synram_coord – Coordinate of synapse array to target with the events
synram_selection_bit – Determines which bit in the event label selects the synram
-
-
namespace
ccalix::hagen::multiplication
::
detail
Functions
-
haldls::vx::v3::SpikePack1ToChip
prepare_event
(const haldls::vx::v3::SynapseQuad::Label address, const halco::hicann_dls::vx::v3::SynapseDriverOnSynapseDriverBlock target_driver, const halco::hicann_dls::vx::v3::SynramOnDLS synram_coord, const size_t synram_selection_bit) Return a spike pack to chip, containing an event reaching the desired synapse driver on the desired synram.
- Parameters
address – Address that is sent to the driver. The MSB reaches the synapses, the lower 5 bit encode the desired activation.
target_driver – Coordinate of target synapse driver.
synram_coord – Coordinate of target synapse array.
synram_selection_bit – Bit position that selects synapse array.
- Returns
Spike packet to chip.
-
haldls::vx::v3::SpikePack1ToChip
-
namespace
ccalix
::
helpers
Functions
-
template<typename
builder_t
>
voidwrite_capmem_row
(builder_t &builder, const halco::hicann_dls::vx::v3::CapMemRowOnCapMemBlock row, const pybind11::array_t<uint_fast16_t> &values) Attach write commands for a single, full row of non-global capmem cells to a given builder.
- Template Parameters
builder_t – Type of the builder in use
- Parameters
builder – Builder writes are appended to
row – Capmem row to be written
values – Array of payload data to be written to the given capmem row
-
template SYMBOL_VISIBLE void write_capmem_row (stadls::vx::v3::PlaybackProgramBuilder &, const halco::hicann_dls::vx::v3::CapMemRowOnCapMemBlock, const pybind11::array_t< uint_fast16_t > &)
-
template SYMBOL_VISIBLE void write_capmem_row (stadls::vx::v3::PlaybackProgramBuilderDumper &, const halco::hicann_dls::vx::v3::CapMemRowOnCapMemBlock, const pybind11::array_t< uint_fast16_t > &)
-
template<typename
-
namespace
spiking
-
namespace
ccalix::spiking
::
correlation_measurement
Functions
-
SYMBOL_VISIBLE pybind11::array_t< uint_fast16_t > evaluate_correlation (std::vector< stadls::vx::v3::ContainerTicket > tickets)
Evaluate correlation reads in given list of tickets.
- Parameters
List – of read tickets, as returned by the read_correlation() function.
- Returns
Numpy array containing all reads. It will be shaped (4, 256, 2) for the entries in a quad, the rows, and the causal/acausal correlation.
-
SYMBOL_VISIBLE std::vector< stadls::vx::v3::ContainerTicket > read_correlation (stadls::vx::v3::PlaybackProgramBuilder &builder, const halco::hicann_dls::vx::v3::SynapseQuadColumnOnDLS quad, const halco::hicann_dls::vx::v3::SynramOnDLS synram)
Read CADCs in given quad column.
Returns a list of tickets for each row.
- Parameters
builder – Builder to append reads to.
quad – Quad coordinate to be read.
synram – Synram to be used.
- Returns
List of read tickets, ordered [causal row 0, acausal row 0, causal row 1, …]
-
SYMBOL_VISIBLE void reset_correlation (stadls::vx::v3::PlaybackProgramBuilder &builder, const halco::hicann_dls::vx::v3::SynapseQuadColumnOnDLS quad, const halco::hicann_dls::vx::v3::SynramOnDLS synram)
Reset all synapse correlations in given quad.
- Parameters
builder – Builder to append instructions to.
quad – Quad column to be reset.
synram – Target synram coordinate.
-
SYMBOL_VISIBLE void send_postpulse (stadls::vx::v3::PlaybackProgramBuilder &builder, const halco::hicann_dls::vx::v3::SynapseQuadColumnOnDLS quad, const halco::hicann_dls::vx::v3::SynramOnDLS synram)
Reset the given quad of neurons, sending an STDP postpulse to synapses.
- Parameters
builder – Builder to append instructions to.
quad – Quad column to reset neurons in.
synram – Target synram coordinate.
-
SYMBOL_VISIBLE void send_prepulse (stadls::vx::v3::PlaybackProgramBuilder &builder, const halco::hicann_dls::vx::v3::SynramOnDLS synram, const haldls::vx::v3::SynapseQuad::Label address)
Send a PADI event to all drivers, i.e.
an STDP prepulse to all synapses.
- Parameters
builder – Builder to append instructions to.
synram – Synram coordinate of synapses to stimulate.
address – Address to be sent to synapses.
-
-
namespace
std
STL namespace.
-
file
ccalix.h
- #include “ccalix/genpybind.h”#include “ccalix/hagen/multiplication.h”#include “ccalix/helpers.h”#include “ccalix/spiking/correlation_measurement.h”
-
file
genpybind.h
-
file
multiplication.h
- #include “ccalix/genpybind.h”#include “”#include “”#include “”#include “”#include “”#include <>
-
file
helpers.h
- #include “ccalix/genpybind.h”#include “”#include “”#include “”#include <>#include <>
-
file
correlation_measurement.h
- #include “ccalix/genpybind.h”#include “”#include “”#include “”#include “”#include “”#include “”#include “”#include <>
-
dir
/jenkins/jenlib_workspaces_f9/doc_gerrit_documentation-brainscales2-dependencies.ZG9jX2dlcnJpdF9kb2N1bWVudGF0aW9uLWJyYWluc2NhbGVzMi1kZXBlbmRlbmNpZXMjMTI4MDc.x/calix
-
dir
/jenkins/jenlib_workspaces_f9/doc_gerrit_documentation-brainscales2-dependencies.ZG9jX2dlcnJpdF9kb2N1bWVudGF0aW9uLWJyYWluc2NhbGVzMi1kZXBlbmRlbmNpZXMjMTI4MDc.x/calix/include/ccalix
-
dir
/jenkins/jenlib_workspaces_f9/doc_gerrit_documentation-brainscales2-dependencies.ZG9jX2dlcnJpdF9kb2N1bWVudGF0aW9uLWJyYWluc2NhbGVzMi1kZXBlbmRlbmNpZXMjMTI4MDc.x/calix/include/ccalix/hagen
-
dir
/jenkins/jenlib_workspaces_f9/doc_gerrit_documentation-brainscales2-dependencies.ZG9jX2dlcnJpdF9kb2N1bWVudGF0aW9uLWJyYWluc2NhbGVzMi1kZXBlbmRlbmNpZXMjMTI4MDc.x/calix/include
-
dir
/jenkins/jenlib_workspaces_f9/doc_gerrit_documentation-brainscales2-dependencies.ZG9jX2dlcnJpdF9kb2N1bWVudGF0aW9uLWJyYWluc2NhbGVzMi1kZXBlbmRlbmNpZXMjMTI4MDc.x/calix/include/ccalix/spiking