microprobe.utils.mpt.MicroprobeTestDefinitionDefault

class MicroprobeTestDefinitionDefault[source]

Bases: MicroprobeTestDefinition

Class to represent a Microprobe Test configuration (default impl.)

__init__()[source]

Methods

__init__()

register_dat_mapping(definition)

Register a new DAT mapping.

register_dat_property(prop, value)

Register a new DAT property.

register_instruction_definitions(definitions)

Register new instruction definitions.

register_raw_definition(name, value)

Register a 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_instruction_definitions(definitions)

Set new instruction definitions.

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(trace)

Set memory access trace

set_state(state)

Set state file

set_variables_definition(definitions)

Register a new set of variable definitions.

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)

version




version = 0.0
property default_data_address

Default data section address (:int ).

property default_code_address

Default code section address (:int ).

property variables

List of declared variables (list of MicroprobeTestVariableDefinition)

property code

List of declared variables (list of MicroprobeInstructionDefinition)

property registers

List of declared variables (list of MicroprobeTestRegisterDefinition)

property state

State contents file (:str ).

property raw

List of declared raw definition (list of str)

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

Set the default code address to value

set_default_data_address(value)[source]

Set the default code address to value

register_variable_definition(definition)[source]

Register a new variable definition.

set_variables_definition(definitions)[source]

Register a new set of variable definitions.

update_register_definition(definition)[source]

Update a register definition.

register_register_definition(definition)[source]

Register a new register definition.

register_instruction_definitions(definitions, prepend=False)[source]

Register new instruction definitions.

set_instruction_definitions(definitions)[source]

Set new instruction definitions.

register_raw_definition(name, value)[source]

Register a new raw definition.

register_dat_mapping(definition)[source]

Register a new DAT mapping.

register_dat_property(prop, value)[source]

Register a new DAT property.

set_roi_ins(value)[source]

Set region of interest (in instruction)

set_roi_memory_access_trace(trace)[source]

Set memory access trace

set_roi_cyc(value)[source]

Set region of interest (in cycles)

set_instruction_count(value)[source]

Set instruction count

set_cycle_count(value)[source]

Set cycle count

set_state(state)[source]

Set state file