Altera RapidIO II MegaCore Function User Manual

Page 67

Advertising
background image

Chapter 4: Functional Description

4–25

Logical Layer Interfaces

August 2014

Altera Corporation

RapidIO II MegaCore Function

User Guide

Input/Output Slave Translation Window Example

This section contains an example illustrating the use of I/O slave translation
windows. In this example, a RapidIO II IP core with 8-bit device ID communicates
with three other processing endpoints through three I/O slave translation windows.
For this example, the XAMO bits are set to 2'b00 for all three windows. The offset value
differs for each window, which results in the segmentation of the RapidIO address
space that is shown in

Figure 4–10

.

In the example, the two most significant bits of the Avalon-MM address are used to
differentiate between the processing endpoints.

Figure 4–12

through

Figure 4–20

show the address translation implemented for each window. Each figure shows the
value for the destination ID of the control register for one window.

Translation Window 0

An Avalon-MM address in which the two most significant bits have the value 2'b01
matches window 0. The RapidIO transaction corresponding to the Avalon-MM
operation has a DESTINATION_ID value of 0x55. This value corresponds to processing
endpoint 0.

Figure 4–10. Input/Output Slave Translation Window Address Mapping

0x00000000

0x3FFFFFFF

0xFFFFFFFF

0x40000000

Avalon-MM

Address Space

RapidIO

Address Space

0x7FFFFFFF

0x80000000

0xBFFFFFFF

0xC0000000

0x000000000

0x03FFFFFFF

0x040000000

0x07FFFFFFF

0x080000000

0x0BFFFFFFF

0x0C0000000

0x0FFFFFFFF

0x100000000

0x3FFFFFFFF

PE 2

PE 1

PE 0

PE 0

PE 1

PE 2

Advertising