User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 720
UG585 (v1.11) September 27, 2016
Chapter 28
System Test and Debug
28.1 Introduction
The PS and PL can be debugged together as a complete system using intrusive and non-intrusive
debug techniques. In addition to software code debug, there are key hardware points in the PS and
user-selected key hardware points in the PL that can capture system activity to help with the debug
process.
The test and debug capability is based on the ARM CoreSight v1.0 Architecture Specification and
consists mostly of ARM-supplied components, but also includes one Xilinx-supplied component (the
fabric trace module (FTM), see Chapter 23, Programmable Logic Test and Debug). ARM CoreSight
architecture defines four classes of CoreSight components: access and control, trace source, trace
link, and trace sink.
Components of the access and control class provide a user interface to access the debug
infrastructure through JTAG or memory-mapped locations. This class of components also
coordinates the operation of separate CoreSight components with a trigger signal distribution
network. Components of the trace source class capture debug information, like instruction
addresses, bus transaction addresses, and generate trace packets. These trace packets are routed to
components of the trace link class where trace packets can be combined or replicated. Components
of the trace sink class receive trace packets and dump them into an on-chip trace buffer, or output
them to chip pinouts (via the MIO) or to the PL (via the EMIO).
CoreSight components are connected together via three major types of buses/signals; programming,
trigger, and trace. The programming bus is the path for the access and control class to convey
programming information from the JTAG or from processors to other CoreSight components. The
trigger signals are used by all classes of components to receive and send triggers from/to each other
to coordinate their operation. The trace bus is the main pathway for trace packets to flow, connecting
trace source, trace links, and trace sinks.
28.1.1 Features
The CoreSight components provide the following capabilities for the system-wide trace:
Debug and trace visibility of whole systems with a single debugger connection
Cross triggering support between SoC subsystems
Multi-source trace in a single stream
Higher data compression than previous solutions