calix.spiking.synapse_driver.STPMultiplication

class calix.spiking.synapse_driver.STPMultiplication(synram: pyhalco_hicann_dls_vx_v3.SynramOnDLS = SynramOnDLS(0), *, num_sends: int = 1, wait_period: int = 4, signed_mode: bool = True)

Bases: calix.hagen.multiplication.Multiplication

Perform vector-matrix multiplications, but without hagen-mode pulse length encoding. The pulse length is instead determined by the STP voltage.

Note that we set a static voltage for both v_recover and v_charge and this way leave no dynamic range for modulation of amplitudes depending on their timing. We only set a medium amplitude with a suitable voltage v_stp := v_recover = v_charge.

__init__(synram: pyhalco_hicann_dls_vx_v3.SynramOnDLS = SynramOnDLS(0), *, num_sends: int = 1, wait_period: int = 4, signed_mode: bool = True)

Initialize self. See help(type(self)) for accurate signature.

Methods

preconfigure(connection)

Call preconfigure from parent class, but disable hagen-mode encoding (use STP voltages instead).

Attributes

preconfigure(connection: pyhxcomm_vx.ConnectionHandle)None

Call preconfigure from parent class, but disable hagen-mode encoding (use STP voltages instead).

Parameters

connection – Connection to the chip to run on.