samna.speck2eTestBoard.fpgaTestSuite#
Submodules#
Module content#
- class samna.speck2eTestBoard.fpgaTestSuite.DataFormat#
Bases:
pybind11_object
Members:
Aer
RawData
- property name#
- samna.speck2eTestBoard.fpgaTestSuite.encode_events(arg0: List[samna.speck2e.event.Spike | samna.speck2e.event.DvsEvent | samna.speck2e.event.KillSensorPixel | samna.speck2e.event.ResetSensorPixel | samna.speck2e.event.OutputModeSel | samna.speck2e.event.AverageSel | samna.speck2e.event.AsiRequest | samna.speck2e.event.ReadoutRequest | samna.speck2e.event.ScanChainValue | samna.speck2e.event.WriteNeuronValue | samna.speck2e.event.ReadNeuronValue | samna.speck2e.event.WriteWeightValue | samna.speck2e.event.ReadWeightValue | samna.speck2e.event.WriteBiasValue | samna.speck2e.event.ReadBiasValue | samna.speck2e.event.WriteRegisterValue | samna.speck2e.event.ReadRegisterValue | samna.speck2e.event.WriteFilterValue | samna.speck2e.event.ReadFilterValue | samna.speck2e.event.WriteSramValue | samna.speck2e.event.ReadSramValue | samna.speck2e.event.IdCodeRequest | samna.speck2e.event.FlashRead | samna.speck2e.event.FlashWrite | samna.speck2e.event.FlashErase | samna.speck2e.event.FlashSpiRaw | samna.speck2e.event.FlashWriteEnable | samna.speck2e.event.FlashQueryStatus | samna.speck2e.event.RequestSpiMon], arg1: bool) List[Tuple[samna.speck2eTestBoard.fpgaTestSuite.DataFormat, List[int]]] #
Encode input events to raw bit stream.
- Parameters:
events (list) – A list of
speck2e.event.Speck2etInputEvent
.jtagEnable (bool) – Enable jtag or not.
- Returns:
A list of packets. Each packet is a sub list whose first element is an enumerator
speck2eTestBoard::fpgaTestSuite::DataFormat
and second element is the encoded bit stream of this packet.
- samna.speck2eTestBoard.fpgaTestSuite.get_pulse_slow_clk_packet() List[Tuple[samna.speck2eTestBoard.fpgaTestSuite.DataFormat, List[int]]] #
Gen a stream which contains a packet to pulse slow clock.
- Returns:
A list of packets. Each packet is a sub list whose first element is an enumerator
speck2eTestBoard::fpgaTestSuite::DataFormat
and second element is the encoded bit stream of this packet.