samna.speck2dMiniTestBoard.encoder#

Submodules#

Module content#

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

Decode input interface event.

Parameters:

rawEvent (int) – The input interface event.

Returns:

The decoded input interface event.

samna.speck2dMiniTestBoard.encoder.decode_output_serial_interface_events(arg0: int, arg1: bool) samna.speck2dMini.event.Spike | samna.speck2dMini.event.DvsEvent | samna.speck2dMini.event.InputInterfaceEvent | samna.speck2dMini.event.NeuronValue | samna.speck2dMini.event.BiasValue | samna.speck2dMini.event.WeightValue | samna.speck2dMini.event.RegisterValue | samna.speck2dMini.event.ReadoutValue | samna.speck2dMini.event.ReadoutPinValue | samna.speck2dMini.event.FilterValue | samna.speck2dMini.event.SramValue | samna.speck2dMini.event.FilterDvsEvent | samna.speck2dMini.event.FilterValueCurrent | samna.speck2dMini.event.FilterValuePrevious | samna.speck2dMini.event.ScanChainValue | samna.speck2dMini.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.