samna.speck2cMiniTestBoard.encoder#
Submodules#
Module content#
- samna.speck2cMiniTestBoard.encoder.decode_input_interface_event(arg0: int) samna.speck2cMini.event.Spike | samna.speck2cMini.event.DvsEvent | samna.speck2cMini.event.KillSensorPixel | samna.speck2cMini.event.ResetSensorPixel | samna.speck2cMini.event.OutputModeSel | samna.speck2cMini.event.AverageSel | samna.speck2cMini.event.AsiRequest | samna.speck2cMini.event.ReadoutRequest | samna.speck2cMini.event.ScanChainValue | samna.speck2cMini.event.WriteNeuronValue | samna.speck2cMini.event.ReadNeuronValue | samna.speck2cMini.event.WriteWeightValue | samna.speck2cMini.event.ReadWeightValue | samna.speck2cMini.event.WriteBiasValue | samna.speck2cMini.event.ReadBiasValue | samna.speck2cMini.event.WriteRegisterValue | samna.speck2cMini.event.ReadRegisterValue | samna.speck2cMini.event.WriteFilterValue | samna.speck2cMini.event.ReadFilterValue | samna.speck2cMini.event.WriteSramValue | samna.speck2cMini.event.ReadSramValue | samna.speck2cMini.event.IdCodeRequest #
Decode input interface event.
- Parameters:
rawEvent (int) – The input interface event.
- Returns:
The decoded input interface event.
- samna.speck2cMiniTestBoard.encoder.decode_output_serial_interface_events(arg0: int, arg1: bool) samna.speck2cMini.event.Spike | samna.speck2cMini.event.DvsEvent | samna.speck2cMini.event.InputInterfaceEvent | samna.speck2cMini.event.NeuronValue | samna.speck2cMini.event.BiasValue | samna.speck2cMini.event.WeightValue | samna.speck2cMini.event.RegisterValue | samna.speck2cMini.event.ReadoutValue | samna.speck2cMini.event.FilterValue | samna.speck2cMini.event.SramValue | samna.speck2cMini.event.FilterDvsEvent | samna.speck2cMini.event.FilterValueCurrent | samna.speck2cMini.event.FilterValuePrevious | samna.speck2cMini.event.ScanChainValue | samna.speck2cMini.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.