samna.speck3TestBoard.encoder#
Submodules#
Module content#
- samna.speck3TestBoard.encoder.decode_input_interface_event(arg0: int) samna.speck3.event.Spike | samna.speck3.event.DvsEvent | samna.speck3.event.OutputModeSel | samna.speck3.event.AverageSel | samna.speck3.event.AsiRequest | samna.speck3.event.ReadoutRequest | samna.speck3.event.ScanChainValue | samna.speck3.event.WriteNeuronValue | samna.speck3.event.ReadNeuronValue | samna.speck3.event.WriteWeightValue | samna.speck3.event.ReadWeightValue | samna.speck3.event.WriteBiasValue | samna.speck3.event.ReadBiasValue | samna.speck3.event.WriteRegisterValue | samna.speck3.event.ReadRegisterValue | samna.speck3.event.WriteFilterValue | samna.speck3.event.ReadFilterValue | samna.speck3.event.WriteSramValue | samna.speck3.event.ReadSramValue | samna.speck3.event.IdCodeRequest | samna.speck3.event.FlashRead | samna.speck3.event.FlashWrite | samna.speck3.event.FlashErase | samna.speck3.event.FlashSpiRaw | samna.speck3.event.FlashWriteEnable | samna.speck3.event.FlashQueryStatus | samna.speck3.event.SpecialReset #
Decode input interface event.
- Parameters:
rawEvent (int) – The input interface event.
- Returns:
The decoded input interface event.
- samna.speck3TestBoard.encoder.decode_output_serial_interface_events(arg0: int) samna.speck3.event.Spike | samna.speck3.event.DvsEvent | samna.speck3.event.InputInterfaceEvent | samna.speck3.event.NeuronValue | samna.speck3.event.BiasValue | samna.speck3.event.WeightValue | samna.speck3.event.RegisterValue | samna.speck3.event.ReadoutValue | samna.speck3.event.FilterValue | samna.speck3.event.SramValue | samna.speck3.event.FilterDvsEvent | samna.speck3.event.FilterValueCurrent | samna.speck3.event.FilterValuePrevious | samna.speck3.event.ScanChainValue | samna.speck3.event.IdCode | samna.speck3.event.FlashValue | samna.speck3.event.FlashSpiRaw | samna.speck3.event.FlashStatus | samna.speck3.event.ReadoutPinValue | None #
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.