AXI To AXI Asynchronous Bridge Cycle Model: User Guide
AXI To AXI Asynchronous Bridge Cycle Model: User Guide
Cycle Model
Version 9.0.0
User Guide
Non-Confidential
Change History
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 Limited (“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 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 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 shall prevail.
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 specifically
covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of
these terms.
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. You must follow the ARM trademark usage guidelines http://www.arm.com/about/trademarks/guidelines/index.php.
In this document, where the term ARM is used to refer to the company it means “ARM or any of its subsidiaries as appropriate”.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. ii
ID110916 Non-Confidential
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.
Product Status
Web Address
http://www.arm.com
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. iii
ID110916 Non-Confidential
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. iv
ID110916 Non-Confidential
Contents
Chapter 1.
Using the Model in SoC Designer
Asynchronous AXI to AXI Bridge Model Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Asynchronous AXI to AXI Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Model Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Component Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Component Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Debug Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Register Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Available Profiling Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. v
ID110916 Non-Confidential
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. vi
ID110916 Non-Confidential
Preface
A Cycle Model component is a library that is generated through Cycle Model Studio™. The
Cycle Model then can be used within a virtual platform tool, for example, SoC Designer.
Audience
This guide is intended for experienced hardware and software developers who create compo-
nents for use with SoC Designer. You should be familiar with the following products and tech-
nology:
• SoC Designer
• Hardware design verification
• Verilog or SystemVerilog programming language
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. vii
ID110916 Non-Confidential
Conventions
This guide uses the following conventions:
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. viii
ID110916 Non-Confidential
Further reading
This section lists related publications.
The following publications provide information that relate directly to SoC Designer:
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. ix
ID110916 Non-Confidential
Glossary
Table 1:
AMBA Advanced Microcontroller Bus Architecture. The ARM open standard
on-chip bus specification that describes a strategy for the interconnec-
tion and management of functional blocks that make up a System-on-
Chip (SoC).
AHB Advanced High-performance Bus. A bus protocol with a fixed pipeline
between address/control and data phases. It only supports a subset of
the functionality provided by the AMBA AXI protocol.
APB Advanced Peripheral Bus. A simpler bus protocol than AXI and AHB.
It is designed for use with ancillary or general-purpose peripherals
such as timers, interrupt controllers, UARTs, and I/O ports.
AXI Advanced eXtensible Interface. A bus protocol that is targeted at high
performance, high clock frequency system designs and includes a num-
ber of features that make it very suitable for high speed sub-micron
interconnect.
Cycle Model A software object created by the Cycle Model Studio from an RTL
design. The Cycle Model contains a cycle- and register-accurate model
of the hardware design.
Cycle Model Graphical tool for generating, validating, and executing hardware-
Studio accurate software models. It creates a Cycle Model, and it also takes a
Cycle Model as input and generates a component that can be used in
SoC Designer, Platform Architect, or Accellera SystemC for simula-
tion.
CASI Cycle Accurate Simulation Interface, is based on the SystemC commu-
nication library and manages the interconnection of components and
communication between components.
CADI Cycle Accurate Debug Interface, enables reading and writing memory
and register values and also provides the interface to external debug-
gers.
CAPI Cycle Accurate Profiling Interface, enables collecting historical data
from a component and displaying the results in various formats.
Component Building blocks used to create simulated systems. Components are
connected together with unidirectional transaction-level or signal-level
connections.
ESL Electronic System Level. A type of design and verification methodol-
ogy that models the behavior of an entire system using a high-level lan-
guage such as C or C++.
HDL Hardware Description Language. A language for formal description of
electronic circuits, for example, Verilog.
RTL Register Transfer Level. A high-level hardware description language
(HDL) for defining digital circuits.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. x
ID110916 Non-Confidential
Table 1:
SoC Designer The full name is SoC Designer. A high-performance, cycle accurate
simulation framework which is targeted at System-on-a-Chip hardware
and software debug, as well as architectural exploration.
SystemC SystemC is a single, unified design and verification language that
enables verification at the system level, independent of any detailed
hardware and software implementation, as well as enabling co-verifi-
cation with RTL design.
Transactor Transaction adaptors. You add transactors to your component to con-
nect your component directly to transaction level interface ports for
your particular platform.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. xi
ID110916 Non-Confidential
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. xii
ID110916 Non-Confidential
Chapter 1
This chapter describes the functionality of the Model, and how to use it in SoC Designer. It con-
tains the following sections:
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 11
ID110916 Non-Confidential
1.1 Asynchronous AXI to AXI Bridge Model Overview
The Asynchronous AXI to AXI Bridge Cycle Model enables two AXI clock domains to com-
municate.
This is illustrated in Figure 1-1.
AXI AXI
Master Master
AXI AXI
Slave Slave
AXI Slave AXI Master
interface interface
Figure 1-1 Connection of AXI Subsystems through a Asynchronous AXI to AXI Bridge
The available models are described in the next section.
Component Description
Figure 1-2 shows a simple configuration using the Asynchronous AXI to AXI Bridge.
Domain 1 Domain 2
AXI AXI
AXI AXI
Master Master
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 2
ID110916 Non-Confidential
1.1.2 Model Features
The Asynchronous AXI to AXI Bridges provide the following features:
ACLKS Slave interface clock. This clock times all bus Input Clock slave
transfers. All signal timings on the Slave inter-
face are related to the rising edge of ACLKS.
ARESETSn Reset port for resetting the Slave interface. Input Signal slave
axi_s AXIv2 transaction slave port. Input Transaction
slave
ACLKM Master interface clock. This clock times all bus Input Clock slave
transfers. All signal timings on the Master inter-
face are related to the rising edge of ACLKM.
ARESETMn Reset port for resetting the Master interface. Input Signal slave
axi_m AXIv2 transaction master port. Output Transaction
master
clk-in Input clock. The component is clocked at the fre- Input Clock slave
quency of the clock connected to the clk-in port.
If the clk-in port is not connected, clocking is
taken from SoC Designer System Properties.
If it is connected, then it must be connected to
the fastest clock. For example, if ACLKM is the
faster domain, then ACLKM and clk-in should be
connected to the same source.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 3
ID110916 Non-Confidential
1.3 Component Parameters
You can change the settings of all the component parameters in SoC Designer Canvas, and of
some of the parameters in SoC Designer Simulator. Table 1-3 describes the component parame-
ters that are available for the Asynchronous AXI to AXI Bridge.
Parameters that may be modified at runtime are identified with Yes in the Runtime column, oth-
erwise the parameter values are fixed and must be set before the start of simulation.
Table 1-3 Component Parameters
Allowed Default
Name Description Runtime
Values Value
Align Waveforms When set to true, waveforms dumped true, false true No
from Cycle Model components are
aligned with the SoC Designer simu-
lation time. The reset sequence, how-
ever, is not included in the dumped
data.
When false, the reset sequence is
dumped to waveform data, however,
the component time is not aligned
with the SoC Designer time.
axi_m Enable Debug When set to true, writes AXI master true, false false Yes
Messages debug messages to the SoC Designer
output window.
axi_s axi_size[0-5] 1 These parameters are obsolete and 0x0 - size 0 default is No
should be left at their default values.2 0xFFFFFFFF 0x100000000, size
1-5 default is 0x0
axi_s axi_start[0-5] 0x0 - 0x0 No
0xFFFFFFFF
axi_s Enable Debug When set to true, writes AXI slave true, false false Yes
Messages debug messages to the SoC Designer
output window.
Carbon DB Path Sets the directory path to the database Not Used empty No
file.
Dump Waveforms Whether SoC Designer dumps wave- true, false false Yes
forms for this component.
Enable Debug Enable or disable the capture of debug true, false false Yes
Messages messages for the component.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 4
ID110916 Non-Confidential
1. The square brackets specify that a range of numbers that are available. For example, the parameter name for
the start addresses “axi_s axi_start[0-5]” will be expanded to 6 parameter name combinations that range from
“axi_s axi_start 0” to “axi_s axi_start 5”. The size of a memory region depends on the “axi_s axi_start” and
“axi_s axi_size” parameters. The end address is calculated as Start + Size -1. The size of the memory region
must not exceed the value of 0x100000000. If the sum of Start+Size is greater than 0x100000000, the size of
the memory region is reduced to the difference: 0x100000000-Start.
2. ARM recommends using the Memory Map Editor (MME) in SoC Designer, which provides centralized view-
ing and management of the memory regions available to the components in a system. For information about
migrating existing systems to use the MME, refer to Chapter 9 of the SoC Designer User Guide.
3. When enabled, SoC Designer writes waveforms to the waveform file at the following times: when the wave-
form buffer fills, when validation is paused and when validation finishes, and at the end of each validation run.
Transactions can be visualized using the transaction monitors attached to connections. By right
clicking on any of the connections in SoC Designer, a transaction monitor probe can be
attached.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 5
ID110916 Non-Confidential
Table 1-4 AXI Slave Port Signal Registers (continued)
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 6
ID110916 Non-Confidential
1.4.1.2 AXI Master Port Signals Registers
Table 1-5 shows the AXI master port signals. See the ARM AMBA AXI Protocol Specification
for more information about these signals.
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 7
ID110916 Non-Confidential
Table 1-5 AXI Master Port Signal Registers (continued)
RREADYM Indicates whether the master is ready to accept the read data read-only
and response information.
RRESPM The read response. read-only
BIDM The response ID. read-only
BRESPM The write response. read-only
BVALIDM Indicates whether the write response is available. read-only
BREADYM Indicates whether the master is ready to accept the response read-only
information.
AWUSERM Additional master interface signals for the write address chan- read-only
nel.
WUSERM Additional master interface signals for the write data channel. read-only
BUSERM Additional master interface signals for the write response chan- read-only
nel.
ARUSERM Additional master interface signals for the read address chan- read-only
nel.
RUSERM Additional master interface signals for the read data channel. read-only
ARM DUI 1058A Copyright © 2016 ARM Limited. All rights reserved. 8
ID110916 Non-Confidential