PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PM7341 S/UNI-IMA-84 S/UNI INVERSE MULTIPLEXING FOR ATM, 84 LINKS DATASHEET PROPRIETARY AND CONFIDENTIAL PRELIMINARY ISSUE 4: JULY 2001 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE iii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REVISION HISTORY Issue No. Issue Date Details of Change 1 February, 2000 Creation of Document. 2 March, 2000 3 February, 2001 4 July, 2001 Added details in Register Section, Functional Description, Operations and D.C. characteristics. Added details in interrupt reporting structure, SBI async/sync support clarified. Increased number of TADR pins to 11 for glueless interconnect to the S/UNIAPEX. Rearranged IMA context and configuration tables. Added capability to add/delete delay from active groups. Additional detailed added. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE iv PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM CONTENTS 1 DEFINITIONS ........................................................................................ 23 2 FEATURES ............................................................................................ 25 3 APPLICATIONS ..................................................................................... 31 4 REFERENCES....................................................................................... 32 5 APPLICATION EXAMPLES ................................................................... 33 5.1 ATM MULTISERVICE SWITCH IMA / UNI PORT CARD............. 33 5.2 ATM MULTISERVICE SWITCH, ANY SERVICE ANY PORT CARD .................................................................................................... 33 6 BLOCK DIAGRAM ................................................................................. 35 7 DESCRIPTION....................................................................................... 36 8 PIN DIAGRAM ....................................................................................... 39 9 PIN DESCRIPTION................................................................................ 41 9.1 RECEIVE SLAVE ATM INTERFACE (ANY-PHY MODE) (28 SIGNALS).................................................................................... 41 9.2 RECEIVE SLAVE ATM INTERFACE (UTOPIA L2 MODE) (26 SIGNALS).................................................................................... 44 9.3 TRANSMIT SLAVE INTERFACE (ANY-PHY MODE) (34 SIGNALS)46 9.4 TRANSMIT SLAVE INTERFACE (UTOPIA L2 MODE) (26 SIGNALS).................................................................................... 49 9.5 MICROPROCESSOR INTERFACE (31 SIGNALS)..................... 51 9.6 SDRAM I/F (35 SIGNALS) .......................................................... 53 9.7 CLK/DATA (129 SIGNALS).......................................................... 56 9.8 SBI INTERFACE SIGNALS (27).................................................. 60 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE v PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 9.9 GENERAL (5 SIGNALS) ............................................................. 65 9.10 JTAG & SCAN INTERFACE (7 SIGNALS) .................................. 67 9.11 POWER (120 SIGNALS) ............................................................. 68 FUNCTIONAL DESCRIPTION............................................................... 71 10.1 ANY-PHY/UTOPIA INTERFACES ............................................... 71 10.1.1 TRANSMIT ANY-PHY/UTOPIA SLAVE (TXAPS).............. 72 10.1.2 RECEIVE ANY-PHY/UTOPIA SLAVE (RXAPS)................ 75 10.1.3 SUMMARY OF ANY-PHY/UTOPIA MODES ..................... 79 10.1.4 ANY-PHY/UTOPIA LOOPBACK ....................................... 81 10.2 IMA SUB-LAYER ......................................................................... 81 10.2.1 OVERVIEW ...................................................................... 81 10.2.2 IDCC SCHEDULER.......................................................... 82 10.2.3 TRANSMIT IMA PROCESSOR (TIMA) ............................ 83 10.2.4 RECEIVE IMA DATA PROCESSOR (RDAT) .................... 87 10.2.5 RECEIVE IMA PROTOCOL PROCESSOR (RIPP) ........ 100 10.2.6 SUPPORT OF IMA TEST PATTERN PROCEDURE ....... 111 10.2.7 SUPPORT OF SYMMETRIC/ASYMMETRIC OPERATION MODES ........................................................................... 111 10.2.8 SUPPORT OF DIFFERENT IMA VERSIONS.................. 111 10.2.9 SDRAM INTERFACE.......................................................112 10.3 LINK FIFOS................................................................................115 10.4 TC LAYER ..................................................................................115 10.4.1 TX TC LAYER (TTTC) .....................................................115 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE vi PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 10.4.2 RX TC LAYER (RTTC).....................................................116 10.5 LINE SIDE PHYSICAL LAYER ...................................................118 10.5.1 TX CLOCK/DATA (TCAS) ................................................118 10.5.2 TX NULL FRAMER (SDFR84).........................................119 10.5.3 INSERT SCALEABLE BANDWIDTH INTERCONNECT (INSBI).............................................................................119 10.5.4 EXTRACT SCALEABLE BANDWIDTH INTERCONNECT (EXSBI)............................................................................119 10.5.5 RX DEFRAMER (SDDF84) ............................................ 120 10.5.6 RX CLOCK/DATA (RCAS) .............................................. 120 10.6 MICROPROCESSOR INTERFACE .......................................... 121 10.6.1 MAPPING AND LINK IDENTIFICATION......................... 121 10.6.2 INTERRUPT DRIVEN ERROR/STATUS REPORTING .. 123 10.6.3 REGISTERS................................................................... 124 11 NORMAL MODE REGISTER DESCRIPTION ..................................... 131 11.1 GLOBAL REGISTERS .............................................................. 132 11.2 MASTER INTERRUPT REGISTERS ........................................ 137 11.3 UTOPIA INTERFACE REGISTERS .......................................... 147 11.4 SDRAM REGISTERS................................................................ 156 11.5 TC LAYER REGISTERS ........................................................... 166 11.6 SBI REGISTERS....................................................................... 177 11.7 LINE CLOCK/DATA INTERFACE .............................................. 203 11.8 RIPP REGISTERS .................................................................... 217 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE vii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 11.9 INVERSE MULTIPLEXING OVER ATM RDAT REGISTERS ................................................................... 292 11.10 TIMA REGISTERS .................................................................... 325 11.11 TX IDCC REGISTERS .............................................................. 341 11.12 RX IDCC REGISTERS .............................................................. 347 12 OPERATION ........................................................................................ 351 12.1 HARDWARE CONFIGURATION............................................... 351 12.2 START-UP ................................................................................. 351 12.3 CONFIGURING THE S/UNI-IMA-84.......................................... 352 12.3.1 CONFIGURING SBI INTERFACE .................................. 352 12.3.2 CONFIGURING CLOCK/DATA INTERFACE .................. 354 12.3.3 CONFIGURING TC LAYER OPTIONS ........................... 356 12.3.4 UTOPIA INTERFACE CONFIGURATION....................... 357 12.4 IMA_LAYER CONFIGURATION................................................ 358 12.4.1 INDIRECT ACCESS TO INTERNAL MEMORY TABLES 358 12.4.2 CONFIGURING LINKS FOR TRANSMISSION CONVERGENCE OPERATIONS ................................... 359 12.4.3 CONFIGURING FOR IMA OPERATIONS ...................... 361 12.5 IMA OPERATIONS .................................................................... 365 12.5.1 ISSUING A RIPP COMMAND......................................... 365 12.5.2 SUMMARY OF RIPP COMMANDS ................................ 366 12.5.3 ADDING A GROUP......................................................... 371 12.5.4 DELETING A GROUP..................................................... 372 12.5.5 RESTART GROUP ......................................................... 372 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE viii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 12.5.6 INHIBIT GROUP/NOT INHIBIT GROUP......................... 373 12.5.7 ADDING A LINK OR LINKS TO AN EXISTING GROUP (START LASR) ............................................................... 373 12.5.8 REPORTING LINK DEFECTS IN THE ICP CELL .......... 374 12.5.9 FAULTING/INHIBITING LINKS ...................................... 374 12.5.10 CHANGE TRL............................................................ 374 12.5.11 DELETING A LINK FROM A GROUP......................... 375 12.5.12 TEST PATTERN PROCEDURES .............................. 375 12.5.13 IMA EVENTS ............................................................. 375 12.5.14 END-TO-END CHANNEL COMMUNICATION........... 376 12.6 DIAGNOSTIC FEATURES ........................................................ 376 12.6.1 ICP CELL TRACE........................................................... 376 12.6.2 SDRAM DIAGNOSTIC ACCESS .................................... 377 12.7 13 IMA PERFORMANCE PARAMETERS AND FAILURE ALARMS SUPPORT ................................................................................. 378 FUNCTIONAL TIMING......................................................................... 382 13.1 SBI DROP BUS INTERFACE TIMING ...................................... 382 13.2 SBI ADD BUS INTERFACE TIMING ......................................... 383 13.3 RECEIVE LINK INPUT TIMING................................................. 384 13.4 TRANSMIT LINK OUTPUT TIMING .......................................... 385 13.5 ANY-PHY/UTOPIA L2 INTERFACES ........................................ 388 13.5.1 UTOPIA L2 TRANSMIT SLAVE INTERFACE ................. 388 13.5.2 ANY-PHY TRANSMIT SLAVE INTERFACE.................... 389 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE ix PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 13.5.3 UTOPIA L2 MULTI-PHY RECEIVE SLAVE INTERFACE 390 13.5.4 UTOPIA L2 SINGLE-PHY RECEIVE SLAVE INTERFACE 391 13.5.5 ANY-PHY RECEIVE SLAVE INTERFACE ...................... 392 13.6 SDRAM INTERFACE ................................................................ 392 14 ABSOLUTE MAXIMUM RATINGS ....................................................... 397 15 D. C. CHARACTERISTICS .................................................................. 398 16 A.C. TIMING CHARACTERISTICS...................................................... 401 16.1 MICROPROCESSOR INTERFACE TIMING CHARACTERISTICS .................................................................................................. 401 16.2 SYNCHRONOUS I/O TIMING................................................... 405 16.3 SBI TIMING ............................................................................... 409 16.4 JTAG TIMING ............................................................................ 412 17 ORDERING AND THERMAL INFORMATION...................................... 414 18 MECHANICAL INFORMATION ............................................................ 415 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE x PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM LIST OF FIGURES FIGURE 1 - ATM EDGE SWITCH IMA AND UNI PORT CARD EXAMPLE ..... 33 FIGURE 2 - ATM MULTISERVICE SWITCH, ANY SERVICE ANY PORT CARD EXAMPLE 34 FIGURE 3 - S/UNI-IMA-84 BLOCK DIAGRAM................................................ 35 FIGURE 4 - S/UNI-IMA PINOUT (BOTTOM VIEW)......................................... 40 FIGURE 5 - 16-BIT TRANSMIT CELL TRANSFER FORMAT ......................... 74 FIGURE 6 - 8-BIT TRANSMIT CELL TRANSFER FORMAT ........................... 74 FIGURE 7 - 16-BIT RECEIVE CELL TRANSFER FORMAT............................ 78 FIGURE 8 - 8-BIT RECEIVE CELL TRANSFER FORMAT.............................. 78 FIGURE 9 - INVERSE MULTIPLEXING .......................................................... 82 FIGURE 10- MAX DIFFERENTIAL DELAY TOLERANCE VS. SDRAM SIZE .. 88 FIGURE 11 - IFSM STATE MACHINE............................................................... 89 FIGURE 12- STUFF EVENT WITH ERRORED ICP (ADVANCED INDICATION) 91 FIGURE 13- INVALID STUFF SEQUENCE (ADVANCED INDICATION) ......... 91 FIGURE 14- ERRORED/INVALID ICP CELLS IN PROXIMITY TO A STUFF EVENT 92 FIGURE 15- SNAPSHOT OF DCB BUFFERS ................................................. 93 FIGURE 16- SNAPSHOT OF DCB BUFFERS AFTER ADDITION OF LINK WITH SMALLER TRANSPORT DELAY...................................................................... 94 FIGURE 17- SNAPSHOT OF DCB BUFFERS WHEN TRYING TO ADD LINK WITH LARGER TRANSPORT DELAY.............................................................. 95 FIGURE 18- SNAPSHOT OF DCB BUFFERS AFTER DELAY ADJUSTMENT 96 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xi PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM FIGURE 19- SNAPSHOT OF DCB BUFFERS AFTER DELETION OF LINKS FROM GROUP 97 FIGURE 20- IMA ERROR/MAINTENANCE STATE DIAGRAM ........................ 98 FIGURE 21- CELL STORAGE MAP................................................................112 FIGURE 22- 2 MBYTE ....................................................................................113 FIGURE 23- 8 MBYTE ....................................................................................114 FIGURE 24- CELL DELINEATION STATE DIAGRAM.....................................117 FIGURE 25-BURST RAM FORMAT ............................................................... 161 FIGURE 26- SBI DROP BUS T1/E1 FUNCTIONAL TIMING.......................... 382 FIGURE 27- SBI DROP BUS DS3 FUNCTIONAL TIMING ............................ 382 FIGURE 28- SBI ADD BUS ADJUSTMENT REQUEST FUNCTIONAL TIMING 383 FIGURE 29- UNCHANNELIZED RECEIVE LINK TIMING ............................. 384 FIGURE 30- CHANNELIZED T1 RECEIVE LINK TIMING ............................. 385 FIGURE 31- CHANNELIZED E1 RECEIVE LINK TIMING ............................. 385 FIGURE 32- UNCHANNELIZED TRANSMIT LINK TIMING........................... 386 FIGURE 33- CHANNELIZED T1 TRANSMIT LINK TIMING W/ CLOCK GAPPED LOW 386 FIGURE 34- CHANNELIZED T1 TRANSMIT LINK TIMING W/ CLOCK GAPPED HIGH 387 FIGURE 35- CHANNELIZED E1 TRANSMIT LINK TIMING W/ CLOCK GAPPED LOW 387 FIGURE 36- CHANNELIZED E1 TRANSMIT LINK TIMING W/ CLOCK GAPPED HIGH 387 FIGURE 37- UTOPIA L2 TRANSMIT SLAVE ................................................. 389 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM FIGURE 38- ANY-PHY TRANSMIT SLAVE .................................................... 390 FIGURE 39- UTOPIA L2 MULTI-PHY RECEIVE SLAVE ................................ 391 FIGURE 40- UTOPIA L2 SINGLE-PHY RECEIVE SLAVE ............................. 391 FIGURE 41- ANY-PHY RECEIVE SLAVE ...................................................... 392 FIGURE 42- SDRAM READ TIMING ............................................................. 393 FIGURE 43- SDRAM WRITE TIMING ............................................................ 394 FIGURE 44- SDRAM REFRESH.................................................................... 395 FIGURE 45- POWER UP AND INITIALIZATION SEQUENCE ....................... 396 FIGURE 46- MICROPROCESSOR INTERFACE READ TIMING................... 402 FIGURE 47- MICROPROCESSOR INTERFACE WRITE TIMING ................. 404 FIGURE 48- RSTB TIMING............................................................................ 405 FIGURE 49- SYNCHRONOUS I/O TIMING ................................................... 405 FIGURE 50- SBI FRAME PULSE TIMING ..................................................... 409 FIGURE 51- SBI DROP BUS TIMING ............................................................ 410 FIGURE 52- SBI ADD BUS TIMING................................................................411 FIGURE 53- SBI ADD BUS COLLISION AVOIDANCE TIMING ......................411 FIGURE 54- JTAG PORT INTERFACE TIMING............................................. 413 FIGURE 55- 416 PIN PBGA –27X27 MM BODY – (P SUFFIX) ..................... 415 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xiii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM LIST OF TABLES TABLE 1 TERMINOLOGY............................................................................. 23 TABLE 2 UTOPIA L2 AND ANY-PHY COMPARISON ................................... 76 TABLE 3 PM COMMAND DESCRIPTION .................................................. 101 TABLE 4 REGISTER MEMORY MAP ......................................................... 125 TABLE 5 CONFIGURATION MEMORY ADDRESS SPACE ....................... 218 TABLE 6 CONTEXT MEMORY ADDRESS SPACE .................................... 219 TABLE 7 RIPP GROUP CONFIGURATION RECORD STRUCTURE ........ 221 TABLE 8 RX PHYSICAL LINK TABLE ........................................................ 229 TABLE 9 RIPP TX LINK CONFIGURATION RECORD STRUCTURE ........ 230 TABLE 10 RIPP RX LINK CONFIGURATION RECORD STRUCTURE........ 232 TABLE 11 RIPP GROUP CONTEXT RECORD STRUCTURE ..................... 234 TABLE 12 RIPP TX LINK CONTEXT RECORD STRUCTURE..................... 249 TABLE 13 RIPP RX LINK CONTEXT RECORD STRUCTURE .................... 253 TABLE 14 COMMAND REGISTER ENCODING........................................... 271 TABLE 15 COMMAND DATA REGISTER ARRAY FORMAT ........................ 282 TABLE 16 GROUP ERROR/STATUS BIT MAPPING ................................... 284 TABLE 17 LINK EVENT INTERRUPT BIT MAPPING................................... 286 TABLE 18 LINK STATUS BIT MAPPING ...................................................... 288 TABLE 19 RECEIVE ICP CELL BUFFER STRUCTURE .............................. 290 TABLE 20 RDAT LINK STATISTICS RECORD (IMA) ................................... 297 TABLE 21 RDAT LINK STATISTICS RECORD (TC)..................................... 298 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xiv PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM TABLE 22 RDAT IMA GROUP STATISTICS RECORD................................. 299 TABLE 23 RDAT TC LINK STATISTICS RECORD ....................................... 300 TABLE 24 RDAT VALIDATION RECORD ..................................................... 301 TABLE 25 RDAT LINK CONTEXT RECORD ................................................ 304 TABLE 26 RDAT LINK MESSAGE STATUS RECORD................................. 309 TABLE 27 RECEIVE ICP CELL BUFFER STRUCTURE .............................. 310 TABLE 28 RDAT IMA GROUP CONTEXT RECORD.................................... 312 TABLE 29 RDAT TC LINK CONTEXT RECORD .......................................... 314 TABLE 30 RECEIVE ATM CONGESTION COUNT REGISTER ................... 315 TABLE 31 TRANSMIT IMA GROUP CONTEXT RECORD ........................... 330 TABLE 32 TRANSMIT IMA GROUP CONFIGURATION TABLE RECORD .... 333 TABLE 33 TRANSMIT LID TO PHYSICAL LINK MAPPING TABLE ............. 335 TABLE 34 TIMA PHYSICAL LINK CONTEXT RECORD............................... 336 TABLE 35 REFCLK/SYSCLK FREQUENCY REQUIREMENT ..................... 356 TABLE 36 IMA PERFORMANCE PARAMETER SUPPORT......................... 378 TABLE 37 IMA FAILURE ALARM SUPPORT................................................ 379 TABLE 38 ABSOLUTE MAXIMUM RATINGS ............................................... 397 TABLE 39 D.C. CHARACTERISTICS ........................................................... 398 TABLE 40 MICROPROCESSOR INTERFACE READ ACCESS................... 401 TABLE 41 MICROPROCESSOR INTERFACE WRITE ACCESS ................. 403 TABLE 42 RTSB TIMING .............................................................................. 404 TABLE 43 SYSCLK AND REFCLK TIMING .................................................. 405 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xv PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM TABLE 44 CELL BUFFER SDRAM INTERFACE .......................................... 406 TABLE 45 ANY-PHY/UTOPIA TRANSMIT INTERFACE ............................... 406 TABLE 46 ANY-PHY/UTOPIA RECEIVE INTERFACE.................................. 407 TABLE 47 SERIAL LINK INPUT.................................................................... 407 TABLE 48 SERIAL LINK OUTPUT................................................................ 408 TABLE 49 SBI FRAME PULSE TIMING ....................................................... 409 TABLE 50 SBI DROP BUS TIMING .............................................................. 409 TABLE 51 SBI ADD BUS .............................................................................. 410 TABLE 52 JTAG PORT INTERFACE ............................................................ 412 TABLE 53 ORDERING AND THERMAL INFORMATION.............................. 414 TABLE 54 THERMAL INFORMATION - THETA JA VS. AIRFLOW ............... 414 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xvi PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM LIST OF REGISTERS REGISTER 0X000: GLOBAL RESET ............................................................. 132 REGISTER 0X002: GLOBAL CONFIGURATION ........................................... 133 REGISTER 0X004: JTAG ID (MSB)................................................................ 135 REGISTER 0X006: JTAG ID (LSB)................................................................. 136 REGISTER 0X008: MASTER INTERRUPT REGISTER................................. 137 REGISTER 0X00A: MISCELLANEOUS INTERRUPT REGISTER................. 140 REGISTER 0X00C: RECEIVE TC INTERRUPT FIFO.................................... 142 REGISTER 0X010: MASTER INTERRUPT ENABLE REGISTER ................. 144 REGISTER 0X012: MISCELLANEOUS INTERRUPT ENABLE REGISTER .. 145 REGISTER 0X014: TC INTERRUPT ENABLE REGISTER............................ 146 REGISTER 0X020: TRANSMIT ANY-PHY/UTOPIA CELL AVAILABLE ENABLE 147 REGISTER 0X022: RECEIVE UTOPIA CELL AVAILABLE ENABLE .............. 148 REGISTER 0X024: RECEIVE ANY-PHY/UTOPIA CONFIG REG (RXAPS_CFG) 149 REGISTER 0X026: TRANSMIT ANY-PHY/UTOPIA CONFIG REG (TXAPS_CFG)151 REGISTER 0X028: TRANSMIT ANY-PHY ADDRESS CONFIG REGISTER (TXAPS_ADD_CFG) ...................................................................................... 153 REGISTER 0X040: SDRAM CONFIGURATION ............................................ 156 REGISTER 0X042 SDRAM DIAGNOSTICS................................................... 157 REGISTER 0X044: SDRAM DIAG BURST RAM INDIRECT ACCESS .......... 158 REGISTER 0X046: SDRAM DIAG INDIRECT BURST RAM DATA LSB ........ 159 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xvii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REGISTER 0X048: SDRAM DIAG INDIRECT BURST RAM DATA MSB ....... 160 REGISTER 0X04A: SDRAM DIAG WRITE CMD 1 ........................................ 162 REGISTER 0X04C: SDRAM DIAG WRITE CMD 2 ........................................ 163 REGISTER 0X04E: SDRAM DIAG READ CMD 1 .......................................... 164 REGISTER 0X050: SDRAM DIAG READ CMD 2 .......................................... 165 REGISTER 0X060: TTTC INDIRECT LINK CONTROL REGISTER............... 166 REGISTER 0X062: TTTC INDIRECT LINK CONFIGURATION REGISTER .. 168 REGISTER 0X070: RTTC INDIRECT LINK CONTROL REGISTER .............. 169 REGISTER 0X072: RTTC INDIRECT LINK CONFIGURATION REGISTER .. 171 REGISTER 0X074: RTTC INDIRECT LINK INTERRUPT AND STATUS REGISTER 173 REGISTER 0X076: RTTC INDIRECT LINK HCS ERROR COUNT REGISTER 175 REGISTER 0X078: LCD COUNT THRESHOLD ............................................ 176 REGISTER 0X080: SBI BUS CONFIGURATION REGISTER (SBI_BUS_CFG_REG) ................................................................................... 177 REGISTER 0X084-0X08E: SBI EXTRACT ALARM INTERRUPT REGISTER 179 REGISTER 0X090-0X09A: SBI EXTRACT ALARM STATUS REGISTER...... 180 REGISTER 0X0A0: SBI EXTRACT CONTROL REGISTER........................... 181 REGISTER 0X0A2: SBI EXTRACT FIFO UNDERRUN INTERRUPT REGISTER 183 REGISTER 0X0A4: SBI EXTRACT FIFO OVERRUN INTERRUPT REGISTER 184 REGISTER 0X0A6: SBI EXTRACT TRIBUTARY CONTROL RAM INDIRECT ACCESS ADDRESS REGISTER.................................................................... 185 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xviii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REGISTER 0X0A8: SBI EXTRACT TRIBUTARY CONTROL RAM INDIRECT ACCESS CONTROL REGISTER ................................................................... 186 REGISTER 0X0AC: SBI EXTRACT TRIBUTARY CONTROL RAM INDIRECT ACCESS DATA REGISTER ............................................................................ 187 REGISTER 0X0AE: SBI EXTRACT PARITY ERROR INTERRUPT REGISTER 188 REGISTER 0X0BC: SBI EXTRACT DEPTH CHECK INTERRUPT REGISTER 189 REGISTER 0X0BE: SBI EXTRACT MASTER INTERRUPT REGISTER ....... 190 REGISTER 0X0C0: SBI INSERT CONTROL REGISTER .............................. 192 REGISTER 0X0C2: SBI INSERT FIFO UNDERRUN INTERRUPT REGISTER 194 REGISTER 0X0C4: SBI INSERT FIFO OVERRUN INTERRUPT REGISTER 195 REGISTER 0X0C6: SBI INSERT TRIBUTARY CONTROL RAM INDIRECT ACCESS ADDRESS REGISTER.................................................................... 196 REGISTER 0X0C8: SBI INSERT TRIBUTARY CONTROL RAM INDIRECT ACCESS CONTROL REGISTER ................................................................... 197 REGISTER 0X0CC: SBI INSERT TRIBUTARY CONTROL RAM INDIRECT ACCESS DATA REGISTER ............................................................................ 198 REGISTER 0X0E2: SBI INSERT DEPTH CHECK INTERRUPT REGISTER. 200 REGISTER 0X0E4: SBI INSERT MASTER INTERRUPT REGISTER ........... 201 REGISTER 0X100: RCAS INDIRECT LINK AND TIME-SLOT CONTROL REGISTER 203 REGISTER 0X102: RCAS INDIRECT LINK DATA REGISTER ...................... 205 REGISTER 0X104: RCAS FRAMING BIT THRESHOLD ............................... 207 REGISTER 0X106: RCAS LINK DISABLE ..................................................... 208 REGISTER 0X140- 0X17E: RCAS LINK #0 TO LINK #31 CONFIGURATION209 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xix PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REGISTER 0X180: TCAS INDIRECT LINK AND TIME-SLOT CONTROL REGISTER 210 REGISTER 0X182: TCAS INDIRECT LINK DATA REGISTER....................... 212 REGISTER 0X184: TCAS FRAMING BIT THRESHOLD................................ 213 REGISTER 0X186: TCAS IDLE TIME-SLOT FILL DATA................................ 214 REGISTER 0X188: TCAS LINK DISABLE REGISTER .................................. 215 REGISTER 0X1C0 – 0X1FE: TCAS LINK #0 TO LINK #31 CONFIGURATION 216 REGISTER 0X200:RIPP CONTROL .............................................................. 217 REGISTER 0X202:RIPP INDIRECT MEMORY ACCESS CONTROL ............ 218 REGISTER 0X204 – 0X206:RIPP INDIRECT MEMORY DATA REGISTER ARRAY 220 REGISTER 0X20C: RIPP TIMER TICK CONFIGURATION REGISTER ........ 261 REGISTER 0X20E: GROUP TIMEOUT REGISTER #1 ................................. 262 REGISTER 0X210: GROUP TIMEOUT REGISTER #2 .................................. 263 REGISTER 0X212: TX LINK TIMEOUT REGISTER ...................................... 264 REGISTER 0X214: RX LINK TIMEOUT REGISTER ...................................... 265 REGISTER 0X216: RIPP INTERRUPT FIFO ................................................. 266 REGISTER 0X218:RIPP GROUP INTERRUPT ENABLE REGISTER ........... 267 REGISTER 0X21A:RIPP TX LINK INTERRUPT ENABLE REGISTER .......... 268 REGISTER 0X21C:RIPP RX LINK INTERRUPT ENABLE REGISTER.......... 269 REGISTER 0X220-22C: RIPP COMMAND REGISTER ................................. 270 REGISTER 0X22E: COMMAND READ DATA CONTROL REGISTER........... 276 REGISTER 0X230: ICP CELL FORWARDING STATUS REGISTER ............. 277 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xx PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REGISTER 0X232: ICP CELL FORWARDING CONTROL REGISTER ......... 278 REGISTER 0X240- 0X2BE:RIPP COMMAND DATA REGISTER ARRAY...... 279 REGISTER 0X2C0- 0X2FE: FORWARDING ICP CELL BUFFER.................. 289 REGISTER 0X300: RDAT INDIRECT MEMORY COMMAND ........................ 292 REGISTER 0X302: RDAT INDIRECT MEMORY ADDRESS .......................... 294 REGISTER 0X304: RDAT INDIRECT MEMORY DATA LSB .......................... 295 REGISTER 0X306: RDAT INDIRECT MEMORY DATA MSB ......................... 296 REGISTER 0X308: RDAT CONFIGURATION ................................................ 316 REGISTER 0X30A: RECEIVE ATM CONGESTION INTERRUPT LSB.......... 318 REGISTER 0X30C: RECEIVE ATM CONGESTION INTERRUPT MSB......... 319 REGISTER 0X30E: RECEIVE TC LINK FIFO OVERRUN INTERRUPT REGISTER 320 REGISTER 0X310: RDAT MASTER INTERRUPT REGISTER ...................... 321 REGISTER 0X312: RECEIVE ATM CONGESTION INTERRUPT ENABLE LSB 322 REGISTER 0X314: RECEIVE ATM CONGESTION INTERRUPT ENABLE MSB 323 REGISTER 0X316: RDAT MASTER INTERRUPT ENABLE .......................... 324 REGISTER 0X320: TIMA INDIRECT MEMORY COMMAND ......................... 325 REGISTER 0X322: TIMA INDIRECT MEMORY ADDRESS ........................... 327 REGISTER 0X324: TIMA INDIRECT MEMORY DATA LSB............................ 328 REGISTER 0X326: TIMA INDIRECT MEMORY DATA MSB........................... 329 REGISTER 0X328-0X332 TRANSMIT LINK FIFO OVERRUN INTERRUPT REGISTER 339 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xxi PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REGISTER 0X336 INTERRUPT ENABLE...................................................... 340 REGISTER 0X340: TXIDCC INDIRECT LINK CONTROL REGISTER........... 341 REGISTER 0X342: TXIDCC INDIRECT LINK DATA REGISTER ................... 343 REGISTER 0X350: RXIDCC INDIRECT LINK CONTROL REGISTER .......... 347 REGISTER 0X352: RXIDCC INDIRECT LINK DATA REGISTER................... 349 REGISTER 0X366: DLL STATUS REGISTER................................................ 350 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE xxii PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 1 ISSUE 4 INVERSE MULTIPLEXING OVER ATM DEFINITIONS Table 1 Terminology Term Definition Any-PHY Interoperable version of UTOPIA and UTOPIA L2, with inband addressing. ATM Asynchronous Transfer Mode CDV Cell Delay Variation CTC Common Transmit Clock DLL Delay Locked Loop ECBI Enhanced Common Bus Interface (asynchronous register bus and interface) EXSBI Extract Scalable Bandwidth Interconnect FIFO First-In-First-Out Framed Framing information available – may be channelized or unchannelized. HEC Header Error Check HCS Header Check Sequence ICP IMA Control Protocol Cell IDCC IMA Data Cell Clock IDCR IMA Data Cell Rate IFSN IMA Frame Sequence Number IMA Inverse Multiplexing for ATM INSBI Insert Scalable Bandwidth Interconnect ITC Independent Transmit Clock LCD Loss of Cell Delineation LID Link ID LSI Link Stuff Indication MIB Management Information Base PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 23 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM MCFD Multi-Channel Cell Based FIFO OAM Operation, Administration and Maintenance OCD Out of Cell Delineation PISO Parallel in Serial Out PM Plane Management (Microprocessor) RCAS Receive Channel Assigner RDAT RX IMA Data Processor RIPP RX IMA Protocol Processor RMTS RX Master TX Slave SBI Scalable Bandwidth Interconnect SIPO Serial in Parallel Out SPE Synchronous Payload Envelope TC Transmission Convergence TCAS Transmit Channel Assigner TDM Time Division Multiplexing TRL Timing Reference Link TRLCR TRL Cell Rate TSB Telecom Systems Block TC Transmission Convergence TIMA TX IMA Processor Unframed No framing information available UTOPIA Universal Test & Operations PHY Interface for ATM PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 24 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 2 ISSUE 4 INVERSE MULTIPLEXING OVER ATM FEATURES The PM7341 S/UNI-IMA-84 is a monolithic integrated circuit that implements the ATM Forum Inverse Multiplexing for ATM (IMA 1.1) protocol with backward compatibility to IMA 1.0 and the Transmission Convergence (TC) layer function. The S/UNI-IMA-84 has two line side interface modes that determine the total number of physical links supported: the Scalable Bandwidth Interconnect (SBI) bus interface mode and the Clock and Data interface mode. In SBI mode, the S/UNI-IMA-84 supports up to 84 T1, 63 E1 or 3 DS3 (TC only) physical links where each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, ATM over T1/E1 or up to three ATM over DS3 streams (using HEC delineation). In Clock and Data mode, the S/UNI-IMA-84 supports 32 independent T1, E1 or unchannelized physical links. Each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, or ATM HEC cell delineation. ATM over fractional T1/E1 is also supported. Unchannelized links may be used to support applications such as G.SHDSL. Standards Supported • ATM Forum Inverse Multiplexing for ATM Specification Version 1.1, March 1999 • ATM Forum Inverse Multiplexing for ATM Specification Version 1.0 – supports the method of reporting Rx cell information as in Appendix C.8 of the ATM Forum Inverse Multiplexing for ATM Specification Version 1.1 for symmetrical configurations with M=128. • I.432-1 B-ISDN user network interface – Physical Layer specification: General characteristics • I.432-3 B-ISDN user network interface – Physical Layer specification: 1544 kbps and 2048 kbps operation • DS3 Physical Layer Interface Specification, af-phy-0054.000 January, 1996 • ATM on Fractional E1/T1, af-phy-0130.00 October, 1999. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 25 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM IMA Features • IMA 1.1 protocol including group and link state machines implemented by onchip hardware. • All ICP cell processing is performed internally by the S/UNI-IMA device with no requirement for microprocessor intervention; however, ICP cells are made available for diagnostic purposes. • Supports up to 42 simultaneous IMA groups. • Each IMA group can support 1 to 32 links chosen from any of the supported links. • Each link can be programmed for either IMA processing or cell delineation. • Supports all IMA Group Symmetry modes: • Symmetrical configuration with symmetrical operation • Symmetrical configuration with asymmetrical operation. • Asymmetrical configuration with asymmetrical operation. • Performs IMA differential delay calculation and synchronization. • Provides programmable limit on allowable differential delay and minimum number of links per group. • Supports up to 279 ms (for T1 links) and 226 ms (for E1 links) link-differential delay among links in an IMA group. • Performs ICP and stuff-cell insertion and removal. • Supports both Common Transmit Clock (CTC) and Independent Transmit Clock (ITC) transmit ICP stuffing modes. • Supports IMA frame lengths (M) equal to 32, 64, 128, or 256. • Optionally supports the IMA 1.0 method of reporting Rx cell information as defined in appendix C.8 of the ATM Forum Inverse Multiplexing for ATM Specification Version 1.1 for symmetrical configurations with M=128. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 26 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM • Provides IMA layer statistic counts and alarms for support of IMA Performance and Failure Alarm Monitoring and MIB support. • Provides per link counters for statistics and performance monitoring: • • ICP Violations • OIF anomalies • Rx Link stuff events • Tx Link stuff events • User cells • Filler cells Provides per group counters for statistics and performance monitoring: • User cells received • Filler cells received • User cells transmitted • Filler cells transmitted TC Features • Performs cell delineation on all links. • Performs receive cell Header Error Check (HEC) checking and transmit cell HEC generation. • Optionally supports receive cell payload unscrambling and transmit cell payload scrambling. • Provides TC layer statistics counts and alarms for MIB support. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 27 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Interface Support • Two line side interface modes: Scalable Bandwidth Interconnect (SBI) bus and Clock and Data. SBI Interface: • Supports a byte serial 19.44 MHz Scalable Bandwidth Interconnect (SBI) bus interface for high-density line-side device interconnection of up to 84 T1, 63 E1, or three DS3 streams. • The SBI interface bus uses three Synchronous Payload Envelopes (SPE) where each SPE can carry up to 28 framed T1, 21 framed E1, or one framed DS3 stream. • For SPEs configured to support DS3, TC layer processing is supported only. IMA is not supported over DS3. • Always acts as a clock slave receiving clock rate information from the SBI based framer. • Supports Common Transmit Clock (CTC) and Independent Transmit Clock (ITC) modes across the SBI bus. • Seamlessly interconnects to PMC-Sierra’s PM8315 TEMUX and PM8316 TEMUX-84 highly integrated T1/ E1 framers, M13 MUXs and SONET/SDH VT/TU mapper devices Clock/Data Interface: • Supports 32 individual serial (T1 or E1 or unchannelized rates up to 2.304 Mbps) links or 8 individual serial 8Mbps unchannelized links via a 2-pin clock and data interface. • Supports ATM over fractional T1/E1 by providing the capability to select any DS0 timeslots that are active in a link. • Serial link interface supports both independent transmit clock (ITC) and common transmit clock (CTC) options. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 28 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM • Interfaces to a 1M x 16 ( for at least 69 msec of T1, 56 msec of E1 differential delay tolerance)or 4M x 16 SDRAM ( for 279 msec of T1, 226 msec of E1 differential delay tolerance) through a 16-bit SDRAM interface. • Provides a 16-bit microprocessor bus interface for configuration and Link and Unit Management. • ATM receive interface supports 8- and 16-bit UTOPIA L2 or Any-PHY cell interfaces at clock rates up to 52 MHz. • • • Any-PHY receive slave appears as single device. The PHY-ID of each cell is identified in the in-band address. • UTOPIA L2 receive slave appears as a 31 port multi-PHY. • UTOPIA L2 receive slave can also appear as a single port with the logical port provided as a prepend or in the HEC/UDF field. ATM transmit interface supports 8- and 16-bit UTOPIA L2 and Any-PHY cell interfaces at clock rates up to 52 MHz. • Each link configured for cell delineation or each IMA group appears as a PHY port on the Any-PHY and UTOPIA L2 bus. • Any-PHY transmit slave appears as an 84-port multi-PHY. The PHY-ID of each cell is identified in the in-band address. • UTOPIA L2 transmit slave appears as a 31-port multi-PHY. Seamlessly interconnects to PMC-Sierra’s PM7326 S/UNI-APEX ATM/Packet Traffic Manager and Switch and PM7324 S/UNI-ATLAS ATM layer devices. Loopback and Diagnostic Features • Supports UTOPIA L2 / Any-PHY Loopback (global loopback– where all cells received on the UTOPIA L2 / Any-PHY interface are looped back out) • Supports Line Side Loopback (global loopback– where all data received on the line side is looped back out) • Supports the capability to trace ICP cells for any group PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 29 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Software • The S/UNI-IMA device driver, written in ANSI C, provides a well-defined Application Programming Interface (API) for use by application software. Low level utility functions are also provided for diagnostics and debugging purposes. Software wrappers are used for RTOS-related functions making the S/UNI-IMA device driver portable to any Real Time Operating System (RTOS) and hardware environment. The S/UNI-IMA device driver is compatible across the S/UNI-IMA family of devices. Packaging • Implemented in low power, 0.18 micron, 1.8V CMOS technology with TTL compatible inputs and outputs. • Provides a standard 5-pin P1149 JTAG port. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 30 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 3 ISSUE 4 INVERSE MULTIPLEXING OVER ATM APPLICATIONS The S/UNI-IMA-84 is ideal for the following applications: • ATM Multiservice Switches - IMA/UNI and Any Service Any Port linecards • Wireless Base Station Controllers PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 31 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 4 ISSUE 4 INVERSE MULTIPLEXING OVER ATM REFERENCES • AF-PHY-0086.001 “Inverse Multiplexing for ATM (IMA) Specification Version 1.1”, March 1999 • I.432-1 B-ISDN User Network Interface – Physical Layer specification: General characteristics • I.432-3 B-ISDN User Network Interface – Physical Layer specification: 1544 kbps and 2048 kbps operation • G.804 “ATM Cell Mapping into Plesiochronous Digital Hierarchy (PDH)” • AF-PHY-0016.000 “ATM Forum DS1 Physical Layer Specification” • AF-PHY-0064.000 “ATM Forum E1 Physical Interface” • ATM Forum, UTOPIA, an ATM-PHY Layer Specification, Level 2, V. 1.0, Foster City, CA USA, June 1995. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 32 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 5 5.1 ISSUE 4 INVERSE MULTIPLEXING OVER ATM APPLICATION EXAMPLES ATM Multiservice Switch IMA / UNI Port Card An optimized solution comprising the S/UNI-IMA-84, PM8316 TEMUX-84, PM5342 SPECTRA-155, PM7326 S/UNI-APEX, PM7324 S/UNI-ATLAS devices enables a new generation of high density port cards for terminating n x DS3, n x OC-3’s worth of IMA and/or ATM UNI circuits. See Figure 1. Figure 1 - ATM Edge Switch IMA and UNI Port Card Example Telecom Bus UTOPIA L2 / Any-PHY SBI PM5342 SPECTRA-155 OR PM7326 S/UNI-APEX PM8316 TEMUX-84 PM7341 S/UNI-IMA-84 PM5342 PM5342 SPECTRA-155 SPECTRA-155 DS3 LIUs PM7324 S/UNI-ATLAS With a PM5313 SPECTRA-622, four TEMUX-84s, four S/UNI-IMA-84s, PM7326 S/UNI-APEX, and PM7324 S/UNI-ATLAS devices, an OC-12’s worth of IMA/UNI circuits can be terminated on a single linecard. 5.2 ATM Multiservice Switch, Any Service Any Port Card With the S/UNI-IMA-84 and its support for the SBITM bus, high density Any Service Any Port linecards for ATM Switches can be designed with PMC-Sierra’s SPECTRATM, TEMUXTM, AAL1gatorTM, S/UNI -IMA, FREEDMTM, S/UNI APEXTM and S/UNI -ATLASTM products for supporting a broad spectrum of existing and emerging services including Frame Relay (FR), multi-link Frame Relay, multi-link PPP, Internet Protocol (IP), Dedicated Private Line, Integrated Voice and Data, Voice-over- IP and Voice-over-ATM as shown in Figure 2. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 33 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 INVERSE MULTIPLEXING OVER ATM - ATM Multiservice Switch, Any Service Any Port Card Example SBI UTOPIA L2 / Any-PHY Any-PHY Packet Processor T1/J1/E1 Framer TU/VT Mapper M13 Mux PM7389 FREEDM-84 PM8316 TEMUX-84 Packet/Cell Internetworking Function UTOPIA Telecom APPI Figure 2 ISSUE 4 ML-PPP and ML-Frame Relay IMA / UNI PM8316 TEMUX-84 STS-12 SONET/SDH Framer OC-12 PM7341 S/UNI-IMA-84 Traffic Manager IMA / UNI PM7326 S/UNI-APEX AAL1 Circuit Emulation Service PM5313 SPECTRA622 PM8316 TEMUX-84 PM8316 TEMUX-84 PM73122 AAL1gator-32 H-MVIP Circuit Emulation Service OAM and Policing Voice Processor DSP PM7324 S/UNI-ATLAS VoATM Voice Processing RM7000 MIPS Processor The S/UNI-IMA-84 implements the IMA 1.1 protocol (with backward compatibility to IMA 1.0) including link and group state machines, HEC cell delineation (UNI), cell scheduling and provides internal cell FIFOs. The S/UNI-IMA-84 interfaces seamlessly over a standard UTOPIA Level 2 or Any-PHY bus to an ATM Traffic Management device such as the PM7326 S/UNI-APEX. Depending on the S/UNI-IMA-84’s register configuration, ATM traffic is sent over the network as part of an IMA 1.1 or IMA 1.0 group or over a standard ATM over T1/E1 or DS3 UNI. Through register programming, for example, the number of links, groups, minimum and maximum number of links/group, frame sizes (M=32, 64, 128, 256), differential delay tolerance, transmit clock mode (independent and common) and symmetrical/asymmetrical configuration and operation are dynamically configurable. An external low-cost standard 4Mx16 SDRAM is required to buffer data for tolerating up to a maximum of 279 msec (T1) / 226 msec (E1) of differential delay across the links. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 34 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 INVERSE MULTIPLEXING OVER ATM BLOCK DIAGRAM TCK TMS TDI TRSTB TDO D[15:0] A[10:1] ALE WRB RDB CSB INTB SYSCLK REFCLK - S/UNI-IMA-84 Block Diagram OE Figure 3 RSTB 6 ISSUE 4 SBI Add Bus I/F AC1FP ADATA[7:0] ADP APL AV5 AJUST_REQ AACTIVE ADETECT Microprocessor I/F DLL INSBI TC Layer (TTTC84) 32 Clk/Data TSCLK[31:0] TSDATA[31:0] CTSCLK JTAG Tx Slave ATM I/F Null Framer (SDFR84) 84-chan x 7 cell FIFO (MCFD) 84-chan x 3 cell FIFO Tx IMA Processor (TIMA) Any-PHY/ UTOPIA Tx Slave (TXAPS) TCAS TCLK TPA TENB TADR[10:0] TCSB TSOP TSX TDAT[15:0] TPRTY Internal Bus Rx IMA Protocol Processor (RIPP) IDCC 32 Clk/Data RSCLK[31:0] RSDATA[31:0] RCAS SBI Drop Bus I/F EXSBI DeFramer (SDDF84) 84-chan x 2 cell FIFO Rx IMA Data Processor (RDAT) Cell Writer Cell Reader Rx Slave ATM I/F 31 chan 4 cell FIFO Any-PHY/ UTOPIA Rx Slave (RXAPS) Memory Interface (MEMI) CBCSB CBRASB CBCASB CBWEB CBA[11:0] CBBS[1:0] CBDQM CBDQ[15:0] DC1FP DDATA[7:0] DDP DPL DV5 Tc Layer (RTTC84) U2U_LOOP VL.DLB.EN LINE_LOOP IDCC PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 35 RCLK RPA RENB RADR[4:0] RCSB RSOP RSX RDAT[15:0] RPRTY PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 7 ISSUE 4 INVERSE MULTIPLEXING OVER ATM DESCRIPTION The PM7341 S/UNI-IMA-84 is a monolithic integrated circuit that implements the Inverse Multiplexing for ATM (IMA 1.1) protocol with backward compatibility to IMA 1.0 and the Transmission Convergence (TC) layer function. The S/UNIIMA-84 has two line side interface modes that determine the total number of links supported: the Scalable Bandwidth Interconnect (SBI) bus interface mode and the Clock and Data interface mode. In SBI mode, the S/UNI-IMA-84 supports up to 84 T1, 63 E1 and 3 DS3 (TC only) links where each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, ATM over T1/E1 and up to three ATM over DS3 streams (using HEC delineation). In the Clock and Data interface mode, the S/UNI-IMA-84 supports 32 independent T1, E1 or unchannelized links. Each link is dynamically configurable to support either IMA 1.1, backward compatible IMA 1.0, or ATM HEC cell delineation. ATM over Fractional T1/E1 is also supported. Unchannelized links may be used to support applications such as G.SHDSL. All links within an IMA group must be the same nominal rate, however the link rates within a group can be different across groups. The Scaleable Bandwidth Interconnect (SBI) high-density byte serial system interface provides higher levels of integration and dense interconnect. The SBI bus interconnects up to 84 T1s or 63 E1s asynchronously. The SBI allows transmit timing to be mastered by the PHY layer device connected to the SBI bus with the S/UNI-IMA-84 always behaving as a clock slave. In addition to framed T1s and E1s, the S/UNI-IMA-84 can transport framed DS3 links over the SBI bus. The S/UNI-IMA-84 also supports a clock and data interface mode where 32 2-pin serial clock and data interfaces are provided. Each clock and data interface can be configured to support either a T1 link, E1 link, or an unchannelized link. For IMA, all links within a group must be the same nominal rate, but IMA groups consisting of either E1 or T1 links may coexist within the S/UNI-IMA-84. Additionally, for cell delineation only, ATM over fractional T1/E1 is supported by allowing individual DS0 timeslots to be configured as active or inactive. IMA is a protocol designed to combine the transport bandwidth of multiple links into a single logical link. The logical link is called a group. The S/UNI-IMA-84 can support up to 42 independent groups with each group capable of supporting 1 to 32 links. Any link that is not participating in an IMA group can utilize the cell PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 36 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM delineation features of the S/UNI IMA-84 for implementing either ATM over E1 or ATM over T1. In the transmit direction, the S/UNI-IMA-84 accepts cells from the AnyPHY/UTOPIA Interface. The S/UNI-IMA-84 performs the IMA function which consists of taking a cell stream destined for a group and distributing the cells in a round-robin fashion to the links within a group, adding IMA Control Protocol (ICP) cells, filler cells, and stuff cells as needed. The ICP cells convey state information to the far end and are used to format an IMA frame. The IMA Frame is used as a mechanism to synchronize the links at the far end. Cell rate decoupling is performed at the IMA sub-layer via filler cells. Filler cells are used instead of physical layer cells for cell rate decoupling, thus a continuous stream of cells is sent to the TC layer. The stuff cells are used to maintain synchronization between the links in a group by absorbing the rate differential when links are running on different clocks. The data from the IMA sub-layer is passed on to the TC layer. In the TC layer, the HEC is calculated and inserted into the cell headers and optional scrambling of the payload is performed. The cell stream is then mapped into the T1 or E1 payload with zeros inserted for the framing and overhead bits or bytes. The links are then transmitted via either the high density SBI interface or the clock and data interface. The S/UNI-IMA-84 acts as a clock slave – i.e., the clock is provided from logic external to the S/UNI-IMA-84. An optional common-clock mode is provided to enable all links to run from the same clock. If using an unchannelized clock and data interface, the data is not mapped into the T1/E1 payload but is transmitted one bit for each provided clock pulse. On the receive side, the framed data is received from either the SBI or the clock/data interface, and the ATM cell data is extracted from the T1, E1 or DS3 frame structure. If using an unchannelized clock and data interface, the data is received one bit for each provided clock pulse. The TC layer searches for cell delineation as per the procedures outlined in ITUT Recommendation I.432.1. Once cell delineation is obtained, the payload is optionally descrambled and the cells are passed to the IMA sub-layer. The TC layer provides counts of errored headers as well as OCD and LCD error interrupts. The receive IMA sublayer performs IMA-frame delineation and stuff-cell removal. Based upon the ICP cell information, the S/UNI-IMA-84 determines the PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 37 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM differential delay between the links within a group and applies the link and group state machine logic to coordinate the activation and deactivation of groups and links with the far end. As cells are received, they are stored in an external FIFO structure; this structure is based upon the IMA frame boundaries and the IMA frame sequence number. When links or groups are determined to be active by the link and group state machines, the data is played out to the AnyPHY/UTOPIA Interface at a constant rate to mimic the existence of a single higher bandwidth physical link. Once a group of links is established, links can be added or deleted from the group. Under software control, the S/UNI-IMA-84 will perform all necessary steps to add or delete links from previously established groups. In order to aid diagnostics, a line side loopback and a UTOPIA side loopback are provided. Also, an ICP cell trace feature is provided. When the ICP cell trace has been enabled for a group, the S/UNI-IMA-84 will place those ICP cells where a SCCI field change is detected into a buffer that is accessible to the microprocessor. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 38 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 8 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PIN DIAGRAM The S/UNI-IMA-84 is packaged in a 416-pin PBGA package that has a body size of 27mm by 27mm and a ball pitch of 1mm. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 39 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Figure 4 View) ISSUE 4 INVERSE MULTIPLEXING OVER ATM - S/UNI-IMA Pinout (Bottom PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 40 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9 9.1 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PIN DESCRIPTION Receive Slave ATM Interface (Any-PHY mode) (28 Signals) Pin Name Type Pin No. Function RCLK Input W24 The Receive Clock (RCLK) signal is used to transfer data blocks from the S/UNI-IMA-84 across the receive Any-PHY interface. The RPA, RSOP, RSX, RDAT[15:0], and RPRTY outputs are updated on the rising edge of RCLK. The RENB, RADR[4:0], and RCSB inputs are sampled on the rising edge of RCLK. The RCLK input must cycle at a 52 MHz or lower instantaneous rate. RPA Tristate Output AB24 The Receive Packet Available (RPA) is an active high signal that indicates whether at least one cell is queued for transfer. The S/UNI-IMA-84 device drives the RPA with the cell availability status two RCLK cycles after RADR[4:0] matches the S/UNI IMA’s device address. The RPA output is high-impedance at all other times. The RPA output is updated on the rising edge of RCLK. RENB Input AB26 The Receive Enable Bar (RENB) is an active low signal used to initiate the transfer of cells from the S/UNI-IMA-84 to an ATM layer component, such as a traffic management device. The RENB input is sampled on the rising edge of RCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 41 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name RADR[4] RADR[3] RADR[2] RADR[1] RADR[0] ISSUE 4 Type Input INVERSE MULTIPLEXING OVER ATM Pin No. Function AA25 AA23 AA24 AA26 Y25 The Receive Address (RADR[4:0]) signals are used to address the S/UNI-IMA-84 device for the purposes of polling and selection for cell transfer. The RADR[4:0] signals are valid only when the RCSB signal is sampled active in the following RCLK cycle. The RADR[4:0] input bus is sampled on the rising edge of RCLK. RCSB Input Y24 The Receive Chip Select (RCSB) is an active low signal that is used to select the S/UNI-IMA-84 receive interface. When the RCSB is sampled low, it indicates that the RADR[4:0] sampled at the previous clock is a valid address. If the RCSB is sampled high, the device is not selected and the RADR[4:0] sampled on the previous cycle is not a valid address and is ignored. When sufficient address space is provided by RADR[4:0] for all devices on the bus, this signal may be tied low. The RCSB input is sampled on the rising edge of RCLK. RSOP Tristate Output W25 The Receive Start of Packet (RSOP) is an active high signal that marks the start of the cell on the RDAT[15:0] bus. When RSOP is active, the first word of the cell is present on the RDAT[15:0] bus. The RSOP output is updated on the rising edge of RCLK. RSX Tristate Output W23 The Receive Start of Transfer (RSX) signal is an active high signal that marks the first cycle of a data block transfer on the RDAT[15:0] bus. When the RSX signal is active, the coinciding data on the RDAT[15:0] bus represents the in-band PHY address. The RSX output is updated on the rising edge of RCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 42 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name ISSUE 4 INVERSE MULTIPLEXING OVER ATM Type Pin No. Function RDAT[15] RDAT[14] RDAT[13] RDAT[12] RDAT[11] RDAT[10] RDAT[9] RDAT[8] RDAT[7] RDAT[6] RDAT[5] RDAT[4] RDAT[3] RDAT[2] RDAT[1] RDAT[0] Tristate Output W26 V25 V26 U25 V24 U26 U23 T25 U24 T26 R25 R26 T24 P25 R23 P26 The Receive Cell Data (RDAT[15:0]) signals carry the ATM cell words that have been read from the S/UNI-IMA-84 internal cell buffers. When this interface is operating in 8-bit mode, the data is carried on RDAT[7:0]. RPRTY Tristate Output N25 The Receive Parity (RPRTY) signal provides the parity (programmable for odd or even parity) of the RDAT[15:0] bus. When the interface is operating in 8-bit mode, the parity is calculated over RDAT[7:0] The RDAT[15:0] output bus is updated on the rising edge of RCLK. The RPRTY output is updated on the rising edge of RCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 43 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9.2 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Receive Slave ATM Interface (UTOPIA L2 mode) (26 Signals) Pin Name Type Pin No. Function RCLK Input W24 The Receive Clock (RCLK) signal is used to transfer data blocks from the S/UNI-IMA-84 across the receive UTOPIA L2 interface. The RCA, RSOC, RDAT[15:0], and RPRTY outputs are updated on the rising edge of RCLK. The RENB and RADR[4:0] inputs are sampled on the rising edge of RCLK. The RCLK input must cycle at a 52 MHz or lower instantaneous rate. RCA Tristate Output AB24 The Receive Cell Available (RCA) is an active high signal that, when polled using the RADR[4:0] signals, indicates if at least one cell is queued for transfer on the selected logical channel FIFO . The S/UNI-IMA-84 device drives RCA with the cell availability status for the polled port one RCLK cycle after a valid RADR[4:0] address is sampled. The RCA output is high-impedance at all other times. The RCA output is updated on the rising edge of RCLK. RENB Input AB26 The Receive Enable Bar (RENB) is an active low signal used to initiate the transfer of cells from the S/UNI-IMA-84 to an ATM-layer component, such as a traffic management device. The RENB input is sampled on the rising edge of RCLK. RADR[4] RADR[3] RADR[2] RADR[1] RADR[0] Input AA25 AA23 AA24 AA26 Y25 The Receive Address (RADR[4:0]) signals are used to address the S/UNI-IMA-84 device for the purposes of polling and selecting for cell transfer. The RADR[4:0] input bus is sampled on the rising edge of RCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 44 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name RSOC ISSUE 4 INVERSE MULTIPLEXING OVER ATM Type Pin No. Function Tristate Output W25 The Receive Start of Cell (RSOC) is an active high signal that marks the first word of the cell on the RDAT[15:0] bus. The RSOC output is updated on the rising edge of RCLK. RDAT[15] RDAT[14] RDAT[13] RDAT[12] RDAT[11] RDAT[10] RDAT[9] RDAT[8] RDAT[7] RDAT[6] RDAT[5] RDAT[4] RDAT[3] RDAT[2] RDAT[1] RDAT[0] Tristate Output RPRTY Tristate Output W26 V25 V26 U25 V24 U26 U23 T25 U24 T26 R25 R26 T24 P25 R23 P26 The Receive Cell Data (RDAT[15:0]) signals carry the ATM cell words that have been read from the S/UNI-IMA-84 internal cell buffers. When this interface is operating in 8-bit mode, the data is carried on RDAT[7:0]. N25 The Receive Parity (RPRTY) signal provides the parity (programmable for odd or even parity) of the RDAT[15:0] bus. When the interface is operating in 8-bit mode, the parity is calculated over RDAT[7:0] The RDAT[15:0] output bus is updated on the rising edge of RCLK. The RPRTY output is updated on the rising edge of RCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 45 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9.3 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Transmit Slave Interface (ANY-PHY mode) (34 Signals) Pin Name TCLK Type Input Pin No. Function F25 The Transmit Clock (TCLK) signal is used to transfer cells across the ANY-PHY interface to the internal downstream cell buffers. The TPA output is updated on the rising edge of TCLK. The TENB. TSX, TSOP, TDAT[15:0], TPRTY, TADR[10:0], and TCSB inputs are sampled on the rising edge of TCLK. The TCLK input must cycle at a 52 MHz or lower instantaneous rate. TPA Tristate Output N26 The Transmit Packet Available (TPA) is an active high signal that indicates the availability of space in the selected logical channel FIFO when polled using the TADR[10:0] signals. The S/UNI-IMA-84 device drives TPA with the cell availability status of the polled port two TCLK cycles after TADR[10:0] matches the S/UNI IMA’s device address. The TPA output is high-impedance at all other times. The TPA output is updated on the rising edge of TCLK. TENB Input P24 The Transmit enable bar (TENB) is an active low signal that is used to indicate cell transfers to the internal cell buffers. The TENB input is sampled on the rising edge of TCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 46 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name ISSUE 4 Type TADR[10] TADR[9] TADR[8] TADR[7] TADR[6] TADR[5] TADR[4] TADR[3] TADR[2] TADR[1] TADR[0] Input TCSB Input INVERSE MULTIPLEXING OVER ATM Pin No. Function M25 N24 M26 L25 M24 L26 M23 K25 L24 K26 K23 The Transmit Address (TADR[10:0]) signals are used to address logical channels for the purpose of polling and device selection. The TADR[10:0] signals are valid only when the TCSB signal is sampled active in the following TCLK cycle. J25 The Transmit Chip Select (TCSB) is an active low signal that is used to select the S/UNI-IMA-84 transmit interface. When the TCSB is sampled low, it indicates that the TADR[10:0] sampled at the previous clock is a valid address. If the TCSB is sampled high, the device is not selected and the TADR[10:0] sampled on the previous cycle is not a valid address and is ignored. When sufficient address space is provided by TADR[10:0] for all devices on the bus, this signal may be tied low. The TADR[10:0] input bus is sampled on the rising edge of TCLK. The TCSB is asserted low one cycle after a valid address is present on the TADR[10:0] signals. The TCSB input is sampled on the rising edge of TCLK. TSOP Input K24 The Transmit Start of Packet (TSOP) is an active high signal that marks the start of the cell on the TDAT[15:0] bus. When TSOP is active, the first word of the cell is present on the TDAT[15:0] bus. The TSOP output is sampled on the rising edge of TCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 47 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name TSX ISSUE 4 Type Input INVERSE MULTIPLEXING OVER ATM Pin No. Function J26 The Transmit Start of Transfer (TSX) signal is an active high signal that marks the first cycle of a datablock transfer on the TDAT[15:0] bus. When the TSX signal is active, the coinciding data on the TDAT[15:0] bus represents the in-band PHY address. The TSX output is sampled on the rising edge of RCLK. TDAT[15] TDAT[14] TDAT[13] TDAT[12] TDAT[11] TDAT[10] TDAT[9] TDAT[8] TDAT[7] TDAT[6] TDAT[5] TDAT[4] TDAT[3] TDAT[2] TDAT[1] TDAT[0] Input TPRTY Input H25 H26 J24 G25 H23 G26 H24 F23 F26 G24 E25 E26 F24 D25 E23 D26 The Transmit Cell Data (TDAT[15:0]) signals carry the ATM cell octets that are transferred to the internal cell buffer. When this interface is operating in 8-bit mode, only TDAT[7:0] is used. E24 The Transmit Parity (TPRTY) signal provides the parity (programmable for odd or even parity) of the TDAT[15:0] bus. The TPRTY signal is considered valid only when valid data and inband address are transferring as indicated by the TENB signal asserted low. When this interface is operating in 8bit mode, this signal provides the parity of TDAT[7:0]. The TDAT[15:0] input bus is sampled on the rising edge of TCLK. A parity error is indicated by a status bit and a maskable interrupt. The TPRTY input signal is sampled on the rising edge of TCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 48 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9.4 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Transmit Slave Interface (UTOPIA L2 mode) (26 Signals) Pin Name TCLK Type Input Pin No. F25 Function The Transmit Clock (TCLK) signal is used to transfer cells across the ANY-PHY interface to the internal downstream cell buffers. The TCA output is updated on the rising edge of TCLK. The TENB, TSOC, TDAT[15:0], TPRTY, TADR[4:0] inputs are sampled on the rising edge of TCLK. The TCLK input must cycle at a 52 MHz or lower instantaneous rate. TCA Tristate Output N26 The Transmit Cell Available (TCA) is an active high signal that indicates the availability of space in the selected logical channel FIFO when polled using the TADR[4:0] signals. The S/UNI-IMA-84 drives TCA with the cell space availability status for the polled port on TCLK cycles after a valid TADR[4:0} address is sampled. The TCA output is high-impedance when not polled. The TCA output is updated on the rising edge of TCLK. TENB Input P24 The Transmit enable bar (TENB) is an active low signal that is used to indicate cell transfers to the internal cell buffers. The TENB input is sampled on the rising edge of TCLK. TADR[4] TADR[3] TADR[2] TADR[1] TADR[0] Input M23 K25 L24 K26 K23 The Transmit Address (TADR[4:0]) signals are used to address logical channels for the purposes of polling and device selection. The TADR[4:0] input bus is sampled on the rising edge of TCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 49 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name TSOC ISSUE 4 Type Input Pin No. K24 INVERSE MULTIPLEXING OVER ATM Function The Transmit Start of Cell (TSOC) is an active high signal that marks the first word of the cell on the TDAT[15:0] bus. The TSOC input is sampled on the rising edge of TCLK. TDAT[15] TDAT[14] TDAT[13] TDAT[12] TDAT[11] TDAT[10] TDAT[9] TDAT[8] TDAT[7] TDAT[6] TDAT[5] TDAT[4] TDAT[3] TDAT[2] TDAT[1] TDAT[0] Input TPRTY Input H25 H26 J24 G25 H23 G26 H24 F23 F26 G24 E25 E26 F24 D25 E23 D26 The Transmit Cell Data (TDAT[15:0]) signals carry the ATM cell octets that are transferred to the internal cell buffer. The TDAT[15:0] signals are considered valid only when the TENB signal is asserted low. When this interface is operating in 8bit mode, only TDAT[7:0] is used. E24 The Transmit Parity (TPRTY) signal provides the parity (programmable for odd or even parity) of the TDAT[15:0] bus. The TPRTY signal is considered valid only when valid data is transferring as indicated by the TENB signal asserted low. When this interface is operating in 8-bit mode, this signal provides the parity of TDAT[7:0]. The TDAT[15:0] input bus is sampled on the rising edge of TCLK. A parity error is indicated by a status bit and a maskable interrupt. The TPRTY input signal is sampled on the rising edge of TCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 50 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9.5 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Microprocessor Interface (31 Signals) Pin Name Type Pin No. Function D[15] D[14] D[13] D[12] D[11] D[10] D[9] D[8] D[7] D[6] D[5] D[4] D[3] D[2] D[1] D[0] I/O B19 D19 A19 C19 B18 A18 B17 C18 A17 D17 B16 A16 B15 A15 C16 B14 The Micro Data (D[15:0]) signals provide a data bus to allow the S/UNI-IMA-84 device to interface to an external microprocessor. Both read and write transactions are supported. The microprocessor interface is used to configure and monitor the S/UNIIMA-84 device. A[10] A[9] A[8] A[7] A[6] A[5] A[4] A[3] A[2] A[1] Input D15 A14 C15 B13 A13 C14 B12 C13 A12 B11 The Micro Address (A[10:1]) signals provide an address bus to allow the S/UNI-IMA-84 device to interface to an external microprocessor. ALE Input C12 The Address Latch Enable (ALE) is an active high signal that latches the A[10:1] signals during the address phase of a bus transaction. When ALE is set high, the address latches are transparent. When ALE is set low, the address latches hold the address provided on A[10:1]. The A[10:1] indicate a word address. The S/UNIIMA-84 microprocessor interface is not byte addressable. The A[10:1] input signals are sampled while the ALE is asserted high. The ALE input has an internal pull-up resistor. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 51 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function WRB Input A11 The Write Strobe Bar (WRB) is an active low signal that qualifies write accesses to the S/UNI-IMA-84 device. When the CSB is set low, the D[15:0] bus contents are clocked into the addressed register on the rising edge of WRB. RDB Input D12 The Read Strobe Bar (RDB) is an active low signal that qualifies read accesses to the S/UNI-IMA-84 device. When the CSB is set low, the S/UNI-IMA-84 device drives the D[15:0] bus with the contents of the addressed register on the falling edge of RDB. CSB Input B10 The Chip Select Bar (CSB) is an active low signal that qualifies read/write accesses to the S/UNI-IMA84 device. The CSB signal must be set low during read and write accesses. When the CSB is set high, the microprocessor-interface signals are ignored by the S/UNI-IMA-84 device. If the CSB is not required (register accesses are controlled only by WRB and RDB), then it should be connected to an inverted version of the RSTB signal. INTB OpenDrain Output C11 The Interrupt Bar (INTB) is an active low signal indicating that an enabled bit in the Master Interrupt Register was set. When INTB is set low, the interrupt is active and enabled. When INTB is tristate, there is no interrupt pending or it is disabled. INTB is an open drain output and should be pulled high externally with a fast resistor. Maximum output current (IMAX) = TBD mA PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 52 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9.6 ISSUE 4 INVERSE MULTIPLEXING OVER ATM SDRAM I/F (35 Signals) Pin Name Type Pin No. Function CBCSB Output AD9 The Cell Buffer SDRAM Chip Select Bar (CBCSB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBCSB output is updated on the rising edge of SYSCLK. CBRASB Output AF10 The Cell Buffer SDRAM Row Address Strobe Bar (CBRASB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBRASB output is updated on the rising edge of SYSCLK. CBCASB Output AC10 The Cell Buffer SDRAM Column Address Strobe Bar (CBCASB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBCASB output is updated on the rising edge of SYSCLK. CBWEB Output AE11 The Cell Buffer SDRAM Write Enable Bar (CBWEB) is an active low signal used to control the SDRAM. CBCSB, CBRASB, CBCASB, and CBWEB define the command being sent to the SDRAM. The CBWEB output is updated on the rising edge of SYSCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 53 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function CBA[11] CBA[10] CBA[9] CBA[8] CBA[7] CBA[6] CBA[5] CBA[4] CBA[3] CBA[2] CBA[1] CBA[0] Output AD10 AF11 AE12 AF12 AD11 AE13 AC12 AF13 AD12 AE14 AD13 AE15 The Cell Buffer SDRAM Address (CBA[11:0]) signals identify the row address (CBA[11:0]) and column address (CBA[7:0]) for the locations accessed. CBBS[1] CBBS[0] Output AD14 AF15 The Cell Buffer SDRAM Bank Select (CBBS[1:0]) signals determine which bank of a dual/quad bank Cell Buffer SDRAM chip is active. CBBS is generated along with the row address when CBRASB is asserted low. The CBA[11:0] output is updated on the rising edge of SYSCLK. The CBBS[1:0] outputs are updated on the rising edge of SYSCLK. CBDQM Output AE16 The Cell Buffer SDRAM Input/Output Data Mask (CBDQM) signal is held high until the SDRAM initialization is complete and then set low for normal operation. The CBDQM output is updated on the rising edge of SYSCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 54 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Pin Name Type CBDQ[15] CBDQ[14] CBDQ[13] CBDQ[12] CBDQ[11] CBDQ[10] CBDQ[9] CBDQ[8] CBDQ[7] CBDQ[6] CBDQ[5] CBDQ[4] CBDQ[3] CBDQ[2] CBDQ[1] CBDQ[0] I/O INVERSE MULTIPLEXING OVER ATM Pin No. Function AD15 AF16 AC15 AE17 AD16 AF17 AC17 AE18 AD17 AF18 AF19 AD18 AE20 AC19 AF20 AD19 The Cell Buffer SDRAM Data (CBDQ[15:0]) signals interface directly with the Cell Buffer SDRAM data ports. The CBDQ[15:0] bi-directional signals are sampled and updated/tristated on the rising edge of SYSCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 55 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 9.7 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Clk/Data (129 signals) Pin Name TSCLK[31] TSCLK[30] TSCLK[29] TSCLK[28] TSCLK[27] TSCLK[26] TSCLK[25] TSCLK[24] TSCLK[23] TSCLK[22] TSCLK[21] TSCLK[20] TSCLK[19] TSCLK[18] TSCLK[17] TSCLK[16] TSCLK[15] TSCLK[14] TSCLK[13] TSCLK[12] TSCLK[11] TSCLK[10] TSCLK[9] TSCLK[8] TSCLK[7] TSCLK[6] TSCLK[5] TSCLK[4] TSCLK[3] TSCLK[2] TSCLK[1] TSCLK[0] Type Input Pin No. A23 B22 D22 C22 A21 B20 A20 C20 B9 C10 A9 B8 C9 B7 D8 A7 C8 B6 D6 A6 B3 C4 A3 A2 E3 F2 F4 F3 F1 G2 G1 G3 Function The Transmit Serial Clock (TSCLK[31:0]) signals contain the transmit clocks for the 32 independently timed links. The TSDATA[31:0] signals are updated on the falling edge of the corresponding TSCLK[31:0] clock. For channelized T1 or E1 links, TSCLK[n] must be gapped during the framing bit (for T1 interfaces) or during time-slot 0 (for E1 interfaces) of the TSDATA[n] stream. The S/UNIIMA-84 uses the gapping information to determine the time-slot alignment in the transmit stream. For unchannelized links, TSCLK[n] must be externally gapped during the bits or time-slots that are not part of the transmission format payload (i.e., not part of the ATM Cell). The TSCLK[31:0] input signal is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. The TSCLK[31:0] may operate at higher rates in the unchannelized mode. At higher rates, the amount of lines available is limited. See 12.3.2.2 for more details. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 56 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name TSDATA[31] TSDATA[30] TSDATA[29] TSDATA[28] TSDATA[27] TSDATA[26] TSDATA[25] TSDATA[24] TSDATA[23] TSDATA[22] TSDATA[21] TSDATA[20] TSDATA[19] TSDATA[18] TSDATA[17] TSDATA[16] TSDATA[15] TSDATA[14] TSDATA[13] TSDATA[12] TSDATA[11] TSDATA[10] TSDATA[9] TSDATA[8] TSDATA[7] TSDATA[6] TSDATA[5] TSDATA[4] TSDATA[3] TSDATA[2] TSDATA[1] TSDATA[0] ISSUE 4 Type Output Pin No. C25 D24 C26 B26 A22 B21 D21 C21 C7 B5 A5C6 B4 D5 A4 C5 D3 D1 E2 E4 B1 C2 C1 D2 H4 H1 H3 J2 J1 K2 J3 K1 INVERSE MULTIPLEXING OVER ATM Function The Transmit Serial Data (TSDATA[31:0]) signals contain the transmit data for the 32 independently timed links. For channelized links, TSDATA[n] contains the 24 (T1) or 31 (E1) timeslots that comprise the channelized link. TSCLK[n] must be gapped during the T1 framing bit position or the E1 frame alignment signal (time-slot 0). The S/UNI-IMA-84 uses the location of the gap to determine the channel alignment on TSDATA[n]. For unchannelized links, TSDATA[n] contains the ATM cell data. For certain transmission formats, TSDATA[n] may contain place holder bits or timeslots. TSCLK[n] must be externally gapped during the place holder positions in the TSDATA[n] stream. The TSDATA[31:0] output signals are updated on the falling edge of the corresponding TSCLK[31:0] clock PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 57 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name RSCLK[31] RSCLK[30] RSCLK[29] RSCLK[28] RSCLK[27] RSCLK[26] RSCLK[25] RSCLK[24] RSCLK[23] RSCLK[22] RSCLK[21] RSCLK[20] RSCLK[19] RSCLK[18] RSCLK[17] RSCLK[16] RSCLK[15] RSCLK[14] RSCLK[13] RSCLK[12] RSCLK[11] RSCLK[10] RSCLK[9] RSCLK[8] RSCLK[7] RSCLK[6] RSCLK[5] RSCLK[4] RSCLK[3] RSCLK[2] RSCLK[1] RSCLK[0] ISSUE 4 Type Input Pin No. AC25 AD26 AD25 AE26 AC22 AF23 AE23 AD21 AC21 AE21 AD8 AF8 AD6 AC6 AD1 AC3 AE7 AF6 AD5 AC5 AD4 AE4 AD2 AB3 AB1 AB2 Y3 AA1 Y2 V3 W1 W2 INVERSE MULTIPLEXING OVER ATM Function The Receive Serial Clock (RSCLK[31:0]) signals contain the recovered line clock for the 32 independently timed links. The RSDATA[31:0] signals are sampled on the rising edge of the corresponding RSCLK[31:0] clock. For channelized T1 or E1 links, RSCLK[n] must be gapped during the framing bit (for T1 interfaces) or during time-slot 0 (for E1 interfaces) of the RSDATA[n] stream. The S/UNIIMA-84 uses the gapping information to determine the time-slot alignment in the receive stream. RSCLK[31:0] is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. For unchannelized links, RSCLK[n] must be externally gapped during the bits or time-slots that are not part of the transmission format payload (i.e., not part of the ATM cell). The RSCLK[31:0] input signal is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. The RSCLK[31:0] may operate at higher rates in the unchannelized mode. At higher rates, the amount of lines available is limited See 12.3.2.2 for more details. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 58 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name RSDATA[31] RSDATA[30] RSDATA[29] RSDATA[28] RSDATA[27] RSDATA[26] RSDATA[25] RSDATA[24] RSDATA[23] RSDATA[22] RSDATA[21] RSDATA[20] RSDATA[19] RSDATA[18] RSDATA[17] RSDATA[16] RSDATA[15] RSDATA[14] RSDATA[13] RSDATA[12] RSDATA[11] RSDATA[10] RSDATA[9] RSDATA[8] RSDATA[7] RSDATA[6] RSDATA[5] RSDATA[4] RSDATA[3] RSDATA[2] RSDATA[1] RSDATA[0] ISSUE 4 Type Input Pin No. AB23 AB25 AC26 AC24 AF25 AF24 AD23 AE24 AD20 AF21 AF9 AE9 AD7 AF7 AF3 AE3 AC8 AE8 AE6 AF5 AE5 AF4 AF2 AE1 AC1 AB4 AC2 AA3 AA4 AA2 Y1 W4 INVERSE MULTIPLEXING OVER ATM Function The Receive Serial Data (RSDATA[31:0]) signals contain the recovered line data for the 32 independently timed links. For channelized links, RSDATA[n] contains the 24 (T1) or 31 (E1) time-slots that comprise the channelized link. RSCLK[n] must be gapped during the T1 framing bit position or the E1 frame alignment signal (time-slot 0). The S/UNI-IMA-84 uses the location of the gap to determine the channel alignment on RSDATA[n]. For unchannelized links, RSDATA[n] contains the ATM cell data. For certain transmission formats, RSDATA[n] may contain place-holder bits or timeslots. RSCLK[n] must be externally gapped during the place-holder positions in the RSDATA[n] stream. The RSDATA[31:0] input signals are sampled on the rising edge of the corresponding RSCLK[31:0] clock. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 59 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Pin Name CTSCLK ISSUE 4 Type INVERSE MULTIPLEXING OVER ATM Pin No. Input H2 Function The Common Transmit Serial Clock (CTSCLK) signal is a common transmit line clock that can optionally be used by all 32 serial links instead of each link’s transmit serial line clock (TSCLK[n]). Ground if not used. The CTSCLK input signal is nominally a 50% duty cycle clock of 1.544 MHz for T1 links and 2.048 MHz for E1 links. 9.8 SBI Interface Signals (27) Pin Name Type Pin No. Function DC1FP Input P3 The Active High Drop Bus C1 Frame Pulse (C1FP) signal is externally generated to indicate the first C1 octet of each four-frame SBI multiframe on the Drop bus. This frame pulse is a single REFCLK cycle long and is sampled on the rising edge of REFCLK. This signal should be pulsed once every fourth C1 octet to produce a 2 KHz multiframe signal. The frame pulse does not need to be repeated every fourth SBI frame. The S/UNI-IMA-84 will synchronize to this signal and flywheel in its absence. DDATA[7] DDATA[6] DDATA[5] DDATA[4] DDATA[3] DDATA[2] DDATA[1] DDATA[0] Input R4 U2 T3 U1 U4 V2 U3 V1 The Drop Bus Data (DDATA[7:0]) signals are a time division multiplexed bus which transports tributaries by assigning them to fixed octets within the SBI BUS structure. Multiple PHY devices can drive this bus at uniquely assigned tributary columns within the SBI BUS structure. The DDATA[7:0] input signals are sampled on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 60 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function DDP Input R1 The Drop Bus Data Parity (DDP) signal carries the even or odd parity for the drop bus signals. The parity calculation encompasses DDATA[7:0], DPL, and DV5 signals. The selection of even or odd parity is made via the SBI_PAR_CTL bit of SBI Extract Control Register. Multiple PHY-devices can drive this signal at uniquely assigned tributary columns within the SBI BUS structure. This parity signal is intended to detect multiple sources in the column assignment. The DDP input signal is sampled on the rising edge of REFCLK. DPL Input T2 The Active High Drop Bus Payload (DPL) is an active high signal that indicates valid data within the SBI BUS structure. This signal is asserted during all octets making up a tributary. This signal goes high during the V3 octet within a tributary to accommodate negative timing adjustments between the tributary rate and the fixed SBI BUS structure. This signal goes low during the octet after the V3 octet within a tributary to accommodate positive timing adjustments between the tributary rate and the fixed SBI BUS structure. Multiple PHY-devices can drive this signal at uniquely assigned tributary columns within the SBI BUS structure. The DPL input signal is sampled on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 61 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function DV5 Input T1 The Active High Drop Bus Payload Indicator (DV5) is an active high signal that locates the position of the floating payloads for each tributary within the SBI BUS structure. Timing differences between the port timing and the SBI BUS timing are indicated by adjustments of this payload pointer relative to the fixed SBI BUS structure. Multiple PHY-devices can drive this signal at uniquely assigned tributary columns within the SBI BUS structure. All movements indicated by this signal must be accompanied by appropriate adjustments in the DPL signal. The DV5 input signal is sampled on the rising edge of REFCLK. AC1FP Input R2 The Active High Add Bus C1 Frame Pulse (C1FP) signal is externally generated to indicate the first C1 octet of each four-frame SBI multiframe on the Add bus. This frame pulse is a single REFCLK cycle long and is sampled on the rising edge of REFCLK. This signal should be pulsed once every fourth C1 octet to produce a 2 KHz multiframe signal. The frame pulse does not need to be repeated every fourth SBI frame. The S/UNI-IMA-84 will synchronize to this signal and flywheel in its absence. ADATA[7] ADATA[6] ADATA[5] ADATA[4] ADATA[3] ADATA[2] ADATA[1] ADATA[0] Tristate Output M2 M1 L3 N2 M4 N1 M3 P2 The Add Data (ADATA[7:0]) signals are a time division multiplexed bus which transports tributaries by assigning them to fixed octets within the SBI BUS structure. The S/UNI-IMA-84 drives ADATA[7:0] only at uniquely assigned tributary columns within the SBI BUS structure. The ADATA[7:0] output signals are updated on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 62 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function ADP Tristate Output L1 The Add Bus Data Parity (ADP) signal carries the even or odd parity for the add bus signals. The parity calculation encompasses ADATA[7:0], APL and AV5 signals. The selection of even or odd parity is made via SBI_PAR_CTL bit of SBI Insert Control Register. The S/UNI-IMA-84 drives ADP only at uniquely assigned tributary columns within the SBI BUS structure. The ADP output signal is updated on the rising edge of REFCLK. APL Tristate Output K3 The Active High Add Bus Payload (APL) is an active high signal that indicates valid data within the SBI BUS structure. This active high signal is asserted during all octets making up a tributary. This signal goes high during the V3 or H3 octet within a tributary to accommodate negative timing adjustments between the tributary rate and the fixed SBI BUS structure. This signal goes low during the octet after the V3 or H3 octet within a tributary to accommodate positive timing adjustments between the tributary rate and the fixed SBI BUS structure. The S/UNI-IMA-84 drives the APL only at uniquely assigned tributary columns within the SBI BUS structure. The APL output signal is updated on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 63 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function AV5 Tristate Output L2 The Active High Add Bus Payload Indicator (AV5) is an active high signal that locates the position of the floating payload for each tributary within the add bus structure. The S/UNI-IMA-84 drives AV5 only at uniquely assigned tributary columns within the SBI BUS structure. All movements indicated by this signal are accompanied by appropriate adjustments in the APL signal. The AV5 output signal is updated on the rising edge of REFCLK. AJUST_RE Q Input P1 The Active High Add Bus Justification Request (AJUST_REQ) signal is used to speed up or slow down the S/UNI-IMA-84 which is sending data to the PHY (e.g., TEMUX). This active high signal indicates negative timing adjustments when asserted high during the V3 or H3 octet, depending on the tributary type. In response to this, the S/UNI-IMA-84 will send an extra byte in the V3 or H3 octet of the next frame. This signal indicates positive timing adjustments when asserted high during the octet following the V3 or H3 octet, depending on the tributary type. The S/UNI-IMA-84 will respond to this by not sending an octet during the V3 or H3 octet of the next frame. All timing adjustments from the S/UNI-IMA-84 in response to the justification request will still set the payload and payload indicators appropriately for timing adjustments. The AJUST_REQ input signal is sampled on the rising edge of REFCLK. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 64 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function AACTIVE Output K4 The Add Bus Active Indicator (AACTIVE) is an active high signal that is asserted during all octets when driving data and control signals - ADATA[7:0], ADP, APL and AV5 – onto the Add bus. All other SBI Link Layer devices (e.g., other S/UNIIMA-84s on the SBI bus) driving the Add bus listen to this signal to detect multiple sources driving the Add bus, which can occur due to configuration problems The AACTIVE output is asserted on the rising edge of REFCLK. ADETECT Input N3 The Add Bus Active Detector (ADETECT) signal indicates when another device is driving the Add bus. Other Link Layer device AACTIVE outputs can be externally OR’ed together and connected to ADETECT. When the S/UNI-IMA-84 is driving AACTIVE high and simultaneously detects ADETECT is high, it tristates its Add bus outputs to minimize or eliminate contention. ADETECT is an asynchronous signal which is used to disable the tristate drivers on the ADD bus. The AND of AACTIVE and ADETECT is used. to indicate that a collision has occurred. This input must be tied low when not used. 9.9 General (5 signals) Pin Name Type Pin No. Function RSTB Input AE22 The Reset Bar (RSTB) is an active low signal that provides an asynchronous S/UNI-IMA-84 reset. RSTB is a Schmitt-triggered input with an internal pull-up resistor. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 65 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function OE Input AF22 The Output Enable (OE) is an active high signal that allows all of the outputs of the device to operate in their functional state. When this signal is low, all outputs of the S/UNI-IMA-84 go to the high impedance state, with the exception of TDO. SYSCLK Input AE10 The System Clock (SYSCLK) signal is the master clock for the S/UNI-IMA-84 device. The core S/UNIIMA-84 logic (including the SDRAM interface) is timed to this signal. External SDRAM devices share this clock and must have clocks aligned within 0.2ns skew of the clock seen by the S/UNI-IMA-84 device. This clock must be stable prior to deasserting RSTB 0->1. SYSCLK must cycle at a 50-55 MHz instantaneous rate to support the maximum number of links (84 T1, 63 E1 or 3 DS3). REFCLK Input R3 SBI_MODE:The Reference Clock (REFCLK) signal is an externally generated 19.44MHz +/-50ppm clock with a nominal 50% duty cycle. REFCLK is common to both the add and drop sides of the SBI BUS. In CLK/Data mode, REFCLK is required and may be operated at frequencies up to 52 MHz. In general, for T1 and E1 links, 33 MHz is sufficient. See 12.3.2.3 for details on selecting the proper frequency. NC AD22 No Connect. This signal ball is not connected to the die. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 66 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 9.10 JTAG & Scan Interface (7 Signals) Pin Name Type Pin No. Function TCK Input A25 The Test Clock (TCK) signal provides timing for test operations that are carried out using the IEEE P1149.1 test access port. TMS Input B24 The Test Mode Select (TMS) is an active high signal that controls the test operations carried out using the IEEE P1149.1 test access port. The TMS signal has an integral pull-up resistor. The TMS input is sampled on the rising edge of TCK. TDI Input A24 The Test Data Input (TDI) signal carries test data into the S/UNI-IMA-84 via the IEEE P1149.1 test access port. The TDI signal has an integral pull-up resistor. The TDI input is sampled on the rising edge of TCK. TDO Tristate B23 The Test Data Output (TDO) signal carries test data out of the S/UNI-IMA-84 via the IEEE P1149.1 test access port. TDO is a tristate output that is inactive except when the scanning of data is in progress. The TDO output is updated/tristated on the falling edge of TCK. TRSTB Input C23 The Active low Test Reset (TRSTB) is an active low signal that provides an asynchronous S/UNI-IMA-84 test access port reset via the IEEE P1149.1 test access port. TRSTB is a Schmitt-triggered input with an integral pull-up resistor. Note that when not being used, TRSTB must be connected to the RSTB input. SCAN_MODE Input B A10 The Active low Scan Mode (SCAN_MODEB) is an active low signal that places the S/UNI-IMA-84 into a manufacturing test mode. Must be tied high to disable the scan logic. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 67 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Pin Name Type Pin No. Function SCANENB Input D10 The Active low Scan Enable (SCANENB) is an active low signal that enables the internal scan logic for production testing. Must be tied high to disable the scan logic. 9.11 Power (120 Signals) Pin Name Type Pin No. Function VDDI (1.8 V) Power E1 W3 AF14 AE19 Y26 R24 C17 A8 The core power pins (VDDI[7:0]) should be connected to a well-decoupled +1.8 V DC supply. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 68 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM VSS The VSS pins should be connected to A1,A26 GND. VSSO pins are ground pins for ports. B2,B25 VSSQ pins are “quiet” ground pins for ports. C3,C24 VSSI pins are core ground pins. All grounds D4,D9 should be connected together. D13,D14 D18,D23 J4,J23 N4,N23 P4,P23 V4,V23 AC4,AC9 AC13 AC14 AC18 AC23 AD3,AD24 AE2,AE25 AF1,AF26 K10,K11 K12,K13 K14,K15 K16,K17 L10,L11 L12,L13 L14,L15 L16,L17 M10,M11 M12,M13 M14,M15 M16,M17 N10,N11 N12,N13 N14,N15 N16,N17 P10,P11 P12,P13 P14,P15 P16,P17 R10,R11 R12,R13 R14,R15 R16,R17 T10,T11 T12,T13 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 69 T14,T15 T16,T17 U10,U11 VSS (VSSI, VSSO, VSSQ) Ground PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 VDD (3.3V) Power D7 D11 D16 D20 G4 G23 L4 L23 T4 T23 Y4 Y23 AC7 AC11 AC16 AC20 INVERSE MULTIPLEXING OVER ATM VDD (3.3V) The I/O power pins (VDD) should be connected to a well-decoupled +3.3 V DC supply. These pins include the VDDO pins for the switching, as well as the VDDQ for the quiet power pins. Notes on Pin Description: • All S/UNI-IMA-84 I/O present minimum capacitive loading and operate at TTL logic levels and can tolerate 5.0V levels. • Inputs RSTB, ALE, TCK, TMS, TDI and TRSTB, TSCLK, CTSCLK, RSCLK, RSDATA, an OE have internal pull-up resistors. • Power to the VDD (3.3V) pins should be applied before power to the VDDI (1.8V) pins is applied. Similarly, power to the VDDI (1.8V) pins should be removed before power to the VDD (3.3V) pins is removed. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 70 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10 ISSUE 4 INVERSE MULTIPLEXING OVER ATM FUNCTIONAL DESCRIPTION This section describes the function of each entity in the S/UNI-IMA-84 block diagram. Throughout this document the use of the term “transmit” implies data read in from the cell interface and sent out the lineside interface. Conversely, “receive” is used to describe the data path from the lineside interface to the cell interface. The term “virtual PHY” refers to a single flow on the Any-PHY/UTOPIA bus. Each IMA group or a single TC connection is mapped to a virtual PHY. For simplicity, both an IMA group and a TC connection will be referenced as a group. Each IMA group can map data to/from multiple links. Each TC group is mapped to a single link. The term “link” refers to either: (1) a T1, E1, or DS3 link that is multiplexed onto the SBI bus or (2) a single T1/E1 link or unchannelized link on the clock/data interface. When supporting fractional T1/E1 via the Clock/Data interface, the timeslots that are chosen to be part of the fractional connection are also referred to as a link. Within the clock/data interface, the external links are mapped to a contiguous space identified as Virtual Links. To support multiple fractional TC flows on a single external signal, a mapping is used to split a single channelized external signal into multiple Virtual Links. At the per-link FIFOs, the clock/data Virtual Link naming convention is used synonymously with the Physical Link naming convention. 10.1 Any-PHY/UTOPIA Interfaces The ATM cell interfaces are Any-PHY compliant 8/16 bit slave interfaces which are compatible with the following options: • Any-PHY Slave • UTOPIA Level 2, 31-port slave (multi-PHY-mode) • UTOPIA Level 2, single port slave (single address mode) for receive side only. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 71 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 10.1.1 Transmit Any-PHY/UTOPIA Slave (TXAPS) In the transmit direction, each S/UNI-IMA-84 receives cells on the AnyPHY/UTOPIA L2 compatible interface operating at clock rates up to 52 MHz and supporting 16-bit and 8-bit wide cells. The S/UNI-IMA-84 operates as a bus slave only. Cell transfers are cell-based, that is, an entire cell is transferred from one PHY device before another is selected. Polling occurs concurrently with cell transfers to ensure maximum throughput. Data pausing is not supported in Any-PHY mode. If the TENB is deasserted prior to a complete cell being transferred, the cell transfer error interrupt will be triggered. 10.1.1.1 UTOPIA Level 2 Multi-Address Slave Mode In the UTOPIA Level 2 Multi-address Slave mode, the transmit interface of the S/UNI-IMA-84 appears as a 31 port multi-PHY. An 11-bit configuration register TCAEN (only 4 bits are used in UL2 mode) controls the response to polling the individual channels within this group of 31 ports. Setting high on TCAEN[0] enables addresses 0 through 7, and TCAEN[3] enables addresses 24 through 30. This is typically used to allow more than one slave device to share the Transmit Any-PHY/UTOPIA master bus. For UTOPIA L2 Mode, only 31 ports are available, using 31 independent FIFOs. UTOPIA L2 Mode limits the S/UNI-IMA-84 to 31 IMA groups or TC links. Only TADR[4:0] are used for polling and selection. Each FIFO will only assert TCA when polled if it is not in the process of transferring a cell and if there is room in the FIFO for a complete cell. Unlike Any-PHY, in UTOPIA Mode the virtual PHY port must first be selected prior to the start of the data transfer. This selection is done using the same address lines that are used for polling in combination with the TENB pin. 10.1.1.2 Any-PHY Slave Mode In the Any-PHY slave mode, the transmit interface of the S/UNI-IMA-84 appears as a multi-PHY device with 84 ports used for the data path where all ports are identified in the in-band address. The configuration register TCAEN controls the response to polling the individual channels within this group of 84 ports. Setting high on TCAEN[0] enables addresses 0 through 7, and TCAEN[3] enables addresses 24 through 31. This is typically used to allow more than one slave device to share the Transmit Any-PHY/UTOPIA master bus. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 72 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Conceptually, the Any-PHY protocol can be divided into two processes: polling and cell transfer. Polling in the transmit direction is used by the bus master – typically a traffic buffering and management device – to determine when a buffered data cell can be safely sent to a PHY. The S/UNI-IMA-84 provides an independent 3-deep cell buffer FIFO for each virtual PHY. In total, there are 84 FIFOs. This arrangement ensures that there is no head-of-line blocking, while providing latitude to the master for servicing high data rate ports as well as low data rate ports. The traffic manager need only poll those virtual PHYs for which it has cells queued. A cell transfer can be initiated after a polled virtual PHY asserts the TPA output. Each virtual PHY’s cell buffer availability status (i.e., the status that will be driven onto the TPA output when the virtual PHY is polled) is deasserted when the first byte of the last cell is written into the buffer. It is re-asserted only when the FIFO can accept another complete cell. In Any-PHY mode, polling is performed using the TADR[10:0] bus in conjunction with the TCSB. Each S/UNI-IMA-84 uses the TADR[6:0] bits to indicate the 84 logical virtual PHYs. The upper bits from the TADR bus, TADR[10:7], are compared to the configured address to select the device. The remaining address bits from the traffic manager are decoded externally and are used to drive the TCSB. The address prepend field in the cell transfer contains the entire 16-bit address. In 8-bit mode, the prepend address is reduced to 8-bits. In Any-PHY mode, the cell transfer is initiated after a successful poll. The virtual PHY address is prepended to the cell, thus performing an inband selection. The S/UNI-IMA-84 monitors the address prepend on the cell transfer to detect its cells. 10.1.1.3 Transmit Cell Transfer Format The Transmit Cell Transfer Format is shown in Figure 5 and Figure 6. Word/byte 0 is required for cell transfers to an Any-PHY slave. The address prepend is the S/UNI-IMA-84 virtual PHY ID. The virtual PHY ID can be mapped to a TC link or to an IMA group. Optional prepends are supported, but are ignored by the S/UNIIMA-84. Inclusion of optional words is statically configurable for the interface. The optional words are always ignored. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 73 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Figure 5 ISSUE 4 INVERSE MULTIPLEXING OVER ATM - 16-bit Transmit Cell Transfer Format Bits 15-8 Bits 7-0 Address Prepend Word 0 (Any-PHY only) Optional Prepend Word 1 (Optional) Word 2 H1 H2 Word 3 H3 H4 HEC/UDF Word 4 Word 5 PAYLOAD1 PAYLOAD2 Word 6 PAYLOAD3 PAYLOAD4 • • • • • • PAYLOAD47 Word 28 Figure 6 PAYLOAD48 - 8-bit Transmit Cell Transfer Format Bits 7-0 Byte 0 Address Prepend (Any-PHY only) Byte 1 Optional Prepend[15:8] (Optional) Byte 2 Optional Prepend[7:0] (Optional) Byte 3 H1 Byte 4 H2 Byte 5 H3 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 74 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Byte 6 H4 Byte 7* HEC Byte 8 PAYLOAD1 • • • Byte 55 PAYLOAD48 10.1.2 Receive Any-PHY/UTOPIA Slave (RXAPS) In the receive direction, each S/UNI-IMA-84 transmits cells on an AnyPHY/UTOPIA L2 compatible interface operating at clock rates up to 52 MHz and supporting 16-bit and 8-bit wide cells. The S/UNI-IMA-84 operates as a bus slave. In all modes, an optional prepend is allowed on the bus. This prepend will always be set to zero and has no significance to the S/UNI IMA-84 but is provided for interoperability. 10.1.2.1 UTOPIA Level 2 Multi-Address Slave Mode In UTOPIA Level 2 Multi-Address Slave mode, the S/UNI-IMA-84 operates as a 31 port multi-PHY with each virtual PHY stored in its own FIFO. UTOPIA L2 Mode limits the S/UNI-IMA-84 to 31 IMA groups or TC links. A 4-bit configuration register, RCAEN, controls the response to polling the individual channels within this group of 31 ports. Setting RCAEN[0] enables addresses 0 through 7, and RCAEN[3] enables addresses 24 through 30. This is typically used to allow more than one slave device to share the Receive UTOPIA master bus. When polled, the Receive Packet Available (RPA) output indicates whether there is at least one cell available for transfer from the polled link. Upon selection, the interface handles data pausing anywhere in the middle of a cell transfer. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 75 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.1.2.2 ISSUE 4 INVERSE MULTIPLEXING OVER ATM UTOPIA Level 2 Single-Address Slave Mode In UTOPIA Level 2 Single Address Slave mode, the S/UNI-IMA-84 operates as a single device with a single large 124 cell FIFO, with all cells being identified by their virtual PHY ID (VPHY ID) in an address prepend. Each IMA or TC connection is limited to a maximum of 16 cells in the FIFO. The address prepend may be optionally mapped to the HEC/UDF field in order to maintain the standard cell length. When the address presented on the Any-PHY/UTOPIA Interface RADR pins matches a programmable 5-bit configuration register (DEVID), the RXAPS will respond to polls. In all other cases, the output signals are tristated which allows other slave devices to respond. When polled, the RPA output indicates whether there is at least one cell available for transfer from any link. 10.1.2.3 Any-PHY Slave Mode In Any-PHY Slave mode, the S/UNI-IMA-84 operates as a single device with a single large 124 cell FIFO, with all cells being identified by their virtual PHY ID (VPHY ID) in a address prepend. Each IMA or TC connection is limited to a maximum of 16 cells in the FIFO. When the address presented on the AnyPHY/UTOPIA Interface RADR pins matches a programmable 5-bit configuration register (DEVID), the RXAPS will respond to polls. In all other cases, the output signals are tristated which allows other slave devices to respond. When polled, the RPA output indicates whether there is at least one cell available for transfer from any link. In Any-PHY mode, data pausing is not supported. To support current and future ATM Layer devices, the cell interface is configurable as either an Any-PHY or UTOPIA L2 interface. Table 2 summarizes the distinctions between the two protocols. Table 2 UTOPIA L2 and Any-PHY Comparison Attribute UTOPIA L2 Any-PHY Latency RDAT[15:0], RPRTY, and RSOP are driven or become high impedance immediately upon sampling RENB low or high, respectively. The RPA is driven with the cell availability status one CLK cycle after the RADR[4:0] RDAT[15:0], RPRTY, RSOP and RSX are driven or become high impedance on the RCLK rising edge following the one that samples RENB low or high, respectively. The RPA is driven with the cell PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 76 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.1.2.4 ISSUE 4 INVERSE MULTIPLEXING OVER ATM pins match the S/UNI-IMA84’s address. A match is defined as either matching the programmed value in single PHY mode or being within the correct range for multi-PHY mode. availability status two CLK cycles after RADR[4:0] pins match the S/UNI-IMA-84’s address. RSX Undefined. It is low when not high impedance. High coincident with the first word of the cell data structure. RSOP High coincident with the first word of the cell data structure. High coincident with the first byte of the cell header. Paused transfers Permitted by deasserting RENB high, but the S/UNIIMA’s address must be presented on RADR[4:0] the last cycle RENB is high to reselect the same PHY. Not Permitted. Autonomous deselection Not supported. A subsequent cell is output (provided one is available) if RENB is held low beyond the end of a cell. The outputs become high impedance after the last word of a cell is transferred and until the S/UNI-IMA-84 is reselected. Receive Cell Transfer Format The cell format for the receive direction is the same as the transmit interface; see Figure 7 and Figure 8 for the formats. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 77 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Figure 7 ISSUE 4 INVERSE MULTIPLEXING OVER ATM - 16-bit Receive Cell Transfer Format Bits 15-8 Bits 7-0 Address Prepend Word 0 (Any-PHY and single channel UL2 only*) Optional Prepend Word 1 (Optional) Word 2 H1 H2 Word 3 H3 H4 HEC/UDF Word 4* Word 5 PAYLOAD1 PAYLOAD2 Word 6 PAYLOAD3 PAYLOAD4 • • • • • • PAYLOAD47 Word 28 PAYLOAD48 Note: Address prepend for Single Channel UL2 may be inserted in HEC/UDF field instead of prior to the cell. Figure 8 - 8-bit Receive Cell Transfer Format Bits 7-0 Byte 0 Address Prepend (Any-PHY and single channel UL2 only*) Byte 1 Optional Prepend[15:8] (Optional) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 78 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Optional Prepend[7:0] Byte 2 (Optional) Byte 3 H1 Byte 4 H2 Byte 5 H3 Byte 6 H4 Byte 7* HEC Byte 8 PAYLOAD1 • • • PAYLOAD48 Byte 55 Note: Address prepend for Single Channel UL2 may be inserted in HEC/UDF field instead of prior to the cell For Any-PHY mode or single-PHY mode, the address prepend field encoding indicates the virtual PHY ID. The virtual PHY ID contains 2 sections, the lower 7 bits indicates the virtual PHY ID with valid values for 0 to 83, while the upper bits are user programmable and not used by the device but may be required in a user’s system for unique device identification when multiple devices exist on a bus. For UTOPIA multi-PHY mode, the address prepend is not used. 10.1.3 Summary of Any-PHY/UTOPIA Modes The following table summarizes the available modes of the Any-PHY/UTOPIA Interfaces Mode Dir & UL2 Single PHY UL2 Multi-PHY Any-PHY Not supported PHY Channels: 31 PHY Channels: 84 Channel Enable Register: Channel Enable Register: Protocol TX Poll PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 79 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM TCAEN(3:0) TCAEN(10:0) Channel Address Pins: TADR(4:0) Device ID Register: Status Pin: TCA Channel Address Pins: TADR(6:0) CFG_ADDR(10:7) Device Address Pins: TADR(10:7) Address Qualifier Pin: TCSB Status Pin: TCA TX Select Not supported PHY Channels: 31 PHY Channels: 84 Channel Enable Register: Channel Enable Register: TCAEN(3:0) TCAEN(10:0) Channel Address Pins: TADR(4:0) Device ID Register: CFG_ADDR(15:7) or (7) Select Pin: TENB Channel Address: Prepend bits (6:0) Device Address: Prepend bits (bit 15:7, for 16 bit mode) or (bit 7 for 8-bit mode) Select Pin: TENB TX Transfer Not supported Cell Size: 8 bit X 53 or 55 bytes Cell Size: 8 bit X 54 or 56 bytes Cell Size: 16 bit X 27 or 28 words Cell Size: 16 bit X 28 or 29 words Enable Pin: TENB Enable Pin: TENB, TSX to indicate first byte of transfer. Pause in Cell: w/ TENB RX Poll PHY Channels: 1 PHY Channels: 31 PHY Channels: 1 (in-band addressing is used to identify virtual PHYs) Device ID Register: DEVID(4:0) Channel Enable Register: Device ID Register: DEVID(4:0) RCAEN(3:0) RX Select Device Address Pins: RADR(4:0) Channel Address Pins: RADR(4:0) Device Address Pins: RADR(4:0) Status Pin: RCA Status Pin: RCA Status Pin: RCA PHY Channels: 1 PHY Channels: 31 PHY Channels: 1 Channel Enable Register: Device ID Register: DEVID(4:0) Device ID Register: DEVID(4:0) RCAEN(3:0) RX Transfer Device Address Pins: RADR(4:0) Channel Address Pins: RADR(4:0) Device Address Pins: RADR(4:0) Select Pin: RENB Select Pin: RENB Cell Size: 8 bit X 53, 54, 55 or 56 Cell Size: 8 bit X 53 or 55 bytes Select Pin: RENB Cell Size: 8 bit X 54 or 56 bytes bytes Cell Size: 16 bit X 27, 28 or 29 Cell Size: 16 bit X 27 or 28 words Cell Size: 16 bit X 28 or 29 words Enable Pin: RENB Enable Pin: RENB words Enable Pin: RENB Channel Address: Prepend or UDF Pause in Cell: w/ RENB Channel Address: Prepend PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 80 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 10.1.4 ANY-PHY/UTOPIA Loopback For diagnostic purposes, the capability to loopback all Any-PHY/UTOPIA traffic back to the Any-PHY/UTOPIA bus is provided. Cells are taken from the Transmit group FIFOs and placed into the respective Receive Group FIFOs, or to a single FIFO on a space available basis. If the receive interface is in Any-PHY or single address UTOPIA L2 mode, all tx ports are looped back to the respective rx port. If the receive Interface is in multiple port UTOPIA L2 mode and the transmit AnyPHY is configured in 84-port Any-PHY mode, the 84 transmit ports will be aliased onto the 31 receive ports. Transmit port numbers 31 and 63 will be blocked and are not functional for loopback operations. 10.2 IMA Sub-layer 10.2.1 Overview The IMA protocol provides inverse multiplexing of a single ATM stream over multiple physical links and reassembles the original cell stream at the far-end. The inverse multiplexing is performed on a cell basis; hence, the IMA protocol is described as a cell-based protocol. See Figure 9 below. The protocol is based upon the concept of an IMA frame. An IMA frame is programmable in size and is delineated by an IMA Control Protocol (ICP) Cell. It is recommended that the ICP cells of each link in the IMA group be offset from each other to reduce the notification time of link/group status changes. The transmitter is responsible for aligning the IMA frames on all links within a group, and for ensuring that cells are transmitted continuously by adding filler cells as necessary. To maintain frame alignment in the presence of independently timed line clocks, a cell based stuffing algorithm is utilized. Since the IMA frames are aligned on transmission, this allows the receive end to recover the IMA frames and align them to remove any differential delay between the physical links. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 81 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 9 INVERSE MULTIPLEXING OVER ATM - Inverse Multiplexing IMA Group Physical Link #0 PHY PHY IMA Group Physical Link #1 PHY PHY Single ATM Cell Stream from ATM Layer Original Cell stream passed to ATM Layer PHY Physical Link #2 PHY IMA Virtual LInk Tx direction cells distributed across links in round robin sequence Rx direction cells recombined into single ATM stream 10.2.2 IDCC scheduler The IMA Data Cell Clock (IDCC) scheduler calculates the IMA Data Cell Rate (IDCR) for each group that is used by both the Receive and the Transmit IMA processors. There is one scheduler for each direction (TXIDCC and RXIDCC), and each scheduler can monitor the rate of up to 84 reference clocks; each scheduler can also generate up to 84 IDCC clocks based upon IDCR. For each group, the reference link can be selected to be one of the 84 monitored links. Each of the monitored links can only be the reference link for one group. IDCR is calculated using the following equation, with Non and M set independently for each IDCR generator. Non is the number of active links, M is the size of the IMA frame, and TRL Cell Rate (TRLCR) is the cell rate of the reference link. IDCR = Non X TRLCR X (M-1/M) X (2048/2049) TRLCR is generated from the byte rate. The byte rate is obtained by monitoring the data transfers on the internal bus in the TC layer. For each IDCR clock tick, a service request is generated and placed into a rate based FIFO. Since there may be many requests generated in a short amount of time and the rate at which each request is generated may be different, a method is required to arbitrate between the requests to prevent blocking of high rate requests by large numbers of low rate requests. To achieve this, each request is placed into a priority FIFO. The priority of the request is based upon its rate. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 82 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM There are a total of 5 rate-based FIFOs. When a service request is accepted by the Transmit IMA processor (TIMA) or the Receive IMA Data Processor (RDAT), the next request to be presented is taken from the highest priority FIFO that has an entry. In this manner, the higher rate requests get higher priority than the lower rate requests. Since the S/UNI-IMA-84 can always service all of the requests, this algorithm limits the CDV experienced by any service request to approximately one inter-arrival time of the service request for each group. Rate changes are restricted to IMA frame boundaries. An IMA frame boundary occurs once every (M-1)*N service requests. When a request is received to change the rate(Non), the request is saved until the next IMA frame boundary, at which point it takes effect. By restricting rate changes to frame boundaries, the rate accuracy is preserved preventing FIFO underflows/overflows. Since rate changes are not instantaneous, a vector that represents the active Link IDs (LIDs) in the group is passed with the service request. In this manner, the entity receiving the service requests is informed of the change in rate and of which links should currently be in the round robin for servicing. All IMA-based rate changes are internally managed by the S/UNI-IMA-84; no user interaction is necessary for correct scheduling. The IDCC is also used for scheduling the TC data flow. In this case, the rate generated is simply the cell rate of the TC link and is not modified for IMA ICP cells or stuff cells according to the following equation: IDCR = TRLCR For all TC connections, the IDCC must be configured in TC mode for the physical link. 10.2.3 Transmit IMA Processor (TIMA) The TIMA is responsible for the transmit IMA functions. This consists of distributing the cells arriving from the ATM layer to links in a group and for inserting ICP cells, filler cells, and stuff cells as required by the IMA protocol. Additionally, the TIMA can support cell transmission on connections using only the Transmission Convergence (TC) sublayer without the use of the IMA protocol sublayer. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 83 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.2.3.1 ISSUE 4 INVERSE MULTIPLEXING OVER ATM IMA Frame The Transmit IMA processor creates the IMA frame by inserting an ICP cell after every (M-1) cells per link. Values of M supported are 32, 64, 128, and 256. The ICP cell is offset within the IMA frame. This offset is programmable on a per-link basis, and the offsets should spread throughout the frame. To avoid interaction between groups, the offsets within a group may not be aligned at the same offset. If offsets are aligned at the same offset within a group, the CDV experienced by other groups will be increased. Each frame is identified with an IMA frame sequence number (IFSN); this number is the same for every link in the group that is within the same frame and increments with each frame. The TIMA is responsible for aligning the transmission of the IMA frame on all links within a group. 10.2.3.2 Stuffing Procedure The TIMA can support both Independent Transmit Clock (ITC) and Common Transmit Clock (CTC) modes. The difference between these modes is the stuffing protocol. The method of stuffing is set independently from the clocking mode present in the ICP cell. In CTC mode, a stuff cell is added after 2048 cells on each link. The stuff cell is identical to the ICP cell and is inserted immediately following the ICP cell. The stuff cell events will occur on the same frame on all links; however, the programmed ICP offsets determine at which cell in the frame the stuff event will occur. In ITC mode, a stuff cell is added to the reference link after 2048 cells on the reference link. On all other links in the group, stuff cells are added as necessary to compensate for data rate differences between the link and the reference link of the group. The added stuff cells (or lack of stuff cells) keep the data rate between links equalized. The stuff cell is generated immediately after the ICP cell and both the ICP cell and the stuff cell are identified as stuff cells via the Link Stuff Indication (LSI) field of the ICP cell. In CTC mode, the stuff event is always advertised in the ICP cell of the preceding frame. The stuff event may also be advertised in the 4 preceding frames. It is programmable per group whether the ICP cell is advertised starting 1 frame or 4 frames prior to the occurrence of the stuff event. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 84 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM In ITC mode, the stuff event may be advertised in the ICP cell of the preceding frame or in the four preceding frames. If the stuff event needs to be advertised for four preceding frames, a DS1/E1 clock tolerance of +/- 50 ppm, or better, is required. If a frequency tolerance of +/- 50 ppm cannot be met among the independent transmit clocks, the TIMA can provide the single frame advertisement of stuff events. To determine when a stuff cell is needed on ITC mode links (not the TRL), a link stuff detection unit with rate counters is used to track the relative rate of data being read from the link FIFOs within a group to the rate of data being read from the TRL FIFO for the same group. When the relative rate counter indicates that the rate differences have accounted for a slip of a cell, a stuff cell is inserted. 10.2.3.3 Data Flow The TIMA can support up to 84 groups (IMA group or TC link). Each FIFO on the ATM-layer interface side represents either an IMA group or a TC group. Each group’s behavior is controlled by the internal memory tables and records. For IMA groups, the following internal memory structures are used: 1) the Transmit IMA Group Configuration Record for configuring group options and mapping to a port on the ATM interface (VPHY ID) 2) Transmit IMA Group Context Record contains statistics and the current ICP cell image. 3) Transmit LID to the PHYsical Link Mapping Table is used to map individual physical links into a group and assign the LIDs.. 4) TIMA Physical Link Context Record contains per-link statistics, and state information. For TC links, only one record is used, the Transmit Physical Link Record, to maintain statistics and to map the physical link to a port on the ATM interface (VPHY ID). The TIMA performs cell transfers from the group FIFOs to the link FIFOs in response to service requests from the TxIDCC. The TxIDCC schedules both IMA groups, as well as low and high rate (DS3) TC-only connections. Groups are scheduled according to their rates. Higher-rate groups are prioritized above the lower-rate groups. The TIMA operates at a rate sufficient to ensure the TxIDCC will not suffer request congestion provided the ICP cells are spread throughout PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 85 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM the frame on IMA groups. If there is no service request pending, the TIMA remains idle. If a group is unused, no cells will be pulled from the respective group FIFO. Therefore, when de-activating groups, ATM cell flow to the S/UNIIMA-84 should be terminated prior to de-activating the group in order to prevent stale data from being stored in the group FIFO. 10.2.3.3.1 IMA Service For each IMA group-service request, a cell is transferred from the group FIFO to one of the link FIFOs. If no cell is available from the group FIFO, an IMA filler cell is generated and placed in the link FIFO. The link FIFOs within a group are serviced in a round-robin fashion, with the round-robin order determined by the LID. If the next link in the round robin is due to receive an ICP cell, the ICP cell is generated using the link and group state information from the Transmit IMA Group Context Record, and the LID and LSI from the link. If a stuff event is scheduled, the stuff ICP cell is also inserted. Whenever an ICP cell is inserted, the IMA group servicing proceeds to the next link in the round robin without waiting for another service request. The IMA group service is complete when either: (1) a cell is transferred from the group FIFO or (2) an ATM filler cell is generated. When links are in the process of being added, but are not yet available for carrying data traffic, IMA frames consisting of filler cells and ICP cells are generated. Such links are not scheduled by the TxIDCC scheduler, but will be processed with the currently active links. During group start-up, even with all of the transmit links in the unusable state, the TxIDCC scheduler is started and IMA frames are generated. During group start-up (i.e. links are not yet in the active state), a group can be configured such that cells received via the UTOPIA L2 / Any-PHY bus can be dropped to avoid the accumulation of stale data or to drop stale data in the group FIFO left over from a previous use of the VPHY ID. . During link additions, IMA frames are generated on new links when they are added to the group. 10.2.3.3.2 TC Only Service For TC-only mode groups, servicing is also initiated by group service requests from the TxIDCC. However, servicing a group FIFO simply entails transferring a cell from the group FIFO to the proper link FIFO. If a cell is not present in the group FIFO, no cells are transferred and the servicing of the request is complete. In TC mode, no other cells are inserted into the data stream by the IMA sub-layer (physical layer idle cells are generated by the physical layer). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 86 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.2.3.4 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Timing Reference Link Maintenance It is possible to have the timing reference link for an IMA group change from one link to another while the IMA connection is in operation. If an IMA group is operating in CTC mode, the reference link used for the scheduling is simply switched. The next stuff cell insertion still occurs 2049 cells after the previous stuff. If the IMA group is operating in ITC mode and the reference link is switched, the first stuff insertion on the new TRL occurs at approximately the same frame a stuff would have been inserted had it not become the TRL. At the time of the TRL change, the existing accrued rate differential on the new TRL is used to prorate the number of cells out of 2048 until the next TRL stuff. Although the first stuff will occur at approximately the proper number of cells to maintain the correct differential delay, the actual time of the stuff will be dependent on the new TRL rate. Similarly, the first stuff cell insertion on the previous TRL occurs in approximately the same frame a stuff cell would have been inserted had it still been the TRL although the actual frame for stuff insertion will also be dependent on the rate difference with the new TRL. This minimizes any effects on the differential delay for the group as well as reducing any FIFO level changes. All subsequent stuff cell insertions on the TRL then happen after every 2048 cells and all subsequent stuff cell insertions on the former TRL are dependent only on the link’s rate difference from the new TRL. 10.2.4 Receive IMA Data Processor (RDAT) The Receive IMA Data Processor (RDAT) performs the IMA data-flow functions in the receive direction including the IMA Frame Synchronization Mechanism (IFSM), storage of data for accommodating differential delay, defect detection, and playout of data in a round robin fashion. The number of links and the differential delay tolerance required determine the SDRAM size used for the Delay Compensation Buffers (DCB). Two configurations of SDRAM are supported: 16 Mbit (1 Mbit x 16) and 64 Mbit (4 Mbit x 16), both are available as single chip devices. Differential-delay tolerance may be configured through registers on a per-group basis to any value up to the maximum listed in Figure 10. Buffering is allocated on a per link basis. Each link is allocated the same number of cell buffers. Either 256 or 1024 cell buffers may be allocated per link. See Figure 10 for the required memory sizes. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 87 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 10 - Max Differential Delay Tolerance vs. SDRAM Size # of T1/E1 Links Cells of Buffering 32 T1/ 32 E1 84 T1/ 63 E1 84 T1 / 63 E 10.2.4.1 INVERSE MULTIPLEXING OVER ATM 1024 256 1024 Delay (T1) Delay (E1) in in ms ms 279 ms 69 ms 279 ms SDRAM size 226 ms 1Mbit x16 56 ms 1Mbit x16 226 ms 4Mbit x16 Writing data to the Delay Compensation Buffers (DCB) When there is a full cell of data in the RX Link FIFOs, the link requests service. In order to support DS3 rates, the Synchronous Payload Envelope (SPE) concept is carried over from the SBI Interface. The link FIFOs are divided into 3 groups where each group is given 1/3 of the bandwidth. The RDAT arbitrates between links requiring service within each group. If a group does not use its priority bandwidth, it is made available to the next group. This arbitration also works with the Clock/Data interface since all links should be close in rate. When a link is chosen for service, if it is not an IMA link, the cells are stored in external memory in a per link FIFO. For IMA links, the IFSM is performed to locate the IMA Frame. Once the IMA frame is located, the RDAT calculates the location to store the cells. The cells are stored in a time-based FIFO structure. The buffer address for a cell is created from the cell number in the IMA frame concatenated with the lower x (depends upon M) bits of the IMA frame sequence number. Each link has its own reserved FIFO. The cells are stored in this manner such that they are aligned in time in the external memory and the differential-delay removal is simplified. During periods in which the link is in a defect state, incoming cells will be replaced with filler cells prior to being written to the DCB. 10.2.4.2 IMA Frame Synchronization Mechanism (IFSM) For IMA links, the RDAT performs the IFSM. The IFSM is based upon the cell delineation mechanism in I.432. The details of the IFSM can be found in AF-PHY0086.001 “Inverse Multiplexing for ATM (IMA) Specification Version 1.1”, March 1999. The state Machine is shown in Figure 11. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 88 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 11 INVERSE MULTIPLEXING OVER ATM - IFSM State Machine Valid ICP at unexpected position (with cell by cell hunting) Missing ICP Cell Starting State α=consecutive invalid ICP cells IMA SYNC (frame by frame) β=consecutive errored ICP cells IMA HUNT (cell by cell) One invalid or errored/missing ICP cell One valid ICP cells γ=consecutive valid ICP cells IMA PRESYNC (frame by frame) Valid ICP at unexpected position (with cell by cell hunting) During group start-up, the fields in the ICP cells are validated by the RX IMA Protocol Processor (RIPP) block and the validated information is used to determine whether the ICP cells are valid or not. Validation by the RIPP checks the group fields of the ICP cell to ensure that they match the rest of the group and checks the LID to ensure that it is unique in the group. An ICP cell is invalid if either the IMA OAM Label, the LID, the IMA_ID, M, IFSN or the offset is not the same as the validated values. If the ICP cell cannot be validated by the RIPP (i.e. the IMA_ID is different from the rest of the group or the LID is a duplicate), the IFSM will remain in the starting state. Once the ICP cells are validated by the RIPP, the IFSM will enter the IMA Hunt state. In this state, each cell will be examined to see if it is a valid ICP cell. When a single valid ICP cell has been received, the IFSM will enter the IMA Presync state. While in the Presync state, at each expected ICP location (determined by the ICP offset and the IMA Frame Length), the cell will be examined (frame by frame). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 89 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Once gamma (γ=)=valid ICP cells have been received, the IFSM will enter the IMA Sync state. If either: (1) an invalid (or errored) ICP cell is received or (2) a valid ICP cell is received in an unexpected location, the IFSM will re-enter the IMA Hunt state. While in the IMA Hunt state, the stuff indicators will be ignored. While in the IMA Sync state, ICP cells are continually examined for each frame. If beta (β=)=consecutive ICP cells with HEC, OCD, or CRC-10 errors (errored ICP cells) are received, then the IFSM will reenter the IMA Hunt state. Also, if alpha (α=)=consecutive invalid ICP cells are received, the IFSM will reenter the IMA Hunt state. If a cell is received at the expected ICP position without an HEC error or OCD and without the IMA OAM cell header, or is a filler cell, it is considered a missing ICP cell, and the IFSM will reenter the IMA Hunt state immediately. Finally, if a valid ICP cell is received at an unexpected position, the IFSM will reenter the IMA Hunt state. Alpha, Beta, and Gamma are globally programmable for the device. The RDAT keeps working-counts for these parameters for each link. It should be noted that alpha (the count of consecutive invalid ICP cells) will not be reset upon receipt of an errored cell; although beta (the count of consecutive errored ICP cells) will be reset upon receipt of an invalid ICP cell. 10.2.4.3 Stuff Events At this point, the RDAT detects and removes the stuff cells. Stuff cells are identified by the LSI field with the ICP cells. Stuff events consist of two back-toback ICP cells on the same link. One of the ICP cells is considered a stuff cell. Since stuff cells are inserted for the purpose of equalizing the data rate on links with independent clocks, stuff cells are removed. To improve robustness in the presence of errors, the transmitter is required to advertise that a stuff event is going to occur in the ICP cell in the frame preceding the stuff event. The transmitter may also advertise the stuff event for the 4 frames preceding the stuff event. Once a valid non-errored ICP cell has been received with a LSI of 001, 010, 011, or 100, the RDAT will maintain an internal stuff count in link-context memory. This count will be decremented every frame, until the stuff event occurs. The count will be decremented even if an incoming ICP cell is errored or invalid (as shown in Figure 12). An ICP cell received with an invalid stuff sequence (i.e., LSI of 001, when a LSI of 010 was expected) will be declared invalid, and the internal stuff count will be decremented from the previous value (as shown in Figure 13. The internal count is reset to the maximum when the stuff event occurs. A stuff PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 90 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM sequence of 111 followed by 000 is not considered an invalid stuff sequence (i.e., the RDAT will always accept immediate notification of a stuff event, to support the case when the 001 stuff cell was errored). Figure 12 - Stuff Event with Errored ICP (Advanced Indication) Time M-1 Filler or ATM Layer Cells Stuff event ICP Cell IFSN # i+3 LSI = 000 ICP Cell IFSN # i+4 LSI = 111 stuff_cnt =7 ICP Cell IFSN # i+3 LSI = 000 stuff_cnt =0 ICP Cell IFSN # i+2 LSI = 001 ICP Cell Errored ICP Cell IFSN # i LSI = 011 stuff_cnt =1 stuff_cnt =2 stuff_cnt =3 IFSN: IMA Frame Sequence Number LSI: Link Stuffing Indication Figure 13 - Invalid Stuff Sequence (Advanced Indication) Time M-1 Filler or ATM Layer Cells Stuff event ICP Cell IFSN # i+3 LSI = 000 ICP Cell IFSN # i+4 LSI = 111 stuff_cnt =7 ICP Cell IFSN # i+3 LSI = 000 stuff_cnt =0 ICP Cell IFSN # i+2 LSI = 001 ICP Cell IFSN #i+1 LSI=001 ICP Cell IFSN # i LSI = 011 stuff_cnt =1 stuff_cnt =2 stuff_cnt =3 IFSN: IMA Frame Sequence Number LSI: Link Stuffing Indication 10.2.4.4 IMA Frame Synchronization with Stuff Events The RDAT will maintain synchronization while receiving stuff events subjected to HEC or CRC errors, as shown in Figure 14. When one of the ICP cells comprising a stuff event is errored or invalid, the other will be used. If both are errored or invalid, then the internally maintained stuff count will be used to identify the stuff event (given that the advanced indicators were correct). All of the cases assume that the IFSM is in the IMA Sync state prior to the window shown, and that the current errored/invalid counts are zero. Cases (1) through (6) require that alpha or beta be programmed to a value greater than one for synchronization to be maintained. Case (7) requires that alpha or beta be PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 91 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM programmed to a value greater than two for synchronization to be maintained. Case (7) also requires that advance link stuff indication be given prior to the window shown in order to detect the stuff event. Figure 14 - Errored/Invalid ICP Cells in Proximity to a Stuff Event Time ICP n+1 ICP n (1) ICP ICP (2) ICP ICP … ICP (3) ICP ICP … ICP (4) ICP ICP … ICP (5) ICP ICP … ICP (6) ICP ICP … ICP (7) ICP ICP … ICP Stuff event ICP ICP M-1 Filler or ATM Layer Cells HEC/CRC Errored or Invalid ICP Cell PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 92 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.2.4.5 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Delay Compensation Buffers Since IMA must re-create the original cell stream in the proper order, delay compensation buffers (DCBs) are used to remove the differential delay between the links in a group. As cells arrive from each link, they are placed in that link’s DCB. Links with the least transport delay will have the largest amount of data in the DCB, while links with the largest amount of transport delay will have the least amount of data in the DCB. At group start-up, all the links are compared to determine the link with the largest transport delay and the link with the least transport delay. The difference between these is the differential delay. Data is queued for all links until the corresponding data arrives for the link with the largest transport delay. Figure 15, shows a group with 3 links with a differential delay of 5 cells. Link 0 has the shortest transport delay and link 2 has the longest transport delay. Once the data has arrived for all of the links, it is played out to the ATM layer at the IDCC rate, thus keeping the depths of each DCB at a nominally constant level. (Depths are instantaneously effected by the presence of stuff cells and ICP cells, but these effects are transitory). Figure 15 - Snapshot of DCB Buffers DCB Link 0 Write Pointer 0 DCB Link 2 19 16 13 Group Read Pointer DCB Link 1 Write Pointer 1 10 11 7 8 4 5 6 1 2 3 Write Pointer 2 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 93 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM When a group is already started, IMA supports the addition of links to the group. As illustrated by Figure 15, adding a link with a transport delay that is within the range of the existing links does not present any problems. The DCB for the new link must be aligned with the existing links and added to the round-robin for playout. Adding a link with a smaller transport delay increases the differential delay of the group. This requires that the depth of the DCB buffer be larger than any of the existing links. As long as the differential delay is within acceptable bounds, the new link can be accepted. The DCB for the new link is aligned with the existing links and added to the round-robin for playout. Figure 16 - Snapshot of DCB Buffers after addition of Link with smaller transport delay DCB Link 0 DCB Link 1 DCB Link 2 DCB Link3 Write Pointer 3 36 Write Pointer 0 32 25 21 17 Group Read Pointer 28 24 Write Pointer 1 20 13 14 16 9 10 5 6 7 8 1 2 3 4 Write Pointer 2 12 Adding a link with a larger transport delay requires the DCB buffer depth to be smaller than the DCB for the link with the largest delay. If the desired DCB depth for the new link is less than 0, this means that the data for the other links has been played out prior to the arrival of data for the new link. This is shown in Figure 17. For the new link to be accepted, delay must be added to all other links in the group. When delay is added to the other links in the group, the playout of ATM cells is halted until enough delay is built up. This causes CDV for the group. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 94 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Once the delay has been added, the DCB for the new link can be aligned with the existing links and added to the round-robin for playout. Figure 18 shows the case after delay was added to the existing links within the group. The adding of delay to a group may be disabled. In this case, the new link would be rejected due to a LODS defect meaning that the DCB could not be aligned with the group. Figure 17 - Snapshot of DCB Buffers when trying to add Link with larger transport delay DCB Link 0 Write Pointer 0 DCB Link 2 DCB Link3 25 21 17 Group Read Pointer DCB Link 1 Write Pointer 1 13 14 9 10 5 6 7 1 2 3 Write Pointer 2 Write Pointer 3 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE -5 95 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 18 - Snapshot of DCB Buffers after delay adjustment DCB Link 0 Write Pointer 0 INVERSE MULTIPLEXING OVER ATM DCB Link 1 DCB Link 2 DCB Link3 33 29 25 21 Group Read Pointer Write Pointer 1 22 17 18 13 14 9 10 11 5 6 7 8 1 2 3 4 Write Pointer 2 15 Write Pointer 3 When links are deleted from a group, the DCB buffer depths of the remaining links are not effected. As shown in Figure 19, links 2 and 3 have been deleted from the group and the depth of the delay compensation buffers remain unchanged. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 96 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 19 - Snapshot of DCB Buffers after deletion of links from group DCB Link 0 Write Pointer 0 INVERSE MULTIPLEXING OVER ATM DCB Link 1 13 11 10.2.4.6 DCB Link3 15 14 Group Read Pointer DCB Link 2 Write Pointer 1 12 9 10 7 8 5 6 3 4 1 2 Removed from group Removed from group IMA Link Error Handling For IMA operation, the RDAT is responsible for detecting Loss of IMA Frame defects (LIF), Idle Cells on IMA Links, Loss of Cell Delineation defects (LCD), and DCB overruns/underruns that contribute to Loss of Delay Synchronization (LODS). This information is forwarded to the RIPP with the ICP messages for processing and reporting. 10.2.4.6.1 IMA Error/Maintenance State Machine (IESM) A state machine is maintained for the LIF defect detection. This state machine is called the IMA Error/Maintenance State machine [IESM]. The state diagram for the IESM is shown in Figure 20. The RDAT maintains an IESM for each link. The LIF Defect state is the initial state for this process, thus all links will initially come up in the LIF condition. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 97 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 20 IMA Working State INVERSE MULTIPLEXING OVER ATM - IMA Error/Maintenance State Diagram Leaving IMA Sync state Entering IMA Sync state Out of IMA Frame (OIF) Anomaly State Persistence of non-IMA Sync (γ+2) IMA frames LIF Defect Persistence of IMA SYNC for at least 2 IMA frames The IMA Working state enables the RDAT to write user cells to the DCB. If the IFSM leaves the IMA Sync state, the IESM state machine will transition to the OIF Anomaly state, and the OIF anomaly counter will be incremented. In the OIF Anomaly state, incoming user cells are written as filler cells to the DCB, and write pointers are incremented. If the IFSM does not return to the IMA Sync state within gamma + 2 frames, the IESM state will transition to the LIF Defect state. (Gamma is programmable, and is the same gamma used in the IFSM). If the IMA Sync state is entered prior to gamma + 2 frames, the IESM state will transition back to the IMA Working State. This is considered a “fast recovery” from the OIF Anomaly. In the LIF Defect state, incoming user cells are written as filler cells to the DCB, and write pointers are incremented. The LIF-latched status bit will be set in the link-context memory. The IESM state machine will transition to the IMA Working state when IMA Sync has been detected for two consecutive IMA frames. If the IMA Sync state is entered and then exited during LIF, then the OIF anomaly counter will be incremented. When the IESM enters the working state, user cells may be forwarded once again if an overrun (with respect to the configured depth for the link) is not detected. The overrun detection provides the necessary differential-delay checking required after a defect. 10.2.4.6.2 Loss of Cell Delineation Status (LCD) LCD is detected by the TC layer and the information is passed to the RDAT. When a link is in LCD, a LCD-latched status bit is set in link context memory, PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 98 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM which is cleared by the ICP cell processing procedure. Cells received while the LCD latched status bit is set will be written to the DCB as filler cells, and the write pointers will be incremented. After an LCD condition is exited, the delay synchronization of the link must be rechecked and resynchronized. An LCD defect will cause the IFSM state machine to go into the hunt state to ensure the delay synchronization is rechecked. The transition of the IFSM into the hunt state will also cause an OIF anomaly. 10.2.4.6.3 DCB Overrun Status When cells are written into the DCB, overruns will be checked by comparing the group read pointer against the link write pointer. If the difference between the pointers exceeds the maximum allowed DCB depth, then an overrun has been detected. For IMA, this will cause the overrun latched status-in-link context to be set. An overrun condition will not cause the IFSM to exit the sync state. All user cells will be dropped while the overrun condition persists. The overrun condition is reset at the reception of an ICP cell with an acceptable delay as long as the link is clear of LIF or OIF. For TC, an interrupt to the processor will be generated and normal operation will resume once the overrun condition has ended. 10.2.4.6.4 DCB Underrun Status When cells are read from the DCB, underruns will be checked by comparing the group read pointer against the link write pointer. When an underrun is detected, all user cells will be dropped until the underrun condition is cleared. The underrun condition will only be cleared at the reception of an ICP cell, such that the differential delay may be re-checked. An underrun condition will not cause the IFSM to exit the sync state. 10.2.4.6.5 Idle Cells on IMA Links When Idle cells are detected on an IMA link, they will be reported. Idle cells on IMA links may be present for two reasons. They may have been inserted at the ATM layer of the transmitter as a rudimentary method for traffic management; in which case the IMA layer should treat them as user cells. Otherwise, they may have been inserted at the TC layer to assist with rate matching; this is illegal for PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 99 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM IMA links. Idle cells will be treated as user cells by the RDAT for IMA processing and will not be dropped at the IMA sub-layer. 10.2.4.7 DCB Playout The IDCC scheduler provides the rate for data to be played out to the ATM layer for an IMA group. For each cell to be played out, the IDCC generates a service request. Upon the IDCC service request, the RDAT plays out data from the FIFOs in a round-robin fashion. For each service request, the RDAT runs the round robin servicing until it processes either a filler cell or user cell. If ICP cells are encountered, the ICP cell is dropped and the servicing continues until a user or filler cell is found. If a user cell is found, it is transferred from the external memory to the appropriate group FIFO. If a filler cell is found, it is dropped. The RDAT is not sensitive to the alignment of ICP cells within a group. There is no performance degradation even if all of the ICP cells in a group have the same offset. If the device is in Any-PHY mode or UTOPIA L2 Single Port mode, there is only a single FIFO shared among all of the groups. The RDAT ensures that no more than 16 cells are stored in the shared FIFO for a single group. If the S/UNI-IMA84 is in UTOPIA L2 Multi-port mode, each group has its own FIFO. If the group FIFO is not emptied in a timely fashion, data is dropped; this is similar to the procedure used by any other PHY level device. The IDCC service request FIFO will always be serviced regardless of the state of the Group FIFO. For multi-port mode, if the respective Group FIFO is full, the cell will be dropped. In Any-PHY mode and UTOPIA L2 Single Port mode, if either the shared FIFO is full or there are already 16 cells for the current group in the FIFO, the cell will be dropped. 10.2.5 Receive IMA Protocol Processor (RIPP) The Receive IMA Protocol Processor (RIPP) block is responsible for maintaining and controlling the link and group state machines. The RIPP can accept commands from the management plane to initiate group and link state machine actions. The RIPP then controls the contents of ICP cells generated for the transmit data path, as well as analyzes the link and group states received within the ICP cells. The receive link and group states are utilized to maintain and update the link and group states. The RIPP coordinates group wide state transactions and performs the group wide procedures such as the Synchronized Link activation during Group Start-up Procedure and the Link Addition and Slow PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 100 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Recovery (LASR) procedure. When the links change state, the RIPP also coordinates the rate change between the round-robin procedures located in the receive and transmit data paths and their respective rate schedulers. Since failures are based upon the persistence of defects, the defects are detected and passed as interrupts/status to the management plane. PM is responsible for the integration of defects into failure conditions and to set the failure conditions in the S/UNI-IMA-84. Table 3 PM command description Command Description Add_group Starts up a group state machine and the link state machines for the links configured in the group. Group and links need to be configured prior to issuing this command. As a result of this command, the transmitter will start to send out IMA frames on the links specified as part of the group, and the receiver will start to look for and analyze ICP cells received on the links within the group. If a sufficient number of links are detected to be active, the group will transition to the operational state and start to transmit and receive ATM traffic. Delete_group Remove an existing group and all its links immediately. This command will take the group state machine to the “not configured” state and all of the links in the group to the “not in group” state. The transmit links will cease to transmit IMA frames and will commence to transmit physical-layer idle cells until the links are reused. For group deletion without any loss of data, the links may be deleted or inhibited to stop traffic on the group or the group may be inhibited prior to deleting the group. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 101 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Restart_group Restart the specified group. When executed, the GSM goes back to “start-up” state and all tx links return to the “unusable” state and the Rx links return to the “unusable” state but report “Not in Group” since the LID is not yet validated. This command is intended to enable the change of parameters during the group start-up phase and to provide a local group reset for other conditions. Inhibit_group Set the internal group inhibiting status flag. Once a group is considered inhibited, it will go to BLOCKED state instead of the OPERATIONAL state when sufficient links exist in the group. If the group is already in OPERATIONAL state when the command is issued, the GSM will go to BLOCKED state, and thus block the TX data path. However, the RX data path remains on. Not_inhibit_group Clear the internal group inhibiting status. If the group is currently in BLOCKED state, the GSM will go to OPERATIONAL state. Start_LASR Start LASR procedure on one or more links. The links involved may either be new links or existing links with a failure/fault/inhibiting condition. If the group configuration is symmetric, links should be added in both the TX and RX direction. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 102 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Delete_link ISSUE 4 INVERSE MULTIPLEXING OVER ATM Remove one or more links from the group. If the group configuration is symmetric, links should be deleted in both the Tx and RX directions. When a Tx link is deleted, user traffic is no longer sent on the link and it’s state is reported as “Not in Group”, but IMA frames are still generated. When either a timeout expires or the FE Rx is detected to be no longer active, the deleted links stop generating IMA frames and start generating idle cells until the link is reused. When an Rx link is deleted, it’s state is reported as “Not in Group”, but traffic is still received and passed to the ATM layer, until the either a timeout expires or FE Tx state is detected to be no longer active. Data received after this point will no longer be forwarded to the ATM layer. The RX link is available for reuse after all the data accumulated in the DCB has been forwarded to the ATM layer. No data will be lost in the link deletion procedure unless the timeout occurs prior to the FE state change detection. Set_rx_phy_defect Indicate to S/UNI IMA-84 that the given link(s) have/have not physical defects (such as LOS/LOF/OOF/AIS) which are not detectable internally. This causes the S/UNI-IMA-84 to start reporting physical layer defects in the RX Defect Indication field in the ICP field for the affected links. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 103 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Unusable_link ISSUE 4 INVERSE MULTIPLEXING OVER ATM Force Links to an unusable state and provide the cause. For Rx Links, if the cause is inhibited, the links are taken through the blocking state to preserve data sent prior the link being inhibited. If the cause is a fault or a failure condition, the link is taken directly to the UNUSABLE state. At this point, data would have already begun to be discarded due to the defects detected on the link. For Tx Links, data will stop being accepted on the Unusable links and IMA frames will be generated consisting of filler cells. Update_test_ptn Update the TX test pattern info to be sent in the outgoing ICP cells. This command is used to activate, deactivate, or change the test pattern that is being sent out on the Group. Update_TX_TRL Update the transmit TRL. When a TRL is changed, three steps are performed: (1) the TRL sent in the ICP cell is changed;(2) the TRL used for calculating the IDCC is changed, and (3) the TRL used in the stuffing algorithm is changed. Read_event Read and clear the latched event status, and read the link/group status of the specified group and all its links. The result read from the internal context memory is stored in Cmd_data00 through Cmd_data1F. Refer to RIPP Command Data Registers for further details. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 104 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Read_delay Reads a snapshot of the link-defect status and link-delay information for all of the links within the group. The delay information can be used to determine differential delay, the link with the most delay, and any other delay characteristics of the group. The delay information is provided in units of cells. Adjust_delay Adjusts the delay of a group by removing the amount of specified delay. While the delay is being adjusted, links cannot be added or recovered for the group. In addition to performing commands from PM, the RIPP processes the ICP cells forwarded by the RDAT. When ICP cells arrive from a group, they may be out of order in time due to differential delay between links. The RIPP must examine the ICP cell and determine if it has any new information that needs processing. This can be determined via the IMA frame number and the SSCI field. When processing the ICP cells and the link states, attention must be taken not to violate the group wide procedures. When link or group states are changed, updated ICP cells are sent to the TIMA for transmission. Any state changes are also communicated to the appropriate schedulers and round-robin processors. 10.2.5.1 Group Start-up and Differential Delay On group start-up, when at least Prx Links obtain IMA frame synchronization, the links will be evaluated. As each link is evaluated, the differential delay of the accepted links is tracked. If a link cannot be accepted because the acceptance of the link would violate the programmed maximum DCB threshold (fastest link minus current data read pointer), the link will remain in the unusable state and begin to report a LODS defect. Accepted links will begin to report a usable state. At this point, as additional links acquire frame sync, they are evaluated and either are accepted or begin to report an LODS defect. When all links have acquired frame sync or the timer has expired, the accepted receive links are reported as active. If at least Prx links have been accepted, the group state machine transitions to operational.. If sufficient links are not accepted, the group will not become operational. Note that within any collection of links that are targeted to form an IMA group the group may not become operational even though there are combinations of Prx links that meet the programmed maximum DCB threshold. This would occur in situations PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 105 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM where the internal algorithm used to determine link order may not select the combination or “tightest” grouping of links that would otherwise meet the programmed maximum DCB threshold. In this case, the relative delays of the links are available to PM using the read_delay command. The microprocessor can then analyze this information, remove the offending link or links and restart the group. 10.2.5.2 Link Addition and Differential Delay Once a group is started, the delay profile for the group is determined. In order to add links, the delay on the new links must be compatible with the existing links in the group and be able to be synchronized with the existing links within the DCB constraints. There are two mechanisms regarding delay that can be used. The first method uses the guardband capability. At group start-up, a guardband is added to the link with the longest transport delay. This guardband results in additional delay to be queued in the DCBs for each link in the group. The guardband allows for links with a longer transport delay to be added in the future without introducing any additional CDV. The second method allows the delay accumulated per link to be increased dynamically. This method will introduce additional delay to all of the links within the group when a link with a larger transport delay is added to the group. The process of adding additional delay to the links within a group will cause additional CDV to be introduced when the playout of data is stopped while the delay is accumulated. The RIPP determines the delay of the links that are being added and performs the appropriate action to either include the link in the group or to reject the link if the link cannot be synchronized within the DCB constraints If a link is rejected due to delay, a LODS defect will be reported on the link. When links are deleted from the group, the delay of the remaining links is not adjusted. See 10.2.4.5 for more details on the management of the DCB buffers. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 106 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.2.5.3 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Removing accumulated delay In some situations, removal of accumulated delay may be desired. This usually occurs after a group has been operational for a period of time and the link characteristics in terms of transport delay have changed. The adjust_delay command is provided to remove delay from the group. The execution of this command will effect the CDV of the group while the delay is reduced. Any delay adjustment to the group will also effect the CDV of a connection carried on that group. This is additive, if 20 ms of delay is removed from the group, a particular connection within the group will experience an additional 20 ms of CDV. This will generally only be a concern to CBR or VBR-rt traffic flows. This increase in CDV may cause traffic to be policed out or real time applications to experience slips. To minimize the effect on the group traffic rate, while the delay is being reduced, the ATM cells from the group will be transferred to the ATM layer at a rate of (1+1/16)*IDCR versus IDCR. In other words, the group will playout data 6.25% faster to the ATM layer during the process of delay reduction. The amount of time the delay removal takes depends upon the amount of delay to be removed. For example, a group where 200 ms of delay is to be removed takes approximately 3 seconds for the process to complete. While delay adjustments are being made to a group, new links can not be added and links can not be recovered from an error state. The S/UNI-IMA-84 will reject any requests to start a LASR procedure. However, while delay adjustments are in progress, links can be deleted or made unusable. 10.2.5.4 Group Start-up Procedure When the Add_Group Command is issued, the Group state machine will enter the start-up state and start to send IMA frames on the configured Tx links. 10.2.5.4.1 Start-up State While in the start-up state, the configured tx link state machines will be reporting the Unusable state and the rx-link state machines will be reporting Not_In_Group. At this point, the S/UNI-IMA-84 will start to monitor the incoming ICP cells. When ICP cells are received with the FE indicating that the Group is in Start-up, the S/UNI-IMA-84 will transition to the Start-up-Ack state if the M value, the Group Symmetry, the OAM Label and IMA_ID (optional) values are acceptable. Otherwise, the S/UNI-IMA-84 will transition into the Config-Aborted State. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 107 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.2.5.4.2 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Config-Aborted State When entering the Config-Aborted State, a timer is started and an interrupt is generated. The S/UNI-IMA-84 will stay in the config aborted state until either: 1) The management plane restarts the group using the Restart_Group Command. The restart can be done with either the same parameters or with different parameters. 2) The config-abort timeout expires. 10.2.5.4.3 Start-up-Ack State When entering the Start-up-Ack State, a timer is started. In the Start-up-Ack state, the S/UNI-IMA-84 waits for the FE to report the Start_Up_Ack state. If the timer expires prior to the FE-reporting Start_Up_Ack (or insufficient links, blocked, or operational states), the S/UNI-IMA-84 transitions back into the Start_Up state. Otherwise, when the FE reports Start-up-Ack, the S/UNI-IMA-84 transitions to the Insufficient Links state. 10.2.5.4.4 Insufficient Links When in the Insufficient Links state, the Start_LASR command should be executed to start the LASR procedure to bring up additional links The LASR procedure starts two timers; one for the Tx links and one for the Rx links. When the LASR procedure is complete (all links become active or timeout), if sufficient links are active, the group state machine transitions into the Operational State unless the Group is Blocked. If sufficient links are not active after the LASR procedure completes, an interrupt is generated. Since links will only transition into the Active state via a LASR procedure, PM can activate a new LASR procedure with the same set of links and/or with additional links to bring up the group. 10.2.5.4.5 Blocked and Operational States While in the Blocked and Operational States, the link state machines are monitored to ensure that sufficient links stay active. If insufficient links are PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 108 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM detected active, the Group state machine will transition into the insufficient links state and will stop accepting data from the ATM layer for transmission. 10.2.5.5 LASR Procedure Links will only become active as part of the LASR procedure. The add_group command will automatically spawn a LASR procedure. To add links or recover links after group start-up, the Start_LASR command should be used. If an LASR procedure is in progress, additional Start_LASR commands will be rejected. 10.2.5.5.1 TX Links When the LASR procedure starts, all Tx Links (participating in the LASR) in the unusable state or not_in_group state will immediately transition into the Usable state if they are not faulted or inhibited. (Note that the FE Rx Links may be reporting “Not in Group” at this point since their LIDs have not been validated). Links in other states will remain in the same state. If test patterns are to be transmitted on the links to test them prior to putting them in service, the Tx links should be configured to be brought up with the inhibited state set. This keeps the Tx links in the unusable state until they are released by a new LASR command (the PM_UNUSABLE status can only be cleared by a LASR). Once the Tx Links start to report the Usable state, a programmable timer is started. When either the timer expires or all of the FE Rx links report the active state, the acceptable Tx Links will transition to the Active state. This completes the LASR for the TX links. 10.2.5.5.2 Rx Links During the LASR procedure, the LIDs for the receive links are validated. Until the LIDS are validated, the RX Links report the “Not in Group” state. As the LIDS are validated, the Rx Links start to report the unusable state. This transition is not synchronized with other links in the group. After all the receive links have their differential delay checked and have no defects (obtained IMA Frame sync) or a programmable timeout occurs, all of the accepted links will transition to the usable state. After the rx links are reported usable, another programmable timeout is started. Once all of the links are reported TX_Usable by the FE or the timeout expires, PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 109 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM the accepted links will start to report RX_Active. If operating in symmetrical mode, the TE Tx links must be in the usable/Active state in order for the accepted links to transition into RX_Active. If some additional links have become usable since the last timeout, they will skip directly from the unusable to the active state. This completes the LASR for the Rx Links. When the LASR for both the RX and TX links is complete, the LASR procedure is complete. If the LASR completes due to a timeout and not all of the links are in the active state, an interrupt will be generated (if enabled) to inform PM that the links were not brought to the active state. 10.2.5.6 Deactivating Links Links may be brought down by either PM or by the far end. PM may declare a fault on a link, inhibit a link, or delete the link. The Far-end state changes may also cause the link to go down. This is the method of coordinating link deactivation between the NE and FE. 10.2.5.6.1 Far End link deactivation If the FE Tx states transition into an unusable state, the NE Rx states go to the usable state and all data received prior to this point will be played out. If the FE Rx states transition into a not active state, the NE Tx link will transition into the usable state and stop transmitting data on that link. 10.2.5.6.2 Near End (management) link deactivation If the NE Rx link is removed from the group, the S/UNI-IMA-84 will transition to the deleted state until all previously received data is played out to the ATM layer; at which point, it will deactivate itself and be removed from the round-robin. In absence of defects, the S/UNI-IMA-84 will bring down the link without loss of data. 10.2.5.7 Rate Changes When the RIPP changes the state of a link to active, it programs the appropriate IDCC scheduler with the new rate. This is done by providing a vector that identifies the active LIDs for the group. This vector is used to determine the number of links for the rate calculation and is then passed on to the TIMA or PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 110 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT to indicate the LIDs to include in the round robin. The IDCC will only change its rate at IMA frame boundaries. 10.2.6 Support of IMA Test Pattern Procedure S/UNI-IMA-84 supports the IMA test pattern procedure in both the TX direction (NE initiated) and RX direction (FE initiated). In the TX direction, the S/UNI-IMA-84 updates the TX test control info and TX test pattern field in the outgoing ICP cells, as prompted by the relevant Update_test_ptn command. Meanwhile, the S/UNI-IMA-84 will always compare the RX test pattern field received in the incoming ICP cells with the TX test pattern value being transmitted, and save the result on a per-link basis in the group context memory. In the RX direction, the S/UNI-IMA-84 always analyzes the TX test control info field in the incoming ICP cells. If the test link command field is set to “active”, the TX test pattern field in the incoming ICP cells on the selected link will be copied to the RX test pattern field in the outgoing ICP cells. Otherwise the RX test pattern field in the outgoing ICP cells will be filled with “0xFF”. 10.2.7 Support of Symmetric/Asymmetric Operation Modes S/UNI-IMA-84 supports all three possible group symmetry modes: symmetric configuration and symmetric operation; symmetric configuration and asymmetric operation; asymmetric configuration and asymmetric operation. For symmetric configuration, the number of TX and RX links in the group must be the same; for asymmetric configuration, that restriction does not apply. The support for asymmetric/symmetric operation modes is part of the S/UNI-IMA functionality. The symmetric operation mode is treated as a special case of the asymmetric operation, where the TX and RX LSM on the same physical link are inter-dependent. 10.2.8 Support of Different IMA Versions It should be noted that the technique used to report RX information over the Link Information fields in the ICP cells when the group is configured in the symmetrical configuration and operation mode differs in the IMA v1.1 implementations and the IMA v1.0 implementations. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 111 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM The details of the differences between IMA v1.1 and IMA v1.0 can be found in appendix C of the ATM Forum IMA 1.1 specification.. The S/UNI-IMA-84 is primarily designed to be IMA v1.1 compliant. However, it may also be programmed to analyze the incoming ICP cells and generate outgoing ICP cells using IMA v1.0 style, given the group is symmetrically configured. IMA v1.0 is not supported for asymmetrical groups. Support of IMA V1.0 versus IMA v1.1 is selectable on a per-group basis. Since the rx link state is reported on the TX LID byte, the rx_link state is reported as unusable prior to LID validation unlike in IMA 1.1 where it is reported as “Not in Group” prior to LID validation. 10.2.9 SDRAM Interface The S/UNI-IMA-84 uses the external SDRAM to buffer queued cells. The cellbuffer SDRAM interface permits a single device, with 4M addressing capability, for a total of 8 Mbytes of storage. It has a 16-bit wide data bus, with CRC-16 checking applied on a per-cell basis. Each cell takes up 64 bytes of memory. The CRC-16 is applied to words 0 through 30. If an error occurs, an interrupt is sent to the microprocessor, and the cell is sent to the ATM layer anyway. The following diagram shows the cell storage map with the 64-byte memory boundary. Figure 21 - Cell Storage Map Word # 15 Bits 0 Write Pointer + 0 DCB Status[15:0] 1 DCB Status[31:16] 2 Header1 Header2 3 Header3 Header4 4 5 Reserved STATUS Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 112 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 6 INVERSE MULTIPLEXING OVER ATM Payload1 Payload2 28 Payload45 Payload46 29 Payload47 Payload48 … … 30 Reserved 31 CRC-16 The clock source drawn in Figure 22 and Figure 23 must be completely skew aligned between the S/UNI-IMA-84 and the SDRAM clock input pins. The following diagrams illustrate the various configurations supported: Figure 22 - 2 MByte clock source SYSCLK CBCSB CBRASB CBCASB CBWEB CBBS[0] CBA[11:0] CBDQM CBDQ[15:0] 1 CKE CLK Addr/Ctrl 2 x 2k x 256 x 16 DQM DQ[15:0] PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 113 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Figure 23 ISSUE 4 INVERSE MULTIPLEXING OVER ATM - 8 MByte clock source SYSCLK CBCSB CBRASB CBCASB CBWEB CBBS[1:0] CBA[11:0] CBDQM CBDQ[15:0] 1 CKE CLK Addr/Ctrl 4 x 4k x 256 x 16 DQM DQ[15:0] There are three processes, all of which are arbitrated by the SDRAM arbiter, that access the cell buffer SDRAM: 1. The RDAT, which reads and writes cell and status information. The granularity of access by the RDAT is a concatenated 1-cell write, 1-cell read. Either the write or the read may not be performed, depending on the RDATs requirements. 2. The microprocessor interface, which performs diagnostic reading or writing of 64 bytes of data. This data is aligned with the cell data. This access is allowed only when the SDRAM is placed in Diagnostic mode and is provided both to enable SDRAM testing and to initialize the SDRAM. While it is in diagnostic mode, all regular accesses from the RDAT are disabled 3. The refresh controller, which has a programmable refresh rate. The SDRAM interface will perform the initialization sequence for the SDRAM. This sequence is triggered by the SDRAM enable bit in the SDRAM control register. The sequence will program the SDRAM with a CAS latency of 3, sequential access, write burst mode, and a burst length of 8. Applications should ensure that sufficient time is provided between SDRAM power up and when this enable bit is set. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 114 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 10.3 Link FIFOs In the transmit direction, per link FIFOs exist to provide an elastic store to ensure proper operation. The number of cells in the FIFO at any particular time varies as a function of the CDV introduced by the insertion of stuff cells and ICP cells, the effects of the physical link interface, and the smoothing of data from the ATM layer for group level CDV. During operation, these FIFOs are loaded a cell at a time and emptied in a TDM fashion. The Link FIFOs in the transmit direction are to be 8 cells deep. In the receive direction, the link FIFOs serve as an interface between the TDM domain and the ATM cell domain. Cells are gathered in the FIFO for each link and then burst out to the external memory by the RDAT. The Link FIFOs in the receive direction are 2 cells deep. A diagnostic loopback capability is provided to loopback data from the receive link FIFOs to the transmit link FIFO; this will loopback all links when enabled. 10.4 TC Layer 10.4.1 TX TC Layer (TTTC) The TX TC layer (TTTC) performs the TC layer functions. These functions consist of optional HEC generation, optional payload scrambling, and cell-rate decoupling through physical layer (idle) cell insertion. This function removes data byte by byte from the per-link FIFOs as required to provide data to the physical layer function. When the physical layer function needs a byte of data, it will request data from the (TTTC). The TTTC will then read a byte of data from the per-link FIFO. If that byte is the first byte of a cell and the logical channel FIFO is empty, the TTTC will format the next 53 bytes as a physical layer (idle) cell. If the byte is the fifth byte of a cell, the byte is optionally overwritten by the CRC-8 calculation over the previous four bytes for rd 43 that logical channel. The sixth through 53 bytes may be scrambled by a x +1 self-synchronous scrambler. Note: Since the Link FIFOs are cell based, an underrun cannot happen in the middle of a cell. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 115 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 10.4.2 Rx TC Layer (RTTC) The Rx TC (RTTC) layer implements HCS cell delineation, payload descrambling, idle cell filtering and header error detection to recover valid ATM cells. These functions are performed in accordance with ITU-T Recommendation I.432.1. Cell delineation is the process of framing to ATM cell boundaries using the header check sequence (HCS) field found in the ATM cell header. The HCS is a CRC-8 (x8 + x2 + x + 1) calculation over the first 4 octets of the ATM cell header. In accordance with ITU-T Recommendation I.432.1, the coset polynomial x6 + x4 + x2 + 1 is added (modulo 2) to the received HCS octet before comparison with the calculated result. When performing delineation, correct HCS calculations are assumed to indicate cell boundaries. The cell delineation circuitry performs a sequential bit-by-bit hunt for a correct HCS sequence. This state is referred to as the HUNT state. When a correct HCS is found, a particular cell boundary is assumed and the PRESYNC state is entered. This state verifies that the previously detected HCS pattern was not a false indication. If the HCS pattern was a false indication, then an incorrect HCS should be received within the next DELTA cells and the delineation state machine falls back to the HUNT state. If an incorrect HCS is not found in this PRESYNC period, then a transition to the SYNC state is made, cell delineation is declared, and all non-idle cells with a correct HCS are passed on. In the SYNC state, synchronization is not relinquished until ALPHA consecutive incorrect HCS patterns are found. If this happens, a transition is made back to the HUNT state. The state diagram of the cell delineation process is shown in Figure 24. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 116 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Figure 24 ISSUE 4 INVERSE MULTIPLEXING OVER ATM - Cell delineation State Diagram The values of ALPHA and DELTA determine the robustness of the cell delineation method. ALPHA determines the robustness against false misalignments due to bit errors. DELTA determines the robustness against false delineation in the synchronization process. ALPHA is chosen to be 7 and DELTA is chosen to be 6. The loss of cell delineation (LCD) alarm is declared after a programmable threshold of incorrect cells occurs while in the HUNT state. The threshold is set by the LCD Count Threshold register. The threshold has a default value of 104, which translates to 28 ms at 1.55 Mbps. All idle cells may be filtered out and not passed to the IMA sub-layer. They are identified as cells containing all-zero VPI and VCI fields and a one in the CLP bit. Optionally, unassigned cells (like idle cells except CLP is a zero) may also be filtered. Note that these should not be filtered for IMA links.. All cells with an incorrect HCS octet may optionally be dropped. These cells can also be preserved and tagged as errored. Preservation of HEC errored cells is required for correct operation of IMA. Failure to preserve the cells will lead to increased numbers of OIF violations and data misordering. Header correction is not implemented. For IMA operation, there are two unique features: the first is optionally passing cells with errored HEC; the second results in passing cells during OCD and LCD. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 117 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM This is to enable the IMA to perform a fast recovery from error conditions. An OCD event will result in a loss of IMA frame sync to ensure differential delay checking is performed. 10.5 Line Side Physical Layer The S/UNI-IMA-84 must be configured to support one of either the SBI interface or the 32 Clock and Data interface. 10.5.1 TX Clock/Data (TCAS) The S/UNI-IMA-84 supports up to 32 2-pin Clock/Data serial interfaces to interface with standard framers. Each link is independent and has its own associated clock. To enable easier support of CTC, a common clock is also supported using the CTSCLK pin. The S/UNI-IMA-84 responds to the active edge of each transmit clock by generating a single bit. When the external framer needs to insert transmission overhead (such as framing bits) into the data stream provided by the S/UNI-IMA-84, the framer is required to gap the transmit clock provided to the S/UNI-IMA-84. This will prevent the S/UNI-IMA-84 from outputting data bits during the overhead bit period(s). The Transmit Channel Assigner block (TCAS) processes up to 32 virtual links. Data for all links is sourced from a single byte-serial stream from the TC layer. For each link, the TCAS provides a holding register. The TCAS also performs parallel-to-serial conversion to form a bit-serial stream. When multiple links are in need of data, TCAS requests data from upstream blocks on a fixed priority basis with link TSDATA[0] having the highest priority and link TSDATA[31] the lowest. Links containing a T1 or an E1 stream may be channelized. Data at each timeslot may be assigned either: (1) to be sourced from the virtual link or (2) to be unassigned. This mechanism of assigning timeslots enables support of fractional links. The link clock should only be active during time-slots 1 to 24 of a T1 stream and inactive during the frame bit. Similarly, the clock is only active during timeslots 1 to 31 of an E1 stream and inactive during the framing byte. The first bit of time-slot 1 of a channelized link is identified by noting the absence of the clock and its re-activation. With knowledge of the transmit link and time-slot identity, the TCAS performs a table look-up to identify which timeslots are in use. Links may also be unchannelized. In that case, all data bytes on that link belong to the virtual link. The TCAS performs a table look-up to identify the link to which PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 118 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM a data byte belongs using only the outgoing link identity, as no time-slots are associated with unchannelized links. The link clock is only active during bit-times containing data to be transmitted; it is inactive during bit-times that are to be ignored by the downstream devices, such as framing and overhead bits. 10.5.2 TX Null Framer (SDFR84) Since data is carried over the SBI bus in a framed format, the ATM payload must be mapped into the appropriate T1, E1, or DS3 format. The Null Framer creates bit streams with the appropriate number of bits without performing the actual framing bit generation or signaling insertion. For T1, a T1 frame is created by adding a bit as a placeholder for the framing bit and the ATM data is mapped into the 24 DS0 channels. For E1, placeholders are inserted for channels 0 and 16, which are reserved for signaling, and ATM data is mapped into the remaining 30 channels. (Channels 1 through 15 and 17 through 31). For DS3, a bit is inserted every 21 nibbles for the frame/sub-frame bits. 10.5.3 Insert Scaleable Bandwidth Interconnect (INSBI) The Insert Scaleable Bandwidth Interconnect block maps up to eighty-four T1(1.544 Mbp)s links, sixty-three E1 (2.048 Mbps) links, or three DS3 (44.736 Mbps) links into the SBI bus. The 1.544 Mbps links are T1 framed (channelized) with null framing bits. The 2.048 Mbps links are E1 framed (channelized) with null framing bytes. The 44.736 Mbps links are also framed DS3 with null framing bits. All links sourced from the S/UNI-IMA-84 over the SBI bus must be framed prior to transmission. Links inserted into the SBI bus are timed from the framer device (e.g. PM8315 TEMUX, PM8316 TEMUX-84). In other words, the INSBI always acts as a clock slave. The INSBI performs SBI tributary justifications under command from the AJUST_REQ signal.. 10.5.4 Extract Scaleable Bandwidth Interconnect (EXSBI) The Extract Scaleable Bandwidth Interconnect (EXSBI)block demaps up to 84 T1 (1.544 Mbps) links, 63 E1 (2.048 Mbps) links, or up to 3 DS3 (44.736 Mbps) links from the SBI bus. The 1.544 Mbps links must be T1 framed and channelized. The PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 119 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 2.048 Mbps links must be E1 framed and channelized. The 44.736 Mbps must also be framed. All egress links extracted from the SBI bus are timed from the source. Within the SBI bus, there are three SPEs. Each SPE can either 28 T1s, 21 E1s, or 1 DS3 and all of the links within an SPE are of the same type. Since the EXSBI always acts as a clock slave in this application, the link rates of are derived by the data arrival rate. The S/UNI-IMA-84 is capable of sinking all data received the SBI bus without generating overflows. 10.5.5 RX DeFramer (SDDF84) Since data is transferred over the SBI bus in a framed format and S/UNI-IMA-84 does not process signaling or check any framing patterns, the framing bits are removed from the T1 and DS3 signals and data is forwarded to the TC function in a byte parallel interface. For T1, the framing bit is removed. For E1, bytes 0 and 16 of the Channelized E1 frame are removed since they do not carry valid ATM payload. For DS3, one framing bit is removed for every 21 nibbles. 10.5.6 Rx Clock/Data (RCAS) The S/UNI-IMA-84 provides up to 32 2-pin Clock/Data serial interfaces for interconnecting to T1/E1 framers. Each link is independent and has its own associated clock. For each link, the data is sent through a serial to parallel conversion to form data bytes. The data bytes are multiplexed, in byte serial format, for delivery to the TC layer. In the event where multiple streams have accumulated a byte of data, multiplexing is performed on a fixed priority basis, with link #0 having the highest priority and link #31 the lowest. For the clock and data interface, the framer must gap the clock for all framing bits for T1 and for the framing byte for E0. Links containing a T1 or an E1 stream may be channelized. For channelized links, the link clock is only active during time-slots 1 to 24 of a T1 stream; it is inactive during the frame bit. Similarly, the clock is only active during time-slots 1 to 31 of an E1 stream and inactive during the framing bytes. Each time-slot may PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 120 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM be independently configured to be provisioned (contain valid data) or unprovisioned. The RCAS performs a table lookup to assign the provisioned time-slots to a virtual link. After the selected timeslots are grouped into a virtual link, virtual links are referred to as links. This look-up should be used to remove byte 16 of the E1 frame, since byte 16 contains signaling data not ATM data and is also used to implement a fractional T1 or E1. The first bit of time-slot 1 of a channelized link is identified by noting the absence of the clock and its reactivation. Links may also be unchannelized. In this mode, all data is assumed to be valid ATM data. The link clock is only active during bit times containing data to be processed and inactive during bits that are to be ignored by the RCAS, such as framing and overhead bits. The RCAS provides diagnostic line-side loopback that is selectable on a perchannel basis. When a channel is in diagnostic loopback, data on the received links originally destined for that channel is ignored. Transmit data of that channel is substituted in its place. 10.6 Microprocessor Interface The Microprocessor Interface Block provides the interrupt logic and an interface to normal-mode registers contained within the design blocks. The normal mode registers are required for normal operation. 10.6.1 Mapping and link identification Within the clock/data interface, the external links are mapped to a contiguous space identified as Virtual Links. To support multiple fractional TC flows on a single external signal, a mapping is used to split a single channelized external signal into multiple Virtual Links. At the per-link FIFOs, the clock/data Virtual Link naming convention is replaced 1:1 with the Physical Link naming convention. The S/UNI-IMA-84 processes 84 Physical Links, numbered 0 to 83. Each line interface uses a different Link naming convention, based on the nature of the interface: the SBI Interface uses three SPEs, each carrying 28 Tributaries, and the Clock and Data Interface uses 32 External Signal pins, which are mapped to 84 Virtual Links. In both cases, the 84 streams to/from the line interfaces are referred to a Physical Links elsewhere inside the device. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 121 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 10.6.1.1 ISSUE 4 INVERSE MULTIPLEXING OVER ATM SBI Within the SBI Interface, the links are identified by the SPE and the tributary number within the SPE. At the per-link FIFOs, the SPE and Tributary number are mapped to a contiguous space identified as physical links 0 through 83. These are referred to as the physical link IDs. SPE1, Tributaries 1 to 28 are mapped to physical links 0-27. SPE2, Tributaries 1 to 28 are mapped to physical links 28 to 55; and SPE3, Tributaries 1 to 28 are mapped to physical links 56 to 83. If the SPEs are in E1 mode, then only the lowest 21 of the 28 possible tributaries are used. If the SPEs are in DS3 mode, only one link per SPE is mapped. In this case, only physical link IDs 0, 28, and 56 are used. 10.6.1.2 Clock/Data Within the Clock and Data Interface, the external signals RSCLK/TSCLK and RSDATA/TSDATA are identified by sequential numbers from 0 to 31. Within the RCAS/TCAS, these 32 external signals are mapped to a contiguous space identified as Virtual Links 0 through 83. To support multiple fractional TC flows on a single external signal, RCAS/TCAS mapping is used to split a single channelized external signal into multiple Virtual Links. At the per-link FIFOs, the RCAS/TCAS Virtual Link naming convention is replaced 1:1 with the Physical Link naming convention. 10.6.1.3 IMA Within the IMA sublayer, mapping is performed between the physical link Ids and the Any-PHY/UTOPIA L2 virtual PHY address. This mapping can be a one-to-one relationship as for TC connections or it may be a many-to-one relationship as for an IMA group. The physical link to Virtual PHY mapping is independent in the RX and TX directions. The selection of the RX VPHY ID in Any-PHY or single port UTOPIA L2 mode is unconstrained as this ID exists only as a prepend. In multiple port UTOPIA L2 mode, the RX VPHY ID must be a unique value between 0 and 30 for each flow. • The selection of the TX VPHY ID is limited by the following rule: PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 122 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 • ISSUE 4 INVERSE MULTIPLEXING OVER ATM All groups must have a unique value between 0 and 83.(0 to 30 for UTOPIA L2 mode). Note: The actual address used on the Any-PHY bus to access a particular channel is a combination of the TX VPHY ID (bits 6:0) and the Tx Any-PHY Address Config Reg(bits 15:7). 10.6.2 Interrupt Driven Error/Status Reporting The interrupt logic has several layers. The top layer of the interrupt logic, the Master Interrupt Register, indicates from which block the interrupt came. Once the block is determined the processor can access the appropriate block to determine the interrupt cause. 10.6.2.1 Line Interface Interrupts The Line Interface sources three interrupts: SBI_DROP_INTR, SBI_ADD_INTR, and SBI_ALARM_INTR. The SBI_DROP_INTR indicates there is an interrupt pending related to the SBI-Drop bus, also known as the Extract SBI bus. The Extract Master Interrupt Status Register needs to be read to determine the cause of the interrupt. The SBI_ADD_INTR indicates there is an interrupt pending related to the SBI-Add bus, also known as the Insert SBI bus. The Insert Master Interrupt Status Register needs to be read to determine the cause of the interrupt. The SBI_ALARM_INTR indicates that an alarm was detected on a link from the SBI. The SBI Alarm Interrupt registers will identify which link failed. 10.6.2.2 TC Layer Interrupts The TC layer sources 4 different interrupts that are reported through a FIFO structure. As each interrupt occurs it is placed into a FIFO along with a Link Identifier to uniquely identify the link. The error conditions reported through this structure include HEC Errors, Loss of Cell Delineation (LCD) state change, Out of Cell Delineation (OCD) state change, and Receive Link FIFO overflow. To determine the actual states of LCD and OCD it is necessary to query the individual link status. If this FIFO overflows, it is necessary to query the status of all links in order to retrieve accurate state information. 10.6.2.3 IMA Interrupts The IMA sub-layer sources four interrupts: RIPP_INTR, TIMA_INTR, RDAT_INTR, and ICP_CELL_AVL. The RIPP_INTR indicates that either a status PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 123 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM change or an error occurred on an IMA group. The RIPP Interrupt status FIFO contains the groups that have enabled conditions active. The RIPP Interrupt status FIFO is managed so that each group will only ever have a single entry in the FIFO. To facilitate interrupt processing, a RIPP command is provided to gather all interrupts and status for a group and all of the links within the group in one snapshot. TIMA_INTR provides information that a link FIFO has overflowed. During normal operations, this will only happen when: (1) the TIMA is misconfigured or (2) the rate difference between the clocks in an IMA group is greater than the maximum tolerance. To determine which link has experienced a problem, the TIMA Link FIFO Overflow Status registers should be read. RDAT_INTR indicates either: (1) that cells were dropped due to AnyPHY/UTOPIA congestion or (2) that TC group cells were dropped due to FIFO overflow. To determine the cause of the interrupt, the RDAT Master Interrupt register should be read. ICP_CELL_AVL indicates that an ICP cell is available in the ICP cell buffer. To enable diagnostics, the capability to forward a group’s ICP cells to the microprocessor is provided. When a cell is forwarded to the microprocessor, it is placed in the ICP cell buffer and the interrupt is triggered. As new ICP cells arrive, they overwrite the ICP cell buffer unless the buffer is locked for reading. Once the ICP cell buffer is locked, further ICP cells will not be forwarded until the ICP cell buffer is unlocked. This trace can be enabled on a per-group basis. 10.6.2.4 Miscellaneous Interrupts MISC_INTR indicates that an interrupt condition exists in the Miscellaneous Interrupt register. These bits are read-and-clear and usually indicate that transitory conditions have occurred, such as parity errors, SDRAM CRC errors, interrupt FIFO overflows, and UTOPIA L2 interface errors. 10.6.3 Registers The Register Memory Map in Table 4 shows where the normal mode registers are accessed. The resulting register organization is split into sections: Master configuration registers, TC Layer, SBI Interface, Clock/Data Interface and IMA Sublayer registers. On power up, the S/UNI-IMA-84 requires configuration. For proper operation, register configuration is necessary in order to program addresses for the Any- PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 124 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PHY ports, enable the SDRAM, configure the Line interface and chose IMA or TC mode for each link/group. By default, interrupts will not be enabled. The Line-side-access defaults to a disabled state; this results in all line side output pins being tristated. When the line mode is chosen, SBI, or Clock/Data, the pins will be enabled. Table 4 Register Memory Map Address Register 0x000 – 0x05E Master Configuration and Interrupts 0x000 Global Reset 0x002 Global Configuration 0x004 JTAG ID (MSB) 0x006 JTAG ID (LSB) 0x008 Master Interrupt Register 0x00A Miscellaneous Interrupt Register 0x00C RTTC Interrupt FIFO 0x00E Reserved 0x010 Master Interrupt Enable Register 0x012 Miscellaneous Interrupt Enable Register 0x014 TC Interrupt Enable Register 0x0160x01E Reserved 0x020 Transmit Any-PHY/UTOPIA Cell Available Enable 0x022 Receive UTOPIA Cell Available Enable 0x024 Receive Any-PHY/UTOPIA Config Register (RXAPS_CFG) 0x026 Transmit Any-PHY/UTOPIA Config Register (TXAPS_CFG) 0x028 Transmit Any-PHY Address Config Register (TXAPS_ADD_CFG) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 125 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Register 0x02A0x03E Reserved 0x040 SDRAM Configuration 0x042 SDRAM Diagnostics 0x044 SDRAM Diag Burst RAM Indirect Access 0x046 SDRAM Diag Indirect Burst Ram Data LSB 0x048 SDRAM Diag Indirect Burst Ram Data MSB 0x04A SDRAM DIAG WRITE CMD 1 0x04C SDRAM DIAG WRITE CMD 2 0x04E SDRAM DIAG READ CMD 1 0x050 SDRAM DIAG READ CMD 2 0x0520x05E Reserved 0x0600x07E TC Layer 0x060 TTTC Indirect Link Control Register 0x062 TTTC Indirect Link Configuration Register 0x0640x06E TTTC Reserved 0x070 RTTC Indirect Link Control Register 0x072 RTTC Indirect Link Configuration Register 0x074 RTTC Indirect Link Interrupt and Status Register 0x076 RTTC Indirect Link HCS Error Count Register 0x078 LCD Count Threshold 0x07A0x07E Reserved 0x0800x0FE SBI Interface 0x080 SBI Bus Configuration PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 126 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Register 0x082 Reserved 0x0840x08E SBI Extract Bus Alarm Interrupt Registers 0x0900x09A SBI Extract Bus Alarm Status Registers 0x09C0x09E SBI Reserved 0x0A0 SBI Extract Control Register 0x0A2 SBI Extract FIFO Underrun Interrupt Status Register 0x0A4 SBI Extract FIFO Overrun Interrupt Status Register 0x0A6 SBI Extract Tributary RAM Indirect Access Address Register 0x0A8 SBI Extract Tributary RAM Indirect Access Control Register 0x0AA Reserved 0x0AC SBI Extract Tributary Control RAM Indirect Access Data Register 0x0AE SBI Extract Parity Error Interrupt Reason Register 0x0B00x0BA Reserved 0x0BC SBI Extract Depth Check Interrupt Status Register 0x0BE SBI Extract Master Interrupt Status Register 0x0C0 SBI Insert Control Register 0x0C2 SBI Insert FIFO Underrun Interrupt Status Register 0x0C4 SBI Insert FIFO Overrun Interrupt Status Register 0x0C6 SBI Insert Tributary Register Indirect Access Address Register 0x0C8 SBI Insert Tributary Register Indirect Access Control Register 0x0CA Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 127 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Register 0x0CC SBI Insert Tributary Control Indirect Access Data Register 0x0CE0x0E0 Reserved 0x0E2 SBI Insert Depth Check Reset Interrupt Status Register 0x0E4 SBI Insert Master Interrupt Status Register 0x0E60x0FE Reserved 0x1000x1FE Clock/Data Interface 0x100 RCAS Indirect Link and Time-slot Select 0x102 RCAS Indirect Channel Data 0x104 RCAS Framing Bit Threshold 0x106 RCAS Channel Disable 0x108 – 0x13E RCAS Reserved 0x140 – 0x17E RCAS Link #0 to Link #31 Configuration 0x180 TCAS Indirect Link and Time-slot Select 0x182 TCAS Indirect Channel Data 0x184 TCAS Framing Bit Threshold 0x186 TCAS Idle Time-slot Fill Data 0x188 TCAS Channel Disable Register 0x18A – 0x1BE TCAS Reserved 0x1C0 – 0x1FE TCAS Link #0 to Link #31 Configuration 0x2000x3FE IMA Sublayer 0x200 RIPP Control PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 128 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Address Register 0x202 RIPP Indirect Memory Access Control 0x2040x206 RIPP Indirect Memory Data Register Array 0x208 Delay Configuration Register 0x20C RIPP Timer Tick Configuration Register 0x20E Group Timeout Register #1 0x210 Group Timeout Register #2 0x212 Tx Link Timeout Register 0x214 Rx Link Timeout Register 0x216 RIPP Interrupt Status Register 0x218 RIPP Group Interrupt Enable Register 0x21A RIPP Tx Link Interrupt Enable Register 0x21C RIPP Rx Link Interrupt Enable Register 0x2200x22C RIPP Command Register 0x22E Command Read Data Control Register 0x230 ICP Cell Forwarding Status Register 0X232 ICP Cell Forwarding Control Register 0x2400x29E RIPP Command Data Register Array 0x2C00x2DE Forwarding ICP Cell Buffer 0x300 RDAT Indirect Memory Command 0x302 RDAT Indirect Memory Address 0x304 RDAT Indirect Memory Data LSB 0x306 RDAT Indirect Memory Data MSB 0x308 RDAT Configuration 0x30A Receive ATM Congestion Status LSB INVERSE MULTIPLEXING OVER ATM PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 129 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Register 0x30C Receive ATM Congestion Status MSB 0x30E Receive TC Overrun Status 0x310 RDAT Master interrupt Status 0x312 Receive ATM Congestion Interrupt Enable LSB 0x314 Receive ATM Congestion Interrupt Enable MSB 0x316 RDAT Master Interrupt Enable 0x3180x31E Reserved 0x320 TIMA Indirect Memory Command 0x322 TIMA Indirect Memory Address 0x324 TIMA Indirect Memory Data LSB 0x326 TIMA Indirect Memory Data MSB 0x3280x332 TX Link FIFO Overflow Status 0x340 TXIDCC Indirect Link Access 0x342 TXIDCC Indirect Link Data Register #1 0x3440x34E Reserved 0x350 RXIDCC Indirect Link Access 0x352 RXIDCC Indirect Link Data Register #1 0x3540x364 Reserved 0x366 DLL Control Status 0x3680x3FF Reserved For all register accesses, CSB must be low. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 130 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 11 ISSUE 4 INVERSE MULTIPLEXING OVER ATM NORMAL MODE REGISTER DESCRIPTION Normal mode registers are used to configure and monitor the operation of the S/UNI-IMA-84. Normal mode registers (as opposed to test mode registers) are selected when A[10] is low. Notes on Normal Mode Register Bits: 1. Writing values into unused register bits has no effect. However, to ensure software compatibility with future, feature-enhanced versions of the product, unused register bits must be written with logic zero. Reading back unused bits can produce either a logic one or a logic zero; hence, unused register bits should be masked off by software when read. 2. All configuration bits that can be written into can also be read back. This allows the processor controlling the S/UNI-IMA-84 to determine the programming state of the block. 3. Writeable normal mode register bits are cleared to logic zero upon reset unless otherwise noted. 4. Writing into read-only normal mode register bit locations does not affect S/UNI-IMA84 operation unless otherwise noted. 5. Certain register bits are reserved. These bits are associated with megacell functions that are unused in this application. To ensure that the S/UNI-IMA-84 operates as intended, reserved-register bits must only be written with logic zero. Similarly, writing to reserved registers should be avoided. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 131 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.1 Global Registers Register 0x000: Global Reset Bit Type Function Default 15 R/W RESET 1 14 RO BIST_DONE X Unused 0 13:7 6:4 RO TYPE[2:0] 001 3:0 RO ID[3:0] 0 ID[3:0]: The ID bits can be read to provide a binary number indicating the S/UNI-IMA84 feature version. These bits are incremented only if features are added in a revision of the chip. TYPE[2:0]: The TYPE bits can be read to distinguish the S/UNI-IMA-84 from the other members of the S/UNI-IMA-84 family of devices. The S/UNI-IMA-84 is identified by a value of “001”. BIST_DONE The BIST_DONE indicates when the internal ram initialization is complete. Once the ram initialization is complete, the internal rams may be accessed. Prior to BIST_DONE transitioning to a “1”, any internal ram accesses are ignored. RESET: The RESET bit implements a software reset for the entire S/UNI-IMA-84. If the RESET bit is a logic 1, the entire S/UNI-IMA-84 is held in reset except for the microprocessor interface. While in reset, the only register that is accessible is the Global Reset register. This bit is not self-clearing; therefore, a logic 0 must be written to bring the S/UNI-IMA-84 out of reset. Holding the S/UNI-IMA-84 in a reset state effectively puts it into a low power, stand-by mode. A hardware reset sets the RESET bit, thus asserting the software reset. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 132 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x002: Global Configuration Bit Type 15:8 Function Default Unused 0 7 R/W CHAN_CD 0 6 R/W MAX_DCB_DEPT H 0 5 R/W CTSCLK_SEL 0 4 R/W LINE_EN 0 3 R/W LINE_LOOP 0 2 R/W U2U_LOOP 0 1:0 R/W LINE_MODE[1:0] 0 LINE_MODE[1:0] Enables the selected line interface mode. 00) Disabled (All line Interface signals are tristated.) 01) SBI Mode 10) Clock/Data Mode 11) Reserved U2U_LOOP When set, all cells received by the Any-PHY/UTOPIA Interface are sent back out to the Any-PHY/UTOPIA (regardless of single- or multi-addressing mode). For proper operation, if the Receive interface is in multi address UTOPIA mode, the Transmit Interface must also be in UTOPIA Mode. 0) Any-PHY/UTOPIA in normal mode 1) Any-PHY/UTOPIA in remote loopback mode LINE_LOOP When set, all cells received by the SBI or Clock/Data interfaces are sent back out to the SBI or Clock/Data 0) Line Side in normal mode 1) Line Side remote loopback mode PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 133 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM LINE_EN When LINE_EN is set, line side traffic flow is enabled. This configuration bit should be written to a one after the LINE_MODE has been configured and prior to normal operation. CTSCLK_SEL When CTSCLK_SEL is set and LINE_MODE=”10”, the CTSCLK pin is used as the clock for all Transmit Serial Line Clocks. When CTSCLK_SEL is not set and LINE_MODE=”10”, the TSCLK[31:0] pins are used for all Transmit Serial Line Clocks When LINE_MODE=01, CTSCLK_SEL is ignored. MAX_DCB_DEPTH: This indicates the number of cells that can be stored for a single link in the external SDRAM. This determines the number of bits the RDAT will use for the read and write pointers. To ensure correct operation, the user must ensure that the proper amount of SDRAM is available. See Figure 10 for details. 0) 256 cells per link 1) 1024 cells per link CHAN_CD: This indicates that the channelized cell delineation may be used. Channelized cell delineation results in faster cell delineation since an octet by octet search is performed instead of a bit by bit search. A nibble by nibble search is performed if the SPE is in DS3 mode. This option may only be used when operating with a channelized interface such as the SBI interface or the clk/data interface in channelized mode. If any links are operating in unchannelized mode, this bit may not be set. 0) Use bit by bit search for cell delineation. (Safe mode) 1) Use octet or nibble search for cell delineation (only should be set if operating with channelized line interface for all links PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 134 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x004: JTAG ID (MSB) Bit Type Function Default 15:0 RO JTAGID(31:16) 0x0734 JTAGID[31:16]: The JTAG ID register (JTAGID[31:16]) of the S/UNI-IMA-84 device. The JTAG ID is the same as the one read by the JTAG port. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 135 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x006: JTAG ID (LSB) Bit Type Function Default 15:0 RO JTAGID(15:0) 0x10CD JTAGID[15:0]: The JTAG ID register (JTAGID[15:0]) of the S/UNI-IMA-84 device. The JTAG ID is the same as the one read by the JTAG port. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 136 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.2 Master Interrupt Registers Register 0x008: Master Interrupt Register Bit Type Function Default 15:9 RO Unused 0 8 RO TC_INTR 0 7 RO MISC_INT 0 6 RO SBI_ALARM 0 5 RO SBI_DROP_INTR 0 4 RO SBI_ADD_INTR 0 3 RO ICP_CELL_AVL 0 2 RO RDAT_INTR 0 1 RO TIMA_INTR 0 0 RO RIPP_INTR 0 This register is the top of the Interrupt Tree. It indicates which lower level interrupt registers have interrupts pending. Note that the respective bits will remain set as long as the underlying condition remains active. RIPP_INTR When set, there is an interrupt pending from the RIPP block. Read the RIPP_INTR_FIFO located in Register 0x216 to determine the group which caused the interrupt. This bit indicates current status and will clear only when RIPP_INTR_FIFO is empty. On read: 0) No interrupt pending from the RIPP block. 1) Interrupt pending from the RIPP block. TIMA_INTR When set, there is an interrupt pending from the TIMA block. Read the TIMA_OVERFLOW_REGs located in registers 0x328-0x332 to determine the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in TIMA_OVERFLOW_REG. On read: 0) No interrupt pending from the TIMA block. 1) Interrupt pending from the TIMA block. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 137 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT_INTR When set, there is an interrupt pending from the RDAT block. Read the RDAT_INTR_STATUS_REG located in register 0x310 to determine the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in RDAT_INTR_STATUS_REG. On read: 0) No interrupt pending from the RDAT block. 1) Interrupt pending from the RDAT block. ICP_CELL_AVL When set, it indicates that a new ICP Cell is available in the ICP cell buffer. The ICP cell buffer can be used to extract ICP cells for a group. This bit is cleared when register 0x230 ICP Cell Forwarding Status is read. 0) No ICP cell is available. 1) An ICP cell is available in the ICP buffer. SBI_ADD_INTR When set, it indicates that an interrupt is pending related to the SBI-Add Bus (also known as the Insert SBI bus). Read the Insert Master Interrupt Status Register (Register “0x0E4”) to find the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in the Insert Master Interrupt Status Register. On read: 0) No SBI Add Bus interrupt pending. 1) SBI Add Bus interrupt is pending. SBI_DROP_INTR When set, it indicates that an interrupt is pending related to the SBI-Drop Bus, also known as the Extract SBI bus. Read the Extract Master Interrupt Status Register (Register 0x0BE) to find the cause of the interrupt. This bit indicates current status and will clear only when no interrupt conditions remain in the Extract Master Interrupt Status Register. On read: 0) No SBI Drop Bus interrupt pending 1) SBI Drop Bus interrupt is pending SBI_ALARM When set, it indicates that an interrupt is pending in one of the 0x084-0x08E: SBI Extract Alarm Interrupt Registers located at 0x084-0x08E. registers. This bit indicates current status, and will clear only when no interrupt conditions exist in either SBI alarm registers. On read: 0) No SBI alarm pending 1) SBI alarm pending PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 138 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM MISC_INTR When set, it indicates that an interrupt is pending in the Miscellaneous Interrupt Register located in register 0x00A. This bit indicates current status, and will clear only when no interrupt conditions exist in the Miscellaneous Interrupt register. On read: 0) No Miscellaneous interrupt pending 1) Miscellaneous interrupt pending TC_INTR When set, indicates that a TC layer is pending in the TC_INTR_FIFO. This bit indicates current status and will clear only when the TC_INTR_FIFO is empty. 0) No TC Interrupts in the TC_INTR FIFO. 1) TC Interrupts are present in the TC_INTR_FIFO. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 139 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x00A: Miscellaneous Interrupt Register Bit Type Function Default 15:5 R2C Reserved 0 4 R2C TC_INTR_FOVR_ER 0 R 3 R2C SDRAM_CRC_ERR 2 R2C TX_UTOP_CELLXFE 0 RR 1 R2C TX_UTOP_PAR_ER R 0 0 R2C RX_UTOP_XFR_ER R 0 0 This register collects the miscellaneous interrupts. These interrupt bits are cleared on read. If any bit in this register is set and is enabled, the MISC_INT bit will be set in the Master Interrupt register. RX_UTOP_XFR_ERR When set, it indicates that the Receive Any-PHY/UTOPIA Interface was requested to send a cell when it did not have one available. This condition is a protocol error in the Receive Any-PHY/UTOPIA bus. This bit is cleared on read. 0) No protocol error occurred. 1) The Rx Any-PHY/UTOPIA interface was requested to send a cell when a cell was not available. TX_UTOP_PAR_ERR When set, it indicates that the Transmit ANY-PHY/UTOPIA Interface experienced a parity error. This bit is cleared on read. 0) No parity error occurred on the TX ANY-PHY/UTOPIA interface. 1) A parity error occurred on the TX ANY-PHY/UTOPIA interface. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 140 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM TX_UTOP_CELLXFERR When set, it indicates that the Transmit ANY-PHY/UTOPIA Interface experienced an unexpected start of cell in the middle of a cell transfer. This bit is cleared on read. 0) No cell transfer error occurred on the TX ANY-PHY/UTOPIA interface. 1) A cell transfer error occurred on the TX ANY-PHY/UTOPIA interface. SDRAM_CRC_ERR When set, it indicates that a SDRAM CRC Error occurred when a cell buffer was read from SDRAM. This bit is cleared on read. 0) No SDRAM CRC error occurred. 1) SDRAM CRC error occurred. TC_INTR_FOVR_ERR When set, it indicates that the RTTC Interrupt FIFO overflowed and status reporting information was lost. To determine the status of the physical Links, the physical-link status for each link must be polled. This bit is cleared on read. 0) The RTTC Interrupt FIFO has not overflowed. 1) The RTTC Interrupt FIOF has overflowed. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 141 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x00C: Receive TC Interrupt FIFO Bit Type Function Default 15 RO FIFO_BUSY 0 14 RO FIFO_NOT_EMPTY 0 13:11 RO Unused 0 10:4 RO LINK_ID X 3 RO HCS_ERR X 2 RO LCD_ERR X 1 RO FOVR_ERR X 0 RO OOCD_ERR X OOCD_ERR When set, it indicates that an OCD error occurred on the link indicated by Link ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) No OCDE error occurred on the Link identified by LINK ID. 1) OCDE error occurred on the link identified by LINK ID. FOVR_ERR When set, it indicates that the RTTC Link FIFO overflowed on link LINK_ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) RTTC Link FIFO did not overflow on the Link identified by LINK_ID. 1) RTTC Link FIFO overflowed on the Link identified by LINK_ID. LCD_ERR When set, it indicates that a Loss of Cell Delineation Error occurred on the Link identified by LINK ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) No LCDE error occurred on the Link identified by LINK ID. 1) LCDE error occurred on the Link identified by LINK ID. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 142 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM HCS_ERR When set, it indicates that a Header Check Sequence Error occurred on the Link identified by LINK ID. This bit is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. 0) No HCSE error occurred on the Link identified by LINK ID. 1) HCSE error occurred on the Link identified by LINK ID. LINK_ID[6:0] Indicates the Physical-Link number associated with the error. If in SBI mode, this is in the SPE/LINK format while in CLK/DATA mode this field indicates the link number (0 to 83). This field is valid only when FIFO_NOT_EMPTY is set and FIFO_BUSY is not set. FIFO_NOT_EMPTY Indicates that the FIFO is not empty and that the data read is valid. This bit is valid only when FIFO_BUSY is not set. 0) FIFO empty, data is not valid 1) FIFO not empty, data is valid. FIFO_BUSY Indicates that the FIFO is in the process of retrieving the next entry. The Busy bit will generally be cleared within 4 sysclk cycles from the previous read of this field. While this bit is set, the other contents of this register are invalid. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 143 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x010: Master Interrupt Enable Register Bit Type Function Default 15:5 R/W Reserved 0 8 R/W TC_INTR_EN 0 7 R/W MISC_INTR_EN 0 6 R/W SBI_ALARM_EN 0 5 R/W SBI_DROP_INTR_EN 0 4 R/W SBI_ADD_INTR_EN 0 3 R/W ICP_CELL_AVL_EN 0 2 R/W RDAT_INTR_EN 0 1 R/W TIMA_INTR_EN 0 0 R/W RIPP_INTR_EN 0 The above enable-bits control the corresponding interrupt bits in the Master Interrupt Register. When an enable-bit is set to a logic 1, the corresponding error event will cause INTB to go active. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 144 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x012: Miscellaneous Interrupt Enable Register Bit Type Function Default 15:5 RO Unused 0 4 R/W TC_INTR_FOVR_ER R_EN 0 3 R/W SDRAM_CRC_ERR_ EN 0 2 R/W TX_UTOP_CELLXFE RR_EN 0 1 R/W TX_UTOP_PAR_ERR EN 0 0 R/W RX_UTOP_XFR_ERR 0 _EN The above enable-bits control the corresponding interrupt bits in the Miscellaneous Interrupt register. When an enable-bit is set to a logic 1, the corresponding error event will cause the MISC_INT bit to be set in the Master Interrupt Register. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 145 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x014: TC Interrupt Enable Register Bit Type Function Default 15:4 RO Unused 0 3 R/W HCS_ERR_EN 0 2 R/W LCD_ERR_EN 0 1 R/W FOVR_ERR_EN 0 0 R\W OOCD_ERR_EN 0 The above enable-bits provide a global enable for the corresponding interrupt bits in the RTTC Interrupt FIFO. If an enable-bit is not set, the corresponding error event will not cause an entry to be written into the TC_INTR FIFO. When an enable-bit is set to a logic 1, the corresponding error event, if enabled for the link, will cause an entry to be written into the TC INTR FIFO. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 146 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.3 UTOPIA Interface Registers These registers control the configuration of the UTOPIA interface. Register 0x020: Transmit Any-PHY/UTOPIA Cell Available Enable Bit Type Function Default 15:11 R Unused 0 10:0 R/W TCAEN[10:0] 0 TCAEN[10:0]: The TCAEN[10:0] bits control the response to polling on the AnyPHY/UTOPIA Transmit port. The TCAEN[10:0] bits can be used to enable virtual PHYs. Virtual PHYS are enabled in groups of eight consecutive addresses; for example, setting TCAEN[0] enables addresses 0 through 7, setting TCAEN[9] enables addresses 72 through 79, and setting TCAEN[10] enables addresses 80 through 83. If a disabled PHY address is polled, TCA remains high impedance. Similarly, PHY selection is ignored and no cell is transferred to the S/UNI-IMA-84 when a disabled PHY is addressed. This is typically used to allow more than one slave device to share the Transmit UTOPIA bus or to preserve addresses on the Any-PHY bus. Disabling all traffic to the Any-PHY/UTOPIA input port is achieved by setting all TCAEN[10:0] bits to logic 0. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 147 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x022: Receive UTOPIA Cell Available Enable Bit Type 15:4 3:0 R/W Function Default Unused 0 RCAEN[3:0] 0 RCAEN[3:0]: The RCAEN[3:0] bits control the response to polling on the receive UTOPIA port when in UTOPIA Level 2 Multi-Address mode. The RCAEN[3:0] bits can be used to enable logical channels. Logical channels are enabled in groups of eight consecutive addresses; for example, setting RCAEN[0] enables addresses 0 through 7 and setting RCAEN[3] enables addresses 24 through 30. S/UNI-IMA-84 drives the RCA output signal either high or low, when polled with an address corresponding to a set RCAEN bit, depending on the Group FIFO status. If a disabled PHY address is polled, RCA remains high impedance. Similarly, PHY selection is ignored and no cell is transferred from the S/UNI-IMA-84 when a disabled PHY is addressed. This is typically used to allow more than one slave device to share the Receive UTOPIA bus. Disabling all traffic to the UTOPIA input port while in Multi-PHY mode is achieved by setting all RCAEN[3:0] bits to logic 0. This field is ignored when in Any-PHY or Single Port UTOPIA mode. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 148 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x024: Receive Any-PHY/UTOPIA Config Reg (RXAPS_CFG) Bit Type Function Default 15 R/W RA_ENABLE 0 14:13 R Unused 0 12:8 R/W RA_DEVID[4:0] 0 7:6 R Unused 0 5 R/W RA_HECUDF 0 4 R/W RA_PREPEND 0 3 R/W RA_16_BIT_MOD E 0 2 R/W RA_EVEN_PAR 0 1 R/W RA_ANY-PHY_EN 0 0 R/W RA_UTOP_MOD E 0 This register controls the receive side configuration of the Any-PHY/UTOPIA Interface RA_UTOP_MODE Selects the operating mode for the receive-side interface. This bit is ignored when ANY-PHY_EN is set: 0) UTOPIA-2 Single Address Slave with address prepend. 1) UTOPIA-2 Multi-Address Slave. RA_ANY-PHY_EN Enables Any-PHY mode for receive side interface. 0) UTOPIA mode. (Use RA_UTOP_MODE for UTOPIA type). 1) Any-PHY mode. RA_EVEN_PAR Determines the generated parity across data bytes/words sourced by the receive interface. 0) Odd parity. 1) Even parity. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 149 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RA_16_BIT_MODE When set, the Any-PHY/UTOPIA receive side interface operates in 16-bit mode. 0) 8-bit mode. 1) 16-bit mode. RA_PREPEND When set, two bytes are prepended to cells on the Any-PHY/UTOPIA bus. This prepend is always zero. This prepend is independent of the address prepend used for Any-PHY mode. 0) No additional bytes are prepended to the cells. 1) Two additional bytes are prepended to the cells. RA_HECUDF This bit is only valid in Single Address UTOPIA Mode. 0) Place the virtual PHY ID in a prepend. 1) Place the virtual PHY ID in the HECUDF. RA_DEVID[4:0] This field provides the device ID that is used for polling and selection in the Any-PHY mode or in the Single Address UTOPIA Mode. When the address presented on the Any-PHY/UTOPIA RADR Interface pins matches this address, the S/UNI-IMA-84 will respond to polls. The S/UNI-IMA-84 is selected for a cell transfer when the address on RADR at the last cycle that RENB is high matches RA_DEVID. RA_ENABLE Enables the Receive Any-PHY/UTOPIA interface. Prior to this bit being set, all outputs are tristated and all inputs are ignored on the Interface. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 150 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x026: Transmit Any-PHY/UTOPIA Config Reg (TXAPS_CFG) Bit Type Function Default 15 R/W TA_ENABLE 0 14:5 R Unused 0 4 R/W TA_PREPEND 0 3 R/W TA_16_BIT_MOD E 0 2 R/W TA_EVEN_PAR 0 1 R/W TA_ANY-PHY_EN 0 0 R/W Unused 0 This register controls the transmit-side configuration of the Any-PHY/UTOPIA Interface TA_ANY-PHY_EN Enables Any-PHY mode for the transmit side interface: 0) UTOPIA-2 Multi-Address Slave 1) Any-PHY mode. TA_EVEN_PAR Determines the checked parity across data bytes/words received by the AnyPHY/UTOPIA transmit Interface. 0) Odd parity 1) Even parity. TA_16_BIT_MODE When set, the TX Any-PHY/UTOPIA interface operates in 16-bit mode. 0) 8-bit mode 1) 16-bit mode TA_PREPEND: When set, a single 2-byte prepend is expected on the Any-PHY/UTOPIA transmit interface. This prepend is independent of the address prepend used for Any-PHY mode. The prepend is ignored, but the capability is provided to enhance interoperability. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 151 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 0) No two-byte prepend is expected. 1) Two-byte prepend is expected. TA_ENABLE Enables the Transmit Any-PHY/UTOPIA interface. Prior to this bit being set, all outputs are tristated and all inputs are ignored on the Interface. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 152 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x028: Transmit Any-PHY Address Config Register (TXAPS_ADD_CFG) Bit Type Function Default 15:7 R/W CFG_ADDR_MSB 0 6:0 R/W Unused 0 CFG_ADDR_MSB(15:7) These bits contain the configured slave address used for Any-PHY operation in the transmit direction. Depending on the mode of the Any-PHY/UTOPIA interface different bits of this field are used. In Any-PHY 16-bit mode, the upper nine bits of the prepended address on the Any-PHY bus is compared with CFG_ADDR_MSB to select the device. The lower seven bits of the prepended address on the Any-PHY bus are not compared with this field, and are used only to route each cell to the targeted virtual PHY FIFO. In Any-PHY 8-bit mode, the MSB of the prepended address on the Any-PHY bus is compared with CFG_ADDR_MSB[7] to select the device. The lower seven bits of the prepended address on the Any-PHY bus are not compared with this field, and are used only to route each cell to the targeted virtual PHY FIFO. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 153 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM In UTOPIA Level 2 mode, this register is not used. To disable UTOPIA transmit ports, the Transmit Any-PHY/UTOPIA Cell-Available Enable register PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 154 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 155 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.4 SDRAM Registers Register 0x040: SDRAM Configuration Bit Type 15:12 Function Default Unused 0 11:1 R/W REF_RATE [10:0] 0 0 R/W SDRAM_EN 0 This register configures and enables the SDRAM interface. SDRAM_EN The SDRAM_EN enables the SDRAM interface. A transition from 0 to 1 starts the SDRAM self-initialization procedure. This procedure takes 70 SYSCLK cycles to complete. Note that no other SDRAM accesses are allowed during this period. SDRAM_EN is provided to ensure that the power-up of the SDRAM is completed before the SDRAM self-initialization sequence is started. The power-up time is controlled by SDRAM_EN. Typically, this must be at least 200 us. When SDRAM_EN = ‘0’, no SDRAM accesses will occur and the chip will not operate properly. 0) SDRAM accesses are disabled 1) SDRAM accesses are enabled REF_RATE[10:0] Defines the SYSCLK divide-down factor to determine the SDRAM refresh rate. The REF_RATE must be configured prior to setting the SDRAM_EN. A zero value will effectively disable refresh. For Example, if the SDRAM requires 4K refreshes in 64 ms with a SYSCLK of 50 MHz, the REF_RATE should be programmed to: REF _ RATE = Sys _ Clk 50MHZ = = 781 = 0 x30 D 4096 (# _ of _ refresh) 64ms (time _ period ) ( ) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 156 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x042 SDRAM Diagnostics Bit Type Function Default 15:1 N/A Unused 0 0 R/W DIAG_MODE 0 DIAG_MODE The SDRAM Diagnostic Mode (DIAG_MODE) allows the microprocessor to access the SDRAM for testing and initialization. While in diagnostic mode, the normal SDRAM accesses are inhibited and the S/UNI-IMA-84 will not operate properly. 0) Diagnostic access is disabled and the S/UNI-IMA-84 operates normally. 1) Diagnostic access is enabled. The SDRAM may be accessed via indirect access as described in section 11.4 using registers 0x44-0x50. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 157 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x044: SDRAM DIAG Burst RAM Indirect Access Bit Type Function Default 15 RO BR_BUSY 0 14:5 N/A Unused N/A 4:0 R/W BR_ADDR[4:0] 0 Writing to this register triggers either a write to the Burst Write RAM or a read from the Burst Read RAM. See 12.6.1 for further details. BR_ADDR [4:0]: The Burst-ram address (BR_ADDR [4:0]) indicates the RAM address to be configured or interrogated. The Burst ram is divided into 2 segments: the first is Burst Write RAM, which is used to store data to be loaded into the External SDRAM; the second is the Burst Read RAM, which is used to collect data read from the External SDRAM. The access to the burst-write RAM is always a write operation while the access to the burst-read RAM is always a read operation. See Figure 25 for the format of the Burst RAM. • 0x00-0x0F: Burst-Write RAM • 0x10-0x1F: Burst-Read RAM BR_BUSY: The indirect access command bit (BR_BUSY) reports the progress of an indirect access. BR_BUSY is set high when the register is written to trigger an indirect access; it will stay high until the access is complete. Once the access is complete, the BR_BUSY signal is reset. This register should be polled: (1) to determine when data from an indirect read operation is available in the SDRAM Indirect Burst RAM Data register or (2) to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 158 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x046: SDRAM DIAG Indirect Burst Ram Data LSB Bit Type Function Default 15:0 R/W BR_DATA_LSB 0 This register should not be written while the BR_BUSY bit is set in the SDRAM Burst RAM Indirect Access register. BR_DATA_LSB: The BR_DATA_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the BR_BUSY bit has been cleared. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 159 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x048: SDRAM DIAG Indirect Burst RAM Data MSB Bit Type Function Default 15:0 R/W BR_DATA_MSB 0 This register should not be written while the BR_BUSY bit is set in the SDRAM Burst RAM Indirect Access register. BR_DATA_MSB: The BR_DATA_MSB represents either: (1) the most significant 16 bits of the data to be written to internal memory or (2) the most significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the BR_BUSY bit has been cleared. The following explains the Burst RAM accessed by the indirect access. Burst RAM: The microprocessor has access to the external SDRAM for testing and initialization. There is a 64-byte cell buffer for writing to the external SDRAM and a 64-byte cell buffer for storing data read from the external SDRAM. Figure 25 shows the format of the cell in the Burst RAM. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 160 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Figure 25 ISSUE 4 INVERSE MULTIPLEXING OVER ATM -Burst RAM Format Word # 31 Bits 0x00 Burst Write (0) 0x01 Burst Write (1) 0 … … 0x0F Burst Write(15) 0x10 Burst Read (0) 0x11 Burst Read (1) … … 0x1F Burst Read(15) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 161 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x04A: SDRAM DIAG WRITE CMD 1 Bit Type Function Default 15:0 R/W WR_BUFFER_ADDR[15:0] 0 WR_BUFFER_ADDR[15:0] Indicates the lower 16 bits of the addresses of the cell buffer to write. SDRAM DIAG Write CMD 2 provides the upper address bit and triggers the burst access to happen. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 162 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x04C: SDRAM DIAG WRITE CMD 2 Bit Type Function Default 15 R WRBUSY 0 14:1 0 Unused R/W WR_BUFFER_ADDR[16] 0 A write to the SDRAM DIAG WR_CMD 2 register will trigger a transfer of data from the Write Burst Ram to the external SDRAM. The lower bits of the address of the cell buffer in the external SDRAM are given in the SDRAM DIAG WRITE CMD 1 register. WR_BUFFER_ADDR[16] Indicates the upper bit of the addresses of the cell buffer to write. SDRAM DIAG Write CMD 1 provides the lower address bits. WRBUSY The Write Busy bit (WRBUSY) reports the progress of the write access to SDRAM. WRBUSY is set high when this register is written; this triggers the SDRAM access; it stays high until the access is complete. At which point, WRBUSY will be set low. This register should be polled to determine when a new diagnostic write operation may commence. While the WRBUSY bit is set, no indirect accesses to the write burst ram should be performed. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 163 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x04E: SDRAM DIAG READ CMD 1 Bit Type Function Default 15:0 R/W RD_BUFFER ADDR[15:0] 0 RD_BUFFER_ADDR[15:0] Indicates the lower 16 bits of the addresses of the cell buffer to read. SDRAM DIAG Read CMD 2 provides the upper address bit and triggers the burst access to happen. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 164 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x050: SDRAM DIAG READ CMD 2 Bit Type Function Default 15 R RDBUSY 0 14:1 0 Unused R/W RD_BUFFER ADDR[16] A write to the SDRAM DIAG READ CMD 2 register will trigger a transfer of data from the external SDRAM to the Read Burst Ram. The lower bits of the address of the cell buffer in the external SDRAM are given in the SDRAM DIAG READ CMD 1 register. RD_BUFFER_ADDR[16] Indicates the upper bit of the addresses of the cell buffer to read. SDRAM DIAG READ CMD 1 provides the lower address bits. RDBUSY The Read Busy bit (RDBUSY) reports the progress of the read access to SDRAM. RDBUSY is set high when this register is written; this triggers the SDRAM access; it stays high until the access is complete. At which point, RD_BUSY will be set low. This register should be polled to determine when the data is available in the Burst Ram. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 165 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.5 TC Layer Registers Register 0x060: TTTC Indirect Link Control Register Bit Type Function Default 15 R LBUSY 0 14 R/W LRWB 0 Unused 0 13:7 6:5 R/W SPE[1:0] 0 4:0 R/W LINK[4:0] 0 This register provides the link number used to access the TTTC link provision RAM. Writing to this register triggers an indirect link register access. LINK[4:0],SPE[1:0]: LINK[4:0] and SPE[1:0] are used to specify the link to be configured or interrogated in the indirect link access. SBI mode: Valid values for SPE are 0x1 to 0x3, and valid values for LINK are 0x1 to 0x1C. Clk/Data mode: SPE and LINK are combined to form the Virtual Link number. 84 virtual links are available. Valid values for the SPE/LINK fields are 0x00 to 0x53. LRWB: The link indirect access control bit (LRWB) selects between either a configure (write) or interrogate (read) access to the link-context RAM. Writing a logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing a logic 1 to LRWB triggers an indirect read operation. The read data can be found in the Indirect Link Data registers. LBUSY: The indirect link access status bit (LBUSY) reports the progress of an indirect access A write to the Indirect Link Address register triggers an indirect access and sets LBUSY to logic 1; it will remain logic 1 until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Link Data registers or (2) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 166 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM when a new indirect write operation may commence. The LBUSY is not expected to remain at logic 1 for more than 86 REFCLK cycles. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 167 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x062: TTTC Indirect Link Configuration Register Bit Type 15:3 Function Default Unused 0 2 R/W DHCS 0 1 R/W Reserved 0 0 R/W DSCR 0 This register contains either: (1) data read from the TTTC link provision RAM after an indirect Link read operation or (2) data to be inserted into the TTTC link provision RAM in an indirect Link write operation. DSCR: The indirect scrambling disable bit (DSCR) configures scrambling. The scramble disable bit to be written to the link provision RAM, in an indirect link write operation, must be set up in this register before triggering the write. When DSCR is logic 1, scrambling is disabled. When DSCR is logic 0, the 48 byte payload is scrambled. DSCR reflects the value written until the completion of a subsequent indirect link-read operation. DHCS: The Disable HCS (Header Check Sequence) bit (DHCS) configures the insertion of the HCS in the fifth byte of the cell. The value of DHCS to be written to the link provision RAM, in an indirect link write operation, must be set up in this register before triggering the write. When DHCS is logic 0, the CRC-8 calculation over the first four bytes of the cell overwrites the fifth byte. When DHCS is logic 1, the fifth byte of the cell passes through unmodified. DHCS reflects the value written until the completion of a subsequent indirect link-read operation. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 168 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x070: RTTC Indirect Link Control Register Bit Type Function Default 15 R LBUSY 0 14 R/W LRWB 0 13 R/W DRHCSE 0 Unused 0 12:7 6:5 R/W SPE[1:0] 0 4:0 R/W LINK[4:0] 0 This register provides the link number used to access the RTTC link provision RAM. Writing to this register triggers an indirect link-register access. LINK[4:0],SPE[1:0]: LINK[4:0] and SPE[1:0] are used to specify the link to be configured or interrogated in the indirect link access. SBI mode: Valid values for SPE are 0x1 to 0x3, and valid values for LINK are 0x1 to 0x1C. Clk/Data mode: SPE and LINK are combined to form the Virtual Link number. 84 virtual links are available. Valid values for the SPE/LINK fields are 0x00 to 0x53. DRHCSE: Disable Reset of the HCS Error Count (DRHCSE) disables automatic reset of the HCS Error Counter (HCSERR). When the bit is set to logic 0, automatic reset of the HCS Error Counter is enabled. If an indirect read is initiated (i.e., CRWBs written with logic 1) with DRHCSE logic 0, the HCS Error Counter is reset to zero upon completion of the indirect read. When the DRHCSE bit is set to logic 1, automatic reset of the HCS Error Counter is disabled. An indirect read results in the interrupt status, as well as the HCSERR count, being read (and possibly cleared). In this situation, the DRHCSE bit is useful for separating interrupt processing from HCSERR count accumulation because it can disable the HCSERR count reset when querying for interrupts. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 169 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM LRWB: The Link indirect access control bit (LRWB) selects between a configure (write) or interrogate (read) access to the Link context RAM. Writing a logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing a logic 1 to LRWB triggers an indirect read operation. The read data can be found in the Indirect Link Data registers. LBUSY: The indirect access status bit (LBUSY) reports the progress of an indirect access. A write to the Indirect Link Address register triggers an indirect access and sets LBUSY to logic 1. LBUSY stays high until the access is completed. At which point, LBUSY will be set low. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 170 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x072: RTTC Indirect Link Configuration Register Bit Type 15:11 Function Default Unused 10 R/W LCDOOCDPASS 0 9 R/W HCSPASS 0 8 R/W UNASSPASS 0 7 R/W IDLEPASS 0 6 R/W DDSCR 0 5 R/W Reserved 0 4 R/W Reserved 0 3 R/W OOCDE 0 2 R/W HCSE 0 1 R/W FOVRE 0 0 R/W LCDE 0 This register contains either: (1) data read from the RTTC Link provision RAM after an indirect Link read operation or (2) data to be inserted into the RTTC Link provision RAM in an indirect Link write operation. The bits to be written to the RTTC Link provision RAM, in an indirect Link write operation, must be set up in this register before triggering the write. The bits reflect the value written until the completion of a subsequent indirect Link read operation. The reset state of the bits enables standard ATM cell processing as stipulated in ITU-T Recommendation I.432.1 LCDE: The LCDE bit enables the generation of an interrupt due to a change in the LCD state. When LCDE is set to logic 1, the interrupt is enabled. FOVRE: The FOVRE bit enables the generation of an interrupt due to a FIFO overrun error condition. When FOVRE is set to logic 1, the interrupt is enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 171 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM HCSE: The HCSE bit enables the generation of an interrupt due to the detection of an HCS error. When HCSE is set to logic 1, the interrupt is enabled. OOCDE: The OOCDE bit enables the generation of an interrupt due to a change in the cell delineation state. When OOCDE is set to logic 1, the interrupt is enabled. DDSCR: The DDSCR bit controls the descrambling of the cell payload with the polynomial x43 + 1. When DDSCR is set to logic 1, cell payload descrambling is disabled. When DDSCR is set to logic 0, payload descrambling is enabled. IDLEPASS: The IDLEPASS bit controls the function of the idle cell filter. When IDLEPASS is written with a logic 0, all idle cells (i.e., the first four bytes of a cell: x00, x00, x00, and x01) are filtered out. When IDLEPASS is logic 1, idle cells are passed to the external cell buffer. UNASSPASS: When UNASSPASS is written with a logic 0, all unassigned cells (i.e., the first four bytes of a cell: x00, x00, x00, and x00) are filtered out. When UNASSPASS is logic 1, unassigned cells are passed to on the external cell buffer. HCSPASS: The HCSPASS bit controls the dropping of cells based on the detection of an HCS error. When HCSPASS is logic 0, cells containing an HCS error are dropped. When HCSPASS is a logic 1, cells are passed to the external cell buffer regardless of errors detected in the HCS. LCDOOCDPASS: The LCDOCDPASS bit controls the dropping of cells based on the detection of an out of cell delineation and loss of cell delineation. When LCDOOCDPASS is logic 0, cells containing an OOCD error and an LCD error are dropped. When LCDOOCDPASS is a logic 1, cells are passed to the external cell buffer regardless of errors detected in the OOCD and LCD. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 172 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x074: RTTC Indirect Link Interrupt and Status Register Bit Type 15:6 Function Default Unused 5 R OOCDV 1 4 R LCDV 0 3 R OOCDI 0 2 R HCSI 0 1 R FOVRI 0 0 R LCDI 0 This register contains data read from the RTTC Link provision RAM after an indirect read operation. LCDI: The LCDI bit is set high when there is a change in the loss of cell delineation (LCD) state. This bit is reset immediately after a read to this register. FOVRI: The FOVRI bit is set to logic 1 when a FIFO overrun occurs. This bit is reset immediately after a read to this register. HCSI: The HCSI bit is set high when an HCS error is detected. This bit is reset immediately after a read to this register. OOCDI: The OOCDI bit is set high when the logical Link enters or exits the SYNC state. The OOCDV bit indicates whether the logical Link is in the SYNC state or not. The OOCDI bit is reset immediately after a read to this register. LCDV: The LCDV bit gives the Loss of Cell Delineation state. When LCD is logic 1, an out of cell delineation (OCD) defect has persisted for the number of cells specified in the LCD Count Threshold register. When LCD is logic 0, no OCD has persisted for the number of cells specified in the LCD Count Threshold PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 173 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM register. The cell time period can be varied by using the LCDC[7:0] register bits in the LCD Count Threshold register. OOCDV: The OOCDV bit is high when the logical Link is not currently in the SYNC state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 174 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x076: RTTC Indirect Link HCS Error Count Register Bit Type Function Default 15:0 R HCSERR[15:0] 0 This register contains data read from the RTTC Link provision RAM after an indirect read operation. HCSERR[15:0]: The HCSERR[7:0] bits indicate the number of HCS error events that occurred during the last accumulation interval. When the number of HCS error events during the last accumulation interval exceeds 64K, the HCSERR[15:0] retains a value of FFFFH until the next accumulation interval (HCSERR[15:0] is reset). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 175 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x078: LCD Count Threshold Bit Type 15:8 7:0 Function Default Unused R/W LCDC[7:0] 0x68 LCDC[7:0]: The LCDC[7:0] bits represent the number of consecutive cell periods the receive cell processor must be out of cell delineation before loss of cell delineation (LCD) is declared. Likewise, LCD is not deasserted until the receive cell processor is in cell delineation for the number of cell periods specified by LCDC[7:0]. The default value of LCDC[7:0] is 104; this translates to 28 ms at 1.5 Mbps. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 176 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.6 SBI Registers Register 0x080: SBI Bus Configuration Register (SBI_BUS_CFG_REG) Bit Type Function Default 15:14 Rsvd Unused 0 13 R/W Reserved 0 12 R/W Reserved 0 11 R/W Reserved 0 10 R/W Reserved 0 9 R/W Reserved 0 8 R/W SPE3_ENBL 0 7 R/W SPE2_ENBL 0 6 R/W SPE1_ENBL 0 5:4 R/W SPE3_TYP[1:0] 0 3:2 R/W SPE2_TYP[1:0] 0 1:0 R/W SPE1_TYP[1:0] 0 The SBI bus contains 3 Synchronous Payload Envelopes (SPE) that can be configured to be E1, T1, or DS3. This register defines the payload type for each SPE, and enables each SPE. SPEn_TYP[1:0] The SPEn_TYP fields identify the payload type of each SPE. The encoding for SPEn_TYPE is: Payload Type SPEn_TYP Value T1 b”00” E1 b”01” DS3 b”10” Reserved b”11” PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 177 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM SPEn_ENBL The SPEn_ENBL field is used to enable or disable an entire SPE on the SBI. When high, the SPE is enabled. All SPEs default to disabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 178 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x084-0x08E: SBI Extract Alarm Interrupt Register Address Bit Type Function Default 0x084 15:0 R2C SPE1_ALRM_INT[15:0] 0 0x086 15:12 R2C Unused 0 11:0 R2C SPE1_ALRM_INT[27:16] 0 0x088 15:0 R2C SPE2_ALRM_INT[15:0] 0 0x08A 15:12 R2C Unused 0 11:0 R2C SPE2_ALRM_INT[27:16] 0 0x08C 15:0 R2C SPE3_ALRM_INT[15:0] 0 0x08E 15:12 R2C Unused 0 11:0 R2C SPE3_ALRM_INT[27:16] 0 SPEn_ALRM_INTn When set, SPEn_ALRM_INTn indicates that the ALM bit in the V4 octet received on the SBI Drop bus has changed on the corresponding SBI tributary. This bit is cleared upon reading. Read SPEn_ALRM_STATn to see the current state. When a bit is set in any SPEn_ALRM_INTn and the SBI_ALARM_EN bit is set, the SBI_ALARM bit will be set in the Master Interrupt register; this will activate INTB. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 179 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x090-0x09A: SBI Extract Alarm Status Register Address Bit Type Function Default 0x090 15:0 RO SPE1_ALRM_STAT[15:0] 0 0x092 15:12 RO Unused 0 11:0 RO SPE1_ALRM_STAT[27:16] 0 0x094 15:0 RO SPE2_ALRM_STAT[15:0] 0 0x096 15:12 RO Unused 0 11:0 RO SPE2_ALRM_STAT[27:16] 0 0x098 15:0 RO SPE3_ALRM_STAT[15:0] 0 0x09A 15:12 RO Unused 0 11:0 RO SPE3_ALRM_STAT[27:16] 0 SPEn_ALRM_STATn SPEn_ALRM_STATn indicates the current value of the ALM bit received in the V4 octet of the SBI Drop bus on the corresponding SBI tributary. SPE1_ALRM_INTn in the SBI Extract Alarm Interrupt Register will be set whenever this bit changes. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 180 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0A0: SBI Extract Control Register Bit Type 15:8 Function Default Unused 0 7 R/W Reserved 0 6 R/W DC_ENBL 1 5 R/W DC_INT_EN 0 4 R/W FIFO_OVRE 0 3 R/W FIFO_UDRE 0 2 R/W Reserved 0 1 R/W SBI_PERR_EN 0 0 R/W SBI_PAR_CTL 1 SBI_PAR_CTL The SBI_PAR_CTL bit is used to configure the Parity mode for checking the SBI parity signal DP as follows: When SBI_PAR_CTL is ’0’, parity will be even. When SBI_PAR_CTL is ‘1’, parity will be odd. SBI_PERR_EN The SBI_PERR_EN bit is used to enable SBI Parity Error interrupt generation. When SBI_PERR_EN is ‘0’, SBI Parity Error Interrupts will be disabled. When SBI_PERR_EN is ‘1’, SBI Parity Error Interrupts will be enabled. In both cases, the SBI Parity checker logic will update the SBI Parity Error Interrupt Reason Register. FIFO_UDRE This bit is set to enable the generation of an interrupt when a FIFO underrun is detected. FIFO_OVRE This bit is set to enable the generation of an interrupt when a FIFO overrun is detected. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 181 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM DC_INT_EN This bit is set to enable the generation of an interrupt when either of the following events occurs: A Depth Check error An external resynchronization event occurs on either the C1FP or SBIIP_SYNC signals DC_ENBL This bit enables automatic Depth Check Resets. The depth-checker logic will periodically monitor the EXSBI FIFO depths and compare them to the write and read pointers. When DC_ENBL is asserted high and there is a discrepancy, the tributary is automatically reset by the depth checker. When DC_ENBL is low, the tributary reset is suppressed, but the Depth Check Error is reported via the Depth Check Interrupt Reason Register. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 182 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0A2: SBI Extract FIFO Underrun Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 R2C SPE[1:0] 01 5:1 R2C TRIB[4:0] 0 0 R2C FIFO_UDRI 0 FIFO_UDRI This bit is set when a FIFO underrun is detected, regardless of the state of EXSBI FIFO_UDRE. Reading this register clears this bit unless another FIFO Underrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO underrun was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when FIFO_UDRI=1. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 183 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0A4: SBI Extract FIFO Overrun Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 R2C SPE[1:0] 01 5:1 R2C TRIB[4:0] 0 0 R2C FIFO_OVRI 0 FIFO_OVRI This bit is set when a FIFO overrun is detected, regardless of the state of EXSBI FIFO_OVRE. Reading this register clears this bit unless another FIFO Overrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO overrun was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when FIFO_OVRI=1. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 184 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0A6: SBI Extract Tributary Control RAM Indirect Access Address Register Bit Type 15:8 Function Default Unused 0 7 R/W Reserved 0 6:5 R/W SPE[1:0] 0 4:0 R/W TRIB[4:0] 0 TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields are used to specify to which SBI tributary the control register access will apply. TRIB[4:0] specifies the SBI tributary number within the SBI SPE as specified by the SPE[1:0] field. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 185 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0A8: SBI Extract Tributary Control RAM Indirect Access Control Register Bit Type 15:8 Function Default Unused 0 7 RO BUSY 0 6 R2C HST_ADDR_ERR 0 Unused 0 5:2 1 R/W RWB 0 0 R/W Reserved 0 RWB The indirect access control bit (RWB) selects between a configure (write) or an interrogate (read) access to the tributary control configuration RAM. Writing a ‘0’ to RWB triggers an indirect write operation. Data to be written is taken from the SBI Extract Tributary Control Indirect Access Data Register. Writing a ‘1’ to RWB triggers an indirect read operation. The data read can be found in the SBI Extract Tributary Control Indirect Access Data Register. HST_ADDR_ERR When set following a host read, this bit indicates that an illegal host access was attempted. An illegal host access occurs when an attempt is made to access an out-of-range tributary. For DS3 the out-of-range tributaries are 1,2 to 1,28; 2,2 to 2,28; and 3,2 to 3,28. For E1, the out-of-range tributaries are 1,22 to 1,28; 2,22 to 2,28; and 3,22 to 3,28. BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when a write to the SBI Extract Tributary RAM Indirect Access Control Register triggers an indirect access and will stay high until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Tributary Data register or (2) when a new indirect write operation may commence. . PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 186 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0AC: SBI Extract Tributary Control RAM Indirect Access Data Register Bit Type 15:7 Function Default Unused 0 6 R/W Reserved 0 5 R/W Reserved 0 4 R/W Reserved 0 3:2 R/W TRIB_TYP[1:0] 0 1 R/W Reserved 0 0 R/W ENBL 0 This register represents either (1) the data to be written to the internal memory or (2) data read from the internal memory from the previous indirect read operation. The read data is not valid until the BUSY bit in the SBI Extract Tributary RAM Indirect Access Control register is cleared. ENBL The ENBL bit is used to enable the Tributary. Writing to an SBI Extract Tributary Control Register with the ENBL bit set enables the EXSBI to take tributary data from an SBI tributary and transmit that data to the corresponding Link FIFO. TRIB_TYP[1:0] The TRIB_TYP[1:0] field is used to specify the characteristics of the SBI tributary. Only the value of ‘01’ is supported; this indicates a framed tributary without CAS. THIS MUST BE WRITTEN TO A “01” value. Note: Any write to a Tributary Control register for a tributary will generate a configuration reset on that tributary, irrespective of whether the data written to the tributary control register is unchanged from the previous value. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 187 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0AE: SBI Extract Parity Error Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 RO SPE[1:0] 01 5:1 RO TRIB[4:0] 00001 0 R2C PERRI 0 PERRI This bit is set when an SBI parity error is detected, regardless of the state of SBI_PERR_EN. Reading this register clears this bit unless another parity error interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the parity error was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when PERRI=1 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 188 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0BC: SBI Extract Depth Check Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 R2C SPE[1:0] 01 5:1 R2C TRIB[4:0] 0 0 R2C DCR_INTI 0 DCR_INTI This bit is set when a Depth Check error is detected, regardless of the state of DC_INT_EN. Reading this register clears this bit unless another depth check interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the depth check error was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when DCR_INTI=1. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 189 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0BE: SBI Extract Master Interrupt Register Bit Type 15:8 Function Default Unused 0 7 RW FIFO_UNDERUN_DIS 0 6 RSVD Unused 0 5 RO DCR_INTI_SHDW 0 4 RO PERRI_SHDW 0 3 RO FIFO_UDRI_SHDW 0 2 RO FIFO_OVRI_SHDW 0 1 R2C SBIIP_SYNC_INTI 0 0 R2C C1FP_SYNC_INTI 0 C1FP_SYNC_INTI This bit is set when a C1FP realignment has been detected. Reading this register clears this interrupt source. SBIIP_SYNC_INTI This bit is set when a SBIIP_SYNC realignment has been detected. Reading this register clears this interrupt source. FIFO_OVRI_SHDW This bit is a shadow of the FIFO_OVRI bit in the SBI Extract FIFO Overrun Interrupt Status Register. It is set when the FIFO_OVRI bit is set and the interrupt enable FIFO_OVRE is set. Reading this register has no affect on this interrupt source. FIFO_UDRI_SHDW This bit is a shadow of the FIFO_UDRI bit in the SBI Extract FIFO Underrun Interrupt Status Register. It is set when the FIFO_UDRI bit is set and the interrupt enable FIFO_UDRE is set. Reading this register has no affect on this interrupt source. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 190 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PERRI_SHDW This bit is a shadow of the PERRI bit in the SBI Parity Error Interrupt Reason Register. It is set when the PERRI bit is set and the interrupt enable SBI_PERR_EN is set. Reading this register has no affect on this interrupt source. DCR_INTI_SHDW This bit is a shadow of the DCR_INTI bit in the SBI Extract Depth Check Interrupt Status Register. It is set when the DCR_INTI bit is set and the interrupt enable DCR_INT_EN is set. Reading this register has no affect on this interrupt source. FIFO_UNDERUN_DIS This bit, when set, disables underrun errors by not playing data out of an internal rate matching FIFO when the FIFO goes empty. If this bit is not set, Depth Check Interrupts will occur and data corruption will result. Note: This bit MUST be set to a one for proper operation PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 191 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0C0: SBI Insert Control Register Bit Type 15:8 Function Default Unused 0 7 R/W Reserved 0 6 R/W DC_ENBL 1 5 R/W DC_INT_EN 0 4 R/W FIFO_OVRE 0 3 R/W FIFO_UDRE 0 2 R/W Reserved 0 1 Rsvd Unused 0 0 R/W SBI_PAR_CTL 1 SBI_PAR_CTL The SBI_PAR_CTL bit is used to configure the Parity mode for generation of the SBI data parity signal, ADP as follows When SBI_PAR_CTL is a ‘0’ parity will be even. When SBI_PAR_CTL is a ‘1’, parity will be odd. FIFO_UDRE The FIFO_UDRE bit is used to enable/disable the generation of an interrupt when a FIFO underrun is detected. When FIFO_UDRE is a ‘0’, underrun interrupt generation is disabled. When FIFO_UDRE is a ‘1’, underrun interrupt generation is enabled. FIFO_OVRE The FIFO_OVRE bit is used to enable/disable the generation of an interrupt when a FIFO overrun is detected. When FIFO_OVRE is a ‘0’, overrun interrupt generation is disabled. When FIFO_OVRE is a ‘1’, overrun interrupt generation is enabled. DC_INT_EN This bit is set to enable the generation of an interrupt when either of the following events occurs: A Depth Check error PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 192 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM An external resynchronization event occurs on either the C1FP or SBIIP_SYNC signals DC_ENBL This bit enables automatic Depth Check Resets. The depth-checker logic will periodically monitor the EXSBI FIFO depths and compare them to the write and read pointers. When DC_ENBL is asserted high and there is a discrepancy, the tributary is automatically reset by the depth checker. When DC_ENBL is low, the tributary reset is suppressed, but the Depth Check Error is reported via the Depth Check Interrupt Reason Register. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 193 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0C2: SBI Insert FIFO Underrun Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 RO SPE[1:0] 01 5:1 RO TRIB[4:0] 0 0 R2C FIFO_UDRI 0 FIFO_UDRI This bit is set when a FIFO underrun is detected, regardless of the state of INSBI FIFO_UDRE. Reading this register clears this bit unless another FIFO Underrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO underrun was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when FIFO_UDRI=1. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 194 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0C4: SBI Insert FIFO Overrun Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 RO SPE[1:0] 01 5:1 RO TRIB[4:0] 0 0 R2C FIFO_OVRI 0 FIFO_OVRI This bit is set when a FIFO overrun is detected, regardless of the state of INSBI FIFO_OVRE. Reading this register clears this bit unless another FIFO Overrun interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the FIFO overrun was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when FIFO_OVRI=1. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 195 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0C6: SBI Insert Tributary Control RAM Indirect Access Address Register Bit Type 15:8 Function Default Unused 0 7 R/W Reserved 0 6:5 R/W SPE[1:0] 0 4:0 R/W TRIB[4:0] 0 TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields are used to fully specify the SBI tributary to which the Control RAM write or read operation will apply. TRIB[4:0] specifies the SBI tributary number within the SBI SPE, as specified by the SPE[1:0] field. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 196 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0C8: SBI Insert Tributary Control RAM Indirect Access Control Register Bit Type 15:8 Function Default Unused 0 7 RO BUSY 0 6 R2C HST_ADDR_ERR 0 Unused 0 5:2 1 R/W RWB 0 0 R/W Reserved 0 RWB The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the control configuration RAM. Writing a ‘0’ to RWB triggers an indirect write operation. Data to be written is taken from the SBI Insert Tributary Control Indirect Access Data Register. Writing a ‘1’ to RWB triggers an indirect read operation. The data read can be found in the SBI Insert Tributary Control Indirect Access Data Register. HST_ADDR_ERR When set following a host read, this bit indicates that an illegal host access was attempted. An illegal host access occurs when an attempt is made to access an out-of-range tributary. BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when a write to the SBI Insert Tributary RAM Indirect Access Control Register triggers an indirect access and will stay high until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Tributary Data register or (2) to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 197 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0CC: SBI Insert Tributary Control RAM Indirect Access Data Register Bit Type 15:6 Function Default Unused 0 5 R/W Reserved 0 4 R/W Reserved 0 3:2 R/W TRIB_TYP[1:0] 0 1 R/W Reserved 0 0 R/W ENBL 0 This register represents either (1) the data to be written to the internal memory or (2) data read from the internal memory from the previous indirect read operation. The read data is not valid until the BUSY bit in the SBI Insert Tributary RAM Indirect Access Control register is cleared. ENBL The ENBL bit is used to enable the Tributary. Writing to an SBI Insert Tributary Control RAM location with the ENBL bit set enables the INSBI to take tributary data from a Link FIFO and transmit that data to the corresponding SBI tributary. TRIB_TYP[1:0] The TRIB_TYP[1:0] field is used to specify the characteristics of the SBI tributary. Only the value “01” (which indicates a framed tributary) is valid. • CAS can only be enabled for a framed tributary. • A Transparent VT can not be a framed tributary • A Transparent VT can not have CAS. • “Framed” means framing information available – may be channelized or unchannelized. • “Unframed” means no framing information available. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 198 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM • “Floating Transparent VTs” uses all possible SBI octets for data except V1-V4. • For DS3 and E3 there is no CAS and no Transparent VT modes. Only Framed and Unframed modes are used. The MSB of TRIB_TYP is used to determine if the Tributary is Framed or Unframed. The LSB of TRIB_TYP is ignored. • For fractional tributaries the TRIB_TYP field is ignored. Note: Any write to a Tributary Control RAM location for a tributary will generate a configuration reset on that tributary, irrespective of whether the data written to the tributary control RAM location is unchanged from the previous value. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 199 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0E2: SBI Insert Depth Check Interrupt Register Bit Type 15:8 Function Default Unused 0 7:6 RO SPE[1:0] 01 5:1 RO TRIB[4:0] 0 0 R2C DCR_INTI 0 DCR_INTI This bit is set when a Depth Check error is detected, regardless of the state of DC_INT_EN. Reading this register clears this bit unless another Depth Check interrupt is pending. TRIB[4:0] and SPE[1:0] The TRIB[4:0] and SPE[1:0] fields specify the SBI tributary on which the Depth Check error was detected. Legal values for TRIB[4:0] are b‘00001’ through b‘11100’. Legal values for SPE[1:0] are b‘01’ through b‘11’. These fields are valid only when DCR_INTI=1. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 200 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x0E4: SBI Insert Master Interrupt Register Bit Type 15:6 Function Default Unused 0 5 RO DCR_INTI_SHDW 0 4 RSVD Unused 0 3 RO FIFO_UDRI_SHDW 0 2 RO FIFO_OVRI_SHDW 0 1 R2C SBIIP_SYNC_INTI 0 0 R2C C1FP_SYNC_INTI 0 C1FP_SYNC_INTI This bit is set when a C1FP realignment has been detected. SBIIP_SYNC_INTI This bit is set when a SBIIP_SYNC realignment has been detected. This generally happens when the SBI interface is configured and indicates an internal bus sync event. After configuration, this interrupt should not occur. FIFO_OVRI_SHDW This bit is a shadow of the FIFO_OVRI bit in the SBI Insert FIFO Over Run Interrupt Status Register. It is set when the FIFO_OVRI bit is set and the interrupt enable FIFO_OVRE is set. Reading this register has no affect on the interrupt status. FIFO_UDRI_SHDW This bit is a shadow of the FIFO_UDRI bit in the SBI Insert FIFO Under Run Interrupt Status Register. It is set when the FIFO_UDRI bit is set and the interrupt enable FIFO_UDRE is set. Reading this register has no affect on the interrupt status. DCR_INTI_SHDW This bit is a shadow of the DCR_INTI bit in the SBI Insert Depth Check Interrupt Status Register. It is set when the DCR_INTI bit is set and the interrupt enable DCR_INT_EN is set. Reading this register has no affect on the interrupt status. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 201 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM This register will contain the interrupt status, even if the corresponding interrupt enable is not set. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 202 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.7 Line Clock/Data Interface Register 0x100: RCAS Indirect Link and Time-slot Control Register Bit Type Function Default 15 R BUSY X 14 R/W RWB 0 13 R/W Unused 0 12:8 R/W LINK[4:0] 0 Unused X TSLOT[4:0] 00 7:5 4:0 R/W This register provides the link number and time-slot number used to access the time-slot provision RAM. Writing to this register triggers an indirect register access. TSLOT[4:0]: The indirect time-slot number bits (TSLOT[4:0]) indicate the time-slot to be configured or interrogated in the indirect access. For a channelized T1 link, time-slots 1 to 24 are valid. For a channelized E1 link, time-slots 1 to 31 are valid. For unchannelized links, only time-slot 0 is valid. LINK[4:0]: The indirect link number bits (LINK[4:0]) select amongst the 32 receive links to be configured or interrogated in the indirect access. RWB: The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the timeslot provision RAM. The address to the timeslot provision RAM is constructed by concatenating the TSLOT[4:0] and LINK[4:0] bits. Writing a logic zero to RWB triggers an indirect write operation. Data to be written is taken from the PROV, the VLDLBEN, and the VLINK[6:0] bits of the Indirect Link Data register. Writing a logic one to RWB triggers an indirect read operation. Addressing of the RAM is the same as in an indirect write operation. The data read can be found in the PROV, the VLDLBEN, and the VLINK[6:0] bits of the Indirect Link Data register. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 203 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM BUSY: The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written; this is done to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be set low. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 204 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x102: RCAS Indirect Link Data Register Bit Type Function Default 15:10 R Unused X 9 R/W VLDLBEN 0 8 R/W PROV 0 Unused X VLINK[6:0] 00 7 6:0 R/W The RCAS Timeslot Provision RAM maps either timeslots from a physical link or an entire physical link to a Virtual Link. It also provisions timeslots/links and enables Diagnostic Loopback. This register contains either: (1) the data read from the RCAS Timeslot Provision RAM after an indirect read operation or (2) the data to be inserted into the RCAS Timeslot Provision RAM during an indirect write operation. VLINK[6:0] VLINK[6:0] is the Virtual Link to which this RCAS LINK/TSLOT is mapped. Valid values are 0x00 to 0x53. For proper operation, timeslots from multiple physical links cannot be mapped to the same VLINK. After an indirect read operation has been completed, VLINK[6:0]) reports the virtual link number read from the RCAS Timeslot Provision RAM. The Virtual Link number to be written to the RCAS Timeslot Provision RAM in an indirect write operation must be set up in this register before triggering the write. VLINK[6:0] reflects the value written until the completion of a subsequent indirect read operation. PROV The indirect provision enable bit (PROV) reports the timeslot provision enable flag read from the timeslot provision RAM after an indirect read operation has been completed. The provision enable flag to be written to the timeslot provision RAM in an indirect write operation must be set up in this register before triggering the write. When PROV is set high, the current receive data byte is processed as part of the virtual link (as indicated by VLINK[6:0]). When PROV is set low, the current time-slot does not belong to any virtual PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 205 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM link and the receive data byte is ignored. PROV reflects the value written until the completion of a subsequent indirect read operation. VLDLBEN When the indirect virtual link based diagnostic loopback enable bit VLDLBEN=1, the current receive data byte will be over-written by a data byte retrieved from the loopback FIFO of the Virtual Link as indicated by VLINK[6:0]. When VLDLBEN=0, the current receive data byte is processed normally. VLDLBEN reports the value read from the RCAS Timeslot Provision RAM after an indirect read operation has been completed. VLDLBEN must be set up in this register before triggering an indirect write. VLDLBEN reflects the value written until the completion of a subsequent indirect read operation. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 206 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x104: RCAS Framing Bit Threshold Bit Type Function Default 15:7 R Unused X 6:0 R/W FTHRES[6:0] 0x3F This register contains the threshold used by the clock-activity monitor to detect framing bits/bytes. FTHRES[6:0] The framing bit threshold bits (FTHRES[6:0]) contain the threshold used by the clock activity monitor to detect for the presence of framing bits. A counter in the clock-activity monitor increments at each REFCLK and is cleared by a rising edge of the RSCLK. When the counter exceeds the threshold given by FTHRES[6:0], a framing bit/byte has been detected. FTHRES[6:0] should be set as a function of the REFCLK period and the expected gapping width of RSCLK during framing bits/bytes. For E1 only device operation, the following equation should be used to determine the acceptable range of values for FTHRES: æ REFCLK .Freq ö æ REFCLK .Freq ö çç ÷÷ *1.5 < FTHRES < çç *7 è RSCLK .E1.Freq è RSCLK .E1.Freq For T1 device operation and mixed T1 and E1 device operation (T1 requirements are more rigorous), the following equation should be used to determine FTHRES: æ REFCLK .Freq ö FTHRES ≈ çç * 1.5 è RSCLK .T 1.Freq PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 207 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x106: RCAS Link Disable Bit Type Function Default 15 R VLDIS 0 Unused X DVLINK[6:0] 0 14:7 6:0 R/W This register allows the squelching of output data from a particular virtual link. DVLINK[6:0]: The disable virtual link bits (DVLINK[6:0]) specify the virtual link whose output data from the RCAS are to be squelched. When VLDIS is set high, the virtual link specified by DVLINK[6:0] is disabled, even if the virtual link is provisioned. VLDIS: When set high, the virtual link disable bit (VLDIS) squelches valid data on the output of RCAS for the virtual link indicated by DVLINK[6:0]. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 208 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x140- 0x17E: RCAS Link #0 to Link #31 Configuration Bit Type Function Default 15:3 R Unused X 2 R/W Reserved 0 1 R/W E1 0 0 R/W CEN 0 This register configures operational modes of receive link #0 to link #31 (RSDATA[N]/ RSCLK[N] where 0 ≤ N ≤ 31). CEN: The channelize enable bit (CEN) configures link #N for channelized operation. When CEN=1, RSCLK[N] must be gapped during the T1 framing bit and during the E1 framing byte. The data bit on RSDATA[N] that is clocked in by the first rising edge of RSCLK[N] after an extended low period is considered to be the most significant bit of time-slot 1. When CEN=0, link #N is unchannelized. The E1 register bit is ignored. RSCLK[N] must be gapped during non-data bits. All data bits are treated as a contiguous stream with arbitrary byte alignment. E1: The E1 frame structure select bit (E1) configures link #N for channelized E1 operation when CEN is set high. RSCLK[N] is held low during the FAS and NFAS framing bytes. The data bit on RSDATA[N] that is associated with the first rising edge of RSCLK[N] after an extended low period is considered to be the most significant bit of time-slot 1. Link data is present at time-slots 1 to 31. When E1 is set low and CEN is set high, link #N is configured for channelized T1 operation. RSCLK[N] is held low during the framing bit. The data bit on RSDATA[N] that is associated with the first rising edge of RSCLK[N] after an extended low period is considered to be the most significant bit of time-slot 1. Link data is present at time-slots 1 to 24. E1 is ignored when CEN is set low. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 209 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x180: TCAS Indirect Link and Time-slot Control Register Bit Type Function Default 15 RO Busy X 14 R/W RWB 0 Unused X LINK[4:0] 0 Unused X TSLOT[4:0] 0 13 12:8 R/W 7:5 4:0 R/W This register provides the link number and time-slot number used to access the timeslot provision RAM. Writing to this register triggers an indirect register access and transfers the contents of the Indirect Link Data register to an internal holding register. TSLOT[4:0] The indirect time-slot number bits (TSLOT[4:0]) indicate the time-slot to be configured or interrogated in the indirect access. For a channelized T1 link, time-slots 1 to 24 are valid. For a channelized E1 link, time-slots 1 to 31 are valid. For unchannelized links, only time-slot 0 is valid. LINK[4:0] The indirect link number bits (LINK[4:0]) select amongst the 32 transmit links to be either configured or interrogated in the indirect access. RWB The indirect access control bit (RWB) selects between a configure (write) or interrogate (read) access to the timeslot provision RAM. The address to the timeslot provision RAM is constructed by concatenating the TSLOT[4:0] and LINK[4:0] bits. Writing a logic zero to RWB triggers an indirect write operation. Data to be written is taken from the PROV and the VLINK[6:0] bits of the Indirect Data register. Writing a logic one to RWB triggers an indirect read operation. Addressing of the RAM is the same as in an indirect write operation. The data read can be found in the PROV and the VLINK[60] bits of the Indirect Link Data register after the BUSY bit has cleared. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 210 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM BUSY The indirect access status bit (BUSY) reports the progress of an indirect access. BUSY is set high when this register is written to trigger an indirect access, and will stay high until the access is complete. At which point, BUSY will be cleared (low). Alternatively, BUSY will be set high when TCAS first comes out of reset until the RAM has been initialized. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence. Any indirect operation that is initiated while BUSY is still high will be corrupted. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 211 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x182: TCAS Indirect Link Data Register Bit Type 15:9 8 R/W 7 6:0 R/W Function Default Unused X PROV 0 Unused X VLINK[6:0] 0 The TCAS Timeslot Provision RAM maps Virtual Links to either timeslots in a physical link or to an entire physical link. It also provisions timeslots. This register contains either: (1) the data read from the TCAS Timeslot Provision RAM after an indirect read operation or (2) the data to be inserted into the TCAS Timeslot Provision RAM during an indirect write operation. VLINK[6:0] VLINK[6:0] is the Virtual Link from which this TCAS LINK/TSLOT is mapped. Valid values are 0x00 to 0x53. For proper operation, timeslots from multiple physical links cannot be mapped to the same VLINK. After an indirect read operation has been completed, VLINK[6:0]) reports the virtual link number read from the TCAS Timeslot Provision RAM. The Virtual Link number to be written to the TCAS Timeslot Provision RAM in an indirect write operation must be set up in this register before triggering the write. VLINK[6:0] reflects the value written until the completion of a subsequent indirect read operation. PROV The indirect provision enable bit (PROV) reports the timeslot provision enable flag read from the timeslot provision RAM after an indirect read operation has been completed. The provision enable flag to be written to the timeslot provision RAM in an indirect write operation must be set up in this register before triggering the write. When PROV is set high, the current time-slot is assigned to the virtual link as indicated by VLINK[6:0]. When PROV is set low, the time-slot does not belong to any virtual link. The transmit link data is set to the contents of the Idle Time-slot Fill Data register. PROV reflects the last value read or written until the completion of a subsequent indirect read operation. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 212 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x184: TCAS Framing Bit Threshold Bit Type 15:7 6:0 R/W Function Default Unused X FTHRES[6:0] 0x1F This register contains the threshold used by the clock activity monitor to detect for framing bits/bytes. FTHRES[6:0] The framing bit threshold bits (FTHRES[6:0]) contains the threshold used by the clock activity monitor to detect the presence of framing bits. A counter in the clock activity monitor increments at each REFCLK and is cleared by a rising edge of the TSCLK. When the counter exceeds the threshold given by FTHRES[6:0], a framing bit/byte has been detected. FTHRES[6:0] should be set as a function of the REFCLK period and the expected gapping width of TSCLK during framing bits/bytes. For E1 only device operation, the following equation should be used to determine the acceptable range of values for FTHRES: æ REFCLK .Freq ö æ REFCLK .Freq ö çç ÷÷ *1.5 < FTHRES < çç *7 è TSCLK .E1.Freq è TSCLK .E1.Freq For T1 device operation and mixed T1 and E1 device operation (T1 requirements are more rigorous), the following equation should be used to determine FTHRES: æ REFCLK .Freq ö ÷÷ * 1.5 FTHRES ≈ çç è TSCLK .T 1.Freq PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 213 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x186: TCAS Idle Time-slot Fill Data Bit Type 15:8 7:0 R/W Function Default Unused X FDATA[7:0] 0xFF This register contains the data to be written to the disabled time-slots of a channelized link. FDATA[7:0] The fill data bits (FDATA[7:0]) are transmitted during disabled (PROV set low) time-slots or virtual links. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 214 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x188: TCAS Link Disable Register Bit Type Function Default 15 R/W VLDIS 0 Unused X DVLINK[6:0] 0 14:7 6:0 R/W This register indicates a virtual link that is to be disabled (unprovisioned) while individual time-slots are changed. This allows virtual links to either turn on or off at once instead of gradually while each time-slot in the provisioning RAM is written. DVLINK[6:0] The disable virtual link bits (DVLINK[6:0]) indicate the virtual link to be disabled. If VLDIS=1, all time-slots mapped to this virtual link will be forced unprovisioned, and the value in FDATA[7:0] will be transmitted. VLDIS The virtual link disable bit (VLDIS) disables the virtual link in DVLINK[6:0]. When VLDIS=1, all time-slots mapped to DVLINK[6:0] will be forced unprovisioned, and the PROV bit of those time-slots will be ignored. When VLDIS=0, the virtual link's provisioning state is set by the PROV bit. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 215 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x1C0 – 0x1FE: TCAS Link #0 to Link #31 Configuration Bit Type 15:3 Function Default Unused X 2 R/W Reserved 0 1 R/W E1 0 0 R/W CEN 0 This register configures the operational modes of transmit link #0 to link # 31 (TSDATA[N] / TSCLK[N]; where 0 ≤ N ≤ 31=). CEN The channelize enable bit (CEN) configures link #N for channelized operation. When CEN=1, TSCLK[N] must be gapped during the T1 framing bit or the E1 framing byte. Thus, on the first rising edge of TSCLK[N] after the extended low period, a downstream device can sample the MSB of timeslot one. When CEN=0, Link #N is unchannelized, and the E1 register bit is ignored. TSCLK[N] can be gapped during non-data bits, and all data bits are treated as a contiguous stream without regard to timeslots. E1 The E1 frame structure select bit (E1) configures link #N for channelized E1 operation when CEN is set high. TSCLK[N] is held low during the FAS and NFAS framing bytes. The most significant bit of time-slot 1 is placed on TSDATA[N] on the last falling edge of TSCLK[N] ahead of the extended low period. Link data is present at time-slots 1 to 31. When E1 is set low and CEN is set high, link #N is configured for channelized T1 operation. TSCLK[N] is held low during the framing bit. The MSB of time-slot 1 is placed on TSDATA[N] on the last falling edge of TSCLK[N] ahead of the extended low period. Link data is present at time-slots 1 to 24. E1 is ignored when CEN is set low. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 216 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.8 RIPP Registers Register 0x200:RIPP Control Bit Type Function Default 15 R/W RIPP_EN 0 14 R/W Reserved 0 13 R RIPP_BUSY 0 Reserved 0 12:0 RIPP_BUSY This is a status signal indicating that the RIPP main-state machine is currently active. This bit is generated by RIPP. RIPP_EN The RIPP_EN enables the RIPP main state machine for normal operations. When RIPP_EN = 0 and RIPP_BUSY = 0, all RIPP operations are disabled. The RIPP_EN should be set to a ‘1’ for normal operations after the initialization of RIPP context memory. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 217 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x202:RIPP Indirect Memory Access Control Bit Type Function Default 15 RO MEM_BUSY 0 14 R/W MEM_RWB 0 13 R/W MEM_SEL 0 12:10 9:0 Reserved R/W MEM_ADDR 0 This register controls the indirect access to the internal memory. There are two separate RAMs used by RIPP. One is the configuration memory, which holds the configuration information for all groups and links programmed by the microprocessor; the other is the context memory, which stores the state context used as the working space for the RIPP internal state machine. Each of them is 32-bits wide and contains 1024 words. MEM_ADDR: The indirect memory address (MEM_ADDR [9:0]) indicates the memory word address to be read or written. The memory-address organization of the internal RAMs is shown in Table 5 and Table 6. Table 5 Configuration Memory Address Space Address space 0x000 – 0x29F 0x2A0 – 0x2F3 0x2F4 – 0x34F 0x350 – 0x3A3 0x3A5 – 0x3FF Description Group configuration record area. TX link configuration record area. Reserved RX Link Configuration Record area. Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 218 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Table 6 INVERSE MULTIPLEXING OVER ATM Context Memory Address Space Address space 0x000 – 0x29F 0x2A0 – 0x347 0x348 – 0x34F 0x350 – 0x3F7 0x3F8 – 0x3FF Description Group context record area. TX link context record area. Reserved RX link context record area. Reserved MEM_SEL: The memory select (MEM_SEL) is used to select between the two internal RAMs. A logic ‘0’ selects the configuration memory, while a logic ‘1’ selects the context memory. MEM_RWB: The memory indirect access control bit (MEM_RWB) selects between a configure (write) or interrogate (read) access to the RIPP internal context RAM. Writing a logic 0 to MEM_RWB triggers an indirect write operation. Data to be written is taken from the RIPP Indirect Memory Data registers. Writing a logic 1 to MEM_RWB triggers an indirect read operation. The read data can be found in the RIPP Indirect Channel Data registers MEM_BUSY: The memory indirect access status bit (MEM_BUSY) reports the progress of an indirect access. To trigger an indirect access, MEM_BUSY is set high when this register is written; it stays high until the access is complete; at that point, MEM_BUSY is set low. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 219 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x204 – 0x206:RIPP Indirect Memory Data Register Array Address Bit Type Function Default 0x204 15:0 R/W MEM_DATA_LSB 0 0x206 15:0 R/W MEM_DATA_MSB 0 MEM_DATA_LSB: The MEM_DATA_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared. MEM_DATA_MSB: The MEM_DATA_MSB represents either: (1) the most significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared. The actual memory data structure is shown in Table 7 through Table 13. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 220 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RIPP Group Configuration Record Memory Purpose: Contains the PM programmed configuration data for the corresponding groups. Usage: IMA Groups only. Maintained by: PM. Record Size: 16 32-bit words. MEM_ADDR = Area_base_address + Group_tag * 0x10 + Word Offset Table 7 RIPP Group Configuration Record Structure Word Bit Data field Description 0 31:24 IMA_OAM_LABEL IMA OAM label value for the group. This indicates the IMA version for the current group, and is used to compare against the IMA version number carried in octet 6 of the incoming ICP cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 221 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 23:22 GROUP_SYM_MO DE Group symmetry mode. This is programmed by PM during group configuration. It is then used by RIPP to compare against the Group Symmetry mode field in the incoming ICP cells during group start-up process. If the two values do not match, the start-up process will be aborted. This field is also inserted into outgoing ICP cells. The supported values for this field are: “00”: Symmetrical configuration and operation “01”: Symmetrical configuration and asymmetrical operation “10”: Asymmetrical configuration and asymmetrical operation “11”: Reserved 21 GROUP_ICP_FWD _EN Group ICP cell forwarding enable. ‘0’: Disable ICP cell forwarding to PM. ‘1’: Enable ICP cell forwarding to PM. An interrupt will be generated upon each ICP cell to be forwarded to PM, and the content of the ICP cell will be copied to microprocessor’s directly accessible registers. 20 Group_ICP_FWD_Fi Group ICP cell forwarding filtering lter enable. ‘0’: No filtering. All ICP cells from RDAT will be forwarded to PM. ‘1’: Filtering. RIPP will filter out the ICP cells which carry no new information (determined by the SCCI field) before forwarding to PM. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 222 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 19 IMA_10_ENABLE IMA version 1.0 style link state reporting enable. This field selects how the link state field in the incoming and outgoing ICP cells should be interpreted. Note that this bit will be ignored if the group is in asymmetric configuration mode. ‘0’: IMA version 1.1 style (default) ‘1’ IMA version 1.0 style. 18:10 RESERVED 9 PM_ADJUST_DELA Y_DONE_INT_EN PM adjust delay procedure done Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 8 FE_TRL_INT_EN Invalid RX TRL Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 7 GROUP_TIMING_I NT_EN Group timing interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 6 FE_TIMEOUT_INT_ EN FE Timeout Interrupt Enable: ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 5 GROUP_TIMEOUT _INT_EN Group Timeout Enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 4 FE_ABORT_INT_E N FE Abort Interrupt Enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 223 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 3 NE_ABORT_INT_E N NE Abort Interrupt Enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 2 GTSM_INT_EN GTSM Interrupt Enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 1 FE_GSM_INT_EN FE GSM Interrupt Enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 0 NE_GSM_INT_EN NE GSM Interrupt Enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 1 31:24 TX_IMA_ID IMA ID value to use in the TX (outgoing) ICP cells. This field is programmed by PM during group record initialization. 23:22 TX_M Transmit IMA frame length (M). Used by TIMA in the transmit IMA operation. “00”: M = 32 “01”: M = 64 “10”: M = 128 “11”: M = 256 21:16 P_TX Minimum number of active TX links required in the group in order for the group to be operational. 15:8 TX_END_CHANNE L TX End-to-end channel. This data field is used by RIPP to generate the endto-end channel field in the outgoing ICP cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 224 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 7 TX_CLK_MODE Transmit clock mode. “0”: ITC mode. “1”: CTC mode. This field is used in the outgoing TX ICP cells. Note the actual clock mode used by TIMA may differ from this. After a group is added, this field should not be changed, unless a group restart is to be issued. 2 6:0 RESERVED 31:25 RESERVED 24 RX_IMA_ID_CFG_E This bit selects whether the IMA ID N value used in the RX direction should be configured by PM or captured from incoming ICP cells. ‘0’: IMA ID captured from ICP cells and saved in context memory (RX_IMA_ID_CAP). ‘1’: IMA ID configured by PM in the RX_IMA_ID_CFG field in the configuration memory. 23:16 RX_IMA_ID_CFG 15:14 RESERVED 13:8 P_RX 7:4 Reserved RX IMA ID value programmed by PM. Minimum number of active RX links required in the group in order for the group to be operational. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 225 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 3:0 RX_M_RANGE 4-bit vector indicating the M values deemed acceptable. Used during group parameter negotiation. Bit 3: M = 256 (‘0’: unacceptable, ‘1’: acceptable) Bit 2: M = 128 (‘0’: unacceptable, ‘1’: acceptable) Bit 1: M = 64 (‘0’: unacceptable, ‘1’: acceptable) Bit 0: M = 32 (‘0’: unacceptable, ‘1’: acceptable) 3 31:26 RESERVED 25:16 RX_DELAY_TOL 15:11 RESERVED 10 RX_ADD_DELAY_E N Receive differential Delay tolerance. This field is the maximum allowed amount of delay to be accumulated for a link within the group. This threshold will be used in determining if links are acceptable for adding to a group. This value must be set at least 8 cells greater than the RX_DELAY_GUARDBAND. Receive IMA group delay-adding enable. When enabled, the RIPP will roll back the RDAT read pointers, which effectively adds more delay to the group, in order to accommodate the new link if it is necessary. ‘0’: disabled. ‘1’: enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 226 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 9:0 RX_DELAY_GUAR D_BAND Receive IMA group link differential delay guard-band value. This is the suggested distance between RDAT cell write pointer on the slowest link and the RDAT cell read pointer (expressed in the unit of cells), which is set by RIPP when it activates the RX data path during group start-up. This value is not used after group start-up. A guardband placed at group startup will help allow admittance of slower links later. Note that this is only a recommended behavior; if necessary, RIPP may choose to not to maintain this guard band in order to accept a slow link. 4 31:0 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 227 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bit Data field Description 5:15 31:0 RX_PHY_TABLE This table contains the physical link numbers of all RX links assigned to the group by PM. The table has 32 entries that are packed into 11 32-bit words; each entry corresponds to one RX link. The order of links in the table is determined by PM prior to group start-up, and is not related to the LIDs or physical link numbers. Entries in this table correspond to bits in the RX_LINK_VEC. See Table 8 for the detailed bit mapping. In symmetrical configuration mode, this table needs to be configured identical to the TIMA Transmit-LID-toPhysical-Link Mapping Table , where the physical link pointers are loaded into the table indexed by the TX LID (i.e. if TX LID 2 was assigned TX Physical Link 45, then RX Physical link pointer 2 would be set to 45). In asymmetrical configuration mode, this table may be loaded in any order, regardless of the TX Physical link pointers or RX LID values, as long as the entries correspond to bits in the RX_LINK_VEC. A simple method for loading entries into this table is to begin at zero and fill the table from there (although holes will appear as links are deleted). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 228 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Table 8 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RX physical link table Word Bit Description 0 31:27 Reserved 26:20 RX Physical link pointer 2 19:17 Reserved 16:10 RX Physical link pointer 1 9:7 Reserved 6:0 RX Physical link pointer 0 …… ….. Word 11 31:17 Reserved 16:10 RX Physical link pointer 31 9:7 Reserved 6:0 RX Physical link pointer 30 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 229 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RIPP TX Link Configuration Record Memory Purpose: Contains the PM programmed configuration data for the corresponding TX links. Usage: IMA Groups only. Maintained by: PM. Record Size: 1 32-bit word. MEM_ADDR = Area_base_address + physical link number * 0x1+ Word Offset Table 9 RIPP TX Link Configuration Record Structure Word Bit Data field 0 31:23 RESERVED 22:16 TX_LINK_GROUP_ TAG Description Group tag value of the group which this TX physical link has been assigned to. This field is programmed by PM during link record initialization. 15:11 TX_LID LID value for the physical link. This field is programmed by PM during link record initialization. 10:5 RESERVED 4 TX_ACTIVE_INT_E N 3 2 TX Active interrupt enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. FE_RX_UNUSABLE FE RX Unusable interrupt enable. _INT_EN ‘0’ Interrupt not enabled FE_RX_DEFECT_I NT_EN ‘1’ Interrupt enabled. FE RX Defect interrupt enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 230 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 1 TX_TIMEOUT_INT_ EN Tx_Timeout interrupt enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 231 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RIPP RX Link Configuration Record Memory Purpose: Contains the PM programmed configuration data for the corresponding RX links. Usage: IMA Groups only. Maintained by: PM. Record Size: 1 32-bit word. MEM_ADDR = Area_base_address + physical link number * 0x1+ Word Offset Table 10 RIPP RX Link Configuration Record Structure Word Bit Data field 0 31:23 RESERVED 22:16 RX_LINK_GROUP_ TAG Description Group tag value of the group to which this RX physical link has been assigned. This field is programmed by PM during link record initialization. 15:11 RESERVED 10 RX_ACTIVE_INT_E N 9 IDLE_CELL_INT_E N 8 FE_TX_UNUSABLE _INT_EN 7 DIFF_DELAY_INT_ EN RX Active Interrupt enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. Idle cell interrupt enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. FE TX UNUSABLE Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. Differential Delay Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 232 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 6 LODS_OVERRUN_I NT_EN 5 LODS_UNDERRUN _INT_EN 4 LCD_INT_EN 3 LIF_INT_EN 2 INVALID_ICP_INT_ EN 1 RX_TIMEOUT_INT LODS, DCB overrun Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. LODS, DCB under- Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. LCD Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. LIF Interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. Invalid_ICP interrupt enable ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. Rx Timeout Interrupt enable. ‘0’ Interrupt not enabled ‘1’ Interrupt enabled. 0 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 233 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RIPP Group Context Record Memory Purpose: Contains the current state machine states and status information for the corresponding groups. Usage: IMA Groups only. Maintained by: RIPP. Record Size: 16 32-bit words. MEM_ADDR = Area_base_address + Group_tag * 0x10 + Word Offset Unless otherwise specified, all data and the reserved fields should be cleared (to all ‘0’s) by PM prior to adding the group; they will be cleared by RIPP during a group restart process Table 11 RIPP Group Context Record Structure Word Bit Data field Description 0 31 GROUP_EN Indicates if the current group is enabled. This bit is set by PM using the add_group command, and cleared by PM using the delete_group command. ‘0’: not enabled (group in NOT_CONFIGURED state) ‘1’: the group is enabled and currently active. This field will remain at its current value during a group-restart. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 234 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 30:27 GSM Group state machine state. “0000”: Start-up “0001”: Start-up-Ack “0010”: Config-Aborted – Unsupported M “0011”: Config-Aborted – Incompatible group symmetry “0100”: Config-Aborted – Unsupported IMA versions “0111”: Config-Aborted – Other reasons “1000”: Insufficient-links “1001”: Blocked “1010”: Operational Others: Reserved 26:24 RESERVED 23 GTSM Group traffic state machine state “0”: down (no ATM data transmission is allowed) “1”: up (ATM data transmission is allowed) 22:21 GWP_Active Group wide procedure in progress. “00”: No group-wide procedure is currently in progress. “01”: Group start-up procedure is in progress. “10”: LASR is in progress. Others: reserved 20 reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 235 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 19 LSM_SYNC_TRAN S Indicates whether there has been a transition on the LSM_SYNC state machine in the last processing cycle for the group. ‘0’: There was no transition. ‘1’: There was a transition. 18:16 LSM_SYNC Current state of LSM_SYNC state machine, which is used to synchronize LSM transition during group startup and LASR procedure. "000": IDLE "001": LSM_SYNC_GETM (Group parameter negotiation finished). "010": LSM_SYNC_RX_USABLE (RX ready to go to usable state, delay evaluation needed). "011": LSM_SYNC_RX_ACTIVE_RDAT (RX ready to start receiving, starting RDAT and IDCC) "100": LSM_SYNC_RX_ACTIVE (RX ready to report ACTIVE to FE) "101": LSM_SYNC_TX_ACTIVE (TX ready to report active to FE) Far-end GSM states. This is copied from the group state field in the incoming ICP cells 15:12 FE_GSM 11:6 NUM_TX_LINKS_A Total number of tx links that are CTIVE currently in an active state. 5:0 NUM_RX_LINKS_ ACTIVE Total number of rx links that are currently in an active state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 236 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bit Data field Description 1 31 GROUP_TIMER_E N1 Group timer 1 enable. The enable bit is set when the timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. 30:28 RESERVED 27:24 GROUP_TIMER1 Group-level timer 1. Implemented as 4bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals zero, if the timer is enabled. 23 GROUP_TIMER_E N2 Group timer 2 enable. The enable bit is set when timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. 22:20 RESERVED 19:16 GROUP_TIMER2 Group-level timer 2. Implemented as 4bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals to zero, if the timer is enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 237 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 15 GROUP_INT_ACTI VE Indicates whether there is currently an interrupt active from the group (including all the links). This bit is set to ‘1’ by RIPP upon generating a interrupt and cleared upon PM issuing a read_event command. No new interrupt will be generated once this bit is set. This field will remain at its current value during a group-restart. 14 GROUP_INHIBIT_ STATUS Group inhibiting status. ‘0’: Group is not inhibited. ‘1’: Group is inhibited. This field can be programmed by PM during group record initialization, and can be modified later using inhibit_group/not_inhibit_group commands. Note it is possible to inhibit the group before actually issuing the add_group command. This field will remain at its current value during a group-restart. 13 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 238 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 12 FE_TRL_STATUS When set, indicates that the TRL specified in the last received ICP cell is a link that is “in_group”. If the TRL received in the last ICP cell is not “in_group”, this bit is cleared, and the TRL remains with the last specified valid TRL. During the period in which the specified TRL is not “in_group”, the scheduling of the cells played out to the ATM layer is not accurate and the depth of the DCB buffers may drift and cause DCB buffer overruns or underruns. If on group startup, the TRL is not detected to be “in_group”, the group will not start up. 11 GROUP_TIMING_ ERROR Group timing error. The FE IMA transmit clock mode does not match the NE transmit clock mode. 10 RESERVED 9 PM_ADJUST_DEL Y_INT 8 FE_TRL_INT 7 GRP_TIMING_INT 6 FE_TIMEOUT_INT 5 GR_TIMEOUT_INT PM adjust_delay procedure done interrupt. The adjust_delay procedure invoked by the PM command has successfully finished or aborted. FE TRL Interrupt. TheFE_TRL_STATUS bit has changed state. Group timing interrupt. The GROUP_TIMING_ERROR has changed state. Startup-Ack Timeout: The FE fails to transition into the STARTUP-ACK state prior to the NE timing out. GSM fails to come out of Insufficientlinks state during a group start-up procedure before the relevant timer expires. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 239 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 4 FE_ABORT_INT FE entered CONFIG-ABORTED state during group start-up. 3 NE_ABORT_INT Entered NE Config aborted state. FE group parameters unacceptable during group start-up. Possible causes are IMA OAM label proposed by FE not acceptable. 2 2 GTSM_INT Group symmetry proposed by FE not acceptable. RX M proposed by FE not acceptable GTSM state change. 1 FE_GSM_INT FE GSM state change. 0 NE_GSM_INT NE GSM state change. 31:24 TX_SCCI Current TX SCCI value for the group. Each time the Tx ICP cell class B&C info changes, the SCCI field increments by one. This field will remain at its current value during a group-restart. 23:16 TX_RX_TEST_PT N Tx test pattern field to be sent in the transmit ICP cell. If the test link command active bit in the incoming ICP cell from RDAT is set, this field is updated using the TX test pattern field in the same ICP cell; otherwise this field is set to “FF” internally. This field will remain at its current value during a group-restart. 15:7 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 240 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 6:0 TX_TRL_PHY_ID Physical link ID for TX TRL. This field need to be programmed by PM prior to group startup to ensure TX IDCC ticks are generated and TIMA start sending ICP cells once the group is added. Once a group is added, the TRL can be changed by using UPDATE_TX_TRL command. This field will remain at its current value during a group-restart. 3 31:25 RESERVED 24 TX_GSM_2FRAME Indicates whether at least 2 TX frames has been transmitted since the last time we have a gsm change. This is used to make sure the group status and info field stays the same for at least 2 TX frames, as stated in IMA spec. ‘0’: Less than 2 frames have been transmitted since the last GSM transition. ‘1’: At least 2 frames have been transmitted since the last GSM transition. 23:16 TX_LAST_GSM_T RANS_IFSN The TX frame sequence number being transmitted last time there is a GSM transition. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 241 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 15 TX_TEST_EN Enable Tx test pattern procedure. “0”: Disabled. The test pattern field in the outgoing ICP cells will be filled with zeros. “1”: Enabled. RIPP will copy the stored Tx_test_pattern info over to the test pattern field. This field is set and changed using the update_test_ptn PM command. This field will remain at its current value during a group-restart. 14:13 RESERVED 12:8 TX_TEST_LID Tx LID of the test link. This field is set and changed using the update_test_ptn PM command. This field will remain at its current value during a group-restart. 7:0 TX_TX_TEST_PTN Tx test pattern field to be sent in the transmit ICP cell. This field is set and changed using the update_test_ptn PM command. This field will remain at its current value during a group-restart. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 242 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bit Data field Description 4 31:0 TX_PHY_VALID 32 bit vector in which each bit corresponds to one TX physical link in the TIMA Transmit LID to Physical Link Mapping Table “0”: table entry not valid “1”: table entry valid (physical link pointed by the corresponding TX_PHY_TABLE entry has been assigned to the current group.) This field will remain at its current value during a group-restart. 5 31:0 TX_LASR_ACT 32 bit vector in which each bit corresponds to one TX physical link in the TIMA Transmit LID to Physical Link Mapping Table. “0”: the link is not currently involved in a LASR procedure. “1”: the link is currently involved in an active LASR procedure. 6 31:30 RESERVED 29 RX_FE_INFO_VALI This indicates whether the context data D fields captured from incoming ICP cells) or not. ‘0’: Invalid. ‘1’: Valid. This bit is set internally by RIPP during group start-up upon capturing the first valid incoming ICP cells. This field will remain at its current value during a group-restart. 28 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 243 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 27:26 RX_M Receive IMA frame length (M). This parameter is captured from incoming ICP cells during group-start-up negotiation process, and later used by RDAT in the receive IMA operation. “00”: M = 32 “01”: M = 64 “10”: M = 128 “11”: M = 256 25:24 FE_SYM_MODE Group symmetrical mode as indicated by the FE in the latest ICP cell analyzed 23:16 FE_IMA_OAM_LA BEL IMA OAM label value as indicated by the FE in the latest ICP cell analyzed 15:8 RX_SCCI Current RX SCCI value for the group. This value is captured from the incoming ICP cells and used to determine whether the ICP cell should be processed. This field will remain at its current value during a group-restart. 7:0 RX_IMA_ID Stores the RX_IMA_ID. The value may be copied from the RX_IMA_ID_CFG field in the configuration memory if the RX_IMA_ID_CFG_EN bit is set, otherwise it is captured from the first incoming ICP cell after the group is added or restarted. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 244 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bit Data field Description 7 31:0 RX_PHY_VALID 32 bit vector in which each bit corresponds to one RX physical link in RX_PHY_TABLE. “0”: table entry not valid “1”: table entry valid (physical link pointed by the corresponding RX_PHY_TABLE entry has been assigned to the current group). This field is cleared by PM during group record initialization. It may be modified during normal operations by issuing the appropriate PM command, such as add_group, add_link, delete_group, delete_link. This field will remain at its current value during a group-restart. 8 31:0 RX_LASR_ACT 32 bit vector in which each bit corresponds to one RX physical link in RX_PHY_TABLE (which is located in RIPP Group configuration memory). “0”: the link is not involved in LASR. “1”: the link is currently involved in a active LASR procedure. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 245 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bit Data field Description 9 31:0 RX_TEST_PTN_M ATCH 32 bit vector in which each bit corresponds to the current test pattern match result on one RX link. The order of RX links is defined in RX_PHY_TABLE (which is located in the RIPP Group configuration memory). “0”: the Rx_test_pattern field in the incoming ICP cells on the link does not match the TX_test_pattern field in the outgoing ICP cells. “1”: the Rx_test_pattern field in the incoming ICP cells on the link matches the TX_test_pattern field in the outgoing ICP cells. 10 31:0 RX_LID_ALLOC 32 bit vector in which each bit indicates whether the LID value represented by the bit index is occupied. For example, Bit 31 corresponds to LID value 31, bit 0 corresponds to LID 0, and so on. ‘0’: LID has not been allocated to any links. ‘1’: LID has been allocated to one of the RX links in the group. 11 31 RX_TX_TEST_CM D 30:29 Reserved 28:24 RX_TX_TEST_LID 23:7 reserved The TX_TEST_CMD field captured from incoming ICP cells. The TX_TEST_LID field captured from incoming ICP cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 246 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 6:0 Last_Scci_phy_link _id Physical link ID of the rx link on which the last “analyzable” ICP cell comes. A ICP cell is considered analyzable if 1). the current processing cycle is ICP and 2). the ICP cell is valid, and 3). the ICP cell carries a new SCCI, or the ICP cell comes from the same link of the last analyzed ICP cell; and 4). RX_IMA_ID matches the configured value (or if no value is configured, the value captured from the first ICP cell if group is started/restarted) 12 31 RX_TRL_VALID This indicates whether in the RX IDCC the TRL of the current group has been turned on or not. TRL is identified by the RX_TRL_PHY_ID field, which is translated from the TX_TRL_ LID in the incoming ICP cells, after it is validated by RIPP. ‘0’: Invalid. TRL off. ‘1’: Valid. TRL on. This bit is set internally by RIPP when it first turns on the TRL in RX IDCC (when LSM_SYNC reaches the right state and TRL LID has been validated). It is possible for the FE to change the TRL_LID during normal operations, in which case the new TRL LID will be verified again and saved. 30:23 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 247 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 22:16 RX_TRL_PHY_ID Receive timing reference physical link ID. RX_TRL_PHY_ID is translated via a lookup into the RX_PHY_TABLE using the TRL_LID field in the incoming ICP cells, and then used to control the Rx IDCC. 15:13 RESERVED 12:8 RX_TRL_LID The TRL LID info captured from incoming ICP cells. 7 DELAY_ADJUST_ ACTIVE Indicates whether a adjust_delay procedure is current active. Adjust delay could be started by PM command adjust_delay, or internally by LASR procedure. ‘0’: No delay adjustment is in progress. ‘1’: Delay adjustment is in progress. 6 DELAY_ADJUST_ RDAT_TOGGLE The last value of the delay_toggle bit read from RDAT group context memory. A transition on this bit is used to determine the ongoing adjust_delay process is finished. 5 DELAY_ADJUST_I S_PM Indicates whether the current adjust_delay process is started by PM. ‘0’: the adjust-delay is started internally by LASR. ‘1’ the adjust-delay is started by PM. 10:15 4:0 RESERVED 31:0 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 248 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RIPP TX Link Context Record Memory Purpose: Contains the current state machine states and status information for the corresponding TX links. Usage: IMA Groups only. Maintained by: RIPP. Record Size: 2 32-bit words. MEM_ADDR = Area_base_address + physical link number * 0x2 + Word Offset Unless otherwise specified, all the data fields and the reserved fields should be cleared (to all ‘0’s) by PM prior to adding the link, and will be internally cleared by RIPP during a group-restart. Table 12 RIPP TX Link Context Record Structure Word Bit Data field Description 0 31 TX_LINK_EN Flag bit indicating whether the link is enabled or not. “0”: not enabled, link in UNASSIGNED state “1: enabled. This field is set by RIPP during add_link or add_group command processing. It is cleared by RIPP upon finishing deleting the link. It may be polled by PM to determine the progress of link addition or deletion. This field will remain at its current value during a group-restart. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 249 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 30:27 TX_LSM TX Link state machine state. “0000”: DELETED(NOT_IN_GROUP) “0010”: UNUSABLE “1100”: USABLE “1110”: ACTIVE Others: reserved This field is cleared by PM during link record initialization. 26:16 RESERVED 15 TX_LINK_TIMER_E N 14:12 RESERVED 11:8 TX_LINK_TIMER 7 RESERVED 6:4 FE_RX_LSM TX link timer enable. The enable bit is set when the timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. TX link timer. Implemented as 4-bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals zero, if the timer is enabled. Far end RX LSM state for the link. This is copied from the appropriate TX LSM state field in the incoming ICP cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 250 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 3 TX_LINK_PM_UNU SABLE This field indicates the link has been considered unusable by PM. This bit is set up on PM issuing UNUSABLE_LINK command, and cleared up on PM issuing RECOVER_LINK command. This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart. 2:0 TX_LINK_PM_UNU SABLE_CAUSE Cause specified by PM for the link to be unusable. This field is used by RIPP to notify FE. “000”: No cause specified “010”: Fault. “011”: Mis-connected “100”: Inhibited “101”: Failed Others: Reserved (currently considered the same as no cause specified). This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart. 1 31:10 RESERVED PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 251 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data field Description 9:8 FE_RX_DEFECT Defect status reported in last receive ICP cell. 00) No defect 01) Physical Link Defect (e.g. LOS, OOF/LOF, LCD) 10) LIF 11) LODS Reserved 7:5 4 3 2 Indicates that the NE TX LSM transitioned into/out of Active state. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. FE_RX_UNUSABLE Indicates that FE RX LSM transitioned into/out of UNUSABLE state. _INT This bit is reset immediately after read_event command is executed for the group of which this link is a member. Indicates that the FE RX Defect FE_RX_DEFECT_I indication changed. NT This bit is reset immediately after read_event command is executed for the group of which this link is a member. TX_ACTIVE_INT 1 TX_TIMEOUT_INT 0 RESERVED Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. This bit is reset immediately after read_event command is executed for the group of which this link is a member. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 252 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RIPP RX Link Context Record Memory Purpose: Contains the current state machine states and status information for the corresponding RX links. Usage: IMA Groups only. Maintained by: RIPP. Record Size: 2 32-bit words. MEM_ADDR = Area_base_address + physical link number * 0x2 + Word Offset Unless otherwise specified, all the data fields and the reserved fields should be cleared (to all ‘0’s) by PM prior to adding the link, and internally cleared by RIPP during group restart. Table 13 RIPP Rx Link Context Record Structure WORD BIT DATA FIELD DESCRIPTION 0 RX_LINK_EN Flag bit indicating if the link is enabled or not. 31 “0”: not enabled, link in UNASSIGNED state. “1: enabled. This field is set by RIPP during add_link or add_group command processing. It is cleared by RIPP upon finishing deleting the link. It may be polled by PM to determine the progress of link addition or deletion. This field will remain at its current value during a group-restart. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 253 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT 30:25 INVERSE MULTIPLEXING OVER ATM DATA FIELD DESCRIPTION RX_LSM RX Link state machine state. “000000”: START_UP, No M has been negotiated yet. “000010”: DELETED, waiting for FE “000100”: DELETED, waiting for DCB underrun “000110”: UNUSABLE_NO_LID (report to FE as not_in_group) “001000”: UNUSABLE “001010”: UNUSABLE, waiting for DCB underrun “001100”: Blocking, waiting for FE “110000”: USABLE “110010”: USABLE, waiting for data in DCB to be played out, reporting USABLE. “110011”: USABLE, waiting for FE “110100”: ACTIVE, waiting for RX cell reader to become active, reporting USABLE. “110110”: ACTIVE, waiting for the global synchronization event to report ACTIVE to the FE. “111000: ACTIVE, reporting ACTIVE Others: reserved This field is cleared (UNASSIGNED state) by PM during link record initialization. The LINK_PM_UNUSABLE_CAUSE will be used to encode the UNUSABLE states in outgoing ICP cells. The value transmitted in the ICP cell is a combination of part of the RX_LSM d part of the LINK_PM_UNUSABLE_CAUSE. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 254 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT DATA FIELD 24 reserved 23 RX_LID_VALID INVERSE MULTIPLEXING OVER ATM DESCRIPTION Flag bit indicating if the value in the RX_LID field is valid or not. “0”: invalid “1: valid. This field is cleared by PM during link record initialization. It will be set by RIPP upon the success of RDAT LID validation. 22:21 RESERVED 20:16 RX_LID LID value for the RX physical link. This field is cleared by PM during link record initialization. It will be set by RIPP upon the success of RDAT LID validation. 15 RX_LINK_TIMER_ EN 14:12 RESERVED 11:8 RX_LINK_TIMER 7 RESERVED 6:4 FE_TX_LSM RX link timer enable. The enable bit is set when the timer is loaded; it is cleared when either a timeout occurs or the timer is disabled. RX link timer. Implemented as 4-bit down counter. The counter is loaded with the appropriate timeout value when the timer is enabled, and decrements on every timer tick, until it reaches zero. A timeout event is declared when a timer tick occurs and the counter equals zero, if the timer is enabled. Far end TX LSM state for the link. This is copied from the appropriate TX LSM state field in the incoming ICP cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 255 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT 3 INVERSE MULTIPLEXING OVER ATM DATA FIELD DESCRIPTION RX_LINK_PM_UN USABLE This field indicates the link has been considered unusable by PM. This bit is set up on PM issuing UNUSABLE_LINK command, and cleared upon PM issuing RECOVER_LINK command. This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart. 2:0 RX_LINK_PM_UN USABLE_CAUSE Cause specified by PM for the link to be unusable. This field is used by RIPP to notify FE. “000”: No cause specified “010”: Fault. “011”: Mis-connected “100”: Inhibited “101”: Failed Others: Reserved (currently considered the same as no cause specified). This field is programmed by PM during link record initialization. This field will remain at its current value during a group-restart. 1 31:21 RESERVED 20 LINK_DELAY_GO OD The result of the last differential delay evaluation for the link. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 256 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT INVERSE MULTIPLEXING OVER ATM DATA FIELD DESCRIPTION 19 LODS_OVR LODS, DCB overrun. Indicates that the DCB buffer is in an overrun condition. This occurs when the transport delay for the link is detected to be outside the programmed limit and the transport delay is longer than the other links within the group. 18 LODS_UNDERRU N LODS, DCB under-run. Indicates that the DCB buffer is in an underrun condition. 17 LCD LCD, Loss of Cell Delineation Defect is present on this link. 16 LIF LIF, A loss of IMA Frame defect condition is present on this link. 15:11 RESERVED 10 RX_ACTIVE_INT RX LSM transition into/out of Active state. This bit is reset immediately after read_event command is executed for the group of which this link is a member. 9 IDLE_CELL_INT Physical layer idle cells were received on the RX link. This bit is reset immediately after read_event command is executed for the group of which this link is a member. 8 FE_TX_UNUSABL E_INT FE TX LSM transitioned into or out of the UNUSABLE state. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 257 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT 7 INVERSE MULTIPLEXING OVER ATM DATA FIELD DESCRIPTION DIFF_DELAY_INT Differential Delay is out of bounds on link addition/or recovery. This indicates the delay on the link was out of bounds of the programmed differential delay and the link failed to come up for this reason. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. 6 LODS_OVERRUN_ LODS, DCB overrun. An overrun INT condition occurred. This bit is reset immediately after read_event command is executed for the group of which this link is a member. 5 LODS_UNDERRU N_INT LODS, DCB underrun. Indicates that the DCB buffer experienced an underrun condition and has disabled itself from forwarding traffic to the ATM layer. An underrun occurs when the transport delay for the link is detected to be outside the programmed limit and the transport delay is smaller than the other links within the group In general, this will happen only if the transport delay of the link changes. An underrun condition requires that the link delay be revalidated prior to being placed back in service. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 258 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT 4 INVERSE MULTIPLEXING OVER ATM DATA FIELD DESCRIPTION LCD_INT A change of state of the LCD status bit was detected. This bit is reset immediately after read_event command is executed for the group of which this link is a member. 3 LIF_INT A change of state of the LIF status bit was detected. This bit is reset immediately after read_event command is executed for the group of which this link is a member. 2 INVALID_ICP _INT Invalid ICP parameters detected on RX link during validation of the ICP cell parameters causing validation to fail. Possible reasons include: Invalid LID (i.e., duplicate). Invalid ICP cell offset (out of range). Invalid RX IMA ID, which may indicate a misconnectivity problem. Invalid OAM label received after IMA version being determined through negotiation. Invalid Group symmetry received after symmetry being determined through negotiation. This bit is reset immediately after read_event command is executed for the group of which this link is a member. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 259 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 WORD BIT 1 INVERSE MULTIPLEXING OVER ATM DATA FIELD DESCRIPTION RX_TIMEOUT_INT Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. 0 INVALID_FE_TX_I NT Invalid FE TX LSM states were detected in a incoming non-errored ICP cell. This bit is reset immediately after the read_event command is executed for the group of which this link is a member. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 260 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x20C: RIPP Timer Tick Configuration Register Bit Type Function Default 15:0 R/W Timer_tick_interval 0x3473 Timer-tick_interval This value controls the interval between timer tick events. The timer ticks are internally generated by counting sysclk pulses. The count of sysclk pulses between sysclk pulses is a 26 bit integer, the most significant 16 bits of which are specified here, and the lower 10-bits are set to ‘0’s internally. To give an example, a Timer_tick_interval value of 0 x 3473 represents a value of 0XD1CC00 (13,749,248 decimal) sysclk pulses; this translates to about 275 milliseconds in real time assuming a 50 MHz sysclk. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 261 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x20E: Group Timeout Register #1 Bit Type Function Default 15:12 R/W Group_startup_ack_timeout 0x4 11:8 R/W Group_config_abort_timeout 0x4 7:4 R/W RX_usable_timeout 0x4 3:0 R/W RX_active_timeout 0x4 This register holds the time-out values used at different states of the group state machine or the group-wide procedures (such as group start-up and LASR). The actual time represented by the timeout value in this register can be obtained as: Real_time = Timeout_value * Internal_timer_tick_interval Group_config_abort_timeout: The timeout value determines how long the GSM should stay in Config_Aborted state before it can move back to Start-up state, if no new parameters are proposed by the FE and PM does not issue a restart_group command. Group_startup_ack_timeout: The timeout value determines how long the GSM should stay in Start-up-Ack state before it can move back to Start-up state, if the FE GSM is not in one of the following states: Start-up-Ack, Insufficient-Links, Blocked, or Operational. RX_usable_timeout: During the group start-up or LASR, this timeout value determines how long the RIPP should wait before it can move any RX LSMs to Usable state (unless all the RX links involved are out of defect status). In the case of group start-up, the timer is started when the GSM enters Insufficient-links state; during LASR, it is started when the PM issues add_link command. RX_active_timeout: During the group start-up or LASR, this timeout value determines how long the RIPP should wait before it can move any RX LSMs to Active state (unless all the links involved are being reported TX = Usable by the FE). The timer is started after the RX = usable synchronization point. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 262 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x210: Group Timeout Register #2 Bit Type 15:4 3:0 Function Default Reserved R/W TX_active_timeout 0x4 This register holds additional group time-out values. TX_active_timeout: During the group start-up or LASR, this value determines how long the RIPP should wait before it can move any TX LSMs to Active state (unless all the links involved are being reported RX = Usable by the FE). In the case of group start-up, the timer is started when the GSM enters Insufficient-links state; during LASR, it is started when the PM issues add_link command. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 263 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x212: TX Link Timeout Register Bit Type Function Default 15:4 R/W Reserved 0 3:0 R/W TX_link_deleted_timeout 0x4 This register holds the time-out values used at different states of the TX LSM. The actual time represented by the timeout value in this register can be obtained as: Real_time = Timeout_value * Internal_timer_tick_interval TX_link_deleted_timeout: During link deletion, this value determines how long the TX LSM should stay in the DELETED state before it can move to the UNASSIGNED state (if the FE does not report RX != Active). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 264 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x214: RX Link Timeout Register Bit Type Function Default 15:8 R/W Reserved 0 7:4 R/W RX_link_blocked_timeout 0x4 3:0 R/w RX_link_deleted_timeout 0x4 This register holds additional time-out values used at different states of the RX LSM. The actual time represented by the timeout value in this register can be obtained as: Real_time = Timeout_value * Internal_timer_tick_interval RX_link_deleted_timeout: In the case of link deletion, this value determines how long the RX LSM should stay in the DELETED state before it can move to the UNASSIGNED state (if the FE does not report TX != Active). RX_link_blocked_timeout: In the case of link inhibiting, this value determines how long the RX LSM should stay in the BLOCKED state before it can move to the UNUSABLE state (if the FE does not report TX != Active). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 265 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x216: RIPP Interrupt FIFO Bit Type Function Default 15 RO FIFO_BUSY 0 14 RO FIFO_NOT_EMPTY 0 13:8 7:0 Reserved RO Group tag 0 This register is the read interface to the RIPP Interrupt FIFO. Each read to this register causes a read to the FIFO, which automatically updates this register. Group_tag: Group_tag identifies the group that generated the interrupt. Group_tag is valid only if FIFO_NOT_EMPTY=1 and FIFO_BUSY=0. FIFO_NOT_EMPTY Current FIFO status. FIFO_NOT_EMPTY=1 means the FIFO is not empty; and FIFO_NOT_EMPTY=0 means the FIFO is empty. FIFO_NOT_EMPTY is valid only if FIFO_BUSY=0. FIFO_BUSY Indicates that the FIFO is busy retrieving the next entry. FIFO_BUSY will usually clear within four SYSCLK cycles from the end of a read. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 266 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x218:RIPP Group Interrupt Enable Register Bit Type Function Default 15:10 R/W Reserved 0 9 R/W PM_ADJUST_DELAY_DO NE_INT_EN 0 8 R/W INVALID_TRL_INT_EN 0 7 R/W GRP_TIMING_INT_EN 0 6 R/W FE_TIMEOUT_INT_EN 0 5 R/W GR_TIMEOUT_INT_EN 0 4 R/W FE_ABORT_INT_EN 0 3 R/W NE_ABORT_INT_EN 0 2 R/W GTSM_INT_EN 0 1 R/W FE_GSM_INT_EN 0 0 R/W NE_GSM_INT_EN 0 The above enable bits provides a global enable for the corresponding IMA group interrupts. If an interrupt enable bit is not set, the respective interrupt is disabled for all groups. If a bit is set, the individual group interrupt enable is used. 0 – Disable group interrupt for all links. 1– Use individual group interrupt enable. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 267 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x21A:RIPP TX Link Interrupt Enable Register Bit Type Function Default 15:5 R/W RESERVED 1 4 R/W TX_ACTIVE_INT_EN 3 R/W FE_RX_UNUSABLE_INT_ EN 2 R/W FE_RX_DEFECT_INT_EN 1 R/W TX_TIMEOUT_INT_EN 0 R/W UNUSED The above enable bits provides a global enable for the corresponding TX link interrupts. If an interrupt enable bit is not set, the respective interrupt is disabled for all links. If a bit is set, the individual Tx Link Interrupt enable is used. 0 – Disable corresponding Tx Link interrupt for all links. 1 – Use individual corresponding Tx Link interrupt enable. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 268 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x21C:RIPP RX Link Interrupt Enable Register Bit Type Function Default 15:11 R/W RESERVED 0 10 R/W RX_ACTIVE_INT_EN 0 9 R/W IDLE_CELL_INT_EN 0 8 R/W FE_TX_UNUSABLE_INT_ EN 0 7 R/W DIFF_DELAY_INT_EN 0 6 R/W LODS_OVERRUN_INT_E N 0 5 R/W LODS_UNDERRUN_INT_ EN 0 4 R/W LCD_INT_EN 0 3 R/W LIF_INT_EN 0 2 R/W INVALID_ICP_INT_EN 0 1 R/W RX_TIMEOUT_INT_EN 0 0 R/W UNUSED 0 The above enable bits provide a global enable for the corresponding Rx link interrupts. If an interrupt enable bit is not set, the respective interrupt is disabled for all links. If a bit is set, the individual Rx Link Interrupt enable is used. 0 – Disable group link interrupt for all links. 1 – Use individual link interrupt enable for each link. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 269 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x220-22C: RIPP Command Register Address Bit Type Function Default 0x220 15 RO CMD_BUSY 0 14:10 R/W CMD_CODE 0 9 RO CMD_ACK 0 8 Reserved 7:0 R/W CMD_WR_DATA00 0 0X222 15:0 R/W CMD_WR_DATA01_LSB 0 0X224 15:0 R/W CMD_WR_DATA01_MSB 0 0X226 15:0 R/W CMD_WR_DATA02_LSB 0 0X228 15:0 R/W CMD_WR_DATA02_MSB 0 0X22A 15:0 R/W CMD_WR_DATA03_LSB 0 0X22C 15:0 R/W CMD_WR_DATA03_MSB 0 These array registers control the issuing of PM commands. Writing to the first location in the array (0x30) causes a new command to be issued to RIPP. The command operands are carried in the rest of the registers. CMD_ACK: This bit indicates whether a command has been accepted (logic high) or rejected (logic low) by RIPP. It is updated by RIPP before the CMD_BUSY is cleared. CMD_CODE: This is set by the microprocessor to indicate which command is being issued. See Table 14 Command Register Encoding for the details. CMD_BUSY: This bit is set to ‘1’ internally upon detecting a microprocessor write to this register location; the write indicates that a new command is being issued. After the command is accepted by RIPP, RIPP clears the bit to ‘0’ asynchronously to indicate that it is now ready to take the next command. RIPP will also update the CMD_ACK bit to indicate whether the command has PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 270 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM been accepted; it puts the return data – if there is any – in the command-read data registers. CMD_WR_DATA00: 8-bit field used to carry the first operand of the current command. See Table 14 Command Register Encoding for the details. CMD_WR_DATA01 – CMD_WR_DATA03: 32-bit data fields used to carry the rest of the operands of the current command. See Table 14 Command Register Encoding for the details. Table 14 Command Register Encoding Command Cmd_code Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Add_group 00000 Group_tag Cmd_wr_data01: TX_PHY_VALID vector Cmd_wr_data02: RX_PHY_VALID vector Cmd_wr_data03: Don’t care. Delete_group 00001 Group_tag Don’t care. Restart_group 00010 Group_tag Don’t care. Inhibit_group 00100 Group_tag Don’t care. Not_inhibit_gr oup 00101 Group_tag Don’t care. Start_LASR 01000 Group_tag Cmd_wr_data01: TX_LINK_VEC Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Don’t care. Delete_link 01001 Group_tag Cmd_wr_data01: TX_LINK_VEC Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Don’t care. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 271 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Command Cmd_code Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Set_rx_phy_d efect 01010 Group_tag Cmd_wr_data01: Don’t care. Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Bit 0: rx link physical defect status (LOS, LOF, AIS): ‘0’: no defect ‘1’: defect exists and needs to be reported to FE. Bits 31-1: Don’t care. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 272 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Command Cmd_code Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Unusable_link 01100 Group_tag Cmd_wr_data01: TX_LINK_VEC Cmd_wr_data02: RX_LINK_VEC Cmd_wr_data03: Bit 6:4: TX_CAUSE. Encoding: “001”: No cause specified “010”: Fault. “011”: Mis-connected “100”: Inhibited “101”: Failed Others: Reserved (no effect, command void) Bit 2:0: RX_CAUSE. Encoding: “001”: No cause specified “010”: Fault. “011”: Mis-connected “100”: Inhibited “101”: Failed Others: Reserved (no effect, command void) Bit 31-7: Don’t Care. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 273 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Command Cmd_code Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Update_test_ ptn 10000 Group_tag Cmd_wr_data01: Bit 13: test pattern active indication Bit 12:8: LID value of the TX Link to be tested. Bit 7:0: Tx test pattern Bit 31-14: Don’t care. Cmd_wr_data02: Don’t care. Cmd_wr_data03: Don’t care. Update_tx_trl 10001 Group_tag Cmd_wr_data01: Bit 4:0: LID value of the TX Link to be used as the new TRL. Bit 31-5: Don’t care. Cmd_wr_data02: Don’t care. Cmd_wr_data03: Don’t care. Read_event 11000 Group_tag Don’t care. Read_delay 11001 Group_tag Don’t care. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 274 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Command Cmd_code Cmd_wr_data00 Cmd_wr_data01 through cmd_wr_data03 Adjust_delay 11010 Group_tag Cmd_wr_data01: Bit15 : DELAY_ADJUST_MODE ‘0’: Remove delay ‘1’: Add delay Bit 9:0: Indicates the amount of delay to be added to/removed from a Group. Bit 31-10: Don’t care. Cmd_wr_data02: Don’t care. Cmd_wr_data03: Don’t care. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 275 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x22E: Command Read Data Control Register Bit Type 15:2 1:0 R/W Function Default Reserved 0 Cmd_read_data_page_ sel 0 CMD_READ_DATA_PAGE_SEL Selects which page in the command read data register array is to be made available in the Command Read Data Register Array. A logic ‘0’ selects page 0, while a logic ‘1’ selects page 1 and a logic ‘2’ selects page 2. The pages may be changed at anytime to enable access to the complete information provided by the read event command. See “Register 0x240-0x02BE” for details of the contents of the pages. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 276 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x230: ICP Cell Forwarding Status Register Bit Type Function Default 15:1 R Reserved 0 0 R2C PM_ICP_AVL 0 This register serves as the current PM_ICP_AVL interrupt status. PM_ICP_AVL: This bit is set by the RIPP state machine to indicate that there has been a new ICP cell copied over to the ICP cell buffer register area. It is cleared upon the microprocessor reading this register location. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 277 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x232: ICP Cell Forwarding Control Register Bit Type 15:2 Function Default Reserved 0 1 R/W ICP_FWD_LOCK_REQ 0 R ICP_FWD_LOCK_GRANT 0 ICP_FWD_LOCK_GRANT: This bit serves as an access lock bit controlling the access to the forwarding ICP buffer. A read from this location returns the current lock status. When the lock bit is set to ‘1’, the microprocessor is granted read access to the buffer; further writes by the RIPP internal logic are prohibited. Otherwise RIPP has control over the area. ICP_FWD_LOCK_REQ: Writing ‘1’ to the register location requests the lock for microprocessor read access; while writing ‘0’ releases the lock. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 278 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x240- 0x2BE:RIPP Command Data Register Array Address Bit Type Function Default 0x240 15:0 R CMD_DATA00_LSB 0 0x242 15:0 R CMD_DATA00_MSB 0 0x244 15:0 R CMD_DATA01_LSB 0 0x246 15:0 R CMD_DATA01_MSB 0 0x248 15:0 R CMD_DATA02_LSB 0 0x24A 15:0 R CMD_DATA02_MSB 0 0x24C 15:0 R CMD_DATA03_LSB 0 0x24E 15:0 R CMD_DATA03_MSB 0 0x250 15:0 R CMD_DATA04_LSB 0 0x252 15:0 R CMD_DATA04_MSB 0 0x254 15:0 R CMD_DATA05_LSB 0 0x256 15:0 R CMD_DATA05_MSB 0 0x258 15:0 R CMD_DATA06_LSB 0 0x25A 15:0 R CMD_DATA06_MSB 0 0x25C 15:0 R CMD_DATA07_LSB 0 0x25E 15:0 R CMD_DATA07_MSB 0 0x260 15:0 R CMD_DATA08_LSB 0 0x262 15:0 R CMD_DATA08_MSB 0 0x264 15:0 R CMD_DATA09_LSB 0 0x266 15:0 R CMD_DATA09_MSB 0 0x268 15:0 R CMD_DATA0A_LSB 0 0x26A 15:0 R CMD_DATA0A_MSB 0 0x26C 15:0 R CMD_DATA0B_LSB 0 0x26E 15:0 R CMD_DATA0B_MSB 0 0x270 15:0 R CMD_DATA0C_LSB 0 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 279 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Bit Type Function Default 0x272 15:0 R CMD_DATA0C_MSB 0 0x274 15:0 R CMD_DATA0D_LSB 0 0x276 15:0 R CMD_DATA0D_MSB 0 0x278 15:0 R CMD_DATA0E_LSB 0 0x27A 15:0 R CMD_DATA0E_MSB 0 0x27C 15:0 R CMD_DATA0F_LSB 0 0x27E 15:0 R CMD_DATA0F_MSB 0 0x280 15:0 R CMD_DATA10_LSB 0 0x282 15:0 R CMD_DATA10_MSB 0 0x284 15:0 R CMD_DATA11_LSB 0 0x286 15:0 R CMD_DATA11_MSB 0 0x288 15:0 R CMD_DATA12_LSB 0 0x28A 15:0 R CMD_DATA12_MSB 0 0x28C 15:0 R CMD_DATA13_LSB 0 0x28E 15:0 R CMD_DATA13_MSB 0 0x290 15:0 R CMD_DATA14_LSB 0 0x292 15:0 R CMD_DATA14_MSB 0 0x294 15:0 R CMD_DATA15_LSB 0 0x296 15:0 R CMD_DATA15_MSB 0 0x298 15:0 R CMD_DATA16_LSB 0 0x29A 15:0 R CMD_DATA16_MSB 0 0x29C 15:0 R CMD_DATA17_LSB 0 0x29E 15:0 R CMD_DATA17_MSB 0 0x2A0 15:0 R CMD_DATA18_LSB 0 0x2A2 15:0 R CMD_DATA18_MSB 0 0x2A4 15:0 R CMD_DATA19_LSB 0 0x2A6 15:0 R CMD_DATA19_MSB 0 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 280 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Bit Type Function Default 0x2A8 15:0 R CMD_DATA1A_LSB 0 0x2AA 15:0 R CMD_DATA1A_MSB 0 0x2AC 15:0 R CMD_DATA1B_LSB 0 0x2AE 15:0 R CMD_DATA1B_MSB 0 0x2B0 15:0 R CMD_DATA1C_LSB 0 0x2B2 15:0 R CMD_DATA1C_MSB 0 0x2B4 15:0 R CMD_DATA1D_LSB 0 0x2B6 15:0 R CMD_DATA1D_MSB 0 0x2B8 15:0 R CMD_DATA1E_LSB 0 0x2BA 15:0 R CMD_DATA1E_MSB 0 0x2BC 15:0 R CMD_DATA1F_LSB 0 0x2BE 15:0 R CMD_DATA1F_MSB 0 The 64 registers in address range 0x240-0x2BE serve as a data bank organized as three pages, each with 32 32-bit words. These registers hold the return value from the command. The value of cmd_read_data_page_select determines which page is currently accessible. See Table 15 for the details. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 281 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Table 15 Command Read_event ISSUE 4 INVERSE MULTIPLEXING OVER ATM Command data register array format Cmd_data00 through cmd_data1F Page 0: Group Interrupt/Status. Cmd_data00: 32-bit vector where each bit corresponds to a Tx LID. A logic ‘0’ means no interrupt exists on the link, while a logic ‘1’ means an interrupt does exist on the link. Cmd_data01: 32-bit vector where each bit corresponds to an Rx link. The vector is organized corresponding to the RX_PHY_TABLE in the Group Configuration Record. A logic ‘0’ means no interrupt exists on the link, while a logic ‘1’ means an interrupt does exist on the link. Cmd_data02: Group Interrupt/Status. See Table 16 for bit descriptions. Cmd_data03 – Cmd_data1F: Don’t care. Page 1: Link Interrupt Status. Cmd_dataN (N = 0x0, …. 0x1F): See Table 17 for bit descriptions. Page 2: Link Status. Cmd_dataN (N = 0x0, …. 0x1F): See Table 18 for bit descriptions. Note that the Tx/Rx links here are sorted in the same order as in the TX_PHY_VALID and RX_PHY_VALID vectors. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 282 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Command Cmd_data00 through cmd_data1F Read_delay Page 0: Cmd_dataN (N = 0x0, …. 0x1F): Bit 31-29: Don’t care. Bit 28: Current overrun defect status. Bit 27: Current LCD defect status. Bit 26: Current LIF defect status. Bit 25-23: Don’t care. Bit 22-21: Current IFSM state (IMA Sync = 2) Bit 20-16: Don’t care. Bit 15:0: DCB write pointer for link N. Note that the DCB write pointer should only be considered valid if the attached status bits are 0 and the IFSM state is Sync (2). Note that the Tx/Rx links here are sorted in the same order as in the TX_PHY_VALID and RX_PHY_VALID vectors. Page 1: Cmd_data00: Bit 15:0: Group DCB read pointer. Bit 31-16: Don’t care. Cmd_data01: Bit 31:0: Current RDAT Group reader active vector. If no links are active (i.e., all 32 bits are zeros), the Group DCB read pointer is invalid. Cmd_data02 – Cmd_data1F: Don’t care. Page 2: Don’t Care. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 283 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Table 16 Word Group Interrupts INVERSE MULTIPLEXING OVER ATM Group Error/Status Bit Mapping Bit Data Field Description 31:26 RESERVED Reserved 25 PM_ADJUST_DELA Y_DONE_INT PM adjust_delay procedure done. This means an adjust_delay procedure invoked by the PM command is successfully finished or aborted. 24 FE_TRL_INT Invalid RX TRL. This means the FE specified a not-in-group link to be the TRL. 23 GROUP_TIMING_IN T Group timing mismatch. This means the FE IMA transmit clock mode does not mach the NE transmit clock mode. 22 FE_TIMEOU_INT Startup-Ack Timeout. The FE fails to transition into the STARTUP-ACK state prior to the NE timing out. 21 GROUP_TIMEOUT_I GSM fails to come out of an NT insufficient-links state during a group start-up procedure before the relevant timer expires. 20 FE_ABORT_INT FE entered CONFIG-ABORTED state during group start-up. 19 NE_ABORT_INT Entered NE Config aborted state, FE group parameters unacceptable during group start-up. Possible causes are: (10 bit) IMA OAM label proposed by FE not acceptable. Group symmetry proposed by FE not acceptable. RX M proposed by FE not acceptable 18 GTSM_INT GTSM state change. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 284 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word Group Status ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data Field Description 17 FE_GSM_INT FE GSM state change. 16 NE_GSM_INT NE GSM state change. 15:11 RESERVED Reserved 10 FE_TRL_STATUS Invalid RX TRL. This means the FE specified a not-in-group link to be the TRL. 9 GROUP_TIMING_MI SMATCH Group timing mismatch 8 GTSM GTSM state 7:4 FE_GSM FE GSM state: (10 bit) Group state machine state. “0000”: Start-up “0001”: Start-up-ACK “0010”: Config-Aborted – Unsupported M “0011”: Config-Aborted – Incompatible group symmetry “0100”: Config-Aborted – Unsupported IMA versions “0101”: Reserved “0110”: Reserved “0111”: Config-Aborted – Other reasons “1000”: Insufficient-links “1001”: Blocked “1010”: Operational “1011”-“1111” Reserved 3:0 NE_GSM NE GSM state PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 285 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Table 17 INVERSE MULTIPLEXING OVER ATM Link Event Interrupt Bit Mapping Word Bit Data Field Description RX Link Error Status 31:27 (12 bit) 26 RX_ACTIVE_INT RX LSM transition into/out of Active state. 25 IDLE_CELL_INT Physical layer idle cells were received on the RX link. 24 FE_TX_UNUSABLE _INT FE TX LSM transitioned into or out of the UNUSABLE state. 23 DIFF_DELAY_INT Differential Delay is out of bounds on link addition/or recovery. This indicates the delay on the link was out of bounds of the programmed differential delay and that the link failed to come up for this reason. 22 LODS_OVERRUN_I NT LODS, DCB overrun. An overrun condition occurred. 21 LODS_UNDERRUN_ LODS, DCB underrun. Indicates that INT the DCB buffer experienced an underrun condition and has disabled itself from forwarding traffic to the ATM layer. An underrun occurs when the transport delay for the link is detected to be outside the programmed limit and the transport delay is smaller than the other links within the group In general, this will happen only if the transport delay of the link changes. An underrun condition requires that the link delay be revalidated prior to being placed back in service. 20 LCD_INT Reserved A change of state of the LCD status bit was detected. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 286 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Word ISSUE 4 INVERSE MULTIPLEXING OVER ATM Bit Data Field Description 19 LIF_INT A change of state of the LIF status bit was detected. 18 INVALID_ICP _INT Invalid ICP parameters detected on RX link during validation of the ICP cell parameters causing validation to fail. Possible reasons include: Invalid LID (i.e., a duplicate). Invalid ICP cell offset (out of range). Invalid RX IMA ID, which may indicate a misconnectivity problem. Invalid OAM label received after IMA version was determined through negotiation. Invalid Group symmetry received after symmetry was determined through negotiation. 17 RX_TIMEOUT_INT Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. 16 RESERVED Reserved TX Link Error Status 15:5 RESERVED Reserved (8 bit) 4 TX_ACTIVE_INT Indicates that the NE TX LSM transitioned into/out of Active state. 3 FE_RX_UNUSABLE _INT Indicates that FE RX LSM transitioned into/out of UNUSABLE state. 2 FE_RX_DEFECT_IN T Indicates that the FE RX Defect indication changed. 1 TX_TIMEOUT_INT Indicates the LASR procedure timed out prior to the link entering the ACTIVE state. 0 RESERVED Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 287 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Table 18 INVERSE MULTIPLEXING OVER ATM Link Status Bit Mapping Word Bit Data Field Description RX Link Error Status 31 DATA_PLAYOUT Reserved (15 bit) 30 LODS_OVR LODS, DCB overrun indicated by RDAT. 29 LODS_UNDERRUN LODS, DCB under-run indicated by RDAT. 28 LCD LCD, indicated by RDAT. 27 LIF LIF, indicated by RDAT. 26:24 FE_TX_LSM FE Tx LSM state “000”: Not in Group “001”: UNUSABLE “010”: UNUSABLE (Fault) “011”: UNUSABLE (Mis-connected) “100” :UNUSABLE (Inhibited) “101”: UNUSABLE (Failed) “110”: USABLE “111”: ACTIVE TX Link Error Status (8 bit) 23:21 RX_LSM_ICP NE Rx LSM state. 20:16 RX_LID Rx LID 15:8 Reserved 7:6 FE_RX_DEFECT FE Rx Defect 5:3 FE_RX_LSM FE Rx LSM state 2:0 TX_LSM_ICP NE Tx LSM state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 288 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x2C0- 0x2FE: Forwarding ICP Cell Buffer Address Bit Type Function Default 0x2C0 15:0 R ICP_WORD00_LSB 0 0x2C2 15:0 R ICP_WORD00_MSB 0 0x2C4 15:0 R ICP_WORD01_LSB 0 0x2C6 15:0 R ICP_WORD01_MSB 0 0x2C8 15:0 R ICP_WORD02_LSB 0 0x2CA 15:0 R ICP_WORD02_MSB 0 0x2CC 15:0 R ICP_WORD03_LSB 0 0x2CE 15:0 R ICP_WORD03_MSB 0 0x2D0 15:0 R ICP_WORD04_LSB 0 0x2D2 15:0 R ICP_WORD04_MSB 0 0x2D4 15:0 R ICP_WORD05_LSB 0 0x2D6 15:0 R ICP_WORD05_MSB 0 0x2D8 15:0 R ICP_WORD06_LSB 0 0x2DA 15:0 R ICP_WORD06_MSB 0 0x2DC 15:0 R ICP_WORD07_LSB 0 0x2DE 15:0 R ICP_WORD07_MSB 0 0x2E0 15:0 R ICP_WORD08_LSB 0 0x2E2 15:0 R ICP_WORD08_MSB 0 0x2E4 15:0 R ICP_WORD09_LSB 0 0x2E6 15:0 R ICP_WORD09_MSB 0 0x2E8 15:0 R ICP_WORD0A_LSB 0 0x2EA 15:0 R ICP_WORD0A_MSB 0 0x2EC 15:0 R ICP_WORD0B_LSB 0 0x2EE 15:0 R ICP_WORD0B_MSB 0 0x2F0 15:0 R ICP_WORD0C_LSB 0 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 289 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Address Bit Type Function Default 0x2F2 15:0 R ICP_WORD0C_MSB 0 0x2F4 15:0 R ICP_WORD0D_LSB 0 0x2D6 15:0 R ICP_WORD0D_MSB 0 0x2F8 15:0 R ICP_WORD0E_LSB 0 0x2FA 15:0 R ICP_WORD0E_MSB 0 0x2FC 15:0 R ICP_WORD0F_LSB 0 0x2FE 15:0 R ICP_WORD0F_MSB 0 The 32 registers in the address range 0x2A0-0x2DE serve as a data bank organized as 16 32-bit words. Those words are used to store the ICP cell forwarded to PM. See Table 19 for the details the format. Table 19 Receive ICP Cell Buffer Structure Word Bits Parameter icp_data Description Octets 6-53 of the payload contained in the last non-errored ICP cell for this link. 31:24 23:16 15:8 7:0 0 Octet 6 Octet 7 Octet 8 Octet 9 1 Octet 10 Octet 11 Octet 12 Octet 13 2 Octet 14 Octet 15 Octet 16 Octet 17 3 Octet 18 Octet 19 Octet 20 Octet 21 4 Octet 22 Octet 23 Octet 24 Octet 25 5 Octet 26 Octet 27 Octet 28 Octet 29 6 Octet 30 Octet 31 Octet 32 Octet 33 7 Octet 34 Octet 35 Octet 36 Octet 37 8 Octet 38 Octet 39 Octet 40 Octet 41 9 Octet 42 Octet 43 Octet 44 Octet 45 10 Octet 46 Octet 47 Octet 48 Octet 49 11 Octet 50 Octet 51 Octet 52 Octet 53 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 290 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bits Parameter Description 12 Reserved. 13:15 31:1 0 9 position_error The current ICP cell was received in an unexpected position within the IMA frame. If the contents of the cell are valid, then the ICP cell is considered valid, but the IFSM will transition to the IMA Hunt state. 8 header_invali The ATM cell header is not a correct ICP cell d header. 7 cid_invalid The Cell ID does not indicate the OAM Cell Type is ICP. 6 label_invalid The OAM Label does not indication IMA version 1.1. 5 lid_mm The link identifier in the current ICP cell does not match the LID in validation memory. 4 ima_id_mm The IMA ID in the current ICP cell does not match the IMA ID in validation memory. 3 m_mm The IMA Frame Length in the current ICP cell does not match the length in validation memory. 2 seq_error The IMA Frame Sequence Number in the current ICP cell does not match the sequence number maintained by the RDAT. 1 icp_offset_m m The ICP Cell Offset in the current ICP cell does not match the offset in validation memory. 0 stuff_invalid The link stuff indication in the current ICP cell has not progressed properly from the previous value. Reserved. . PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 291 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.9 RDAT Registers Register 0x300: RDAT Indirect Memory Command Bit Type Function Default 15 RO MEM_BUSY 0 14 R/W MEM_RWB 0 Unused 0 MEM_SELECT 0 13:4 3:0 R/W Writing to this register triggers an indirect memory access to the RDAT tables. The indirect memory address (and data register for write operations) must be configured prior to writing the register. MEM_SELECT: The indirect memory select indicates the memory table within the RDAT which will be accessed. MEM_SE LECT RDAT Memory Table Address Range 0x00 RDAT Link Statistics Memory 0x000-0x14F 0x01 RDAT IMA Group Statistics Memory 0x000-0x0A7 0x02 RDAT TC Link Statistics Memory 0x000-0x0A7 0x03 RDAT Validation Memory 0x000-0x0A7 0x04 RDAT Link Context Memory 0x000-0x0A7 0x05 RDAT Link Message Status Memory 0x000-0x053 0x06-0x07 Reserved 0x08 Receive ICP Cell Buffer 0x000-0x53F 0x09 RDAT IMA Group Context 0x000-0x0A7 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 292 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 MEM_SE LECT RDAT Memory Table INVERSE MULTIPLEXING OVER ATM Address Range Memory 0x0A RDAT TC Link Context Memory 0x0B0x0C Reserved 0x0D Receive ATM Congestion Count Register 0x0E0x0F Reserved 0x000-0x053 N/A MEM_RWB: The memory indirect access control bit (MEM_RWB) selects between a configure (write) or interrogate (read) access to the RDAT internal memory. Writing a logic 0 to MEM_RWB triggers an indirect write operation. Data to be written is taken from the Indirect Memory Data registers. Writing a logic 1 to MEM_RWB triggers an indirect read operation. The read data can be found in the Indirect Memory Data registers. The address within a memory table can be found in the Indirect Memory Address register. MEM_BUSY: The indirect memory access status bit (MEM_BUSY) reports the progress of an indirect access A write to the Indirect Memory Command register triggers an indirect access and sets the MEM_BUSY bit to a logic 1, MEM_BUSY will remain logic 1 until the access is complete. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Memory Data registers or (2) when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 293 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x302: RDAT Indirect Memory Address Bit Type 15:11 10:0 R/W Function Default Unused 0 MEM_ADDR 0 This register should not be written while the MEM_BUSY bit is set. MEM_ADDR: The indirect memory address indicates the word address within the memory table selected with the MEM_SELECT in the command register. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 294 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x304: RDAT Indirect Memory Data LSB Bit Type Function Default 15:0 R/W MEM_DATA_LSB 0 This register should not be written while the MEM_BUSY bit is set. MEM_DATA_LSB: The MEM_DAT_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the RDAT. The actual definition of each memory table is described under the Indirect Memory Data MSB Register description. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 295 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x306: RDAT Indirect Memory Data MSB Bit Type Function Default 15:0 R/W MEM_DATA_MSB 0 This register should not be written while the MEM_BUSY bit is set. MEM_DATA_MSB: The MEM_DAT_MSB represents either: (1) the most significant 16 bits of the data to be written to internal memory or (2) the most significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the RDAT. The actual definition of each memory table is described below. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 296 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT Link Statistics Memory (MEM_SELECT=0) Purpose: Stores cell and event counts for each Physical Link. Usage: TC Links and links in IMA Groups. Each word contains two counts for IMA links, one count for TC Links. In IMA mode, each cell may cause the oif_anomalies count to be incremented, and also may cause one and only one of the other counters to be incremented. In TC mode, each cell will cause one and only one counter to be incremented. All counters roll over unless otherwise noted. Maintained by: RDAT. Record Size: Four 32-bit words. MEM_ADDR = (Physical Link Number X 4) + Word Offset Table 20 RDAT Link Statistics Record (IMA) Word Bits Parameter Description 0 31:16 stuff_events Count of the number of stuff events received on this link. 15:0 oif_anomalies Count of the number of times this link has transitioned from the IMA Sync state to the IMA Hunt state in the IFSM. 31:16 icp_violations Count of HEC errored, OCD errored, invalid, or missing ICP cells received on this link. This also includes valid ICP cells received at unexpected positions. 15:0 icp_cells Count of the number of valid, non-errored ICP cells received on this link. 31:16 filler_cells Count of the number of non-errored filler cells received on this link that have been written to the buffer. 15:0 user_cells Count of the number of user cells received on this link that have been written to the buffer. 1 2 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 297 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bits Parameter Description 3 31:16 filtered_cells Count of the cells which were not written to the delay compensation buffer while in the IMA enable state (primarily due to errored conditions such as HEC errors, filler cells with CRC-10 errors, invalid or errored ICP cells not at expected positions, overrun, OCD, LCD, OIF, LIF, , reader not active yet). 15:0 dropped_cells Count of the number of cells dropped while the link is in IMA mode and not Enabled. Table 21 Word RDAT Link Statistics Record (TC) Parameter Description 0 Reserved. 1 Reserved. 2 3 user_cells Count of the number of user cells received on this link that have been written to the DCB. Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 298 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT IMA Group Statistics Memory (MEM_SELECT=1) Purpose: Stores cell and event counts for each IMA Group. Usage: IMA Groups only. All counters roll over unless otherwise noted. Maintained by: RDAT. Record Size: Four 32-bit words. MEM_ADDR = (Group Tag X 4) + Word Offset Table 22 RDAT IMA Group Statistics Record Word Parameter Description 0 user_cells Count of the number of user cells that have been read from the DCB and transferred to the ATM layer for this group. 1 dropped_cells Count of the number of cells which have been dropped solely due to ATM layer congestion for this group. 2 3 Reserved filler_cells Count of the number of filler cells that have been read from the DCB (and not transferred to the ATM layer) for this group. Buffers that do not contain the correct embedded information will match this criteria. The cell writer may mark cells in this manner for many reasons; for example, when the link is not yet IMA enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 299 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT TC Link Statistics Memory (MEM_SELECT=2) Purpose: Stores cell and event counts for each Physical Link. Usage: TC Links only. All counters roll over unless otherwise noted. Maintained by: RDAT Record Size: Two 32-bit words. MEM_ADDR = (TC Tag X 2) + Word Offset Table 23 RDAT TC Link Statistics Record Word Parameter Description 0 user_cells Count of the number of cells which have been read from the DCB and transferred to the ATM layer for this TC Link. 1 dropped_cells Count of the number of cells which have been dropped solely due to Receive Cell Interface congestion for this TC Link. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 300 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT Validation Memory (MEM_SELECT=3) Purpose: Contains configuration information for each Physical Link. Used by the RDAT to validate incoming ICP cells in IMA mode, and to control the flow of data to the DCB’s. For TC Links, the single bit tc_mode bit must be set. For IMA links, this record should be cleared before link addition. Usage: IMA Groups and TC Links. Maintained by: Microprocessor (for TC mode only), RIPP. Record Size: Two 32-bit words. MEM_ADDR = (Physical Link Number X 2) + Word Offset Table 24 RDAT Validation Record Word Bits Parameter Description 0 tc_mode tc_mode controls whether the link is in TC mode or part of an IMA group 31 0 IMA link. Flow of cells is controlled by the IMA protocol and the current IMA state 1 TC Enabled. Cells received for this link are stored in a four-cell FIFO in the SDRAM and scheduled for immediate transmission out the group FIFO. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 301 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 0 Parameter 30:29 link_state INVERSE MULTIPLEXING OVER ATM Description Link Data State. Valid only in IMA mode. This field reports the current state as set by the RIPP to determine how the RDAT should handle incoming cells: 00 Disabled. Cells are read from the link FIFOs and dropped. 01 IMA startup. All ICP cells are forwarded to the RIPP via the ICP FIFO, but the IFSM is not started and the delay compensation buffers remain idle for this link. 10 IMA Monitor. The IFSM is enabled. ICP cells are forwarded to the RIPP (all during the IFSM HUNT state, just cells at the expected ICP cell position during the PRESYNC and SYNC states). No cells are written to valid buffer locations in the DCB, but the write pointers are incremented. 11 IMA Enabled. Same as IMA Monitor, except that user and filler cells are written to the DCB. 28:26 Reserved. 25:24 m IMA frame length. The value is programmed by the RIPP to allow the RDAT to perform the IFSM, and to validate the value for M in the incoming ICP cells. 23:16 ima_id 00 32 cells 01 64 cells 10 128 cells 11 256 cells. IMA ID. This value is the group identifier, which is programmed by the RIPP to allow the RDAT to validate this value in the incoming ICP cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 302 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 15:8 Parameter Description icp_offset ICP Cell Offset. This value is programmed by the RIPP to allow the RDAT to determine the frame boundary on this link, and to validate this value in the incoming ICP cells. 7 6 INVERSE MULTIPLEXING OVER ATM Reserved. ima_version IMA Version supported for this link. This will factor into IMA OAM label checking, if the label_disable bit is not set. 0 = IMA version 1.1 1 = IMA version 1.0 1 5 label_disable When set, the IMA OAM label within the incoming ICP cells will not be used for validation of these cells. When not set, the IMA OAM label must match that specified by the ima_version field. 4:0 lid Logical identifier for this link. This value is programmed by the RIPP to allow the RDAT to validate the incoming ICP cells. 31:10 9:0 Reserved. dcb_thresh Configured overrun threshold of the delay compensation buffer for this link (in cells − IMA only). This must be less than or equal to the value specified in MAX_DCB_DEPTH in the Global configuration register. When this threshold is exceeded (distance between the read and write pointers), the overrun_latch error status will be set. This threshold is programmed by the RIPP at link startup. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 303 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT Link Context Memory (MEM_SELECT=4) Purpose: Contains IMA state information for each IMA Physical Link. For IMA connections, RDAT uses this memory to maintain the IFSM, IESM, OSM, and the DCB write pointer for each Physical Link. Note that for all IMA links, the group tag must be initialized prior to link addition, with all other fields initialized to zero. For TC Links, this memory is used for the external write pointer and should be initialized to zero. Usage: IMA Groups and TC Links Maintained by: RDAT. Record Size: Two 32-bit words. MEM_ADDR = (Physical Link Number x 2) + Word Offset Table 25 RDAT Link Context Record Word Bits Parameter Description 0 31 lcd_latch Loss of Cell Delineation Defect latched status. This status is maintained by the RDAT to report occurrences of LCD on this link. This bit will be set when an LCD defect is detected (as reported in the HEC field), and will be cleared by the RDAT when a valid ICP cell is received. The bit may remain set if the LCD condition persists. 30 overrun_latch DCB Overrun latched status. This status is maintained by the RDAT to report occurrences of DCB overrun. This bit will be set when a DCB overrun is detected, and will be cleared by the RDAT when a valid ICP cell is received. The bit may remain set if the overrun condition persists. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 304 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 29 INVERSE MULTIPLEXING OVER ATM Parameter Description underrun_latch DCB Underrun latched status. This status is maintained by the RDAT to report occurrences of DCB underrun. This bit will be set when a DCB underrun is detected (by the cell reader process), and will be cleared by the RDAT when a valid ICP cell is received. The bit may remain set if the underrun condition re-occurs. 28:25 Reserved 24:15 Reserved 14:13 iesm_state IMA Error/Maintenance State. This state is maintained by the RDAT to indicate the current state in the IESM for this link. 12:10 oif_cnt 9 8:7 last_cell_stuff 11 Reserved. 10 IMA Working. User cells may be written to the DCB. 01 OIF Anomaly. User cells are replaced with filler cells in the DCB. 00 LIF Defect. User cells are replaced with filler cells in the DCB. Count of the number of IMA frames while in the Out of IMA Frame (OIF) anomaly. This value is compared against gamma + 2 to detect the loss of an IMA frame (LIF) Gamma is set in Register 0x308. Once the LIF condition has been detected, this count is reset, and is used to count the persistence of IMA Sync for 2 IMA frames. Active high bit indicating when the last cell received on this link was a stuff cell (required for proper IFSM processing). Reserved. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 305 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 1 INVERSE MULTIPLEXING OVER ATM Parameter Description 6:0 group_tag The group tag associated with this link. The value is set by the read process; it is used by the cell write process to retrieve the group read pointer, in order to detect overrun conditions. 31 Reserved 30 Reserved 29 idleerr Idle Cell Received during IMA status. This status is maintained by the RDAT to report occurrences of idle cells on IMA links to PM via the RIPP. This bit will be set when an idle cell is detected on an IMA link, and will be cleared when the RDAT message clear command is issued with the idleerr_clear bit set (indicating that the RIPP has acknowledged the problem). 28:26 Reserved 25:23 stuff_cnt Current link stuff count. This indicates the occurrence of the next stuff event. When an ICP cell is received, this count is set to the value in the link stuff indication in that cell. In the event of an errored, invalid, or missing ICP cell, the count will be automatically decremented (unless the count is 000 or 111). Note that an invalid stuff sequence will be interpreted as an invalid ICP cell. 111 No imminent stuff event. 110-101 Reserved. 100 Stuff event in 4 ICP cell locations. 011 Stuff event in 3 ICP cell locations. 010 Stuff event in 2 ICP cell locations. 001 Stuff event in 1 ICP cell locations. 000 The next cell received on this link is a stuff event. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 306 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits Parameter 22:21 ifsm_state INVERSE MULTIPLEXING OVER ATM Description IMA Frame Synchronization Mechanism State. This state is maintained by the RDAT to indicate the current state in the IFSM for this link. 00 IMA Hunt. Performs a cell-by-cell search for IMA framing. Cells are not written to the DCB. 01 IMA PreSync. Performs a frame-by-frame search for valid ICP cells. Cells are not written to the DCB (although write pointers are maintained). 10 IMA Sync. Verifies IMA framing on a frame-by-frame basis. Valid cells are written to the DCB. 11 20:18 state_cnt Reserved. State count. This count is used within the IFSM, and has dual meaning, depending on the state. In the IMA PreSync state, this is the current number of consecutive valid ICP cells. This value is compared against the device gamma value to determine when the IFSM may enter the IMA Sync state from the IMA PreSync state. Once the IMA Sync or Hunt state is entered, this value is reset to 0. In the IMA Sync state, this is the current number of consecutive errored ICP cells. This value is compared against the device beta value to determine when the IFSM may enter the IMA Hunt state from the IMA Sync state. Once the IMA Hunt state is entered, or a non-errored cell is received, this value is reset to 0. 17:16 invalid_cnt Current number of consecutive invalid ICP cells. This value is compared against the device alpha value to determine when the IFSM may enter the IMA Hunt state from the IMA Sync state. Once the IMA Hunt state is entered, or a valid cell is received, this value is reset to 0, and this value may only be incremented in the IMA Sync state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 307 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 15:0 INVERSE MULTIPLEXING OVER ATM Parameter Description write_ptr Current delay compensation buffer write pointer for this link. The least significant portion of the write pointer is the cell number within the IMA frame, while the most significant portion represents the IMA Frame Sequence Number. The actual number of bits per field depends on the value for M for this link. Bits 9:0 for MAX_DCB_DEPTH = 1024 always represent the actual buffer write pointer (or bits 7:0 for MAX_DCB_DEPTH = 256). The write pointer is initialized by the RDAT when a valid ICP cell is received while in the IMA Hunt state, and is incremented otherwise. The most significant bits (not determined by the frame sequence number) will be synchronized to the group read pointer upper bits. (If the lower portion of the write pointer is less than the lower portion of the read pointer, then the write pointer upper bits will be set to one greater than the read pointer upper bits). Each increment of the write pointer represents a single cell time at the link line rate. All write pointers within a group can be compared in order to determine the differential delay. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 308 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT Link Message Status Memory (MEM_SELECT=5) Purpose: Contains the current message status indicator for each Physical Link. This information is used solely by RDAT for communication with the RIPP, and should be initialized to zero by PM at link addition. Usage: IMA Groups only. Maintained by: RDAT. Record Size: One 32-bit word. MEM_ADDR = Physical Link Number Table 26 RDAT Link Message Status Record Bits Parameter Description 9 msg_status RDAT message FIFO status. This bit is set by the RDAT when a message for this link is written to the RDAT message FIFO. The bit is cleared when a command for this link is written to the RDAT message clear command register. 8 Reserved 7:0 Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 309 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Receive ICP Cell Buffer (MEM_SELECT=8) Purpose: Contains the most recently received non-errored ICP cell for each Physical Link. This record is provided for read access only. Usage: IMA Groups only. Maintained by: RDAT Record Size: 16 32-bit words. MEM_ADDR = (Physical Link Number X 16) + Word Offset Table 27 Receive ICP Cell Buffer Structure Word Bits Parameter Description icp_data Octets 6-53 of the payload contained in the last non-errored ICP cell for this link. 31:24 23:16 15:8 7:0 0 Octet 6 Octet 7 Octet 8 Octet 9 1 Octet 10 Octet 11 Octet 12 Octet 13 2 Octet 14 Octet 15 Octet 16 Octet 17 3 Octet 18 Octet 19 Octet 20 Octet 21 4 Octet 22 Octet 23 Octet 24 Octet 25 5 Octet 26 Octet 27 Octet 28 Octet 29 6 Octet 30 Octet 31 Octet 32 Octet 33 7 Octet 34 Octet 35 Octet 36 Octet 37 8 Octet 38 Octet 39 Octet 40 Octet 41 9 Octet 42 Octet 43 Octet 44 Octet 45 10 Octet 46 Octet 47 Octet 48 Octet 49 11 Octet 50 Octet 51 Octet 52 Octet 53 12 31:10 Reserved. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 310 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 13:15 Parameter INVERSE MULTIPLEXING OVER ATM Description 9 position_error The current ICP cell was received in an unexpected position within the IMA frame. If the contents of the cell are valid, then the ICP cell is considered valid, but the IFSM will transition to the IMA Hunt state. 8 header_invalid The ATM cell header is not a correct ICP cell header. 7 cid_invalid The Cell ID does not indicate the OAM Cell Type is ICP. 6 label_invalid The OAM Label does not indication IMA version 1.1. 5 lid_mm The link identifier in the current ICP cell does not match the LID in validation memory. 4 ima_id_mm The IMA ID in the current ICP cell does not match the IMA ID in validation memory. 3 m_mm The IMA Frame Length in the current ICP cell does not match the length in validation memory. 2 seq_error The IMA Frame Sequence Number in the current ICP cell does not match the sequence number maintained by the RDAT. 1 icp_offset_mm The ICP Cell Offset in the current ICP cell does not match the offset in validation memory. 0 stuff_invalid The link stuff indication in the current ICP cell has not progressed properly from the previous value. Reserved. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 311 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT IMA Group Context Memory (MEM_SELECT=9) Purpose: Contains state information for each IMA Group. VPHY_ID is the only field that must be configured by PM (prior to IMA group startup). Usage: IMA Groups only. Maintained by: RDAT, PM Record Size: Four 32-bit words. MEM_ADDR = (Group Tag X 4) + Word Offset Table 28 RDAT IMA Group Context Record Word Bits Parameter 0 31:16 vphy_id Description Virtual PHY ID. For multi-channel UTOPIA mode, this identifies which channel in the RXAPS FIFO cells received for this group will be written to. The least significant 5 bits determine the destination channel of the RXAPS FIFO for this IMA group, and the upper 11-bits are unused. For Any-PHY mode and single channel UTOPIA, this identifies the address which will be prepended to all cells as they are written to the single channel RXAPS FIFO. For single channel UTOPIA mode and Any-PHY mode, the least significant 7 bits must uniquely identify a channel (legal values of 0-83) and the upper 9 bits are user selectable. 1 15:0 Reserved. 31:16 Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 312 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 15:0 INVERSE MULTIPLEXING OVER ATM Parameter Description read_ptr Current read pointer for the delay compensation buffers associated with this group. The most significant bits represent an extension of the pointer, which is based on the IMA frame sequence number. This field is initialized at link addition using the DCB depth command (with the initiate bit set). 2 31:0 Reserved 3 31:0 Reserved. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 313 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RDAT TC Link Context Memory (MEM_SELECT=0xA) Purpose: Contains state information for each TC Link. VPHY_ID is the only field that must be configured. Usage: TC Links only. Maintained by: RDAT, microprocessor. Record Size: One 32-bit word. MEM_ADDR = TC Tag Table 29 RDAT TC Link Context Record Bits Parameter Description 31:16 vphy_id Virtual PHY ID. For UTOPIA L2 Multi-Address mode, this identifies which channel in the RXAPS FIFO cells received for this group will be written to. The least significant 5 bits determine the destination channel of the RXAPS FIFO for this IMA group, and the upper 11-bits are unused. For Any-PHY and UTOPIA L2 Single-Address modes, this identifies the address which will be prepended to all cells as they are written to the single channel RXAPS FIFO. For single channel UTOPIA mode and Any-PHY mode, the least significant 7 bits must uniquely identify a channel (legal values of 0-83) and the upper 9 bits are user selectable. 15:0 read_ptr Current read pointer for the delay compensation buffers associated with this TC connection. Receive ATM Congestion Count Register (MEM_SELECT=0xD) Purpose: Contains a global count of the number of cells dropped due to Receive Cell Interface congestion. RDAT increments this counter and sets one of the Receive ATM Congestion Status bits each time it drops a cell. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 314 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Usage: Global. Maintained by: RDAT. Record Size: one word. MEM_ADDR is not used for accesses to this register. Table 30 Receive ATM Congestion Count Register Bits Parameter Description 31:0 cong_count Count of the total number of cells dropped due to ATM congestion. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 315 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x308: RDAT Configuration Bit Type Function Default 15 R/W RDAT_ENABLE 0 Unused 0 14:8 7:5 R/W GAMMA 1 4:2 R/W BETA 2 1:0 R/W ALPHA 2 ALPHA: ALPHA represents the number of consecutive invalid ICP cells which will cause the IFSM to transition from the IMA Sync state to the IMA Hunt state. Value Definition 0 Undefined 1-2 Number of consecutive invalid ICP cells 3 Undefined BETA: BETA represents the number of consecutive errored ICP cells which will cause the IFSM to transition from the IMA Sync state to the IMA Hunt state. Value Definition 0 Undefined 1-5 Number of consecutive errored ICP cells 6-7 Undefined GAMMA: GAMMA represents the number of consecutive valid ICP cells which will allow the IFSM to transition from the IMA PreSync state to the IMA Sync state. GAMMA+2 also represents the number of frames the IESM will wait after detecting OIF before entering the LIF state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 316 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Value Definition 0 Undefined 1-5 Number of consecutive valid ICP cells 6-7 Undefined RDAT_ENABLE: When set, this bit enables the RDAT state machines. When disabled, the link FIFOs are not serviced and IDCC requests are ignored. The operation of the microprocessor accesses are not affected by this enable. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 317 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x30A: Receive ATM Congestion Interrupt LSB Bit Type Function Default 15:0 R2C CONG(15:0) 0 The status in this register is latched, and it is cleared when read. CONG(15:0): CONG(15:0) is a bit-vector indicating on which channel a cell was dropped at the Receive Cell Interface. In UTOPIA-2 Multi-Address mode, a set bit indicates that a cell has been dropped on the corresponding channel due to a full RXAPS FIFO. In Any-PHY and UTOPIA-2 Single Address modes, bit 0 set indicates that a cell has been dropped because the single shared RXAPS FIFO is full, or because 16 cells are already stored in the FIFO for the current IMA Group or TC Link. Bits 15:1 are unused. Read the Receive ATM Congestion Count Register (MEM_SELECT=0xD) to determine the total number of cells dropped. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 318 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x30C: Receive ATM Congestion Interrupt MSB Bit Type Function Default 15:0 R2C CONG(31:16) 0 The status in this register is latched; it is cleared when read. CONG(31:16): CONG(31:16) is a bit-vector indicating on which channel a cell was dropped at the Receive Cell Interface. In UTOPIA-2 Multi-Address mode, a set bit indicates that a cell has been dropped on the corresponding channel due to a full RXAPS FIFO. Bit 31 is unused. In Any-PHY and UTOPIA-2 Single Address modes, CONG(31:16) is unused. Read the Receive ATM Congestion Count Register (MEM_SELECT=0xD) to determine the total number of cells dropped. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 319 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x30E: Receive TC Link FIFO Overrun Interrupt Register Bit Type 15:7 6:0 R Function Default Unused 0 PHYSICAL_LINK 0 PHYSICAL_LINK: Indicates the most recent physical link number that experienced Link FIFO overrun. PHYSICAL_LINK is valid only when TC_OVERRUN=1 in the RDAT Master Interrupt Status Register. This registers is not used to report overruns on Physical Links which are allocated to IMA Groups. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 320 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x310: RDAT Master Interrupt Register Bit Type Function Default 15 RO Reserved 0 Unused 0 14:3 2 R2C TC_OVERRUN 0 1 RO ATM_CONG_MSB 0 0 RO ATM_CONG_LSB 0 ATM_CONG_LSB: When set, this bit indicates that an interrupt bit is set in the Receive ATM Congestion Interrupt LSB register. This bit will be clear when no interrupt conditions are present in that register, or when the conditions are not enabled using the Receive ATM Congestion Interrupt Enable LSB register. ATM_CONG_MSB: When set, this bit indicates that an interrupt bit is set in the Receive ATM Congestion Interrupt MSB register. This bit will be clear when no interrupt conditions are present in that register, or when the conditions are not enabled using the Receive ATM Congestion Interrupt Enable MSB register. TC_OVERRUN: When set, this bit indicates that a Link FIFO overrun has occurred on the physical link indicated in the TC Overrun status register. Note that Link FIFO overrun will occur only if the setup procedures are not followed properly by PM. This bit is not used to report overruns on Physical Links which are allocated to IMA Groups. This bit will clear when this register is read. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 321 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x312: Receive ATM Congestion Interrupt Enable LSB Bit Type Function Default 15:0 R/W CONG_INTR_EN(15:0 0x0000 ) CONG_INTR_EN(15:0): The CONG_INTR_EN vector enables the ATM FIFO congestion status for RDAT_INTR interrupt generation. When a bit is a one, the associated status will generate an interrupt. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 322 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x314: Receive ATM Congestion Interrupt Enable MSB Bit Type Function Default 15:0 R/W CONG_INTR_EN(31:1 0x0000 6) CONG_INTR_EN(31:16): The CONG_INTR_EN vector enables the ATM FIFO congestion status for RDAT_INTR interrupt generation. When a bit is a one, the associated status will generate an interrupt. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 323 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x316: RDAT Master Interrupt Enable Bit Type 15 R/W 14:3 Function Default 0 Unused 0 2 R/W OVERRUN_INTR_EN 0 1 R/W CONG_MSB_INTR_E N 0 0 R/W CONG_LSB_INTR_E N 0 CONG_LSB_INTR_EN: When set to a one, the CONG_LSB_INTR_EN allows the presence of an enabled interrupt in the ATM Congestion Status LSB register to cause an RDAT interrupt. CONG_MSB_INTR_EN: When set to a one, the CONG_MSB_INTR_EN allows the presence of an enabled interrupt in the ATM Congestion Status MSB register to cause an RDAT interrupt. OVERRUN_INTR_EN: The OVERRUN_INTR_EN bit enables the TC overrun status for RDAT_INTR interrupt generation. When the enable bit is a one, a TC overrun will generate an interrupt. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 324 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.10 TIMA registers Register 0x320: TIMA Indirect Memory Command Bit Type Function Default 15 R MEM_BUSY 0 14 R/W MEM_RWB 0 Unused 0 MEM_SELECT 0 13:3 2:0 R/W Writing to this register triggers an indirect memory access to the TIMA Context tables. The indirect memory address (and data register for write operations) must be configured prior to writing this register. MEM_SELECT: The indirect memory select indicates the memory table (or register bank) within the TIMA which will be accessed. MEM_SELECT TIMA Memory Address Range 0 Transmit IMA Group Context Table 0-671 (29Fhex) 0 Transmit IMA Group Configuration Table 672 – 713 1 Transmit LID to Physical Link Mapping Table 0-1343 (53F hex) 2 Transmit Physical Link Context 0- 167(A7 hex) Table 3-7 Reserved (2A0 – 2C9 hex) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 325 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM MEM_RWB: The memory indirect access control bit (MEM_RWB) selects between a configure (write) or interrogate (read) access to the TIMA internal. Writing a logic 0 to MEM_RWB triggers an indirect write operation. Data to be written is taken from the Indirect Memory Data registers. Writing a logic 1 to MEM_RWB triggers an indirect read operation. The read data can be found in the Indirect Memory Data registers. The address within a memory table can be found in the Indirect Memory Address register. MEM_BUSY: The indirect memory access status bit (MEM_BUSY) reports the progress of an indirect access. A write to the Indirect Memory Command register triggers an indirect access and sets MEM_BUSY to a logic 1; MEM_BUSY will remain logic 1 until the access is complete. This register should be polled to determine when data from an indirect read operation is available in the TIMA Indirect Memory Data registers or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 326 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x322: TIMA Indirect Memory Address Bit Type 15:11 10:0 R/W Function Default Unused 0 MEM_ADDR 0 This register provides the address for indirect memory access to the TIMA Context tables.. MEM_ADDR: The indirect memory address indicates the word address within the memory table selected with the MEM_SELECT in the TIMA Indirect Memory Command register. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 327 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x324: TIMA Indirect Memory Data LSB Bit Type Function Default 15:0 R/W MEM_DATA_LSB 0 This register should not be written while the MEM_BUSY bit is set. MEM_DATA_LSB: The MEM_DATA_LSB represents either: (1) the least significant 16 bits of the data to be written to internal memory or (2) the least significant 16 bits of the read data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the TIMA. The actual definition of each memory table is described under TIMA Indirect Memory Data MSB. If a memory location is read which does not support any bits of 15:0, then the corresponding register bit is loaded with 0. If a memory location is written which does not support bits 15:0, then the data in the corresponding register bit is ignored. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 328 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x326: TIMA Indirect Memory Data MSB Bit Type Function Default 15:0 R/W MEM_DATA_MSB 0 This register should not be written while the MEM_BUSY bit is set. MEM_DATA_MSB: The MEM_DATA_MSB represents either: (1) the most significant 16 bits (31:16) of the data to be written to internal memory or (2) the most significant bits of the data resulting from the previous read operation. The read data is not valid until after the MEM_BUSY bit has been cleared by the TIMA. If a memory location is read which does not support bits 31:16, then corresponding register bits are loaded with 0. If a memory location is written which does not support bits 31:16, then data in the corresponding register bits is ignored. Note that a write operation will corrupt the read data. The actual definition of each memory table is described below: PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 329 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Transmit IMA Group Context Table (MEM_SELECT=0) Purpose: Contains state information, statistics, and ICP cell information (delivered by the RIPP) for each IMA Group. Usage: IMA Groups only. Maintained by: TIMA. Record Size: 16 32-bit words. MEM_ADDR = (Group Tag X 16) + Word Offset Table 31 Transmit IMA Group Context Record Word Bits 0 31:0 1 31:16 Parameter Reserved. Discarded Cells 15:0 2 31:0 Description Number of cells discarded from ATM layer when the IMA group was in an nonoperational state. Reserved Number of Cell Per Group Continuously running cell count of all ATM cells read from the associated group FIFO and sent to link FIFOs.. Maintained by TIMA state machine. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 330 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Word Bits Parameter Description 3 31:0 Number of ATM Filler Cells Continuously running cell count of ATM filler cells (generated when there is no ATM cell to send) delivered on all links in the group. Maintained by TIMA state machine. 4 31:0 5 31:24 Reserved Reserved 23:16 ICP octet 11 15:8 ICP octet 12 7:0 ICP octet 13 6 31:0 ICP octet 14 ICP octet 15 ICP octet 16 ICP octet 17 7 31:0 ICP octet 18 ICP octet 19 ICP octet 20 ICP octet 21 8 31:0 ICP octet 22 ICP octet 23 ICP octet 24 ICP octet 25 9 31:0 ICP octet 26 ICP octet 27 ICP octet 28 ICP octet 29 ICP cell octets that are maintained by RIPP and placed into the outgoing ICP cells for all links in the group. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 331 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits Parameter 10 31:0 ICP octet 30 ICP octet 31 ICP octet 32 ICP octet 33 11 31:0 ICP octet 34 ICP octet 35 ICP octet 36 ICP octet 37 12 31:0 ICP octet 38 ICP octet 39 ICP octet 40 ICP octet 41 13 31:0 ICP octet 42 ICP octet 43 ICP octet 44 ICP octet 45 14 31:0 ICP octet 46 ICP octet 47 ICP octet 48 ICP octet 49 15 31:24 ICP octet 50 23:16 ICP octet 51 15:0 INVERSE MULTIPLEXING OVER ATM Description Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 332 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Transmit IMA Group Configuration Table (MEM_SELECT=0) Purpose: Contains IMA configuration data programmed by PM. Usage: IMA Groups only. Maintained by: Microprocessor. Record Size: One 32-bit word. MEM_ADDR = 0x2A0 + Group Tag Table 32 Transmit IMA Group Configuration Table Record Bits Parameter 31:23 22:16 Description Unused VPHY Address 15:9 VPHY address (group FIFO number) which is assigned to this group. This field should be modified by PM only during group configuration. Valid values are 0 to 83. Unused 10 Disable Cell Discard Configuration bit which determines if the ATM cell discarding feature is enabled for this IMA Group. When set to 0, ATM cells will be read and discarded from the group FIFO (one for each request) if there are no active links in the group. When set to 1, cell discarding will not occur for the group. 9 Stuff Advertise Mode Configuration bit which determines whether stuff cell advertising is done either four ICP cells ahead or one ICP cell ahead of the stuff event. This bit should be changed only on Group startup, otherwise the number of cells between TRL stuff events will not be correct. 0 = one ICP cell ahead; 1 = four ICP cells ahead 8 Stuff Mode Configuration bit which determines whether ITC or CTC stuff mode is actually used for this group. Note it is possible to advertise ITC Transmit Clock Mode in an PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 333 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM ICP cell but still use a common clock and CTC stuff mode. 0 = ITC stuff mode, 1 = CTC stuff mode 7:0 OAM Label Static field to be inserted into octet 6 of ICP cells and OAM cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 334 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Transmit-LID-to-Physical-Link Mapping Table (MEM_SELECT=1) Purpose: Maps physical links to IMA Groups. Usage: IMA Groups only. Maintained by: Microprocessor. Organization: A single linear table containing 1344(42 x32) 7-bit entries. Each entry is addressed by using the Group Tag concatenated with the link ID (LID). Each Physical Link ID is stored as a 7-bit value. In general, this table is sparsely populated since each of the 84 physical link tags can exist in only one table entry. MEM_ADDR = (Group Tag X 32) + LID value Table 33 Transmit LID to Physical Link Mapping Table Bits Description 6:0 Physical Link for corresponding Group Tag and Link ID. Only values 0 to 83 are valid for this field. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 335 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Transmit Physical Link Context Table (MEM_SELECT=2) Purpose: Contains state information and statistics for each TC Link or IMA Link. Each record is addressed by either the TC tag from the IDCC or the physical link tag from the Transmit-LID-to-Physical-Link mapping Table. Usage: IMA Groups and TC Links. Maintained by: TIMA and microprocessor. Record Size: Two 32-bit words. MEM_ADDR = (Physical Link Tag or TC Tag X 2) + Word Offset Table 34 TIMA Physical Link Context Record Word Bits Parameter 0 Description 31:24 unused unused 23:16 ICP offset or TC mode VPHY address IMA mode: this field is indexed by the Physical Link tag and is used to determine the cell count within a frame at which an ICP is to be inserted for the link. The width of the field used by the TIMA is dependent on the value of M used for the particular group and is shown in the following: M=256 ICP offset determined by bits [23:16] M=128 ICP offset determined by bits [23:17] M=64 ICP offset determined by bits [23:18] M=32 ICP offset determined by bits [23:19] The mapping of the ICP offset is set such that the offset should not have to be changed if M is changed. Values 0 to 255 are valid. TC mode: this field is indexed by the TC tag delivered by the IDCC and is used to determine the VPHY ATM source FIFO associated with the TC connection. Only values 0 to 83 are valid. 15:9 Reserved PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 336 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 8:6 Parameter Description Startup Cell Count Cell count used to track the first four cells sent into each Link FIFO after startup. Used to inhibit cell reads from the Link FIFO until four cells have been written into the Link FIFO so that the nominal 4 to 5 cell depth can be achieved. This field must be initialized to four by PM before the link is enabled to ensure proper startup. However, if the link is to be used for either a low speed or high speed TC mode connection, this field must be initialized to a value of 0 to prevent any read inhibit. 5:0 1 INVERSE MULTIPLEXING OVER ATM Reserved . 31:16 IMA Mode Stuff Event Count IMA mode: this field is indexed by the Physical Link tag and is used to store a continuously or TC Mode User running count of the number of Stuff Events Cell Count (upper inserted on the link. It is maintained by the transmit engine and is read by the PM. This field word)) should only be reset when the link is not enabled. TC mode: this field is indexed by the TC tag delivered by the IDCC and is used to store the upper 16-bit word of a continuously running 32bit count of the total number of ATM user cells sent on the link. It is maintained by the transmit engine and is read by the PM. This field should only be reset when the link is not enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 337 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Word Bits 15:0 Parameter INVERSE MULTIPLEXING OVER ATM Description IMA mode Total User Cell Count IMA mode: this field is indexed by the Physical Link tag and is used to store a continuously or TC Mode User running count of the number ATM user cells Cell Count (lower transferred on the link. It is maintained by the transmit engine and is read by the PM. This field word)) should only be reset when the link is not enabled. TC mode: this field is indexed by the TC tag delivered by the IDCC and is used to store the lower 16-bit word of a continuously running 32-bit count of the total number of ATM user cells sent on the link. It is maintained by the transmit engine and is read by the PM. This field should only be reset when the link is not enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 338 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x328-0x332 Transmit Link FIFO Overrun Interrupt Register Address Bit Type Function Default 0x328 15:0 R2C Link_FIFO_OVERFLOW_ST AT [15:0] 0 0x32A 15:0 R2C Link_FIFO_OVERFLOW_ST AT [31:16] 0 0x32C 15:0 R2C Link_FIFO_OVERFLOW_ST AT [47:32] 0 0x32E 15:0 R2C Link_FIFO_OVERFLOW_ST AT [63:48] 0 0x330 15:0 R2C Link_FIFO_OVERFLOW_ST AT [79:64] 0 0x332 15:4 3:0 Unused R2C Link_FIFO_OVERFLOW_ST AT [83:80] 0 The Transmit Link FIFO Overrun Interrupt register reports an overrun on the TTC Link FIFOs, which occurs when a write is attempted to a full FIFO. These interrupts should not occur during normal operation, and indicate either a configuration error or a loss of clock on a non-TRL link of an IMA group.. If an overrun occurs during the same cycle as a read, the set of an interrupt bit overrides the clear operation. Link FIFO Overflow Status[83:0] On read, each bit reports the status of the corresponding link FIFO (1= overflow, 0 = no overflow). Each set overflow status bit is cleared after a read. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 339 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x336 Interrupt Enable Bit Type 15:1 R 0 R/W Function reserved Link FIFO Overflow Interrupt Enable Default 0 0 The interrupt enable bits control whether the corresponding interrupt source will cause an interrupt on the INTB output or will be masked. Link FIFO Overflow Interrupt Enable 1) link FIFO overflow interrupts will be enabled. 0) link FIFO overflow interrupts are not enabled. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 340 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.11 TX IDCC registers Register 0x340: TXIDCC Indirect Link Control Register Bit Type Function Default 15 R CBUSY 0 14 R/W LRWB 0 13:9 N/A Unused N/A 8:7 R/W LSEL[1:0] 0 6:0 R/W LADDR[6:0] 0 Writing to this register triggers an indirect channel register access. LADDR [6:0]: The indirect link address number (LADDR [6:0]) indicates the link to be configured or interrogated in the indirect link access. LSEL: LSEL selects the RAM to interrogate or configure. 00 – Unused 01 – Link Table 10 – Reserved 11 – Reserved LRWB: The link indirect access control bit (LRWB) selects between a configure (write) or interrogate (read) access to the RAM. Writing logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing logic 1 to LRWB triggers an indirect read operation. CBUSY: The indirect access command bit (CBUSY) reports the progress of an indirect access. CBUSY is set high to trigger an indirect access; it will stay high until the access is complete. Once the access is complete, the CBUSY signal is PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 341 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM reset by the device. This register should be polled to determine either: (1) when data from an indirect read operation is available in the Indirect Data register or (2) when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 342 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x342: TXIDCC Indirect Link Data Register Bit Type Function Default 15:8 N/A Unused N/A 7 R/W TC Mode 0 6:0 R/W Reserved 0 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 343 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM TC Mode: PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 344 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM If this bit is set, the associated link is in pass-through mode. Here, the TRL PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 345 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 346 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11.12 RX IDCC Registers Register 0x350: RXIDCC Indirect Link Control Register Bit Type Function Default 15 R CBUSY 0 14 R/W LRWB 0 13:9 N/A Unused N/A 8:7 R/W LSEL[1:0] 0 6:0 R/W LADDR[6:0] 0 Writing to this register triggers an indirect channel register access. LADDR [6:0]: The indirect link address number (LADDR [6:0]) indicates the link to be configured or interrogated in the indirect link access. LSEL: LSEL selects the RAM to interrogate or configure. 00 – Unused 01 – Link Table 10 – Reserved 11 – Reserved LRWB: The link indirect access control bit (LRWB) selects between a configure (write) or interrogate (read) access to the RAM. Writing logic 0 to LRWB triggers an indirect write operation. Data to be written is taken from the Indirect Link Data registers. Writing logic 1 to LRWB triggers an indirect read operation. CBUSY: The indirect access command bit (CBUSY) reports the progress of an indirect access. CBUSY is set high to trigger an indirect access, and will stay high until the access is complete. Once the access is complete, the CBUSY signal PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 347 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM is reset by the device. This register should be polled to determine when data from an indirect read operation is available in the Indirect Data register or to determine when a new indirect write operation may commence. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 348 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x352: RXIDCC Indirect Link Data Register Bit Type Function Default 15:8 N/A Unused N/A 7 R/W TC Mode 0 6:0 R/W Reserved 0 TC Mode: If this bit is set, the associated link is in pass through mode. Here, the TRL and the Group Tag are don’t care values. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 349 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Register 0x366: DLL Status Register Bit Type Function Default 15:1 R Reserved X 0 R RUN 0 The DLL Control Status Register provides information of the DLL operation. RUN: The DLL lock status register bit (RUN) indicates the DLL has locked. After system reset, RUN is logic zero until the DLL has locked. For proper operation the DLL must be indicate RUN. The RUN register bit is cleared only by a system reset . PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 350 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 12 ISSUE 4 INVERSE MULTIPLEXING OVER ATM OPERATION 12.1 Hardware Configuration The S/UNI-IMA-84 can be configured in two different modes: Clk/Data interface or SBI Interface. The S/UNI-IMA-84 is powered up with both modes disabled. The Any-PHY/UTOPIA interface can also be set up in different modes.. The AnyPHY/UTOPIA interface will remain tri-state until configured and the respective RA_ENABLE/TA_ENABLE bits are set. 12.2 Start-Up The S/UNI-IMA-84 uses an internal DLL on SYSCLK to maintain low skew on the external SDRAM interface. When the chip is taken out of hardware reset, the DLL will go into hunt mode and will adjust the internal SYSCLK until it aligns with the external SYSCLK. The microprocessor should poll the RUN bit in DLL CONTROL STATUS register until this bit is set. At this point the entire chip with the exception of the microprocessor interface and the DLL are in reset. Before any configuration can be done, including accessing the ram, the chip must be taken out of software reset by clearing the RESET bit in the Global Reset Register. Once taken out of reset, the internal ram reset procedure is automatically initiated. The microprocessor should poll the BIST_DONE bit in the Global Reset register to determine when the internal RAM reset is complete. While the internal ram is initializing, access to all internal rams is prohibited, and accesses attempted during this period of time are ignored. Once the chip is taken out of reset, the external SDRAM should be cleared to all zeros to ensure no false CRC errors are reported. Access to the SDRAM is through the SDRAM Diagnostic access port as discribed in 12.6.1. At this point, the Any-PHY/UTOPIA interface is disabled and all Any-PHY/UTOPIA outputs are tri-stated. Also, the line side interfaces are disabled and all internal registers are in their reset state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 351 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 12.3 Configuring the S/UNI-IMA-84 12.3.1 Configuring SBI Interface In SBI mode the following items need to be properly configured: • The SPE type for each of the 3 SBI SPEs • SPE type can be E1, T1, or DS3 and is configured by setting SPEn_TYP bits in the SBI Bus Configuration Register (SBI_BUS_CFG_REG) to the appropriate value. All SPEs_TYP are default to T1 type. • Each SPE must be enabled or disabled by writing appropriate value into SPEn_ENBL bit in the SBI Bus Configuration Register. All SPEs default to being disabled. • Set the proper operation mode by writing 0x0080 to the SBI Extract Master Interrupt Status Register • Tributary type for each tributary. • • The tributary type must be configured to be Framed without CAS. This is configured by setting TRIB_TYP to “01b” in the Extract/Insert. Tributary Control Register inside the INSBI/EXSBI for that tributary. The TRIB_TYP default value of “00b” is not supported • A tributary can float or be locked to the SBI frame structure. Only floating tributaries are supported SBI Error Checking and Reporting • The following errors can be detected on a per link basis: FIFO overrun, FIFO underrun, and SBI parity error. These all can be enabled/disabled in the Insert/Extract Control Register. These errors result in either the SBI_DROP_INTR or SBI_ADD_INTR output being set. • Parity detection is done only on the drop bus, which is done by the EXSBI block. Parity can be configured to be odd or even, and it is default to be odd parity. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 352 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM • FIFO overrun/underrun errors are reported by indicating error status in the Extract/Insert FIFO Underrun/Overrun Interrupt Status Register with the failing link identified. • These interrupts can only be cleared by reading the FIFO overrun/underrun register with the failing link. Only one error can be reported at a time. However errors are latched internally so that if multiple errors occur, any pending errors will be reported when the first one is cleared. • If the ALM bit in the SBI V4 byte is detected to be changed on a particular tributary, then the corresponding SPEx_ALRM_INT bit is set in the SBI Extract Alarm Interrupt Register. The SPEx_ALRM_STAT bit associated with that tributary indicates the current state of the Extract SBI ALARM on the SBI tributary. This SBI_ALRM_INTn interrupt can be cleared only by reading the SBI Extract Alarm Interrupt register. 12.3.1.1 Programming Sequence for SBI • To have a clean start up, the following programming sequences are recommended when setting up the SBI interface: • General rules: • All INSBI/EXSBI read and write accesses must wait until the bistinit_done bit is set after chip SW_RESET is cleared, to allow time for the INSBI/EXSBI to complete self-initialization. Other general control register outside of INSBI/EXSBI can be configured at any time. • At initialization, on the SBI Drop bus, the SBI tributary receiver should be enabled before the corresponding SBI tributary transmitter (i.e., configuring EXSBI before INSBI). The same applies for the SBI Add bus. • Following a configuration change, which generates a Configuration Reset, a tributary may not become active for up to 1 ms following the change. • Any write to a Tributary Control register for a tributary will generate a configuration reset on that tributary, irrespective of whether the data written to the tributary control register is unchanged from the previous value. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 353 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 • • INVERSE MULTIPLEXING OVER ATM If DC_EN is disabled and an overrun/underrun condition is reported for a link, the link should be reset by writing to the tributary control register for the tributary corresponding to that link. If DC_EN is set, then the tributary will automatically be reset. INSBI/EXSBI Programming Steps: 1. For each write access, wait until the BUSY bit in the Insert/Extract Tributary RAM Indirect Access Control Register is clear. Note that the BUSY bit might not be ready for up to 4.32 us after a Control RAM access. 2. Once the BUSY bit is clear, write to the Insert/Extract Tributary RAM Indirect Access Address Register specifying the SPE and tributary that is about to be configured. 3. Then write into the Extract Tributary Control RAM Indirect Access Data register to specify the desired control values for that tributary. 4. Next, write into the Extract Tributary RAM Indirect Access Control register to specify whether this is to be a write or a read access, by clearing or setting the WRB bit in this register. The above 4 steps must be done and must be repeated for every tributary access. • Tributary Configuration Sequences: • Configure all the Control RAM in both EXSBI and INSBI, following the above four steps. • Enable the SPEs last by setting the SPEn_ENBL bits in the SBI_BUS_CFG_REG. 12.3.2 Configuring Clock/Data Interface The Clock/Data interface has 2 major modes, Channelized for E1/T1 traffic and unchannelized for other traffic types. Each link should be configured for channelized/unchannelized mode using the RCAS/TCAS link configuration registers. If configuring channelized links, the T1/E1 mode should be configured at the same time. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 354 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM One configured, the links are still disabled. The links must be mapped and provisioned (enabled) 12.3.2.1 Channelized When channelized links are chosen, the RCAS/TCAS Framing Bit threshold must be configured to detect the gap in the clock for the framing bit/byte. This value is dependent upon frame type T1/E1, serial clock speed and REFCLK frequency. The Link Disable feature may be used when configuring a link to squelch all data from a link while it is being provisioned. For the Tx direction, the data sent in idle timeslots may be selected with the TCAS Idle Time-slot Fill data. For T1, all timeslots are used to carry the ATM cell data so all timeslots should be mapped to the same virtual link. A one-to-one mapping between physical links and virtual links is recommended. For E1, timeslots 0 and 16 are used for signaling data and do not contain ATM cell data. Therefore, timeslots 1-15 and 17-31 must be mapped and provisioned (enabled) to carry ATM cell data. All of the timeslots in a link should be mapped to the same virtual link. A one-to-one mapping between physical links and virtual links is recommended. For Fractional links, multiple fractional ATM flows may exist on the same physical link. Each flow should be mapped to a unique virtual link. There is a limit of 84 virtual links for the S/UNI-IMA-84. 12.3.2.2 Unchannelized Unchannelized is usually used for data streams that are not either T1 or E1 framed. When using the unchannelized interface, the user is responsible for providing a clock which has all framing or overhead bits gapped out. The S/UNIIMA-84 receives/sources one bit of data for each clock pulse. The unchannelized mode allows a wider range of clock frequencies. As the serial line frequency increases, the number of links supported decreases. 12.3.2.3 Rules for Chosing Clock frequencies SYSCLK(min) = Max((50MHz * Line Throughput(Mbps)/130 Mbps), REFCLK) PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 355 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM æ 4ö ö æ ç ç14 + NumLines * ÷ Num.Lines * Line.Clock .Freq è 3 REFCLK(min)= maxç , ç 4 * Line.Clock .Period 6 ç è æ æ 4 * Line.Clock .Period ö ö 3 Num.Lines max ≤ çç ç ÷ − 14 ÷÷ * 4 è è REFCLK .Period Table 35 REFCLK/SYSCLK frequency requirement Serial Frequency # Links REFCLK SYSCLK Frequency Frequency 1.544 Mhz 32 ≥33 Mhz ≥ 33 Mhz 2.048 Mhz 32 ≥33 Mhz ≥33Mhz 2.304 Mhz 32 ≥33 Mhz ≥33 Mhz 8 Mhz 8 52 Mhz ≥52Mhz 12.3.3 Configuring TC layer Options TC layer options in the transmit direction include scrambling and HEC generations. Scrambling should be set as required by the physical layer. TC layer options in the receive direction include descrambling, and interrupt reporting and error handling options. To properly support IMA applications, the TC layer functions should not filter out errored cells but pass them to the IMALAYER and let the IMA-LAYER filter them out. The options LCDOCDPASS, HCSPASS and UNASSPASS should be set for IMA applications. If these options are set for TC links, only the unassigned cells will not be filtered by the IMALAYER. When running IMA, there should never be any idle cells. If idle cells exist on an IMA link, it depends upon where the idle cells were inserted whether IDLEPASS is desired to be set. If the idle cells were incorrectly inserted by the TC layer, correct operation could be preserved in the face of errors if IDLEPASS is not set. If the idle cells are inserted by the link layer, correct operation may be preserved by setting IDLEPASS. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 356 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM The configuration options are programmed one link at a time by following the steps below: • RTTC/TTTC Programming Steps: 1. For each write access, wait until the LBUSY bit in the RTTC/TTTC Indirect Status Register is clear. Note that the LBUSY bit might not be ready for up to 86 REFCLK cycle after an access. 2. Once the BUSY bit is clear, write to the RTTC/TTTC Link Data Register to specify the desired configuration options for that link. 3. Next, write into the RTTC/TTTC Indirect Status register specifying the SPE and LINK that is about to be configured and whether this is to be a write or a read access, by clearing or setting the LWRB bit in this register. 12.3.4 UTOPIA Interface Configuration There is very little setup required to configure the Any-PHY/UTOPIA Interface. For typical operation, the following registers need to be written to select the mode of operation and the predefined address or address range of the S/UN-IMA-84 and the number of active ports of the S/UNI-IMA-84. • Transmit Any-PHY/UTOPIA Cell available Enable • Receive UTOPIA Cell Available Enable • Transmit Any-PHY Address Config Register • Receive Any-PHY/UTOPIA Config register • Transmit Any-PHY/UTOPIA Config Register Once the registers are written with the proper configuration information, the enable bit should be set to enable normal operation. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 357 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 12.4 IMA_LAYER Configuration 12.4.1 Indirect access to internal memory tables The IMA-Layer operations are configured by internal memory tables. The access to these tables is by indirect access. The following procedure applies for the indirect accesses in the RIPP, RDAT, TIMA, TXIDCC, and RXIDCC blocks. 12.4.1.1 Write accesses The indirect write access procedure is as follows: 1) Wait until the “BUSY” bit in the Block Indirect Memory Access Control Register is clear. 2) Once the BUSY bit is clear, write to the Block Data Indirect Data Register(s) to specify the data to be written for that link. 3) Next, write into the Block Indirect Memory Address register specifying the address that is about to be configured and then write Block Indirect Memory Command register to specify the table to be accessed and whether the access is to be a write or a read access, by clearing or setting the RWB bit in this register. Note that is some instances, the Block Indirect Memory Address register is combined with the Block Indirect Memory Access Control Register 12.4.1.2 Read Accesses The indirect read access procedure is as follows: 1) Wait until the “BUSY” bit in the Block Indirect Memory Access Control Register is clear. 2) Once the BUSY bit is clear, write into the Block Indirect Memory Address register specifying the address that is about to be configured and then write Block Indirect Memory Command register to specify the table to be accessed and whether the access is to be a write or a read access, by clearing or setting the RWB bit in this register. Note that is some instances, the Block Indirect Memory Address register is combined with the Block Indirect Memory Access Control Register PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 358 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 3) Poll the “Busy” bit in the Block Indirect Memory Access Control until it is cleared. 4)Read returned data from the Block Data Indirect Data Register(s). 12.4.2 Configuring Links for Transmission Convergence Operations After all of the interfaces have been configured, in order to configure a link for ATM over T1/E1, the mapping from physical link to Any-PHY/UTOPIA address must be set and the link must be set to TC mode within the IMA sublayer. Also, all link based statistics should be cleared. For TC only links, all RIPP tables are not used and should not be programmed. 12.4.2.1 Transmitter To map the physical link to a ANY-PHY/UTOPIA address, the VPHY address field must be programmed in the TIMA Physical Link Context Record for the physical link. All other fields in this table should be cleared to zero. This table may be accessed by the TIMA Indirect Memory access registers. To put the physical link into TC mode set the TC_MODE bit in the TXIDCC. This bit may be accessed by the TXIDCC Indirect Memory Access registers. 12.4.2.2 Receiver To map the physical link to an Any-PHY/UTOPIA address, the VPHY address field must be programmed in the RDAT TC Context Record for the physical link. All other fields in this table should be cleared to zero. This table may be accessed by the RDAT Indirect Memory access registers. The RDAT Link Statistics Record, the RDAT TC Group Statistics Record, the RDAT Link Context Record should also be cleared to zero to reset the statistic counts. The RDAT Validation Record should be set to TC_MODE. To put the physical link into TC mode, set the TC_MODE bit in the RXIDCC. This bit may be accessed by the RXIDCC Indirect Memory Access registers. Note: To successfully configure a DS3 connection, the configuration must be done prior to enabling the data flow. This can be done by configuring the RDAT prior to setting the EXSBI TRIB_ENBL bit and setting the SPEn_ENBL bit. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 359 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Set the RDAT_EN bit in the RDAT CONFIGURATION register. 12.4.2.3 Removing Links from Transmission Convergence Operations To disable a link in TC mode in the transmitter, the TC_MODE bit in the TXIDCC must be cleared. To disable a link in TC mode in the receiver, first the RDAT Validation Record should be cleared, then the TC_MODE bit in the RXIDCC must be cleared. This sequence will ensure that transient interrupts are not generated. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 360 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 12.4.3 Configuring For IMA Operations All IMA timeouts are programmable. In general, the default values result in ~1 sec timeouts with a 55 MHz SYSCLK. The global IMA interrupt enables default to disabled. In an interrupt driven system, these interrupt should be selectively enabled in registers 0x218, 0x21A, and 0x21C. RIPP_EN in Register –x200 controls whether internal IMA state machines engine is enabled. This must be set for proper operation. IMA groups are configured using the following per group tables: • RIPP Group Configuration Record: Group options and configuration, • TIMA TX-LID-to-Physcial-Link Mapping Table: maps Group Tag/LID to physical Link. • TIMA TX Group Configuration Record: maps group to Any-PHY/UTOPIA port ID, sets stuffing mode and OAM label. • RDAT IMA Group Context Record: maps group to Any-PHY/UTOPIA port ID and also the following per link tables: • RIPP TX Link Configuration Record: maps physical Link to Group Tag/LID, enables TX Link Interrupts. • RIPP RX Link Configuration Record: maps physical Link to Group Tag, enables RX link interrupts • TIMA TX Physical Link Context Record: sets ICP offset. • RDAT Link Context Record: maps physical link to group. 12.4.3.1 Configuring a Group for IMA IMA groups within the S/UNI-IMA-84 are identified by a “group tag”. The group tag is an identifier with values from 0 to 41 that uniquely identifies the group for PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 361 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM programming and reporting purposes within the S/UNI-IMA-84. The group tag is completely independent of the Group ID located within the ICP cells. Once a group tag is chosen for a group, the following records need to be programmed for the group: RIPP Group Configuration Record: Initial group options and configuration, After the group is started, the following configuration options may be changed only with a RIPP command or in conjunction with a group restart. Expected OAM Label Group Symmetry IMA 1.1 versus IMA 1.0 IMA ID M Expected Clk Mode (ITC/CTC) The following entries within the RIPP Group Configuration Record may be changed without a group restart of RIPP command. When changing these fields, care must be taken not to change other fields. Minimum # of Links Differential delay tolerance and options per group Interrupt enables Rx Physical links that are in the group TX LID to Link Mapping Table: Select the LIDs to be used by the TX Links and program the physical links into the appropriate Group Tag/LID locations. TIMA Group Configuration Record: TX VPHY ID Stuff Advertise Mode PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 362 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Actual stuffing mode(ITC/CTC) used Transmitted OAM label. RDAT IMA Group Context Record RX VPHY ID Also, while configuring a group, the context records that contain statistics should be initialized. The following records should be initialized to zero: RIPP group Context Record, RDAT IMA Group Statistics Record, TIMA Group Context Record. 12.4.3.2 Configuring a Link for IMA All link-based records are indexed by the physical link ID. Prior to configuring a link, the user should check to ensure that it is not in use already. This is necessary since link deletion from a group may take some time due to the necessity of allowing the DCB buffer for the link to drain. Reading the RX_ENABLE bit in the RIPP RX Link context record and the TX_ENABLE bit in the RIPP TX Link Context record can check this. The following fields in the following records need to be programmed; other fields in the records should be cleared to zero. RIPP TX Link Configuration Record TX_LID Group Tag per link Interrupt enables RIPP RX Link Configuration Record Group Tag per link Interrupt Enables PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 363 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM TIMA Physical Link Context Record ICP Offset Startup Cell Count = b’100 RDAT Link Context Record Group Tag Also, while configuring a link, the context records that contain statistics and assorted context should be initialized to zero. The following records should be initialized to zero: RIPP TX Link Context Record, RIPP RX Link Context Record, RDAT Link Statistics Record, RDAT Link Validation Record RXIDCC Link Data TXIDCC Link Data In addition, the msg_status bit in the RDAT Link Message Status Record must be cleared using a read-modify-write operation. The other bits in the record contain link specific internal context which must be maintained. There will be no contention for this memory between PM and the RDAT if the operation is performed while the link is not enabled for TC or IMA operation. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 364 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 12.5 IMA Operations IMA operations are controlled via commands issued to the RIPP (Receive IMA protocol processor). In general, once started, the RIPP performs the hand shaking of state transitions between the near-end and far-end of an IMA connection. 12.5.1 Issuing a RIPP Command The RIPP commands control the LSM and GSM state machines. The group is identified by the group tag and the links involved are identified with a 32-bit vector. The TX_LINK_VEC has one bit for each TX LID and bit 0 indicates TX LID 0 and bit 31 indicates TX LID31. For symmetrical operations, the RX LIDs are not known until the ICP cells from a link are validated. The user controls the relationship between physical links and the RX Link vector through the RX Physical Link Table in the RIPP Group Configuration record. The RX physical Link Table should be configured according to the TX LID values. For example, the physical link ID for the Link with TX LID = 0 should be programmed as the RX physical link 0. When using the RIPP commands, the physical link entered for RX physical link 0 will be controlled by bit 0 of the RX_LINK_VEC and the physical link entered for RX Physical link 31 in the table will be controlled by bit 31 of the RX_LINK_VEC. For asymmetric operations, since there is not a TX link for each possible RX link and the RX LIDs are not known until the ICP cells from a link are validated, the user controls the relationship between physical links and the RX Link vector through the RX Physical Link Table in the RIPP Group Configuration record. There are no restrictions on how this table should be configured in asymmetrical mode. The contents of the RX_PHY_TABLE do not depend on LID values. When using the RIPP commands, the physical link entered for RX physical link 0 will be controlled by bit 0 of the RX_LINK_VEC and the physical link entered for RX Physical link 31 in the table will be controlled by bit 31 of the RX_LINK_VEC. The RIPP command procedure is as follows: 1) Wait until the “CMD_BUSY” bit in the RIPP Command Register is clear. 2) Once the CMD_BUSY bit is clear, write the necessary data for the command registers 0x222 - -x22C (RIPP CMD_WR_DATA1 through RIPP CMD WR_DATA3). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 365 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 3) Write the RIPP CMD Register with the command code and group tag for the command. 4) Poll the “CMD_BUSY” bit in the RIPP Command Register and when cleared, check the status of the command. Commands may be rejected when illegal actions are requested. An example of an illegal action is to start a LASR when one is already in progress. 4) If the command was a “Read_event” or “Read Delay”, the returned data can now be read from the RIPP Command Data Register Array located at addresses 0x240 – 0x2BE. 12.5.2 Summary of RIPP commands The following is a summary of all RIPP commands that are currently supported. For the detailed command bit encoding info, refer to the “registers” section. 1. Add_group Function Add one new group to the device. Note that this must be the first command to be issued to the group, if any other command is issued prior to this, it will be considered invalid and rejected. Parameters Group tag and vector of LIDS to be included in group Pre-requisite Require configuration of all link and group records as detailed in 12.4.3.1 and 12.4.3.2. Restriction None. 2. Delete_group Function Remove an existing group and all its links immediately. Parameters Group Tag Pre-requisite None. Restriction None. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 366 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 3. Restart_group Function Restart the specified group (GSM goes back to start-up state). Parameters Group Tag Pre-requisite If any group configuration info needs to be changed, PM must do so prior to issuing this command by writing to the RIPP Group Configuration memory. Restriction None 4. Inhibit_group Function Set the internal group inhibiting status flag. Once a group is considered inhibited, it will not go to OPERATIONAL state even if sufficient links exist in the group. If the group is already in OPERATIONAL state when the command is issued, the GSM will go to BLOCKED state and thus block the TX data path. However the RX data path remains on. Parameters Group Tag Pre-requisite None. Restriction None. 5. Not_inhibit_group Function Clear the internal group inhibiting status. If the group is currently in BLOCKED state and there are sufficient links in the group, the GSM will go to OPERATIONAL state. Parameters Group Tag Pre-requisite None. Restriction None. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 367 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 6. Start_LASR Function Start LASR procedure on one or more links. The links involved may either be new links or existing links with a failure/fault/inhibiting condition. TX_LINK_VEC and RX_LINK_VEC are 32-bit vectors with the same bit mapping as TX_PHY_VALID or RX_PHY_VALID respectively, the bits corresponding to the new links are set to ‘1’. If the group configuration is symmetric, the TX_LINK_VEC and RX_LINK_VEC should be identical. Parameters Group Tag and vector of LIDS to be included in LASR Pre-requisite Link records need to be properly initialized by PM prior to issue this command. Also RDAT/TIMA needs to be initialized properly to reflect the new links, if any. Restriction This command will be rejected if there is currently an active LASR procedure. 7. Delete_link Function Remove links from the group. The TX_LINK_VEC and RX_LINK_VEC fields indicate the links to be removed. If the group configuration is symmetric, the TX_LINK_VEC and RX_LINK_VEC should be identical. Parameters Group Tag and vector of LIDS to be deleted Pre-requisite None. Restriction Deletion of a TRL Link is a special case. A group will not be able to operate normally without both the TX TRL and the RX TRL. Therefore, the TRL link should not be deleted unless it is the last link in the direction. Also, IMA protocol requires there to be at least 1 link in both directions, therefore PM should not delete the last link left in either direction in cases other than a complete group removal. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 368 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 8. Set_rx_phy_defect Function Indicate to RIPP that the given link(s) have/have not physical defects (such as LOS/AIS) which is not detectable internally. TX_LINK_VEC and RX_LINK_VEC indicate the links affected. Parameters Group Tag and vector of LIDS to be included in group Pre-requisite None. Restriction None. 9. Unusable_link Function Indicate to RIPP that the given link(s) are unusable for certain reasons. TX_LINK_VEC and RX_LINK_VEC indicate the links affected. TX_CAUSE and RX_CAUSE indicates the reason for the link to be UNUSABLE. Note it is possible to change the cause for the link to be unusable even after it enters the unusable state. Parameters Group Tag and vector of LIDS to be made unusable and the cause to report why the link is unusable Pre-requisite None. Restriction It is required that PM must use one of the four defined causes (failed, fault, mis-connected, inhibited) if an unusable cause is to be reported to the far-end via the ICP cell. 10. Update_test_ptn Function Update the TX test pattern info to be sent in the outgoing ICP cells for the group. This command also causes the SCCI field in the next outgoing ICP cell to increase. Parameters Group Tag and TX Test pattern and Test pattern LID Pre-requisite None. Restriction None. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 369 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 11. Update_tx_trl Function Update the transmit timing information (TX TRL and clock mode) to be sent in the outgoing ICP cells. The TRL is also used to control the TX IDCC. This command also causes the SCCI field in the next outgoing ICP cell to increase. Parameters Group Tag and LID for new TRL Pre-requisite None. Restriction It is up to the user to pick a valid TRL to satisfy the requirement in the IMA spec. At least, a TRL that is currently configured to be in the group should be selected; otherwise the group will not be able to operate normally. 12. Read_event Function Read and clear the latched event status of the specified group and all its' links. The result read from the internal context memory is stored in Cmd_rd_data00 through cmd_rd_data1F. Refer to the “registers” section for further details. Parameters Group Tag Pre-requisite None. Restriction This command will be rejected on Deleted groups. 13. Read_delay Function Read all the DCB write pointers and link defect status of all links in the specified group. The result is stored in Cmd_rd_data00 through cmd_rd_data1F. Refer to the “registers” section for further details. Parameters Group Tag Pre-requisite None. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 370 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Restriction ISSUE 4 INVERSE MULTIPLEXING OVER ATM None. 14. Adjust_delay Function Start an adjust_delay procedure on the specified group. The amount of delay to be removed/added is specified as part of parameters. Parameters Group Tag and amount of delay in cells Pre-requisite None. Restriction This command will be rejected if there is currently another adjust_delay procedure in progress or if there is currently a group-wide procedure (group start-up or LASR) in progress. 12.5.3 Adding a Group In order to add a group, the Group and Link configuration should be performed. Next, the Add_Group command should be issued. This command will initiate the Group and Link State Machines. Is starts the GSM arbitration and automatically starts a LASR procedure. The Add_Group command continues after the CMD_ACK is returned. The completion of the command is generally indicated by an event that indicated either that the process timed-out or the group has become operational. If a timeout occurs, PM should take appropriate action and either restart the group with new parameters or add additional links to the group. The event that indicates that the Add_Group command has completed successfully is either the GTSM_INT with the GTSM state = Operational or GSM_INT with the GSM state = Operational. Events that indicate that the Add_Group command has completed but was not successful are the following: NE_ABORT_INT FE_ABORT_INT GROUP_TIMEOUT_INT FE_TIMEOUT_INT Events that indicate that individual links are experiencing problems and did not become active are the following: PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 371 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM DIFF_DELAY_INT INVALID_ICP_INT RX_TIMEOUT_INT TX_TIMEOUT_INT In order to track the progress of the command, interrupts may be enabled for GSM state changes and for the LSM state changes for all of the links. This may result in a large number of events if the group includes a large number of links. NOTE: If the TRL link is not validated on the RX side, since the group does not have a valid TRL, the group will not come up and will not report any events. If this happens, a Restart_group command must be executed to recover. 12.5.4 Deleting a Group There are two methods of bringing a group down. To bring a group down and preserve data that has already been transmitted, it is recommended that the links be deleted first using the Delete_link command. This will result in the GSM transitioning to the insufficient links state when the number of active links falls below the minimum required links. Once the delete links is complete and all of the accumulated DCB data is played out, the Delete_group command deletes the existing group. To determine if the deleted links have all of the DCB data played out, the TX_LINK_EN and RX_LINK_EN bits may be polled in the RIPP Link Context records. Once the Delete_group command is executed, all links within the group will immediately stop transmitting IMA frames, and all received cells queued in the DCB buffer will be dropped. If data preservation is not a concern, a group may be removed immediately by issuing the Delete_group command. It is recommended that interrupts be disabled prior to the group deletion since the group deletion itself causes an interrupt to occur. If a Read_event command is issued on a deleted group, the command will be rejected. If interrupts are not disabled, care must be taken to ensure proper servicing of the RIPP Interrupt FIFO prior to reusing the group to avoid overrunning the RIPP Interrupt FIFO (interrupt from group prior to deletion and interrupt from group after re-use both in FIFO, and the FIFO is sized to have a maximum of one event per group.) 12.5.5 Restart Group To restart a group or issue a local reset to a group, the Restart_group command is used. Upon a Restart_group, the specified group’s GSM will immediately transition to the Start-up state and try to renegotiate the IMA parameters. This PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 372 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM command should be used after changing the M values, IMA ID, group symmetry, or OAM value on a group. 12.5.6 Inhibit Group/Not inhibit Group To move a GSM into/out of the Blocked state, the Inhibit_group and Not_inhibit_group commands may be used. These commands set a mode such that the current GSM state is not important. Once set to the inhibit mode, the GSM will go to the Blocked state instead of the Operational state. The Not_inhibit_group command must be executed to remove this setting. 12.5.7 Adding a link or Links to an existing Group (Start LASR) In order to add links to an existing group, the START_LASR command is used. Prior to issuing this command, the link configuration should be performed as in 12.4.3.2. The Start_LASR command will initiate the Link Addition and Slow Recovery Procedure. The LASR procedure is paced by either (1) all of the indicated links’ LSMs transitioning to the appropriate states or (2) the programmed link timeouts in the presence of defective or slow links. The LASR procedure continues after the CMD_ACK is returned. While a LASR procedure is in process, no other LASR procedure may be started on the same group. The completion of the command is generally indicated by an event that indicated either that the process timed-out or the links have become operational. If a timeout occurs, PM should take appropriate action and either restart the LASR procedure in the case that the handshaking was just slow or replace defective links. The event that indicates that the Start_LASR command has completed successfully for symmetrical groups is the TX_ACTIVE_INT for all links involved. Due to the group wide synchronization, this event should occur for all links simultaneously. For asymmetrical groups, the RX_ACTIVE_INT indicates the completion of the LASR for receive links. Events that indicate that individual links are experiencing problems and did not become active are the following: DIFF_DELAY_INT INVALID_ICP_INT RX_TIMEOUT_INT TX_TIMEOUT_INT PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 373 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM If a timeout event occurs, another LASR procedure must be execute to continue attempting to bring links to the active state. In order to track the progress of the command interrupts may be enable the LSM state changes for all of the links. This may result in a large number of events if the group includes a large number of links. 12.5.8 Reporting Link Defects in the ICP cell LIF, LODS, and LCD defects are automatically detected and reported in the ICP cell by the S/UNI-IMA-84. Other physical layer defects such as LOS, OOF, AIS are not detected by the S/UNI-IMA-84. To enable reporting of these defects, the Set_rx_defect command is provided to force the contents of the RDI field in the ICP cell. 12.5.9 Faulting/Inhibiting Links The S/UNI-IMA-84 reports defects to the upper layer S/W and allows the upper layer S/W declare fault conditions based upon defect information. In order to force a link into a Fault or Failure state, the Unusable_Link command is used. This link can operate on multiple links at a time. Once executed, the LSM of the affected links are transitioned to the Unusable state. If inhibiting the link without data loss is required, it is necessary to specify the cause as “inhibited”. Normally when inhibiting a link, the link has been active for a while. If a link is inhibited immediately after becoming active, data loss can occur. If the S/UNI-IMA-84 has not yet received ICP cells from the link that indicates the link is active when the link is inhibited, data loss may occur. Note that links currently experiencing defect conditions will still experience loss of data even when inhibiting. When links are faulted, the existing data within the DCB is still played out on the ATM interface. 12.5.10 Change TRL To change the TRL link, the Update_TRL command is used. The new TRL is immediately used for scheduling the group and will be reported as the TRL in the next ICP cell. If CTC timing is used, the stuffing is not affected. If ITC timing is used, the reference link is changed to the new TRL. The first stuff on the new TRL will occur on approximately the same frame as the stuff would have occurred when it was a non-reference link. After the first stuff on the new TRL, the new TRL will be stuffed every 2049 cells. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 374 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 12.5.11 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Deleting a Link from a Group A link can be deleted from a group by using the delete Link command. On the transmit side, the link will stop accepting ATM cells immediately and will transmit filler cells only. The links will be removed from the TX round-robin on the next frame boundary. On the receive side, the deleted link/links will transition to the Deleted state to ensure that all transmitted data is received into the DCB buffer. Once the FE TX state is detected as not active or the RX_LINK_DELETED timeout occurs, the RX links stop writing data to the DCB buffers. The DCB buffers allowed to underrun (preserving any previously stored data) prior to being disabled and removed from the receive round-robin. The RX_ENABLE bits and TX_ENABLE bits in the RIPP Link context records should be monitored to determine when the links can be reassigned to a different group. 12.5.12 Test Pattern Procedures The test pattern procedure consists of 2 parts, issuing the test pattern and checking the test pattern. To issue a test pattern, the update_tst_ptn command is used. This starts the transmission of the new test pattern. The S/UNI-IMA-84 will always loopback the test pattern indicated in the ICP cell. Since each link may experience different round trip delays, the checking of the test pattern is split between the user and the S/UNI-IMA84. The S/UNI-IMA-84 will compare test pattern received in the ICP cell with the test pattern that was sent on every received ICP cell. The S/UNI-IMA-84 stores the success or failure of this operation in the word 9 of the RIPP Group configuration register. The user is responsible for checking the results after a sufficient time has passed for a round trip delay on all links. NOTE: If no ICP cells are received for a particular LID, the RX_TEST_PTN_Match field is never updated. 12.5.13 IMA Events All of IMA events are reported via a group-based structure. IMA events include link defects and link and group state machine changes. Any enabled IMA event will cause a RIPP_INTR. All IMA events may be enabled for reporting at the Group/link level as well as a globally. Both the individual link/group enable as well as the global enable must be set to have an IMA event cause an RIPP_INTR. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 375 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM As enabled IMA events occur, a message is placed with the RIPP_INTR FIFO. Once a message is placed with the FIFO, another message will not be generated until the read_event command is executed for the group. During this period of time, additional events can accumulate and will be reported with the Read_event command when executed. The Read_event command queries the links within the group and provides all of the link and group information in a single data structure. To ease the processing load, a map that shows which links are experiencing INTR conditions is provided in page 0 of the returned status. Page 1 contains the interrupt conditions and page 2 provides the status. The majority of the error/interrupt processing may be performed with the information provided by the Read_event command. 12.5.14 End-to-end Channel Communication According to the IMA spec, end-to-end channel is a proprietary communication channel via the corresponding field in the ICP cells. The S/UNI-IMA-84 provides access to this facility through the following means: • In the outgoing direction, the end-to-end channel may be updated by writing to the TX_END_CHANNEL field in the RIPP group configuration record at any time. • In the incoming direction, the end-to-end channel information may be accessed by reading the ICP cell buffer memory. 12.6 Diagnostic features 12.6.1 ICP Cell Trace The S/UNI-IMA-84 can be configured to forward incoming ICP cells to microprocessor, by setting the proper bits in the RIPP Group Configuration memory. The content of the forwarded ICP cell is stored in the ICP cell buffer registers. The ICP cell data exchange between RIPP and the microprocessor is controlled via the use of a lock bit (which is located in the ICP cell forwarding Control register) and the PM_ICP_AVL interrupt. The data exchange protocol is as follows: 1. S/UNI-IMA-84 sees a new ICP cell and starts polling the lock bit. 2. If the lock bit is current set, the cell is not forwarded. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 376 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 3. The ICP cell data content is copied to the ICP cell buffer registers. 4. The PM_ICP_AVL bit is set, this will cause an ICP_CELL_AVL_INT. 5. To read the ICP cell, the lock bit must be set by writing ‘1’ to the ICP_FWD_LOCK_REQ bit in the ICP forwarding control register. Once the lock is granted when the ICP_FWD_LOCK_GRANT bit read back as ‘1’. The lock bit must be set prior to clearing the interrupt, otherwise it is possible to have multiple interrupt generated. 6. The interrupt should be cleared by reading the ICP cell forwarding status register. 7. The data may be readout from Forwarding ICP cell buffer registers. 8. The ICP_FWD_LOCK_REQ should be cleared bit by writing to the register location. 12.6.2 SDRAM Diagnostic access Diagnostic access of the external SDRAM is provided to enable SDRAM initialization and testing. The access to the SDRAM is provided on a cell buffer granularity. Each cell buffer is 64 bytes. By providing cell buffer burst access to the SDRAM, the SDRAM diagnostic accesses utilize the same burst access timing as is used when the S/UNI-IMA-84 is operating. Prior to performing any diagnostic accesses to the SDRAM, the SDRAM interface must be placed in diagnostic mode. In diagnostic mode, all automatic accesses from the S/UNI-IMA-84 (except refresh) are disabled and all accesses are controlled via the microprocessor interface. To write to the SDRAM, first the image of the cell must be written into the SDRAM DIAG Burst-Write RAM using the SDRAM DIAG Burst RAM Indirect Access. Once the image of the cell has been written, a command to transfer the data into the external SDRAM should be issued using the SDRAM DIAG WRITE CMD registers. The SDRAM DIAG WRITE CMD registers specify the address of the cell buffer to be written in the external SDRAM. For a read operation, a read command is issued using the SDRAM DIAG READ CMD registers. This command transfers data from the SDRAM into the internal cell buffer. When the command is complete as indicated by the RDBUSY bit in the command register, the data may be read out of the cell buffer using the SDRAM DIAG Burst RAM indirect access. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 377 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Note that there is no CRC protection for data in diagnostic mode. By providing both Read Command registers and write command registers, a back-to-back read/write access may be performed to the SDRAM. 12.7 IMA Performance Parameters and Failure Alarms Support A number of IMA performance parameters and failure alarms are defined in the IMA spec (section 12.2.2) as a standardized interface to IMA unit management functions. The following text summarizes the support provided by S/UNI-IMA-84 to implement those functions. Table 36 IMA Performance Parameter Support Req. Performance parameter S/UNI-IMA-84 support R-125 IV-IMA O-20 OIF-IMA R-126 SES-IMA NE RX IMA defects will cause interrupts. R-127 SES-IMA-FE RDI-IMA defects will cause interrupts. R-128 UAS-IMA Derived from SES-IMA, no support. R-129 UAS-IMA-FE Derived from SES-IMA-FE, no support. R-130 TX-UUS-IMA S/UNI-IMA-84 provides read access to the TX LSM in RIPP link context records. Note after link start-up, it is up to PM to put the LSM into UNUSABLE state. R-131 RX-UUS-IMA S/UNI-IMA-84 provides read access to the RX LSM in link context records. Note after link start-up, it is up to PM to put the LSM into UNUSABLE state. R-132 TX-UUS-IMA-FE S/UNI-IMA-84 may generate an interrupt once FE TX LSM enters UNUSABLE state. R-133 RX-UUS-IMA-FE S/UNI-IMA-84 may generate an interrupt once FE RX LSM enters UNUSABLE state. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 378 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM R-134 TX-FC Failure condition is declared by PM, no support provided. R-135 RX-FC Failure condition is declared by PM, no support provided. O-21 TX-FC-FE S/UNI-IMA-84 may generate an interrupt once FE TX LSM is in UNUSABLE state, PM may then read the FE LSM state in the RIPP context memory to determine the case. O-22 RX-FC-FE S/UNI-IMA-84 may generate an interrupt once FE RX LSM is in UNUSABLE state, or a RDI-IMA indication is sent by FE. O-23 TX-STUFF-IMA S/UNI-IMA-84 provides counter of inserted stuff events per link. O-24 RX-STUFF-IMA S/UNI-IMA-84 provide counter of received stuff events per link R-136 GR-UAS-IMA S/UNI-IMA-84 may generate an interrupt when a GTSM transition happens. R-137 GR-FC S/UNI-IMA-84 provides interrupt and read access to internal context for various error conditions. See Table 37 for details. O-25 GR-FC-FE S/UNI-IMA-84 provides interrupt and read access to internal context for various error conditions. See Table 37 for details. Table 37 IMA Failure Alarm Support Req. Failure Alarm S/UNI-IMA-84 support R-138 LIF S/UNI-IMA-84 may generate an interrupt and latch the internal LIF error status once a link enters or exits LIF defect. R-139 LODS S/UNI-IMA-84 may generate an interrupt and latch the internal LODS error status once a link enters or PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 379 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM exits LODS defect. R-140 RFI-IMA S/UNI-IMA-84 may generate an interrupt and latch the internal RDI-IMA status when RDI-IMA condition is entered or exited on a TX link. It is up PM to declare the alarm condition. R-141 TX-Mis-Connected It is up to PM to detect mis-connectivity on TX links, possibly through the use of test patterns. FE may indicate that the link is mis-connected by moving the RX LSM to corresponding UNUSABLE state, in which case RIPP will generate an interrupt and latch the error status. R-142 RX-Mis-Connected It is up to PM to detect mis-connectivity on RX links. One possible way is to utilize the RX_IMA_ID field in the group context. Instead of letting RIPP capture the RX_IMA_ID from incoming ICP cells, PM can choose to initialize the group context with a expected RX_IMA_ID and set the RX_IMA_ID_VALID field to ‘1’. In this case the mis-connected RX links will likely to have a wrong IMA ID value and will not come up, which will eventually cause an interrupt. Also PM may utilize the test pattern procedure for this purpose. O-28 TX-Fault It is up to PM to declare fault conditions on TX links. To facilitate this, RIPP provides read access to the NE/FE LSM and GSM states in the context memory. O-29 RX-Fault It is up to PM to declare fault conditions on RX links. To facilitate this, RIPP provides read access to the NE/FE LSM and GSM states in the context memory. R-143 TX-Unusable-FE S/UNI-IMA-84 may generate an interrupt and latch the internal FE_TX_Unusable error status, once FE TX LSM enters UNUSABLE state. R-144 RX-Unusable-FE S/UNI-IMA-84 may generate an interrupt and latch the internal FE_RX_Unusable error status, once FE PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 380 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM RX LSM enters UNUSABLE state. R-145 Start-up-FE S/UNI-IMA-84 may generate an interrupt if a FE GSM state transition occurs. PM may then read the FE GSM state from the RIPP context memory. R-146 Config-Aborted S/UNI-IMA-84 may generate an interrupt and latch the internal Config-Aborted error status, once it decides the FE parameters are unacceptable and the GSM should go to Config-Aborted state. R-147 Config-Aborted-FE S/UNI-IMA-84 may generate an interrupt and latch the internal Config-Aborted-FE error status, once it detects the FE GSM is in Config-Aborted state. R-148 Insufficient-Links S/UNI-IMA-84 may generate an interrupt if GSM state transition occurs. PM may then read the GSM state from the RIPP context memory. R-149 Insufficient-Links-FE S/UNI-IMA-84 may generate an interrupt if a FE GSM state transition occurs. PM may then read the FE GSM state from the RIPP context memory. R-150 Blocked-FE S/UNI-IMA-84 may generate an interrupt if a FE GSM state transition occurs. PM may then read the FE GSM state from the RIPP context memory. R-151 GR-Timing-Mismatch S/UNI-IMA-84 may generate an interrupt and latch the relevant error status, once it detects a mismatch between TX and RX clock modes. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 381 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 13 ISSUE 4 INVERSE MULTIPLEXING OVER ATM FUNCTIONAL TIMING This section shows the functional relationship between inputs and outputs. No propagation delays are shown. 13.1 SBI DROP Bus Interface Timing Figure 26 - SBI DROP Bus T1/E1 Functional Timing REFCLK ••• C1FP ••• DDATA[7:0] ••• C1 DPL ••• DV5 ••• DDP ••• V3 V3 V3 DS0#4. V5 DS0#9. Figure 26 illustrates the operation of the SBI DROP Bus, using a negative justification on the second to last V3 octet as an example. The justification is indicated by asserting DPL high during the V3 octet. The timing diagram also shows the location of one of the tributaries by asserting DV5 high during the V5 octet. Figure 27 - SBI DROP Bus DS3 Functional Timing REFCLK ••• C1FP ••• DDATA[7:0] C1 ••• DPL ••• DV5 ••• DDP ••• H3 H3 H3 DS-3 #1 DS-3 #2 DS-3 #3DS-3 #1 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 382 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Figure 27 shows three DS-3 tributaries mapped onto the SBI bus. A negative justification is shown for DS-3 #2 during the H3 octet with DPL asserted high. A positive justification is shown for DS-3#1 during the first DS-3#1 octet after H3 (which has DPL asserted low). 13.2 SBI ADD Bus Interface Timing The SBI ADD bus functional timing for the transfer of tributaries - whether T1/E1 or DS3 - is the same as for the SBI DROP bus. The only difference is that the SBI ADD bus has a few additional signals. The AJUST_REQ signal is used to by the TEMUX-84 in SBI master timing mode to provide transmit timing to SBI link layer devices. The AACTIVE signal is asserted whenever the S/UNI-IMA-84 is driving the SBI ADD bus and is used with the ADETECT signals of other Link devices to detect and protect against SBI ADD bus conflicts. Figure 28 - SBI ADD Bus Adjustment Request Functional Timing REFCLK ••• C1FP ••• ADATA[7:0] C1 ••• APL ••• AV5 ••• ADP ••• AJUST_REQ ••• AACTIVE ••• H3 H3 H3 DS-3 #1 DS-3 #2 DS-3 #3DS-3 #1 Figure 28 illustrates the operation of the SBI ADD Bus, using positive and negative justification requests as an example. (The responses to the justification requests would take effect during the next multi-frame.) The negative justification request occurs on the DS-3#3 tributary when AJUST_REQ is asserted high during the H3 octet. The positive justification occurs on the DS-3#2 tributary when AJUST_REQ is asserted high during the first DS-3#2 octet after the H3 octet. The AACTIVE signal is shown for the case in which S/UNI-IMA-84 is driving DS-3#2 onto the SBI ADD bus. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 383 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 13.3 Receive Link Input Timing The timing relationship of the receive clock (RSCLK[n]) and data (RSDATA[n]) signals of an unchannelized link is shown in Figure 29. The receive data is viewed as a contiguous serial stream. There is no concept of time-slots in an unchannelized link. Each eight bits is grouped together into a byte with arbitrary alignment. The first bit received (B1 in Figure 29) is deemed the most significant bit of an octet. The last bit received (B8) is deemed the least significant bit. Bits that are to be processed by the S/UNI-IMA-84 are clocked in on the rising edge of RSCLK[n]. Bits that should be ignored (X in Figure 29) are squelched by holding RSCLK[n] quiescent. In Figure 29, the quiescent period is shown to be a low level on RSCLK[n]. A high level, effected by extending the high phase of the previous valid bit, is also acceptable. Selection of bits for processing is arbitrary and is not subject to any byte alignment or frame boundary considerations. Figure 29 - Unchannelized Receive Link Timing RSCLK[n] RSDATA[n] B1 B2 B3 B4 X B5 X X X B6 B7 B8 B1 X The timing relationship of the receive clock (RSCLK[n]) and data (RSDATA[n]) signals of a channelized T1 link is shown in Figure 30. The receive data stream is a T1 frame with a single framing bit (F in Figure 30) followed by octet bound timeslots 1 to 24. RSCLK[n] is held quiescent during the framing bit. The RSDATA[n] data bit (B1 of TS1) clocked in by the first rising edge of RSCLK[n] after the framing bit is the most significant bit of time-slot 1. The RSDATA[n] bit (B8 of TS24) clocked in by the last rising edge of RSCLK[n] before the framing bit is the least significant bit of time-slot 24. In Figure 30, the quiescent period is shown to be a low level on RSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot TS24, is equally acceptable. In channelized T1 mode, RSCLK[n] can only be gapped during the framing bit. It must be active continuously at 1.544 MHz during all time-slot bits. Time-slots can be ignored by setting the PROV bit in the corresponding word of the receive channel provision RAM in the RCAS block to low. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 384 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 30 INVERSE MULTIPLEXING OVER ATM - Channelized T1 Receive Link Timing RSCLK[n] RSDATA[n] B7 B8 F B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 TS 24 TS 1 TS 2 The timing relationship of the receive clock (RSCLK[n]) and data (RSDATA[n]) signals of a channelized E1 link is shown in Figure 31. The receive data stream is an E1 frame with a single framing byte (F1 to F8 in Figure 31) followed by octet bound time-slots 1 to 31. RSCLK[n] is held quiescent during the framing byte. The RSDATA[n] data bit (B1 of TS1) clocked in by the first rising edge of RSCLK[n] after the framing byte is the most significant bit of time-slot 1. The RSDATA[n] bit (B8 of TS31) clocked in by the last rising edge of RSCLK[n] before the framing byte is the least significant bit of time-slot 31. In Figure 31, the quiescent period is shown to be a low level on RSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot TS31, is equally acceptable. In channelized E1 mode, RSCLK[n] can only be gapped during the framing byte. It must be active continuously at 2.048 MHz during all time-slot bits. Time-slots can be ignored by setting the PROV bit in the corresponding word of the receive channel provision RAM in the RCAS block to low. Figure 31 - Channelized E1 Receive Link Timing RSCLK[n] RSDATA[n] B6 B7 B8 F1 F2 F3 F4 F5 F6 F7 F8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 31 FAS / NFAS TS 1 TS 2 13.4 Transmit Link Output Timing The timing relationship of the transmit clock (TSCLK[n]) and data (TSDATA[n]) signals of a unchannelized link is shown in Figure 32. The transmit data is viewed as a contiguous serial stream. There is no concept of time-slots in an unchannelized link. Each eight bits is grouped together into a byte with arbitrary byte alignment. Octet data is transmitted from most significant bit (B1 in Figure 32) and ending with the least significant bit (B8 in Figure 32). Bits are updated on the falling edge of TSCLK[n]. A transmit link may be stalled by holding the PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 385 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM corresponding TSCLK[n] quiescent. In Figure 32, bits B5 and B2 are shown to be stalled for one cycle while bit B6 is shown to be stalled for three cycles. In Figure 32, the quiescent period is shown to be a low level on TSCLK[n]. A high level, effected by extending the high phase of the previous valid bit, is also acceptable. Gapping of TSCLK[n] can occur arbitrarily without regard to either byte or frame boundaries. Figure 32 - Unchannelized Transmit Link Timing TSCLK[n] TSDATA[n] B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 The timing relationship of the transmit clock (TSCLK[n]) and data (TSDATA[n]) signals of a channelized T1 link is shown in Figure 33. The transmit data stream is a T1 frame with a single framing bit (F in Figure 33) followed by octet bound time-slots 1 to 24. TSCLK[n] is held quiescent during the framing bit. The most significant bit of each time-slot is transmitted first (B1 in Figure 33). The least significant bit of each time-slot is transmitted last (B8 in Figure 33). The TSDATA[n] bit (B8 of TS24) before the framing bit is the least significant bit of time-slot 24. In Figure 33, the quiescent period is shown to be a low level on TSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot TS24, is equally acceptable. In channelized T1 mode, TSCLK[n] can only be gapped during the framing bit. It must be active continuously at 1.544 MHz during all time-slot bits. Time-slots that are not provisioned to belong to any channel (the PROV bit in the corresponding word of the transmit channel provision RAM in the TCAS block set low) transmit the contents of the Idle Fill Time-slot Data register. Figure 33 - Channelized T1 Transmit Link Timing w/ Clock gapped Low TSCLK[n] TSDATA[n] B7 B8 TS 24 B1 F B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 TS 1 TS 2 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 386 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 34 INVERSE MULTIPLEXING OVER ATM - Channelized T1 Transmit Link Timing w/ Clock gapped high TSCLK[n] TSDATA[n] B7 B8 TS 24 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 F TS 1 TS 2 The timing relationship of the transmit clock (TSCLK[n]) and data (TSDATA[n]) signals of a channelized E1 link is shown in Figure 35. The transmit data stream is an E1 frame with a single framing byte (FAS/NFAS in Figure 35) followed by octet bound time-slots 1 to 31. TSCLK[n] is held quiescent during the framing byte. The most significant bit of each time-slot is transmitted first (B1 in Figure 35). The least significant bit of each time-slot is transmitted last (B8 in Figure 35). The TSDATA[n] bit (B8 of TS31) before the framing byte is the least significant bit of time-slot 31. In Figure 35, the quiescent period is shown to be a low level on TSCLK[n]. A high level, effected by extending the high phase of bit B8 of time-slot 31, is equally acceptable. In channelized E1 mode, TSCLK[n] can only be gapped during the framing byte. It must be active continuously at 2.048 MHz during all time-slot bits. Time-slots that are not provisioned to belong to any channel − i.e., the PROV bit in the corresponding word of the transmit channel provision RAM in the TCAS block is set low − transmit the contents of the Idle Time-slot Fill Data register. Figure 35 - Channelized E1 Transmit Link Timing w/ Clock gapped Low TSCLK[n] TSDATA[n] B6 B7 B8 TS 31 Figure 36 B1 FAS / NFAS B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 TS 1 TS 2 - Channelized E1 Transmit Link Timing w/ Clock gapped High TSCLK[n] TSDATA[n] B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B6 B7 B8 TS 31 FAS / NFAS TS 1 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE TS 2 387 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Alternatively, the CTSCLK can be used instead of the TSCLK[n] to lock the clocks of all the links together 13.5 Any-PHY/UTOPIA L2 Interfaces While the following diagrams present representative waveforms, they are not an attempt to unambiguously describe the interfaces. The Pin Description section is intended to present the detailed pin behavior and constraints on use. The following parameters apply to all Any-PHY/UTOPIA interface figures: m = 7 for 8-bit mode, 15 for 16-bit mode k = is a function of 8/16 bit mode and number of prepends selected. 13.5.1 UTOPIA L2 Transmit Slave Interface Figure 37 gives an example of the functional timing of the transmit interface when configured as a 31-port UTOPIA L2 compliant transmit slave. The interface responds to the enabled addresses as defined by the register Transmit Cell Available Enable by asserting the TCA corresponding to the addressed PHY when it is capable of accepting a complete cell. As a result, the master selects one of the S/UNI-IMA-84’s PHYs by presenting the PHY address again during the last cycle TENB is high. If the device had not been selected, TSOC, TDAT[m:0], and TPRTY would have remained high-impedance. Figure 37 illustrates that a cell transfer may be paused by deasserting TENB. The device is reselected by presenting the PHY’s address the last cycle TENB is high to resume the transfer. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 388 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 37 INVERSE MULTIPLEXING OVER ATM - UTOPIA L2 Transmit Slave TCLK TADR[4:0] DEV 1 IMA-PHY-X DEV 3 IMA-PHY-X DEV 2 1 TCLK TCA TDAT[m:0], TPRTY Data K-3 Data K-2 Data K-1 Data K Data 0 Data 1 TENB TSOP 13.5.2 Any-PHY Transmit Slave Interface Figure 38 gives an example of the functional timing of the transmit interface when configured as an 84-port Any-PHY compliant transmit slave. The Any-PHY master polls the ports in the S/UNI-IMA-84 and the S/UNI-IMA-84 device responds by driving TPA. If the S/UNI-IMA’s polled port is capable of accepting a complete cell, TPA is driven active otherwise the TPA is driven inactive. Positive responses are recorded by the master and will eventually result in a data transfer. Ports are selected for data transfers via an in-band address prepend in first word of the data transfer. Polling continues independent of the data transfer state. Data transfers are initiated with the assertion of TENB and TSX; they complete without pausing. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 389 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 38 INVERSE MULTIPLEXING OVER ATM - Any-PHY Transmit Slave TCLK TADR[10:0] IMA-ADR PHY 7 PHY 1 PHY 0 TCSB 2 TCLK TPA TDAT[m:0], TPRTY IMA-ADR PHY 8 ADR Data 1 Data 2 PHY 1 Data 3 Data K-1 Data K IMA-ADR Data 1 TENB TSX TSOP 13.5.3 UTOPIA L2 Multi-PHY Receive Slave Interface Figure 39 gives an example of the functional timing of the receive interface when configured as a 31-port UTOPIA L2 compliant receive slave. The interface responds to addresses (as specified by the register Receive Cell Available Enable) by asserting the RCA corresponding to the addressed PHY when it is capable of providing a complete cell. As a result, the master selects one of the S/UNI-IMA-84’s PHYs by presenting the PHY address again during the last cycle RENB is high. Had not the device been selected, RSOC, RDAT[m:0], and RPRTY would have remained high-impedance. Figure 39 illustrates that a cell transfer may be paused by deasserting RENB. The device is reselected by presenting the PHY’s address the last cycle RENB is high to resume the transfer. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 390 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 39 INVERSE MULTIPLEXING OVER ATM - UTOPIA L2 Multi-PHY Receive Slave 1 2 3 4 5 Polling 6 7 8 9 10 Selection RCLK RADR[4:0] 1F PHY-X PHY-Y 1F 1 RCLK PHY-X RCA RDAT[m:0], RPRTY 1F Data K-3 PHY-X 1F 1 RCLK PHY-Y Data K-2 Data K-1 PHY-Z 1F 1 RCLK PHY-X PHY-Z 1F 1 RCLK PHY-Z Data K Data 0 PHY-Z Data 1 Data 2 Data K- RENB RSOC 13.5.4 UTOPIA L2 single-PHY Receive Slave Interface Figure 40 gives an example of the functional timing of the receive interface when configured as a single port UTOPIA L2 compliant slave. The interface responds to the address that matches the DEVID specified in the RXAPS Configuration register by asserting the RCA when it is capable of providing a complete cell. As a result, the master selects the S/UNI-IMA-84 PHYs by presenting the PHY address again during the last cycle RENB is high. Had not the device been selected, RSOC, RDAT[m:0], and RPRTY would have remained high-impedance. Figure 40 illustrates that a cell transfer may be paused by deasserting RENB. The device is reselected by presenting the PHY’s address the last cycle RENB is high to resume the transfer. Figure 40 - UTOPIA L2 Single-PHY Receive Slave 16-bit Utopia L2 Single Address Slave 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Polling & Reselection Selection Back 2 Back Cell RCLK RADR[4:0] 1F DEVID 1F N+1 1 RCLK RCA RDAT[m:0], RPRTY RENB DEVID D(n-3) D(n-2) D(n-1) 1F N+1 D(n) DEVID 1F N+2 1F N+3 D(1) D(2) 1F N+1 1F D(n) D(0) N 1F N+1 D(2) D(3) 1 RCLK DEVID D(0) D(n-1) D(1) PAUS RSOC PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 391 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 13.5.5 Any-PHY Receive Slave Interface Figure 41 gives an example of the functional timing of the receive interface when configured as an Any-PHY compliant receive slave. The interface responds to the polling of address “IMA” (which matches the address defined by the Receive Any-PHY/UTOPIA Config register) by asserting RPA when it is capable of delivering a complete cell. The Any-PHY master repolls addresses until it receives an asserted RPA. As a result, the master re-selects the same RADR again during the last cycle RENB is high to initiate a transfer. Once transfer is initiated, RENB must remain asserted until the last data is received. Figure 41 - Any-PHY Receive Slave 1 2 3 4 5 Polling 6 7 8 9 10 Selection RCLK RADR[4:0] 1F IMA-AD 1F PHY-Y 1F IMA-AD 1F PHY-Z 1F PHY-Z PHY-A RCSB 2 RCLK RPA PHY-Z 2 RCLK IMA-ADR PHY-Y IMA-ADR PHY-Z 2 RCLK RDAT[m:0], RPRTY IMA Add Data 0 Data 1 RENB RSX RSOP 13.6 SDRAM Interface The following three diagrams depict the timing for signals destined for the pins of the SDRAM during the Activate-Read (with Auto-precharge), Activate-Write (with Auto-precharge), and Auto-refresh command sequences and Power-Up and Initialization Sequence.. The cbcmd signal is not an actual signal; it merely represents the memory access command formed by the combination of the individual SDRAM control signals (e.g., cbcsb and cbrasb). Also note that reads/writes of cell buffers are always done in bursts of eight words, with 4 bursts per cells; the first and third bursts involve the even banks and the second and fourth bursts involve the odd banks in the SDRAM. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 392 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 42 INVERSE MULTIPLEXING OVER ATM - SDRAM Read Timing SDRAM Read Mode Timing 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 sysclk cbcmd tRCD act0 desel/nop rd0 desel/nop act tRCD desel/nop rd1 tRCD act2 desel/nop desel/nop rd2 cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] even bank odd bank even bank cba[11, 9:0] even row even co odd row odd col even row even col cba[10] even row prea odd row prea odd row prea cbdq[15:0] d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE d10 d11 d12 d13 d14 d15 d16 393 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 43 INVERSE MULTIPLEXING OVER ATM - SDRAM Write Timing SDRAM Write Mode Timing 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 sysclk cbcmd act0 tRCD desel/nop wr0 desel/nop act1 tRCD desel/nop wr1 desel/nop act2 desel/nop cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] even bank odd bank even bank cba[11, 9:0] even row even co odd row odd col even row cba[10] even row prea odd row prea even row cbdq[31:0] cba[11] d0 even row d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 even col d14 d15 d16 odd row PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 394 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 44 INVERSE MULTIPLEXING OVER ATM - SDRAM Refresh SDRAM Refresh Mode Timing 1 2 3 4 5 6 7 8 9 10 11 12 sysclk cbcmd refa tRC desel/nop act desel/nop cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] 00 cba[11:0] 400h cbdq[15:0] PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 395 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 45 1 2 3 INVERSE MULTIPLEXING OVER ATM - Power Up and Initialization Sequence 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 sysclk Vcc CBRI performs first arbitration on cycle following MRS SDRAM Initialization Sequence (78 cyc) bucb_cben REFA & tRC (9 cyc) sequence must be repeated 8 times, prior to MRS cbcmd NOP tRP (3cyc) PRE NOP REF NOP REF tRC (9cyc) NOP MR cbcsb cbrasb cbcasb cbweb cbdqm cbbs[1:0] cba[11:0] 00 400h 033 cbdq[15:0] PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 396 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 14 ISSUE 4 INVERSE MULTIPLEXING OVER ATM ABSOLUTE MAXIMUM RATINGS Maximum ratings are the worst case limits that the device can withstand without sustaining permanent damage. They are not indicative of normal mode operation conditions. Table 38 Absolute Maximum Ratings Ambient Temperature under Bias -40°C to +85°C Storage Temperature -40°C to +125°C 1.8V Supply Voltage -0.3V to +3.6V 3.3V Supply Voltage -0.3V to +6.0V Voltage on Any Pin(except 5V compatible) -0.3V to VVDDO+0.3V Voltage on Any Pin( 5V compatible) -0.3V to 5.5V Static Discharge Voltage ±1000 V Latch-Up Current ±100 mA DC Input Current ±20 mA Lead Temperature +230°C Absolute Maximum Junction Temperature +150°C PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 397 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 15 ISSUE 4 INVERSE MULTIPLEXING OVER ATM D. C. CHARACTERISTICS TA = -40°C to +85°C, VDD = VDDtypical ± 8% (Typical Conditions: TC = 25°C, VVDDI = 1.8V, VVDDO = 3.3V, VAVDDQ = 3.3V) Table 39 D.C. Characteristics PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 398 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Symbol ISSUE 4 Parameter INVERSE MULTIPLEXING OVER ATM Min Typ Max Units Conditions VVDDI Power Supply 1.656 1.8 1.944 Volts VVDDO Power Supply 3.03 3.3 3.56 Volts VVDDQ VIL Power Supply Input Low Voltage 3.03 3.3 3.56 Volts 0.8 Volts VIH1 Input High Voltage for inputs: TSCLK[31:0], TCK, RSCLK[31:0], RCLK, TCLK, RSTB, SYSCLK, CTSCLK, REFCLK, WRB, RDB, DDATA[7:0], DDP, DC1FP, DV5, ADETECT, AC1FP, AJUST_REQ Input High Voltage for all other inputs and bidirects Output or Bidirectional Low Voltage 2.2 Volts 2.0 Volts Guaranteed Input High voltage. Volts VOH Output or Bidirectional High Voltage 2.4 VT+ Reset Input High Voltage Reset Input Low Voltage 2.0 Guaranteed output Low voltage at VDD=3.03V and IOL=maximum rated for pad. Guaranteed output High voltage at VDD=3.03V and IOH=maximum rated current for pad. Applies to RSTB and TRSTB only. Applies to RSTB and TRSTB only. VIH2 VOL VT- 0 TBD 0.4 TBD Volts Volts 0.8 Volts PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE Guaranteed Input Low voltage. Guaranteed Input High voltage. 399 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 VTH ISSUE 4 INVERSE MULTIPLEXING OVER ATM IILPU Reset Input Hysteresis Voltage Input Low Current 10 IIHPU Input High Current -10 IIL Input Low Current IIH Input High Current CIN Input Capacitance 5 COUT Output Capacitance Bi-directional Capacitance Operating Current CIO IDDOP TBD Volts Applies to RSTB and TRSTB only. 200 µA 0 +10 µA -10 0 +10 µA -10 0 +10 µA pF VIL = GND. Notes 1 and 3. VIH = VDD. Notes 1 and 3. VIL = GND. Notes 2 and 3. VIH = VDD. Notes 2 and 3. tA=25°C, f = 1 MHz 5 pF tA=25°C, f = 1 MHz 5 pF tA=25°C, f = 1 MHz mA VDD = max, Outputs Unloaded TBD Notes on D.C. Characteristics: 1) Input pin or bi-directional pin with internal pull-up resistor. 2) Input pin or bi-directional pin without internal pull-up resistor. 3) Negative currents flow into the device (sinking), positive currents flow out of the device (sourcing). PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 400 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 16 ISSUE 4 INVERSE MULTIPLEXING OVER ATM A.C. TIMING CHARACTERISTICS (TC = -40°C to +85°C, VDD = 3.3 V ± 8%) Notes on Input Timing: 1. When a set-up time is specified between an input and a clock, the set-up time is measured from the 50% point of the input to the 50% point of the clock. 2. When a hold time is specified between a clock and an input, the hold time is measured from the 50% point of the clock to the 50% point of the input. Notes on Output Timing: 1. Output timing is measured between the 50% point of the clock to the 50% point of the output. 16.1 MICROPROCESSOR INTERFACE TIMING CHARACTERISTICS Table 40 Microprocessor Interface Read Access Symbol Parameter Min tSAR Address to Valid Read Set-up Time 5 ns tHAR Address to Valid Read Hold Time 5 ns tSALR Address to Latch Set-up Time 5 ns tHALR Address to Latch Hold Time 5 ns tVL Valid Latch Pulse Width 20 ns tSLR Latch to Read Set-up 0 ns tHLR Latch to Read Hold 5 ns tPRD Valid Read to Valid Data Propagation Delay 30 ns tZRD Valid Read Negated to Output Tristate 20 ns tZINTH Valid Read Negated to Output Tristate 50 ns PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE Max Units 401 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 46 INVERSE MULTIPLEXING OVER ATM - Microprocessor Interface Read Timing tSAR A[10:1] Valid Address tH AR tS ALR tV L tH ALR ALE tS tHLR LR (CSB+RDB) tZ INTH INTB tZ RD tPRD D[15:0] Valid Data Notes on Microprocessor Interface Read Timing: 1. Maximum output propagation delays are measured with a 100 pF load on the Microprocessor Interface data bus (D[15:0]). 2. A valid read cycle is defined as a logical OR of the CSB and the RDB signals. 3. In non-multiplexed address/data bus architectures, ALE should be held high so that parameters tSALR, tHALR, tVL, and tSLR are not applicable. 4. Parameter tHAR is not applicable if address latching is used. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 402 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Table 41 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Microprocessor Interface Write Access Symbol Parameter Min Max tSAW Address to Valid Write Set-up Time 5 ns tSDW Data to Valid Write Set-up Time 10 ns tSALW Address to Latch Set-up Time 5 ns tHALW Address to Latch Hold Time 5 ns tVL Valid Latch Pulse Width 20 ns tSLW Latch to Write Set-up 0 ns tHLW Latch to Write Hold 5 ns tHDW Data to Valid Write Hold Time 5 ns tHAW Address to Valid Write Hold Time 5 ns tVWR Valid Write Pulse Width 20 ns PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE Units 403 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 47 INVERSE MULTIPLEXING OVER ATM - Microprocessor Interface Write Timing A[10:1] Valid Address tS ALW tV L tH ALW tS LW tHLW ALE tSAW tVWR tH AW (CSB+WRB) tS DW D[15:0] tH DW Valid Data Notes on Microprocessor Interface Write Timing: 1. A valid write cycle is defined as a logical OR of the CSB and the WRB signals. 2. In non-multiplexed address/data bus architectures, ALE should be held high so that parameters tSALW , tSALW , tVL, tSLW and tHLW are not applicable. 3. Parameter tHAW is not applicable if address latching is used. Table 42 RTSB Timing Symbol Description Min tVRSTB RSTB Pulse Width 100 Max PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE Units Ns 404 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 48 INVERSE MULTIPLEXING OVER ATM - RSTB Timing 16.2 Synchronous I/O Timing Figure 49 - Synchronous I/O Timing CLK Ts Th Input Tp Tz Tzb Output Table 43 SYSCLK and REFCLK Timing Symbol Description Min Max Units fSYSCLK Frequency, SYSCLK 20 55 MHz DSYSCLK Duty Cycle, SYSCLK 40 60 % fREFCLK Frequency, REFCLK (See Note 1) 19.44 – 50 ppm 19.44 +50 ppm MHz fREFCLK Frequency, REFCLK (See Note 2) 52 MHz 60 % DSYSCLK Duty Cycle, REFCLK 40 Notes: 1. Applicable only when operating with the SBI interface. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 405 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 2. Applicable only when operating with the CLK/Data interface. Table 44 Cell Buffer SDRAM Interface Symbol Description Min Max Units Ts Input Set-up time to SYSCLK 2.5 Th Input Hold time to SYSCLK 0 Tp SYSCLK High to Output Valid 1 10 Ns Tz SYSCLK High to Output High-Impedance 1 10 Ns Tzb SYSCLK High to Output Driven 1 ns Maximum output propagation delays are measured with a 20pF load on the outputs. Minimum output propagation delays are measured with a 0 pF load on the outputs. Table 45 Any-PHY/UTOPIA Transmit Interface Symbol Description Min Max Units fCLK TCLK Frequency DCLK TCLK Duty Cycle 40 Ts Input Set-up time to TCLK (except TCSB) 4 Ns Ts Input Set-up time to TCLK ( TCSB only) 6 Ns Th Input Hold time to TCLK 0 Ns Tp TCLK High to Output Valid 1 12 Ns Tz TCLK High to Output High-Impedance 1 12 Ns Tzb TCLK High to Output Driven 1 52 60 % Ns Maximum output propagation delays are measured with an 50pF load on the outputs. Minimum output propagation delays are measured with a 0 pF load on the outputs. PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 406 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 Table 46 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Any-PHY/UTOPIA Receive Interface Symbol Description Min Max Units fCLK RCLK Frequency 52 MHz DCLK RCLK Duty Cycle 40 60 % Ts Input Set-up time to RCLK (except RCSB) 4 ns Ts Input Set-up time to RCLK (RCSB) 6 ns Th Input Hold time to RCLK 0 ns Tp RCLK High to Output Valid 1 12 ns Tz RCLK High to Output High-Impedance 1 12 ns Tzb RCLK High to Output Driven 0 ns Maximum output propagation delays are measured with an 50pF load on the outputs. Minimum output propagation delays are measured with a 0 pF load on the outputs. Table 47 Symbol Serial Link Input Description Min Max Units RSCLK[31:0] Frequency (See Note 1) 1.542 1.546 MHz RSCLK[31:0] Frequency (See Note 2) 2.046 2.05 MHz RSCLK[7:0] (See Note 3) 8 MHz RSCLK[31:8] (See Note 3) 2.304 MHz 60 % RSCLK[31:0] Duty Cycle 40 tSRD RSDATA[31:0] Set-Up Time 5 Ns tHRD RSDATA[31:0] Hold Time 5 Ns PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 407 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM Notes: 1. Applicable only to channelized T1 links and measured between framing bits. 2. Applicable only to channelized E1 links and measured between framing bytes. 3. Applicable only to unchannelized links of any format and measured between any two RCLK rising edges Table 48 Symbol tPTD Serial Link Output Description Min Max Units TSCLK[31:0] Frequency (See Note 3) 1.542 1.546 MHz TSCLK[31:0] Frequency (See Note 4) 2.046 2.05 MHz TSCLK[7:0] Frequency (See Note 5) 8 MHz TSCLK[31:8] Frequency (See Note 5) 2.304 MHz TSCLK[31:0] Duty Cycle 40 60 % TSCLK[31:0] Low to TSDATA[31:0] Valid. See Note 1. 2 27 Ns Notes on Output Timing: 1. Maximum output propagation delays are measured with a 50 pF 2. Minimum output propagation delays are measured with a 0 pF 3. Applicable only to channelized T1 links and measured between framing bits. 4. Applicable only to channelized E1 links and measured between framing bytes. 5. Applicable only to unchannelized links of any format and measured between any two TCLK rising edges PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 408 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 16.3 SBI Timing Table 49 SBI Frame Pulse Timing Symbol Description Min TSC1FP AC1FP and DC1FP Set-Up Time to REFCLK 4 ns THC1FP AC1FP and DC1FP Hold Time to REFCLK 0 ns Figure 50 Max Units - SBI Frame Pulse Timing REFCLK tSC1FP tHC1FP C1FP Table 50 SBI DROP BUS Timing Symbol Description Min tSSBIDROP All SBI DROP BUS Inputs Set-Up Time to REFCLK 4 ns tHSBIDROP All SBI DROP BUS Inputs Hold Time 0 to REFCLK ns PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE Max Units 409 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 51 INVERSE MULTIPLEXING OVER ATM - SBI DROP BUS Timing REFCLK tS SBIDROP tH SBIDROP DDATA[7:0] DDP, DPL DV5 Table 51 SBI ADD BUS Symbol Description Min tSSBIADD AJUST_REQ Set-Up Time to REFCLK 4 ns tHSBIADD AJUST_REQ Hold Time to REFCLK 0 ns tPAACTIVE REFCLK to AACTIVE Valid 0 15 ns tPSBIADD REFCLK to All SBI ADD BUS Outputs (except AACTIVE) Valid 0 20 ns tZSBIADD REFCLK to All SBI ADD BUS Outputs (except AACTIVE) Tristate 0 15 ns tPOUTEN ADETECT low to All SBI ADD BUS Outputs (except AACTIVE) Valid 0 12 ns tZOUTEN ADETECT high to All SBI ADD BUS Outputs (except AACTIVE) Tristate 0 12 ns PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE Max Units 410 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 52 INVERSE MULTIPLEXING OVER ATM - SBI ADD BUS Timing REFCLK tS SIADD tH A BIADD AJUST_REQ tP A ACT IVE AACTIVE tP S BIADD ADATA[7:0] ADP, APL, AV5 tZ S BIADD ADATA[7:0] ADP, APL, AV5 Figure 53 - SBI ADD BUS Collision Avoidance Timing ADETECT[n] tP OUTEN tZ OUTEN ADATA[7:0] ADP, APL, AV5 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 411 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 INVERSE MULTIPLEXING OVER ATM 16.4 JTAG Timing Table 52 Symbol JTAG Port Interface Description Min TCK Frequency Max Units 1 MHz 60 % TCK Duty Cycle 40 tSTMS TMS Set-up time to TCK 50 ns tHTMS TMS Hold time to TCK 50 ns tSTDI TDI Set-up time to TCK 50 ns tHTDI TDI Hold time to TCK 50 ns tPTDO TCK Low to TDO Valid 2 tVTRSTB TRSTB Pulse Width 100 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 50 ns ns 412 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 ISSUE 4 Figure 54 INVERSE MULTIPLEXING OVER ATM - JTAG Port Interface Timing TCK tS TMS tH TMS tS TDI tH TDI TMS TDI TCK tP TDO TDO tV TRSTB TRSTB PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 413 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 17 ISSUE 4 INVERSE MULTIPLEXING OVER ATM ORDERING AND THERMAL INFORMATION Table 53 Ordering and Thermal Information Part No. Description PM7341 416 Plastic Ball Grid Array (PBGA) Table 54 Thermal information - Theta Ja vs. Airflow Forced Air (Linear Feet per Minute) Theta JA @ specified power Conv 100 200 300 400 500 Dense Board 28.5 25.7 24.0 22.9 22.4 22.2 JEDEC Board 21.2 19.5 18.3 17.5 16.9 16.4 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE 414 PM7341 S/UNI-IMA-84 PRELIMINARY INVERSE MULTIPLEXING OVER ATM DATASHEET PMC-2000223 18 ISSUE 4 INVERSE MULTIPLEXING OVER ATM MECHANICAL INFORMATION Figure 55 - 416 PIN PBGA –27x27 MM Body – (P SUFFIX) 0.20 (2X) D A Px D1 B A1 BALL CORNER 26 24 22 20 18 16 14 12 10 8 6 4 2 25 23 21 19 17 15 13 11 9 7 5 3 1 A1 BALL CORNER A B C D E b F G J L N E1 E H K M T U W V Y AA AB e AC AE 45o CHAMFER 4 PLACES AD J 0.20 (2X) AF e I AVAILABLE MARKING AREA Py P R BOTTOM VIEW TOP VIEW "d" DIA. 3 PLACES 30 ο==TYP +/- 1% A A2 bbb C aaa C C C A1 SEATING PLANE SIDE VIEW NOTES: 1) ALL DIMENSIONS IN MILLIMETER. 2) DIMENSION aaa DENOTES COPLANARITY. 3) DIMENSION bbb DENOTES PARALLEL. PACKAGE TYPE : 416 PLASTIC BALL GRID ARRAY - PBGA BODY SIZE : 27 x 27 x 2.28 MM (4 layer) A A Dim. (2 layer) (4 layer) A1 A2 D Min. 1.82 2.07 0.40 1.12 - D1 E - E1 C C I J b d e 0.30 0.55 - - 0.50 - - 24.90 24.90 - - 0.61 1.00 1.00 0.63 25.00 25.00 - - - 1.0 0 - 1.00 0.67 (2 layer) (4 layer) Nom. 2.03 2.28 0.50 24.00 27.00 24.00 0.36 1.17 27.00 BSC BSC BSC BSC Max. 2.22 2.49 0.60 1.22 - - 0.40 - 0.70 PROPRIETARY AND CONFIDENTIAL TO PMC-SIERRA, INC., AND FOR ITS CUSTOMERS’ INTERNAL USE - Px Py aaa bbb 25.10 25.10 0.15 0.35 415