![Altera Cyclone V Device Handbook Download Page 592](http://html1.mh-extra.com/html/altera/cyclone-v/cyclone-v_device-handbook_2910791592.webp)
Description
Offset[30:12]
ROM Entry
End of ROM
0x00000
0x9
A host debugger can access this table at 0x8000_0000 through the DAP. HPS masters can access this ROM
at 0xFF00_0000. Registers for a particular CoreSight component are accessed by adding the register offset
to the CoreSight component base address, and adding that total to the base address of the ROM table.
The base address of the ROM table is different when accessed from the debugger (at 0x8000_0000) than
when accessed from any HPS master (at 0xFF00_0000). For example, the CTI output enable register,
CTIOUTEN[2]
at offset 0xA8, can be accessed by the host debugger at 0x8000_20A8. To derive that value,
add the host debugger access address to the ROM table of 0x8000_0000, to the CTI component base address
of 0x0000_2000, to the
CTIOUTEN[2]
register offset of 0xA8.
STM Channels
The STM AXI slave is connected to the MPU, DMA, and FPGA-to-HPS bridge masters. Each master has
up to 65536 channels where each channel occupies 256 bytes of address space, for a total of 16 MB per master.
The HPS address map allocates 48 MB of consecutive address space to the STM AXI slave port, divided in
three 16 MB segments.
Table 7-2: STM AXI Slave Port Address Allocation
End Address
Start Address
Segment
0xFCFF_FFFF
0xFC00_0000
0
0xFDFF_FFFF
0xFD00_0000
1
0xFEFF_FFFF
0xFE00_0000
2
Each of the three masters can access any one of the three address segments. Your software design determines
which master uses which segment, based on the value of bits 24 and 25 in the write address,
AWADDRS[25:24]
. Software must restrict each master to use only one of the three segments.
Table 7-3: STM AXI Address Fields
Description
AXI Signal Fields
These bits index the 256 bytes of the stimulus port.
AWADDRS[7:0]
These bits identify the 65536 stimulus ports associated with a master.
AWADDRS[23:8]
These bits identify the three masters. Only 0, 1, and 2 are valid values.
AWADDRS[25:24]
Always 0x3F. Bits 24 to 31 combine to access 0xFC00_0000 through 0xFEFF_
FFFF.
AWADDRS[31:26]
Each STM message contains a master ID that tells the host debugger which master is associated with the
message. The STM master ID is determined by combining a portion of the
AWADDRS
signal and the
AWPROT
protection bit.
Altera Corporation
CoreSight Debug and Trace
7-11
STM Channels
cv_54007
2013.12.30