VSC9180
Data Sheet
G52346, Revision 4.6
September 2, 2003
7 of 28
Draft 8/15/03
Timing of the INTRLV=1 modes is shown in Figure 8 and Figure 9.
Scramble and B1
The VSC9180 accepts four, STS-12/STM-4 serial channels on the TXDATA[3:0]signals when INTRLV=1. In this
mode, these four independent channels are four-way byte interleaved into a single STS-48/STM-16 channel. Setting
B1CALCEN=1 enables B1 calculation, checking and scrambling/descrambling to be performed. The four STS-12/
STM-4 channels are individually framed, descrambled and the B1 values checked (XORed) against values calculated
on the previous frame. The resulting error masks are saved for use in the interleaved STS-48/STM-16 frame.
The STS-48/STM-16 frame resulting from the interleaving process has a B1 value inserted into the unscrambled
frame, and the frame is then scrambled. After scrambling, a B1 value is calculated for use by the insertion process in
the following frame. Any errors detected in the four STS-12/STM-4 B1 comparisons are combined with the calcu-
lated STS-48/STM-16 B1 by a simply XORing the five values (4, STS-12/STM-4 error masks with 1, STS-48/STM-
16 B1 value). The scrambled STS-48/STM-16 frame, with the combined B1 value, is serialized and transmitted out
the TXOUT[A:B] signals.
When B1CALCEN=0, the four STS-12/STM-4 channels are still interleaved into an STS-48/STM-16 frame, but de-
scrambling/scrambling and B1 calculation/insertion are not performed.
Serial STS-48/STM-16 signals received on RXINA and RXINB can be four-way byte de-interleaved into four inde-
pendent STS-12/STM-4 channels when INTRLV=1. In all modes, a B1 value is calculated on an incoming STS-48/
STM-16 frame before it is descrambled. This value is stored for use in checking errors on the following frame. After
de-scrambling the B1 value of the current frame is checked against the previously stored value B1 value. The result-
ing error mask is saved for use in the de-interleaved STS-12/STM-4 frames when that mode is active. This error mask
is also used by the bit error rate monitoring logic.
When B1CALCEN=1, the descrambled STS-48/STM-16 frame is de-interleaved to create four independent STS-12/
STM-4 serial channels. Each of the four channels has a B1 value inserted into the unscrambled frames, and the frames
are then scrambled. After scrambling, a B1 value is calculated for use by the insertion process in the following frame.
If an error was detected in the STS-48/STM-16 B1 comparison, the saved error mask is combined with the calculated
B1 value of one of the four STS-12/STM-4 channels. The channel chosen to receive the STS-48/STM-16 frame error
mask is performed in a sequentially rotating fashion (round-robin) in which the next channel is chosen only if a non-
zero error mask was used. When B1CALCEN=0, the STS-48/STM-16 signal is still de-interleaved into four STS-12/
STM-4 channels but no de-scrambling/scrambling or B1 calculation/insertion is performed.
16-Bit and 4-Bit Multiplexing/Demultiplexing Modes
The VSC9180 functions as a typical STS-48/STM-16 transceiver, bit-serializing a 16-bit or 4-bit bus to a 2.488Gb/s
signal, and bit deserializing the same signal type to a parallel output bus. The BUSMODE pin indicates the width of
the data bus and whether the clocking interfaces are 622MHz or 155MHz. Operation and timing parameters for this
mode are shown in Figure 7 and Figure 9.
The transmit section of the VSC9180 uses source synchronous timing and provides an output clock TXCLK_SRC±
to an upstream device. The upstream device should use the TXCLK_SRC± output as the timing source for its final
output latch. The upstream device should then generate a TXCLK phase-aligned with the output data and provide
both to the VSC9180 input bus. TXDATA[15:0] must meet setup and hold times with respect to TXCLK±. An archi-
tectural representation of the parallel transmit interface is shown in Figure 5.