A Simics script file can either be a YAML file containing parameter and/or argument declarations, with a pointer to a separate file containing code, or have a parameter declaration section in YAML format placed at the top of a file with Simics CLI or Python code.
In the former case, the file format has the following specifications:
%YAML 1.2In the latter case, the file format has the following specifications:
#), and must be followed by the parameter start marker, which is a line ''' followed by a line %YAML 1.2 (in Python code) or @''' followed by %YAML 1.2 (in Simics CLI code), followed by a line ---''', which marks the end of the parameter block.''' line must be code.