microprobe.target.uarch.GenericMicroarchitecture

class GenericMicroarchitecture(name: str, descr: str, elements, instruction_properties_defs)[source]

Bases: Microarchitecture

__init__(name: str, descr: str, elements, instruction_properties_defs)[source]
Parameters:
  • name

  • descr

  • elements

  • instruction_properties_defs

Methods

__init__(name, descr, elements, ...)

param name:

add_properties_to_isa(instructions)

param instructions:

full_report()

list_properties([tabs])

register_property(prop[, force])

param prop:

set_target(target)

param target:

unregister_property(prop)

param prop:

Attributes

description

elements

name

properties

target




property name
property description
property elements
property target
set_target(target: Target)[source]
Parameters:

target

add_properties_to_isa(instructions)[source]
Parameters:

instructions

full_report()[source]
list_properties(tabs=0)
property properties
register_property(prop, force=False)
Parameters:

prop

unregister_property(prop)
Parameters:

prop