update_checkpoint flash_memory
API Reference Manual  /  Python API  / 

hypersim_patterns

Name

hypersim_patterns

Synopsis

Python

import hypersim_patterns

hypersim_patterns.add

Synopsis

hypersim_patterns.add(
    name,
    arch,
    target_list=None,
    own_info_cmd=False,
    own_status_cmd=False
)

Description

Registers a hypersim-pattern.

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

hypersim_patterns.register_std_info_command

Synopsis

hypersim_patterns.register_std_info_command(cls)

Description

Registers standard info command.

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

hypersim_patterns.register_std_status_command

Synopsis

hypersim_patterns.register_std_status_command(cls)

Description

Registers standard status command.

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

update_checkpoint flash_memory