cpld

Overview

read/ write either a cpld bitstream or to a eep rom. write to cpld EFB.

Python Class & Methods Index

class pyfabil.plugins.tpm.cpld.TpmCpld(board, **kwargs)[source]

FirmwareBlock tests class

clean_up()[source]

Perform cleanup :return: Success

cpld_efb_wr(dat)[source]

CPLD EFB write

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 :return: Status