Fast Models User Guide

Version 11.0

Table of Contents

About this book
Using this book
Typographic conventions
Other information
1 Introduction to Fast Models
1.1 What is Fast Models?
1.2 What does Fast Models consist of?
1.2.1 Fast Models tools
1.2.2 Fast Models portfolio
1.2.3 Other Fast Models products
1.3 Fast Models glossary
1.4 Fast Models design
1.4.1 Fast Models design flow
1.4.2 Project files
1.4.3 Repository files
1.4.4 File processing order
1.4.5 Hierarchical systems
2 Installing Fast Models
2.1 Requirements for Fast Models
2.2 Installing Fast Models
2.3 Installing the TPIP package
2.4 Dependencies for Red Hat Enterprise Linux
2.4.1 About Red Hat Enterprise Linux dependencies
2.4.2 Dependencies for Red Hat Enterprise Linux 6
3 System Canvas Tutorial
3.1 About this tutorial
3.2 Starting System Canvas
3.3 Creating a new project
3.4 Add and configure components
3.4.1 Adding the ARM processor
3.4.2 Naming components
3.4.3 Resizing components
3.4.4 Hiding ports
3.4.5 Moving ports
3.4.6 Adding components
3.4.7 Using port arrays
3.5 Connecting components
3.6 View project properties and settings
3.6.1 Viewing the project settings
3.6.2 Specifying the Active Project Configuration
3.6.3 Selecting the top component
3.7 Changing the address mapping
3.8 Building the system
3.9 Building SystemC ISIM targets
3.10 Debugging with Model Debugger
4 Debugging LISA+ components
4.1 Building a debuggable model
4.2 Debugging with GDB at the source level
4.2.1 GDB LISA debug session
4.3 Debugging with Microsoft Visual Studio at the source level
4.3.1 Microsoft Visual Studio LISA debug session
4.4 Attaching Microsoft Visual Studio to a simulator process
5 System Canvas Reference
5.1 Launching System Canvas
5.2 System Canvas GUI
5.2.1 Application window
5.2.2 Menu bar
5.2.3 Toolbar
5.2.4 Workspace window
5.2.5 Component window
5.2.6 Output window
5.3 System Canvas dialogs
5.3.1 Add Existing Files and Add New File dialogs (Component window)
5.3.2 Add Files dialog (Project menu)
5.3.3 Add Connection dialog
5.3.4 Component Instance Properties dialog
5.3.5 Component Model Properties dialog for the system
5.3.6 Component Properties dialog for a library component
5.3.7 Connection Properties dialog
5.3.8 Edit Connection dialog
5.3.9 File/Path Properties dialog
5.3.10 Find and Replace dialogs
5.3.11 Label Properties dialog
5.3.12 New File dialog (File menu)
5.3.13 New project dialogs
5.3.14 Open File dialog
5.3.15 Port Properties dialog
5.3.16 Preferences dialog
5.3.17 Project Settings dialog
5.3.18 Protocol Properties dialog
5.3.19 Run dialog
5.3.20 Self Port dialog
6 System Generator Reference
6.1 About System Generator
6.2 SimGen command-line options
6.3 Decreasing compilation time with num-comps-file and num-build-cpus
6.4 Setting command-line options from System Canvas
7 SystemC Export with Multiple Instantiation
7.1 About SystemC Export with Multiple Instantiation
7.2 Building a SystemC subsystem with System Canvas
7.2.1 License implications
7.2.2 Building the EVS
7.2.3 Header files and libraries for Linux export
7.2.4 Header files and libraries for Microsoft Windows export
7.3 Adding a SystemC subsystem to a SystemC system
7.4 Auto-bridging
7.5 SystemC Export generated ports
7.5.1 Protocol definition
7.5.2 TLM 1.0 protocol for an exported SystemC component
7.5.3 TLM 2.0 bus protocol for an exported SystemC component
7.5.4 Properties for TLM 1.0 based protocols
7.5.5 Properties for TLM 2.0 based protocols
7.6 SystemC Export API
7.6.1 SystemC Export header file
7.6.2 scx::scx_initialize
7.6.3 scx::scx_load_application
7.6.4 scx::scx_load_application_all
7.6.5 scx::scx_load_data
7.6.6 scx::scx_load_data_all
7.6.7 scx::scx_set_parameter
7.6.8 scx::scx_get_parameter
7.6.9 scx::scx_get_parameter_list
7.6.10 scx::scx_set_cpi_file
7.6.11 scx::scx_cpulimit
7.6.12 scx::scx_timelimit
7.6.13 scx::scx_parse_and_configure
7.6.14 scx::scx_start_cadi_server
7.6.15 scx::scx_enable_cadi_log
7.6.16 scx::scx_prefix_appli_output
7.6.17 scx::scx_print_port_number
7.6.18 scx::scx_print_statistics
7.6.19 scx::scx_load_trace_plugin
7.6.20 scx::scx_load_plugin
7.6.21 scx::scx_get_global_interface
7.6.22 scx::scx_evs_base
7.6.23 scx::load_application
7.6.24 scx::load_data
7.6.25 scx::set_parameter
7.6.26 scx::get_parameter
7.6.27 scx::get_parameter_list
7.6.28 scx::constructor
7.6.29 scx::destructor
7.6.30 scx::before_end_of_elaboration
7.6.31 scx::end_of_elaboration
7.6.32 scx::start_of_simulation
7.6.33 scx::end_of_simulation
7.6.34 scx::scx_simcallback_if
7.6.35 scx::notify_running
7.6.36 scx::notify_stopped
7.6.37 scx::notify_debuggable
7.6.38 scx::notify_idle
7.6.39 scx::simcallback_if destructor
7.6.40 scx::scx_simcontrol_if
7.6.41 scx::get_scheduler
7.6.42 scx::get_report_handler
7.6.43 scx::run
7.6.44 scx::stop
7.6.45 scx::is_running
7.6.46 scx::stop_acknowledge
7.6.47 scx::process_debuggable
7.6.48 scx::process_idle
7.6.49 scx::shutdown
7.6.50 scx::add_callback
7.6.51 scx::remove_callback
7.6.52 scx::destructor
7.6.53 scx::scx_get_default_simcontrol
7.6.54 scx::scx_report_handler_if
7.6.55 scx::scx_get_default_report_handler
7.6.56 scx::scx_get_curr_report_handler
7.6.57 scx::scx_sync
7.7 Scheduler API
7.7.1 Scheduler API - about
7.7.2 Scheduler API - use cases and implementation
7.7.3 sg::SchedulerInterfaceForComponents class
7.7.4 sg::SchedulerRunnable class
7.7.5 sg::SchedulerThread class
7.7.6 sg::ThreadSignal class
7.7.7 sg::Timer class
7.7.8 sg::TimerCallback class
7.7.9 sg::FrequencySource class
7.7.10 sg::FrequencyObserver class
7.7.11 sg::SchedulerObject class
7.7.12 sg::scx_create_default_scheduler_mapping
7.7.13 sg::scx_get_curr_scheduler_mapping
7.7.14 Scheduler API - changes
7.8 SystemC Export limitations
7.8.1 SystemC Export limitation on reentrancy
7.8.2 SystemC Export limitation on calling wait()
7.8.3 SystemC Export limitation on code translation support for external memory
7.8.4 SystemC Export limitation on Fast Models versions for MI platforms
8 Generic Graphics Accelerator
8.1 Introduction to the Generic Graphics Accelerator
8.1.1 Overview
8.1.2 Technical implementation
8.1.3 Prerequisites
8.1.4 Limitations
8.2 Customizing the target and host to support the Generic Graphics Accelerator
8.2.1 Building or downloading Android
8.2.2 Installing the ARM Mali OpenGL ES Emulator
8.2.3 Selecting the target model
8.2.4 Booting Android
8.2.5 Pushing the Shim libraries to the target
8.2.6 Modifying Android properties and rebooting Android
8.2.7 Installing and running an Android application
8.3 Parameters and configuration
8.3.1 Command-line examples for booting Android
8.3.2 Configuration
8.4 Debugging
8.4.1 Debugging workflow
8.4.2 Viewing system logs about GGA
8.4.3 API tracing debugging tool
8.4.4 Reporting bugs in the Generic Graphics Accelerator
9 Graphics Register Model
9.1 Introduction to Graphics Register Model
9.1.1 About the integration with virtual GPU in GRM
9.2 Using Graphics Register Model
9.2.1 Modeling a GPU system with GRM
9.2.2 Booting Android graphics software stack on virtual GPU
9.2.3 Diagnosing graphics software stack problems with GRM
9.2.4 Migrating graphics software stack from GRM to real hardware
10 Timing Annotation
10.1 About timing annotation
10.2 About CPI files
10.3 CPI file syntax
10.4 BNF specification for CPI files
10.5 Configuring branch prediction
10.6 Creating a new branch predictor
10.7 Instruction and data prefetching
10.7.1 Configuring instruction prefetching
10.7.2 Configuring data pretetching
10.8 Configuring cache and TLB latency
10.9 Timing annotation tutorial
10.9.1 Setting up the environment
10.9.2 Modeling Cycles Per Instruction (CPI)
10.9.3 Modeling branch prediction
A SystemC Export generated ports
A.1 About SystemC Export generated ports

Release Information

Document History
Issue Date Confidentiality Change
A 31 May 2014 Non-Confidential New document for Fast Models v9.0, from DUI0370R for v8.3.
B 30 November 2014 Non-Confidential Update for v9.1.
C 28 February 2015 Non-Confidential Update for v9.2.
D 31 May 2015 Non-Confidential Update for v9.3.
E 31 August 2015 Non-Confidential Update for v9.4.
F 30 November 2015 Non-Confidential Update for v9.5.
G 29 February 2016 Non-Confidential Update for v9.6.
H 31 May 2016 Non-Confidential Update for v10.0.
I 31 August 2016 Non-Confidential Update for v10.1.
J 11 November 2016 Non-Confidential Update for v10.2.
K 17 February 2017 Non-Confidential Update for v10.3.
1100-00 31 May 2017 Non-Confidential Update for v11.0. Document numbering scheme has changed.

Non-Confidential Proprietary Notice

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated.

Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents.

THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights.

This document may include technical inaccuracies or typographical errors.


This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at any time and without notice.

If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail.

Words and logos marked with ® or ™ are registered trademarks or trademarks of ARM Limited or its affiliates in the EU and/or elsewhere. All rights reserved. Other brands and names mentioned in this document may be the trademarks of their respective owners. Please follow ARM’s trademark usage guidelines at

Copyright © 2014–2017, ARM Limited or its affiliates. All rights reserved.

ARM Limited. Company 02557590 registered in England.

110 Fulbourn Road, Cambridge, England CB1 9NJ.


Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is Final, that is for a developed product.

Web Address

Non-ConfidentialPDF file icon PDF versionARM 100965_1100_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.