Altera RapidIO II MegaCore Function User Manual
Page 110
4–68
Chapter 4: Functional Description
Logical Layer Interfaces
RapidIO II MegaCore Function
August 2014
Altera Corporation
User Guide
The initial eight bytes of the packet contain header information.
Table 4–43
lists the
header fields and their values in this example.
User Receiving Streaming Write Request
Table 4–44
lists the Avalon-ST pass-through interface usage example this section
describes.
Table 4–43. SWRITE Request Transmit Example: RapidIO Header Fields on the gen_tx_data Bus
Field
gen_tx_data
Bits
Value
Comment
ackID
[127:122]
6'h00
Value is a don’t care, because it is overwritten by the Physical
layer ackID value before the packet is transmitted on the
RapidIO link.
VC
[121]
0
The RapidIO II IP core supports only VC0.
CRF
[120]
0
prio[1:0]
[119:118]
2'b11
tt[1:0]
[117:116]
2'b00
The value of 0 indicates 8-bit device IDs.
ftype[3:0]
[115:112]
4'b0110
The value of 6 indicates a Streaming-Write Class packet.
destinationId[7:0]
[111:104]
8'hDD
sourceId[7:0]
[103:96]
8'hAA
address[28:0]
[95:67]
{28’h0AABBCC,
1’b1}
wdptr
[66]
0
Not used for SWRITE transactions.
xamsbs[1:0]
[65:64]
2’b00
Table 4–44. Avalon-ST Pass-Through Interface Usage Example: Receive SWRITE Request
User Operation
Operation
Type
RapidIO Transaction
Priority
Device ID
Width
Payload Size
(Bytes)
Receive streaming write request
Rx
SWRITE
3
8
40