XRT7245
DS3 UNI FOR ATM
á
PRELIMINARY
REV. 1.03
274
7.4.2.1.4
Parity Checking Handling of Errored
Cell Data received from the Receive
UTOPIA Interface Block
The Receive UTOPIA Interface block will compute the
odd parity of each byte (or word) of ATM cell data it
places on the Receive UTOPIA Data bus. The Receive
UTOPIA Interface block will also output the value of
this parity bit via the RxPrty pin. The RxPrty pin will
contain the odd parity value of the byte or word that is
residing on the Receive UTOPIA Data bus.
The user has the option to configure the ATM Layer
processor hardware and or software to use this feature.
7.4.2.2
The Rx FIFO Manager has the following
responsibilities.
Monitoring the fill level of the RxFIFO, and alerting
the ATM Layer processor anytime the RxFIFO
contains cell data that needs to be read.
Detecting and discarding “Runt” cells and insuring
that the RxFIFO can resume normal operation
following the removal of the “Runt” cell.
Insuring that the RxFIFO can respond properly to
an “Overrun” condition, by generating the “RxFIFO
Overrun Condition” interrupt, discarding the result-
ing “Runt” or errored cell, and resuming proper
operation afterwards.
Generating the “RxFIFO Underrun Condition” inter-
rupt to the local μP when the RxFIFO has been
depleted of ATM cell data.
Receive UTOPIA FIFO Manager
Receive UTOPIA FIFO Manager Features and
Options
This section discusses the numerous features that
are provided by the Receive UTOPIA FIFO Manager.
Additionally, this section discusses how the user can
optimize these features to suit his/her application
needs.
The Receive UTOPIA FIFO Manager provides the
user with the following options.
Handshaking Mode (Octet Level vs Cell Level)
Resetting the Rx FIFO
Monitoring the Rx FIFO
7.4.2.2.1
Selecting the Handshaking Mode
(Octet Level vs Cell Level)
The Receive UTOPIA Interface block offers two differ-
ent data flow control modes for data transmission be-
tween the ATM Layer processor and the UNI IC.
These two modes are: “Octet-Level” Handshaking
and “Cell-Level” Handshaking; as specified by the
UTOPIA Level 2, Version 8 Specifications, and are
discussed below.
7.4.2.2.1.1
The UNI will be operating in the Cell-Level Hand-
shaking Mode following power up or reset. Therefore,
the user will have to set bit 5 (Handshake Mode) within
the UTOPIA Configuration Register to “0” in order to
configure the UNI into “Octet-Level” Handshake Mode.
The main signal that is responsible for data-flow control
between the ATM Layer processor and the Receive
UTOPIA Interface block is the RxClav output pin.
When the UNI is operating in the Octet-Level Hand-
shake mode, the Receive UTOPIA Interface block will
assert the RxClav output pin, when the Rx FIFO con-
tains at least one “read cycle’s” worth of ATM Cell
Data. In other words, if the UTOPIA Data bus width is
configured to be 16 bits wide, then the RxClav signal
will be asserted when the RxFIFO contains at least
two bytes of cell data. Likewise, if the UTOPIA Data
bus width is configured to be 8 bits wide, then the
RxClav signal will be asserted when the RxFIFO
contains at least one byte of ATM cell data. The
Receive UTOPIA Interface block will negate RxClav
when the Rx FIFO has been depleted of any data.
Therefore, the RxClav pin exhibits a role that is similar
to a “Ready Ready” indicator in RS-232 based data
transmission systems.
The ATM Layer processor is expected to monitor the
state of the RxClav pin very closely (either in a tightly
polled or interrupt driven approach). The ATM Layer
processor is also expected to respond very quickly to
the assertion of RxClav and read out the cell data in
order to avoid an “Overrun Condition” in the Rx FIFO.
Finally, the ATM Layer processor is expected to do
one of two things, whenever RxClav toggles “l(fā)ow”.
Quickly halting its reading of data from the
Receive UTOPIA data bus.
Or, “validate” each byte or word of ATM cell data
that it reads from the Receive UTOPIA Data bus,
by checking the level of the RxClav signal. In this
case, the ATM Layer processor must have the
ability to internally remove any ATM cell data
bytes or words that have been read in, after
RxClav has toggled “l(fā)ow”.
Octet-Level Handshaking
1.
2.
Figure 86 presents a timing diagram illustrating the
behavior of the RxClav pin during reads from the
Receive UTOPIA Interface block, while operating in
the Octet-Level Handshaking Mode.