Fast Models User Guide

Version 11.9


Table of Contents

Preface
About this book
Using this book
Glossary
Typographic conventions
Feedback
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
1.5 Data collection in Fast Models
2 Installing Fast Models
2.1 Requirements for Fast Models
2.2 Installing Fast Models
2.3 Dependencies for Red Hat Enterprise Linux
2.3.1 About Red Hat Enterprise Linux dependencies
2.3.2 Dependencies for Red Hat Enterprise Linux 6
3 Building Fast Models
3.1 System Generator (SimGen)
3.2 SimGen command-line options
3.3 Select the build target
3.4 Building an EVS platform
3.5 Steps for building an EVS platform
3.5.1 Export the Fast Model as an EVS library
3.5.2 Define an sc_main() function to initialize and configure the simulation
3.5.3 Specify the header files and libraries for the build
3.6 Bridge between LISA+ and SystemC
3.7 Running the EVS platform
3.8 Building an SVP
3.9 Building an ISIM
4 System Canvas Tutorial
4.1 About this tutorial
4.2 Starting System Canvas
4.3 Creating a new project
4.4 Add and configure components
4.4.1 Adding the Arm® processor
4.4.2 Naming components
4.4.3 Resizing components
4.4.4 Hiding ports
4.4.5 Moving ports
4.4.6 Adding components
4.4.7 Using port arrays
4.5 Connecting components
4.6 View project properties and settings
4.6.1 Viewing the project settings
4.6.2 Specifying the Active Project Configuration
4.6.3 Selecting the top component
4.7 Changing the address mapping
4.8 Building the system
4.9 Debugging with Model Debugger
4.10 Building SystemC ISIM targets
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 SystemC Export with Multiple Instantiation
6.1 About SystemC Export with Multiple Instantiation
6.2 Auto-bridging
6.3 SystemC Export generated ports
6.3.1 Protocol definition
6.3.2 TLM 1.0 protocol for an exported SystemC component
6.3.3 TLM 2.0 bus protocol for an exported SystemC component
6.3.4 Properties for TLM 1.0 based protocols
6.3.5 Properties for TLM 2.0 based protocols
6.4 SystemC Export API
6.4.1 SystemC Export header file
6.4.2 scx::scx_initialize
6.4.3 scx::scx_load_application
6.4.4 scx::scx_load_application_all
6.4.5 scx::scx_load_data
6.4.6 scx::scx_load_data_all
6.4.7 scx::scx_set_parameter
6.4.8 scx::scx_get_parameter
6.4.9 scx::scx_get_parameter_list
6.4.10 scx::scx_set_cpi_file
6.4.11 scx::scx_cpulimit
6.4.12 scx::scx_timelimit
6.4.13 scx::scx_parse_and_configure
6.4.14 scx::scx_start_cadi_server
6.4.15 scx::scx_enable_cadi_log
6.4.16 scx::scx_prefix_appli_output
6.4.17 scx::scx_print_port_number
6.4.18 scx::scx_print_statistics
6.4.19 scx::scx_load_trace_plugin
6.4.20 scx::scx_load_plugin
6.4.21 scx::scx_get_global_interface
6.4.22 scx::scx_evs_base
6.4.23 scx::load_application
6.4.24 scx::load_data
6.4.25 scx::set_parameter
6.4.26 scx::get_parameter
6.4.27 scx::get_parameter_list
6.4.28 scx::constructor
6.4.29 scx::destructor
6.4.30 scx::before_end_of_elaboration
6.4.31 scx::end_of_elaboration
6.4.32 scx::start_of_simulation
6.4.33 scx::end_of_simulation
6.4.34 scx::scx_simcallback_if
6.4.35 scx::notify_running
6.4.36 scx::notify_stopped
6.4.37 scx::notify_debuggable
6.4.38 scx::notify_idle
6.4.39 scx::simcallback_if destructor
6.4.40 scx::scx_simcontrol_if
6.4.41 scx::get_scheduler
6.4.42 scx::get_report_handler
6.4.43 scx::run
6.4.44 scx::stop
6.4.45 scx::is_running
6.4.46 scx::stop_acknowledge
6.4.47 scx::process_debuggable
6.4.48 scx::process_idle
6.4.49 scx::shutdown
6.4.50 scx::add_callback
6.4.51 scx::remove_callback
6.4.52 scx::destructor
6.4.53 scx::scx_get_default_simcontrol
6.4.54 scx::scx_report_handler_if
6.4.55 scx::scx_get_default_report_handler
6.4.56 scx::scx_get_curr_report_handler
6.4.57 scx::scx_sync
6.4.58 scx::scx_set_min_sync_latency
6.4.59 scx::scx_get_min_sync_latency
6.4.60 scx::scx_simlimit
6.4.61 scx::scx_create_default_scheduler_mapping
6.4.62 scx::scx_get_curr_scheduler_mapping
6.4.63 scx::scx_enable_iris_server
6.4.64 scx::scx_set_iris_server_port_range
6.4.65 scx::scx_set_iris_server_port
6.4.66 scx::scx_enable_iris_log
6.4.67 scx::scx_get_iris_connection_interface
6.4.68 scx::scx_register_synchronous_thread
6.5 Scheduler API
6.5.1 Scheduler API - about
6.5.2 Scheduler API - use cases and implementation
6.5.3 sg::SchedulerInterfaceForComponents class
6.5.4 sg::SchedulerRunnable class
6.5.5 sg::SchedulerThread class
6.5.6 sg::ThreadSignal class
6.5.7 sg::Timer class
6.5.8 sg::TimerCallback class
6.5.9 sg::FrequencySource class
6.5.10 sg::FrequencyObserver class
6.5.11 sg::SchedulerObject class
6.5.12 sg::scx_create_default_scheduler_mapping
6.5.13 sg::scx_get_curr_scheduler_mapping
6.6 SystemC Export limitations
6.6.1 SystemC Export limitation on reentrancy
6.6.2 SystemC Export limitation on calling wait()
6.6.3 SystemC Export limitation on code translation support for external memory
6.6.4 SystemC Export limitation on Fast Models versions for MI platforms
7 Graphics Acceleration in Fast Models
7.1 Introduction to GGA
7.2 GGA modes
7.2.1 Using a GPU register model without GGA
7.2.2 Using GGA with a GPU register model
7.2.3 Using GGA without a GPU register model
7.3 Prerequisites
7.4 GGA contents
7.4.1 Shim directory
7.4.2 Reconciler directory
7.4.3 Examples directory
7.4.4 HAL directory
7.5 Configuration
7.6 Feedback
7.7 Enabling GGA
7.7.1 Install the Arm® Mali™ OpenGL ES Emulator
7.7.2 Preparing your image
7.7.3 Prepare an Android image
7.7.4 Prepare a Linux image
7.7.5 Choose the GGA mode
7.7.6 Boot the model with the Android or Linux image
7.7.7 Test the Android setup
7.8 Using GGA
7.8.1 Log execution of graphics APIs
7.8.2 Examine OpenGL ES execution in the graphics driver
7.8.3 Error messages from Error code check
7.8.4 Trace driver accesses to the GPU registers
8 Timing Annotation
8.1 Timing annotation
8.2 Enabling and disabling timing annotation
8.3 CPI files
8.4 CPI file syntax
8.5 BNF specification for CPI files
8.6 Instruction and data prefetching
8.6.1 Configuring instruction prefetching
8.6.2 Configuring data prefetching
8.7 Configuring cache and TLB latency
8.8 Timing annotation tutorial
8.8.1 Setting up the environment
8.8.2 Modeling Cycles Per Instruction (CPI)
8.8.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.
1101-00 31 August 2017 Non-Confidential Update for v11.1.
1102-00 17 November 2017 Non-Confidential Update for v11.2.
1103-00 23 February 2018 Non-Confidential Update for v11.3.
1104-00 22 June 2018 Non-Confidential Update for v11.4.
11.4.2-00 17 August 2018 Non-Confidential Update for v11.4.2.
1105-00 23 November 2018 Non-Confidential Update for v11.5.
1106-00 26 February 2019 Non-Confidential Update for v11.6.
1107-00 17 May 2019 Non-Confidential Update for v11.7.
1108-00 05 September 2019 Non-Confidential Update for v11.8.
11.8.1-00 03 October 2019 Non-Confidential Update for v11.8.1.
1109-00 28 November 2019 Non-Confidential Update for v11.9.

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.

TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

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 click through or signed written agreement covering this document with Arm, then the click through or 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.

The Arm corporate logo and words marked with ® or ™ are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US 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 http://www.arm.com/company/policies/trademarks.

Copyright © 2014–2019 Arm Limited (or its affiliates). All rights reserved.

Arm Limited. Company 02557590 registered in England.

110 Fulbourn Road, Cambridge, England CB1 9NJ.

LES-PRE-20349

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 version100965_1190_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.