microprobe.utils.mpt.MicroprobeTestDefinitionV0x5
- class MicroprobeTestDefinitionV0x5[source]
Bases:
MicroprobeTestDefinitionDefault
Class to represent a Microprobe Test configuration (v0.5)
- __init__()
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
List of declared variables (
list
ofMicroprobeInstructionDefinition
)Default code section address (:
int
).Default data section address (:
int
).List of declared variables (
list
ofMicroprobeTestRegisterDefinition
)State contents file (:
str
).List of declared variables (
list
ofMicroprobeTestVariableDefinition
)
- version = 0.5
- property code
List of declared variables (
list
ofMicroprobeInstructionDefinition
)
- property cycle_count
- property dat_mappings
- property dat_properties
- property instruction_count
- register_dat_mapping(definition)
Register a new DAT mapping.
- register_dat_property(prop, value)
Register a new DAT property.
- register_instruction_definitions(definitions, prepend=False)
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.
- property registers
List of declared variables (
list
ofMicroprobeTestRegisterDefinition
)
- property roi_cyc
- property roi_ins
- property roi_memory_access_trace
- 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.
- property variables
List of declared variables (
list
ofMicroprobeTestVariableDefinition
)