
PM73487 QRT
PMC-Sierra, Inc.
PMC-980618
Issue 3
622 Mbps ATMTraffic Management Device
Released
Datasheet
183
9.3
Table 39 summarizes the contents of the CH_RAM.
Channel RAM (CH_RAM)
9.3.1
Channel Control Block
Base address: 400000
h
(01000000
h
byte)
Index:10
h
Entry number (refer to
“CH_RAM_CONFIG” on page 105
)
For CH_RAM_CONFIG = 0
h
, the entry number is from 0 to 2047.
For CH_RAM_CONFIG = 1
h
, the entry number is from 0 to 4095.
For CH_RAM_CONFIG = 2
h
, the entry number is from 0 to 8191.
For CH_RAM_CONFIG = 3
h
, the entry number is from 0 to 16385.
Type: Read/Write
Long address:
In the receive direction, the long address = 400000
h
+
RX_CHAN_NUM
×
10
h
+
long_offset
In the transmit direction, the long address = 400000
h
+
OUTCHAN
×
10
h
+
long_offset
.
Table 39. Channel RAM (CH_RAM) Summary
Byte
Offset
Long
Offset
Name
Read or
Write
Description
01000000
h
01000000
h
400000
h
400000
h
Channel Control Block (CCB)
Multicast Control Block
R/W
R/W
Receive and transmit per-channel control block.
Control block for transmit multicast linked lists.
Table 40. Channel Control Block Summary
Byte
Offset
Long
Offset
Name
Read or
Write
Description
0
h
0
h
RX_CH_CONFIG
R/W
Overall controls for channel.
4
h
1
h
RX_CH_TAG
R/W
Switch fabric tag.
8
h
2
h
RX_CH_NEW_VPI_VCI
R/W
VPI/VCI to which you want to translate.
C
h
3
h
RX_CH_STATE
R/W (init
only)
Current channel state.
10
h
4
h
Not used
R/W
Write with a 0 to maintain software compatibility with future versions.
14
h
5
h
RX_CH_NEXT_CH
R/W (init
only)
The next channel in the round-robin linked list.
18
h
6
h
Reserved
R/W (init
only)
Initialize to 0 at initial setup. Software modifications to this location
after setup may cause incorrect operation.
1C
h
7
h
Reserved
R/W (init
only)
Initialize to 0 at initial setup. Software modifications to this location
after setup may cause incorrect operation.
20
h
8
h
RX_CH_SEQ_ST
R/W (init
only)
State of the sequencing algorithm.
24
h
9
h
Not used
R/W
Write with a 0 to maintain software compatibility with future versions.
28
h
A
h
TX_CH_CONFIG
R/W
Overall controls for the channel.