alias
ds disassemble-settings
will create an alias 'ds' for the command 'disassemble-settings'. So instead of writing disassemble-setting you can write 'ds' at the command line or in a Simics script.
You can also define an alias for an object reference like:
alias
cpu0 system_cmp0.board1.cpu[0]
which allows you to write, for example, 'cpu0.print-processor-registers' instead of 'system_cmp0.board1.cpu[0].print-processor-registers' to print the registers for the cpu[0] processor in the component board1 in the component system_cmp0.
Use alias
alias as -r if you want to replace an existing alias with a new one, or alias
alias -r if you want to remove the alias.
Aliases defined by this command have higher priority then build-in aliases. This allows you to redefine the built-ins.
If no arguments are given a list of all aliases, including the built-ins, will be printed.
Aliases must only contain letters, digits and underscores. The first character is not allowed to be a digit.