Intel® Simics® Simulator for Intel® FPGAs: User Guide

ID 784383
Date 4/01/2024
Public
Document Table of Contents

8.1. Scripts in CLI

The Command Line Interface in Intel® Simics® simulator provides scripting capabilities that can be used to write parameterized configurations and scripts that control or inspect simulated sessions. For even more advanced scripting, the Python language can be used.

This section describes how to write simple scripts in the Intel® Simics® simulator command line interface (CLI), using control flow commands, variables and script branches.

All commands can be executed either by typing them at the prompt in the Intel® Simics® simulator console or by writing them to a file (for example,example.simics), and executing the command using the run-command-file command, for example:

run-command-file  example.simics