Download ATOM1 : MPC860 ATM Microcode User`s Manual
Transcript
Initial Entry Point HUNT 4 Byte by 4 Byte Search for Correct HEC Alpha (7) Consecutive Incorrect HECs Restart Reception Command Single Correct HEC Single Incorrect HEC SYNCH Cell by Cell Verification of HECs PRESYNC Restart Reception Command Cell by Cell Search for Correct HECs Delta (6) Consecutive Correct HECs Figure 18. Cell Delineation State Diagram I.432 specifies that the hunt state searches for a correct HEC on a bit-by-bit basis but ATOM1 uses a word by word search. For G.804 framing of ATM cells, the HEC field is always aligned with the E1 or T1 frame octet timeslots so bit-by-bit searching is not required. To ease implementation, this was taken a stage further and ATOM1 uses a word by word search. Over the course of four cells received (212 bytes) with correct HECs, there will be one matching and aligned HEC. This is the point where the state machine jumps to the presync state. In the presync state, ATOM1 has detected cell boundaries and is verifying that they are correct. ATOM1 leaves the presync state after a single cell with an incorrect HEC is received or the Restart Reception command is given. When six consecutive cells with valid HECs are received, ATOM1 jumps to the sync state and begins reception. The state machine advances immediately after reception of the sixth correct HEC and is not delayed until the end of the cell. This means that five cells with valid HECs are discarded and the sixth is received into a data buffer. In the synch state, ATOM1 receives data and control cells and discards incoming empty cells. When a stream of cells with incorrect HECs are received, the first six consecutive cells are received and on reception of the seventh incorrect HEC, ATOM1 immediately jumps to the hunt state and does nor receive the cell with the seventh incorrect HEC. ATOM1 also jumps to the hunt state after the Restart Reception command. When cell payload scrambling is enabled, the descrambler will self-synchronise with the incoming data after 43 bits. Hence, after starting the receiver, the descrambler will attain synchronisation during reception of the first cell in the presync state. MPC860 ATOM1 User’s Manual 1.0 -35- No Restriction on Circulation