The preferences class represents Simics's global simulator preferences that, unlike the settings in the sim object, usually are the same between sessions.
conf_object, log_object, preference
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- pref-change
- Notifier that is triggered when preferences are changed.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
info
– print information about the object
-
status
– print status of the object
-
startup_simics_path
-
Optional attribute;
read/write access; type:
[s*]
The initial value of the Simics search path. This list of dictionaries are copied to the sim->simics_path attribute at startup.
-
swap_dir
-
Optional attribute;
read/write access; type:
s
Directory where to store swap files, to limit Simics memory usage.
-
output_radix
-
Optional attribute;
read/write access; type:
i
The default output radix for integers in the command line. One of 2, 8, 10 and 16. Default is 10.
-
output_grouping
-
Optional attribute;
read/write access; type:
[iiii]
The default digit grouping for integers in the command line, for binary, octal, decimal and hexadecimal integers.
-
enable_multithreading
-
Optional attribute;
read/write access; type:
b
Set to TRUE if Multimachine Accelerator should be enabled when Simics is started. Default TRUE.
-
history_lines
-
Optional attribute;
read/write access; type:
i
The number of input lines saved in the command history.
-
readline_shortcuts
-
Optional attribute;
read/write access; type:
b
Set to TRUE if GNU Readline style keyboard shortcuts should be used in the command line. If set to FALSE, Windows style shortcuts are used.
-
default_log_endianness
-
Optional attribute;
read/write access; type:
s
Sets the default endianness of logged values when not given by context. Valid values are "little" (the default) and "big".
-
wireshark_path
-
Optional attribute;
read/write access; type:
s|n
The directory were wireshark or ethereal binaries are located. If not set the default environment path will be searched.
-
cli_table_border_style
-
Optional attribute;
read/write access; type:
s
The style of the table-borders. Valid styles are: borderless, ascii, thin, thick and header_only_underline_ascii. Default is thin.
-
cli_table_maximum_width
-
Optional attribute;
read/write access; type:
i
The maximum width of tables. If set to 0, the width will be unlimited in batch mode and will be set to the full terminal width in interactive CLI. The default is 0.
-
force_ipv4
-
Optional attribute;
read/write access; type:
b
If TRUE, network services such as telnet and VNC in the target consoles will use IPv4 only. Default is FALSE.
-
log_setup
-
Optional attribute;
read/write access; type:
n|[[sb][sb][sb][sb][sb][sb][sb][sn|s][sn|s]]
Log setup preferences similar to that of the log-setup command.
Simics Core