microprobe.utils.mpt.MicroprobeTestDefinition

class MicroprobeTestDefinition[source]

Bases: object

Abstract class to represent a Microprobe Test configuration.

abstract __init__()[source]

Methods

__init__()

register_dat_mapping(mapping)

Register new DAT mapping.

register_dat_property(prop, value)

Register new DAT property.

register_instruction_definitions(definitions)

Register new instruction definitions.

register_raw_definition(name, value)

Register new raw definition.

register_register_definition(definition)

Register a new register definition.

register_variable_definition(definition)

Register a new variable definition.

set_cycle_count(value)

Set cycle count

set_default_code_address(value)

Set the default code address to value

set_default_data_address(value)

Set the default code address to value

set_instruction_count(value)

Set instruction count

set_roi_cyc(value)

Set region of interest (in cycles)

set_roi_ins(value)

Set region of interest (in instruction)

set_roi_memory_access_trace(value)

Set memory access trace

set_state(state)

Set state file

update_register_definition(definition)

Update a register definition.

Attributes

code

List of declared variables (list of MicroprobeInstructionDefinition)

cycle_count

dat_mappings

dat_properties

default_code_address

Default code section address (:int ).

default_data_address

Default data section address (:int ).

instruction_count

raw

List of declared raw definition (list of str)

registers

List of declared variables (list of MicroprobeTestRegisterDefinition)

roi_cyc

roi_ins

roi_memory_access_trace

state

State contents file (:str ).

variables

List of declared variables (list of MicroprobeTestVariableDefinition)




abstract property default_data_address

Default data section address (:int ).

abstract property default_code_address

Default code section address (:int ).

abstract property variables

List of declared variables (list of MicroprobeTestVariableDefinition)

abstract property code

List of declared variables (list of MicroprobeInstructionDefinition)

abstract property registers

List of declared variables (list of MicroprobeTestRegisterDefinition)

abstract property raw

List of declared raw definition (list of str)

abstract property state

State contents file (:str ).

abstract property dat_mappings
abstract property dat_properties
abstract property roi_ins
abstract property roi_cyc
abstract property roi_memory_access_trace
abstract property instruction_count
abstract property cycle_count
abstract set_default_code_address(value)[source]

Set the default code address to value

abstract set_default_data_address(value)[source]

Set the default code address to value

abstract register_variable_definition(definition)[source]

Register a new variable definition.

abstract register_register_definition(definition)[source]

Register a new register definition.

abstract update_register_definition(definition)[source]

Update a register definition.

abstract register_instruction_definitions(definitions)[source]

Register new instruction definitions.

abstract register_raw_definition(name, value)[source]

Register new raw definition.

abstract register_dat_mapping(mapping)[source]

Register new DAT mapping.

abstract register_dat_property(prop, value)[source]

Register new DAT property.

abstract set_roi_ins(value)[source]

Set region of interest (in instruction)

abstract set_roi_cyc(value)[source]

Set region of interest (in cycles)

abstract set_roi_memory_access_trace(value)[source]

Set memory access trace

abstract set_instruction_count(value)[source]

Set instruction count

abstract set_cycle_count(value)[source]

Set cycle count

abstract set_state(state)[source]

Set state file