TpmIntegrator

Overview

This plugin is responsible for managing the TPM FPGA firmware integrator.

Python Class & Methods Index

class ska_low_sps_tpm_api.plugins.integrator.TpmIntegrator(board, fsample=800000000.0, nof_frequency_channels=512, oversampling_factor=1.1851851851851851, core='', logger=None, **kwargs)[source]

TpmIntegrator tests class

__init__(board, fsample=800000000.0, nof_frequency_channels=512, oversampling_factor=1.1851851851851851, core='', logger=None, **kwargs)[source]

TpmIntegrator initialiser.

Parameters:

board – Pointer to board instance

configure(stage, integration_time, first_channel, last_channel, time_mux_factor, carousel_enable=0, download_bit_width=None, data_bit_width=None)[source]
configure_download(download_mode, channel_payload_length=None, beam_payload_length=None)[source]

Configure link mode and payload size for packets.

If no channel_payload_length is provided then the value remains unchanged. If no beam_payload_length is provided then the value remains unchanged.

Parameters:
  • download_mode (str) – “1g” or “10g” (1G means NSDN, 10G means 40G SDN, needs refactored)

  • channel_payload_length (int) – SPEAD payload length for integrated channel data

  • beam_payload_length (int) – SPEAD payload length for integrated beam data

stop_integrated_beam_data()[source]

Stop receiving integrated beam data from the board

stop_integrated_channel_data()[source]

Stop receiving integrated beam data from the board

stop_integrated_data()[source]

Stop transmission of integrated data

ska_low_sps_tpm_api.plugins.integrator.clean_up(self)[source]

Perform cleanup.

Returns:

Success

ska_low_sps_tpm_api.plugins.integrator.initialise(self)[source]

Initialise TpmIntegrator

ska_low_sps_tpm_api.plugins.integrator.status_check(self)[source]

Perform status check.

Returns:

Status