User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 666
UG585 (v1.11) September 27, 2016
Chapter 23: Programmable Logic Test and Debug
Trace Packet
A trace packet contains the 32-bit value from each captured FTMDTRACEINDATA[31:0] from the PL.
The MSB of the last byte is determined by the presence of an immediately following cycle count
packet. If a cycle count packet follows, the MSB is 1, otherwise it is 0.
Trigger Packet
A trigger packet is generated for each acknowledged trigger input [0] from the PL, i.e., when both
FTMTF2PTRIG[0] and FTMTF2PTRIGACK[0] are High.
Cycle Count Packet
A cycle count packet is generated when FTMCONTROL[CYCEN] is set, and a trace packet or a trigger
packet is generated. It contains a binary count value taken from the current value of the internal
32-bit free-running counter. It is always a continuation of an immediately preceding trace packet or
trigger packet.
FIFO overflow packet 0 1101 000
Synchronization packet 0 0000 000
Table 23-3: Trace Packet Format
Byte [7] [6:0]
0 0 data[3:0], 101
1 1 data[10:4]
2 1 data[17:11]
3 1 data[24:18]
4 count data[31:25]
Table 23-4: Trigger Packet Format
Byte [7:0]
0 0x20
1 0xA0
2 0xA0
3 0x20 or 0xA0
Table 23-5: Cycle Count Packet Format
Byte [7] [6:0]
0 1 count[3:0], 100
1 1 count[10:4]
2 1 count[17:11]
Table 23-2: “Type” Byte Encoding (Contd)
Type [7] [6:3] [2:0]