samna.speck3TestBoard#

Submodules#

Module content#

class samna.speck3TestBoard.PowerModule#

Bases: pybind11_object

A handle which offers basic power api.

get_adc_all(self: samna.speck3TestBoard.PowerModule) samna.unifirm.adc.ads1119.Ads1119#
set_vdd_all(self: samna.speck3TestBoard.PowerModule, arg0: float) None#

Set Power Supply

class samna.speck3TestBoard.Speck3TestBoard#

Bases: pybind11_object

An aggregate object used to access different parts of the speck3 testing board.

get_firmware_versions(self: samna.speck3TestBoard.Speck3TestBoard) samna.boards.common.FirmwareVersions#

Get the Fxtree and Unifirm versions of this board.

get_io_control_module(self: samna.speck3TestBoard.Speck3TestBoard) samna.unifirm.modules.ioControl.IoControlModule#
Returns:

A handle to an IOControlModule object which is used to control the IO pins of the FPGA. It it mainly used for debugging.

get_io_module(self: samna.speck3TestBoard.Speck3TestBoard) samna.speck3TestBoard.UnifirmModule#
Returns:

A handle to the unifirm IO module. Useful in debug scenarios.

get_model(self: samna.speck3TestBoard.Speck3TestBoard) samna.speck3.Speck3Model#

Get the model of the Speck 3 device on this board.

Returns:

Speck3Model

get_model_sink_node(self: samna.speck3TestBoard.Speck3TestBoard) samna.DeviceSinkNode_speck3_event_input_event#

Convenience function to get the model sink node directly

get_model_source_node(self: samna.speck3TestBoard.Speck3TestBoard) samna.DeviceSourceNode_speck3_event_output_event#

Convenience function to get the model source node directly

get_power_module(self: samna.speck3TestBoard.Speck3TestBoard) samna.speck3TestBoard.PowerModule#
Returns:

A handle to an PowerModule object which is used to control power trace voltage and measure power consumption.

get_power_monitor(self: samna.speck3TestBoard.Speck3TestBoard) samna.boards.common.power.PowerMonitor#
Returns:

A handle to an PowerMonitor object which is used to read power.

get_reader_writer(self: samna.speck3TestBoard.Speck3TestBoard) unifirm::UnifirmReaderWriter#
get_stop_watch(self: samna.speck3TestBoard.Speck3TestBoard) samna.unifirm.timestamp.StopWatch#
Returns:

A handle to the stopwatch object to control timestamp in events, for debug purpose. See StopWatch

get_usb_controller(self: samna.speck3TestBoard.Speck3TestBoard) samna.fxtree.FxTreeDevice#
Returns:

A handle to an FxTreeDevice object which is used to control the Cypress SuperSpeed USB 3.0 peripheral controller. It it mainly used for debugging.

read_write(self: samna.speck3TestBoard.Speck3TestBoard) None#
reset_model(self: samna.speck3TestBoard.Speck3TestBoard) None#

Reset the Speck 3 chip.

start_reader_writer(self: samna.speck3TestBoard.Speck3TestBoard) None#
stop_reader_writer(self: samna.speck3TestBoard.Speck3TestBoard) None#