samna.xyloCore2.event#

Submodules#

Module content#

class samna.xyloCore2.event.Interrupt#

Bases: pybind11_object

An output event which indicates an interrupt has occured on the chip. The generation of Interrupt is controlled by IE register. By default interrupt always emits when trigger processing done.

class samna.xyloCore2.event.MemoryValue#

Bases: pybind11_object

The response event of ReadMemoryValue.

property address#

The reading memory address which equals to the address in corresponding ReadMemoryValue.

property data#

The memory value that we read.

from_json(self: samna.xyloCore2.event.MemoryValue, arg0: str) None#
to_json(self: samna.xyloCore2.event.MemoryValue) str#
class samna.xyloCore2.event.ReadMemoryValue#

Bases: pybind11_object

Read memory value from xylo v2.

property address#

The memory address to read from.

from_json(self: samna.xyloCore2.event.ReadMemoryValue, arg0: str) None#
to_json(self: samna.xyloCore2.event.ReadMemoryValue) str#
class samna.xyloCore2.event.ReadRegisterValue#

Bases: pybind11_object

Read register value of xylo v2.

property address#

The register address to read from.

from_json(self: samna.xyloCore2.event.ReadRegisterValue, arg0: str) None#
to_json(self: samna.xyloCore2.event.ReadRegisterValue) str#
class samna.xyloCore2.event.ReadVersion#

Bases: pybind11_object

Read the fixed version of xylo v2.

class samna.xyloCore2.event.Readout#

Bases: pybind11_object

The response event of TriggerReadout.

from_json(self: samna.xyloCore2.event.Readout, arg0: str) None#
property neuron_values#

The output neuron membrane potentials.

property timestamp#

Current timestamp of xylo v2.

to_json(self: samna.xyloCore2.event.Readout) str#
class samna.xyloCore2.event.RegisterValue#

Bases: pybind11_object

The response event of ReadRegisterValue event.

property address#

The reading address, it equals to the address in corresponding ReadRegisterValue.

property data#

The register value that read.

from_json(self: samna.xyloCore2.event.RegisterValue, arg0: str) None#
to_json(self: samna.xyloCore2.event.RegisterValue) str#
class samna.xyloCore2.event.Spike#

Bases: pybind11_object

Spikes are events that can be consumed and produced by xylo v2.

from_json(self: samna.xyloCore2.event.Spike, arg0: str) None#
property neuron_id#

The target neuron id of the spike event.

property timestamp#

When receiving a Spike event from a chip the timestamp will be populated with the time at which the event leave the chip.

When sending a Spike event to a chip the timestamp will be used to control when the event will be applied to the chip.

to_json(self: samna.xyloCore2.event.Spike) str#
class samna.xyloCore2.event.TriggerProcessing#

Bases: pybind11_object

Generate a time resolution trigger.

class samna.xyloCore2.event.TriggerReadout#

Bases: pybind11_object

Trigger to get output neuron membrane potential and current timestamp.

class samna.xyloCore2.event.Version#

Bases: pybind11_object

The response event of ReadVersion.

from_json(self: samna.xyloCore2.event.Version, arg0: str) None#
property major#

Major part of xylo version which is fixed at 1.

property minor#

Minor part of xylo version which is fixed at 1.

to_json(self: samna.xyloCore2.event.Version) str#
class samna.xyloCore2.event.WriteMemoryValue#

Bases: pybind11_object

Write a memory value to xylo v2.

property address#

The memory address to write to.

property data#

The data writing to the address.

from_json(self: samna.xyloCore2.event.WriteMemoryValue, arg0: str) None#
to_json(self: samna.xyloCore2.event.WriteMemoryValue) str#
class samna.xyloCore2.event.WriteRegisterValue#

Bases: pybind11_object

Write register value of xylo v2.

property address#

Target register address.

property data#

The new register value to write.

from_json(self: samna.xyloCore2.event.WriteRegisterValue, arg0: str) None#
to_json(self: samna.xyloCore2.event.WriteRegisterValue) str#