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

ID 784383
Date 12/04/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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