samna.speck2bMiniTestboard.encoder#

Submodules#

Module content#

samna.speck2bMiniTestboard.encoder.decode_input_interface_event(arg0: int) samna.speck2bMini.event.Spike | samna.speck2bMini.event.DvsEvent | samna.speck2bMini.event.KillSensorPixel | samna.speck2bMini.event.ResetSensorPixel | samna.speck2bMini.event.OutputModeSel | samna.speck2bMini.event.AverageSel | samna.speck2bMini.event.AsiRequest | samna.speck2bMini.event.ReadoutRequest | samna.speck2bMini.event.ScanChainValue | samna.speck2bMini.event.WriteNeuronValue | samna.speck2bMini.event.ReadNeuronValue | samna.speck2bMini.event.WriteWeightValue | samna.speck2bMini.event.ReadWeightValue | samna.speck2bMini.event.WriteBiasValue | samna.speck2bMini.event.ReadBiasValue | samna.speck2bMini.event.WriteRegisterValue | samna.speck2bMini.event.ReadRegisterValue | samna.speck2bMini.event.WriteFilterValue | samna.speck2bMini.event.ReadFilterValue | samna.speck2bMini.event.WriteSramValue | samna.speck2bMini.event.ReadSramValue | samna.speck2bMini.event.IdCodeRequest#

Decodes an input interface event.

Parameters:

rawEvent (int) – The event to decode.

Returns:

The decoded input interface event.

samna.speck2bMiniTestboard.encoder.decode_output_serial_interface_events(arg0: int, arg1: bool) samna.speck2bMini.event.Spike | samna.speck2bMini.event.DvsEvent | samna.speck2bMini.event.InputInterfaceEvent | samna.speck2bMini.event.NeuronValue | samna.speck2bMini.event.BiasValue | samna.speck2bMini.event.WeightValue | samna.speck2bMini.event.RegisterValue | samna.speck2bMini.event.ReadoutValue | samna.speck2bMini.event.FilterValue | samna.speck2bMini.event.SramValue | samna.speck2bMini.event.FilterDvsEvent | samna.speck2bMini.event.FilterValueCurrent | samna.speck2bMini.event.FilterValuePrevious | samna.speck2bMini.event.ScanChainValue | samna.speck2bMini.event.IdCode#

Decode output serial interface event.

Parameters:
  • rawEvent (int) – The output serial interface event.

  • readoutDecodingEnable (bool) – Is readout output decoding enabled

Returns:

The decoded output serial interface event.