SoC Designer SystemC Linking Guide

Version 9.1


Table of Contents

Preface
About this book
Product revision status
Intended audience
Using this book
Additional reading
Feedback
Feedback on this product
Feedback on content
1 Introduction
1.1 Import overview for SystemC models
1.2 Import methods
1.3 System requirements
1.4 SoC Designer SystemC scheduler
1.5 Controlling message output
1.5.1 Using dumpMsg()
2 SystemC to SoC Designer Import Wizard
2.1 Introduction
2.2 Requirements and prerequisites
2.2.1 Files generated by the SystemC Import Wizard
2.3 Using the SystemC Import Wizard
3 Direct Import of SystemC Models
3.1 Overview of direct import
3.2 Organizing the source files for SoC Designer
3.2.1 Original dpipe example
3.2.2 Source files of the dpipe system
3.3 Using the sc_mx_import_module
3.3.1 sc_mx_import_module class implementation
3.3.2 Convenience macros in sc_mx_import_module.h
3.3.3 Generating a makefile from the Component Wizard
3.4 Using SystemC ports
3.4.1 Registering SystemC ports and interfaces
3.4.2 Using the sc_prim_channel model library
3.4.3 Using the Component Wizard to create a custom primitive channel
3.4.4 External SystemC ports
3.4.5 Mixing SoC Designer and SystemC ports
3.5 Simulation control
3.5.1 Simulation features
3.5.2 Clocking the SystemC modules
3.5.3 Resetting the imported SystemC components
3.5.4 CADI functions
3.6 fifo example
3.6.1 Files in the simple_fifo directory
3.6.2 Interface definition
3.6.3 fifo component
3.6.4 producer component
3.6.5 consumer component
3.6.6 Running the fifo simulation
3.7 dpipe example
3.7.1 Files in the dpipe example directory
3.7.2 dpipe source
3.7.3 reader source files
3.7.4 writer source files
3.7.5 Running the dpipe simulation
4 Generating a Wrapper for SystemC Models
4.1 Generating CASI wrapper components with the Component Wizard
4.1.1 Files generated for SystemC import
4.2 Instantiating SystemC modules
4.3 Clocking generated components
4.3.1 Clocking the SystemC modules for high performance
4.4 Connecting imported components to SoC Designer components
5 Modeling Guidelines for SystemC
5.1 Modeling for Speed
A SystemC Implementation
A.1 Cycle Model-specific SystemC Implementation Differences
A.2 Built-in primitive channels

Release Information

Document History
Issue Date Confidentiality Change
A November 2016 Non-Confidential Rebrand update for 9.0
B 24 February 2017 Non-Confidential Update for 9.1

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 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 http://www.arm.com/about/trademark-usage-guidelines.php

Copyright © 2016, 2017, 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 versionARM DUI1041B
Copyright © 2016, 2017 ARM Limited or its affiliates. All rights reserved.