samna.speck2bMini.event#
Submodules#
Module content#
- samna.speck2bMini.event.compute_sram_address(arg0: 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) int | None #
Compute the address of the event in the SRAM.
- Parameters:
event (
speck2bMini.event.InputEvent
) – The event to compute the address for.- Returns:
The address of the event in the SRAM if it’s possible to compute the address, otherwise return None.
- samna.speck2bMini.event.determine_sram_eventrom_address(arg0: int) 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 #
Determine the SRAM event for the given address.
- Parameters:
address (int) – The address to determine the event for.
- Returns:
The event for the given address.