microprobe.target.uarch.GenericCPUMicroarchitecture

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

Bases: GenericMicroarchitecture

Generic CPU Microarchitecture

Generic CPU microarchitecture. Assumes a cache hierarchy

__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

cache_hierarchy

description

elements

name

properties

target




property cache_hierarchy
add_properties_to_isa(instructions)
Parameters:

instructions

property description
property elements
full_report()
list_properties(tabs=0)
property name
property properties
register_property(prop, force=False)
Parameters:

prop

set_target(target: Target)
Parameters:

target

property target
unregister_property(prop)
Parameters:

prop