AXI Chip2Chip v4.2 Product Guide

Add to my manuals
50 Pages

advertisement

AXI Chip2Chip v4.2 Product Guide | Manualzz
AXI Chip2Chip v4.2
LogiCORE IP Product Guide
Vivado Design Suite
PG067 November 18, 2015
Table of Contents
IP Facts
Chapter 1: Overview
Feature Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Licensing and Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 2: Product Specification
Standards Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Resource Utilization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Port Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
10
12
12
Chapter 3: Designing with the Core
General Design Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Clocking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Calibration and Link Error Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
17
19
21
Chapter 4: Design Flow Steps
Customizing and Generating the Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Constraining the Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Synthesis and Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
33
34
35
Chapter 5: Example Design
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Implementing the Example Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Chapter 6: Test Bench
Appendix A: Verification, Compliance, and Interoperability
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
2
Hardware Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Appendix B: Migrating and Upgrading
Migrating to the Vivado Design Suite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Upgrading in the Vivado Design Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Appendix C: Debugging
Finding Help on Xilinx.com . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Debug Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interface Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
45
46
46
Appendix D: Additional Resources and Legal Notices
Xilinx Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Please Read: Important Legal Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
48
48
49
50
3
IP Facts
•
Introduction
The LogiCORE™ IP AXI Chip2Chip is a soft Xilinx
IP core for use with the Vivado® Design Suite.
The adaptable block provides bridging between
AXI systems for multi-device System on-chip
solutions. The core supports multiple
device-to-device interfacing options and
provides a low pin count, high performance AXI
chip-to-chip bridging solution.
Provides a dedicated high-priority internal
channel for link status monitoring and
reporting.
LogiCORE™ IP Facts Table
Core Specifics
Supported
Device
Family (1)
Supported
User Interfaces
Resources
Features
UltraScale+™ Families,
UltraScale™ Architecture, Zynq®-7000, 7 Series
AXI4, AXI4-Lite
Performance and Resource Utilization web page
Provided with Core
Design Files
Verilog
•
Supports AXI4 Memory Map interface data
width of 32, 64 and 128 bits.
Example
Design
Verilog
•
Supports optional AXI4-Lite data width of
32 bits
Test Bench
Verilog
•
Two interface choices:
°
°
Single Ended or Differential SelectIO™
interface
Aurora interface that provides
AXI4-Stream interface to seamlessly
integrate into the Aurora IP core
•
Independent Master or Slave mode
selection for AXI4 and AXI4-Lite interfaces
•
Supports Common Clock or Independent
Clock operations
•
Supports multiple Width Conversion
options for reduced I/O utilization
XDC
Simulation
Model
Not Provided
Supported
S/W Driver
N/A
Tested Design Flows(2)
Design Entry
Simulation
Vivado® Design Suite
For support simulators, see the
Xilinx Design Tools: Release Notes Guide.
Synthesis
Vivado Synthesis
Support
Provided by Xilinx at the Xilinx Support web page
Notes:
•
Supports Link Detect FSM with deskew
operation for the SelectIO™ interface
•
Supports Link Detect FSM and implements
Hamming SECDED error correction code
(ECC) for Aurora interfaces
•
Allows all five AXI4 channels to operate
independently
•
Supports an additional high-priority cut
through channel for communicating
interrupts
AXI Chip2Chip v4.2
PG067 November 18, 2015
Constraints
File
1. For a complete list of supported devices, see the Vivado IP
catalog.
2. For the supported versions of the tools, see the
Xilinx Design Tools: Release Notes Guide.
www.xilinx.com
4
Product Specification
Send Feedback
Chapter 1
Overview
The LogiCORE™ IP AXI Chip2Chip core functions like a bridge to seamlessly connect two
devices over an AXI interface. The core transparently bridges transactions in compliance
with AXI protocol specifications. The bridging function allows all AXI channels to operate
independently by forwarding per-channel data and control information in compliance with
AXI per-channel Valid-Ready handshake.
The optional AXI4-Lite functions in the core are independent of AXI4 Interface functions.
The AXI4-Lite interface can be used for low-bandwidth access such as configuration/status
registers of a peripheral Master/Slave.
Two instances of the AXI Chip2Chip core are required for performing the bridging function.
Figure 1-1 provides block diagrams for both Master and Slave AXI Chip2Chip IP cores.
X-Ref Target - Figure 1-1
D[LBPVBLQWHUUXSWV
0DVWHU'HYLFH
$;,&KLS&KLS0DVWHU
$;,0DVWHU
'HYLFHV
$;,
6ODYH
,QWHUIDFH
$;,/LWH
6ODYH0DVWHU
'HYLFHV
2SWLRQDO
$;,/LWH
,QWHUIDFH
D[LBVPBLQWHUUXSWV
&KDQQHO
0XOWLSOH[HU
/LQN
'HWHFW
)60
ZLWK
'HVNHZ
6HOHFW,2
3+<
$XURUD
3+<
D[LBVPBLQWHUUXSWV
6ODYH'HYLFH
$;,&KLS&KLS6ODYH
6HOHFW,2
3+<
$XURUD
3+<
/LQN6WDWXVDQG
&KLS&KLS,QWHUUXSWV
/LQN
'HWHFW
)60
ZLWK
'HVNHZ
&KDQQHO
$;,
0DVWHU
,QWHUIDFH
$;,6ODYH
'HYLFHV
2SWLRQDO
$;,/LWH
,QWHUIDFH
$;,/LWH
0DVWHU6ODYH
'HYLFHV
WH[W
0XOWLSOH[HU
$;,&KLS&KLS6ODYH
6WDWXV2XWSXWV
D[LBPVBLQWHUUXSWV
;
Figure 1-1:
AXI Chip2Chip Block Diagram
The AXI Chip2Chip Master instance provides an AXI4 slave interface that can be directly
connected to AXI Master or AXI interconnect devices. The AXI Chip2Chip Slave instance
provides an AXI4 Master interface that can be connected to AXI Slave or AXI interconnect
devices. The bridging functions in AXI Chip2Chip cores convert the wide on-chip AXI
signaling to a compact device-to-device interfacing by utilizing a minimum set of device
I/Os. The AXI Chip2Chip bridging also implements functions that provide error-free
communication over the device I/Os.
The AXI4-Lite configuration option allows master or slave mode selection. For example,
when the processor is connected to an AXI Chip2Chip Master instance, then an AXI4-Lite
instance can be set to master mode; this setup will provide an AXI4-Lite slave interface.
When peripheral Masters are connected to an AXI Chip2Chip Master instance, then an
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
5
Chapter 1: Overview
AXI4-Lite instance can be set to slave mode and it will provide an AXI4-lite master interface.
For more details on AXI4-Lite configuration options, see User Tab in Chapter 4.
AXI Chip2Chip operations can be categorized into five modules: AXI4 Interface, AXI4-Lite
Interface, Channel Multiplexer, Link Detect FSM, and PHY interface.
Feature Summary
This section summarizes the functionality of the core modules.
AXI4 Interface
The AXI Chip2Chip core provides an AXI4 interface to map to AXI Memory Mapped devices
in the device general interconnect. AXI Memory Mapped devices can be AXI Master, AXI
interconnect, or AXI Slave functions. The AXI Interface can operate in either Common Clock
or in Independent clock modes. For more details on clocking and latencies, see General
Design Guidelines in Chapter 3.
TIP: The AXI4 interface of the Chip2Chip core provides WUSER signals to maintain compatibility with
AXI3 interface specifications. Any AXI3 master that supports write interleaving can use the AXI4
WUSER[3:0] signals to map the WID[3:0] signals in AXI3 write data channel.
AXI4-Lite Interface
The AXI4-Lite functions in the core are implemented with a shared address and data bus
approach. This allows AXI4-Lite Master to accept a new write transaction only on
completion of previous write transaction. This means it only accepts new writes on receiving
a write response from the AXI4-Lite Slave. Similarly, the AXI4-Lite Master accepts a new read
transaction only on completion of previous read transaction. This means it only accepts
reads after receiving a read response and data from the AXI4-Lite Slave. For more details on
the AXI4 Lite clocking and reset, see General Design Guidelines in Chapter 3.
Channel Multiplexer
The Channel Multiplexer multiplexes AXI Address and Data channels over FPGA I/Os. In
addition, the AXI Chip2Chip core internally determines a 2:1 or 4:1 width conversion based
on the Chip2Chip PHY Width option selected for the cores. Width conversion is used for
reduced I/O utilization between the two devices. For more details on width conversion, see
User Tab in Chapter 4.
The Channel Multiplexer also multiplexes AXI, AXI4-Lite and interrupt interfaces over the
same set of FPGA I/Os. The priority round-robin multiplexing in the Chip2Chip core assigns
the highest priority to interrupt signals, second highest priority to the low-bandwidth
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
6
Chapter 1: Overview
AXI4-Lite interface, and last priority to the AXI interface. The priority round-robin
multiplexing is in effect when more than one of these interfaces are active simultaneously.
SelectIO Link Detect FSM with Deskew
The SelectIO™ Link Detect FSM with deskew operation ensures that the AXI Chip2Chip
Master core initiates transactions only when both Master and Slave cores are out of reset
and deskew patterns are exchanged without any bit errors. Deskew operations align data
until an optimized sampling point is determined for the data. The nibble level deskew
operation also enhances the maximum frequency of operation for the SelectIO™ interface.
For more details on Link Detect FSM and deskew operations, see Calibration and Link Error
Detection in Chapter 3.
SelectIO PHY Interface
The AXI Chip2Chip core provides the SelectIO FPGA interface as an interfacing option
between the devices. The SelectIO provides minimum latency between the devices and
provides SDR or DDR operations. When the SelectIO interface is used, the I/O type and I/O
location must be specified in the Xilinx Design Constraints file (XDC).
an optional AXI4-Stream interface to connect to the Aurora IP core (64B/66B or 8B/10B)AXI
Chip2Chip core integration with Aurora IP can also be done through the Vivado IP
integrator. The Aurora IP core supports the Xilinx® proprietary Aurora protocol layer and
implements Xilinx Multi Gigabit Transceivers (MGTs) for high speed serial communications.
To mitigate bit errors associated with a high speed serial interface, the AXI Chip2Chip core
for this configuration implements a per-lane Hamming ECC code. The Hamming ECC
module implements single-bit error correction and multiple (double) bit error detection
(SECDED) functions. To connect the AXI Chip2Chip core with the Aurora IP core, the Aurora
IP core should be configured in AXI4-Stream mode without CRC check.
For more details on the clocking, reset and other signal connectivity with the Aurora core,
see General Design Guidelines in Chapter 3.
Interrupt Signals
The AXI Chip2Chip core allows level interrupts to be communicated through a high-priority
internal channel. Interrupts can be independently communicated between AXI Masters and
AXI Slaves. On detecting a value change in the interrupt inputs, the AXI Chip2Chip Master
core initiates a high-priority transfer to update the interrupt outputs of the AXI Chip2Chip
Slave core. Similarly, on detecting a value change in the interrupt inputs, the AXI Chip2Chip
Slave core initiates a high-priority transfer to update the interrupt outputs of the AXI
Chip2Chip Master core.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
7
Chapter 1: Overview
The AXI Chip2Chip Master core also generates interrupts for link error conditions. Interrupt
signals are asserted by the AXI Chip2Chip Master core. For this, the error conditions
detected in the AXI Chip2Chip Slave core are communicated to the Master device through
a high-priority internal channel.
The following interrupt signals are supported in the AXI Chip2Chip Master core:
•
Link Error Interrupt: Asserted when the AXI Chip2Chip Slave core is reset during
normal operation. For more details on Link Error Interrupt, see Resets in Chapter 3.
•
Multibit Error Interrupt: When asserted, a Multibit Error interrupt indicates multiple
bits are received in error in the Master or Slave AXI Chip2Chip core. For the SelectIO™
interface, a multibit error is determined during deskew operations and indicates
deskew operation failure.
•
Configuration Error Interrupt: The Configuration Error Interrupt is set when a
mismatch is detected between the Master and Slave AXI Chip2Chip core configurations.
After being asserted, interrupt flags can be cleared only with a reset.
Applications
Figure 1-2 shows an example of the AXI Chip2Chip use case with SelectIO™ PHY.
X-Ref Target - Figure 1-2
=&%RDUG
''50HPRU\
.&%RDUG
6ODYH'HYLFH
=\QT36
6ODYH
3URFHVVLQJ
6\VWHP
0DVWHU
$;,
,175
0DVWHU'HYLFH
=\QT3/
$;,
&KLS&KLS
$;,
)0&
&DUG
)0&
&DUG
WH[W
$;,
,175
&KLS&KLS
$;,/LWH
$;,/LWH
=
0DVWHU
3&,H6DWD
6ODYH
.7
;
Figure 1-2:
AXI Chip2Chip Core Application Diagram
In this use case, a Kintex®-7 device implementing a PCIe Peripheral Master is connected to
a Zynq®-7020 device over an AXI Memory Mapped interface. Because it implements the
Peripheral Master on the Chip2Chip AXI interface, the Kintex®-7 device is the Master
device. Because it implements an AXI DDR Memory slave, the Zynq-7020 device is the Slave
device. In this use case, the processing subsystem in the Zynq-7020 device uses the
AXI4-Lite interface of the Chip2Chip core to access the control and status registers of the
Peripheral Master in the Kintex®-7 device. The PCIe® Peripheral Master uses the AXI
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
8
Chapter 1: Overview
interface of the Chip2Chip core for writing and reading data from the DDR memory
connected to the Zynq-7020 device. The PCIe Master in this case uses the Chip2Chip core
interrupt signaling to trigger any PCIe interrupt service routines in the host processor.
Licensing and Ordering Information
This Xilinx LogiCORE™ IP module is provided at no additional cost with the Xilinx Vivado®
Design Suite under the terms of the Xilinx End User License.
Information about this and other Xilinx LogiCORE IP modules is available at the Xilinx
Intellectual Property page. For information on pricing and availability of other Xilinx
LogiCORE™ IP modules and tools, contact your local Xilinx sales representative.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
9
Chapter 2
Product Specification
Standards Compliance
This core has bus interfaces that comply with the ARM® AMBA® AXI4 Protocol Specification
Version 1.0.
Performance
Maximum Frequencies
The AXI Chip2Chip core is characterized based on the benchmarking methodology
described in the Vivado Design Suite User Guide: Designing with IP (UG896) [Ref 5].
Table 2-1 shows the results of the characterization runs for 7 series devices.
IMPORTANT: Maximum frequencies for UltraScale™ and Zynq®-7000 devices are expected to be
similar to Kintex®-7 and Artix®-7 device numbers.
Table 2-1:
Maximum Frequencies for 7 Series Devices
Family
Speed Grade
FMAX (MHz)
AXI4
AXI4-Stream
AXI4-Lite
200
200
180
200
200
180
Artix7
150
150
120
Virtex7
240
240
200
240
240
200
Artix7
180
180
140
Virtex7
280
280
220
280
280
220
200
200
160
Virtex7
Kintex7
Kintex7
Kintex7
Artix7
AXI Chip2Chip v4.2
PG067 November 18, 2015
–1
–2
–3
www.xilinx.com
Send Feedback
10
Chapter 2: Product Specification
Throughput and Latency
The AXI Chip2Chip core throughput is governed by the configured AXI Data Width,
operating frequency of AXI interface, PHY interface and PHY Width mode (also called
compact ratio or muxing ratio). The following empirical formula provides guidance on the
maximum theoretical throughput that the core can provide for the AXI Read/Write channel
with a known overhead.
Throughput = ((1 – overhead factor) * AXIDataWidth * PHYFrequency) / MuxingRatio
The overhead factor is dependent on the PHY interface characteristics and PHY-specific
Chip2Chip core overhead. The following documents contain more information about the
PHY interface characteristics:
•
LogiCORE IP Aurora 8B/10B Product Guide (PG046) [Ref 12]
•
LogiCORE IP Aurora 64B/66B Product Guide (PG074) [Ref 13]
•
LogiCORE IP High Speed SelectIO Wizard Product Guide (PG188) [Ref 14]
•
LogiCORE IP SelectIO Interface Wizard Product Guide (PG070) [Ref 15]
The following example assumes the overhead factor is 0.25, the AXIDataWidth is 32, the
PhyFrequency is 100, and the MuxingRatio is 1.
Throughput = ((1 – 0.25) * 32 * 100)/1 = 2400 Mbps
The above calculation assumes the AXI clock frequency and PHY clock frequency ratio is
within 0.75 to 1.25 range for the Physical interface to be effectively utilized.
The MuxingRatio depends on the PHY width selection:
•
MuxingRatio is 1 when PHY Width is selected as Compact 1–1
•
MuxingRatio is 2 when PHY Width is selected as Compact 2–1
•
MuxingRatio is 4 when PHY Width is selected as Compact 4–1
IMPORTANT: The AXI Chip2Chip core should be configured so the theoretical throughput is higher than
the average traffic sent over the link.
Table 2-2 lists the latencies and throughput measurements on the AXI4 interface of the
Chip2Chip Master core with SelectIO™ interface. The measurements were taken with
simultaneous read and write operations. The measurement setup issued up to four AXI4
outstanding transactions. The AXI (system) clock frequency was set to 100 MHz, and ALEN
was set to 16 beats. The measured latency can have up to 5-10% variation and does not
account for system latencies outside of the AXI Chip2Chip core.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
11
Chapter 2: Product Specification
Table 2-2:
Throughput and Latency for AXI4 Interface of the AXI Chip2Chip Master Core
Features
Latencies (AXI Clocks)
Throughput (Mb/s)
AXI
PHY Width
AW_Valid AR_Valid Write Data
Data (Number of PHY Clock / PHY Type(1)
to
B_Valid to R_Valid
Channel
Width
I/Os)
32-bit
64-bit
Read Data
Channel
Compact
4-1 (38)
200 MHz / SDR
77
44
1190
1280
Compact
2-1 (32)
150 MHz / DDR
69
47
1770
1920
Compact
1-1 (58 (2))
100 MHz / DDR
57
42
2350
2550
Compact
4-1 (28)
150 MHz / DDR
95
59
1780
1920
Compact
2-1 (46)
100 MHz / DDR
77
51
2370
2560
Notes:
1. The number of I/Os is determined by the PHY Type and PHY Width configurations. See Table 4-2, page 30 for more
details.
2. Common Clock mode of operation was selected for configurations having the same PHY clock and AXI clock
frequencies (100 MHz).
Resource Utilization
For details about Resource Utilization, visit Performance and Resources Utilization web
page
Port Descriptions
This section provides port descriptions for the AXI Chip2Chip core.
Global Signals
Table 2-3 describes the global signals for the AXI Chip2Chip core.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
12
Chapter 2: Product Specification
Table 2-3:
Global Interface Signals
Name
Direction
Description
s_aclk
Input
Global Slave Interface Clock. For Independent Clock mode,
all signals on the AXI Slave interface of an AXI Chip2Chip
Master core are synchronous to s_aclk.
For Common Clock mode, all AXI Chip2Chip Master core
operations are synchronous to s_aclk.
axi_c2c_phy_clk
Input
Physical Interface Clock. The axi_c2c_phy_clk signal is
applicable only when Independent Mode operation is
selected for the core. AXI Chip2Chip Master core
operations excluding the AXI Slave Interface are
synchronous to axi_c2c_phy_clk.
idelay_ref_clk
Input
SelectIO™ Interface I/O Reference Clock. This signal is
applicable only when the SelectIO™ interface is selected as
the FPGA interfacing option and when deskew is enabled
for the SelectIO™ interface. The applicable frequency for
idelay_ref_clk is 200 MHz or 300 MHz (±10 MHz).
s_aresetn
Input
Global Reset. This signal is active-Low and asserted
asynchronously. The de-assertion of this signal is
synchronized with the clock domain. All applicable clock
inputs to the AXI Chip2Chip Master core must be stable
when s_aresetn input is deasserted.
m_aclk
Input
Global Master Interface Clock (Independent Clock). The
m_aclk signal is an input when the Independent Clock
mode of operation is selected for the core.
Note: In Common Clock mode, the m_aclk input does not
drive any logic in the AXI Chip2Chip Slave core; however,
for Vivado Design Suite to build the system, this clock
input needs to be connected. For this, the m_aclk input pin
can be connected to m_aclk_out driven by the AXI
Chip2Chip Slave core.
m_aclk_out
Output
Global Master Interface Clock (Common Clock). The
m_aclk_out signal is output when the Common Clock Mode
of operation is selected for the core.
m_aresetn
Input
Global Reset. This signal is active-Low and asserted
asynchronously. The de-assertion of this signal is
synchronized with the clock domain. All applicable clock
inputs to the AXI Chip2Chip Slave core must be stable
when m_aresetn input is deasserted.
Optional AXI4-Lite Signals
m_axi_lite_aclk
Input
Master Interface AXI4-Lite Clock. Applicable only when
Slave Mode of AXI4-Lite is selected. All signals are sampled
on the rising edge of this clock.
s_axi_lite_aclk
Input
Slave Interface AXI4-Lite Clock. Applicable only when
Master Mode of AXI-Lite is selected. All signals are
sampled on the rising edge of this clock.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
13
Chapter 2: Product Specification
AXI Interface Signals
Table 2-4 describes the AXI Interface signals for the AXI Chip2Chip core.
Table 2-4:
AXI Interface Signals
Name
Direction
Description
s_axi_*
NA
AXI4 Slave Interface Signals. These signals are
available only in master mode. See the Vivado AXI
Reference Guide (UG1037)for AXI4 Slave signals
[Ref 2].
m_axi_*
NA
AXI4 Master Interface Signals. These signals are
available only in slave mode. See the Vivado AXI
Reference Guide (UG1037)for AXI Master signals
[Ref 2].
s_axi_lite_*
NA
AXI4-Lite Slave Interface Signals. These signals are
available only when AXI4-Lite mode is set as Master.
See the Vivado AXI Reference Guide (UG1037) for
AXI4 Slave signals [Ref 2].
m_axi_lite_*
NA
AXI4-Lite Master Interface Signals. These signals are
available only when AXI4-Lite mode is set as Slave.
See the Vivado AXI Reference Guide (UG1037) for
AXI Master signals [Ref 2].
Device Interface Signals
Table 2-5 describes the Master Device Interface signals for the AXI Chip2Chip core.
Table 2-5:
Device Interface Signals
Name
Direction
Description
Single Ended SelectIO™ Interface
axi_c2c_selio_tx_clk_out
Output
SelectIO™ FPGA interface clock from Master
device to Slave device.
axi_c2c_selio_tx_data_out[m–1:0]
Output
SelectIO™ FPGA Interface Data from Master
device to Slave device. ‘m’ is the number of
Output I/Os required for Master-to-Slave device
interfacing. For details, see User Tab in Chapter 4.
axi_c2c_selio_rx_clk_in
Input
SelectIO™ FPGA interface clock from Slave device
to Master device.
axi_c2c_selio_rx_data_in[m–1:0]
Input
SelectIO™ FPGA interface signals from Slave
device to Master device. ‘m’ is number of Input I/
Os required for Slave to Master device interfacing.
For details, see User Tab in Chapter 4.
Differential SelectIO™ Interface
axi_c2c_selio_tx_diff_clk_out_p
axi_c2c_selio_tx_diff_clk_out_n
AXI Chip2Chip v4.2
PG067 November 18, 2015
Output
Select IO™ differential clock from Master to Slave
device. Differential clocking is valid when
C_USE_DIFF_CLK is set to 1.
www.xilinx.com
Send Feedback
14
Chapter 2: Product Specification
Table 2-5:
Device Interface Signals (Cont’d)
Name
Direction
Description
axi_c2c_selio_tx_diff_data_out_p[m–1:0]
axi_c2c_selio_tx_diff_data_out_n[m–1:0]
Output
SelectIO™ differential Data from Master to Slave
device. m is the number of Output I/Os required
for Master-to-Slave device interfacing. For details,
see Chip2Chip PHY Width in Chapter 4.
Differential data is valid when C_USE_DIFF_IO is
set to 1.
axi_c2c_selio_rx_diff_clk_in_p
axi_c2c_selio_rx_diff_clk_in_n
Input
Select IO™ differential clock from Slave to Master
device. Differential clocking is valid when
C_USE_DIFF_CLK is set to 1.
axi_c2c_selio_rx_diff_data_in_p[m–1:0]
axi_c2c_selio_rx_diff_data_in_n[m–1:0]
Input
SelectIO™ differential data signals from Slave to
Master device. m is number of Input I/Os required
for Slave to Master device interfacing. For details,
see User Tab in Chapter 4. Differential data is valid
when C_USE_DIFF_IO is set to 1.
aurora_do_cc
Output
Clock compensation pattern generator signal
used by aurora core. Asserted for every 10 μ s
intervals. This port is removed in
aurora6466b_v10_0.This can be left open.
aurora_pma_init_in
Input
PMA initialization signal. Input signal that
initializes the serial transceiver cells.
aurora_pma_init_out
Output
PMA initialization signal to Aurora IP. This signal is
generated from the aurora_pma_init_in signal.
aurora_init_clk
Input
Single-ended init_clk_out signal from the Aurora
IP.
aurora_mmcm_not_locked
Input
MMCM locked indication from the Aurora IP. This
signal indicates that the user clock from the
Aurora IP is not stable.
aurora_reset_pb
Output
Reset signal for the Aurora block. This signal
should be connected to the reset_pb signal of the
Aurora IP.
Interrupt and Status Signals
Table 2-6 describes the interrupt and status signals for the AXI Chip2Chip core.
Table 2-6:
Interrupt and Status Signals
Name
Direction
Description
axi_c2c_link_status_out
Output
Link Status: Asserted when Link Detect FSM is in
the SYNC state. Deasserted when either the Master
or Slave AXI Chip2Chip core is under reset or when
the Link Detect FSM is not in the SYNC state.
axi_c2c_link_error_out
Output
Link Error Interrupt: Asserted when the AXI
Chip2Chip Slave core is reset during normal
operations. This signal is valid only in Master
mode.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
15
Chapter 2: Product Specification
Table 2-6:
Interrupt and Status Signals (Cont’d)
Name
Direction
Description
axi_c2c_multi_bit_error_out
Output
Multi-bit Error Interrupt: When asserted, this
interrupt indicates multiple bits are received with
errors in the Master or Slave AXI Chip2Chip core.
For the SelectIO™ interface, a multi-bit error is
determined during deskew operations and
indicates failure of those operations.
axi_c2c_m2s_intr_in
Input
Level Interrupt signaling from AXI Master to AXI
Slave.
axi_c2c_s2m_intr_out
Output
Level Interrupt signaling from AXI Slave to AXI
Master.
axi_c2c_m2s_intr_out
Output
Level Interrupt signaling from AXI Master to AXI
Slave.
axi_c2c_s2m_intr_in
Input
Level Interrupt signaling from AXI Slave to AXI
Master.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
16
Chapter 3
Designing with the Core
This chapter includes guidelines and additional information to make designing with the
core easier.
General Design Guidelines
The customizable AXI Chip2Chip core provides multiple clocking and I/O interface options.
You can determine the frequency at which the interface needs to be operated. Based on the
interface frequency, you can select the I/O type by providing the appropriate constraints in
the Xilinx constraints file (XDC). Selecting the SelectIO™ interface DDR option doubles the
I/O speed without impacting the latency or performance. Based on the selection in the User
Tab, additional internal width conversion stages can be enabled. Each 2:1 stage of width
conversion can increase bridging latencies and can also impact performance.
In addition, you can select the common clock and independent clock operations. The
common clock mode of operation reduces clock domain crossing latencies, and the
independent clock mode provides additional clock conversion functionality. Both AXI
Chip2Chip Master and AXI Chip2Chip Slave cores can be independently selected for either
Common Clock or Independent clock operation. Operating the AXI Chip2Chip core at
frequencies greater than AXI interface frequencies (Independent clock operation) reduces
the bridging latencies and can improve overall performance of the AXI Chip2Chip bridging
function.
Clocking
Figure 3-1 provides the clocking requirement for the SelectIO™ interface. In addition to AXI
clocks, the deskew function, when enabled, requires an additional 200 MHz or 300 MHz
(± 10 MHz) reference clock. Both AXI Chip2Chip Master and AXI Chip2Chip Slave cores can
be independently selected for either Common Clock or Independent Clock operations.
When the AXI Chip2Chip Slave core is selected for Common Clock operation, the core
provides clock and reset (Link Status) to the interfacing slave AXI system.
When the AXI4-Lite interface is enabled, it always operates on an independent axi_lite
clock input. The AXI4-Lite Master core operations are synchronous to s_axi_lite_aclk,
and the AXI Lite Slave core operations are synchronous to m_axi_lite_aclk.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
17
Chapter 3: Designing with the Core
IMPORTANT: All input clocks to the Master or Slave Chip2Chip cores must be stable when Reset input
to the core is deasserted.
X-Ref Target - Figure 3-1
2SW
0+]
/LQN6WDWXV 5HI&ON
SK\BFON
VBDFON
PBD[LBOLWHBDFON
$;,6ODYH
,QWHUIDFHWH[W $;,&KLS&KLS
,QGHSHQGHQW
$;,/LWH
&ORFN0DVWHU
0DVWHU
,QWHUIDFH
2SW
0+]
5HI&ON
,2V
/LQN6WDWXV
$;,&KLS&KLS
,QGHSHQGHQW
&ORFN6ODYH
,2V
PBDFON
$;,0DVWHU
WH[W,QWHUIDFH
$;,/LWH
6ODYH
,QWHUIDFH
PBDUHVHWQ
VBDUHVHWQ
2SW
0+]
/LQN6WDWXV 5HI&ON
VBDFON
VBD[LBOLWHBDFON
VBD[LBOLWHBDFON
$;,6ODYH
,QWHUIDFHWH[W $;,&KLS&KLS
&RPPRQ&ORFN
$;,/LWH
0DVWHU
6ODYH
,QWHUIDFH
/LQN6WDWXV
2SW
0+]
5HI&ON
,2V
,2V
PBDFONBRXW
$;,&KLS&KLS
&RPPRQ&ORFN
6ODYH
$;,0DVWHU
WH[W,QWHUIDFH
$;,/LWH
0DVWHU
,QWHUIDFH
PBD[LBOLWHBDFON
PBDUHVHWQ
VBDUHVHWQ
;
Figure 3-1:
Clocking with the SelectIO Interface
Figure 3-2 shows the clocking, reset and interface connectivity with the Aurora IP core. In
this example, the Aurora core requires differential GT reference clock (gt_refclk) inputs
and differential free running clock (init_clk) inputs for core operations. The Aurora core
provides the single-ended PHY clock (user_clk) and single ended aurora_init_clk to
the AXI Chip2Chip core.
The stability of user_clk is validated by mmcm_not_locked output from the Aurora core.
AXI Chip2Chip link-up operations are initiated only when Aurora output
mmcm_not_locked is deasserted and channel_up is asserted. On link-up, the AXI
Chip2Chip generates a pulse (stay alive pulse) on do_cc output once in every 10,000 clock
cycles of free running aurora_init_clk.
The AXI Chip2Chip Master core with Aurora interface supports only independent clock
mode. The AXI Chip2Chip Slave core supports both Common Clock and Independent clock
modes. The s_aclk is always required as AXI input clocks for AXI Chip2Chip Master core.
The m_aclk is always required as AXI input clocks for the AXI Chip2Chip Slave core. The
m_aclk_out is provided as an additional clock output in Common Clock mode. The
m_aclk_out output can be used as an AXI System Clock. In addition, it should be
connected to m_aclk input of the AXI Chip2Chip Slave core.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
18
Chapter 3: Designing with the Core
In common clock operations, the AXI Chip2Chip Slave core connects the Aurora user_clk
to the m_aclk_out output of the core. In this case, the pma_init reset must be handled
externally, and asserting pma_init resets the MMCM generating the user_clk. It is also
recommended to connect pma_init to the m_aresetn input of the AXI Chip2Chip Slave
core in Common Clock mode.
X-Ref Target - Figure 3-2
>ŝŶŬ^ƚĂƚƵƐ
ƐͺĂĐůŬ
ŐƚͺƌĞĨĐůŬ
ĐϮĐͺƉŚLJͺĐůŬ
y/^ůĂǀĞ
/ŶƚĞƌĨĂĐĞ
y/ϰͲ>ŝƚĞ
^ůĂǀĞ
/ŶƚĞƌĨĂĐĞ
ƵƐĞƌͺĐůŬ
ŵŵĐŵͺŶŽƚ
ͺůŽĐŬĞĚ
ƵƌŽƌĂ/W
y/ŚŝƉϮŚŝƉ ĐŚĂŶŶĞůͺƵƉ ^ƚƌĞĂŵŝŶŐ
/ŶĚĞƉĞŶĚĞŶƚ
ƚĞdžƚ
ƵƉůĞdž
ĚŽͺĐĐ
ǁŝƚŚŽƵƚ
ůŽĐŬDĂƐƚĞƌ
ƉŵĂͺŝŶŝƚͺŽƵƚ Zͬ&
ƐͺĂdžŝͺůŝƚĞͺĂĐůŬ
ƵƐĞƌͺĐůŬ
ƵƌŽƌĂ
/W
^ƚƌĞĂŵŝŶŐ
ƵƉůĞdž
ǁŝƚŚŽƵƚ
Zͬ&
ĂƵƌŽƌĂͺŝŶŝƚͺĐůŬ
Figure 3-2:
ŝŶŝƚͺĐůŬ
ŝŶŝƚͺĐůŬ
ŵͺĂĐůŬͺŽƵƚ
ĐϮĐͺƉŚLJͺĐůŬ
ŵͺĂĐůŬ
ŵŵĐŵͺŶŽƚ
ͺůŽĐŬĞĚ
y/ŚŝƉϮŚŝƉ
/ŶĚĞƉĞŶĚĞŶƚͬ
ƚĞdžƚ
ĚŽͺĐĐ
ŽŵŵŽŶ
ƉŵĂͺŝŶŝƚͺŽƵƚ ůŽĐŬ^ůĂǀĞ
ĐŚĂŶŶĞůͺƵƉ
y/DĂƐƚĞƌ
/ŶƚĞƌĨĂĐĞ
y/ϰͲ>ŝƚĞ
DĂƐƚĞƌ
/ŶƚĞƌĨĂĐĞ
ŵͺĂdžŝͺůŝƚĞͺĂĐůŬ
ĂƵƌŽƌĂͺŝŶŝƚͺĐůŬ
ƐͺĂƌĞƐĞƚŶ
ƉŵĂͺŝŶŝƚͺŝŶ
>ŝŶŬ^ƚĂƚƵƐ
ŐƚͺƌĞĨĐůŬ
ŵͺĂƌĞƐĞƚŶ
ƉŵĂͺŝŶŝƚͺŝŶ
AXI Chip2Chip Connectivity and Clocking with the Aurora IP Core
Resets
The AXI Chip2Chip core allows both Master and Slave cores to have independent reset
mapping. The link detect FSM ensures the transactions from the Master device (AXI4 and
AXI4-Lite) get initiated only when both Master and Slave AXI Chip2Chip cores are out of
reset and ready to accept transactions. Reset can also be propagated from Master device to
Slave device. In this case, you need to map the reset from Master device to Slave device.
There is no separate reset for the AXI4-Lite interface. The AXI4-Lite interface is brought out
of reset when the link detects FSM is in LINKUP state (when the link status output of the
core is asserted). All input clocks to the core, including AXI4-Lite clock, must be stable when
the core is brought out of reset (when aresetn core input is deasserted).
It is not recommended to reset either Master or Slave AXI Chip2Chip core during normal
operation or when Link Status is asserted. For both SelectIO™ and Aurora interfaces,
resetting the Master AXI Chip2Chip results in a link loss condition. If there is a link loss, both
AXI Chip2Chip cores perform LINKUP operations to reestablish the link when the Master AXI
Chip2Chip core is brought out of reset. However for the SelectIO™ interface, this reset
sequence requires s_aresetn to be propagated from the Master Device to the Slave
Device. When the Slave device is reset during normal operations, the link status is
deasserted and a link error interrupt is asserted in the Master AXI Chip2Chip core.
An asserted pma_init input performs both a general interconnect and transceiver reset in
the Aurora core, and an asserted reset_pb performs only the general interconnect reset in
the Aurora core. The pma_init input is required to be connected to the pma_init_in
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
19
Chapter 3: Designing with the Core
input of AXI Chip2Chip core. The pma_init_out from the AXI Chip2Chip core is required
to be connected to the pma_init input of the Aurora core. To comply with the Aurora core
recommendations for hot plug operations, an asserted pma_init causes the AXI
Chip2Chip to assert the general interconnect reset to the Aurora core. A 26-bit hot plug
counter overflow asserts the pma_init to the Aurora core. The general interconnect reset
(reset_pb) to the Aurora core also gets asserted when an AXI reset is applied to the AXI
Chip2Chip core.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
20
Chapter 3: Designing with the Core
Calibration and Link Error Detection
Table 3-1 shows a normal operation with link up in the AXI Chip2Chip core for SelectIO PHY
interface.
Table 3-1:
Normal Operation with Link Up
Master
Slave
When initialization starts, the Master
sends ACK pattern for fixed number of
times followed by CALIBRATION pattern
and waits for Slaves response.
Slave continues to send INIT pattern.
When it sees ACK pattern from Master, it
confirms number of times ACK pattern is
repeated and goes into self-calibration
process. If self-calibrated, Slave sends ACK
pattern to confirm.
After receiving ACK pattern from Slave,
Master sends NACK pattern.
After receiving NACK pattern from Master,
Slave sends CALIBRATION pattern to
Master.
Master continues to send NACK pattern
and goes into self-calibration process. If
self-calibrated, Master sends ACK pattern
to confirm.
Slave responds with ACK pattern and
moves to data transfer state and asserts
link_status.
After receiving ACK pattern from Slave,
Master moves to data transfer state and
asserts link_status.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
21
Chapter 3: Designing with the Core
Table 3-2 shows a calibration failure in the Slave device in the AXI Chip2Chip core for
SelectIO PHY interface.
Table 3-2:
Calibration Failure in Slave Device
Master
Slave
When initialization starts, Master sends
ACK Pattern for fixed number of times
followed by CALIBRATION pattern and
waits for Slave's response.
Slave continues to send INIT pattern.
When it sees ACK pattern from Master, it
confirms number of times ACK pattern is
repeated and goes into self-calibration
process.
If unable to self-calibrate, Slave sends
NACK pattern, goes into Error state, and
asserts multi-bit error interrupt to
indicate calibration failure.
After receiving NACK pattern from Slave,
Master goes into Error state, asserts
multi-bit error interrupt to indicate
calibration failure.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
22
Chapter 3: Designing with the Core
Table 3-3 shows a calibration failure in the Master device in the AXI Chip2Chip core for
SelectIO™ PHY interface.
Table 3-3:
Calibration Failure in Master Device
Master
Slave
When initialization starts, Master sends
ACK Pattern for fixed number of times
followed by CALIBRATION pattern and
waits for Slave's response.
Slave continues to send INIT pattern.
When it sees ACK pattern, it confirms
number of times ACK pattern is repeated
and goes into self-calibration process. If
self-calibrated, Slave sends ACK pattern
to confirm.
After receiving ACK pattern from Slave,
Master sends NACK pattern.
After receiving NACK pattern from
Master, Slave sends CALIBRATION
pattern to Master.
Master continues to send NACK pattern
and goes into self-calibration process.
If unable to self-calibrate, Master goes
into Error state, sends INIT pattern, and
asserts multi-bit error interrupt to
indicate calibration failure.
After receiving INIT pattern from Master,
Slave moves to Error state and asserts
multi-bit error interrupt to indicate
calibration failure.
Note: Link error recovery is possible only after going through reset cycle.
IMPORTANT: A Master or Slave device can fail in self-calibration if there is a physical or transient fault
on the link or if there is physical connection error.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
23
Chapter 3: Designing with the Core
The AXI Chip2Chip core implements Link Detect FSM for device detection and calibration
functions for the SelectIO PHY interface. The calibration process is initiated when either the
Master or Slave AXI Chip2Chip is brought out of reset. During the calibration process, a
fixed set of patterns are exchanged between the Master and Slave devices. The receiving
device responds with an appropriate pattern if received patterns do not match the expected
fixed patterns. Deskew operations align the data until an optimized sampling point is
determined. After the patterns are determined to match for the greatest number of the
sampling points, the receiving device responds with an ACK. This operation is performed at
nibble level for 32 sampling points. The best sampling point is determined for each nibble
in the data. Link status is asserted after both Master and Slave devices respond with an ACK.
The Link Failure (axi_c2c_multi_bit_error_out) signal is asserted when a multi-bit
error is determined during deskew operations and indicates the failure of those operations.
In this case, either the interface rate can be reduced or I/O Type can be appropriately
selected to achieve the required interface rate.
When the Link Status signal is asserted, the AXI Chip2Chip core transparently bridges
transactions in compliance with AXI protocol specifications. It is not recommended to reset
or disconnect either the Master or Slave AXI Chip2Chip core during normal operation or
when the Link Status signal is asserted. When the Slave device is reset or if the cable is
disconnected during normal operations, the Link Status signal is deasserted and a link error
interrupt is asserted in the Master device. After being asserted, a link error interrupt can be
cleared only with a reset. The AXI Chip2Chip core operations are re-initiated when the
Master and Slave AXI Chip2Chip devices are brought out of reset.
when using an Aurora PHY interface
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
24
Chapter 3: Designing with the Core
Table 3-4:
Normal Operation in Aurora Mode
Master
Slave
When the Master receives channel up input as
High, it starts the initialization process. It
sends a PAT0 pattern for a fixed number of
times and expects the Slave to respond with
the same pattern within a specified interval.
When the Slave receives channel up input as
High, it starts the initialization process. It
sends a PAT0 pattern repeatedly until it sees
a matching pattern from Master for a fixed
number of times.
The Master sends a PAT1 pattern for a fixed
number of times and expects the Slave to
respond with a matching pattern for the same
number of times within a specified interval.
The Slave sends a PAT1 pattern repeatedly
until it sees a matching pattern from the
Master for a fixed number of times.
After receiving the PAT1 pattern sequence,
the Master indicates it is ready for data
transfer. The Master checks channel up status
in this state. If channel up is deasserted, the
Master deasserts link status and goes to
initial state. If channel up is High, the Master
asserts link status and starts the data transfer.
After receiving the PAT1 pattern sequence,
the Salve indicates it is ready for data
transfer. The Slave checks channel up status
in this state. If channel up is deasserted, the
Slave goes to the initial state. If channel up
is High, it asserts link status and starts the
data transfer.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
25
Chapter 3: Designing with the Core
Table 3-5:
Configuration Error in Master Aurora Mode
Master
Slave
When the Master receives a channel up
input as High, it starts the initialization
process. It sends a PAT0 pattern for a fixed
number of times and expects the Slave to
respond with the same pattern within a
specified interval.
When the Slave receives channel up input as
High, it starts the initialization process.
It sends a PAT1 pattern repeatedly until it
sees matching pattern from the Master for
fixed number of times.
If the Master does not receive the expected
pattern within a specified interval, it
asserts the configuration error status
signal. If the Master does receive the
expected pattern, it sends a PAT1 pattern
for a fixed number of times and expects the
Slave to respond with a matching pattern
for the same number of times within a
specified interval.
The Slave sends a PAT1 pattern repeatedly
until it sees a matching pattern from the
Master for fixed number of times.
If the Master does not receive the expected
pattern within a specified interval, it
asserts the configuration error status
signal. Otherwise, it continues the normal
link up operation.
Note: A Master device in Aurora mode can assert the configuration error status signal. An asserted
configuration error status signal indicates the Link Detect FSM failed due to a configuration
mismatch of Master and Slave AXI Chip2Chip cores. Recovery from a configuration error is only
possible after going through a reset cycle.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
26
Chapter 4
Design Flow Steps
This chapter describes customizing and generating the core, constraining the core, and the
simulation, synthesis and implementation steps that are specific to this IP core. More
detailed information about the standard Vivado® design flows and the IP integrator can be
found in the following Vivado Design Suite user guides:
•
Vivado Design Suite User Guide: Designing IP Subsystems using IP Integrator (UG994)
[Ref 9]
•
Vivado Design Suite User Guide: Designing with IP (UG896) [Ref 5]
•
Vivado Design Suite User Guide: Getting Started (UG910) [Ref 8]
•
Vivado Design Suite User Guide: Logic Simulation (UG900) [Ref 3]
Customizing and Generating the Core
This section contains information and instructions for using the Vivado Design Suite to
customize the LogiCORE™ IP AXI Chip2Chip core.
You can customize the IP for use in your design by specifying values for the various
parameters associated with the IP core using the following steps:
1. Select the IP from the Vivado IP catalog.
2. Double-click the selected IP or select the Customize IP command from the toolbar or
right-click menu.
For details, see the Vivado Design Suite User Guide: Designing with IP (UG896) [Ref 5] and
the Vivado Design Suite User Guide: Getting Started (UG910) [Ref 8].
Note: Figures in this chapter are illustrations of the Vivado Integrated Design Environment (IDE).
This layout might vary from the current version.
Figure 4-1 shows the Vivado IDE for the AXI Chip2Chip core. The options are described
following the figure.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
27
Chapter 4: Design Flow Steps
User Tab
X-Ref Target - Figure 4-1
Figure 4-1:
Customization Vivado IDE for the AXI Chip2Chip Core
•
Chip2Chip AXI Mode: The Chip2Chip AXI Mode configuration option determines AXI
Chip2Chip Master or Slave mode of operation.
•
AXI Clocking Mode: The AXI Chip2Chip core can be configured with either
Independent or Common Clock domains.
The Independent Clock configuration allows you to implement unique clock domains on
the AXI interface and FPGA I/Os. The AXI Chip2Chip core handles the synchronization
between clock domains. Both the AXI interface and FPGA I/Os can also be maintained in
a single clock domain. The AXI Chip2Chip core can be used to generate a core optimized
for a single clock by selecting the Common Clock option.
•
Chip2Chip AXI4-Lite Mode: The Chip2Chip AXI4-Lite Mode configuration option
determines AXI4-Lite Master or Slave mode of operation, as shown in Table 4-1. When
AXI4-Lite interfacing is not required, this configuration option should be set to “None.”
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
28
Chapter 4: Design Flow Steps
Table 4-1:
AXI4-Lite Configuration Options
Chip2Chip Mode
Mode
Master FPGA
Slave FPGA
Chip2Chip AXI4-Lite Options
AXI4 Interface
Slave
Master
Mode
AXI4-Lite Interface
Master
Slave
Slave
Master
None
None
Master
Slave
Slave
Master
None
None
•
AXI Data Width: The AXI Data Width user option allows the width of AXI data to be
configured. Valid settings for the AXI Data Width are 32, 64 and 128. This setting must
be maintained the same in both Master and Slave AXI Chip2Chip cores.
•
AXI ID Width: The AXI ID provides an identification tag for the group of signals in the
channel. AXI ID is supported for all write and read channels. ID width can be configured
from 0 to 12 bits. This setting must be maintained the same in both Master and Slave
AXI Chip2Chip cores.
•
AXI WUSER Width: AXI WUSER defines sideband information that can be transmitted
with the write data channel. The valid range for WUSER width is from 0 to 4 bits. This
setting must be maintained the same in both Master and Slave AXI Chip2Chip cores.
IMPORTANT: Because the AXI Chip2Chip core supports a maximum ID width of 12, ensure that the
propagated ID width to the AXI Chip2Chip core is less than or equal to 12. This commonly happens in
Zynq®-7000 device systems because the ID width of GP ports is 12. To avoid this scenario, the ID
widths of the GP ports can be compressed by modifying the Static Remap option available in the
processing system.
TIP: The AXI ID Width of the AXI Chip2Chip Slave core should match the AXI ID Width of the AXI
Chip2Chip Master core.
IMPORTANT: In IP integrator, the AXI ID and WUSER Width of the interconnect are automatically
propagated to the AXI Chip2Chip Master core. However for the AXI Chip2Chip Slave core, you have to
override the AXI ID Width and WUSER Width so that it matches the parameters of the Master AXI
Chip2Chip core.
•
Chip2Chip PHY Type: The Chip2Chip PHY type can be set to either “SelectIO™ SDR”,
“SelectIO™ DDR”, "Aurora64B66B" or “Aurora 8B/10B”. This setting must be maintained
the same in both Master and Slave AXI Chip2Chip cores.
The AXI Chip2Chip IP does not instantiate an Aurora core, but it does provide an
interface to connect to it. Be sure to select the right device when simulating,
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
29
Chapter 4: Design Flow Steps
synthesizing, and implementing the example design of AXI Chip2Chip with the PHY Type
set as Aurora.
•
Chip2Chip PHY Width: The Chip2Chip PHY Width configuration determines I/Os used
for device-to-device SelectIO™ interfacing. This setting must be maintained the same
in both Master and Slave AXI Chip2Chip cores. Table 4-2 provides the mapping
between Chip2Chip PHY width and the number of input and output I/Os utilized with
the selected option.
Table 4-2:
FPGA SelectIO Utilization
AXI Data
Width
Chip2Chip
PHY Type(1)
SelectIO™ SDR
32
Chip2Chip
PHY Width
Number of
Output I/Os
Number of
Input I/Os
Compact 4:1 (2)
19
19
Compact 2:1
31
31
10
10
Compact 2:1
16
16
Compact 1:1
29
29
26
26
Compact 2:1
45
45
Compact 4:1 (2)
14
14
Compact 2:1
23
23
Compact 1:1
42
42
Compact
SelectIO™ DDR
SelectIO™ SDR
64
SelectIO™ DDR
Compact
4:1 (2)
4:1 (2)
Notes:
1. SelectIO PHY interface routes the clock with the data pins.
2. Compact 4:1 is not supported when the AXI4-Lite Interface is enabled for the core.
•
Chip2Chip PHY Frequency: When using the SelectIO™ FPGA interface, the Chip2Chip
PHY implements the mixed-mode clock manager (MMCM) on the PHY input clocks.
MMCMs are used for clock phase alignment, clock slew reduction, and for
compensating clock buffer delays. For common clock AXI Chip2Chip Slave operations,
the m_aclk_out output is generated from the MMCM. The Chip2Chip PHY Frequency
provides the clock frequency parameter to the MMCM.
For Common clock, C_SELECTIO_PHY_CLK must be set to the s_aclk frequency. For
Independent clock, C_SELECTIO_PHY_CLK must be to set to the axi_c2c_phy_clk
frequency. This setting must be maintained the same in both Master and Slave AXI
Chip2Chip cores.
IMPORTANT: In IP integrator, the PHY Frequency parameter is automatically computed based on the
clock frequency of the port connected to axi_c2c_phy_clk (Master Independent clocking
configuration) or axi_c2c_selio_rx_*_clk_in* port(s) (Slave configuration). In Master Common
clocking configuration, the frequency of the connected AXI clock is propagated to the PHY Frequency
parameter.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
30
Chapter 4: Design Flow Steps
number of lanes to be selected for the connecting Aurora IP.
Advanced Tab
X-Ref Target - Figure 4-2
Figure 4-2:
Vivado IDE for Advanced AXI Chip2Chip Core Parameters
Figure 4-2 shows the Vivado IDE for advanced AXI Chip2Chip core parameters. This tab
includes the following options for the SelectIO™ FPGA interface:
•
Disable De-Skew: When set to 1, disables the deskew function in the Master or Slave
core. The deskew function can be disabled for low frequency I/O operations. This
setting must be maintained the same in both Master and Slave AXI Chip2Chip cores.
•
Disable Clock Shift: When set to 1, disables 90° phase shift for DDR I/O and 180°
phase shift for SDR I/O in the MMCM. Clock shifting can be disabled for
high-frequency DDR I/O operations when the clock half cycle period is less than the
maximum deskew range of 2.5 ns. This setting must be maintained the same in both
Master and Slave, AXI Chip2Chip cores.
•
Enable Differential Clock: When set to 1, implements differential I/O buffer on the
two clocks I/Os used for device interfacing. This setting must be maintained the same
in both Master and Slave AXI Chip2Chip cores.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
31
Chapter 4: Design Flow Steps
•
Enable Differential IO Data: When set to 1, implements differential I/O buffer on the
data I/Os used for device interfacing. This setting must be maintained the same in both
Master and Slave AXI Chip2Chip cores.
User Parameters
Table 4-3 shows the relationship between the fields in the Vivado IDE and the User
Parameters (which can be viewed in the Tcl Console).
Table 4-3:
Vivado IDE Parameter to User Parameter Relationship
Vivado IDE Parameter/Value(1)
User Parameter/Value(1)
Default Value
AXI Mode
C_MASTER_FPGA
-1
-0
1
Clocking mode
-Independent
-Common
C_COMMON_CLK
-0
-1
0
AXI-Lite Mode
- None
- Master AXI-Lite
- Slave AXI-Lite
C_INTERFACE_TYPE
-0
-1
-2
0
Data Width
- 32
- 64
- 128
C_INTERFACE_TYPE
- 32
- 64
- 128
32
C_AXI_ADDR_WIDTH
Range (32 to 64)
32
ID width
Range (0 to 12)
C_AXI_ID_WIDTH
Range (0 to 12)
6
WUSER Width
Range (0 to 4)
C_AXI_WUSER_WIDTH
Range (0 to 4)
4
C_INTERFACE_TYPE
-0
-1
-2
-3
1
C_SELECTIO_PHY_CLK
Range (40 to 400)
100
C_DISABLE_DESKEW
-0
-1
0
C_DISABLE_CLK_SHIFT
-0
-1
0
Address Width
Range (32 to 64)
PHY Type
- SelectIO™ SDR
- SelectIO™ DDR
- AURORA6466B
- AURORA8B10B
PHY Clock Frequency (in Mhz)
Range (40 to 400)
Disable De-skew
- false
- true
Disable Clock Shift
- false
- true
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
32
Chapter 4: Design Flow Steps
Table 4-3:
Vivado IDE Parameter to User Parameter Relationship (Cont’d)
Vivado IDE Parameter/Value(1)
User Parameter/Value(1)
Default Value
C_USE_DIFF_CLK
-0
-1
0
C_USE_DIFF_IO
-0
-1
0
Enable Differential Clock
- false
- true
Enable Differential IO Data
- false
- true
Notes:
1. The Vivado IDE parameter value differs from the user parameter value. Such values are shown in this table as
indented below the associated parameter.
Output Generation
For specifics about files created when the core is generated, see the Vivado Design Suite
User Guide: Designing with IP (UG896) [Ref 5].
Constraining the Core
This section contains details about constraining the core.
Required Constraints
The physical layer is a set of SelectIO™ interface pins that carry source synchronous clock
with the data pins.
These I/O pins need I/O Location and I/O Standard constraints. These constraints are board
specific and needs to be specified accordingly in the top-level XDC.
Clock Frequencies
The recommended frequency for the AXI interface is up to 200 MHz. For the maximum
frequency numbers achieved on the SelectIO PHY interface, see Table A-1 in Appendix A,
Verification, Compliance, and Interoperability. The clocking mode for the AXI Chip2Chip
core needs to be set based on the AXI Interface Frequency and the required SelectIO
interface PHY frequency. The required clocking constraints for the AXI Chip2Chip core are
listed below:
•
s_aclk: The AXI interface of the AXI Chip2Chip Master core operates in the s_aclk
clock domain.
•
axi_c2c_phy_clk: axi_c2c_phy_clk is the SelectIO interface PHY clock and is
applicable when the AXI Chip2Chip Master core is configured in Independent Clock
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
33
Chapter 4: Design Flow Steps
mode. For Common Clock mode, this clock constraint is not required because the PHY
clock is the same as s_aclk.
•
m_aclk: The AXI interface of the AXI Chip2Chip Slave core operates in the m_aclk
clock domain.
•
s_axi_lite_aclk: AXI4-Lite Master Mode operates in the s_axi_lite_aclk clock
domain.
•
m_axi_lite_aclk: AXI4-Lite Slave Mode operates in the m_axi_lite_aclk clock
domain.
•
idelay_ref_clk: Both the master and slave AXI Chip2Chip cores utilize the IDELAY_CTRL
block for SelectIO PHY calibration. The idelay_ref_clk input is the reference clock
to the IDELAY_CTRL block. This clock is 200 MHz or 300 MHz (± 10MHz) based on the
selected device. This constraint is not required when deskew operation is disabled for
the cores.
•
axi_c2c_selio_rx_clk_in: axi_c2c_selio_rx_clk_in is the source synchronous
clock of the SelectIO physical layer. This clock pin must be constrained with the PHY
clock frequency. When Common Clocking mode is used, this clock runs at the same
frequency as s_aclk.
Clock Management
The AXI Chip2Chip core utilizes the MMCM module to recover the SelectIO PHY clock. The
frequency of the PHY clock is specified by setting the C_SELECTIO_PHY_CLK parameter.
Clock Placement
The clock input pins on the physical layer must be placed on clock-capable I/Os only.
Banking
Device-specific banking rules for placement of PHY I/O pins need to be considered when
specifying the top-level XDC.
I/O Standard and Placement
The I/O pins of the AXI Chip2Chip core need I/O Location and I/O Standard constraints.
These constraints need to be specified in the top-level XDC.
Simulation
This section contains information about simulating IP in the Vivado Design Suite. For
comprehensive information about Vivado simulation components, as well as information
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
34
Chapter 4: Design Flow Steps
about using supported third-party tools, see the Vivado Design Suite User Guide: Logic
Simulation (UG900) [Ref 3]
IMPORTANT: For cores targeting 7 series or Zynq-7000 devices, UNIFAST libraries are not supported.
Xilinx IP is tested and qualified with UNISIM libraries only.
Synthesis and Implementation
For details about synthesis and implementation, see the Vivado Design Suite User Guide:
Designing with IP (UG896) [Ref 5].
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
35
Chapter 5
Example Design
This chapter contains information about the example design provided in the Vivado®
Design Suite.
Overview
Figure 5-1 shows the configuration of the example design with a SelectIO™ interface. For
an Aurora interface, connect the streaming interface of the AXI Chip2Chip core to the
Aurora core, as shown in Figure 5-2.
X-Ref Target - Figure 5-1
y/ŚŝƉϮŚŝƉdžĂŵƉůĞĞƐŝŐŶ
t
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
'ĞŶĞƌĂƚŽƌ
'ĞŶĞƌĂƚŽƌ
Z
t
y/
y/
ŚŝƉϮŚŝƉ
ŚŝƉϮŚŝƉ
ŽƌĞ
ŽƌĞ
^ĞůĞĐƚ/K/ŶƚĞƌĨĂĐĞ
Z
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
ŚĞĐŬĞƌ
ŚĞĐŬĞƌ
Figure 5-1:
AXI Chip2Chip v4.2
PG067 November 18, 2015
Example Design Block Diagram
www.xilinx.com
Send Feedback
36
Chapter 5: Example Design
X-Ref Target - Figure 5-2
y/ŚŝƉϮŚŝƉdžĂŵƉůĞĞƐŝŐŶ
t
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
'ĞŶĞƌĂƚŽƌ
'ĞŶĞƌĂƚŽƌ
Z
t
y/
y/
ŚŝƉϮŚŝƉ
ŚŝƉϮŚŝƉ
ŽƌĞ
ŽƌĞ
ƵƌŽƌĂ
ƵƌŽƌĂ
ϲϰϲϲ
ϲϰϲϲ
ŽƌĞ
ŽƌĞ
^ĞƌŝĂů/ŶƚĞƌĨĂĐĞ
Z
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
ŚĞĐŬĞƌ
ŚĞĐŬĞƌ
Figure 5-2:
Example Design Block Diagram with Aurora Interface
The example design contains the following:
•
An instance of the AXI Chip2Chip core
•
Clocking wizard to generate clock signals for the example design
•
Traffic generator for AXI4 and AXI4-Lite interfaces
•
Traffic checker for AXI4 and AXI4-Lite interfaces
•
an instance of the Aurora 64B66B core in duplex configuration.
IMPORTANT: Be sure to select the right device when simulating, synthesizing, and implementing the
example design of the AXI Chip2Chip with PHY type set as Aurora.
Implementing the Example Design
Depending on the board selected, provide XDC constraints for the system clock pins and
SelectIO pins of AXI Chip2Chip core. The status signals (Link Status, Multi-Bit Error, and Link
Error) can be mapped to LEDs to show the status of the AXI Chip2Chip cores.
See the AXI Chip2Chip Reference Design for Real-Time Video Application (XAPP1160) [Ref 1]
to set the SelectIO pin constraints for AXI Chip2Chip core on KC705 board.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
37
Chapter 6
Test Bench
This chapter contains information about the test bench provided in the Vivado® Design
Suite.
Figure 6-1 and Figure 6-2 show the demonstration test bench with a SelectIO™ interface
and an Aurora interface, respectively.
X-Ref Target - Figure 6-1
ĞŵŽŶƐƚƌĂƚŝŽŶdĞƐƚĞŶĐŚ
y/ŚŝƉϮŚŝƉdžĂŵƉůĞĞƐŝŐŶ
dƌĂĨĨŝĐ
'ĞŶĞƌĂƚŽƌ
t
t
Z
Z
t
y/
ŚŝƉϮŚŝƉ
ŽƌĞ
;DĂƐƚĞƌ
Kƌ
^ůĂǀĞͿ
Z
dƌĂĨĨŝĐ
ŚĞĐŬĞƌ
t
y/
ŚŝƉϮŚŝƉ
ŽƌĞ
;^ůĂǀĞ
Kƌ
DĂƐƚĞƌͿ
^ĞůĞĐƚ/K/ŶƚĞƌĨĂĐĞ
dƌĂĨĨŝĐ
ŚĞĐŬĞƌ
Z
dƌĂĨĨŝĐ
'ĞŶĞƌĂƚŽƌ
Figure 6-1:
Demonstration Test Bench Block Diagram
X-Ref Target - Figure 6-2
ĞŵŽŶƐƚƌĂƚŝŽŶdĞƐƚďĞŶĐŚ
y/ŚŝƉϮŚŝƉdžĂŵƉůĞĞƐŝŐŶ
t
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
'ĞŶĞƌĂƚŽƌ
'ĞŶĞƌĂƚŽƌ
t
Z
t
Z
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
ŚĞĐŬĞƌ
ŚĞĐŬĞƌ
Z
y/
y/
ŚŝƉϮŚŝƉ
ŚŝƉϮŚŝƉ
ŽƌĞ
ŽƌĞ
;DĂƐƚĞƌ
;DĂƐƚĞƌ
Kƌ
Kƌ
^ůĂǀĞͿ
^ůĂǀĞͿ
ƵƌŽƌĂ
ƵƌŽƌĂ
ϲϰϲϲ
ϲϰϲϲ
ŽƌĞ
ŽƌĞ
^ĞƌŝĂů
/ŶƚĞƌĨĂĐĞ
Figure 6-2:
AXI Chip2Chip v4.2
PG067 November 18, 2015
ƵƌŽƌĂ
ƵƌŽƌĂ
ϲϰϲϲ
ϲϰϲϲ
ŽƌĞ
ŽƌĞ
y/
y/
ŚŝƉϮŚŝƉ
ŚŝƉϮŚŝƉ
ŽƌĞ
ŽƌĞ
;^ůĂǀĞ
;^ůĂǀĞ
Kƌ
Kƌ
DĂƐƚĞƌͿ
DĂƐƚĞƌͿ
t
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
ŚĞĐŬĞƌ
ŚĞĐŬĞƌ
Z
dƌĂĨĨŝĐ
dƌĂĨĨŝĐ
'ĞŶĞƌĂƚŽƌ
'ĞŶĞƌĂƚŽƌ
Demonstration Test Bench with Aurora Interface
www.xilinx.com
Send Feedback
38
Chapter 6: Test Bench
To demonstrate the AXI Chip2Chip core, an instance of AXI Chip2Chip core in
complementary mode is connected to the AXI Chip2Chip core in the example design.
The demonstration test bench performs the following tasks:
•
Generates input clock signals.
•
Applies a reset to the example design.
•
Waits for one of the interrupt signals (Link Status and Multi-Bit Error) to be asserted. If
Link status is asserted, a stable link is established between the Master and Slave AXI
Chip2Chip cores. If Configuration Error or Multi-Bit Error is asserted, the test bench
fails with Error: Link Not Detected.
•
If a link is successfully established, Link detected is displayed in the console.
•
The traffic generator starts generating fixed traffic patterns at the inputs of the AXI
Chip2Chip cores.
•
The traffic checker checks the output signals of the AXI Chip2Chip cores against
expected patterns. If the received data has an error, then error messages are issued at
the console with the name, expected value and actual value of the signal in error
condition.
•
The transactions are shown for a time interval of 10,000 ns and the test bench finishes
with the Test Completed Successfully in the console.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
39
Appendix A
Verification, Compliance, and
Interoperability
This appendix provides details about how this IP core was tested for compliance.
Simulation
AXI Chip2Chip cores have been tested with Xilinx® Vivado® Design Suite and the Mentor
Graphics Questa SIM simulator. For the supported versions of these tools, see the Xilinx
Design Tools: Release Notes Guide.
For more details about simulating your design, see the Vivado Design Suite User Guide:
Logic Simulation (UG900) [Ref 3].
The IP is tested using Xilinx proprietary standard AXI Memory Mapped OVM Verification
Components (OVCs).
Hardware Testing
Figure A-1 shows the hardware testing setup for the AXI Chip2Chip core.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
40
Appendix A: Verification, Compliance, and Interoperability
X-Ref Target - Figure A-1
.&
/('
.7
[)0&
/RRSEDFN&DUGV
,QWHUUXSWV
$;,
0LFUREOD]H
>$;,0DVWHU@
$;,%5$0
&RQWUROOHU
>$;,6ODYH@
5HJLVWHU%DQN
>$;,/LWH6ODYH@
$;,/LWH
$;,
&KLS&KLS
0DVWHU
$;,
$;,/LWH
$;,
&KLS&KLS
6ODYH
,QWHUUXSWV
;
Figure A-1:
AXI Chip2Chip Hardware Testing Setup
The AXI Chip2Chip core with a SelectIO™ FPGA interface has been hardware validated on a
KC705 board using a Kintex®–7 FPGA with –1 speed grade (325T). The setup uses two
additional FMC loopback cards. Table A-1 provides configuration details for the AXI
Chip2Chip core and the frequency achieved by utilizing this setup with the SelectIO™
interface.
Table A-1:
Hardware Testing Configuration with a SelectIO FPGA interface
Features
AXI Data
Width
32-bit
64-bit
I/Os Utilized
PHY Clock (MHz)
Chip2Chip
PHY Type
Chip2Chip
PHY Width
Single Ended
[HR I/O Banks]
LVCMOS_25 I/O
[Unterminated]
SelectIO™ SDR
Compact 4:1
38
200
SelectIO™ DDR
Compact 1:1
58
100
SelectIO™ DDR
Compact 2:1
32
150
SelectIO™ DDR
Compact 4:1
20
150
SelectIO™ DDR
Compact 2:1
46
100
SelectIO™ DDR
Compact 4:1
28
150
Notes:
1. The AXI (system) clock frequency was set to 100 MHz, and the Common Clock mode of operation was selected for
configurations having the same PHY clock and AXI clock frequencies (100 MHz).
In addition, XAPP1160 provides a setup demonstrating real-time video traffic across
Kintex®-7 FPGA boards (KC705) and Zynq®-7000 devices [Ref 1]. This setup uses the AXI
Chip2Chip core for connectivity across the FPGA using LPC/HPC connector cables.
The AXI Chip2Chip Aurora Reference Design for Real-Time Video Applications (XAPP1216)
demonstrates real-time video traffic between two Kintex®–7 FPGA KC705 evaluation boards
or one KC705 board and one Zynq®-7000 All Programmable (AP) SoC ZC706 evaluation
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
41
Appendix A: Verification, Compliance, and Interoperability
board [Ref 10]. The AXI Chip2Chip core provides connectivity between the two boards using
SMA data connector cables.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
42
Appendix B
Migrating and Upgrading
This appendix contains information about migrating a design from ISE® to the Vivado®
Design Suite, and for upgrading to a more recent version of the IP core. For customers
upgrading in the Vivado® Design Suite, important details (where applicable) about any
port changes and other impact to user logic are included.
Migrating to the Vivado Design Suite
For information about migrating to the Vivado® Design Suite, see the ISE to Vivado Design
Suite Migration Guide (UG911) [Ref 6].
Upgrading in the Vivado Design Suite
This section provides information about any changes to the user logic or port designations
that take place when you upgrade to a more current version of this IP core in the Vivado®
Design Suite.
Parameter Changes
There were no parameter changes for this release.
Port Changes
For designs using SelectIO™, there were no port changes.
For designs using Aurora as the PHY type, the following ports were added:
•
aurora_do_cc
•
aurora_pma_init_in
•
aurora_pma_init_out
•
aurora_init_clk
•
aurora_mmcm_not_locked
•
aurora_reset_pb
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
43
Appendix C
Debugging
This appendix provides information for using the resources available on the Xilinx®
Support website, debug tools, and other step-by-step processes for debugging designs
that use the AXI Chip2Chip core.
Finding Help on Xilinx.com
To help in the design and debug process when using the AXI Chip2Chip core, the Xilinx
Support web page contains key resources such as product documentation, release notes,
answer records, information about known issues, and links for obtaining further product
support.
Documentation
This product guide is the main document associated with the AXI Chip2Chip core. This
guide, along with documentation related to all products that aid in the design process, can
be found on the Xilinx Support web page or by using the Xilinx Documentation Navigator.
Download the Xilinx Documentation Navigator from the Downloads page. For more
information about this tool and the features available, open the online help after
installation.
Answer Records
Answer Records include information about commonly encountered problems, helpful
information on how to resolve these problems, and any known issues with a Xilinx product.
Answer Records are created and maintained daily ensuring that you have access to the most
accurate information available.
Answer Records for this core can be located by using the Search Support box on the main
Xilinx support web page. To maximize your search results, use proper keywords such as:
•
Product name
•
Tool message(s)
•
Summary of the issue encountered
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
44
Appendix C: Debugging
A filter search is available after results are returned to further target the results.
Master Answer Record for the AXI Chip2Chip
AR: 54806
Technical Support
Xilinx provides technical support in the Xilinx Support web page for this LogiCORE™ IP
product when used as described in the product documentation. Xilinx cannot guarantee
timing, functionality, or support if you do any of the following:
•
Implement the solution in devices that are not defined in the documentation.
•
Customize the solution beyond that allowed in the product documentation.
•
Change any section of the design labeled DO NOT MODIFY.
Xilinx provides premier technical support for customers encountering issues that require
additional assistance. To contact Xilinx Technical Support, navigate to the Xilinx Support
web page.
Debug Tools
There are many tools available to address AXI Chip2Chip core design issues. It is important
to know which tools are useful for debugging various situations.
Vivado Design Suite Debug Feature
The Vivado® Design Suite debug feature inserts logic analyzer and virtual I/O cores directly
into your design. The debug feature also allows you to set trigger conditions to capture
application and integrated block port signals in hardware. Captured signals can then be
analyzed. This feature in the Vivado IDE is used for logic debugging and validation of a
design running in Xilinx devices.
The Vivado logic analyzer is used to interact with the logic debug LogiCORE IP cores,
including:
•
ILA 2.0 (and later versions)
•
VIO 2.0 (and later versions)
See the Vivado Design Suite User Guide: Programming and Debugging (UG908) [Ref 7].
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
45
Appendix C: Debugging
Hardware Debug
Hardware issues can range from link bring-up to problems seen after hours of testing. This
section provides debug steps for common issues.
General Checks
Ensure that all the timing constraints for the core were properly incorporated from the
example design and that all constraints were met during implementation.
•
Does it work in post-place and route timing simulation? If problems are seen in
hardware but not in timing simulation, this could indicate a PCB or connector cable
issue. Ensure that all clock sources are active and clean.
•
If using MMCMs in the design, ensure that all MMCMs have obtained lock by
monitoring the locked port.
Core-Specific Checks
The following checks can further the debugging process:
•
Check that the axi_c2c_multi_bit_error_out signals of both the Master and
Slave cores are not asserted. The axi_c2c_link_status_out signal should be
asserted High after the cores are calibrated.
•
If the Slave is reset during normal operation (axi_c2c_link_error_out), reset the
entire Master-Slave system.
•
After downloading the software in any of the boards, reset the entire system. If there is
no reset propagation, the Slave needs to be reset first, followed by the Master.
Interface Debug
AXI4-Lite Interfaces
Read from a register that does not have all 0s as a default to verify that the interface is
functional. Output s_axi_arready asserts when the read address is valid, and output
s_axi_rvalid asserts when the read data/response is valid. If the interface is
unresponsive, ensure that the following conditions are met:
•
The interface is enabled, and s_axi_lite_aclk/m_axi_lite_aclk are stable when
the core is brought out of reset.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
46
Appendix C: Debugging
•
The interface is not being held in reset, and the link status output of the core is
asserted.
•
The other interface inputs and outputs are connected and toggling.
•
The main core clocks are toggling and the link error or multi-bit error interrupt outputs
of the core are not asserted.
•
If the simulation has been run, verify in simulation that the waveform is correct for
accessing the AXI4-Lite interface.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
47
Appendix D
Additional Resources and Legal Notices
Xilinx Resources
For support resources such as Answers, Documentation, Downloads, and Forums, see Xilinx
Support.
References
This section provides supplemental material useful with this product guide:
1. AXI Chip2Chip Reference Design for Real-Time Video Application (XAPP1160)
2. Xilinx Vivado AXI Reference Guide (UG1037)
3. Vivado Design Suite User Guide: Logic Simulation (UG900)
4. Vivado Design Suite User Guide: Implementation (UG904)
5. Vivado Design Suite User Guide: Designing with IP (UG896)
6. ISE to Vivado Design Suite Migration Methodology Guide (UG911)
7. Vivado Design Suite User Guide: Programming and Debugging (UG908)
8. Vivado Design Suite User Guide: Getting Started (UG910)
9. Vivado Design Suite User Guide: Designing IP Subsystems using IP Integrator (UG994)
10. AXI Chip2Chip Aurora Reference Design for Real-Time Video Applications (XAPP1216)
11. AMBA® AXI4 specification
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0022d/index.html
12. LogiCORE IP Aurora 8B/10B Product Guide (PG046)
13. LogiCORE IP Aurora 64B/66B Product Guide (PG074)
14. LogiCORE IP High Speed SelectIO Wizard Product Guide (PG188)
15. LogiCORE IP SelectIO Interface Wizard Product Guide (PG070)
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
48
Appendix D: Additional Resources and Legal Notices
Revision History
The following table shows the revision history for this document.
Date
Version
11/18/2015
4.2
• Added support for UltraScale+ architecture-based devices.
09/30/2015
4.2
• Enabled support for UltraScale™ Architecture based devices that are using
Aurora physical layer interface.
04/01/2015
4.2
• Enhanced support for 128 data width (in aurora interface mode) and 64
address width.
• Added User Parameters Table.
11/19/2014
4.2
• Updated ”Throughput and Latency” in the Product Specification chapter.
• Added more details to “Auto-Negotiation” in the Designing with the Core
chapter.
10/01/2014
4.2
• Added support for Aurora 8B/10B IP core.
• Clarified maximum ID width restrictions as it relates to Zynq®-7000
devices.
04/02/2014
4.2
• Updated core to v4.2.
• Added details about integrating the core with the Xilinx® Aurora IP core
using the Vivado® IP integrator. Included new ports details in “Migrating
and Upgrading” appendix.
• Added clocking, reset and interface connectivity details for connecting to
the Aurora IP core.
12/18/2013
4.1
• Added support for Aurora interface.
10/02/2013
4.1
•
•
•
•
•
03/30/2013
4.0
• Updated core to v4.0.
• Added support for Vivado® Design Suite.
• Removed support for ISE® Embedded Development Kit (EDK).
12/18/2012
3.0
• Updated core to v3.00a and ISE Embedded Development Kit (EDK) to v14.4.
• Added support for AXI4-Lite.
• Added Appendix C, Debugging.
10/25/2012
2.1
Corrected typo in Figure 1-1.
10/16/2012
2.0
Xilinx® initial release. Updated core to v2.00a and ISE Embedded
Development Kit (EDK) to v14.3.
07/25/2012
1.0
Xilinx® Beta release.
AXI Chip2Chip v4.2
PG067 November 18, 2015
Revision
Updated core to v4.1.
Added Example Design and Test Bench chapters.
Added the Migrating and Updating appendix.
Added support for IP integrator.
Changed all signals and ports to lowercase.
www.xilinx.com
Send Feedback
49
Appendix D: Additional Resources and Legal Notices
Please Read: Important Legal Notices
The information disclosed to you hereunder (the "Materials") is provided solely for the selection and use of Xilinx products. To the
maximum extent permitted by applicable law: (1) Materials are made available "AS IS" and with all faults, Xilinx hereby DISCLAIMS
ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and (2) Xilinx shall not be liable (whether
in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related
to, arising under, or in connection with, the Materials (including your use of the Materials), including for any direct, indirect, special,
incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a
result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised
of the possibility of the same. Xilinx assumes no obligation to correct any errors contained in the Materials or to notify you of
updates to the Materials or to product specifications. You may not reproduce, modify, distribute, or publicly display the Materials
without prior written consent. Certain products are subject to the terms and conditions of Xilinx's limited warranty, please refer to
Xilinx's Terms of Sale which can be viewed at http://www.xilinx.com/legal.htm#tos; IP cores may be subject to warranty and support
terms contained in a license issued to you by Xilinx. Xilinx products are not designed or intended to be fail-safe or for use in any
application requiring fail-safe performance; you assume sole risk and liability for use of Xilinx products in such critical applications,
please refer to Xilinx's Terms of Sale which can be viewed at http://www.xilinx.com/legal.htm#tos.
© Copyright 2012–2015 Xilinx, Inc. Xilinx, the Xilinx logo, Artix, ISE, Kintex, Spartan, Virtex, Vivado, Zynq, and other designated
brands included herein are trademarks of Xilinx in the United States and other countries. AMBA, AMBA Designer, ARM,
ARM1176JZ-S, CoreSight, Cortex, and PrimeCell are trademarks of ARM in the EU and other countries. All other trademarks are the
property of their respective owners.
AXI Chip2Chip v4.2
PG067 November 18, 2015
www.xilinx.com
Send Feedback
50

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Download PDF

advertisement