![](http://datasheet.mmic.net.cn/Exar-Corporation/XRT94L33IB-L_datasheet_100163/XRT94L33IB-L_175.png)
xr
XRT94L33
3-CHANNEL DS3/E3/STS-1 TO STS-3/STM-1 MAPPER IC DATA SHEET
Rev.1.2.0.
175
of ATM cell data, it is also sampling and latching the value of the corresponding parity bit (via the “TxUPrty”
input pin).
All sampled byte/words and their corresponding sampled parity value will be loaded into the
“TxFIFO” for further processing by the Transmit ATM Cell Processor block.
As the Transmit ATM Cell Processor block reads out the contents of the ATM cells (and corresponding parity
information) from the TxFIFO, it will route this data to the “Parity-Checker” block. The Parity Check block will
then compute the parity value of each byte or 16-bit word (of ATM cell data that is read from the TxFIFO).
Afterwards, the Parity Checker block will then compare the value of this “l(fā)ocally-computed” parity bit, with the
corresponding sampled parity value (originating from the “TxUPrty” input pin).
If the “l(fā)ocally-computed” and the “ATM Layer Processor” supplied parity values match then this byte (or 16-bit
word) of ATM cell data is deemed to be “error-free” and the parity-checker block will proceed to check and
verify the parity value of the very next byte (or 16-bit word) of ATM cell data. On the other hand, if there is a
discrepancy between the “l(fā)ocally-computed” the “ATM Layer Processor” supply parity values, then the “Parity-
Checker” block will declare a “Transmit UTOPIA Interface – Parity Error” event, and this entire ATM cell is
subject to being discarded (depending upon user configuration).
2.2.5.1
HOW THE TRANSMIT ATM CELL PROCESSOR BLOCK VERIFIES PARITY
The Transmit ATM Cell Processor block provides the user with the following parity-checking features.
To disable parity-checking altogether.
To verify odd parity
To verify even parity
To retain cells that contain parity errors
To discard cells that contain parity errors
Each of these “Transmit ATM Cell Processor” block parity options are discussed below.
2.2.5.2
ENABLING/DISABLING PARITY CHECKING WITHIN THE TRANSMIT CELL PROCESSOR BLOCK
The Transmit ATM Cell Processor block permits the user to either enable or disable the “Parity Verification” of
all bytes/words of ATM cells that have been read out of the TxFIFO. The user can accomplish this by writing
the appropriate data into Bit 5 (Parity Check Enable) within the Transmit ATM Control – Byte 0 Register; as
depicted below.
Transmit ATM Control – Byte 0 Register (Address = 0xNF03)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
HEC Byte
Invert
HEC Byte
Check
Enable
Parity Check
Enable
Discard Cell
upon Parity
Error
Odd Parity
Unused
Cell Payload
Scramble
Enable
R/W
R/O
R/W
0
X
0
Setting this bit-field to “1” configures the Transmit ATM Cell Processor block to check and verify parity of all
incoming “user” cells. Conversely, setting this bit-field to “0” disables parity checking by the Transmit ATM
Cell Processor block.
2.2.5.3
CONFIGURING THE TRANSMIT ATM CELL PROCESSOR BLOCK TO CHECK ODD OR EVEN PARITY
The Transmit ATM Cell Processor block can be configured to check and verify either even or odd parity. The
user can implement this selection by writing the appropriate value into Bit 3 (Odd Parity) within the “Transmit
ATM Control – Byte 0” Register; as depicted below.