hypersim_patterns
import hypersim_patterns
hypersim_patterns.add(
name,
arch,
target_list=None,
own_info_cmd=False,
own_status_cmd=False
)
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.
namearchtarget_listarch architecture.own_info_cmdown_status_cmdhypersim_patterns.register_std_info_command(cls)
Registers standard info command.
Register a basic info command implementation for the hypersim pattern class named cls.
hypersim_patterns.register_std_status_command(cls)
Registers standard status command.
Register a basic status command implementation for the hypersim pattern class named cls.