
DS3161/DS3162/DS3163/DS3164
Register Name:
CP.TECC
Register Description:
Cell Processor Transmit Errored Cell Control Register
Register Address:
(1,3,5,7)A4h
Bit #
15
14
13
12
11
10
9
8
Name
MEIMS
TCER6
TCER5
TCER4
TCER3
TCER2
TCER1
TCER0
Default
0
Bit #
7
6
5
4
3
2
1
0
Name
TCEN7
TCEN6
TCEN5
TCEN4
TCEN3
TCEN2
TCEN1
TCEN0
Default
0
Bit 15: Manual Error Insert Mode Select (MEIMS) – When 0, the transmit manual error insertion signal (TMEI)
will not cause errors to be inserted. When 1, TMEI will causes an error to be inserted when it transitions from a 0 to
a 1. Note: Enabling TMEI does not disable error insertion using TCER[6:0] and TCEN[7:0].
Manual error insertion is available at the global level, but not on a per port basis for the cell processor.
(PORT.CR1.MEIM must be set for global error insertion to insert a packet error.)
Bits 14 to 8: Transmit Errored Cell Insertion Rate (TCER[6:0]) – These seven bits indicate the rate at which
errored cells are to be output. One out of every x * 10
y cells is to be an errored cell. TCER[3:0] is the value x, and
TCER[6:4] is the value y, which has a maximum value of 6. If TCER[3:0] has a value of 0h errored cell insertion is
disabled. If TCER[6:4] has a value of 6xh or 7xh the errored cell rate will be x * 10
6. A TCER[6:0] value of 01h
results in every cell being errored. A TCER[6:0] value of 0Fh results in every 15
th cell being errored. A TCER[6:0]
value of 11h results in every 10
th cell being errored. Errored cell insertion starts when the TECC register is written
with a TCER[3:0] value that is non-zero. If the TECC register is written to during the middle of an errored cell
insertion process, the current process is halted, and a new process will be started using the new values of
TCER[6:0] and TCEN[7:0}. Errored cell insertion ends when TCEN[7:0] errored cells have been transmitted.
TCER[3:0] - X
TCER[6:4] - Y
TCER[6:0]
ERROR RATE (x * 10
y )
0h
XXh
X0h
DISABLED
1h
0Xh
01h
1 out of 1 cells
Fh
0Xh
0Fh
1 out of 15 cells
1h
1Xh
11h
1 out of 10 cells
1h
6Xh
61h
1 out of 10
6 cells
1h
7Xh
71h
1 out of 10
6 cells
Bits 7 to 0: Transmit Errored Cell Insertion Number (TCEN[7:0]) – These eight bits indicate the total number of
errored cells to be transmitted. A value of FFh results in continuous errored cell insertion at the specified rate.