10.3 Configuration 10.5 Flash Memory
API Reference Manual  /  10 Python API  / 

10.4 Hypersim

10.4.1 hypersim_patterns.add()

NAME
add — register a hypersim-pattern
SYNOPSIS
add(name, arch,
    target_list = None,
    own_info_cmd = False,
    own_status_cmd = False)

DESCRIPTION
The simics_start.py script for all pattern modules should call this function to register its pattern classes. The patterns will be automatically installed on the processor types it supports.

Function arguments:

name
class name
arch
architecture it supports (cpu->architecture ppc32, ppc64)
target_list
optional list of classnames that are supported. If target_list is omitted or None, the pattern will be used by all CPUs of arch architecture.
own_info_cmd
Legacy parameter, must always be overridden to True
own_status_cmd
Legacy parameter, must always be overridden to True

10.4.2 hypersim_patterns.register_std_info_command()

NAME
register_std_info_command — register standard info command
SYNOPSIS
register_std_info_command(cls)

DESCRIPTION
Register a basic info command implementation for the hypersim pattern class named cls

10.4.3 hypersim_patterns.register_std_status_command()

NAME
register_std_status_command — register standard status command
SYNOPSIS
register_std_status_command(cls)

DESCRIPTION
Register a basic status command implementation for the hypersim pattern class named cls

10.3 Configuration 10.5 Flash Memory