User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 663
UG585 (v1.11) September 27, 2016
Chapter 23: Programmable Logic Test and Debug
The packet formatter generates packets and submits them to the FIFO. The packet formatter can
generate the following types of packets:
Trace packets: These packets are generated when valid trace data is available from the PL.
Trigger packets: These trigger packets can only be generated by the FTMTF2PTRIG[0] signal.
Cycle count packets: These packets provide continuous timestamps that are used to reconstruct
a real-time trace.
Overflow packets: These packets are generated when the FIFO overflows.
Synchronization packets: These packets are for packet analysis tools to re-align to packet
boundaries.
The cross trigger interface communicates with the CoreSight ECT structure. This interface passes
re-synchronized trigger signals between the PL and the ECT. This provides the capability of
cross-triggering each other between the PS and PL.
23.2.2 Packet Generation
The following are some common scenarios that illustrate packet generation by the FTM.
Typical Case – Trace Enabled, Cycle Count Enabled
When a valid PL trace (FTMDTRACEINVALID is asserted) is captured, a trace packet and a cycle count
packet are generated and sent to the ATB. When a trigger occurs (via the FTMTF2PTRIG[0] signal), a
trigger packet and a cycle count packet are generated and sent to the ATB.
X-Ref Target - Figure 23-2
Figure 23-2: Packet Generation, Typical Case
PL Trace
Valid
Trace
Packet
Cycle
Count
Packet
PL Trace
Valid
UG585_c23_02_030312
PL Trace
Valid
PL
Activity
Packets
Generated
Time
Trigger
Trigger
Packet
Cycle
Count
Packet
Trace
Packet
Cycle
Count
Packet
Trace
Packet
Cycle
Count
Packet