Flow – Texas Instruments TMS320C645X User Manual

Page 37

Advertising
background image

www.ti.com

LSU2

LSU4

LSU3

LSU1

MMR command

UDI interface

Load/store module

RapidIO transport

and physical layers

Port x transmission

FIFO queues

TX

FIFO

RX

FIFO

Peripheral boundary

Config bus

access

Write transfer

descriptors

CPU

I/O

pins

L2 memory

= Shared resource for CPPI and MAU

Shared

TX

data

Shared

RX

data

Response

timer

Control

and

arbitrator

DMA

request

DMA

response

SRIO Functional Description

Figure 13. Load/Store Module Data Flow

2.3.3.2

TX Operation

WRITE Transactions:

The TX buffers are implemented in a single SRAM and shared between multiple cores. A state machine
arbitrates and assigns available buffers between the LSUs. When the DMA bus read request is
transmitted, the appropriate TX buffer address is specified within it. The data payload is written to that
buffer through the DMA bus response transaction. Depending on the architecture of the device,
interleaving of multi-segmented DMA bus responses from the DMA is possible. Upon receipt of a DMA
bus read response segment, the unit checks the completion status of the payload. Note that only one
payload can be completed in any single DMA bus cycle. The Load/Store module can only forward the
packet to the TX FIFO after the final payload byte from the DMA bus response has been written into the
shared memory buffer. Once the packet is forwarded to the TX FIFO, the shared buffer can be released
and made available for a new transaction.

The TX buffer space is dynamically shared among all outgoing sources, including the Load/Store Unit
(LSU) and the TX CPPI, as well as the response packets from RX CPPI and the Memory Access Unit
(MAU). Thus, the buffer space memory must be partitioned to handle packets with and without payloads.
A 4.5KB buffer space is configured to support 16 packets with payloads up to 256B, in addition to 16
packets without payloads. The SRAM is configured as a 128-bit wide two port, which matches the UDI
width of the TX FIFOs.

Data leaves the shared buffer pool sequentially in order of receipt, not based on the packet priority.
However, if fabric congestion occurs, priority can affect the order in which the data leaves the TX FIFOs. A
reordering mechanism exists here, which transmits the highest priority packets first if RETRY
acknowledges.

SPRU976 – March 2006

Serial RapidIO (SRIO)

37

Submit Documentation Feedback

Advertising