Low-level device kit utilities for the SYNS61201 Xylo-A2 HDK


DivisiveNormalization(config[, s, p, iaf_bias])

The normalized Signal is: PostNF(t) = preNF(t) * (2**p) /(iaf_bias + M(t)) M(t) = 2**(-s) * E(t) + (1-2**(-s)) * M(t-1), where E(t) is the input signal, M(t) estimates the background noise level


Take a single manual time-step on a Xylo HDK

apply_afe2_default_config(afe2hdk, config[, ...])

Configure an AFE2 HDK, including self-calibration

apply_configuration(hdk, config, *_, **__)

Apply a configuration to the Xylo HDK

blocking_read(read_buffer[, ...])

Perform a blocking read on a buffer, optionally waiting for a certain count, a target timestamp, or imposing a timeout


Switch on hibernation mode on AFE

config_afe_channel_thresholds(config[, count])

Change the AFE event count to throw 1 spikes out of 1 to the Xylo core


Set the Xylo HDK to manual mode before configure to real-time mode

config_hibernation_mode(config, hibernation_mode)

Switch on hibernaton mode on a Xylo hdk

config_lna_amplification(config[, level])

Adjust acoustic gain of LDA module

configure_accel_time_mode(config, ...[, ...])

Switch on accelerated-time mode on a Xylo hdk, and configure network monitoring


Switch on single-step mode on a Xylo hdk

decode_memory_read_events(events, start_address)

Decode a list of events containing memory reads from a Xylo HDK

export_registers(read_buffer, write_buffer, file)

Print register contents for debugging purposes


Search for and return a list of Xylo AFE V2 HDKs


Create events to clear the input event registers

generate_read_memory_events(start_address[, ...])

Build a list of events that cause Xylo memory to be read

get_current_timestamp(read_buffer, write_buffer)

Retrieve the current timestamp on a Xylo HDK


Initialise the Xylo HDK

is_xylo_ready(read_buffer, write_buffer)

Query a Xylo HDK to see if it is ready for a time-step


Create and connect a new buffer to read from a Xylo HDK


Create a new buffer for monitoring neuron and synapse state and connect it


Create a new buffer for writing events to a Xylo HDK

pretty_print_register(register[, value, ...])

Pretty-print a Xylo2 register value

print_debug_registers(read_buffer, write_buffer)

Print register contents of a Xylo HDK for debugging purposes

read_accel_mode_data(monitor_buffer, Nin, ...)

Read accelerated simulation mode data from a Xylo HDK

read_afe2_events_blocking(afe2hdk, ...)

Perform a blocking read of AFE2 audio spike events for a desired duration

read_afe2_module_version(afe_read_buf, ...)

Return the version and revision numbers for a connected AFE2 HDK

read_afe2_register(read_buffer, ...[, timeout])

Read the contents of a register

read_all_afe2_register(read_buffer, write_buffer)

Read all AFE register values

read_all_xylo_register(read_buffer, write_buffer)

Read all xylo register values

read_allram_state(read_buffer, write_buffer)

Read and return the all ram in each step as a state

read_memory(read_buffer, write_buffer, ...)

Read a block of memory from a Xylo HDK

read_neuron_synapse_state(read_buffer, ...)

Read and return the current neuron and synaptic state of neurons

read_output_events(read_buffer, write_buffer)

Read the spike flags from the output neurons on a Xylo HDK

read_register(read_buffer, write_buffer, ...)

Read the contents of a register


Reset the input spike registers on a Xylo HDK

reset_neuron_synapse_state(hdk, read_buffer, ...)

Reset the neuron and synapse state on a Xylo HDK

send_immediate_input_spikes(write_buffer, ...)

Send input events with no timestamp to a Xylo HDK

set_power_measure(hdk[, frequency])

Initialize power consumption measure on a hdk

set_ram_access(ram_access_enable, ...)

Enable or disable access to RAM on the Xylo chip.

set_xylo_core_clock_freq(device, ...)

Set the inference core clock frequency used by Xylo

to_hex(n, digits)

Output a consistent-length hex string encoding a number

verify_xylo_version(read_buffer, write_buffer)

Verify that the provided daughterbaord returns the correct version ID for Xylo

write_afe2_register(write_buffer, register)

Write data to a register on a Xylo AFE2 HDK

write_memory(write_buffer, start_address[, ...])

Write data to Xylo memory

write_register(write_buffer, register[, data])

Write data to a register on a Xylo HDK



All registers on the Xylo2 core

XyloAllRam(Nin, Nhidden, Nout, V_mem_hid, ...)

NamedTuple that encapsulates a recorded Xylo HDK state

XyloState(Nin, Nhidden, Nout, V_mem_hid, ...)

NamedTuple that encapsulates a recorded Xylo HDK state