TpmCpld

Overview

This plugin is responsible for managing the TPM CPLD.

Python Class & Methods Index

class ska_low_sps_tpm_api.plugins.cpld.TpmCpld(board, logger=None, **kwargs)[source]

TpmCpld plugin

__init__(board, logger=None, **kwargs)[source]

TpmCpld initialiser.

Parameters:

board – Pointer to board instance

clean_up()[source]

Perform cleanup.

Returns:

Success

cpld_efb_wr(dat)[source]
cpld_flash_read(bitfile='cpld_dump.bit')[source]

Read CPLD FLASH

cpld_flash_write(bitfile)[source]

Write bitfile to CPLD FLASH

eep_rd32(offset)[source]

Read 32-bit value from EEP ROM

eep_rd8(offset)[source]

Read 8-bit value from EEP ROM

eep_wr32(offset, data)[source]

Write 32-bit value to EEP ROM

eep_wr8(offset, data)[source]

Write 8-bit value to EEP ROM

get_version()[source]
initialise()[source]

Initialise TpmCpld

status_check()[source]

Perform status check.

Returns:

Status