User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 725
UG585 (v1.11) September 27, 2016
Chapter 28: System Test and Debug
Note: For details on the two CTIs connected to CPU0 and CPU1, refer to the CoreSight PTM-A9
Technical Reference Manual, r1p0, DDI0401C, section 1.3.6.
28.2.3 Program Trace Macrocell (PTM)
The PTM is the block for tracing processor execution flow. It is based on the ARM program flow trace
(PFT) architecture, and is a CoreSight component of the trace source class. The PTM generates
information that trace tools use to reconstruct the execution of a program, by tracing only certain
points in program execution called waypoints. This reduces the amount of trace data. Timestamps
are supported for correlating multiple trace streams and coarse grain code profiling.
The PTM provides some general resources, such as address/ID comparators, counter, sequencers, for
setting up user-defined event triggering conditions. This enhances the base functions of tracing
program execution.
The PTM block in Zynq-7000 AP SoC devices is the standard ARM-supplied IP, with the no custom
configuration.
28.2.4 Instrumentation Trace Macrocell (ITM)
The ITM is the block for software to generate a trace. It is a CoreSight component of the trace source
class. Triggering and coarse-grained time stamping are also supported. The main uses include:
printf style debugging
Trace OS and application events
Emit diagnostic system information
The ITM block in Zynq-7000 AP SoC devices is the standard ARM-supplied IP, with the no custom
configuration.
28.2.5 Funnel
The funnel is the block for merging trace data from multiple sources into a single stream. It is a
CoreSight component of the trace link class. Users select the sources to be merged and assign
priorities to them.
The funnel in Zynq-7000 AP SoC devices is the standard ARM-supplied IP, with the no custom
configuration.
Table 28-2 lists the connections of the input ports of the Funnel.
[
Table 28-2: Funnel Input Port List
Port
Trace Source
0PTM0
1PTM1
2FTM