![Altera Cyclone V Device Handbook Download Page 593](http://html1.mh-extra.com/html/altera/cyclone-v/cyclone-v_device-handbook_2910791593.webp)
Table 7-4: STM Master ID Calculation
Notes
AXI Signal Bits
Master ID Bits
The lowest two bits are sufficient to determine which
master, but CoreSight uses a seven-bit master ID.
AWADDRS[29:24]
Master
ID[5:0]
0 indicates secure; 1 indicates nonsecure.
AWPROT[1]
Master
ID[6]
In addition to access through STM channels, the higher-order 28 (31:4) of the 32 event signals are attached
to the FPGA through the FPGA-CTI. These event signals allow the FPGA fabric to send additional messages
using the STM.
Related Information
For more information, refer to the System Trace Macrocell in the
Programmers' Model Architecture
Specification.
FPGA Interface
The following components connect to the FPGA fabric. This section lists the signals from debug system to
the FPGA.
DAP
The DAP uses the system APB port to connect to the FPGA.
Table 7-5: DAP
The following table shows the signal description between DAP and FPGA.
Description
Segment
Address bus to system APB port
h2f_dbg_apb_PADDR[18]
Address bus to system APB port
h2f_dbg_apb_PADDR31
Enable signal from system APB port
h2f_dbg_apb_PENABLE
32-bit system APB port read data bus
h2f_dbg_apb_PRDATA[32]
Ready signal to system APB port
h2f_dbg_apb_PREADY
Select signal from system APB port
h2f_dbg_apb_PSEL
Error signal to system APB port
h2f_dbg_apb_PSLVERR
32-bit system APB port write data bus
h2f_dbg_apb_PSLVERR
Select whether read or write to system APB port
• 0 - System APB port read from DAP
• 1 - System APB Port write to DAP
h2f_dbg_apb_PWRITE
STM
The STM has 28 event pins, f2h_stm_hw_events[28], for FPGA to trigger events to STM.
CoreSight Debug and Trace
Altera Corporation
cv_54007
FPGA Interface
7-12
2013.12.30