Get Started with the Intel® Simics® Simulator

ID 标签 709680
已更新 9/8/2023
版本 Latest
公共

author-image

作者

After the Intel® Simics® Simulator is installed, you can easily run a demo Intel Simics simulation. To do this, in the Intel Simics Package Manager, open the project created during installation, and then go to the Project Manager view. To begin using this software, refer to the following instructions.

Installation Guide

 

Run a First Intel Simics Simulation

To quickly see an Intel Simics Virtual Platform in action:

  1. In the Project Manager view that shows your Intel Simics project, select Launch Demo. This starts an Intel Simics simulation and opens several windows.
  2. Follow the instructions that are printed in the shell containing the Intel Simics simulator command line.

This image shows the Intel Simics simulator demonstration running when started from a project in the Intel Simics Package Manager

Figure 1. This image shows the Intel Simics simulator demonstration running when started from a project in the Intel Simics Package Manager

Open the Documentation

The documentation available in the public release of the Intel Simics simulator contains tutorials, help, and reference materials. It is a good idea to keep it open when using the simulator.

To open the documentation in HTML format:

  1. In the Intel Simics Package Manager, make sure your project is open in the Project Manager view.
  2. Select Read Documentation to open the Intel Simics simulator documentation in your default web browser.
  3. Leave the web browser open when working through the following tutorials.

This image shows the Intel Simics simulator documentation in a web browser, with the Intel Simics Package Manager in the background

Figure 2. The Intel Simics simulator documentation, opened from the Intel Simics Package Manager

Follow the Get Started Guide

The Intel Simics simulator starts and runs from the host shell (host command line) within your Intel Simics project.

To start a new host shell and work through the Intel Simics simulator examples:

  1. In the Intel Simics Package Manager, make sure to have your project open in the Project Manager view.
  2. To open a host shell or command line window with the project as the current directory, select the >_ button (Open in terminal).
  3. Go to the Intel Simics simulator documentation in your browser, and open the Getting Started document, which is second in the list of documents.
  4. Follow the steps in the document. These steps show you how to use the command line to start and run Intel Simics simulations, debug target software, connect to a real-world network, and use instrumentation to inspect the target system.

Working through the early parts of the Intel Simics simulator get started tutorial, showing the documentation in a web browser and the simulator running the firststeps.simics script

Figure 3. The early portions of the Intel Simics simulator get started tutorial shows the documentation in a web browser and the simulator running the firststeps.simics script, after the target system has booted.

 

Run the RISC-V* Simple Virtual Platform

To get started with the RISC-V* simple virtual platform, you have to build the target software stack on a Linux* host. Once the target software stack has been built, it can be copied to other hosts, including Windows* hosts.

Follow these steps:

  1. Use a Linux host.
  2. Open the documentation, as shown above.
  3. Go to the Intel Simics simulator documentation in your browser, and then in the Target Guides category, open the RISC-V* Simple Board Target Guide.
  4. Open chapter 3.1, Build and Run.
  5. Follow the steps in the guide.

This screenshot shows the Intel Simics simulator with the RISC-V simple virtual platform running Linux on a Linux host

Figure 4. The Intel Simics simulator RISC-V simple virtual platform running Linux, booted to prompt on the serial console, and issuing some Linux target commands.

Run the Intel® Integrated Simulation Infrastructure with Modeling (Intel® ISIM) Tutorial

The software contains an example of an integrated functional, performance, power, and thermal simulation (PnPnT) with closed-loop power management. The tutorial is built on top of the Intel Simics Quick-Start Platform, running the same unmodified software stack, and extending the functional system model with PnPnT models.

To go through the tutorial:

  1. Go to the Intel Simics simulator documentation in your browser, and then in the Target Guides category, open QSP-ISIM Target Guide and Tutorial.
  2. Follow the steps in the tutorial.

The Intel® Integrated Simulation Infrastructure with Modeling (Intel® ISIM) tutorial based on the Intel Simics Quick-Start Platform in action, showing computed power estimates and the operating frequencies being controlled by the power management model

Figure 5. The Intel ISIM tutorial based on the Intel Simics Quick-Start Platform shows computed power estimates and the operating frequencies being controlled by the power management model.

Try Intel Simics Simulator Educational Workshops

The training materials contain a series of workshops that showcase and provide more in-depth insight into various simulator features and use cases.

To access these PDF documents:

  1. In the Intel Simics Package Manager, open your project in the Project Manager view.
  2. From the right-hand toolbar, select Open Folder. This opens a file browser showing the contents of the Intel Simics project folder on disk.
  3. Open the doc/ folder.
  4. Documents with names starting with w are workshops. The code and scripts needed to go through the workshops are included in the installed training package. The other documents in this folder are the Intel Simics simulator training labs. Some of them require the Eclipse* GUI that is not part of the public release.

The workshop w01 shows how to do cache modeling and workload characterization using the Intel Simics simulator instrumentation system. The workshop w02 shows how to build a compute accelerator model and connect it to the simulated system over PCIe*, including driving it from a software stack.

Additional Resources

Intel Simics Simulator

Installation Guide