Data processor (tx_data_proc), Atlantic conversion – Altera POS-PHY Level 4 IP Core User Manual

Page 74

Advertising
background image

5–4

Chapter 5: Functional Description—Transmitter

Block Description

POS-PHY Level 4 IP Core User Guide

December 2014

Altera Corporation

As data is transmitted for a selected port, the credit-counter register is decreased. If
the credit counter ever has insufficient credits for an entire burst unit size transfer, the
scheduler switches to another port. This port cannot send again until the credits-
counter register is reloaded with the contents of the next-credits holding register.
Therefore, the MaxBurst1 and MaxBurst2 values must be greater than or equal to the
burst unit size value.

If the buffer runs out of data before the credit-counter register reaches zero, the
scheduler switches to another port. The leftover credits remain available until a new
status message causes the credit counter to be overwritten with fresh credits. The port
may be selected again before the next status update if the buffers fill again.

Both the next-credits and credits-counter tables are cleared when a loss of status sync
(LOSS) occurs, resuming to normal behavior when the LOSS is cleared.

The scheduler normally switches when the credits are exhausted or the port runs out
of data. If the scheduler switch on EOP feature is turned on, the scheduler also
switches to another port when an EOP is sent.

Data Processor (tx_data_proc)

The data processor consists of two sub-blocks.

Atlantic Conversion

This block packs the data from the Atlantic interface into SPI-4.2 format.

Normally, this block enables data to be transferred from the transmit scheduler to the
Atlantic FIFO buffer. If ignore backpressure is disabled, a satisfied status for any port
causes the enable to drop at the next burst unit size boundary and data is not
transferred. This backpressure mechanism is described in

“Shared Buffer with

Embedded Addressing” on page 5–2

.

1

The IP core cannot force insertion of control words except when the address changes
or there is insufficient data to send, regardless of the buffer type.

Control Word Insertion, DIP-4, and Training Pattern Insertion

This block inserts control words into the data path, and performs DIP-4 calculation
and insertion.

An EOP-abort condition can be generated on the SPI-4.2 interface by asserting
aN_atxerr

with a valid aN_atxeop on the Atlantic interface. This condition is the only

one for which the EOP-abort bit is set in the transmitted control word.

This block also inserts the training pattern at the interval defined by the Maximum
Training Sequence Interval

parameter (MaxT). If the status channel is receiving a

continuous framing pattern on the status channel, the IP core sends training patterns
continuously.

Advertising