rockpool.devices.xylo.syns61201.xa2_devkit_utils

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

Functions

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

advance_time_step(write_buffer)

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

config_AFE_hibernation(config)

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

config_basic_mode(config)

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

configure_single_step_time_mode(config)

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

find_xylo_a2_boards()

Search for and return a list of Xylo AFE V2 HDKs

gen_clear_input_registers_events()

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_xylo_hdk(write_buffer)

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

new_xylo_read_buffer(hdk)

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

new_xylo_state_monitor_buffer(hdk)

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

new_xylo_write_buffer(hdk)

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_input_spikes(write_buffer)

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

Classes

Xylo2Registers(value)

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