Reading time: | 15 min |
Last updated: | 5 Feb 2024 |
Reading time: |
15 min |
Last updated: |
5 Feb 2024 |
Author: | Ronan Synnott, Arm |
Official docs: | View |
Tags: |
Author: |
Ronan Synnott, Arm |
Official docs: |
View |
Tags: |
This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.
This article discusses the Arm Fast Model stand alone use case.
If using as part of an EDA partner’s environment, please contact the relevant vendor for guidance.
Arm Fast Models are a library of components that are used to build a virtual platform. This virtual platform is an executable that runs on your Linux or Windows host.
Therefore to build such an executable, you must ensure that the appropriate host toolchain is installed.
For Windows hosts, Visual Studio 2019 16.11 (or later). Express or Community editions can NOT be used.
For Linux hosts, the supported gcc
version depends on the Host OS.
The Fast Models User Guide provides full details.
You can download the Fast Models installation package from the Product Download Hub .
Linux (AArch64 and x86) and Windows (x86 only) hosts are supported.
For more information about the Product Download Hub, refer to the Product Download Hub installation guide .
Unzip the downloaded installation archive.
It is easiest to run the installation wizard (setup.exe
), and follow on-screen instructions.
Once installed, open the System Canvas
IDE, and select File
> Preferences
> Applications
from the menu.
Set the Path to Microsoft Viaual C++ application devenv.com
to your Visual Studio installation (<install_dir>\Common7\IDE
). Click OK
to save.
Use the setup.sh
script to install:
./setup.sh --i-accept-the-end-user-license-agreement --no-interactive
You may be prompted to install additional libraries before proceeding.
sudo apt-get install -y libsm6 libxcursor1 libxft2 libxrandr2 libxt6 libxinerama1
Once installed, set up environment with script of the form:
. <install_directory>/FastModelTools_<version>/etc/source_all.sh
The installer will output the exact script for your setup.
Full instructions are provided in the Fast Models User Guide .
Arm Fast Models are license managed. License setup instructions are available in the Arm Licensing install guide .
To verify everything is working OK, you can build one of the many example projects provided.
System Canvas
IDE from your desktop, or from a terminal:
sgcanvas &
File
> Load Project
, and browse to the FastModelsPortfolio_<version>\examples
folder.\LISA\FVP_MPS2\Build_Cortex-M3\FVP_MPS2_Cortex-M3.sgproj
).Win64_Release-VC19
).Build
in the upper toolbar to build the virtual platform.Run
and select ISIM system
.OK
to launch the virtual platform.The FVP will launch, and output text in the terminal similar to:
telnetterminal0: Listening for serial connection on port 5000
telnetterminal1: Listening for serial connection on port 5001
telnetterminal2: Listening for serial connection on port 5002
A visualization of the FVP will also be displayed.
Terminate the FVP with Ctrl+C
.
How would you rate the overall quality of this tool quick-install guide?
What is the primary reason for your feedback ?
Thank you. We're grateful for your feedback on how to improve this tool quick-install guide.