Atlantic buffers, Shared buffer with embedded addressing – Altera POS-PHY Level 4 IP Core User Manual
Page 72

5–2
Chapter 5: Functional Description—Transmitter
Block Description
POS-PHY Level 4 IP Core User Guide
December 2014
Altera Corporation
Atlantic Buffers
The Atlantic FIFO buffers provide the following features:
■
Slave-sink Atlantic interface on the user side
■
Configurable buffer size
■
Multiple clock domain support
■
Overflow error indication and FIFO buffer empty indication
■
Atlantic interface error checking
■
Missing or spurious start-of-packet (SOP)/end-of-packet (EOP) detection and
correction
■
Optional overflow handling
For a complete single-PHY implementation, two modes are possible: individual
buffers with the number of ports = 1, or a shared buffer with embedded addressing
with the number of ports = 1. In the individual buffers mode, the credit-based flow-
control scheduler is included.
1
Only single-PHY applications that require the more sophisticated credit-based
scheduler should select the individual buffers mode, because the shared buffer with
embedded addressing mode has a simpler backpressure mechanism.
Shared Buffer with Embedded Addressing
When you turn on turn on Shared Buffer with Embedded Addressing, the POS-PHY
Level 4 IP core consists of a shared buffer with embedded addressing, and the
transmitter processor logic.
The shared buffer is a single Atlantic FIFO buffer, where for each data word a tag is
carried containing the port number. There is no transmit scheduler provided with this
mode; the data is simply pulled from the buffer and transmitted in the same order it
was pushed in. This means that the order in which data bursts are transmitted on the
SPI-4.2 bus is dictated by the order in which the user logic writes data to the FIFO
buffer. The user logic is responsible for scheduling the transmit data and pushing it
into the transmitter buffers so that it is SPI-4.2 compliant (including ensuring that
burst sizes are properly maintained).
The shared FIFO buffer and the logic support up to 256 ports. If the Atlantic error
checking feature is turned on, the logic for error checking supports the number of
ports chosen as a parameter. The port width field remains fixed for 256 ports, and if
packets for ports beyond the number of ports parameter are pushed into the transmit
buffer, they are transmitted but are not checked for errors. All address bits are passed
through the buffer unaffected
The shared buffer with embedded addressing mode supports two different
backpressure mechanisms.
When the ignore backpressure feature is turned on, the transmitter sends packets
whenever possible regardless of the incoming status channel. This mode assumes that
external logic is properly controlling the scheduling of ports, managing credits
(topping up to MaxBurst1 and MaxBurst2 as appropriate), and performing any other
related functions. Packets are sent whenever there are at least burst unit size bytes in
the Atlantic FIFO buffer, or an EOP.