
xr
XRT94L33
3-CHANNEL DS3/E3/STS-1 TO STS-3/STM-1 MAPPER IC DATA SHEET
Rev.1.2.0.
425
Receive ATM Cell – Memory Control Register (Address = 0xN713)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Unused
Extraction
Memory
RESET*
Extraction
Memory
CLAV
Insertion
Memory
RESET*
Insertion
Memory
ROOM
Insertion
Memory
Write SoC
R/O
R/W
0
0->1
0
1
0
Note:
This step should typically be performed upon power-up, prior to processing any ATM cell traffic through the
XRT94L33. This step is not necessary after the first cell has been read from the “Receive Cell Extraction
Buffer” following a power cycle to the chip.
STEP 2 – Check and see if an ATM cell exists in the “Receive Cell Extraction Buffer”
This can be accomplished by one of two approaches.
Polling approach
Interrupt-driven approach
Each of these approaches is described below.
Executing STEP 2 using the Polling Approach
The user can determine whether or not a cell is available, within the “Receive Cell Extraction Buffer” by
testing the state of Bit 3 (Extraction Memory CLAV) within the Receive ATM Cell – Memory Control Register;
as depicted below.
Receive ATM Cell – Memory Control Register (Address = 0xN713)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Unused
Extraction
Memory
RESET*
Extraction
Memory
CLAV
Insertion
Memory
RESET*
Insertion
Memory
ROOM
Insertion
Memory
Write SoC
R/O
R/W
0
1
X
1
0
If Bit 3 is set to “1”, then the “Receive Cell Extraction Buffer” contains an ATM cell that needs to be read. At
this point, the user should proceed on to STEP 3.
Conversely, if Bit 3 is set to “0”, then the “Receive Cell Extraction Buffer” does not contain an ATM cell that
needs to be read. At this point, the Microprocessor Interface should continue to poll the state of this bit-field
and wait until this bit-field toggles to “1”.
Executing STEP 2 using the Interrupt-Driven Approach
In order to reduce or eliminate the Microprocessor Overhead of continuously polling the state of Bit 3, the user
can use the “Receive Cell Extraction” Interrupt feature, within the chip. If the Microprocessor invokes this
feature, then the XRT94L33 will generate an interrupt anytime a new cell has been received and loaded into
the “Receive Cell Extraction Buffer”.
The user can enable the “Cell Extraction” Interrupt by setting Bit 5 (Cell Extraction Interrupt Enable), within the
“Receive ATM Cell Processor – Interrupt Enable” Register to “1” as indicated below.