Da ta Sh ee t, D S 1, D ec em be r 20 01 ABM 3G A T M B uf f e r M a na ge r P XF 4 33 3 V e r s i on 1 . 1 W ir ed Co m mu n ic a ti o n s N e v e r s t o p t h i n k i n g . Edition 2001-12-17 Published by Infineon Technologies AG, St.-Martin-Strasse 53, D-81541 München, Germany © Infineon Technologies AG 2001. All Rights Reserved. Attention please! The information herein is given to describe certain components and shall not be considered as warranted characteristics. Terms of delivery and rights to technical change reserved. We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regarding circuits, descriptions and charts stated herein. Infineon Technologies is an approved CECC manufacturer. Information For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office in Germany or our Infineon Technologies Representatives worldwide (see address list). Warnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered. Da ta Sh ee t, D S 1, D ec em be r 20 01 ABM 3G A T M B uf f e r M a na ge r P XF 4 33 3 V e r s i on 1 . 1 W ir ed Co m mu n ic a ti o n s N e v e r s t o p t h i n k i n g . • ABM-3G Data Sheet Revision History: 2001-12-17 Previous Version: none Page DS 1 Subjects (major changes since last revision) Reworked from preliminary to first finalized status For questions on technology, delivery and prices please contact the Infineon Technologies Offices in Germany or the Infineon Technologies Companies and Representatives worldwide: see our webpage at http://www.infineon.com Disclaimer: This data sheet describes a product under development by Infineon Technologies AG (‘Infineon’). Infineon reserves the right to change features and characteristics of the product or to discontinue this product without notice. None of the information contained in this document constitutes an express or implied assurance of availability or functionality. Please contact Infineon for the latest information on the product. ABM-3G PXF 4333 V1.1 Table of Contents Page 1 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2 1.3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Queueing Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scheduling Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supervision Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 20 20 21 21 22 22 23 24 2 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.3.10 2.3.11 2.3.12 2.3.13 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pin Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pin Diagram with Functional Groupings . . . . . . . . . . . . . . . . . . . . . . . . . . Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Common System Clock Supply (3 pins) . . . . . . . . . . . . . . . . . . . . . . . . UTOPIA Receive Interface Upstream (Master/Slave) (32 pins) . . . . . . UTOPIA Transmit Interface Downstream (Master/Slave) (32 pins) . . . . UTOPIA Receive Interface Downstream (Master/Slave) (32 pins) . . . . UTOPIA Transmit Interface Upstream (Master/Slave) (32 pins) . . . . . . Microprocessor Interface (32 pins) . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cell Storage RAM Upstream (50 pins) . . . . . . . . . . . . . . . . . . . . . . . . . Cell Storage RAM Downstream (50 pins) . . . . . . . . . . . . . . . . . . . . . . . Common Up- and Downstream Cell Pointer RAM (42 pins) . . . . . . . . . JTAG Boundary Scan (5 pins) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Production Test (2 pin) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supply (74 VSS, 32 VDD33 and 14 VDD18 pins) . . . . . . . . . . . . . . . . . Unconnected (13 pins) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 25 26 27 27 28 29 31 32 33 35 37 39 40 41 41 42 3 3.1 3.1.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.5.1 3.2.5.2 3.2.5.3 3.2.5.4 3.2.6 3.3 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Block Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Throughput and Speedup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cell Handler (Upstream/Downstream) . . . . . . . . . . . . . . . . . . . . . . . . . . Buffer Manager and Queue Scheduler (Overview) . . . . . . . . . . . . . . . . AAL5 Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal Address Reduction Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clocking System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clocking System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DPLL Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initialization Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 43 45 46 46 46 46 47 52 52 53 53 54 54 55 Data Sheet 5 2001-12-17 ABM-3G PXF 4333 V1.1 Table of Contents Page 3.3.1 3.4 3.4.1 3.4.1.1 3.4.1.2 3.4.1.3 3.4.1.4 3.4.1.5 3.4.1.6 3.4.1.7 3.4.1.8 3.4.2 3.4.2.1 3.4.2.2 3.4.2.3 3.4.2.4 3.4.2.5 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.5.3 3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.5.9.1 3.5.9.2 3.5.9.3 LCI Translation in Mini-Switch Configurations . . . . . . . . . . . . . . . . . . . . Buffer Manager and Queue Scheduler Details . . . . . . . . . . . . . . . . . . . . . Buffer Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Logical Buffer Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Threshold Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Counter Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Threshold and Occupancy Counter Overview . . . . . . . . . . . . . . . . . . Discard Mechanisms and Buffer Reservation . . . . . . . . . . . . . . . . . . Cell Acceptance Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Statistical Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Queue Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scheduler Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Quality of Service Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Traffic Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC-Merge and Dummy Queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scheduler Block Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scheduler Block Scheduler (SBS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supervision Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cell Header Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cell Queue Supervision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scan Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Internal Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LCI: Local Connection Identifier Table . . . . . . . . . . . . . . . . . . . . . . . . . . QCT: Queue Configuration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . QPT: Queue Parameter Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TCT: Traffic Class Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SBOC: Scheduler Block Occupancy Table . . . . . . . . . . . . . . . . . . . . . . SCT: Scheduler Configuration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . MGT: Merge Group Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AVT: VBR Configuration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AVT Context RAM Organization and Addressing . . . . . . . . . . . . . . . AVT Context RAM Section for VBR Shaping Support . . . . . . . . . . . . Common AVT CONFIG Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 60 61 61 62 64 65 65 67 71 74 76 76 77 79 81 86 88 89 90 90 90 90 93 93 94 94 94 94 94 94 95 95 95 97 99 4 4.1 4.2 4.2.1 4.2.2 4.2.2.1 Operational Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Device Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Basic Traffic Management Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . Setup of Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Queue Scheduler Rates and Granularities . . . . . . . . . . Scheduler Block Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 100 100 105 106 106 Data Sheet 6 2001-12-17 ABM-3G PXF 4333 V1.1 Table of Contents Page 4.2.2.2 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6 4.2.2.7 4.2.3 4.2.4 4.2.5 4.2.5.1 4.2.6 4.2.7 4.2.7.1 4.2.7.2 4.2.7.3 4.2.7.4 4.2.7.5 4.2.7.6 4.2.7.7 4.3 4.4 4.4.1 4.4.2 4.5 Programming the Scheduler Block Rates . . . . . . . . . . . . . . . . . . . . Programming the Common Real-Time Bypass . . . . . . . . . . . . . . . . Programming the SDRAM Refresh Empty Cell Cycles . . . . . . . . . . Programming the PCR Limiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming the Leaky Bucket Shaper . . . . . . . . . . . . . . . . . . . . . Guaranteed Cell Rates and WFQ Weight Factors . . . . . . . . . . . . . . ABM-3G Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bandwidth Reservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bandwidth Reservation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . Buffer Reservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Support of Standard ATM Service Categories . . . . . . . . . . . . . . . . . . . CBR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . rt-VBR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . nrt-VBR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UBR+ Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GFR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UBR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Generic Service Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connection Teardown Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AAL5 Packet Insertion/Extraction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AAL5 Packet Insertion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AAL5 Packet Extraction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exception Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 109 109 109 112 114 115 116 116 117 118 119 119 119 119 119 120 120 120 121 121 121 121 123 5 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.6.1 5.1.6.2 5.1.6.3 5.1.6.4 5.1.6.5 5.2 5.2.1 5.2.2 5.2.3 5.2.4 Interface Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTOPIA L2 Interfaces (PHY side) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . URXU: UTOPIA Receive Upstream (PHY side) . . . . . . . . . . . . . . . . . UTXD: UTOPIA Transmit Downstream (PHY side) . . . . . . . . . . . . . . . UTOPIA Port/Address Mapping (PHY side) . . . . . . . . . . . . . . . . . . . . Functional UTOPIA Timing (PHY side) . . . . . . . . . . . . . . . . . . . . . . . . UTOPIA Master Mode Polling Scheme (PHY side) . . . . . . . . . . . . . . . UTOPIA Cell Format (PHY side) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTOPIA Level 2 Standard Cell Formats . . . . . . . . . . . . . . . . . . . . . LCI Mapping Mode: VPI Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LCI Mapping Mode: VCI Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . LCI Mapping Mode: Infineon Mode . . . . . . . . . . . . . . . . . . . . . . . . . LCI Mapping Mode: Address Reduction Mode . . . . . . . . . . . . . . . . UTOPIA L2 Interface (Backplane side) . . . . . . . . . . . . . . . . . . . . . . . . . . URXD: UTOPIA Receive Downstream (Backplane side) . . . . . . . . . . UTXU: UTOPIA Transmit Upstream (Backplane side) . . . . . . . . . . . . UTOPIA Port/Address Mapping (Backplane side) . . . . . . . . . . . . . . . . Functional UTOPIA Timing (Backplane side) . . . . . . . . . . . . . . . . . . . 124 124 124 125 127 128 129 130 130 131 131 132 132 134 134 134 134 134 Data Sheet 7 2001-12-17 ABM-3G PXF 4333 V1.1 Table of Contents Page 5.2.5 5.2.6 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.4 5.4.1 5.5 5.6 5.6.1 5.6.2 UTOPIA Master Mode Polling Scheme (Backplane side) . . . . . . . . . . UTOPIA Cell Format (Backplane side) . . . . . . . . . . . . . . . . . . . . . . . . MPI: Microprocessor Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Style Write Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Style Read Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Style Write Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Style Read Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External RAM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RAM Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock and Reset Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clocking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Memory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 7 7.1 7.2 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 7.2.7 7.2.8 7.2.9 7.2.10 7.2.11 7.2.12 7.2.13 7.2.14 7.2.15 7.2.16 7.2.17 7.2.18 Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview of the ABM-3G Register Set . . . . . . . . . . . . . . . . . . . . . . . . . . Detailed Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cell Flow Test Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SDRAM Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cell Insertion/Extraction and AAL5 Control Registers . . . . . . . . . . . . . Buffer Occupation Counter Registers . . . . . . . . . . . . . . . . . . . . . . . . . Buffer Threshold and Occupation Capture Registers . . . . . . . . . . . . . Configuration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Backpressure Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LCI Table Transfer Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Traffic Class Table Transfer Registers . . . . . . . . . . . . . . . . . . . . . . . . Queue Configuration Table Transfer Registers . . . . . . . . . . . . . . . . . . Scheduler Block Occupancy Table Transfer Registers . . . . . . . . . . . . Merge Group Table Transfer Registers . . . . . . . . . . . . . . . . . . . . . . . . Mask Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rate Shaper CDV Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Queue Parameter Table Mask Registers . . . . . . . . . . . . . . . . . . . . . . Scheduler Configuration Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . Queue Parameter Table Transfer Registers . . . . . . . . . . . . . . . . . . . . Scheduler Block Configuration Table Transfer/Mask Registers SDRAM Refresh Registers UTOPIA Port Select of Common Real Time Queue Registers 257 Scheduler Block Enable Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . Common Real Time Queue Rate Registers . . . . . . . . . . . . . . . . . . . . AVT Table Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.19 7.2.20 7.2.21 Data Sheet 8 134 135 135 135 136 136 137 137 138 138 141 141 141 141 143 143 156 156 157 158 174 176 181 181 191 195 211 223 230 235 239 240 246 247 270 278 280 2001-12-17 ABM-3G PXF 4333 V1.1 Table of Contents Page 7.2.22 7.2.23 7.2.24 7.2.25 7.2.26 7.2.27 7.2.28 7.2.29 PLL Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External RAM Test Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ABM-3G Version Code Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Status/Mask Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RAM Select Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Global ABM-3G Status and Mode Registers . . . . . . . . . . . . . . . . . . . . UTOPIA Configuration Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Test Registers/Special Mode Registers . . . . . . . . . . . . . . . . . . . . . . . . 287 290 295 297 307 311 317 335 8 8.1 8.2 8.3 8.4 8.4.1 8.4.1.1 8.4.1.2 8.4.2 8.4.2.1 8.4.2.2 8.4.3 8.4.4 8.4.5 8.4.6 8.4.7 8.5 8.6 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Microprocessor Interface Timing Intel Mode . . . . . . . . . . . . . . . . . . . . Microprocessor Write Cycle Timing (Intel) . . . . . . . . . . . . . . . . . . . . Microprocessor Read Cycle Timing (Intel) . . . . . . . . . . . . . . . . . . . . Microprocessor Interface Timing Motorola Mode . . . . . . . . . . . . . . . . Microprocessor Write Cycle Timing (Motorola) . . . . . . . . . . . . . . . . Microprocessor Read Cycle Timing (Motorola) . . . . . . . . . . . . . . . . UTOPIA Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPR SSRAM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CSR SDRAM Interface(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Boundary-Scan Test Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 336 336 337 339 340 340 341 342 342 343 345 350 351 353 354 355 355 9 Test Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356 10 Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 11 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359 Data Sheet 9 2001-12-17 ABM-3G PXF 4333 V1.1 List of Figures Figure 1-1 Figure 1-2 Figure 2-1 Figure 2-2 Figure 3-1 Figure 3-2 Figure 3-3 Figure 3-5 Figure 3-6 Figure 3-7 Figure 3-8 Figure 3-9 Figure 3-10 Figure 3-11 Figure 3-12 Figure 3-13 Figure 3-14 Figure 3-15 Figure 3-16 Figure 3-18 Figure 3-19 Figure 3-21 Figure 3-22 Figure 3-23 Figure 3-25 Figure 3-26 Figure 3-27 Figure 3-28 Figure 3-31 Figure 3-32 Figure 3-33 Figure 3-34 Figure 3-36 Figure 3-37 Figure 4-1 Figure 4-7 Figure 4-9 Figure 4-10 Figure 5-1 Figure 5-2 Figure 5-3 Figure 5-4 Data Sheet Page Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 General System Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Pin Configuration (Bottom View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Pin Configuration (Bottom View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Sub-System Integration Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Logical Block Diagram (One Direction) . . . . . . . . . . . . . . . . . . . . . . . . 45 LCI Building Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 LCI Building Patterns (VPI only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Clocking System Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 DPLL Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Reset System Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 ABM-3G in Bi-directional Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 ABM-3G in Uni-directional Mode Using both Cores. . . . . . . . . . . . . . . 57 ABM-3G in Uni-directional Mode Using one Core . . . . . . . . . . . . . . . . 57 Connection Identifiers in Mini-Switch Configuration. . . . . . . . . . . . . . . 58 Cell Acceptance and Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Buffer Manager Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Queue Assignment to Traffic Classes and Scheduler Blocks . . . . . . . 63 Buffer Management with per Queue Minimum Buffer Reservation . . . 70 Buffer Threshold with Hysteresis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Functional Structure of the Hierarchical Queue Scheduler . . . . . . . . . 76 Scheduler Block Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Behavior of Different Scheduler Types . . . . . . . . . . . . . . . . . . . . . . . . 78 Scheduler Behavior Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Shaping and Policing at Network Boundaries . . . . . . . . . . . . . . . . . . . 81 Ideal ABM-3G Shaper Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Ideal and Real ABM-3G Shaper Output. . . . . . . . . . . . . . . . . . . . . . . . 83 VC Merge Scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Scheduler Block Usage at Switch Output . . . . . . . . . . . . . . . . . . . . . . 88 Scheduler Block Usage at Switch Input . . . . . . . . . . . . . . . . . . . . . . . . 89 SCAN Timer Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Table Access Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 AVT Context RAM Addressing Scheme . . . . . . . . . . . . . . . . . . . . . . . 96 Parameters for Connection Setup (bit field width indicated) . . . . . . . 101 ABM-3G Application Example: DSLAM . . . . . . . . . . . . . . . . . . . . . . . 115 Example of Threshold Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 118 AAL5 Extraction: End of packet, Trailer and Status Byte. . . . . . . . . . 122 UTOPIA Receive Upstream Master Mode . . . . . . . . . . . . . . . . . . . . . 124 UTOPIA Receive Upstream Slave Mode . . . . . . . . . . . . . . . . . . . . . . 124 UTOPIA Transmit Downstream Master Mode . . . . . . . . . . . . . . . . . . 126 UTOPIA Transmit Downstream Slave Mode . . . . . . . . . . . . . . . . . . . 126 10 2001-12-17 ABM-3G PXF 4333 V1.1 List of Figures Figure 5-5 Figure 5-6 Figure 5-7 Figure 5-8 Figure 7-1 Figure 8-1 Figure 8-2 Figure 8-3 Figure 8-4 Figure 8-5 Figure 8-6 Figure 8-7 Figure 8-8 Figure 8-9 Figure 8-10 Figure 8-11 Figure 9-1 Data Sheet Page Intel Style Write Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intel Style Read Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Style Write Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Motorola Style Read Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table Access Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input/Output Waveform for AC Measurements . . . . . . . . . . . . . . . . . Microprocessor Interface Write Cycle Timing (Intel) . . . . . . . . . . . . . Microprocessor Interface Read Cycle Timing (Intel) . . . . . . . . . . . . . Microprocessor Interface Write Cycle Timing (Motorola) . . . . . . . . . . Microprocessor Interface Read Cycle Timing (Motorola). . . . . . . . . . Setup and Hold Time Definition (Single- and Multi-PHY). . . . . . . . . . Tristate Timing (Multi-PHY, Multiple Devices Only) . . . . . . . . . . . . . . SSRAM Interface Generic Timing Diagram . . . . . . . . . . . . . . . . . . . . Generic SDRAM Interface Timing Diagram . . . . . . . . . . . . . . . . . . . . Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Boundary-Scan Test Interface Timing Diagram . . . . . . . . . . . . . . . . . Block Diagram of Test Access Port and Boundary Scan Unit . . . . . . 11 135 136 136 137 144 339 340 341 342 343 345 345 350 351 353 354 356 2001-12-17 ABM-3G PXF 4333 V1.1 List of Tables Table 2-1 Table 3-4 Table 3-17 Table 3-20 Table 3-24 Table 3-29 Table 3-30 Table 3-35 Table 3-38 Table 3-39 Table 3-40 Table 4-2 Table 4-3 Table 4-4 Table 4-5 Table 4-6 Table 4-8 Table 4-11 Table 5-1 Table 5-2 Table 5-3 Table 5-4 Table 5-5 Table 5-6 Table 5-7 Table 5-8 Table 5-9 Table 5-10 Table 5-11 Table 5-12 Table 7-1 Table 7-2 Table 7-3 Table 7-5 Table 7-4 Table 7-6 Table 7-7 Table 7-8 Table 7-9 Table 7-10 Table 7-11 Table 7-12 Data Sheet Page Ball Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Maximum ABM-3G Throughput and Speedup . . . . . . . . . . . . . . . . . . . 45 Threshold and Counter Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Statistical Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Guaranteed Rates for each ATM Service Category . . . . . . . . . . . . . . 79 Summary of VBR Shaping Parameters . . . . . . . . . . . . . . . . . . . . . . . . 84 VBR Conformance Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Timer Values for Clock Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 AVT Context Table: VBR Shaping (Table Layout) . . . . . . . . . . . . . . . . 97 AVT Context Table: VBR Shaping Parameter Description . . . . . . . . . 97 Config(6:0) Bit Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Scheduler Block Rate Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 SB Rate Calculation Examples for SYSCLK = 51.84 MHz . . . . . . . . 108 Minimum Shaper Rates as a Function of TstepC and SYSCLK . . . . 111 Shaper Accuracy as a Function of desired PCR and TstepC . . . . . . 112 Maximum BT as a Function of TstepC and SYSCLK . . . . . . . . . . . . 113 Number of Possible Connections per PHY . . . . . . . . . . . . . . . . . . . . 118 AAL5 Status Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Port/Address Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Port Polling Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Standardized UTOPIA Level 2 Cell Format (16-bit) . . . . . . . . . . . . . . 130 Standardized UTOPIA Level 2 Cell Format (16-bit): OAM Cells . . . . 130 Standardized UTOPIA Level 2 Cell Format (16-bit) . . . . . . . . . . . . . . 131 Standardized UTOPIA Level 2 Cell Format (16-bit). . . . . . . . . . . . . . 131 Standardized UTOPIA Level 2 Cell Format (16-bit). . . . . . . . . . . . . . 132 Standardized UTOPIA Level 2 Cell Format (16-bit). . . . . . . . . . . . . . 132 External RAM Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 SSRAM Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 SDRAM Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 SSRAM and SDRAM Type Examples . . . . . . . . . . . . . . . . . . . . . . . . 141 Color Convention for Internal Table Field Illustration . . . . . . . . . . . . . 145 ABM-3G Registers Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 External RAM Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 WAR Register Mapping for LCI Table Access . . . . . . . . . . . . . . . 191 Registers for LCI Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Registers for TCT Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 WAR Register Mapping for TCT Table Access . . . . . . . . . . . . . . . . 196 Registers for Queue Configuration Table Access . . . . . . . . . . . . . . . 211 WAR Register Mapping for LCI Table Access . . . . . . . . . . . . . . . . . 212 Registers for SBOC Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 WAR Register Mapping for SBOC Table Access . . . . . . . . . . . . . . 224 Registers for MGT Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 12 2001-12-17 ABM-3G PXF 4333 V1.1 List of Tables Table 7-13 Table 7-14 Table 7-15 Table 7-16 Table 7-17 Table 7-18 Table 7-19 Table 7-20 Table 7-21 Table 7-22 Table 7-23 Table 7-24 Table 7-25 Table 7-26 Table 7-27 Table 8-1 Table 8-2 Table 8-3 Table 8-4 Table 8-5 Table 8-6 Table 8-7 Table 8-8 Table 8-9 Table 8-10 Table 8-11 Table 8-12 Table 8-13 Table 8-14 Table 8-15 Table 8-16 Table 8-18 Table 8-17 Data Sheet Page WAR Register Mapping for MGT Table Access . . . . . . . . . . . . . . . . Registers for QPT1 Upstream Table Access . . . . . . . . . . . . . . . . . . . Registers for QPT1 Downstream Table Access . . . . . . . . . . . . . . . . WAR Register Mapping for QPT Table Access . . . . . . . . . . . . . . . . Registers for QPT2 Upstream Table Access . . . . . . . . . . . . . . . . . . . Registers for QPT2 Downstream Table Access . . . . . . . . . . . . . . . . WAR Register Mapping for QPT Table Access . . . . . . . . . . . . . . . . Registers SCTI Upstream Table Access . . . . . . . . . . . . . . . . . . . . . . Registers SCTI Downstream Table Access . . . . . . . . . . . . . . . . . . . . Registers SCTF Upstream Table Access . . . . . . . . . . . . . . . . . . . . . Registers SCTF Downstream Table Access . . . . . . . . . . . . . . . . . . . WAR Register Mapping for SCTFU/SCTFD Table access . . . . . . . Registers for AVT Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . WAR Register Mapping for AVT Table Access . . . . . . . . . . . . . . . . Extended RAM Address Range for Test Access . . . . . . . . . . . . . . . . Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Frequencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Microprocessor Interface Write Cycle Timing (Intel) . . . . . . . . . . . . . Microprocessor Interface Read Cycle Timing (Intel) . . . . . . . . . . . . . Microprocessor Interface Write Cycle Timing (Motorola) . . . . . . . . . . Microprocessor Interface Read Cycle Timing (Motorola). . . . . . . . . . Transmit Timing (16-Bit Data Bus, 50 MHz Cell Mode, Single PHY). Receive Timing (16-Bit Data Bus, 50 MHz Cell Mode, Single PHY) . Transmit Timing (16-Bit Data Bus, 50 MHz Cell Mode, Multi-PHY) . . Receive Timing (16-Bit Data Bus, 50 MHz Cell Mode, Multi-PHY) . . SSRAM Interface AC Timing Characteristics. . . . . . . . . . . . . . . . . . . SDRAM Interface AC Timing Characteristics. . . . . . . . . . . . . . . . . . . Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Boundary-Scan Test Interface AC Timing Characteristics. . . . . . . . . Thermal Package Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . Capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 231 247 247 248 251 251 252 257 258 267 267 268 280 281 292 336 336 337 339 340 341 342 343 346 346 347 348 350 351 353 354 355 355 2001-12-17 ABM-3G PXF 4333 V1.1 List of Registers Register 1 Register 2 Register 3 Register 4 Register 5 Register 6 Register 7 Register 8 Register 9 Register 10 Register 11 Register 12 Register 13 Register 14 Register 15 Register 16 Register 17 Register 18 Register 19 Register 20 Register 21 Register 22 Register 23 Register 24 Register 25 Register 26 Register 27 Register 28 Register 29 Register 30 Register 31 Register 32 Register 33 Register 34 Register 35 Register 36 Register 37 Register 38 Register 39 Register 40 Register 41 Register 42 Register 43 Register 44 Register 45 Register 46 Register 47 Register 48 Register 49 Register 50 Register 51 Data Sheet Page UCFTST/DCFTST............................................................................... URCFG/DRCFG ................................................................................. UA5TXHD0/DA5TXHD0 ..................................................................... UA5TXHD1/DA5TXHD1 ..................................................................... UA5TXDAT0/DA5TXDAT0 ................................................................. UA5TXDAT1/DA5TXDAT1 ................................................................. UA5TXTR/DA5TXTR .......................................................................... UA5TXCMD/DA5TXCMD ................................................................... UA5RXHD0/DA5RXHD0..................................................................... UA5RXHD1/DA5RXHD1..................................................................... UA5RXDAT0/DA5RXDAT0................................................................. UA5RXDAT1/DA5RXDAT1................................................................. UA5SARS/DA5SARS ......................................................................... UBufferOcc/DBufferOcc ...................................................................... UBufferOccNg/DBufferOccNg............................................................. UBufMax/DBufMax ............................................................................. UMAC/DMAC ...................................................................................... UMIC/DMIC......................................................................................... CLP1DIS ............................................................................................. CONFIG .............................................................................................. UUBPTH0 ........................................................................................... UUBPTH1 ........................................................................................... UUBPTH2 ........................................................................................... UUBPTH3 ........................................................................................... UBPEI ................................................................................................. DUBPTH0 ........................................................................................... DUBPTH1 ........................................................................................... DUBPTH2 ........................................................................................... DUBPTH3 ........................................................................................... LCI0 .................................................................................................... LCI1 .................................................................................................... LCI2 .................................................................................................... TCT0 ................................................................................................... TCT1 ................................................................................................... TCT2 ................................................................................................... TCT3 ................................................................................................... QCT0 .................................................................................................. QCT1 .................................................................................................. QCT2 .................................................................................................. QCT3 .................................................................................................. QCT4 .................................................................................................. QCT5 .................................................................................................. QCT6 .................................................................................................. SBOC0 ................................................................................................ SBOC1 ................................................................................................ SBOC2 ................................................................................................ SBOC3 ................................................................................................ SBOC4 ................................................................................................ MGT0 .................................................................................................. MGT1 .................................................................................................. MGT2 .................................................................................................. 14 156 157 158 160 162 163 164 165 166 168 170 171 172 174 175 176 178 179 180 181 181 183 184 185 186 187 188 189 190 192 193 194 198 201 204 207 213 214 217 219 220 221 222 225 226 227 228 229 232 233 234 2001-12-17 ABM-3G PXF 4333 V1.1 List of Registers Register 52 Register 53 Register 54 Register 55 Register 56 Register 57 Register 58 Register 59 Register 60 Register 61 Register 62 Register 63 Register 64 Register 65 Register 66 Register 67 Register 68 Register 69 Register 70 Register 71 Register 72 Register 73 Register 74 Register 75 Register 76 Register 77 Register 78 Register 79 Register 80 Register 81 Register 82 Register 83 Register 84 Register 85 Register 86 Register 87 Register 88 Register 89 Register 90 Register 91 Register 92 Register 93 Register 94 Register 95 Register 96 Register 97 Register 98 Register 99 Register 100 Register 101 Register 102 Data Sheet Page MASK0/MASK1................................................................................... MASK2/MASK3................................................................................... MASK4/MASK5................................................................................... MASK6 ................................................................................................ UCDV/DCDV....................................................................................... UQPTM0/DQPTM0 ............................................................................. UQPTM1/DQPTM1 ............................................................................. UQPTM2/DQPTM2 ............................................................................. UQPTM3/DQPTM3 ............................................................................. UQPTM4/DQPTM4 ............................................................................. UQPTM5/DQPTM5 ............................................................................. USCONF/DSCONF............................................................................. UQPT1T0/DQPT1T0........................................................................... UQPT1T1/DQPT1T1........................................................................... UQPT2T0/DQPT2T0........................................................................... UQPT2T1/DQPT2T1........................................................................... UQPT2T2/DQPT2T2........................................................................... UQPT2T3/DQPT2T3........................................................................... USADR/DSADR .................................................................................. USCTI/DSCTI ..................................................................................... UECRI/DECRI..................................................................................... UECRF/DECRF .................................................................................. UCRTQ/DCRTQ ................................................................................. USCTFM/DSCTFM ............................................................................. USCTFT/DSCTFT............................................................................... USCEN0/DSCEN0 .............................................................................. USCEN1/DSCEN1 .............................................................................. USCEN2/DSCEN2 .............................................................................. USCEN3/DSCEN3 .............................................................................. USCEN4/DSCEN4 .............................................................................. USCEN5/DSCEN5 .............................................................................. USCEN6/DSCEN6 .............................................................................. USCEN7/DSCEN7 .............................................................................. UCRTRI/DCRTRI ................................................................................ UCRTRF/DCRTRF ............................................................................. ERCT0 ................................................................................................ ERCT1 ................................................................................................ ERCM0 ............................................................................................... ERCM1 ............................................................................................... ERCCONF0 ........................................................................................ PLL1CONF ......................................................................................... PLLTST ............................................................................................... EXTRAMD0 ........................................................................................ EXTRAMD1 ........................................................................................ EXTRAMA0......................................................................................... EXTRAMA1......................................................................................... EXTRAMC .......................................................................................... VERL................................................................................................... VERH .................................................................................................. ISRU ................................................................................................... ISRD ................................................................................................... 15 235 236 237 238 239 240 241 242 243 244 245 246 249 250 253 254 255 256 259 260 263 264 265 266 269 270 271 272 273 274 275 276 277 278 279 282 283 284 285 286 287 289 290 291 292 293 294 295 296 297 300 2001-12-17 ABM-3G PXF 4333 V1.1 List of Registers Register 103 Register 104 Register 105 Register 106 Register 107 Register 108 Register 109 Register 110 Register 111 Register 112 Register 113 Register 114 Register 115 Register 116 Register 117 Register 118 Register 119 Register 120 Register 121 Register 122 Register 123 Register 124 Register 125 Register 126 Register 127 Data Sheet Page ISRC ................................................................................................... IMRU ................................................................................................... IMRD ................................................................................................... IMRC ................................................................................................... MAR .................................................................................................... WAR.................................................................................................... USTATUS ........................................................................................... MODE1 ............................................................................................... MODE2 ............................................................................................... UTRXCFG........................................................................................... UUTRXP0 ........................................................................................... UUTRXP1 ........................................................................................... UUTRXP2 ........................................................................................... DUTRXP0 ........................................................................................... DUTRXP1 ........................................................................................... DUTRXP2 ........................................................................................... UUTTXCFG ........................................................................................ DUTTXCFG ........................................................................................ UUTTXP0............................................................................................ UUTTXP1............................................................................................ UUTTXP2............................................................................................ DUTTXP0............................................................................................ DUTTXP1............................................................................................ DUTTXP2............................................................................................ TEST ................................................................................................... 16 303 304 305 306 307 309 311 312 315 317 319 320 321 322 323 324 325 327 329 330 331 332 333 334 335 2001-12-17 ABM-3G PXF 4333 V1.1 Preface The purpose of this Data Sheet is to provide comprehensive information about the ABM-3G device regarding system-level integration, hardware/board design, and software driver aspects. Organization of this Document This Data Sheet is divided into 13 chapters and two appendices. It is organized as follows: • Chapter 1, Overview Gives a general description of the product and its family, lists the key features, and presents some typical applications. • Chapter 2, Pin Descriptions Lists pin locations with associated signals, categorizes signals according to function, and describes the signals. • Chapter 3, Functional Description Gives descriptions of major functional blocks, configuration tables, and global device functions. • Chapter 4, Operational Description Describes basic initialization and operation procedures. • Chapter 5, Interface Description Gives a functional description of all interfaces. • Chapter 6, Memory Structure • Chapter 7, Register Description Lists all registers and tables with functional description. • Chapter 8, Electrical Characteristics Provides detailed information about electrical characteristics and interface timings. • Chapter 9, Test Mode • Chapter 10, Package Outlines • Chapter 11, Glossary Data Sheet 17 2001-12-17 ABM-3G PXF 4333 V1.1 Related Documentation [1] [2] [3] [4] ITU-T Recommendation I.371, Traffic Control and Congestion Control in B-ISDN, 2nd Release, March 1996. ATMF, Traffic Management Specification 4.1, March 1999. ATMF, UTOPIA Level 1 Specification Version 2.01, March 1994. ATMF, UTOPIA Level 2 Specification Version 1, June 1995. Your Comments We welcome your comments on this document. We are continuously trying improving our documentation. Please send your remarks and suggestions by e-mail to [email protected] Please provide in the subject of your e-mail: device name (ABM-3G), device part number (PXF 4333), device version (Version 1.1), and in the body of your e-mail: document type (Data Sheet), issue date (2001-12-17) and document revision number (DS 1). Data Sheet 18 2001-12-17 ABM-3G PXF 4333 V1.1 Overview 1 Overview The ABM-3G PXF 4333 Version 1.1 is Infineon’s new generation ATM Buffer Manager device. It addresses the performance needs of new multi-service platforms with combined ATM cell and packet-handling applications. The ABM-3G manages ATM traffic flowing through multi-service platforms in which voice, video, and data traffic converge. The optimizes the interworking of ATM and higher-layer traffic-management and flow-control schemes. Optional “leaky bucket” shaping per queue provides full VBR support. The ABM-3G is useful in applications where extensive ATM traffic management capabilities are required. This includes either distributed or centralized system architectures that cover enterprise and Central Office switches, DSLAMs, and ATM line cards for routers and switches. Data Sheet 19 2001-12-17 ATM Buffer Manager ABM-3G 1.1 ABM-3G PXF 4333 V1.1 Features • ATM Traffic Management processing support up to STM-4/OC-12 equivalent bandwidth • Throughput at UTOPIA Interface up to 687 Mbit/s transmit, 795 Mbit/s receive • Speed-up factor relative to STM-4/OC12: 1.32 • Uni-directional mode with combined resources of both P-BGA-456 directions (optional) • 256K cells buffer per direction (configurable in guaranteed and shared buffer) • Up to 16384 connections arbitrarily assignable to queues for sharing connections and saving resources • Up to 8192 queues per direction, individually assignable to schedulers and to traffic classes • Up to 128 Scheduler Blocks (SB) per direction with programmable service rates, individually assignable to UTOPIA ports • The ABM-3G is cascadable to provide up to 512 schedulers, 32K queues, and 1M cell memories per direction • Up to 16 traffic classes with individually-selectable thresholds for highest service differentiation • Up to 48 ports per UTOPIA Interface • Standards-compliant support for the following ATM Forum service categories: CBR, rt-VBR, nrt-VBR, GFR, UBR, UBR+ • Generic PHB (Per Hop Behavior) characteristics are configurable (PHB traffic class is not standardized) • Configurable cell-address translation modes • 1.1.1 Queueing Functions • Per-VC queueing for up to 8192 connections per direction for optimal connection isolation Type Package ABM-3G PXF 4333 V1.1 BGA-456 Data Sheet 20 2001-12-17 ABM-3G PXF 4333 V1.1 Overview • • • • Optional queue sharing Guaranteed per-queue minimum buffer reservation Cell acceptance based on programmable threshold sets with hysteresis evaluation Threshold sets for individual queues, traffic classes, schedulers, and global buffer for optimized buffer sharing • Per VC Packet Discard, including Early Packet Discard (EPD) & Partial Packet Discard (PPD) thresholds for Guaranteed Frame Rate (GFR) support • Cell Loss Priority (CLP) aware selective discard thresholds • UTOPIA input port backpressure thresholds without head-of-line-blocking 1.1.2 Scheduling Functions • Multistage scheduling units with – Work conservative Weighted Round Robin (WRR) scheduling stage for 128 Scheduler Blocks – Each Scheduler Block comprising of – a Weighted Fair Queueing (WFQ) scheduler with 16320 programmable weight factors for each queue, providing rate guarantees and fairness in bandwidth allocation – a high priority Round Robin (RR) scheduler for real-time traffic – a low priority RR scheduler for best effort traffic • Additional common real-time bypass queue for each direction, for cascading multiple ABM-3Gs • Selectable Peak Cell Rate (PCR) shaping for each queue with minimum 2.62 Kbps and maximum 343 Mbit/s at 52 MHz clock (65472 programmable rates) • Selectable Variable Bit Rate (VBR.1.2.3) leaky bucket shaping for up to 2046 queues • VC merge function for up to 128 merge groups (arbitrary queues per merge group) for Multi Protocol Label Switching (MPLS) applications • SB scheduler overbooking possibility 1.1.3 Interfaces • Two external SDRAM Interfaces for cell storage, one for upstream and one for downstream direction (up to 256 K cell buffer per direction) • One common cell pointer SSRAM Interface • Multiport UTOPIA Level 2 Interface in up- and downstream direction conforming to the specifications of the ATM Forum [4] – 4-cell FIFO buffer at UTOPIA receive interfaces for clock synchronization (head-of-line blocking-free) – 64-cell buffer logical queueing for up to 48 PHYs at UTOPIA transmit interfaces (head-of-line blocking-free) • 16-bit Microprocessor Interface, configurable as Intel or Motorola type (with AAL5 packet insertion/extraction support) Data Sheet 21 2001-12-17 ABM-3G PXF 4333 V1.1 Overview • Queue Congestion Indication Interface • JTAG Boundary Scan Interface 1.1.4 Supervision Functions • Internal pointer supervision • Cell-header protection function 1.1.5 • • • • Technology Supply voltages 1.8 V (core) and 3.3 V (I/Os) Ball Grid Array BGA-456 package (Plastic BGA (35 mm)2) Temperature range -40°C to 85°C Power dissipation 2.0 W (typical) Data Sheet 22 2001-12-17 ABM-3G PXF 4333 V1.1 Overview 1.2 Logic Symbol Cell Pointer RAM SSRAM Interface Upstream Cell Storage RAM SDRAM Interface UTOPIA L2 Interface (PHY Side) UTOPIA L2 Interface (Backplane Side) Figure 1-1 Data Sheet Test/ JTAG/ Clocking IF 16 Bit uP Interface Bus ABM-3G PXF 4333 V1.1 Downstream Cell Storage RAM SDRAM Interface Logic Symbol 23 2001-12-17 ABM-3G PXF 4333 V1.1 Overview 1.3 Typical Applications The ABM-3G device is designed for traffic management on line cards and trunk cards such as are used in: • • • • ATM Switches DSLAMs, DLCs Multi-Service Access Switches 3G Wireless Infrastructure • ATM Cell Domain RAM SSRAM SDRAM ATM PHY ATM PHY opt. ALP / AOP RAM ABM-P / ABM-3G Bridge Cell Backplane Bridge Packet Backplane SDRAM ARC Packet and Control Domain RAM TCV Packet Controller uP TCV Figure 1-2 Data Sheet General System Integration 24 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions 2 Pin Descriptions 2.1 Pin Diagram • Bottom View A B C D E F G H J K L M N P R T U V W Y AA AB AC AD AE AF 1 URX PRTYU URX CLKU URX DATU 0 URX DATU 2 URX DATU 4 URX DATU 8 URX DATU 12 VDD18 CPR ADR 18 CPR ADR 14 CPR ADR 10 CPR ADR 7 CPR ADR 2 CPR DAT 18 CPR DAT 13 CPR DAT 10 CPR DAT 5 CPR DAT 2 UTX DATD 15 UTX DATD 11 NC UTX DATD 4 UTX DATD 1 NC UTX CLKD UTX CLAV2 1 2 URX ENBU 1 URX ENBU 2 URX DATU 1 URX DATU 3 URX DATU 5 URX DATU 9 URX DATU 13 CPR OE CPR ADR 17 CPR ADR 13 CPR ADR 9 CPR ADR 6 CPR ADR 1 CPR DAT 19 CPR DAT 14 CPR DAT 11 CPR DAT 6 NC VDD18 UTX DATD 12 UTX DATD 8 UTX DATD 5 UTX DATD 2 UTX DATD 0 UTX PRTYD UTX CLAV1 2 3 URX ENBU 3 URX ADRU 0 URX ENBU 0 NC URX DATU 6 URX DATU 10 URX DATU 14 CPR GW CPR ADR 16 CPR ADR 12 CPR ADR 8 CPR ADR 5 CPR ADR 0 VDD18 CPR DAT 15 CPR DAT 12 CPR DAT 7 CPR DAT 3 CPR DAT 0 UTX DATD 13 UTX DATD 9 UTX DATD 6 UTX DATD 3 UTX SOCD UTX ADRD 4 UTX CLAV0 3 4 URX ADRU 1 URX ADRU 2 URX ADRU 3 URX SOCU URX DATU 7 URX DATU 11 URX DATU 15 CPR ADSC CPR ADR 15 CPR ADR 11 NC CPR ADR 4 CPR ADR 3 CPR DAT 17 CPR DAT 16 CPR DAT 9 CPR DAT 8 CPR DAT 4 CPR DAT 1 UTX DATD 14 UTX DATD 10 UTX DATD 7 UTX CLAV3 UTX ADRD 1 UTX ADRD 2 UTX ADRD 3 4 5 URX ADRU 4 VDD18 URX CLAVU 0 URX CLAVU 1 VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS UTX ENBD 2 UTX ENBD 3 VDD18 UTX ADRD 0 5 6 URX CLAVU 2 URX CLAVU 3 CSR WEU CSR CASU VSS VSS CSR DATD 30 CSR DATD 31 UTX ENBD 0 UTX ENBD 1 6 7 CSR RASU CSR CSU CSR ADRU 0 CSR ADRU 1 VDD33 VDD33 CSR DATD 26 CSR DATD 27 CSR DATD 28 CSR DATD 29 7 8 CSR ADRU 2 CSR ADRU 3 CSR ADRU 4 CSR ADRU 5 VDD33 VDD33 CSR DATD 23 CSR DATD 24 NC CSR DATD 25 8 9 CSR ADRU 6 CSR ADRU 7 CSR ADRU 8 CSR ADRU 9 VSS VSS CSR DATD 19 CSR DATD 20 CSR DATD 21 CSR DATD 22 9 10 CSR ADRU 10 CSR ADRU 11 CSR BAU 1 CSR BAU 0 VSS VSS CSR DATD 16 CSR DATD 17 NC CSR DATD 18 10 11 CSR DATU 1 CSR DATU 2 CSR DATU 3 CSR DATU 0 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR DATD 15 CSR DATD 12 CSR DATD 13 CSR DATD 14 11 12 VDD18 CSR DATU 4 CSR DATU 5 CSR DATU 6 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR DATD 10 CSR DATD 9 VDD18 CSR DATD 11 12 13 CSR DATU 8 CSR DATU 9 CSR DATU 10 CSR DATU 7 VSS VSS VSS VSS VSS VSS VSS VSS CSR DATD 8 CSR DATD 5 CSR DATD 6 CSR DATD 7 13 14 CSR DATU 13 CSR DATU 12 CSR DATU 11 CSR DATU 14 VSS VSS VSS VSS VSS VSS VSS VSS CSR DATD 2 CSR DATD 4 NC CSR DATD 3 14 15 CSR DATU 18 CSR DATU 17 CSR DATU 15 CSR DATU 16 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR DATD 1 CSR DATD 0 CSR BAD 0 CSR BAD 1 15 16 CSR DATU 21 CSR DATU 20 CSR DATU 19 CSR DATU 22 VDD33 CSR ADRD 8 CSR ADRD 11 CSR ADRD 10 CSR ADRD 9 16 17 CSR DATU 26 CSR DATU 25 CSR DATU 24 CSR DATU 23 VSS VSS CSR ADRD 7 CSR ADRD 6 CSR ADRD 5 CSR ADRD 4 17 18 CSR DATU 29 CSR DATU 28 VDD18 CSR DATU 27 VSS VSS CSR ADRD 3 CSR ADRD 2 CSR ADRD 1 NC 18 19 VSS VSS CSR DATU 31 CSR DATU 30 VDD33 VDD33 CSR ADRD 0 CSR CSD CSR RASD CSR CASD 19 20 TST ERC CLK NC NC NC VDD33 VDD33 CSR WED VDD18 URX ENBD 3 URX ENBD 2 20 VSS URX ENBD 1 URX ENBD 0 URX ADRD 4 URX ADRD 3 21 Bottom View VDD33 VSS Signal Names: xxx: active high xxx: active low VSS: 0V VDD33: 3.3V VDD18: 1.8V TRST EXT FREEZE RAM CLK VSS 22 UTX ENBU 0 TDO TMS TCK VSS VSS VDD33 VDD33 23 UTX ENBU 3 UTX ENBU 2 UTX ENBU 1 UTX ADRU 4 UTX DATU 2 UTX DATU 6 UTX DATU 10 UTX DATU 14 24 UTX ADRU 1 UTX ADRU 0 NC UTX PRTYU UTX DATU 1 UTX DATU 5 UTX DATU 9 UTX DATU 13 25 UTX ADRU 2 UTX CLAVU 0 UTX CLAVU 3 UTX SOCU UTX DATU 0 UTX DATU 4 UTX DATU 8 UTX DATU 12 VSS VSS oD VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS URX ADRD 2 URX ADRD 1 URX ADRD 0 URX CLAVD 3 22 MP INT MP RD VSS VDD18 PLL VSS PLL MP ADR2 VDD18 MP DAT1 MP DAT2 MP DAT6 MP DAT9 MP DAT13 URX DATD 1 URX DATD 4 NC URX CLAVD 2 URX CLAVD 1 URX CLAVD 0 23 MP WR VSS VSS PLL SYS CLK SEL SYS CLK MP ADR3 MP ADR6 MP DAT3 MP DAT7 MP DAT10 MP DAT14 VDD18 URX DATD 5 URX DATD 8 URX DATD 15 NC URX PRTYD 24 URX DATD 6 URX DATD 9 URX DATD 11 URX CLKD URX SOCD 25 26 MP CS MP MODE UTX ADRU 3 UTX CLAVU 1 UTX CLAVU 2 VDD18 UTX CLKU UTX DATU 3 UTX DATU 7 UTX DATU 11 UTX DATU 15 A B C D E F G H J Data Sheet VSS Internal Pull-Up Transistor Internal Pull-Down Transistor xxx signal name TDI Figure 2-1 VSS Special Pin Type: oD: open Drain tri: TriState 21 26 VSS tri VSS VSS RESET MP ADR0 MP ADR4 MP ADR7 MP DAT4 MP DAT8 MP DAT11 MP DAT15 URX DATD 2 MP INTD NC VSS VDD18 PLL MP ADR1 MP ADR5 MP DAT0 MP DAT5 NC MP DAT12 URX DATD 0 URX DATD 3 URX DATD 7 URX DATD 10 URX DATD 12 URX DATD 13 URX DATD 14 K L M N P R T U V W Y AA AB AC AD AE AF MP RDY oD Pin Configuration (Bottom View) 25 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions 2.2 Pin Diagram with Functional Groupings • Bottom View Test IF Cell Pointer SSRAM IF UTOPIA Transmit Downstream IF A B C D E F G H J K L M N P R T U V W Y AA AB AC AD AE AF 1 URX PRTYU URX CLKU URX DATU 0 URX DATU 2 URX DATU 4 URX DATU 8 URX DATU 12 VDD18 CPR ADR 18 CPR ADR 14 CPR ADR 10 CPR ADR 7 CPR ADR 2 CPR DAT 18 CPR DAT 13 CPR DAT 10 CPR DAT 5 CPR DAT 2 UTX DATD 15 UTX DATD 11 NC UTX DATD 4 UTX DATD 1 NC UTX CLKD UTX CLAV2 1 2 URX ENBU 1 URX ENBU 2 URX DATU 1 URX DATU 3 URX DATU 5 URX DATU 9 URX DATU 13 CPR OE CPR ADR 17 CPR ADR 13 CPR ADR 9 CPR ADR 6 CPR ADR 1 CPR DAT 19 CPR DAT 14 CPR DAT 11 CPR DAT 6 NC VDD18 UTX DATD 12 UTX DATD 8 UTX DATD 5 UTX DATD 2 UTX DATD 0 UTX PRTYD UTX CLAV1 2 3 URX ENBU 3 URX ADRU 0 URX ENBU 0 NC URX DATU 6 URX DATU 10 URX DATU 14 CPR GW CPR ADR 16 CPR ADR 12 CPR ADR 8 CPR ADR 5 CPR ADR 0 VDD18 CPR DAT 15 CPR DAT 12 CPR DAT 7 CPR DAT 3 CPR DAT 0 UTX DATD 13 UTX DATD 9 UTX DATD 6 UTX DATD 3 UTX SOCD UTX ADRD 4 UTX CLAV0 3 4 URX ADRU 1 URX ADRU 2 URX ADRU 3 URX SOCU URX DATU 7 URX DATU 11 URX DATU 15 CPR ADSC CPR ADR 15 CPR ADR 11 NC CPR ADR 4 CPR ADR 3 CPR DAT 17 CPR DAT 16 CPR DAT 9 CPR DAT 8 CPR DAT 4 CPR DAT 1 UTX DATD 14 UTX DATD 10 UTX DATD 7 UTX CLAV3 UTX ADRD 1 UTX ADRD 2 UTX ADRD 3 4 5 URX ADRU 4 VDD18 URX CLAVU 0 URX CLAVU 1 VSS VSS UTX ENBD 2 UTX ENBD 3 VDD18 UTX ADRD 0 5 6 URX CLAVU 2 URX CLAVU 3 CSR WEU CSR CASU VSS VSS CSR DATD 30 CSR DATD 31 UTX ENBD 0 UTX ENBD 1 6 7 CSR RASU CSR CSU CSR ADRU 0 CSR ADRU 1 VDD33 VDD33 CSR DATD 26 CSR DATD 27 CSR DATD 28 CSR DATD 29 7 8 CSR ADRU 2 CSR ADRU 3 CSR ADRU 4 CSR ADRU 5 VDD33 VDD33 CSR DATD 23 CSR DATD 24 NC CSR DATD 25 8 9 CSR ADRU 6 CSR ADRU 7 CSR ADRU 8 CSR ADRU 9 VSS VSS CSR DATD 19 CSR DATD 20 CSR DATD 21 CSR DATD 22 9 10 CSR ADRU 10 CSR ADRU 11 CSR BAU 1 CSR BAU 0 VSS VSS CSR DATD 16 CSR DATD 17 NC CSR DATD 18 10 11 CSR DATU 1 CSR DATU 2 CSR DATU 3 CSR DATU 0 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR DATD 15 CSR DATD 12 CSR DATD 13 CSR DATD 14 11 12 VDD18 CSR DATU 4 CSR DATU 5 CSR DATU 6 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR DATD 10 CSR DATD 9 VDD18 CSR DATD 11 12 13 CSR DATU 8 CSR DATU 9 CSR DATU 10 CSR DATU 7 VSS VSS VSS VSS VSS VSS VSS VSS CSR DATD 8 CSR DATD 5 CSR DATD 6 CSR DATD 7 13 14 CSR DATU 13 CSR DATU 12 CSR DATU 11 CSR DATU 14 VSS VSS VSS VSS VSS VSS VSS VSS CSR DATD 2 CSR DATD 4 NC CSR DATD 3 14 15 CSR DATU 18 CSR DATU 17 CSR DATU 15 CSR DATU 16 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR DATD 1 CSR DATD 0 CSR BAD 0 CSR BAD 1 15 16 CSR DATU 21 CSR DATU 20 CSR DATU 19 CSR DATU 22 VDD33 VSS VSS VSS VSS VSS VSS VDD33 CSR ADRD 8 CSR ADRD 11 CSR ADRD 10 CSR ADRD 9 16 17 CSR DATU 26 CSR DATU 25 CSR DATU 24 CSR DATU 23 VSS VSS CSR ADRD 7 CSR ADRD 6 CSR ADRD 5 CSR ADRD 4 17 18 CSR DATU 29 CSR DATU 28 VDD18 CSR DATU 27 VSS VSS CSR ADRD 3 CSR ADRD 2 CSR ADRD 1 NC 18 19 VSS VSS CSR DATU 31 CSR DATU 30 VDD33 VDD33 CSR ADRD 0 CSR CSD CSR RASD CSR CASD 19 20 TST ERC CLK NC NC NC VDD33 VDD33 CSR WED VDD18 URX ENBD 3 URX ENBD 2 20 VSS URX ENBD 1 URX ENBD 0 URX ADRD 4 URX ADRD 3 21 VSS VDD33 VDD33 Signal Names: xxx: active high xxx: active low VSS: 0V VDD33: 3.3V VDD18: 1.8V EXT FREEZE RAM CLK VSS 22 UTX ENBU 0 TDO TMS TCK VSS VSS VDD33 VDD33 23 UTX ENBU 3 UTX ENBU 2 UTX ENBU 1 UTX ADRU 4 UTX DATU 2 UTX DATU 6 UTX DATU 10 UTX DATU 14 24 UTX ADRU 1 UTX ADRU 0 NC UTX PRTYU UTX DATU 1 UTX DATU 5 UTX DATU 9 UTX DATU 13 25 UTX ADRU 2 UTX CLAVU 0 UTX CLAVU 3 UTX SOCU UTX DATU 0 UTX DATU 4 UTX DATU 8 UTX DATU 12 VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS oD VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS VDD33 VDD33 VSS VSS URX ADRD 2 URX ADRD 1 URX ADRD 0 URX CLAVD 3 22 MP INT MP RD VSS VDD18 PLL VSS PLL MP ADR2 VDD18 MP DAT1 MP DAT2 MP DAT6 MP DAT9 MP DAT13 URX DATD 1 URX DATD 4 NC URX CLAVD 2 URX CLAVD 1 URX CLAVD 0 23 MP WR VSS VSS PLL SYS CLK SEL SYS CLK MP ADR3 MP ADR6 MP DAT3 MP DAT7 MP DAT10 MP DAT14 VDD18 URX DATD 5 URX DATD 8 URX DATD 15 NC URX PRTYD 24 URX DATD 6 URX DATD 9 URX DATD 11 URX CLKD URX SOCD 25 26 MP CS MP MODE UTX ADRU 3 UTX CLAVU 1 UTX CLAVU 2 VDD18 UTX CLKU UTX DATU 3 UTX DATU 7 UTX DATU 11 UTX DATU 15 A B C D E F G H J Data Sheet VDD33 Internal Pull-Up Transistor Internal Pull-Down Transistor xxx signal name TRST Figure 2-2 VDD33 Special Pin Type: oD: open Drain tri: TriState TDI UTOPIA Transmit Upstream IF VSS Bottom View 21 26 VSS tri VSS VSS RESET MP ADR0 MP ADR4 MP ADR7 MP DAT4 MP DAT8 MP DAT11 MP DAT15 URX DATD 2 MP INTD NC VSS VDD18 PLL MP ADR1 MP ADR5 MP DAT0 MP DAT5 NC MP DAT12 URX DATD 0 URX DATD 3 URX DATD 7 URX DATD 10 URX DATD 12 URX DATD 13 URX DATD 14 K L M N P R T U V W Y AA AB AC AD AE AF MP RDY oD uP IF and Clock Supply IF Cell Storage SDRAM Downstrem IF Cell Storage SDRAM Upstrem IF UTOPIA Receive Upstream IF UTOPIA Receive Downstream IF Pin Configuration (Bottom View) 26 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions 2.3 Pin Definitions and Functions Table 2-1 lists and explains all pins/balls organized into functional groups. Table 2-1 uses the following naming conventions: Ball No. Ball Number with respect to package outline (see Figure 2-1) Symbol Signal Name Type Type of pin/ball: Function I Input pin IPD Input pin (Internal Pull-Down Transistor) IPU Input pin (Internal Pull-Up Transistor) O Output pin (Push/Pull) O (oD) Output pin (Open Drain) O (tri) Output pin (TriState) Functional pin/ball description Note: The ABM-3G signal pins are not 5 V I/O tolerant. For further details refer to “DC Characteristics” on Page 337. Table 2-1 Ball No. Ball Definitions and Functions Symbol 2.3.1 Type Function Common System Clock Supply (3 pins) P24 SYSCLK I System Clock This clock signal feeds DPLL1 and DPLL2 and the internal ABM-3G Core Clock, depending on signal SYSCLKSEL. N24 SYSCLKSEL IPD Internal ABM-3G Core Clock Source Select: ’H’: Internal Core Clock is supplied by signal SYSCLK ’L’: Internal Core Clock is supplied by DPLL1 Data Sheet 27 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Ball No. Symbol Type Function D21 RAMCLK O Reference clock for external RAM (CSRU, CSRD and CPR) 2.3.2 UTOPIA Receive Interface Upstream (Master/Slave) (32 pins) 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 A1 URXPRTYU A5, C4, B4, A4, B3 4, 3, 2, 1, 0 A3, B2, A2, C3 3, 2, 1, 0 Data Sheet I UTOPIA Receive Data Bus Upstream (from PHY) IPD UTOPIA Receive Odd Parity of URXDATU(15:0) (PHY side) I/O PD UTOPIA Receive Address Bus (PHY side) Master Mode: output Slave Mode: input I/O PU UTOPIA Receive Enable Bus (PHY side) Master Mode: output Slave Mode: input URXENBU(3:0) URXADRU(4:0) URXDATU(15:0) G4, G3, G2, G1, F4, F3, F2, F1, E4, E3, E2, E1, D2, D1, C2, C1 28 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function B6, A6, D5, C5 3, 2, 1, 0 I/O PD UTOPIA Receive CLAV Bus (PHY side) Master Mode: input Slave Mode: output D4 URXSOCU IPD UTOPIA Receive Start of Cell signal (PHY side) B1 URXCLKU I UTOPIA Receive Clock signal (PHY side) 2.3.3 URXCLAVU(3:0) Ball No. UTOPIA Transmit Interface Downstream (Master/Slave) (32 pins) 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 AE2 UTXPRTYD Data Sheet O UTOPIA Transmit Data Bus Downstream (to PHY) OPD UTOPIA Transmit Odd Parity of UTXDATD(15:0) (PHY side) UTXDATD(15:0) W1, Y4, Y3, Y2, Y1, AA4, AA3, AA2, AB4, AB3, AB2, AB1, AC3, AC2, AC1, AD2 29 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function AE3, AF4, AE4, AD4, AF5 4, 3, 2, 1, 0 I/O PD UTOPIA Transmit Address Bus (PHY side) Master Mode: output Slave Mode: input AD5, AC5, AF6, AE6 3, 2, 1, 0 I/O PU UTOPIA Transmit Enable Bus (PHY side) Master Mode: output Slave Mode: input AC4, AF1, AF2, AF3 3, 2, 1, 0 I/O PD UTOPIA Transmit CLAV Bus (PHY side) Master Mode: input Slave Mode: output AD3 UTXSOCD OPD UTOPIA Transmit Start of Cell signal (PHY side) AE1 UTXCLKD I UTOPIA Transmit Clock signal (PHY side) Data Sheet UTXCLAVD(3:0) UTXENBD(3:0) UTXADRD(4:0) Ball No. 30 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball No. Ball Definitions and Functions (cont’d) Symbol 2.3.4 Type Function UTOPIA Receive Interface Downstream (Master/Slave) (32 pins) 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 AF24 URXPRTYD AE21, AF21, AC22, AD22, AE22 4, 3, 2, 1, 0 AE20, AF20, AC21, AD21 3, 2, 1, 0 Data Sheet I UTOPIA Receive Data Bus Downstream (from Backplane) IPD UTOPIA Receive Odd Parity of URXDATD(15:0) (Backplane side) I/O PD UTOPIA Receive Address Bus (Backplane side) Master Mode: output Slave Mode: input I/O PU UTOPIA Receive Enable Bus (Backplane side) Master Mode: output Slave Mode: input URXENBD(3:0) URXADRD(4:0) URXDATD(15:0) AD24, AF26, AE26, AD26, AD25, AC26, AC25, AC24, AB26, AB25, AB24, AB23, AA26, AA25, AA23, Y26 31 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function AF22, AD23, AE23, AF23 3, 2, 1, 0 I/O PD UTOPIA Receive CLAV Bus (Backplane side) Master Mode: input Slave Mode: output AF25 URXSOCD IPD UTOPIA Receive Start of Cell signal (Backplane side) AE25 URXCLKD I UTOPIA Receive Clock signal (Backplane side) 2.3.5 URXCLAVD(3:0) Ball No. UTOPIA Transmit Interface Upstream (Master/Slave) (32 pins) 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 D24 UTXPRTYU Data Sheet O UTOPIA Transmit Data Bus Upstream (to Backplane) OPD UTOPIA Transmit Odd Parity of UTXDATU(15:0) (Backplane side) UTXDATU(15:0) J26, H23, H24, H25, H26, G23, G24, G25, G26, F23, F24, F25, F26, E23, E24, E25 32 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function D23, A26, A25, A24, B24 4, 3, 2, 1, 0 I/O PD UTOPIA Transmit Address Bus (Backplane side) Master Mode: output Slave Mode: input A23, B23, C23, A22 3, 2, 1, 0 I/O PU UTOPIA Transmit Enable Bus (Backplane side) Master Mode: output Slave Mode: input C25, C26, B26, B25 3, 2, 1, 0 I/O PD UTOPIA Transmit CLAV Bus (Backplane side) Master Mode: input Slave Mode: output D25 UTXSOCU OPD UTOPIA Transmit Start of Cell signal (Backplane side) E26 UTXCLKU I UTOPIA Transmit Clock signal (Backplane side) 2.3.6 N25 UTXCLAVU(3:0) UTXENBU(3:0) UTXADRU(4:0) Ball No. Microprocessor Interface (32 pins) RESET Data Sheet I ABM-3G Reset 33 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function Y25, Y24, Y23, W26, W25, W24, W23, V25, V24, V23, U26, U25, U24, U23, T23, T26 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 I/O Microprocessor Data Bus T25, T24, R26, R25, R24, P23, P26, P25 7, 6, 5, 4, 3, 2, 1, 0 I Microprocessor Address Bus K24 MPWR I WR when MPMOD=0 (Intel Mode) R/W when MPMOD=1 (Motorola Mode). K23 MPRD I RD when MPMOD=0 (Intel Mode) DS when MPMOD=1 (Motorola Mode). J24 MPCS I Chip Select from Microprocessor. J23 MPINT O(oD) Interrupt Request to Microprocessor. Open drain, needs external pull-up resistor. Interrupt pins of several devices can be wired-or together. K25 MPRDY O(tri) Ready Output to Microprocessor for read and write accesses. Data Sheet MPADR(7:0) MPDAT(15:0) Ball No. 34 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Ball No. Symbol Type Function J25 MPMODE IPD Intel/Motorola select: ’L’ Intel type processor ’H’ Motorola type processor C19, D19, A18, B18, D18, A17, B17, C17, D17, D16, A16, B16, C16, A15, B15, D15, C15, D14, A14, B14, C14, C13, B13, A13, D13, D12, C12, B12, C11, B11, A11, D11 Cell Storage RAM Upstream (50 pins) 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 Data Sheet I/O Data Bus to Cell Storage RAM Upstream CSRDATU(31:0) 2.3.7 35 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function D10 CSRBAU0 O Cell Storage RAM Bank Address 0 Upstream C10 CSRBAU1 O Cell Storage RAM Bank Address 1 Upstream B10, A10, D9, C9, B9, A9, D8, C8, B8, A8, D7, C7 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 O Address Bus of Cell Storage RAM Upstream B7 CSRCSU O Cell Storage RAM Upstream Chip Select A7 CSRRASU O Cell Storage RAM Upstream Row Address Strobe D6 CSRCASU O Cell Storage RAM Upstream Column Address Strobe C6 CSRWEU O Cell Storage RAM Upstream Write Enable Data Sheet CSRADRU(11:0) Ball No. 36 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball No. Ball Definitions and Functions (cont’d) Symbol 2.3.8 Type Function Cell Storage RAM Downstream (50 pins) 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 AE15 CSRBAD0 Data Sheet I/O Data Bus to Cell Storage RAM Downstream O Cell Storage RAM Bank Address 0 Downstream CSRDATD(31:0) AD6, AC6, AF7, AE7, AD7, AC7, AF8, AD8, AC8, AF9, AE9, AD9, AC9, AF10, AD10, AC10, AC11, AF11, AE11, AD11, AF12, AC12, AD12, AC13, AF13, AE13, AD13, AD14, AF14, AC14, AC15, AD15 37 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function AF15 CSRBAD1 O Cell Storage RAM Bank Address 1 Downstream AD16, AE16, AF16, AC16, AC17, AD17, AE17, AF17, AC18, AD18, AE18, AC19 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 O Address Bus of Cell Storage RAM Downstream AD19 CSRCSD O Cell Storage RAM Downstream Chip Select AE19 CSRRASD O Cell Storage RAM Downstream Row Address Strobe AF19 CSRCASD O Cell Storage RAM Downstream Column Address Strobe AC20 CSRWED O Cell Storage RAM Downstream Write Enable Data Sheet CSRADRD(11:0) Ball No. 38 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 2.3.9 P2, P1, P4, R4, R3, R2, R1, T3, T2, T1, T4, U4, U3, U2, U1, V4, V3, V1, W4, W3 Ball Definitions and Functions (cont’d) Symbol Type Function Common Up- and Downstream Cell Pointer RAM (42 pins) 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 Data Sheet I/O Data Bus to Cell Pointer RAM CPRDAT(19:0) Ball No. 39 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball Definitions and Functions (cont’d) Symbol Type Function J1, J2, J3, J4, K1, K2, K3, K4, L1, L2, L3, M1, M2, M3, M4, N4, N1, N2, N3 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 O Address Bus of Cell Pointer RAM H4 CPRADSC O Cell Pointer RAM Chip Select H3 CPRGW O Cell Pointer RAM Write Enable H2 CPROE O Cell Pointer RAM Output Enable 2.3.10 CPRADR(18:0) Ball No. JTAG Boundary Scan (5 pins) TDI IPU D22 TCK I PU C22 TMS IPU A21 PU B21 TRST I B22 TDO O Data Sheet Test Data Input. Test Clock. Test Mode Select. Test Data Reset Test Data Output In normal operation, must not be connected. 40 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball No. Ball Definitions and Functions (cont’d) Symbol 2.3.11 Type Function Production Test (2 pin) A20 TSTERCCLK IPD For device test only, do not connect. Must not be connected in normal operation. C21 EXTFREEZ IPD For device test only, do not connect. Must not be connected in normal operation. 2.3.12 Supply (74 VSS, 32 VDD33 and 14 VDD18 pins) A19, B19, E5, E6, E9, E10, E13, VSS, Chip GND Supply E14, E17, E18, E21, E22, F5, F22, (All pins should be connected to the same level) J5, J22, K5, K22, L11, L12, L13, L14, L15, L16, L23, L24, L25, M11, M12, M13, M14, M15, M16, M25, M26, N5, N11, N12, N13, N14, N15, N16, N22, P5, P11, P12, P13, P14, P15, P16, P22, R11, R12, R13, R14, R15, R16, T11, T12, T13, T14, T15, T16, U5, U22, V5, V22, AA5, AA22, AB5, AB6, AB9, AB10, AB13, AB14, AB17, AB18, AB21, AB22 E7, E8, E11, E12, E15, E16, E19, VDD33, Chip 3.3 V Supply E20, G5, G22, H5, H22, L5, L22, (All pins should be connected to the same level) M5, M22, R5, R22, T5, T22, W5, W22, Y5, Y22, AB7, AB8, AB11, AB12, AB15, AB16, AB19, AB20 B5, A12, C18, D26, R23, AA24, AD20, AE12, AE5, W2, P3, H1 VDD18, Chip 1.8 V Supply (All pins should be connected to the same level) N23, M24 VSS PLL, Chip GND Supply (All pins should be connected to the same level) N26, M23 VDD18 PLL, Chip 1.8 V Supply (All pins should be connected to the same level) Data Sheet 41 2001-12-17 ABM-3G PXF 4333 V1.1 Pin Descriptions Table 2-1 Ball No. Ball Definitions and Functions (cont’d) Symbol 2.3.13 Type Function Unconnected (13 pins) B20, C20, D20, L26, K26, D3, L4, Unconnected pins. V2, AA1, AD1, AE8, AE10, AE14, It is recommended to leave these pins unconnected on the board to guarantee board compatibility to AF18, AE24, AC23, V26, C24 future device versions. Note: Total signal pins: 323; total power supply pins: 120. Data Sheet 42 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3 Functional Description 3.1 Block Diagrams Figure 3-1 shows a typical sub-system integration scenario using the ABM-3G. The memory configurations are examples and depend on the ABM-3G operation modes and required queueing resources. • Cell Pointer RAM Upstream Cell Storage RAM ... . .. ... ... 4M*16 4M*16 ... ... 512K*32 .. . ... . .. . .. .. . .. . UTOPIA L2 Interface (PHY Side) UTOPIA L2 Interface (Backplane Side) PXF 4333 ABM-3G .. . .. . ... .. . . .. Test/ JTAG/ Clocking IF ... 16 Bit uP Interface Bus ... ... Figure 3-1 4M*16 4M*16 Downstream Cell Storage RAM Sub-System Integration Diagram Figure 3-2 shows a functional block diagram of the ABM-3G. The function blocks are referenced and described in more detail in subsequent chapters. Data Sheet 43 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • 687 Mbit/s (53 byte, 51.84MHz) SSRAM IF 50 SDRAM Interface (up) ARC Cell Handler upstream UTOPIA Interface (PHY Side) 64 Test/ Clocks 42 Buffer Manager AAL5 Cell Handler downstream BSCAN 5 Figure 3-2 Queue Scheduler uP IF ARC UTOPIA Interface (Backplane Side) 14 687 Mbit/s (53 Byte, 51.84 MHz) 687 Mbit/s (53 byte, 51.84MHz) 64 687 Mbit/s (53 Byte, 51.84 MHz) SDRAM Interface (dn) 32 50 Functional Block Diagram Figure 3-3 shows a logical illustration of the ATM Buffer Manager (ABM-3G) core for one direction. Cells are assigned to queues in the Buffer Manager unit. The cell acceptance algorithm verifies that no thresholds are exceeded that are provided for queues, schedulers, traffic classes, as well as for the global buffer. Once accepted, a cell cannot be lost, but will be emitted at the respective UTOPIA Interface after some time (exception: queue has been disabled while cells are stored). Alternatively, cells can be received from the Microprocessor Interface via the AAL5 unit. The demultiplexer forwards the cells to the respective queue associated with a scheduler which sorts them for transmission according to the programmed configuration. As part of the scheduling function, an optional Peak Rate Limiter and a Leaky-Bucket shaper are provided for the shaping of individual queues (connections). The Queue Scheduler and the Buffer Manager are the key units for QoS provisioning in the ABM-3G. The behavior of both units is described in subsequent chapters. The output multiplexer recombines the cell streams of all schedulers. Emitted cells are either forwarded to the UTOPIA Transmit Interface or to the AAL5 unit for extraction. Data Sheet 44 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Empty Cell Cycles Buffer Manager cells out W F Q Queue with Shaping Function Scheduler Rate Shaping Cyclic Mux WFQ Weighted Fair Queueing Scheduler S B S UTOPIA Transmit D E M U X uP Interface Cell Acceptance Algorithm Address Reduction Scheduler Block #127 Scheduler Block #1 Scheduler Block #0 AAL5 Assistant AAL5 Assistant cells in uP Interface UTOPIA Receive ARC Global Real Time Bypass Strict Priority Mux Figure 3-3 3.1.1 Logical Block Diagram (One Direction) Throughput and Speedup At a given clock frequency, applied to the ABM-3G UTOPIA interfaces and the ABM-3G core, the core is the limiting factor for throughput because it needs 32 clock cycles per cell as opposed to UTOPIA, which needs only 27+2. The available speedup in the ABM-3G relative to STM-4/OC12 transmission rates is shown in Table 3-4. Table 3-4 Maximum ABM-3G Throughput and Speedup Clock Frequency ABM-3G core Throughput Speedup relative to STM-4/OC12 (599.04 Mbit/s) [Mbit/s] (53 Byte Cells) 51.84 686.88 Data Sheet 1.146 45 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.2 Functional Block Description 3.2.1 Cell Handler (Upstream/Downstream) The Cell Handler (CH) units are responsible for the physical data flow of storing and retrieving cells to/from the respective Cell Storage RAM or insertion and extraction of Resource Management (RM) cells. Updates to the cell header section or to the cell contents in case of OAM-RM cells are also performed by the Cell Handler units. 3.2.2 Buffer Manager and Queue Scheduler (Overview) The Buffer Manager (BM) unit is the central function of the ABM-3G device and handles the logical data flows for upstream and downstream direction. It utilizes the Queue Scheduler to coordinate cell emission and a common Cell Pointer RAM (SSRAM) to administrate cell storage. Any cell entering the CH unit is reported to the BM unit running the cell acceptance algorithm. In a first step a cell is classified and associated to the logical resource entities connection, queue, traffic class and scheduler. Once all associated resources are determined, the BM runs the cell acceptance algorithm based on the current parameter sets. As a result of all threshold evaluations the cell is either discarded or accepted and related counters are updated accordingly. Non-empty queues are reported to the Queue Scheduler (QS) unit to be scheduled by the associated calendar. In return the QS unit reports queues to the Buffer Manager that are due for cell transmission in the current cell slot. Upon a cell emit request for a specific queue the BM requests the Cell Handler to retrieve and transmit the next cell. Since the BM and QS units are the central functions of the ABM-3G device they are described in more detail in chapter “Buffer Manager and Queue Scheduler Details” on Page 60. 3.2.3 AAL5 Assistant The AAL5 Assistant unit allows insertion and extraction of AAL5 segmented packets from and towards the Microprocessor Interface. Supported by the corresponding software driver, the unit implements an “in-line” SAR function, i.e. one packet is processed at any time by an SAR function. However, upstream and downstream flow as well as extraction and insertion are independent functions that may be operationally interleaved. For extraction, a Scheduler Block must be associated to the AAL5 Assistant unit and each queue assigned to this scheduler block must be assigned to a VC-merge group to guarantee that complete packets are forwarded to the AAL5 Assistant unit. The scheduler block rates can be adjusted according to the microprocessor interface bandwidth or the intended CPU load. However, the CPU may extract the payload chunks at a lower rate which will result in internal scheduler block backpressure. No data loss Data Sheet 46 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description will occur in that case. The CPU reads consecutive bytes from the cell’s payload chunks that can be re-assembled immediately in the host memory while the AAL5 Assistant unit checks the AAL5 trailer. The section “AAL5 Packet Extraction” on Page 121 provides programming details. Refer to “Scheduler Configuration Table Integer Transfer Registers” on Page 257 for the assignment of scheduler blocks to the AAL5 Assistant and the programming of their rates. For insertion, the CPU prepares the ATM cell header for the following packet and writes packet payload chunks to the AAL5 Assistant unit which will generate the cells and the AAL5 trailer for automatic completion of the last cell of the packet. Internally, the cells are forwarded to either the downstream or upstream Cell Handler and processed in the same way as cells received by an UTOPIA receive interface. The section “AAL5 Packet Insertion” on Page 121 provides the details. 3.2.4 Internal Address Reduction Unit The ABM-3G requires an internal 16-bit Local Connection Identifier (LCI) to address its resources. Two basic cell addressing schemes are supported to extract/generate an LCI from the cell header: • LCI Mapping Modes An external device generates an LCI and maps it into the ATM cell header. Three different mapping modes are supported by the ABM-3G. The LCI mapping modes are described as part of the UTOPIA interface description in chapters “UTOPIA L2 Interfaces (PHY side)” on Page 124 and “UTOPIA L2 Interface (Backplane side)” on Page 134. • Internal Address Reduction Mode The ABM-3G generates its own internal LCI as a programmable combination of the cell header fields VPI, VCI and the Port Number (PN). The port number is taken either from the UTOPIA port number or the UDF1 cell header byte. Internal Address Reduction Two parameters in Register 111 "MODE2" on Page 315 determine the building function of the internal LCI value: • PNUM(2:0) Determines the number of bits taken from the port number field. • MNUM(3:0) Determines the VCI and VPI ranges depending on the cell header VPI value. Two translation functions are effective, depending on the cell header VPI(11:0) value compared to the configured parameter MNUM. Data Sheet 47 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description In the first case ì x = 16 – MNUM x VPI (11,0) < 2 – 1 ; with í îx = 0 for for MNUM > 0 ü ý MNUM = 0 þ the LCI is built by {VPI, VCI, PN} values whereas the VCI range is given by (MNUM - PNUM) bits and the VPI range is given by (16 - MNUM) bits. Note: Programming MNUM(3:0) = 0 is interpreted as decimal 16. The following tables provide the possible LCI building patterns for all allowed PNUM and MNUM configurations. The resulting LCI is internally treated in the same way as in the LCI cell header mapping modes, i.e. the two MSBs are checked against the quarter segment configuration that allows for cascading of up to four ABM-3G devices. Note: VPI and VCI cell header field positions that are not mapped into the LCI are checked against ‘0’. A mismatch is treated as ‘invalid LCI’ and the cell is discarded. Data Sheet 48 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • PNUM MNUM 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 8 VPI(7:0) VCI(7:0) 0 9 VPI(6:0) VCI(8:0) 0 10 VPI(5:0) VCI(9:0) 0 11 VPI(4:0) VCI(10:0) 0 12 VPI(3:0) VCI(11:0) 1 9 PN VCI(7:0) VPI(6:0) 1 10 PN VPI(5:0) VCI(8:0) 1 11 PN VPI(4:0) VCI(9:0) 1 12 PN VPI(3:0) VCI(10:0) 1 13 PN VPI(2:0) VCI(11:0) 1 14 PN VPI(1:0) VCI(12:0) 1 15 VPI PN VCI(13:0) 1 16 PN VCI(14:0) 2 9 VPI(6:0) VCI(6:0) PN(1:0) 2 10 VPI(5:0) VCI(7:0) PN(1:0) 2 11 VCI(8:0) PN(1:0) VPI(4:0) 2 12 VPI(3:0) VCI(9:0) PN(1:0) 2 13 VPI(2:0) VCI(10:0) PN(1:0) 2 14 VPI(1:0) VCI(11:0) PN(1:0) 2 15 VPI VCI(12:0) PN(1:0) 2 16 VCI(13:0) PN(1:0) 3 10 PN(2:0) VCI(6:0) VPI(5:0) 3 11 VCI(7:0) PN(2:0) VPI(4:0) 3 12 PN(2:0) VPI(3:0) VCI(8:0) 3 13 PN(2:0) VPI(2:0) VCI(9:0) 3 14 VPI(1:0) PN(2:0) VCI(10:0) 3 15 VPI PN(2:0) VCI(11:0) 3 16 PN(2:0) VCI(12:0) 4 10 PN(3:0) VCI(5:0) VPI(5:0) 4 11 PN(3:0) VPI(4:0) VCI(6:0) 4 12 VPI(3:0) VCI(7:0) PN(3:0) 4 13 PN(3:0) VPI(2:0) VCI(8:0) 4 14 VCI(9:0) PN(3:0) VPI(1:0) 4 15 VPI PN(3:0) VCI(10:0) 4 16 VCI(11:0) PN(3:0) 5 11 VPI(4:0) VCI(5:0) PN(4:0) 5 12 VPI(3:0) VCI(6:0) PN(4:0) 5 13 VPI(2:0) VCI(7:0) PN(4:0) 5 14 VPI(1:0) VCI(8:0) PN(4:0) 5 15 VPI VCI(9:0) PN(4:0) 5 16 VCI(10:0) PN(4:0) 6 12 VCI(5:0) PN(5:0) VPI(3:0) 6 13 PN(5:0) VPI(2:0) VCI(6:0) 6 14 VPI(1:0) VCI(7:0) PN(5:0) 6 15 VPI VCI(8:0) PN(5:0) 6 16 VCI(9:0) PN(5:0) 7 13 VPI(2:0) VCI(5:0) PN(6:0) 7 14 VPI(1:0) VCI(6:0) PN(6:0) 7 15 VPI PN(6:0) VCI(7:0) 7 16 VCI(8:0) PN(6:0) Figure 3-5 Data Sheet LCI Building Patterns 49 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description In the second case ì x = 16 – MNUM x VPI (11,0) ≥ 2 – 1 ; with í îx = 0 for for MNUM > 0 ü ý MNUM = 0 þ the LCI is built by {VPI, PN} values only whereas the VPI range is given by MNUM bits. Note: Programming MNUM(3:0) = 0 is interpreted as decimal 16. The following tables provide the possible LCI building patterns for all PNUM and MNUM configurations. The resulting LCI is internally treated in the same way as in the LCI cell header mapping modes, i.e. the two MSBs are checked against the quarter segment configuration that allows for cascading of up to four ABM-3G devices. Note: VPI cell header field positions that are not mapped into the LCI are checked against ‘0’. A mismatch is treated as ‘invalid LCI’ and the cell is discarded. Note: When QS check is enabled (for cascaded ABM-3Gs), the transparent VPCs are handled by the ABM-3G with QS=11b. See Register 111 "MODE2" on Page 315. Data Sheet 50 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • PNUM MNUM 15 0 8 1 0 9 1 0 10 1 0 11 1 0 12 1 1 9 1 1 10 1 1 11 1 1 12 1 1 13 1 1 14 1 1 15 1 1 16 2 9 1 2 10 1 2 11 1 2 12 1 2 13 1 2 14 1 2 15 1 2 16 3 10 1 3 11 1 3 12 1 3 13 1 3 14 1 3 15 1 3 16 4 10 1 4 11 1 4 12 1 4 13 1 4 14 1 4 15 1 4 16 5 11 1 5 12 1 5 13 1 5 14 1 5 15 1 5 16 6 12 1 6 13 1 6 14 1 6 15 1 6 16 7 13 1 7 14 1 7 15 1 7 16 Figure 3-6 Data Sheet 14 1 1 1 1 1 1 1 1 1 1 1 13 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 12 1 1 1 1 1 1 1 1 1 11 1 1 1 1 10 1 1 1 9 1 1 8 1 7 6 5 4 3 2 1 0 VPI(7:0) VPI(8:0) VPI(9:0) VPI(10:0) VPI(11:0) 1 1 1 PN VPI(7:0) 1 1 PN VPI(8:0) 1 PN VPI(9:0) PN VPI(10:0) PN VPI(11:0) PN VPI(12:0) PN VPI(13:0) PN VPI(14:0) 1 1 1 1 VPI(6:0) PN(1:0) 1 1 1 PN(1:0) VPI(7:0) 1 1 VPI(8:0) PN(1:0) 1 VPI(9:0) PN(1:0) VPI(10:0) PN(1:0) VPI(11:0) PN(1:0) VPI(12:0) PN(1:0) VPI(13:0) PN(1:0) 1 1 1 VPI(6:0) PN(2:0) 1 1 VPI(7:0) PN(2:0) 1 VPI(8:0) PN(2:0) VPI(9:0) PN(2:0) VPI(10:0) PN(2:0) VPI(11:0) PN(2:0) VPI(12:0) PN(2:0) 1 1 1 VPI(5:0) PN(3:0) 1 1 VPI(6:0) PN(3:0) 1 VPI(7:0) PN(3:0) VPI(8:0) PN(3:0) VPI(9:0) PN(3:0) VPI(10:0) PN(3:0) VPI(11:0) PN(3:0) 1 1 VPI(5:0) PN(4:0) 1 PN(4:0) VPI(6:0) VPI(7:0) PN(4:0) VPI(8:0) PN(4:0) VPI(9:0) PN(4:0) VPI(10:0) PN(4:0) 1 VPI(5:0) PN(5:0) VPI(6:0) PN(5:0) VPI(7:0) PN(5:0) VPI(8:0) PN(5:0) PN(5:0) VPI(9:0) VPI(5:0) PN(6:0) VPI(6:0) PN(6:0) VPI(7:0) PN(6:0) VPI(8:0) PN(6:0) LCI Building Patterns (VPI only) 51 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.2.5 Clocking System The clocking system of the ABM-3G distinguishes the core clock and the UTOPIA Interfaces whereas each UTOPIA Interface and direction (transmit/receive) is clocked independently, as shown in Figure 3-7. UTOPIA backplane transmit Clocking System Overview UTOPIA PHY receive internal ABM-3G core clock UTOPIA PHY transmit ABM-3G Core Logic UTOPIA backplane receive 3.2.5.1 Bypass1 Divider2 Divider1 URXCLKD UTXCLKU SYSCLKSEL SYSCLK URXCLKU UTXCLKD DPLL1 Note: Testmodes are not illustrated in this figure. Figure 3-7 Data Sheet Clocking System Overview 52 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.2.5.2 DPLL Programming The DPLL features two factors programmed by parameters m and n in register “PLL1CONF” on Page 287 : f 1 = f in ⁄ ( m + 1 ) ; n+1 f 2 = f in × -------------m+1 Register PLL1CONF 15 0 Lockedi Div2Eni Div1Eni Bypassi fin (1) X PUi 1 (m + 1) RESi Mi(3:0) f1 2..15 MHz Ni(5:0) f2 (n + 1) Figure 3-8 X 1/2 (0) (0) fout (1) (1) X 1/2 (0) DPLL Structure The division factor determined by m must be chosen such that intermediate frequency f1 is in the range 2..15 MHz based on the input frequency at signal ‘SYSCLK’. The multiplication factor determined by n must be chosen such that intermediate frequency f2 is twice or four times the final value in case of DPLL1. Finally, one or two divisions by the two factors (f1,f2) may be enabled in case of DPLL1 to achieve the final clock frequency. When choosing the factors m and n, two conditions must be met: • n=1..24: f1 must be in a range of 5..15 MHz n=25..63: f1 must be in a range of 2..6 MHz • f2 must be in a range of 100 to 200 MHz 3.2.5.3 Programming Example The following numbers are assumed for this example: • ABM-3G internal core clock: 52 MHz Data Sheet 53 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • Clock supply: 52 MHz at signal SYSCLK In this example, signal SYSCLKSEL must be connected to VSS to connect the internal core clock to the DPLL1 output. (Please refer to Figure 3-7) DPLL1 Programming A reasonable value for parameter M1 in register “PLL1CONF” on Page 287 is M1 = 12 which results in f1 = 52 MHz / (12 + 1) = 4 MHz. Now a possible value for parameter N1 is N1 = 25 which results in f2 = 4 MHz * (25 + 1) = 104 MHz. To achieve the 52 MHz core clock division factor 1 shall be enabled. Thus, for this example the value 3B19H must be programmed to register PLL1CONF. The conditions given above are met because f1=4 MHz is in the range of 2..6 MHz (n=25) and f2=104 MHz is between 100 and 200 MHz. Note: Multiple combinations of parameters are possible to achieve a 52 MHz clock in this example. 3.2.5.4 Initialization Phase After power-on reset, the DPLL is in bypass mode which means that signal ‘SYSCLK’ is directly feeding the internal core clock. After basic configuration of at least the DPLL configuration registers, the bypass can be disabled which will make a glitch-free adjustment of the internal clocks to the selected frequency. 3.2.6 Reset System The ABM-3G provides three different reset sources, as shown in Figure 3-9. The hardware signal RESET affects the entire device. The self-clearing software reset bit ‘SWRES’ in register “MODE1” on Page 312 also affects the entire device. Hardware reset as well as software reset bit ‘SWRES’ completely initialize the device into power-on reset state. Data Sheet 54 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description SSRAM IF SDRAM Interface (up) ARC UTOPIA Interface (PHY Side) Cell Handler upstream Buffer Manager (BM) AAL5 Cell Handler downstream uP IF RESET BSCAN Figure 3-9 Queue Scheduler (QS) ARC UTOPIA Interface (Backplane Side) Test/ Clocks SDRAM Interface (dn) bit 15 SWRES Register ‘MODE 1’ Reset System Overview Note: Initialization of external and internal RAM must be started by software via command bits ‘INITRAM’ and ‘INITSDRAM’ in register “MODE1” on Page 312 following the device reset. 3.3 System Integration The ABM-3G has two operational modes: Bi-directional mode and Uni-directional mode. The directional terminology for the modes refers to the usage of the ABM-3G cores, not to the connections. The connections are bi-directional in all cases. In Bi-directional mode, one ABM-3G core is used exclusively for the cells of a connection in the upstream direction and the other core exclusively handles cells of the same connection in the downstream direction. In Uni-directional mode, only one core always will be used to handle the cells of a connection both in up- and downstream direction. The two basic Data Sheet 55 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description applications for these modes are the switch port line card application and the miniswitch, respectively. On a typical switch port line card, both the upstream and downstream cell flow pass through the same ABM-3G device. One ABM-3G core is used for each direction as shown in Figure 3-10. SSRAM interface UTOPIA upstream receive MASTER SDRAM interface ABM-3G Core upstream UTOPIA upstream transmit SLAVE Common LCI Table UTOPIA downstr. transmit MASTER µP interface ABM-3G Core downstream SDRAM interface UTOPIA downstr. receive SLAVE JTAG interface Figure 3-10 ABM-3G in Bi-directional Mode The ABM-3G assumes that all connections are set up bi-directionally with the same Local Connection Identifier (LCI) in both directions. In the Infineon ATM chip set environment, the LCI is provided by the PXB 4350 E ALP and contains VPI, VCI, and PHY information. If the ABM-3G is not used with the ALP, it can extract the LCI from VPI or VCI fields or generate the LCI by using the internal Address Reduction Circuit (ARC). In a mini-switch application, the total throughput at 51.84 MHz is 687 Mbit/s. Only the UTOPIA Receive and Transmit interfaces at the PHY-side are active. Both ABM-3G cores are selected from the multiplexer options shown in Figure 3-11. Each cell is forwarded to both ABM-3G cores and the LCI table entry for the connection determines which of the two cores accepts the cell. The other core ignores it. Thus, each cell is stored and queued in one of the two cores. The cell streams of both cores are multiplexed together at the output. In normal operation, the schedulers are programmed such that the sum of all output rates does not exceed the maximum rate supported by Data Sheet 56 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description the UTOPIA transmit interface. However, bandwidth overbooking of the interface is also possible, resulting in backpressure towards the respective ABM-3G core. SSRAM interface UTOPIA upstream receive MASTER SDRAM interface ABM-3G Core upstream UTOPIA upstream transmit SLAVE Common LCI Table UTOPIA downstr. transmit MASTER µP interface UTOPIA downstr. receive SLAVE ABM-3G Core downstream SDRAM interface JTAG interface Figure 3-11 ABM-3G in Uni-directional Mode Using both Cores If the resources of one core are sufficient, the downstream core can be deactivated (see Figure 3-12). This reduces power consumption and allows omission of the external downstream SDRAM. It also permits the SSRAM to be smaller (see below). SSRAM interface UTOPIA upstream receive MASTER SDRAM interface ABM-3G Core upstream UTOPIA upstream transmit SLAVE Common LCI Table UTOPIA downstr. transmit MASTER µP interface UTOPIA downstr. receive SLAVE ABM-3G Core downstream SDRAM interface JTAG interface Figure 3-12 ABM-3G in Uni-directional Mode Using one Core Data Sheet 57 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.3.1 LCI Translation in Mini-Switch Configurations In Uni-directional applications, the ABM-3G can be programmed to make a minimum header translation. This is necessary in a Mini-Switch configuration as both the forward and backward direction of a connection traverse the devices in the same direction. The OAM functions in the Infineon ALP (PXB 4350) or AOP (PXB 4340) devices need the same LCI for forward and backward direction of a connection. This is clarified by the example shown in Figure 3-13 in which a connection is set up from PHY1 to PHY2. VPI/VCI1 is the identifier on the transmission line where PHY1 is connected. The terminal sends ATM cells with this identifier and expects cells in the backward direction from PHY2 with the same identifier. The ALP in the upstream direction translates VPI/VCI1 into LCI1, the unique local identifier for this connection in the upstream direction. Similarly, for the backward connection from PHY2 to PHY1, the ALP receives ATM cells from PHY2 with the identifier VPI/VCI2 and translates them into LCI2. ABM-3G Uni-directional mode) VPI/VCI1 Cores Phy 1 LCI1 HT LCI1 LCI2 ALP PXB 4350 LCI2 AOP PXB 4340 LCI1 HT LCI1 LCI2 LCI2 LCI= LCI+/-1 Phy 2 VPI/VCI2 HT = Header Translation LCI = Local Connection Identifier Figure 3-13 Connection Identifiers in Mini-Switch Configuration For minimum complexity, the header translation of the ABM-3G is done by inverting the Least Significant Bit (LSB) of the LCI. This measure divides the available LCI range into two parts: odd LCI values for forward connections and even LCI values for backward connections (or vice-versa). That is, it reduces the available number of connection identifiers to 8192, because two LCI values are used per connection. This is not a restriction in the case of arbitrary address reduction modes as, for example, Data Sheet 58 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description when the ALP chip is used with the CAME chip (PXB 4360), as ATM connections are always set up bi-directionally with the same VPI/VCI in both directions of a link. Refer to Register 110 "MODE1" on Page 312 for the configuration of the bi-directional and uni-directional mode, the enabling of the LCI toggling, as well as the deactivation of the downstream core. Note: In case of fixed address reduction, as, for example, when using the ALP with the built-in Address Reduction Circuit (ARC), the usable LCI range may be seriously restricted, depending on the PHY configuration. Data Sheet 59 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4 Buffer Manager and Queue Scheduler Details This section provides more detailed information about buffering (cell acceptance) and scheduling (cell emission) functions. • Queue Scheduler Unit Empty Cell Cycle Common Real-Time Queue Scheduler Block 0 Scheduler Block j Buffer Manager Unit W F Q discard SBS accept DEMUX Cell Acceptance Algorithm R R R R Scheduler Block 127 Denotes an optional per Queue Rate Shaper (PCR limited leaky bucket ) Denotes an absolute per Scheduler Block Rate Figure 3-14 Cell Acceptance and Scheduling Data Sheet 60 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.1 Buffer Manager 3.4.1.1 Functional Overview The basic function of the Buffer Manager (BM) is to decide whether an arriving cell is granted access to the shared buffer or is discarded. This is done by running the Cell Acceptance Algorithm (CAA) (see Chapter 3.4.1.7). The buffer manager tables accessed by the CAA are summarized in Figure 3-15. Local Connection Identifier Table 16384 entries LCI Connection Specific Data (up / down) Scheduler Block Occupancy Table 2 x 128 entries Queue Configuration Table 2 x 8192 entries SBID QID Scheduler Specific Data Queue Specific Data TCID Traffic Class Table 2 x 16 entries Queue / Traffic Class Specific Data Global Buffer Data Cell Acceptance Algorithm Figure 3-15 Buffer Manager Tables More generally, the buffer manager allocates the buffer resources needed to fulfill the specific service guarantees of individual connections. In a first step when receiving a cell, the Local Connection Identifier (LCI) that was previously assigned by the Header Translation (see Figure 3-13), is mapped to a corresponding Queue Identifier (QID). The QID represents the logical queue in which the cell will be stored upon acceptance and serves as an index for subsequent table lookups. In particular, the Scheduler Block and the Traffic Class of the received cell is identified with the Scheduler Block Identifier (SBID) and the Traffic Class Identifier (TCID) respectively. With any incoming cell, the Cell Acceptance Algorithm (CAA) can access the current buffer status information containing counters, thresholds and flags. Based on this data, the cell is either discarded or accepted. The respective counters are updated appropriately. Data Sheet 61 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Under normal operation conditions, once a cell is accepted by the CAA, it will be emitted at a time. The only reason for cell discard after cell acceptance is queue disabling. The cell itself is stored in the external cell store RAM. The logical queue is a linked list of pointers to the cell store RAM providing a FIFO ordering. 3.4.1.2 Logical Buffer Views The ABM-3G Cell Buffer is structured by the Buffer Manager into the following major logical views: • • • • Global Buffer, Logical Queues, Scheduler Blocks, Traffic Classes. Each view is characterized by attributes, state variables (e.g. occupancy counters), and programmable thresholds. 3.4.1.2.1 Global Buffer A total amount of 262,140 cells can be stored per direction in the global cell buffer. Depending on the particular threshold configuration, global buffer space can be exclusively reserved or shared among different logical queues, scheduler blocks or traffic classes and the individual connections assigned to them. 3.4.1.2.2 Logical Queues The concept of logical queues is implemented to provide isolation between connections or groups of connections sharing the global buffer. Strict per VC queueing is achieved by exclusively assigning connections to logical queues. However, it is also possible to assign more than one connection to a particular logical queue. A total of 8192 logical queues is provided per direction, with QIDs ranging from 0 to 8191. QID 0 is reserved for the common real-time (CRT) bypass queue. It may be used for realtime traffic in case of an unstructured ABM-3G output, as e.g. in input buffered switches and also for cascading multiple ABM-3Gs. The common real-time bypass is programmed as a rate limited queue. Section 3.4.2.1 provides scheduling related details. 3.4.1.2.3 Scheduler Blocks From a buffer manager perspective, Scheduler Blocks (SB) can be conceived as a grouping of logical queues sharing the bandwidth provided by the configured SB rate. Each logical queue, except the common real-time (CRT) bypass (QID=0), is unambiguously assigned to a scheduler block. A total of 128 Scheduler Blocks is provided per direction. Data Sheet 62 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Scheduler Blocks are usually assigned to ports, logical channels, or limited terminated VPCs, providing the necessary rate adaptation. Section 3.4.3 provides the details. SB occupancy thresholds are provided for buffer protection in case of SB overload. 3.4.1.2.4 Traffic Classes The concept of traffic classes is introduced to provide a logical grouping of queues with common properties, defined by a set of parameters. Each logical queue is unambiguously assigned to a traffic class and inherits the thresholds and flags defined therein. The Buffer Manager supports up to 16 distinct parameter sets for traffic classes in the Traffic Class Table (TCT). Each parameter set includes thresholds and flags as listed in Chapter 3.4.1.3. S c h e d u le r B lo c k 0 S c h e d u le r B lo c k 1 2 7 RR WFQ RR RR WFQ RR Figure 3-16 shows the independent assignment connections to queues and of queues to traffic classes and schedulers. T r a f fic c la s s 0 T ra ffic c la s s 1 T r a ff ic c la s s 1 5 V ir tu a l C o n n e c tio n to Q u e u e M a p p in g Q u e u e to S c h e d u le r M a p p in g Q u e u e to T r a ffic C la s s M a p p in g Figure 3-16 Queue Assignment to Traffic Classes and Scheduler Blocks Traffic classes are the principal buffer management concept for Quality of Service (QoS) differentiation. They are not pre-defined or fixed to the standard ATM service categories. This allows for configuration of generic or new services (e.g. DiffServ Per Hop Behaviors (PHB) as defined by the IETF). Along with the queue scheduler concept of scheduler blocks (see Section 3.4.2.2), a wide range of QoS objectives can be met. Data Sheet 63 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.1.3 Threshold Classification The different threshold types are listed in Table 3-17. In this section, each classification includes a short description. 3.4.1.3.1 Discard Thresholds Discard thresholds are used by the Cell Acceptance Algorithm (see Chapter 3.4.1.7). The CAA is invoked every time a cell arrives and calculates a truth value from individual discard conditions. A discard condition is an expression involving thresholds, counters, flags, parameters, and state variables that renders a truth value as result. Several basic discard conditions can be combined to implement more advanced discard mechanisms (see Chapter 3.4.1.6). Basic Discard Conditions The simplest discard condition is the comparison of an occupancy counter with a threshold. A common classification of discard conditions includes: • Maximum A discard condition is classified as Maximum Fill if it is independent of the CLP transparency flag or if the CLP transparency flag is set to 1. • CLP1 A discard condition is classified as CLP1 if it is dependent on the setting of the CLP transparency flag to 0. • Packet A discard condition refers to a packet if it is dependent on the setting of EPDen = 1 or PPDen = 1. A particular threshold can participate in several discard conditions. In the ABM-3G, it is quite common to use a threshold in both maximum fill and packet discard conditions. Refer to Table 3-17. Discard Control Parameters Besides the simple comparison of a threshold value to a counter, several flags and variables are combined to provide more complex discard conditions. • CLP1DIS CLP1 thresholds are only enabled if the number of CLP1 cells in the SB, counted by SBOccLP is greater or equal to CLP1DIS. To enable CLP1 thresholds unconditionally, this threshold must be set to 0 in Register 19 "CLP1DIS" on Page 180. • MinBG This queue-specific threshold disables discard when the QueueLength counter is lower than MinBG. The description of the minimum buffer guarantee in Section 3.4.1.6.4 provides the details. Data Sheet 64 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • DH Delta Hysteresis is a traffic class specific factor applied to all maximum thresholds. The description of the hysteresis mechanism in Section 3.4.1.6.5 provides the details. 3.4.1.3.2 Backpressure Thresholds • UTOPIA Backpressure Thresholds These thresholds (four in upstream and four in downstream direction) are global thresholds with respect to the cell buffer fill level and result in backpressure of specific port groups of the respective UTOPIA receive interface. 3.4.1.4 Counter Classification The ABM-3G Buffer Manager contains the following counter types • Occupancy Counters These counters reflect the current buffer state and are basic elements in discard, congestion indication and backpressure mechanisms. • Statistics Counters These counters are used for measurements and statistics. Refer also to Chapter 3.4.1.8. 3.4.1.5 Threshold and Occupancy Counter Overview Table 3-17 summarizes thresholds and occupancy counters used by the Cell Acceptance Algorithm. The thresholds are grouped by logical buffer view. For each arriving cell, all conditions in this table are checked. Several thresholds may be exceeded at the same time. Therefore, the table is not a truth table. Data Sheet 65 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Scheduler Block Global Buffer BufferOccNg LCI Table Maximum 4 x x x n x x x PPD 4 x 1 x n x x 0/1 Maximum 1024 x x x y x x 0/1 PPD 1) 1024 x 1 x n x x 0/1 1024 1 x 0 n x x 0/1 CLP CLPT BufMaxNg BufferOcc DH BufMax CRT Queue Granularity Enabling Flags GFRen TCT0 TCT3 Threshold Type PPDen Reg 16 Traffic Class Related Occupancy Counter Location Logical Buffer View Threshold Affected Cells Threshold and Counter Table EPDen Table 3-17 TCT0 BufEPDNg BufferOccNg EPD GFR 1024 1 x 1 n x x 0/1 TCT1 BufCiCLP1 BufferOccNg CLP1 1024 0 x x n 0 x 1 PPD 1024 0 1 x n 0 x 1 EPD 1024 1 x x n 0 x 1 4 x x x n x x x Reg 21 UBTH0 Reg 22 UBTH1 4 x x x n x x x Reg 23 UBTH2 4 x x x n x x x Reg 24 UBTH3 4 x x x n x x x TCT3 SBMax Maximum 1024 0 x x y 0 0 0/1 PPD 1024 0 1 x n x 0 0/1 TCT2 SBCiCLP1 BufferOccNg SBOccNg SBOccNg UTOPIA backpressure EPD 1024 1 x 0 n x 0 0/1 GFR 1024 1 x 1 n x 0 0/1 CLP1 64 0 x x n 0 0 1 PPD 64 0 1 x n x 0 1 EPD 64 1 x x n x 0 1 64 x x x n x 0 1 Reg 19 CLP1DIS SBOccLP Reservation TCT3 TrafClassMax TrafClassOccNg Maximum 1024 0 x x y x x 0/1 PPD 1024 0 1 x n x x 0/1 Data Sheet EPD 1024 1 x 0 n x x 0/1 GFR 1024 1 x 1 n x x 0/1 66 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description PPDen GFRen DH CLPT QueueLimit (16383) QueueLength Maximum 1 x x x n x x 0/1 PPD 1 x 1 x n x x 0/1 QueueMax QueueLength Maximum 64 0 x x y x x 0/1 PPD 64 0 1 x n x x 0/1 TCT0 QueueCiCLP1 QueueLength EPD 64 1 x x n x x 0/1 GFR 64 1 x 1 n x x 0/1 CLP1 4 0 x x n 0 x 1 PPD 4 0 1 x n x x 1 EPD QCT2 1) MinBG QueueLength CLP Enabling Flags Granularity Queue TCT1 LCI Table Threshold Type CRT Queue Related Occupancy Counter Location Logical Buffer View Fixed TCT3 Affected Cells Threshold and Counter Table Threshold EPDen Table 3-17 Reservation 4 1 x x n 1 x 1 1, 8 x x x n x x 0/1 Not a true PPD threshold because the last cell of the packet is also discarded when BufMaxNg is exceeded. Note: The flags in columns “TCT3 enabling flags” indicate the traffic class settings required to make the threshold effective during cell acceptance algorithm for a cell (connection) determined to belong to that traffic class. An ‘x’ means don’t care, i.e. the flag has no effect on the threshold. The same applies to flag “CLPT” which is a connection specific setting in the LCI table. The column “affected cells” indicates whether the threshold affects CLP0, CLP1 or all cells. Note: The thresholds and counters shown above are available in both the upstream and the downstream ABM-3G core. In case of registers, the variable name is prefixed with U for upstream and D for downstream in the register tables of Chapter 7. 3.4.1.6 Discard Mechanisms and Buffer Reservation Each arriving cell is classified by determination of its QID, SBID, and TCID. The discard mechanisms available in the ABM-3G Buffer Manager are based on occupancy counters and the programmable thresholds described in Chapter 3.4.1.3 and Chapter 3.4.1.4. 3.4.1.6.1 Maximum Fill Discard A maximum fill discard occurs if the cell counter exceeds the related maximum fill threshold at cell arrival. Data Sheet 67 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description The following maximum fill thresholds are available: BufMax, and QueueLimit are determined by physical limits. BufMaxNg, SBMax, TrafClassMax, QueueMax are configured per traffic class. 3.4.1.6.2 Selective CLP1 Discard Selective discard is based on the CLP marking found in the arriving cells and is enabled by the CLP transparency flag (CLPT) stored per connection in the LCI table. In cell discard mode, the mechanism triggers tail drop for CLP=1 cells only. In this mode, the mechanism is used to limit the buffer space provided for the non-guaranteed part of VBR.2/.3 traffic. In packet discard mode, the mechanism triggers EPD for CLP=1 frames only. According to the GFR conformance definition, a CLP1 frame is assumed when the first cell of the frame is a CLP1 cell. In this mode, the mechanism is used mainly for the GFR service. The following discard thresholds are available to control selective CLP1 discard: BufCiCLP1, SBCiCLP1, QueueCiCLP1. Note: There is no selective CLP1 discard threshold available for the traffic class view. 3.4.1.6.3 Packet Discard Packet discard mechanisms rely on the AAL5 End Of Packet (EOP) indication in the PTI field of the cell header. The ABM-3G implements two packet discard mechanisms: • Early Packet Discard (EPD) • Partial Packet Discard (PPD). Packet discard can be enabled individually per traffic class by setting the flags EPDen and PPDen in the TCT respectively. The dynamic status of an ongoing packet discard is stored per connection in the fields LastCellOfPacket, DiscardPacket and DiscardRestOfPacket in the LCI table. Both mechanisms are provided to avoid or reduce the volume in the transmission of corrupted packets and therefore improve utilization of buffer and bandwidth resources. Early Packet Discard (EPD) The Early Packet Discard (EPD) mechanism drops all cells of a packet if it decides to drop the first cell of that packet. In packet discard mode, if at cell arrival the related cell counter exceeds this threshold, and the flag LastCellOfPacket is enabled in the LCI table, indicating that the arriving cell is the first cell of a packet, then the cell is discarded and the flag DiscardPacket is enabled in the LCI table. All subsequently arriving cells of the packet are discarded without taking into consideration the cell counter. EPD may only be applied to non real-time connections. The mechanism is enabled by the software configurable flag EPDen, specified per traffic class in the TCT. Data Sheet 68 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description The Buffer Manager attempts not to corrupt a packet, once it has accepted the first cell. This means that for EPDen=1, the maximum thresholds TrafClassMax, SBMax and QueueMax are disabled for the rest of the packet. Only the thresholds BufMax, BufMaxNg and QueueLimit can corrupt an accepted packet. Partial Packet Discard (PPD) Under the rare circumstances described at the end of the previous section, it may happen that a cell is discarded from within a packet although the EPD algorithm has accepted it. In this case it is meaningful to discard also all following cells of the packet. However, the last cell of a partially discarded packet should be buffered if possible, since the reassemble mechanism at the receiver is triggered by the last cells of user data packets. This mechanism is referred to as Partial Packet Discard (PPD). In packet discard mode, if at cell arrival the related cell counter exceeds this threshold, and the exceeding cell is not an end of packet or an OAM cell, then the cell is discarded and the flag DiscardRestOfPacket is enabled in the LCI table. All subsequently arriving cells of the packet, excluding the last cell of the packet, are discarded without taking into consideration the cell counter. PPD may only be applied to non real-time connections. The mechanism is enabled by the software configurable flag PPDen, specified per traffic class in the TCT. Note: EPD/PPD functionality is offered by the ABM-3G on a per VC basis. Hence, these functions can be supported also for connections sharing a queue. Note: Cell discarding due to EPD and PPD does not apply to non-user cells, e.g. an OAM cell within a packet is not discarded. GFR Packet Discard The EPD mechanism in combination with the flag GFRen is used to support the GFR service. GFR packet discard works only in conjunction with EPDen = 1 and discards only a well defined subset of the packets normally eligible for EPD. In particular, when EPDen = 1 and GFRen = 1, a packet is discarded only if: [(BufEPDNg or SBMax or TrafClassMax) and QueueMax] or any of the EPD CLP1 thresholds is exceeded. GFRen and PPDen are independent. GFRen has no influence on PPD and PPDen has no influence on GFR. GFRen has no influence on the discard of CLP=1 frames. Therefore there is no difference between EPD and GFR packet discard regarding CLP=1 frames. 3.4.1.6.4 Minimum Buffer Reservation A minimum buffer reservation is provided on a per queue basis by setting parameter MinBG. As long as the queue length has not reached this value, an incoming cell can be Data Sheet 69 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description stored without further checks, except the queue threshold checks. When the MinBG limit is exceeded, the Cell Acceptance Algorithm checks if buffer space is available in the non guaranteed buffer space. BufMax Reserved queue 1 Reserved queue 2 Queue 1 Reserved queue 3 Queue 2 BufMaxNg BufEPD QueueMax MinBG QueueLength BufferOccNg Queue 3 Part of Buffer shared by all queues / connections Shared buffer Reserved buffer QueueLimit Figure 3-18 Buffer Management with per Queue Minimum Buffer Reservation For all traffic classes, the threshold BufMaxNg must be adjusted appropriately, such that, if LQ is the set of logical queues allocated so far, then: BufMax – BufMaxNg ≥ å MinBG i ∀i ∈ LQ Although the ABM-3G in principle has the knowledge of all programmed guaranteed minimum queue sizes, it does not perform the summation for complexity reasons. Refer to Register 39 "QCT2" on Page 217 for the programming of minimum buffer reservation thresholds. If the condition in the formula above is not fulfilled, then error condition BCFGE occurs and is signalled in Register 101 "ISRU" on Page 297 or Register 102 "ISRD" on Page 300 respectively. 3.4.1.6.5 Hysteresis for Maximum Thresholds Hysteresis is an optional feature for the maximum thresholds BufMaxNg, SBMax, TrafClassMax, and QueueMax in cell discard mode. Hysteresis means that cell discard starts when any of the maximum thresholds mentioned above (referred to as TH for convenience) is exceeded and continues until the level falls below a threshold TL that is considerably lower than TH. Data Sheet 70 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description A hysteresis control parameter DHi is provided per traffic class i. It is used to calculate the low threshold TLi from a given high threshold THi according to: TL i = TH i – ( TH i » [ DH i + 1 ] ) , with DHi ranging from 1 to 7. DHi=0 disables the feature. “DH” on Page 207 provides the programming details. An example for the hysteresis mechanism is shown in Figure 3-19 below. When TH is exceeded, a connection specific discard flag is set which is cleared again when the buffer fill falls below TL. This flag is used by the cell acceptance algorithm to differentiate between accept state and discard state. B uffe r_size THi TLi tim e b uffer falls b elow T Li ce lls of traffic class i a re acce pted = > em ptyin g rate sinks, cle ar disca rd flag b uffer falls b elow T H i ce lls of traffic class i a re still dis carde d som e con nectio ns red uce ra te = > buffe r fill falls T H i is re ach ed, c ells of tra ffic class i a re d isca rd ed = > C e ll acce ptan ce rate is redu ced , s et d is card flag C ell a ccep tanc e rate is h ig he r than cell em ission ra te Figure 3-19 Buffer Threshold with Hysteresis Hysteresis is not used with packet discard and CLP1 discard thresholds. Hysteresis avoids oscillation effects when the buffer fill is just stable at a certain value and this value just coincides with a certain threshold. A stable buffer fill occurs when input and output flow of the buffer are equal. However, due to cell clumping effects the fill value will vary with a cell jitter in the range 10..100 cells. The hysteresis threshold difference should be larger than the jitter. 3.4.1.7 Cell Acceptance Algorithm The following pseudo-code provides the cell acceptance algorithm of the ABM-3G based on the parameter set listed in Chapter 3.4.1.3. Data Sheet 71 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.1.7.1 Discard Conditions /***** Basic Max/EPD ExceedMaxBuffer = ExceedMaxGlobal = ExceedEpdGlobal = ExceedMaxSB = ExceedMaxTrafClass = ExceedMaxQueueLimit= ExceedMaxQueue = conditions **********************************/ (BufferOcc = BufMax) (BufferOccNg >= BufMaxNg) (BufferOccNg >= BufEPDNg) (SBOccNg >= SBMax) AND (QID != 0) (TrafClassOccNg >= TrafClassMax) (QueueLength = QueueLimit) (QueueLength >= QueueMax) /***** Basic CLP1 conditions *************************************/ ActiveCLP1 = (CLP=1) AND (CLPT = FALSE) ExceedCLP1Global = ExceedCLP1SB = ExceedCLP1Queue = (BufferOccNg >= BufCiCLP1) AND ActiveCLP1 (SBOccNg >= SBCiCLP1) AND (QID != 0) AND ActiveCLP1 (QueueLength >= QueueCiCLP1) AND ActiveCLP1 /***** Basic reservation conditions ******************************/ ExceedMinBG = (QueueLength >= MinBG) ExceedCLP1DIS = (SBOccLP >= CLP1DIS) OR (QID = 0) /***** Derived conditions ****************************************/ ExceedMaxNg = ExceedMinBG AND {[ (EPDen = FALSE) AND ( ExceedMaxTrafClass OR ExceedMaxSB OR ExceedMaxQueue ) ] OR ExceedMaxGlobal } ExceedEpd = ExceedMinBG AND [ ExceedEpdGlobal OR ExceedMaxTrafClass OR ExceedMaxSB ] ExceedEpdCLP1 = ExceedCLP1DIS AND {[ ExceedMinBG AND (ExceedCLP1Global OR ExceedCLP1SB) ] OR ExceedCLP1Queue } ExceedCLP1 = ExceedEpdCLP1 AND (EPDen = FALSE) 3.4.1.7.2 EPD Algorithm Based on the variables set by the EPD support parts of the threshold exceed algorithm and queue specific variables, the EPD algorithm decides upon the acceptance of a packet. Data Sheet 72 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description IF THEN ELSE LastCellOfPacket AND UserToUserCell IF [(ExceedEpd OR ExceedMaxQueue) AND (GFRen = FALSE)] OR (ExceedEpd AND ExceedMaxQueue) OR ExceedEpdCLP1 THEN DiscardPacket = TRUE ELSE DiscardPacket = FALSE Do nothing IF THEN ELSE EPDen AND UserToUserCell AND DiscardPacket CellAcceptedByEPD = FALSE CellAcceptedByEPD = TRUE LastCellOfPacket = UserToUserCell AND EndOfPacket 3.4.1.7.3 PPD Algorithm If the PPD algorithm is applied, the last cell of a corrupted packet should be accepted. IF THEN PPDen AND UserToUserCell AND EndOfPacket DiscardRestOfPacket = FALSE IF THEN ELSE PPDen AND UserToUserCell AND DiscardRestOfPacket CellAcceptedByPPD = FALSE CellAcceptedByPPD = TRUE 3.4.1.7.4 Hysteresis Algorithm For any threshold TH:Delta(TH) = TH - TH/2**[DH + 1] with DH in 1..7 FillBelowHyst = (ExceedMinBG = FALSE) OR (DH = 0) OR [ (BufferOccNg < Delta(BufMaxNg)) AND ((SBOccNg < Delta(SBMax)) OR (QID = 0)) AND (TrafClassOccNg < Delta(TrafClassMax)) AND (QueueLength >= Delta(QueueMax)) ] IF THEN UserToUserCell AND (PPDen = FALSE) AND FillBelowHyst DiscardRestOfPacket = FALSE IF THEN ELSE UserToUserCell AND (PPDen = FALSE) AND DiscardRestOfPacket CellAcceptedByHyst = FALSE CellAcceptedByHyst = TRUE Data Sheet 73 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.1.7.5 Overall Cell Acceptance Algorithm The overall decision whether an arriving cell is buffered is based on the results of the previous algorithms. The arriving cell can only be accepted if all algorithms would accept the cell and if buffer space is available. To obtain the overall decision whether a correctly received cell is finally buffered the following algorithm applies: IF (ExceedMaxBuffer = FALSE) AND (ExceedMaxQueueLimit = FALSE) AND (ExceedMaxNg = FALSE) AND (ExceedCLP1 = FALSE) AND (CellAcceptedByEPD = TRUE) AND (CellAcceptedByPPD = TRUE) AND (CellAcceptedByHyst = TRUE) BufferIncomingCell DiscardIncomingCell IF PPDen AND UserToUserCell AND (EndOfPacket = FALSE) THEN DiscardRestOfPacket = TRUE IF PPDen = FALSE AND UserToUserCell AND ExceedMaxNg THEN DiscardRestOfPacket = TRUE THEN ELSE See Figure 4-9 for an example of threshold configuration. 3.4.1.8 Statistical Counters In addition to the occupancy counters, which may also be used for statistical purposes, the ABM-3G device provides several dedicated counters for statistics purposes. These are summarized in Table 3-20: • Statistical Counters Name Reg 17 UMAC/DMAC 16 Maximum buffer occupancy value since last readout Reg 18 UMIC/DMIC 16 Minimum buffer occupancy value since last readout Data Sheet Comment Width Location Buffer BM view Table 3-20 74 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description SB Statistical Counters (cont’d) Name Comment TCT2 TCT3 AcceptedCells/ Packets 32 Total transmitted cells or packets, selectable by flag SCNT TCT0 LostPackets/CLP1Cells 16 EPD discards or CLP1 discards TCT2 TCT3 LostCellsTotal 32 Total cell discards TCT1 LostCellsBuffer 4 Global buffer overflow cell discards TCT1 LostCellsSB 4 Scheduler block overflow discards Width Location Traffic Class BM view Table 3-20 SBOC0 SBOccLPd SBOC1 Data Sheet 18 Scheduler block CLP1 cell discards 75 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.2 Queue Scheduler 3.4.2.1 Functional Overview The basic function of the hierarchical Queue Scheduler (QS) is to properly allocate cell transmission slots to scheduler blocks and within those to queues, enabling them to send buffered cells. Thereby, the QS allocates the bandwidth resources needed to fulfill the specific service guarantees of individual connections. Internally, the QS functions are implemented by two basic building blocks: 128 identical scheduler blocks (SB) and a subsequent round robin scheduler (SBS) as depicted in Figure 3-21. In addition to these, a prioritized empty cell generator queue (for SDRAM refresh) and a Common Real-Time (CRT) queue which also has priority over the SBS, are provided. These two queues are assumed to be rate limited. Section 4.2.2.4 and Section 4.2.2.3 respectively provide the details on the programming of these queues. • Empty Cell Cycles Common RT Queue SB0 R R W F Q SBS Buffer Manager UTOPIA R R SB127 R R W F Q R R Figure 3-21 Functional Structure of the Hierarchical Queue Scheduler In summary, the Queue Scheduler calculates a QID for each cell emission opportunity. Data Sheet 76 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.2.2 Scheduler Block Each Scheduler Block (SB) is a cascade of two scheduling levels, a combination of Weighted Fair Queueing (WFQ) and Round Robin (RR) schedulers in the first stage, followed by a priority scheduler in the second stage as shown in Figure 3-22. An arbitrary number of queues from a maximum of 8191 can be assigned to each scheduler input at stage 1. (Queue 0 is reserved for the common real-time bypass). Scheduler #j optional PCR or VBR Shaper Real-Time Traffic (e.g. CBR, rt-VBR) R R (1) W F Q (2) R R (3) highest priority W0 W1 Non Real-Time, Guaranteed Rate Traffic (e.g. nrt-VBR, ABR, GFR, UBR+) configured output rate Wn Non Real-Time, Best Effort Traffic (e.g. UBR) Logical Queues Multiplexers lowest priority Wi: WFQ Weight Factor Figure 3-22 Scheduler Block Structure Scheduler Blocks are the principal queue scheduler concept for QoS differentiation. Together with the buffer manager concept of traffic classes, various QoS objectives can be met. 3.4.2.2.1 Priority Scheduler The priority scheduler implemented in the scheduler block of the ABM-3G has three priority levels. As long as there are buffered cells destined to pass at priority 1, only these cells are served. Otherwise, buffered cells destined to pass at priority 2 are served. Only when there are neither priority 1 nor priority 2 cells buffered, then cells from priority 3 are allowed to pass. As a result the available bandwidth for priority 1 traffic is the total output bandwidth. The available bandwidth for priority 2 and priority 3 traffic is the leftover bandwidth from the next higher priority level respectively. Chapter 4.2.2.7 provides the details on the mapping of queues to the 3 priority levels. Data Sheet 77 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.2.2.2 Round Robin Scheduler The round robin scheduler keeps all of its input queues, which have cells to send in a FIFO structured list. The queue at the head of the list is allowed to send one cell and is then rescheduled at the end of the list. Thereby, the available bandwidth is divided equally among those queues which have cells to send. 3.4.2.2.3 Weighted Fair Queueing Scheduler Rate guarantees for non real-time connections are achieved with the WFQ scheduler. The WFQ scheduler has an arbitrary number of input queues with a weight factor assigned to each of them. The absolute values of the weights are irrelevant, only the relative values count. See Chapter 4.2.2.7 for a discussion on appropriate selection of weight factors. The WFQ scheduler has the following important properties: • It is work conserving, i.e. the available bandwidth is always used completely as long as any of the attached queues has cells to send. • It provides a fair distribution of the available bandwidth in proportion to the assigned weights under any load condition. • It guarantees minimum rates to queues as long as the sum of the configured minimum rates fits into the available bandwidth. The properties above make the WFQ scheduler particularly useful for bursty connections with start/stop behavior. The WFQ scheduler automatically deals with the varying load situations and always distributes the bandwidth according to the weight factors. Arrival Rate Multiplexer Rate Priority Round Robin WFQ Figure 3-23 Behavior of Different Scheduler Types Data Sheet 78 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description For a given arrival rate Figure 3-23 shows the repartition of the output rate. The priority scheduler simply cuts off the low priority traffic assumed in the white bar. The RR scheduler iteratively divides the output rate into equal shares among the active inputs. The WFQ scheduler divides the output rate in proportion to the assigned weights assumed to be proportional to the respective arrival rates. 3.4.2.3 Quality of Service Support In the context of ATM service categories, it is useful to introduce the concept of guaranteed rate. This is the rate which the network must guarantee to the user in order to fulfill the QoS demands. Table 3-24 Guaranteed Rates for each ATM Service Category ATM Service Category Guaranteed Rate CBR PCR rt-VBR SCR...PCR nrt-VBR SCR GFR MCR UBR+ MCR UBR none Comment Guaranteed rate is calculated with “effective bandwidth formulas” assuming small buffers and taking into account statistical multiplexing gain. Guaranteed rate is delivered in complete uncorrupted AAL5 frames. Guaranteed rate is always > 0 with queue connected to the WFQ scheduler, can be 0 for arbitrary long times in low priority RR scheduler. Mapping of connections to stage 1 schedulers depends on the ATM service category of the connection (also shown in Figure 3-22) as follows: – Priority 1 RR: – Priority 2 WFQ: – Priority 3 RR: real-time connections (CBR, rt-VBR). non real-time connections with guaranteed rate (nrt-VBR, GFR, UBR+) best effort connections UBR An example of a scheduler with one priority 1 real-time queue (Queue 1) and nine priority 2 non-real-time queues (Queue 2 through Queue 10) is shown in Figure 3-25. Queue 1 is shared by a number of connections with different bit rates. Data Sheet 79 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Band width n ot reserved 10 9 8 7 10 9 8 7 9 6 6 7 6 scheduler output rate 5 4 3 2 1 connection setup with guaranteed cell rates 1 1 not reserved bandwidth distributed real-time traffic unused bandwidth distributed Figure 3-25 Scheduler Behavior Example The three columns in Figure 3-25 describe different conditions: The left column shows the scheduler load as seen from Connection Acceptance Control (CAC). New connections are accepted as long as their guaranteed rates fit the spare bandwidth of the scheduler. The center column shows the case in which all Queues 2..10 are filled; that is, all non-real-time connections are sending data. The total non-real-time bandwidth, including the spare bandwidth, is then distributed to the 9 queues according to their weight. In this case, two weight factors are defined. Queue 6 has weight of 1, others have weight of 10. The right column shows the case of only three queues (6, 7 and 9) filled; all other connections are not sending data at this time. Again, the available bandwidth is fairly distributed among the queues, still conserving the 1:10 ratio defined by their weights. Notice that bandwidth of the real-time connections is not affected by bandwidth re-adjustments; but, remains constant over time under the assumption that real-time connections are constantly sending data. If, however, a real-time connection should not use its bandwidth, the bandwidth would be used immediately by the non-real-time connections. The behavior of the WFQ scheduler shown in Figure 3-25 for non-real-time connections has advantages for both the network operator and for the end user: • The available bandwidth is always used completely, resulting in optimum usage of transmission resources. • A user paying for a higher guaranteed rate also obtains higher throughput under all load conditions. Data Sheet 80 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.2.4 Traffic Shaping Traffic shaping is a mechanism that alters the characteristics of a cell stream in order to make better use of network resources or to enforce conformance to the negotiated traffic contract at an interface. Conformance is defined operationally in terms of a Generic Cell Rate Algorithm GCRA(T,tau) which specifies the upper limits, in terms of a given tolerance tau, for cells arriving in excess with respect to a given reference cell rate (1/T). The ITU-T Recommendation I.371 [ 1 ] or the ATM Forum TM Specification 4.1 [ 2 ] provide the details. A situation that is particularly prone to produce non-conforming traffic is congestion in a network. Figure 3-26 shows the need for shapers at the output of a congested network for nrt-VBR traffic. An nrt-VBR cell stream originally shaped to conformance by the terminal (1) traverses Network A, which exhibits burst level congestion. At the output of Network A the cell stream is accumulated into a single large burst, which by far exceeds even the Peak Cell Rate (PCR) of the original connection (2). It is no longer conforming to the traffic contract and therefore would not pass through the subsequent policer. Hence, at the output of Network A, an SCR shaper is enabled, which regenerates a conforming cell stream to match a given burst tolerance BT (3). This cell stream is accepted by the policer and traverses Network B which exhibits cell level congestion only. As a result PCR and SCR vary slightly due to the cell clumping effect (4). This Cell Delay Variation (CDV) is reduced to match a given tolerance (CDVT) by the PCR shaper at the output of Network B (5). Terminal Shaper Network A Policer Network B Shaper Policer burst level congestion Shaper Policer cell level congestion rate CDVT BT PCR SCR 1 2 3 4 5 Figure 3-26 Shaping and Policing at Network Boundaries Note that the outcome of Network B has a very different shape when compared to the input to Network A and to the outcome of Network A. Nevertheless, due to the shapers implied, the traffic is conforming on both the User-Network interface (UNI) and the subsequent Network-Network Interfaces (NNI). Data Sheet 81 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description The ABM-3G contains two basic shaping mechanisms, which can be activated per logical queue: PCR limitation and leaky bucket shaping. In particular it is possible to enable both mechanisms simultaneously on the same logical queue, a necessary feature to implement true VBR shaping as explained below. 3.4.2.4.1 PCR Limitation For all logical queues a rate limitation can be enabled, which controls the peak cell rate (PCR) from this queue. In other words, cells from a PCR limited queue are always spaced by at least TP=1/PCR seconds. Cell clumping within the network is thereby eliminated. Traffic passing through a PCR limiter is conforming to any PCR traffic contract, since the tolerance of the PCR limiter is zero. 3.4.2.4.2 Leaky Bucket Shaping A leaky bucket shaper controls a given sustainable cell rate (SCR) within the limits of a given Burst Tolerance (BT). The Burst Tolerance and the SCR determine the Maximum Burst Size (MBS) (in cells) that may be transmitted at an arbitrary PCR according to the following formula (refer to [ 2 ] ): MBS = BT 1 + --------------------------------1 1 ------------- – ------------SCR PCR [ cells ] (1) Vice versa, when the MBS is received (via signalling), the corresponding BT can be calculated according to the following formula: 1 -ö 1 - – -----------BT = ( MBS – 1 ) ⋅ æ -----------è SCR PCRø [s] (2) In the ABM-3G leaky bucket shaping can be enabled for up to 2048 PCR limited logical queues. In addition to the parameter TP = 1/PCR, the cell spacing for TS = 1/SCR and the burst tolerance tauS = BT must be specified. Figure 3-27 shows the outcome of the ABM-3G leaky bucket shaper under ideal conditions when loaded with a burst. Data Sheet 82 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description rate rate PCR PCR MBS SCR SCR time time Input Burst Leaky Bucket Shaper Output Figure 3-27 Ideal ABM-3G Shaper Output The implementation of the combined shaper guarantees sending the MBS as fast as possible without exceeding the PCR. If several cell streams are shaped simultaneously, it may happen that cells from different shapers would have to be sent out at the same cell slot. If N cell streams are shaped, in rare cases, a cell may have to wait up to N-1 cell cycles for transmission. This temporary loss of rate is compensated for by slightly stretching the burst in time. The additional CDV introduced to the PCR by this effect is monitored. With parameter CDVMax an upper limit on the CDV than can occur without notice is programmed. If this value is exceeded, an interrupt is generated. “UCDV/DCDV” on Page 239 provides the details. The difference between ideal and real shaper output is shown in Figure 3-28 rate rate PCR PCR MBS Average rate ≤ PCR MBS Average rate = SCR SCR SCR time time Ideal Real Figure 3-28 Ideal and Real ABM-3G Shaper Output Data Sheet 83 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Table 3-29 summarizes the parameters needed for combined PCR and SCR shaping. Table 3-29 Summary of VBR Shaping Parameters Parameter Derived from Stored in Table/ Register Range Min. Value Max Value TP 1/PCR AVT:TP 16 bit *) 65471 TS 1/SCR AVT:TS 16 bit *) 65471 tauS MBS or BT AVT:tauS 16 bit 0 64511 VBR2.3 AVT:Config 1 bit 0 1 CDVMax UCDV/DCDV 8 bit 16 cell cycles 255 x 16 cell cycles *) Refer to Table 4.2.2.5f for an explanation of shaper parameter ranges and granularities. 3.4.2.4.3 Shaping for VBR conformance The standards define three conformance definitions for rt-VBR and nrt-VBR, referred to as VBR.1, VBR.2 and VBR.3. Table 3-30 explains the differences between the three VBR conformance definitions in terms of the relevant cell stream: index 0+1 denotes both CLP=0 and CLP=1 cells while index 0 denotes CLP=0 cells only. Table 3-30 VBR Conformance Definitions PCR Conformance SCR Conformance VBR.1 GCRA(PCR 0+1, CDVT PCR) GCRA(SCR0+1, BT) VBR.2 GCRA(PCR 0+1, CDVT PCR) GCRA(SCR0, BT) VBR.3 GCRA(PCR 0+1, CDVT PCR) GCRA(SCR0, BT), non conforming CLP=0 cells may be tagged (CLP set to 1) Hence, from a shaping perspective, there is no difference between VBR.2 and VBR.3. As a consequence, the leaky bucket shaper in the ABM-3G is configurable on a per queue basis to shape either the CLP=0+1 cell stream (config parameter VBR2,3 = 0) or alternatively the CLP=0 cell stream only (config parameter VBR2,3 = 1). The PCR limiter always shapes the CLP=0+1 cell stream. By enabling a Leaky Bucket Shaper with the parameters TP=1/PCR, TS=1/SCR, tau = BT and VBR2,3 = (0|1), the ABM-3G can be used to produce conforming VBR traffic. Data Sheet 84 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Note that the PCR limiter does not make use of the tolerance CDVTPCR where transmission at higher rates than PCR would be possible. However, CDVTPCR is primarily intended to allow cell clumping and other networks artifacts, not to allow a higher rate. As mentioned earlier, this more rigid shaping does not violate PCR conformance. 3.4.2.4.4 Shaping for CBR conformance In cases where simple PCR limitation is not sufficient for service categories that define a PCR conformance only, such as CBR, it is possible to use the leaky bucket shaper with parameters TS=1/PCR and tau=CDVTPCR. The parameter TP can be set to any suitable value to reflect higher allowed rates than PCR. Data Sheet 85 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.2.5 VC-Merge and Dummy Queue Any queue can be configured (mutually exclusive) to participate in a VC-merge group or as a ‘dummy queue’. A detailed description of enabling/disabling those special queue functions is provided in the description of “Queue Configuration Table Transfer Registers QCT0..6” on Page 211. 3.4.2.5.1 VC-Merge Several logical queues carrying AAL5 packets may be grouped together into one of a maximum of 128 merge groups. Functionally, a Packet Round-Robin (PRR) scheduler stage is inserted between the queues of the merge group and the first scheduling stage of the scheduler block. Whenever a complete packet is queued in a QID of a merge group, this QID is enabled to the PRR. The PRR schedules a QID to the SB until all cells of the current packet are transmitted. Then it switches to the next enabled QID. Hence, viewed from the Scheduler Block, a merge group appears like a single queue with the additional benefit that the output VC maintains AAL5 packet boundaries. See Figure 3-31. Packet a VCx Merge Group Active QIDx QIDx Output with VC merge function Packet b VCy Packet b QIDy Packet c Packet a VC Output without VC merge function Packet c VCz Packets destroyed QIDz ATM cell Packet-RR SB optional shaper Figure 3-31 VC Merge Scheduling Any queue can be configured to be member of one of the 128 merge groups in the QCT by setting ’RSall’ = 0 in Register 38 "QCT1" on Page 214 and then setting ’MGconf/ DQsch’ = 1 and ’MGID’ to the desired merge group identifier in Register 39 "QCT2" on Page 217. If the queue is the first queue of the merge group, then its QID must be written into field ’Head_Pointer’ in Register 51 "MGT2" on Page 234. Assigning a queue to a VC-merge group already enables the packet boundary aware scheduling of all queues within the same group. Data Sheet 86 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Optionally, the ATM cell header may be overwritten with a new value programmed in the MGT by setting ’LCIOen’ = 1 and ’LCI’ to the desired value in Register 51 "MGT2" on Page 234. A queue is released from its VC-merge group by setting ‘QIDvalid’ = 0 in Register 38 "QCT1" on Page 214. It is recommended to set the parameters of the individual queues in a merge group to equal values, reflecting the desired properties of the outgoing merged VC. In particular, the user must make sure that all queues of a merge group are assigned to the same SB. Also, for the optional shaping of a merged VC, the shaping parameters TP, TS, tauS and Config must be specified for each of the logical queues of the merge group and should all be equal to the intended shaping parameters of the outgoing merged VC. The VC-merge shaping mechanism works round robin on a per queue basis with the changing of the QID going on transparently behind the scene. Hence, viewed from the outgoing VC, there is no difference between a single queue VBR shaping and a merge queue VBR shaping. In particular, no cell slot is lost on the transition between queues. 3.4.2.5.2 Dummy Queue A ‘dummy queue’ (in contrast to a normal queue) is always scheduled by the queue scheduler according to its associated rates and parameters, even though it does not contain stored cells. Scheduling a dummy queue results in an ’empty cell cycle’ (no cell is emitted during this cycle). Storing cells into a dummy queue is possible, but not recommended, since the cells are never emitted. Dummy queues can be used for bandwidth reservation e.g. for subsequent multicast operation or any other cell insert/multiplier process. A queue can be configured as a ‘dummy queue’ by setting ’DQac = 1’ and ‘RSall’ = 1 in Register 38 "QCT1" on Page 214. This may only be done if ’MGconf/DQsch’ = 0 in Register 39 "QCT2" on Page 217 and the queue is empty (QueueLength = 0). Data Sheet 87 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.3 Scheduler Block Usage The ABM-3G allows arbitrary assignment of connections to queues and of queues to scheduler blocks. A scheduler block can be assigned to any UTOPIA PHY. Usage of a scheduler differs in switch input (upstream) or output (downstream). For the Mini-Switch application the upstream case does not exist. At a switch output, the scheduler blocks provide constant cell streams to fill the payloads of the PHYs. Either the entire cell stream of a PHY is provided or it is disassembled into several VPCs as shown in Figure 3-32. A VPC may contain both real-time and data connections. This is the case for a VPC which connects two corporate networks (virtual private networks), for example. The scheduler block concept has the advantage that data traffic is automatically adjusted after setup or teardown of a real-time connection. The output rate of a scheduler block in both applications is usually constant. The scheduler blocks always react to UTOPIA backpressure or can be controlled completely by backpressure instead of shaping. All scheduler blocks whose physical outputs are asserting backpressure hold on serving. Scheduler blocks serving time slots which are lost due to temporary backpressure are maintained and served later, if possible. Therefore, the rate with some CDV will be maintained. The maximum number of stored time slots which can be configured is equal to the maximum burst possible for that port or path. Queue and Scheduler Block Assignment Switch Fabric Virtual Paths, PHYs and Ports ABM-3G for Port 1 PHY 1 SB Port 1 SB VPC 1 PHY n SB VPC m Figure 3-32 Scheduler Block Usage at Switch Output At a switch input, each scheduler block is assigned to a switch output (Figure 3-33). A switch with n ports needs n2 scheduler blocks. The output rate of each scheduler block Data Sheet 88 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description is re-adjusted continuously to obtain maximum switch throughput without overloading the switch port output rate. This principle is called Preemptive Congestion Control, that is, congestion due to overload is avoided. Ingress Port 1 (ABM-3G) Switch Fabric SB 1 Egress Port 1 R 1,1 Switch Fabric Egress Port Bottleneck 622 Mbps R n,1 SB n R 1,n SB 1 Switch Fabric Egress Port Bottleneck 622 Mbps R n,n SB n Egress Port n Ingress Port n (ABM-3G) Switch Fabric Ingress Port Bottlenecks R i,j Rate through Switch from Fabric Ingress Port i to Fabric Egress Port j Figure 3-33 Scheduler Block Usage at Switch Input There are two options for scheduler block rate adjustment: • After each connection setup or trade-in (static bandwidth allocation). • Backpressure controlled. 3.4.4 Scheduler Block Scheduler (SBS) The SBS performs a weighted round robin scheduling among the active SBs. As long as the sum of the configured SB rates is below the service rate of the SBS, each SB receives bandwidth up to the configured rate, depending on the load in the SB. The SBS is said to be overbooked if the sum of the configured SB rates is above the service rate of the SBS. In this case, the SBS behaves like an RR scheduler for the overbooked SBs, which all receive an equal amount of bandwidth. The SBS supports up to 128 Scheduler Blocks per direction. In addition to this, a common real-time bypass queue (with fixed QID = 0) is supported. Data Sheet 89 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.4.5 Supervision Functions 3.4.5.1 Cell Header Protection To guarantee that the cell header is not corrupted by the external SDRAM, it is protected by an 8-bit interleaved parity octet. It extends over the 5-octet standard header including the UDF1 octet. The BIP-8 octet is calculated for all incoming cells and stored at the place of the UDF2 octet. When a cell is read out, the BIP-8 is calculated again and is compared with the stored BIP-8. In case of a mismatch, an ’BIP8ER’ (Register 101: ISRU, Register 102: ISRD) interrupt is generated and the cell is discarded or not, depending on the configuration. cell header protection by BIP-8 can be disabled to achieve UDF2 transparency. 3.4.5.2 Cell Queue Supervision The queueing of cells in the ABM-3G is implemented mostly by pointers. To detect pointer errors, the number of the queue in which the cell is stored is appended to the cell in the external cell storage SDRAM. When the cell is read out later, the selected queue number is compared to the QID stored with the cell. In case of a mismatch, a ’BUFER4’ (Register 101: ISRU, Register 102: ISRD) interrupt is generated. See also “Upstream/ Downstream Cell Flow Test Registers” on Page 156. 3.4.5.3 Scan Unit The basic function of the Scan Unit is to periodically refresh outdated variables and detect idle connections. The Scan Unit generates the (relative) cell clock Tnow needed by the VBR shaping mechanism and two (absolute) 1.25 ms and 10 ms clocks referred to as ms125count and ms10count. The Scan Unit accesses the complete AVT Context RAM periodically every 1.25ms. In a first step dword0 containing the Config(6:0) bits is read. These bits are interpreted and then in a second step the respective dwords are read which contain the time information. In case of time-outs the information is modified and written back. Data Sheet 90 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description SYSCLK 40 ..52 MHz CellClk * 2**TstepC Divider /32 Tnow 24 bit Period 1.25ms Divider /256 Programmble Divider VBR ms125count 8bit Period 10ms ms10count 8bit Figure 3-34 SCAN Timer Generation The 40...60 MHz SYSCLK is divided by 32 to obtain a cell clock CellClk. The Tnow counter with 24-bit width increments by 2**TStepC every CellClk. The value of this counter is made available as relative time reference to other blocks. Parameter TStepC is set in Register 63 "USCONF/DSCONF" on Page 246. The absolute time bases are provided by dividing the CellClk first by 256 and then by a programmable divider of 7 bit (1...127). Timer ms125count is derived from bit 4 of the programmable divider. Timer ms10count is derived by from bit 7 of the programmable divider. The divider is programmed with the parameter SCANP found in register “ERCCONF0” on Page 286 depending on the SYSCLK value: Table 3-35 Timer Values for Clock Generation Frequency [MHz] SCANP period of ms10count [s] delta [%] 40 49 0.010035 0.35 51.84 63 0.009956 0.44 Default value is SCANP=63, for the frequency of 51.84 MHz, which is easy to obtain as 1/3 of 155.52 MHz, the SDH/Sonet frequency. The following scan is performed: Data Sheet 91 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • For VBR Scan over all VBR QID Refresh TETvalid=Config[0], STvalid=Config[1] and TeV The Scan Unit can be disabled with flag SCAND found in register “ERCCONF0” on Page 286. Data Sheet 92 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.5 Internal Tables 3.5.1 Table Overview The ABM-3G provides a set of internal tables for configuration and runtime parameters. Figure 3-36 gives an overview of all (user accessible) tables and related control/transfer/ mask registers: Data Transfer Registers Mask Registers • LCI Table TCT Table MAR = 00d MAR = 01d Common Mask Register Set: LCI0 LCI1 LCI2 MASK6 TCT0 TCT1 TCT2 TCT3 QCT Table SBOC Table MGT Table MAR = 02d MAR = 03d MAR = 07d MASK5 MASK2 QCT0 QCT1 QCT2 QCT3 QCT4 QCT5 QCT6 MASK4 MASK1 SBOC0 SBOC1 SBOC2 SBOC3 SBOC4 MASK3 MASK0 MGT0 MGT1 MGT2 Common Table Access Control Registers: Mask Registers Data Transfer Registers MAR WAR ERCT1 ERCT0 UQPT1T1 UQPT1T0 ERCM1 ERCM0 UQPTM3 UQPTM2 AVT Table MAR = 10d QPT1 Table Upstream MAR = 16d UQPT2T3 UQPT2T2 UQPT2T1 UQPT2T0 UQPTM2 UQPTM0 QPT2 Table Upstream MAR = 17d DQPT2T3 DQPT2T2 DQPT2T1 DQPT2T0 USCTFT DSCTFT DQPTM2 DQPTM0 USCTFM DSCTFM QPT1 Table Downstr. MAR = 24d QPT2 Table Downstr. MAR = 25d SCTF Table Upstream MAR = 23d SCTF Table Downstr. MAR = 31d SCTI Table Upstream SCTI Table Downstr. no Mask no Mask USCTI DSCTI DQPT1T1 DQPT1T0 DQPTM3 DQPTM2 SCTI Table Access Control Registers: DSADR USADR Figure 3-36 Table Access Overview Data Sheet 93 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description The tables are accessed by the microcontroller via control registers, data transfer registers and mask registers. While the control registers “MAR” on Page 307 and “WAR” on Page 309 are common to all tables (except SCTI tables), sets of mask registers are dedicated or shared among some tables. Data transfer registers are always dedicated to the specific table. 3.5.2 LCI: Local Connection Identifier Table The basic function of the LCI table is assigning the connection (identified by the LCI) to one out of 8192 queues per direction. Single connections can be assigned to a dedicated queue (per VC queueing) or multiple connections might be assigned to the same queue. “LCI Table Transfer Registers” on Page 191 provides the details. 3.5.3 QCT: Queue Configuration Table The basic function of the QCT table is to determine queue specific parameters and to assign the queue to dedicated resources (Traffic Class, Scheduler Block, Merge Group). “Queue Configuration Table Transfer Registers” on Page 211 provides the details. 3.5.4 QPT: Queue Parameter Table The function of the QPT table is to configure the weight factor (in case a queue is assigned to the WFQ scheduler) and the peak cell rate value (in case the peak cell rate shaper is enabled). “Queue Parameter Table Transfer Registers” on Page 247 provides the details. 3.5.5 TCT: Traffic Class Table The function of the TCT table is to configure the buffer management behavior of up to 16 traffic classes. “Traffic Class Table Transfer Registers” on Page 195 provides the details. 3.5.6 SBOC: Scheduler Block Occupancy Table The function of the SBOC table (for 2*128 scheduler blocks) is to maintain the buffer filling levels associated with the dedicated scheduler. “Scheduler Block Occupancy Table Transfer Registers” on Page 223 provides the details. 3.5.7 SCT: Scheduler Configuration Table The function of the SCT table (for 2*128 scheduler blocks) is to determine the integer part (SCTI) and fractional part (SCTF) of the scheduler block output rates as well as the UTOPIA port number the scheduler is assigned to. Data Sheet 94 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description “Scheduler Configuration Table Integer Transfer Registers” on Page 257 and “Scheduler Configuration Table Fractional Transfer Registers” on Page 267 provide the details. 3.5.8 MGT: Merge Group Table The function of the MGT table (for 128 merge groups per direction) is to enable and specify the cell header overwrite function for the merge group output streams. “Merge Group Table Transfer Registers” on Page 230 provides the details. 3.5.9 AVT: VBR Configuration Table The AVT table is the main context RAM of the VBR shaping sub-system. 3.5.9.1 AVT Context RAM Organization and Addressing The AVT Context RAM addressing scheme imposes some restrictions to the choice of QID numbers for support of VBR shaping. The table is organized into 2 K sections of 4 double words (32-bit) each whereas each section corresponds to the respective QID number. Support of VBR shaping requires one section per connection, i.e. up to 2k-1 connections assigned to QID numbers (1, ..., 2047) can be supported for VBR shaping. QID 0 is reserved for the common real-time queue. Data Sheet 95 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description • QID 31 0 RAM DWord Address: Reserved 2 VBR Context Offset Address: 0 0 1 QID 3 4 1 DWord #0 5 DWord #1 6 DWord #2 DWord #3 7 8 2 9 10 11 12 3 13 14 15 8184 2046 8185 8186 8187 8188 2047 8189 8190 8191 31 0 Figure 3-37 AVT Context RAM Addressing Scheme The parameter utilization of each section depends on the mode selected for the particular queue (QID) in the Config field of the section. The mode specific parameter sets are described in subsequent chapters. Data Sheet 96 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.5.9.2 AVT Context RAM Section for VBR Shaping Support In VBR shaping mode, one connection entry requires one AVT Context RAM section with a total of four double words. Since the AVT table is accessed from the external micro controller via a 16-bit transfer register, the VBR connection context appears as a 16-bit organized table with 8 entries as shown in Table 3-38: Table 3-38 15 AVT Context Table: VBR Shaping (Table Layout) 14 13 0 Config(6:0) 1 TET(15:0) 2a ST1(12:0) 3a ST0(9:0) 2b unused 3b VDT(15:0) 4 unused 5 tauS(15:0) 6 TS(15:0) 7 TP(15:0) 12 11 10 9 8 7 6 5 4 3 2 1 0 TET(23:16) ST0(12:10) STf(5:0) VDT(18:16) TeV Temit(12:0) Note: Entry 2/3 is used for 2 purposes: a) Internal Relog–Relog/Reschedule: two possible ST values for low and high priority cells b) Relog/Reschedule–Emit: VDT of next cell Table 3-39 AVT Context Table: VBR Shaping Parameter Description Parameter Initial Value Comment Config(6:0) configure See Section 3.5.9.3 for mapping tauS(15:0) configure Delay tolerance parameter tau for SCR extension (15:10) and integer (9:0) part TP(15:0) configure Rate parameter for peak rate limiter integer (15:6) and fractional (5:0) part TS(15:0) configure Rate parameter for SCR-Leaky Bucket integer (15:6) and fractional (5:0) part TET(23:0) don’t care Theoretical Emit Time for SCR VDT(18:0) don’t care Virtual departure time of cell extension (18:16), integer (15:6) and fractional (5:0) part Data Sheet 97 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description Table 3-39 AVT Context Table: VBR Shaping Parameter Description (cont’d) Parameter Initial Value Comment ST0(12:0) don’t care Scheduled departure Time for CLP=0 cell extension (12:10) and integer (9:0) part ST1(12:0) don’t care Scheduled departure Time for CLP=1 cell extension (12:10) and integer (9:0) part STf(5:0) don’t care Scheduled departure Time common fractional part for CLP=0 and CLP=1 TeV 0 Temit valid Temit(12:0) don’t care Real Emit Time Data Sheet 98 2001-12-17 ABM-3G PXF 4333 V1.1 Functional Description 3.5.9.3 Common AVT CONFIG Field The first word (WORD0) of each entry defines the entry type (inactive, VBR) with its respective submodes. The mapping of the 7 configuration bits Config(6:0) is summarized in Table 3-40. Table 3-40 Config(6:0) Bit Map absolute WORD bit position Function Bit 6 Bit 15 enable ’1’ VBR shaping enabled Bit 5 Bit 14 reserved ‘0’ Bit 4 Bit 13 Core select ‘0’: upstream core ‘1’: downstream core Bit 3 Bit 12 VBR mode ‘0’: VBR1 ‘1’: VBR2 and VBR3 Bit 2 Bit 11 used internally CLP def. don’t care Bit 1 Bit 10 used internally STvalid def. 0 Bit 0 Bit 9 used internally TETvalid def. 0 Config field bit position Data Sheet 99 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4 Operational Description 4.1 Basic Device Initialization The following actions are recommended to be performed after reset to prepare the ABM-3G chip for operation: Basic settings • • • • Configure clocking system (DPLLs) Check register reset values Initialize SDRAM Reset internal tables (RAM) ABM-3G diagnostic possibilities • Check all internal RAM and register values • Check external RAM Data path setting and initial queueing and scheduling initialization • Set MODE1 and MODE2 registers (Uni-directional Mode or Bi-directional Mode) • Configure UTOPIA Interfaces: modes, number of PHYs • Set global thresholds • Initialize traffic class tables • Set interrupt mask registers • Programming of Scheduler output rates • Programming of Empty Cell Rate generator • Programming of Common Real Time Queue rate • Assignment of Scheduler Blocks to PHYs at switch egress side • Assignment of Scheduler Blocks to switch outputs at ingress side Refer to the detailed register descriptions in Chapter 7 for a complete picture of the necessary initializations. 4.2 Basic Traffic Management Initialization To set up a connection, the complete table structure must be established: LCI → QID → SBID and LCI → QID → TCID (see Figure 4-1). Additionally, bandwidth and buffer space reservations must be performed (see below). Depending on the traffic class, special functions must be enabled; for example: EPD/PPD for UBR. Data Sheet 100 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 16k common entry(Dn/Up) LCI Table 2*128 entries SBOC Table LCIsel UpQID(13) Upflags(3) DnQID(13) Dnflags(3) ABMcore(1) CLPT(1) SBOccNg(18) SBOccHP(18) SBOccLP(18) SBOccLPd(18) 2*8k entries QCT Table Downstream Scheduler Block Upstream Scheduler Block 128 entries SCTI (Up) Table IntRate(14) Init(8) UtopiaPort(6) 128 entries SCTF (Up) Table UpQID DnQID MinBG(8) SBID(7) QIDvalid(1) RSall(1) DQac(1) QueueLength(14) TCID(4) MGconf/DQsch(1) MGID(7) FracRate(8) 8k entries QPT1 (Up) Table UpQID DnQID flags(2) 8k entries QPT2 (Up) Table RateFactor(16) WFQfactor(14) 2*16 entries TCT Table TCID 2k entries AVT (Up) Table 2*128 entries MGT Table MGHead(13) LCIoen(1) LCI(14) Figure 4-1 Data Sheet SbMax(8) TraffClassMax(8) GFRen(1) SCNT(1) PPDen(1) EPDen(1) DH(3) SbCiCLP1(12) QueueMax(8) BufCiCLP1(18) QueueCiCLP1(12) BufEPD(8) BufMax(8) Config(7) TP(16) TS(16) tauS(16) Parameters for Connection Setup (bit field width indicated) 101 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description Figure 4-1 refers to the following parameters: ABM-3G Transfer Register Parameter Description See page CLPT If set, the CLP bit of the cells is ignored. (not to be set for GFR; optional for UBR) 7-192 ABMcore Selects upstream or downstream ABM-3G Core in the Uni-directional Mode 7-192 DnQID Points to the queue assigned to this connection in the downstream direction 7-193 Dnflags PPD(0), EPD(1), EOP(2) 7-193 UpQID Points to the queue assigned to this connection in the upstream direction 7-194 Upflags PPD(0), EPD(1), EOP(2) 7-194 QueueLength Status value (Read only) 7-214 SBID Selects the Scheduler Block 7-214 QIDvalid Enables queue; if cleared, cells directed to this queue are discarded and interrupt QIDINV (see 7-297f.) occurs 7-214 TCID Selects the Traffic Class 7-214 RSall Enables the dummy queue function 7-214 DQac Status bit 7-214 MinBG Minimum buffer guaranteed per queue 7-217 MGID Selects the VC-Merge Group the queue is assigned to 7-217 MGconf/DQsch Command bit to enable merge group assignment or dummy queue status indication 7-217 LCI0 LCI1 LCI2 QCT0 QCT1 QCT2 Data Sheet 102 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description ABM-3G Transfer Register TCT0 TCT1 TCT2 Data Sheet Parameter Description See page BufMax Defines maximum number of non-guaranteed cells allowed in the entire buffer for this traffic class 7-198 BufEPD Defines threshold for EPD/maximum 1) for this traffic class for the entire buffer 7-198 QueueCiCLP1 Combined threshold for each queue for CLP=1 cell discard in case of CLPT=0 7-198 QueueMax Defines threshold for each queue for this traffic class 7-201 BufCiCLP This 8-bit value determines a global cell filling level threshold with a granularity of 1024 cells that triggers early packet discard (EPD) for CLP=1 tagged frames used by GFR traffic class service (low watermark) 7-201 SBCiCLP This threshold determines a maximum number of low priority cells allowed to be stored per scheduler block with a granularity of 64 cells 7-204 103 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description ABM-3G Transfer Register TCT3 QPT1 Parameter Description See page DH Selects the hysteresis value for threshold evaluation 7-207 EPDen If set, EPD is enabled 7-207 PPDen If set, PPD is enabled 7-207 SCNT Selects whether accepted packets or cells are counted 7-207 GFRen This bit enables a modified EPD threshold evaluation for GFR traffic 7-207 TrafClassMax Defines maximum number of cells for this traffic class 7-207 SBMax Defines threshold for the number of cells of this traffic class allowed in the associated Scheduler 7-207 flags Initialization value 7-249 RateFactor Select value of peak rate limiter 7-253 WFQFactor Weight of scheduler input in 16,320 steps 7-254 IntRate Integer part of incremental value for Scheduler output rate 7-260 Init Initialization value for SB counter UTOPIAPort Specify UTOPIA port for this scheduler 7-260 FracRate Fractional part of incremental value for Scheduler output rate 7-269 QPT2 SCTI SCTF 1) mixed threshold: EPD if enabled; otherwise, maximum threshold Data Sheet 104 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.2.1 Setup of Queues Before assigning a connection to a new queue, it should be verified to be empty, as some cells could remain from the previous connection. A queue is emptied by setting it ‘invalid’ while maintaining the scheduling parameters. An invalid queue will not except further cells; cells will be scheduled and de-queued, but not transmitted to the UTOPIA Interface. The queue length can be monitored by the external microprocessor. Data Sheet 105 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.2.2 Programming Queue Scheduler Rates and Granularities 4.2.2.1 Scheduler Block Scheduler The aggregate theoretical peak cell rate of the SBS is calculated as follows: SYSCLK PCR SBS = ----------------------32 [ cells ⁄ s ] (3) SYSCLK designates the core clock frequency. Each cell cycle needs 32 clock cycles. With the core SYSCLK = 51.84 [MHz] we have PCRSBS = 1620000 [cells/s]. This corresponds to 686,8 [Mbit/s] for 53 byte cells Note: Due to the need to perform internal SDRAM refresh cycles, the PCRSBS contains empty cells. A discussion on the empty cell rate PCR empty , which restricts the maximum scheduler block rate is contained in Section 4.2.2.4. 4.2.2.2 Programming the Scheduler Block Rates For the peak cell rate of an SB we can have PCR SB = PCRSBS - PCR empty. In the following, let LC denote the logical channel assigned to an SB. Recall that a logical channel can subsume the whole output port or an reasonable subdivision. Let CCRSB denote the configured cell rate of an SB (i.e. the desired output cell rate). CCRSB(LC) = PCRLC must be chosen to match the peak cell rates of the LC as close as possible. Both permanent overload, leading to UTOPIA backpressure, and permanent underload, leading to poor channel utilization, should be avoided. Overall, the following holds å CCR SB(LC) ≤ PCRUTOPIA (4) LC Note: For short periods of time PCR SB as defined above can occur internally, independent of the particular CCR SB Deriving Internal Parameters from a Given CCRSB Internally the scheduler block output cell rate CCRSB is represented by two parameters: TSB(i)[13:0], the 14 bit integer division factor TSB(f)[7:0], the 8 bit fractional division factor These parameters are dimensionless and thus only indirectly represent the output rate. The following formulas show how to derive the two parameters assuming a given desired output rate CCRSB: Data Sheet 106 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description First, a dimensionless floating point number TSB is calculated from CCRSB as follows: SYSCLK T SB = --------------------------------32 × C CR SB (5) with TSB constrained internally to 1 T SB ≤ 2 14 – -----8 2 (6) Therefore T SBmax = 16383,99609. Given a particular TSB, the internal parameters for the SB rate can be calculated: The integer division factor is calculated as: T SB ( i ) = T SB (7) The fractional division factor is calculated as: T SB ( f ) = min ( á T SB – T SB ñ × 2 8 , 255 ) with X designating the integer part of X and greater or equal to X. (8) designating the next integer X The integer and fractional division factor defined above are referred to as IntRate and FracRate in the register description. Refer to “USCTI/DSCTI” on Page 260 and “USCTFT/DSCTFT” on Page 269. The minimum cell rate possible in an SB is configured with TSBmax according to: SYSCLK MCR SB = --------------------------------32 × T SBmax (9) The following Table 4-2 shows the rate limits for the SB as a function of the system clock SYSCLK. Table 4-2 Scheduler Block Rate Limits SYSCLK [MHz] Cell cycle [ns] PCRSB [cells/s] MCRSB [cells/s] MBRSB [bit/s] (53) 51.84 617 1556000 98.8769 41924 60 533 1811000 114.4409 48523 In Table 4-3, the numerical values of the integer and fractional divisors are shown for different desired CCRSB. Due to the limited resolution of the internal rate representation, Data Sheet 107 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description the delivered CCRSB measured at the scheduler output does not always match exactly the desired CCRSB. The delivered CCRSB is calculated by: SYSCLK CCR SB = --------------------------------------------------------T SB á fñ 32 × á T SB á iñ + ---------------ñ 256 Table 4-3 SB Rate Calculation Examples for SYSCLK = 51.84 MHz Desired CCR SB [cells/s] 4830 (10) TSB TSB(i) TSB(f) Delivered CCRSB [cells/s] 335.4037 335 104 4829.963 353108 4.5878 4 151 352953.191 1412429 1.1469 1 38 1410612.245 The deviation of the delivered CCR from the desired CCR is always less than 1 improves towards lower CCR. o /oo and Scheduler Block Burst Limitation Per scheduler block cell bursts can occur due to previously unused cell cycles. Each SB has an event generator that determines when this SB should be served based on the programmed SB rates. Because several SB may share one UTOPIA interface, it can happen that events cannot be served immediately due to active cell transfers of previous events. Such ’unused cell cycles’ are counted and can be used for later cell bursts allowing a near 100% SB rate utilization. Cell bursts due to this mechanism are not rate limited. The maximum burst size (MBS) generated due to previously counted ’unused cell cycles’, is controlled by bit field MaxBurstS(3:0) in the range 0..15 cells (a minimum value of at least 1 is recommended). MaxBurst is programmed in registers “UECRI/DECRI” on Page 263. Per SB MBS dimensioning depends on the burst tolerance (BT) of subsequent devices (buffer capacity and backpressure capability). For example, if PHY(s) connected to the ABM-3G do not support backpressure and provide a 3-cell transmit buffer, a value in the range 1..3 is recommended to avoid PHY buffer overflows resulting in cell losses (e.g. typical for ADSL PHYs connected to the ABM-3G). If a PHY is connected that supports port specific backpressure to prevent its transmit buffers from overflowing or provides sufficient buffering, the maximum value of 15 can be programmed, guaranteeing a near 100% scheduler rate utilization. Data Sheet 108 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.2.2.3 Programming the Common Real-Time Bypass The Common Real-Time bypass (CRT) is denoted by the reserved logical queue identifier QID = 0. The rate assigned to the CRT bypass is programmed in the same way as the SB rates. The parameters CRTIntRate and CRTFracRate are described in registers “UCRTRI/DCRTRI” on Page 278 and “UCRTRF/DCRTRF” on Page 279. 4.2.2.4 Programming the SDRAM Refresh Empty Cell Cycles The programming of the rate for the internal SDRAM refresh generator is done by calculating the integer and fractional parts of the dimensionless value Tempty according to the SB formulas (Equation (7) and Equation (8)). Tempty is constrained by the need to allow a minimum number of empty cell cycles for the internal SDRAM refresh generator according to: SYSCLK × RefreshPeriod T empty ≤ -------------------------------------------------------------------------32 × RefreshCycles (11) Given values of RefreshPeriod = 64ms, RefreshCycles = 4096 then at SYSCLK = 51.84 MHz, Tempty = 25.3125, T empty(i) = 25, Tempty(f) = 80 This renders PCRempty = 64000 [cells/s] . In case additional bandwidth needs to be reserved (e.g. for multicast operation in subsequent devices), a second maximum condition for parameter TemptyMC can be derived depending on the empty cell rate required for multicast bandwidth reservation. The cell rate for the empty cell cycles PCRempty is programmed by setting Tempty(i) and Tempty(f), referred to as ECIntRate and ECFracRate in the corresponding registers “UECRI/DECRI” on Page 263 and “UECRF/DECRF” on Page 264. 4.2.2.5 Programming the PCR Limiter For each logical queue, an optional peak rate shaper can be programmed. Each cell passing the PCR limiter needs at least 2 cell cycles to emit. This limits the maximum PCR that can be shaped to: SYSCLK 1 PCR R Smax = ------------------------- × --32 2 [ cells ⁄ s ] (12) The resolution of the PCR limiter is determined by the global parameter TstepC, common for all shapers in an ABM-3G core. Data Sheet 109 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description TstepC is configured per direction by the field TstepC[2:0] described in “USCONF/ DSCONF” on Page 246. Internally the shaper use a derived value Tstep with the following interpretation: Tstep = 2 TstepC – 8 (13) This renders Tstep in the range 1/2 ... 1/256. Smaller values for TstepC and in consequence Tstep imply lower shaping rates. Given a particular TP, the resulting PCR shaping rate is calculated as follows: 64 SYSCLK PCR R S = ------------------------- × Tstep × -------TP 32 (14) Vice versa, for a given PCR, the corresponding TP value is calculated as: TP = SYSCLK 64 ------------------------- × Tstep × -------------------32 PCR RS (15) The value of parameter TP is constrained internally to: TP ≤ 2 16 –2 6 (16) Therefore, TPmax = 65472. Though possible to specify, very low values of TP do not make much sense, because the shaper is limited by PCRRSmax in any case (see Equation (12)). Together with Equation (14) this leads to the following constraint on TP: TP ≥ max ( 1, Tstep × 128 ) (17) The following special case must be considered: TP = 0 disables the shaper, connecting the queue directly to the level 1 schedulers (RR / WFQ). Data Sheet 110 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description Table 4-4 shows minimum PCR shaper rates for all the possible values of TstepC calculated at a SYSCLK of 51.84 MHz and 60 MHz with TPmax and Equation (14). Table 4-4 TstepC Minimum Shaper Rates as a Function of TstepC and SYSCLK 1/Tstep SYSCLK = 51.84 [MHz] SYSCLK = 60 [MHz] PCRRSmin [cells/s] PCRRSmin [cells/s] PBRRSmin [bit/s] 6.185 2622 7.160 PBRRSmin [bit/s] 0 256 3036 1 128 12.371 5245 14.320 6072 2 64 24.743 10491 28.639 12143 3 32 49.487 20982 57.278 24286 4 16 98.975 41965 114.555 48572 5 8 197.950 83930 229.110 97143 6 4 395.900 167861 458.219 194285 7 2 791.800 335723 916.437 388569 The accuracy of the shaping rate is defined as: PCR in – PCR out acc PC R = -----------------------------------------PCRout (18) with PCRin denoting the desired PCR and PCR out denoting the delivered PCR, which is always less than PCRin. PCRout is calculated by first deriving TP from PCRin in Equation (15) and then substituting TP in Equation (14). The accuracy improves towards lower shaping rates and higher values of TstepC. Note: The improvement is not monotonic and depends on the rounding error made at the calculation of TP. However, from the formulas given above, it can be deduced that the accuracy is always better than: PCR in acc PCR ≤ --------------------------------------------------------2 × SYSCLK × Tstep Data Sheet 111 (19) 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description Table 4-5 shows the accuracy of the shaping rate at some characteristic rates for three selected values of TstepC. Table 4-5 Shaper Accuracy as a Function of desired PCR and TstepC accPCR at SYSCLK = 51.84 [MHz] desired PCR TstepC = 0 TstepC = 4 TstepC = 7 32 0.000059 not possible not possible 64 0.000138 not possible not possible 170 0.000271 0.000009 not possible 4830 0.001774 0.000286 0.000007 101957 0.006934 0.006934 0.001081 353108 0.425621 0.034140 0.001288 Regarding the inevitable jitter (CDV) produced by the rate shaper due to its limited accuracy, it improves towards higher shaping rates and higher values of TstepC. The value of parameter TP derived above is programmed into the field RateFactor in register “UQPT2T0/DQPT2T0” on Page 253. Note: A value of 0 in field RateFactor disables both the PCR limiter and the leaky bucket shaper. Values other than 0 in field RateFactor are ignored for queues with an additional leaky bucket shaper enabled. The parameter TP defined there overrides. See Section 4.2.2.6. 4.2.2.6 Programming the Leaky Bucket Shaper Regarding the Leaky Bucket Shaper, the formulas given previously in Section 4.2.2.5 apply accordingly when substituting SCR for PCR and TS for TP. In addition, given MBS, the parameter tauS is calculated as: TS – TP tauS = ( MBS – 1 ) × æ ----------------------ö è 64 ø (20) with tauS constrained internally to: tauS ≤ 2 16 –2 10 (21) Therefore, tauSmax = 64512. Data Sheet 112 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description Given a particular tauS, the burst tolerance BT and the corresponding MBS produced by the leaky bucket shaper is calculated as: tauS 32 BT = ---------------- × ------------------------Tstep SYSCLK [ sec ] (22) [ cells ] (23) and MBS = tauS × 641 + ------------------------TS – TP The maximum BT has been derived from tauSmax and is shown in Table 4-6 for different values of TstepC and SYSCLK. Table 4-6 Maximum BT as a Function of TstepC and SYSCLK BT [s] TstepC SYSCLK = 51.84 [MHz] 1/Tstep 10.192 SYSCLK = 60 [MHz] 0 256 8.807 1 128 5.097 4.403 2 64 2.548 2.201 3 32 1.274 1.100 4 16 0.637 0.550 5 8 0.318 0.275 6 4 0.159 0.137 7 2 0.079 0.068 Refer to “AVT Context Table: VBR Shaping (Table Layout)” on Page 97 for a detailed description and layout of the parameter fields. Data Sheet 113 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.2.2.7 Guaranteed Cell Rates and WFQ Weight Factors The total WFQ scheduler rate is calculated as follows: GCR WFQ = CCR SB – ECR RT ( SB ) (24) with CCRSB being the configured SB rate as defined in Section 4.2.2.2 and ECRRT(SB) being the effective cell rate of the high priority RR scheduler in the SB. GCRWFQ is distributed to the queues in proportion to the queue’s relative weight factor 1/ TWFQ. The guaranteed cell rate for connection i is calculated according to: GCR WFQ GCR i = ------------------------------------------------------------------------------------------------T WFQ ( i ) × 1 ⁄ T WFQ ( k ) å (25) ∀k ∈ Active Queues with TWFQ constrained internally to: T WFQ ≤ 2 14 –2 6 (26) Therefore, TWFQmax = 16320. The minimum guaranteed cell rate at a given GCRWFQ is therefore: GCR WFQ GCR min = ------------------------T WF Qmax (27) Assuming a fixed given GCRmin, then for any given GCR >= GCR min the corresponding TWFQ can be calculated as: T WFQ = GCR min × T WFQmax ----------------------------------------------------GCR (28) The integer function in equation above selects the next smaller value of the integer TWFQ, that is to say, the weight factor is higher than required and, thus, the queue is served slightly faster in order to guarantee the rate. Two special cases must be considered: TWFQ = 0 is used to assign the queue to the high priority round robin scheduler. TWFQ = 16383 is used to assign the queue to the low priority round robin scheduler. TWFQ is referred to as parameter WFQFactor in the register description “UQPT2T1/ DQPT2T1” on Page 254. Data Sheet 114 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.2.3 ABM-3G Configuration Example In this section, a popular mini-switch scenario (Figure 4-7) is used to describe the most important points for the software configuration of the ABM-3G. Among other things, the following fixed assignments can be made in software by the user: • • • • Assignment of Schedulers to PHYs and programming of Scheduler output rates Definition of the necessary traffic classes Assignment of the queues to the traffic classes Assignment of the queues (QIDs) to the Schedulers (SBIDs) Assignment of Schedulers and Programming Output Rates The ABM-3G has 256 Schedulers (128 in the upstream direction and 128 in the downstream direction). In this example each xDSL device is assigned to a separate Scheduler (this guarantees each xDSL device a 2-Mbit/s data throughput without bandwidth restrictions caused by the other xDSL devices); then, 255 xDSL devices can be connected. The 256th Scheduler will be occupied by the E3 uplink to the public network. The assignment of the Schedulers to the PHYs is totally independent and even such a strong asymmetrical structure as in (Figure 4-7) can be supported. The output rates of the Schedulers must be programmed in such a way that the total sum does not exceed 622 Mbit/s (payload rate). From the example, the following result is derived: 255 x 2 Mbit/s + 1 x 34 Mbit/s = 544 Mbit/s ≤ 622 Mbit/s. ADSL 0 2Mbit/s ADSL 1 2Mbit/s Multiplex Network 254 0 1 Uni directional mode ALP ADSL 2Mbit/s UTOPIA 34 Mbit/s ABM-3G 254 34Mbit/s E3 255 Uplink = Scheduler, used as virtual PHYs (≠ UTOPIA PHYs) Figure 4-7 Data Sheet ABM-3G Application Example: DSLAM 115 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description Definition of Necessary Traffic Classes The ABM-3G allows up to 16 traffic classes to be defined by Traffic Class Table RAM entry via the registers TCT0 to TCT3 (see Page 198f). In this example, there are 3 traffic classes: • CBR (real-time) = traffic class 1 • GFR (non-real-time) = traffic class 2 • UBR (non-real-time) = traffic class 3 Assignment of the Queues to the Traffic Classes Each queue must relate to a defined traffic class according to the Queue Configuration Table RAM entry via the TCID(3:0) bits of the QCT table. Assignment of the Queues (QIDs) to the Scheduler Blocks (SBIDs) Every Scheduler Block (SB) possesses a certain number of queues depending on the assignment by the user of the SBID(5:0) bits of register “QCT1” on Page 214. In the example, every ADSL device has four data connections so that four queues per SB are necessary. Each SB of the ABM-3G has one real-time queue and an arbitrary number of non-real-time queues. For SB 0..254, indicate that the first queue belongs to Traffic Class 1, the 2nd and 3rd Queue to Traffic Class 2, and the 4th Queue to Traffic Class 3. There are 1020 (1..1020) queues altogether for SB 0..254. The 256th SB must be able to serve the 255 xDSL devices (255 SBs and appropriate queues). Thus, SB 255 has 255 x 2 = 510 non-real-time queues as every SB from 0..254 possesses two GFR nonreal-time queues (GFR has a guaranteed minimum rate; thus, each GFR queue needs a per VC queueing). The 255 UBR queues of SBs 0..254 need only one UBR queue at the 256th SB as UBR has no guaranteed minimum rate. As every SB has only one realtime queue, the 255 real-time queues from SBs 0..254 flow into the one real-time queue of SB 255. Therefore, SB 256 needs the assignment of 510 (GFR) + 1 (UBR) + 1 (CBR) = 512 queues. 4.2.4 Normal Operation In normal operation, no microprocessor interaction is necessary as the ABM-3G chip does all queueing and scheduling automatically. For maintenance purposes, periodically the microprocessor could read out the counters for buffer overflow events. Some overflow events may also be programmed as interrupts. 4.2.5 Bandwidth Reservation Due to the WFQ Scheduler concept of the ABM-3G, the Connection Acceptance Check (CAC) is very simple: • Check if the Guaranteed Rate of the connection fits within the spare bandwidth of the Scheduler. Data Sheet 116 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description For the definition of the Guaranteed Rate, see Table 3-24. Mathematically, the CAC can be reduced to the following formulas: For all connections make sure that no overbooking of the configured scheduler output rate CCRout occurs, i.e.: å GCRi = CCR out (29) i For real-time connections, (CBR, rt-VBR) Equation (29) is the only condition required. For non-real-time connections or connections using the WFQ scheduler, additional conditions must be fulfilled. VBR and UBR+ connections must be setup in per VC queueing configurations, that is, an empty queue must be found for the connection. The Guaranteed Rate determines the weight of the queue. 4.2.5.1 Bandwidth Reservation Example As an example, an access network multiplexer is assumed with ADSL lines and an E3 uplink. CBR and UBR+ connections are supported. A minimum Guaranteed Rate of GRmin = 19.2 Kbps is selected. This allows GR up to 314.57 Mbit/s with increasing granularity for higher values. This behavior is well suited to the Guaranteed Rates which are minimum or sustainable rates. The values for MCR and SCR will be well below 10 Mbit/s for public networks. In high speed LANs with high MCR and SCR values, a higher minimum rate could be selected. Additionally, it is assumed that three types of line interfaces (PHY) exist in the system: 34 Mbit/s for the uplink, ADSL rates of 8 Mbit/s downstream, and 0.6 Mbit/s upstream. For each PHY, a maximum possible weight factor 1/n exists: nmax = 9, nmax= 39, and nmax = 524, respectively. Two types of non-real-time connection are defined with Guaranteed Rates of 100 kbit/s and 20 Kbps with the weight factors 1/n, n100 = 3146 and n20 = 15730, respectively. The 100 Kbps connections would be used for the downstream direction, and the 20 Kbps connections for the upstream direction. Table 4-8 provides the maximum number of connections possible on each PHY. Data Sheet 117 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description • Table 4-8 Number of Possible Connections per PHY PHY GR = 100 Kbps GR = 20 Kbps 34 Mbit/s 349 1747 8 Mbit/s 80 403 0.6 Mbit/s 6 30 For example, if the maximum number of connections for each Subscriber is fixed (such as 5 data connections), the queues can be pre-configured for each Subscriber so that only the LCI assignment must be changed when a connection is setup or released. 4.2.6 Buffer Reservation In addition to the bandwidth reservation, buffer space must be assigned by the appropriate setting of discard thresholds. Figure 4-9 shows an example of threshold configurations for four traffic classes (realtime, nrt-VBR, GFR, UBR). 2**18 BufMax BufMaxNg (GFR) TrafClassMax (real-time) Shared by real-time and GFR BufMaxNg (nrt-VBR) TrafClassMax (real-time) Shared by real-tim e, GFR and nrt-VBR TrafClassMax (GFR) Shared by all BufMaxNg (UBR) TrafClassMax (nrt-VBR) Sum of guaranteed buffer 0 Figure 4-9 Data Sheet Example of Threshold Configuration 118 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.2.7 Support of Standard ATM Service Categories The following sections provide some insight into how the ABM-3G supports connections belonging to the well known ATM Forum service categories. 4.2.7.1 CBR Connections These connections should use the real-time bypass of the respective scheduler block. However, if two priority levels for real-time connections must be offered, a slightly lower real-time performance can be achieved by using the WFQ scheduler with maximum weight. In this case, the bandwidth must fit into the WFQ scheduler (conditions (1) and (2) in “Bandwidth Reservation” on Page 116). 4.2.7.2 rt-VBR Connections These connections can be treated like CBR connections with a guaranteed cell rate less than or equal to the Peak Cell Rate (PCR). Depending on the behavior of the sources, a statistical benefit could be obtained by reserving less than PCR. As an example, assume 1000 connections with compressed voice are multiplexed on a link. PCR is 32 Kbps, but on average only 16 Kbps. SCR is 8 Kbps. Hence, instead of reserving 32 Mbit/s for the ensemble of connections, only 16 Mbit/s must be reserved. The large number of connections guarantees that the mean sum rate of 16 Mbit/s is exceeded only with a negligible probability. 4.2.7.3 nrt-VBR Connections For these connections, the three parameters PCR, SCR, and MBS are given. One queue is reserved for each nrt-VBR connection with SCR programmed as the weight of the respective Scheduler queue. The maximum queue size is set to MBS plus approximately 100 cells for cell level bursts. If the buffer space reserved for nrt-VBR connections is set to the sum of all MBS, it is guaranteed that no cell is lost. However, with a large number of nrt-VBR connections, the total reserved buffer can be smaller with a negligible number of cell losses. For the PCR, no adjustment is necessary as the rates of the queues of a Scheduler always adjust automatically to the maximum possible values. As an option for network endpoints, for both rt-VBR and nrt-VBR the PCR and SCR may be shaped by the PCR limiter and SCR leaky bucket shaper as described in Chapter 3.4.2.4. This is useful at network boundaries (UNI/NNI) to provide conforming traffic to the subsequent policer. 4.2.7.4 UBR+ Connections UBR+ connections are UBR connections with MCR. They must be setup in individual queues with the weight factor guaranteeing the MCR. Data Sheet 119 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description To enhance the overall throughput, the EPD/PPD function is enabled. 4.2.7.5 GFR Connections GFR Connections are setup like UBR+ connections with a Guaranteed Rate in individual queues, with the weight factor guaranteeing the rate for the high-priority packets. The threshold for the discard for low-priority packets must be set accordingly. 4.2.7.6 UBR Connections As described in “Bandwidth Reservation” on Page 116, one queue per Scheduler is reserved for UBR connections with the smallest weight assigned. All UBR connections share this queue. EPD/PPD can be enabled as the relevant parameters are stored per connection (LCI table). 4.2.7.7 Generic Service Classes Besides the standard ATM Forum service categories, other generic service classes can be flexibly supported by the ABM-3G. Quality of service differentiation in terms of absolute and relative guarantees can be achieved for any traffic stream that is segmentable into the ABM-3G cell format. Data Sheet 120 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description 4.3 Connection Teardown Example Teardown of Queues Disabling a queue via the queue-disable bit does not clear the cells in the queue, but: • The acceptance of the queue for new cells is disabled • The queue is still served, but the cells are discarded internally Normally, at the time a queue is cleared, there will be no more cells in the queue. This can be checked by reading the queue length. In case of a highly filled queue which is served slowly, the time to empty the queue could be long. To deplete the queue more quickly, its weight can be increased temporarily. However, because the discarded cells produce idle times on the UTOPIA output, the chosen weight factor should not be too high. 4.4 AAL5 Packet Insertion/Extraction Refer to Chapter 3.2.3 for a more general description. 4.4.1 AAL5 Packet Insertion First, the header octets are assembled from the VPI, VCI and/or LCI and written to the corresponding registers UA5TXHD0/DA5TXHD0 and UA5TXHD1/DA5TXHD1. The CPCS-UU and CPI are also provided to register UA5TXTR/DA5TXTR. The packet payload length is written to UA5TXCMD/DA5TXCMD together with the AAL5EN flag. Four octets of payload are written to the two data registers UA5TXDAT0/DA5TXDAT0 and UA5TXDAT1/DA5TXDAT1. The Status register UA5SARS/DA5SARS should be read afterwards to check the current state of the assembly unit. The assembly of the cells is done without interaction of the microprocessor. 4.4.2 AAL5 Packet Extraction If an AAL5 interrupt indicates that an AAL5 packets has arrived first the cell header should be read. Before each access to the data registers the status register UA5SARS/ DA5SARS should be read to get the current status of the extraction unit. As long as the AAL5 status register does not indicate End of Packet (PE), the payload can be received from the data registers UA5RXDAT0/DA5RXDAT0 and UA5RXDAT1/ DA5RXDAT1. This data registers should always be read together. If the PE flag is set the next read accesses to the both data registers will return the last payload octets. After this access the Status register still contains the PE flag but additionally a length information of the packet stored in the OV flags. Again the data registers are read to get the trailer of the packet (CPCS-UU and CPI) and the Status Byte. Depending on the packet length there are four possibilities for the mapping of these octets to the two data registers, indicated by the OV flags. The four cases are depicted in Figure 4-10. Data Sheet 121 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description • RXDAT0 CPCSUU n OV=00B RXDAT0 n -1 OV=01B n RXDAT0 n -2 OV=10B n -1 RXDAT0 n -3 OV=11B n -2 RXDAT1 CPI Status RXDAT1 CPCSUU CPI - - - Status - RXDAT0 CPCSUU CPI RXDAT1 n -1 RXDAT1 RXDAT0 RXDAT1 n RXDAT0 Status RXDAT0 CPCSUU n CPI - RXDAT1 - - RXDAT1 - - RXDAT1 Status - PE=1 PE=1 OV=invalid OV=valid Figure 4-10 AAL5 Extraction: End of packet, Trailer and Status Byte The Status Byte returns some information about the received packet: Bit 7 6 unused Table 4-11 5 4 3 2 1 0 END ICHN CLP CGST UUE CPIE AAL5 Status Byte Flag Description END Error bit. Set if a cell with a different header is received before the end of a packet. Should not occur if VC merge is used, but the user might have a programming error. ICHN Invalid channel number. Indicates a change of the cell header before end of packet. CLP CLP=1 in at least one cell of the packet CGST Congestion occurred, i.e. PT(1)=1 in at least one cell of the packet UUE CPCS-UU value is not 0; no other action CPIE CPI value is not 0; no other action Data Sheet 122 2001-12-17 ABM-3G PXF 4333 V1.1 Operational Description Note: If a packet is extracted too slowly, an MUXOV interrupt might occur. To avoid this, either mask the MUXOV interrupt during extraction or reduce the output rate of the scheduler. 4.5 Exception Handling The ABM-3G provides a set interrupts classified as: • Fatal • Notification • Normal Fatal interrupts It is recommended to reset the device upon occurrence of a ‘fatal interrupt’ which is generated by the ABM-3G detecting internal consistency violations. Notifications/Normal interrupts • Control interrupts for activation/de-activation of VC-merge groups • Control interrupts for activation/de-activation of ‘dummy’ queues Data Sheet 123 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5 Interface Description 5.1 UTOPIA L2 Interfaces (PHY side) The UTOPIA Interface to the PHY is ATMF UTOPIA Level 2 and Level 1 compliant. The interface can be configured in Master or Slave Mode. Internal UTOPIA FIFOs guarantee Head-of-Line blocking-free operation in both modes. Each interface direction (receive and transmit) is independently clocked. The PHY side and backplane side UTOPIA Interfaces are identical with minor exceptions as described in the subsequent chapters. 5.1.1 URXU: UTOPIA Receive Upstream (PHY side) The UTOPIA Receive Interface supports up to 48 PHY addresses that can be individually enabled. In Master Mode and Slave Mode, 48 PHYs are supported in four groups (4*12 scheme). Note: In Slave Mode, the interface responds to all enabled port addresses. • 4 cell FIFO Backpressure Figure 5-1 UTOPIA Receive Upstream (PHY side) Master Mode Cell Handler (Upstream) URXDATU(15:0) URXSOCU Addressing up to 4*12 PHYs: URXPRTYU URXCLKU PHY 3 Address PHY 2 0..11 Address PHY 1 0..11 Address PHY 0 0..11 Address 0..11 URXADRU(4:0) URXENBU(3:0) URXCLAVU(3:0) UTOPIA Receive Upstream Master Mode • 4 cell FIFO Backpressure Figure 5-2 Data Sheet UTOPIA Receive Upstream (PHY side) Slave Mode Cell Handler (Upstream) URXDATU(15:0) URXSOCU URXPRTYU URXCLKU URXADRU(4:0) URXENBU(3:0) Responding to up to 4*12 addresses URXCLAVU(3:0) UTOPIA Receive Upstream Slave Mode 124 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description Head of Line Blocking Avoidance The internal Cell Handler Unit accepts any cell from the common UTOPIA receive FIFO to either accept the cell or discard the cell depending on threshold decisions. Thus, no HOL blocking can occur. Optionally, internal thresholds can be enabled to generate backpressure to UTOPIA port groups in a fixed scheme: • • • • Threshold 0 effects ports Threshold 1 effects ports Threshold 2 effects ports Threshold 3 effects ports {0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44} {1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 41, 45} {2, 6, 10, 14, 18, 22, 26, 30, 34, 38, 42, 46} {3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47} In case of pending backpressure, a specific port reacts in the same way as being disabled: • Master Mode: A backpressured (or disabled) port is deleted from the polling scheme. • Slave Mode: A backpressured (or disabled) port does not generate a cell available signal indication. Note: The internal backpressure does only effect the polling/response scheme. The UTOPIA receive FIFO is served in any case to avoid HOL blocking. 5.1.2 UTXD: UTOPIA Transmit Downstream (PHY side) The UTOPIA transmit interface supports up to 48 PHY addresses that can be individually enabled. In Master Mode, 48 PHYs are supported in four groups (4*12 scheme). In Slave configuration, two polling modes are supported: • Up to 48 Ports in 4 groups (4*12 scheme) • Up to 31 Ports in 1 group (1*31 scheme) Note: In Slave Mode, the interface responds to all enabled port addresses in either scheme. A cell buffer pool of 64 cells is provided for UTOPIA port specific queues. The number of enabled ports determines the queue length that can be configured. At least one cell buffer per queue is provided. Data Sheet 125 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description • UTOPIA Transmit Downstream (PHY side) Master Mode Cell Handler (Downstream) 64 Cells Buffer Pool: Logical Queues per UTOPIA port Queue Specific Backpressure UTXDATD(15:0) UTXSOCD Addressing up to 4*12 PHYs: UTXPRTYD UTXCLKD PHY 3 Address PHY 2 0..11 Address PHY 1 0..11 Address PHY 0 0..11 Address 0..11 UTXADRD(4:0) UTXENBD(3:0) UTXCLAVD(3:0) Scheduler Block UTOPIA Transmit Downstream Master Mode 64 Cells Buffer Pool: Logical Queues per UTOPIA port Queue Specific Backpressure UTOPIA Transmit Downstream (PHY side) Slave Mode Cell Handler (Downstream) Figure 5-3 UTXDATD(15:0) UTXSOCD UTXPRTYD UTXCLKD UTXADRD(4:0) UTXENBD(3:0) UTXCLAVD(3:0) Responding to a) up to 4*12 addresses b) up to 1*31 addresses (UTXENBD(0), UTXCLAVD(0) only) Scheduler Block Figure 5-4 UTOPIA Transmit Downstream Slave Mode Head of Line Blocking Avoidance The internal Cell Handler Unit forwards cells to UTOPIA port-specific queues. In case of a filled queue, queue-specific backpressure is signalled to all schedulers that are associated to that queue/port prohibiting further cell emits. Thus no HOL blocking can occur. Data Sheet 126 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.1.3 UTOPIA Port/Address Mapping (PHY side) Table 5-1 describes the mapping of UTOPIA addresses and groups to port numbers. Table 5-1 Port/Address Mapping Port Number Group 0 Group 1 Group 2 Address Slave Mode 1*31 Slave Mode 4*12 and Master Modes 30 30 - - - Group 3 - ... ... ... ... ... ... 12 12 - - - - 11 11 11 23 35 47 10 10 10 22 34 46 9 9 9 21 33 45 8 8 8 20 32 44 7 7 7 19 31 43 6 6 6 18 30 42 5 5 5 17 29 41 4 4 4 16 28 40 3 3 3 15 27 39 2 2 2 14 26 38 1 1 1 13 25 37 0 0 0 12 24 36 Data Sheet 127 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.1.4 Functional UTOPIA Timing (PHY side) The functional timing is compatible to ATMF UTOPIA Level 2 standard [4] and ATMF UTOPIA Level 1 standard [3] respectively. Remark 1 The ABM-3G UTOPIA Interfaces in Master Mode always introduce at least 1 idle clock between transmission or reception of subsequent ATM cells. Remark 2 The ABM-3G UTOPIA Interfaces in Level 1 Slave Mode do not support constant active enable signals UTXENBi/URXENBi (i = {D(Downstream); U(Upstream)}). The enable signals must be deasserted with each cell cycle. Data Sheet 128 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.1.5 UTOPIA Master Mode Polling Scheme (PHY side) The polling scheme is based on a port priority list. A serviced port is automatically moved to the end of the priority list. The priority list port sequence is based on incrementing addresses; for a given address, the port numbers are in increasing order: Table 5-2 1 2 3 4 Sequence 0 12 24 36 1 13 25 37 2 14 26 38 3 15 27 39 4 Priority decreasing priority -> max Prio. 0 min Prio. Address Port Polling Sequence decreasing priority -> Example Assume Port 25 (printed bold in example pattern) is at the top of the priority list and gets serviced. Now, the list top pointer is moved to the next entry which is Port 37 (i.e. Port 25 becomes the end of the list). Note: Disabled or internally backpressured ports are deleted from the priority list. Polling operation of Receive and Transmit interfaces is independent of each other. Data Sheet 129 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.1.6 UTOPIA Cell Format (PHY side) The following sections describe the cell format expected by the ABM-3G, depending on the selected mapping mode. Transmitted cells have the same format. The ABM-3G may modify the LCI field (VC-Merge function), depending on the configuration. For internal use, also field UDF2 may be modified. The CRC10 field gets recalculated accordingly. 5.1.6.1 UTOPIA Level 2 Standard Cell Formats Table 5-3 bit: 15 Standardized UTOPIA Level 2 Cell Format (16-bit) 14 13 12 11 10 9 0 VPI(11:0) 1 VCI(11:0) 8 7 6 5 4 3 2 1 0 VCI(15:12) CLP PT(2:0) 2 UDF1 UDF2 3 Payload Octet 1 Payload Octet 2 4 Payload Octet 3 Payload Octet 4 ... : : 26 Payload Octet 47 Payload Octet 48 Note: All Fields According to Standards, Unused Octets Shaded Table 5-4 bit: 15 Standardized UTOPIA Level 2 Cell Format (16-bit): OAM Cells 14 13 12 11 10 9 0 VPI(11:0) 1 VCI(11:0) 2 3 8 6 5 4 3 2 1 PT(2:0) CLP UDF2 Function Type(3:0) Function Specific Octet 1 4 Function Specific Octet 2 Function Specific Octet 3 ... : : 25 Function Specific Octet 44 Function Specific Octet 45 26 0 VCI(15:12) UDF1 OAM Type(3:0) 7 Reserved CRC10 Note: All fields according to standards, unused octets are shaded. Data Sheet 130 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.1.6.2 LCI Mapping Mode: VPI Mode In Mapping Mode ‘VPI’, the ABM-3G expects a 12-bit local connection identifier in the location of the VPI field. Mapping Mode ‘VPI’ is configured via bit field LCIMOD(1:0)=’00’ in Register “MODE1” on Page 312. Table 5-5 bit: 15 Standardized UTOPIA Level 2 Cell Format (16-bit) 14 13 12 11 10 9 0 LCI(11:0) 1 VCI(11:0) 8 7 6 5 4 3 2 0 VCI(15:12) CLP PT(2:0) 2 UDF1 UDF2 3 Payload Octet 1 Payload Octet 2 4 Payload Octet 3 Payload Octet 4 ... : : 26 Payload Octet 47 Payload Octet 48 5.1.6.3 1 LCI Mapping Mode: VCI Mode In Mapping Mode ‘VCI’, the ABM-3G expects a 16-bit local connection identifier in the location of the VCI field. Mapping mode ‘VCI’ is configured via bit field LCIMOD(1:0)=’01’ in Register “MODE1” on Page 312. Table 5-6 bit: 15 Standardized UTOPIA Level 2 Cell Format (16-bit) 14 13 12 11 10 9 0 VPI(11:0) 1 LCI(11:0) 8 7 6 5 4 3 2 1 0 LCI(15:12) PT(2:0) 2 UDF1 UDF2 3 Payload Octet 1 Payload Octet 2 4 Payload Octet 3 Payload Octet 4 ... : : 26 Payload Octet 47 Payload Octet 48 CLP Since the ABM-3G supports 16 K connections, the MSB bits 15 and 14 of the LCI must match the selected quarter segment. Otherwise, the cells are automatically forwarded to the global real time bypass queue (Queue 0) and may be handled by a subsequent ABM-3G device. Data Sheet 131 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.1.6.4 LCI Mapping Mode: Infineon Mode In Mapping Mode ‘Infineon’, the ABM-3G expects a 16-bit local connection identifier in the location of the VPI field and the UDF1 byte as shown below. Mapping Mode ‘Infineon’ is configured via bit field LCIMOD(1:0)=’10’ in Register “MODE1” on Page 312. Table 5-7 bit: 15 Standardized UTOPIA Level 2 Cell Format (16-bit) 14 13 12 11 10 9 0 LCI(11:0) 1 VCI(11:0) 2 LCI(13:12) 8 7 6 5 3 2 1 0 VCI(15:12) CLP PT(2:0) LCI(15:14) transparent 4 UDF2 3 Payload Octet 1 Payload Octet 2 4 Payload Octet 3 Payload Octet 4 ... : : 26 Payload Octet 47 Payload Octet 48 Since the ABM-3G supports 16 K connections, the MSB bits 15 and 14 of the LCI must match the selected quarter segment. Otherwise the cells are automatically forwarded to the global real time bypass queue (Queue 0) and may be handled by a subsequent ABM-3G device. 5.1.6.5 LCI Mapping Mode: Address Reduction Mode In Mapping Mode ‘Address Reduction’, the ABM-3G generates a 16-bit local connection identifier based on the marked bit fields. Mapping Mode ‘Address Reduction’ is configured via bit field LCIMOD(1:0)=’11’ in Register “MODE1” on Page 312. Table 5-8 bit: 15 Standardized UTOPIA Level 2 Cell Format (16-bit) 14 13 12 11 10 9 0 VPI(11:0) 1 VCI(11:0) 2 transp. 8 7 6 5 4 3 2 0 VCI(15:12) PT(2:0) optional PNUT(5:0) CLP UDF2 3 Payload Octet 1 Payload Octet 2 4 Payload Octet 3 Payload Octet 4 ... : : 26 Payload Octet 47 Payload Octet 48 Data Sheet 1 132 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description To generate an Local Connection Identifier (LCI), programmable parts of the fields VCI and VPI optionally supplemented by the UTOPIA port number can be used as basis. The UTOPIA port number is internally provided either by side-band signals (no modifications to ATM cell) or mapped into either the UDF2 field of the cells. In this case, the respective UDF2 field is not transparent. Address Reduction Mode is described in Chapter 3.2.4. Data Sheet 133 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.2 UTOPIA L2 Interface (Backplane side) 5.2.1 URXD: UTOPIA Receive Downstream (Backplane side) The UTOPIA Receive Downstream Interface is identical to the UTOPIA Receive Upstream Interface as described in Chapter 5.1.1. Standard Exceeding UTOPIA Feature To support system architectures that require a bandwidth overprovisioning from the backplane, the URXD can be operated up to 60 MHz which corresponds to a data rate of 795 Mbit/s received from the backplane. This provides an overprovisioning factor of 1.32 to OC12 data rate on the line side as described in Chapter 3.1.1. 5.2.2 UTXU: UTOPIA Transmit Upstream (Backplane side) The UTOPIA Transmit Upstream Interface is identical to the UTOPIA Transmit Downstream Interface as described in Chapter 5.1.2. 5.2.3 UTOPIA Port/Address Mapping (Backplane side) The UTOPIA Port/Address mapping (Backplane side) is identical to the UTOPIA Port/ Address Mapping as described in Chapter 5.1.3. 5.2.4 Functional UTOPIA Timing (Backplane side) The functional timing is compatible to ATMF UTOPIA Level 2 standard [4] and ATMF UTOPIA Level 1 standard [3] respectively. Remark 1 The ABM-3G UTOPIA Interfaces in master mode always introduce at least 1 idle clock between transmission or reception of subsequent ATM cells. Remark 2 The ABM-3G UTOPIA Interfaces in Level 1 Slave Mode do not support constant active enable signals UTXENBi/URXENBi (i = {D(Downstream); U(Upstream)}). The enable signals must be deasserted with each cell cycle. 5.2.5 UTOPIA Master Mode Polling Scheme (Backplane side) The UTOPIA Polling scheme (Backplane side) is identical to the UTOPIA Polling scheme as described in Chapter 5.1.5. Data Sheet 134 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.2.6 UTOPIA Cell Format (Backplane side) The UTOPIA Polling scheme (Backplane side) is identical to the UTOPIA Polling scheme as described in Chapter 5.1.6. 5.3 MPI: Microprocessor Interface The ABM-3G Microprocessor Interface is a generic asynchronous 16-bit slave-only interface that supports Intel and Motorola style control signals. The interface is ‘ready’ signal controlled. 5.3.1 Intel Style Write Access MPADR(7:0) MPCS MPWR MPRDY MPDAT(15:0) MPMODE Figure 5-5 Data Sheet Intel Style Write Access 135 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.3.2 Intel Style Read Access MPADR(7:0) MPCS MPRD MPRDY MPDAT(15:0) MPMODE Figure 5-6 5.3.3 Intel Style Read Access Motorola Style Write Access MPADR(7:0) MPCS (MPRD) DS (MPWR) R/W (MPRDY) RDY (DTACK) MPDAT(15:0) MPMODE Figure 5-7 Data Sheet Motorola Style Write Access 136 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.3.4 Motorola Style Read Access MPADR(7:0) MPCS (MPRD) DS (MPWR) R/W (MPRDY) RDY (DTACK) MPDAT(15:0) MPMODE Figure 5-8 5.3.5 Motorola Style Read Access Interrupt Signals The ABM-3G asserts its interrupt signals MPINT and MPINTD if non-masked interrupt events are pending in the respective interrupt status registers. Interrupt signals are deasserted in case all events are cleared by writing ‘1’ to pending interrupt bits (e.g. write 0xFFFFH to the respective Interrupt Status Register). This allows edge sensitive interrupt implementations. Interrupt signals are of type ‘Open Drain’ to allow wired-or implementations sharing one interrupt signal with other devices. Data Sheet 137 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description 5.4 External RAM Interfaces 5.4.1 RAM Configurations The ABM-3G device uses synchronous dynamic RAM (SDRAM) for the storage of ATM cells and synchronous static RAM (SSRAM) for the storage of cell pointers. Two SDRAM Interfaces and one SSRAM Interface are provided. Each of the two SDRAM Interfaces is associated with one of the ABM Cores. The SSRAM Interface is shared by both ABM-3G Cores. All RAM Interfaces are operated with the system clock provided by the ABM-3G: Table 5-9 Cell Pointer SSRAM External RAM Sizes Min. Required Upstream Cell SDRAM UBMTH UpMin. stream Required Buffer Downstream Cell SDRAM DBMTH Downstream Buffer e.g. 128 Mb 512 k x 32 bit e.g. 2*(4Mb*16) 128 Mb e.g. 2*(4Mb*16) 3FFFFH 256K cells 3FFFF H 256K cells e.g. 64 Mb 256 k x 32 bit e.g. 1*(2Mb*32) 64 Mb e.g. 1*(2Mb*32) 1FFFFH 128K cells 1FFFF H 128Kk cells e.g. 32 Mb 128 k x 32 bit 32 Mb 0FFFFH 64K cells 0FFFF H 64K cells e.g. 128 Mb 256 k x 32 bit e.g. 2*(4Mb*16) none 3FFFFH 256K cells 0000 H 0 e.g. 64 Mb 128 k x 32 bit e.g. 1*(2Mb*32) none 1FFFFH 128K cells 0000 H 0 e.g. 64 k x 32 bit none 0FFFFH 64K cells 0000 H 0 32 Mb Note: The upstream cell storage RAM must always be connected. Data Sheet 138 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description The minimum required width of the cell pointer SSRAM is in the range 16..20 bits depending on the selected Cell Storage Size and additional feature configurations: Table 5-10 SSRAM Configuration Examples Cell Storage RAM Enabled Features cell capacity (each) Stored Address Pointer Width Feature Bits Min. SSRAM Width 256K VBR.2/3 + EOP marking 18 2 20 EOP marking 18 1 19 128K 64K none 18 0 18 VBR.2/3 + EOP marking 17 2 19 EOP marking 17 1 18 none 17 0 17 VBR.2/3 + EOP marking 16 2 18 EOP marking 16 1 17 none 16 0 16 Note: VBR.2/3 represents VBR shaping function 2 and 3 requiring one additional bit storage in the CPR for the CLP bit. EOP marking represents one additional bit storage in the CPR for End-of-Packet indication required by EPD/PPD and VC-Merge operation. Table 5-11 gives an example of supported SDRAM configuration: Data Sheet 139 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description • Table 5-11 SDRAM Configuration Examples Type Configuration per Direction 512k * 32 (4 bank) (64Mb Type) 1 SDRAM: 8-bit column address 10-bit row address 2-bit bank select Note: This Configuration supports only 128k cells storage per direction. 1Mb * 16 (4 bank) (64Mb Types) 2 SDRAM: 8-bit column address 12-bit row address 2-bit bank select Note: This Configuration supports 256k cells storage per direction. 2Mb * 16 (4 bank) (128Mb Types) 2 SDRAM: 9-bit column address 12-bit row address 2-bit bank select Note: This Configuration supports 256k cells storage per direction. (50% memory remains unused) 4Mb * 16 (4 bank) (256Mb Types) 2 SDRAM: 9-bit column address 12-bit row address (13) 2-bit bank select Note: This Configuration supports 256k cells storage per direction. (75% memory remains unused; one of the 13 memory address bits remains unused) Note: Both CSR Interfaces support 8-bit and 9-bit column address width SDRAM types (see register “MODE2” on Page 315). Table 5-12 gives an example of supported SSRAM configurations: Data Sheet 140 2001-12-17 ABM-3G PXF 4333 V1.1 Interface Description • Table 5-12 SSRAM and SDRAM Type Examples Type Configuration SSRAM 1 Micron MT58V512V32F (flow through) 512k * 32 SDRAM 1 Infineon HYB39S64160BT 4 banks * 1M * 16 2 Infineon HYB39S256160BT 4 banks * 4M * 16 5.5 Test Interface The boundary scan functionality is implemented according to IEEE 1149.1, using a 5-pin test access port. 5.6 Clock and Reset Interface 5.6.1 Clocking The ABM-3G supports different clock domains and clock generation configurations. “Clocking System” on Page 52 provides the details. 5.6.2 Reset The Reset signal can be asserted anytime asynchronously to the system clock. After detecting an active reset, the ABM-3G starts internal initialization processes and resets all registers to their reset value. Chapter “Reset System” on Page 54 provides the details. Note: Internal and external RAM initialization must be initiated by software via register “MODE1” on Page 312. Data Sheet 141 2001-12-17 ABM-3G PXF 4333 V1.1 Memory Structure 6 Memory Structure The ABM-3G is a slave device in relation to the microcontroller bus and provides a set of 256 16-bit wide registers. Internal tables are accessed via dedicated transfer registers (see Figure 7-1). Typically, the register structure is mapped into the memory address space of the local controller. Data Sheet 142 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7 Register Description This chapter provides both an overview of the ATM Buffer Manager ABM-3G Register Set and detailed register descriptions and Table Access descriptions. 7.1 Overview of the ABM-3G Register Set Control and operation of the ABM-3G chip can be done by directly configuring Status Registers or, to a large extent, by programming the internal tables. Access to these tables is not direct, but occurs via Transfer Registers and Transfer Commands. Any transfer must be prepared by writing appropriate values to the Transfer Registers. Bit positions named ’don’t Write’ must be masked by writing 1 to the corresponding bit positions in the Mask Register. This avoids overwriting these table bit positions with the Transfer Register contents, which may cause fatal malfunction. The specific table position which should be modified with the Transfer Register contents is selected via Register WAR. Transfer is started by writing the table address to Register MAR and also setting the ’Start’ bit. The ABM-3G device will reset the ’Start’ bit after transfer completion. The ABM-3G contains the following internal tables for configuration: • • • • • • • LCI Table (LCI) Traffic Class Table (TCT) Queue Configuration Table (QCT) Queue Parameter Table 1 (QPT1) Queue Parameter Table 2 (QPT2) Scheduler Block Occupancy Table (SBOC) Scheduler Block Rate Tables (consisting of 4 tables): - SCTI Upstream - SCTI Downstream - SCTF Upstream - SCTF Downstream • Merge Group Table (MGT) • VBR Table (AVT) Figure 7-1 gives an overview of all (user accessible) tables and related control/transfer/ mask registers: Data Sheet 143 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Data Transfer Registers Mask Registers • LCI Table TCT Table MAR = 00d MAR = 01d Common Mask Register Set: LCI0 LCI1 LCI2 MASK6 TCT0 TCT1 TCT2 TCT3 QCT Table SBOC Table MGT Table MAR = 02d MAR = 03d MAR = 07d MASK5 MASK2 MASK4 MASK1 QCT0 QCT1 QCT2 QCT3 QCT4 QCT5 QCT6 SBOC0 SBOC1 SBOC2 SBOC3 SBOC4 MASK3 MASK0 MGT0 MGT1 MGT2 Common Table Access Control Registers: Mask Registers Data Transfer Registers MAR WAR ERCT1 ERCT0 UQPT1T1 UQPT1T0 ERCM1 ERCM0 UQPTM3 UQPTM2 AVT Table MAR = 10d QPT1 Table Upstream MAR = 16d UQPT2T3 UQPT2T2 UQPT2T1 UQPT2T0 DQPT1T1 DQPT1T0 DQPT2T3 DQPT2T2 DQPT2T1 DQPT2T0 USCTFT DSCTFT DQPTM2 DQPTM0 USCTFM DSCTFM SCTF Table Upstream MAR = 23d SCTF Table Downstr. MAR = 31d UQPTM2 UQPTM0 DQPTM3 DQPTM2 QPT2 Table Upstream MAR = 17d QPT1 Table Downstr. MAR = 24d QPT2 Table Downstr. MAR = 25d SCTI Table Upstream SCTI Table Downstr. no Mask no Mask USCTI DSCTI SCTI Table Access Control Registers: DSADR USADR Figure 7-1 Table Access Overview The Status Registers and Transfer Registers are described below in Table 7-2. Offset addresses are 16-bit word addresses. in order to prevent malfunctions and to guarantee upwards compatibility to future versions of the device, performing Write accesses to ’Reserved Register’ addresses is not recommended. Data Sheet 144 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Internal table entries contain bit fields for internal device operation only. Table 7-1 identifies the color conventions used for the various types of fields described in this register chapter: Table 7-1 Color Color Convention for Internal Table Field Illustration Meaning Grey shaded fields are ’unused’. Reading these fields will return ’0’. Green shaded fields require attention by CPU. They can be written or read by CPU; usage depends on the respective field description. Typically green fields must be written for initialization and configuration or read for status query. Blue shaded fields require/allow READ attention by CPU. Typically blue fields provide counter or status information. The CPU MUST NOT write to blue fields. Red shaded fields are for device internal use only and require NO attention by CPU. The CPU MUST NOT write to red fields. • Table 7-2 Addr (hex) ABM-3G Registers Overview Register Reset µP value (hex) Description See page Cell Flow Test Registers 01/11 UCFTST/ DCFTST Upstream/Downstream Cell Flow Test Registers 0000 R/W 156 SDRAM Configuration Registers 02/12 URCFG/ DRCFG Upstream/Downstream SDRAM Configuration Registers 0033 R/W 157 03/13 - Reserved Register 0000 R - 04/14 - Reserved Register 0000 R - Cell Insertion/Extraction and AAL5 Control Registers 05/15 UA5TXHD0/ DA5TXHD0 Upstream/Downstream AAL5 Transmit Header 0 Registers 0000 R/W 158 06/16 UA5TXHD1/ DA5TXHD1 Upstream/Downstream AAL5Transmit Header 1 Registers 0000 R/W 160 07/17 UA5TXDAT0/ DA5TXDAT0 Upstream/Downstream AAL5Transmit Data 0 Registers 0000 R/W 162 Data Sheet 145 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 ABM-3G Registers Overview (cont’d) Addr (hex) Register Description Reset µP value (hex) 08/18 UA5TXDAT1/ DA5TXDAT1 Upstream/Downstream AAL5 Transmit Data 1 Registers 0000 R/W 163 09/19 UA5TXTR/ DA5TXTR Upstream/Downstream AAL5 Transmit Trailer Registers 0000 R/W 164 0A/1A UA5TXCMD/ DA5TXCMD Upstream/Downstream AAL5 Transmit Command Registers 0000 R/W 165 0B/1B UA5RXHD0/ DA5RXHD0 Upstream/Downstream AAL5 Receive Header 0 Registers 0000 R/W 166 0C/1C UA5RXHD1/ DA5RXHD1 Upstream/Downstream AAL5 Receive Header 1 Registers 0000 R/W 168 0D/1D UA5RXDAT0/ DA5RXDAT0 Upstream/Downstream AAL5 Receive Data 0 Registers 0000 R/W 170 0E/1E UA5RXDAT1/ DA5RXDAT1 Upstream/Downstream AAL5 Receive Data 1 Registers 0000 R/W 171 0F/1F UA5SARS/ DA5SARS Upstream/Downstream AAL5 SAR Status Registers 0000 R/W 172 Upstream/Downstream Buffer Occupation Registers 0000 R 174 0000 R 174 Up-/Downstream Non-Guaranteed Buffer Occupation Registers 0000 R 175 0000 R 175 Upstream/Downstream Buffer Maximum Threshold Registers 0000 R/W 176 0000 R/W 176 Upstream/Downstream Maximum Occupation Capture Registers 0000 R 178 0000 R 178 Upstream/Downstream Minimum Occupation Capture Registers FFFF R 179 FFFF R 179 CLP1 Discard Global Threshold Registers 0000 See page Buffer Occupation Counter Registers 20 UBufferOcc 21 DBufferOcc 22 UBufferOccNg 23 DBufferOccNg Buffer Threshold and Occupation Capture Registers 24 UBufMax 25 DBufMax 26 UMAC 27 DMAC 28 UMIC 29 DMIC 2A CLP1DIS Data Sheet 146 R/W 180 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 Addr (hex) ABM-3G Registers Overview (cont’d) Register Description Reset µP value (hex) Configuration Register 0000 See page Configuration Register 2B CONFIG R/W 181 Backpressure Control Registers 2C UUBPTH0 Upstream UTOPIA Backpressure Threshold Register 0 FFFF R/W 181 2D UUBPTH1 Upstream UTOPIA Backpressure Threshold Register 1 FFFF R/W 183 2E UUBPTH2 Upstream UTOPIA Backpressure Threshold Register 2 FFFF R/W 184 2F UUBPTH3 Upstream UTOPIA Backpressure Threshold Register 3 FFFF R/W 185 30 UBPEI UTOPIA Backpressure Exceed Indication Register 0000 31 DUBPTH0 Downstream UTOPIA Backpressure Threshold Register 0 FFFF R/W 187 32 DUBPTH1 Downstream UTOPIA Backpressure Threshold Register 1 FFFF R/W 188 33 DUBPTH2 Downstream UTOPIA Backpressure Threshold Register 2 FFFF R/W 189 34 DUBPTH3 Downstream UTOPIA Backpressure Threshold Register 3 FFFF R/W 190 35 - Reserved Register 0080 R/W - 36 - Reserved Register 0000 R/W - 37 - Reserved Register 0000 R/W - 38 - Reserved Register 0000 R/W - 39 - Reserved Register 0000 R/W - 3A - Reserved Register 0000 R R/W 186 - LCI Table Transfer Registers 3B LCI0 LCI Transfer Register 0 0000 R/W 192 3C LCI1 LCI Transfer Register 1 0000 R/W 193 3D LCI2 LCI Transfer Register 2 0000 R/W 194 Data Sheet 147 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 Addr (hex) ABM-3G Registers Overview (cont’d) Register Reset µP value (hex) Description See page Traffic Class Table Transfer Registers 3E TCT0 TCT Transfer Register 0 0000 R/W 198 3F TCT1 TCT Transfer Register 1 0000 R/W 201 40 TCT2 TCT Transfer Register 2 0000 R/W 204 41 TCT3 TCT Transfer Register 3 0000 R/W 207 Queue Configuration Table Transfer Registers 42 QCT0 Queue Configuration Transfer Register 0 0000 R/W 213 43 QCT1 Queue Configuration Transfer Register 1 0000 R/W 214 44 QCT2 Queue Configuration Transfer Register 2 0000 R/W 217 45 QCT3 Queue Configuration Transfer Register 3 0000 R/W 219 46 QCT4 Queue Configuration Transfer Register 4 0000 R/W 220 47 QCT5 Queue Configuration Transfer Register 5 0000 R/W 221 48 QCT6 Queue Configuration Transfer Register 6 0000 R/W 222 Scheduler Block Occupancy Table Transfer Registers 49 SBOC0 SBOC Transfer Register 0 0000 R/W 225 4A SBOC1 SBOC Transfer Register 1 0000 R/W 226 4B SBOC2 SBOC Transfer Register 2 0000 R/W 227 4C SBOC3 SBOC Transfer Register 3 0000 R/W 228 4D SBOC4 SBOC Transfer Register 4 0000 R/W 229 Merge Group Table Transfer Registers 4E MGT0 MGT Transfer Register 0 0000 R/W 232 4F MGT1 MGT Transfer Register 1 0000 R/W 233 50 MGT2 MGT Transfer Register 2 0000 R/W 234 51 - Reserved Register 0000 R/W - 52 - Reserved Register 0000 R/W - 53 - Reserved Register 0000 R/W - 54 - Reserved Register 0000 R/W - Mask Registers Data Sheet 148 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 Addr (hex) ABM-3G Registers Overview (cont’d) Register Reset µP value (hex) Description See page for Read/Write transfer access control of LCI-, Traffic Class-, Queue Configuration-, Scheduler Block Occupancy and Merge Group Tables 55/56 MASK0/ MASK1 Table Access Mask Registers 0/1 0000 R/W 235 57/58 MASK2/ MASK3 Table Access Mask Registers 2/3 0000 R/W 236 59/5A MASK4/ MASK5 Table Access Mask Registers 4/5 0000 R/W 237 5B MASK6 Table Access Mask Registers 6 0000 R/W 238 5C - Reserved Register 0000 R/W - 5D - Reserved Register 0000 R/W - 5E - Reserved Register 0000 R/W - 5F - Reserved Register 0000 R/W - Rate Shaper CDV Registers 60/80 - Reserved Register 0000 R - 61/81 - Reserved Register 0000 R - 62/82 UCDV/ DCDV Upstream/Downstream Rate Shaper CDV Registers 0000 R/W 239 63/83 - Reserved Register 0000 R - 64/84 - Reserved Register 0000 R - Queue Parameter Table Mask Registers 65/85 UQPTM0/ DQPTM0 Upstream/Downstream Queue Parameter Table Mask Registers 0 0000 R/W 240 66/86 UQPTM1/ DQPTM1 Upstream/Downstream Queue Parameter Table Mask Registers 1 0000 R/W 241 67/87 UQPTM2/ DQPTM2 Upstream/Downstream Queue Parameter Table Mask Registers 2 0000 R/W 242 Data Sheet 149 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 ABM-3G Registers Overview (cont’d) Addr (hex) Register Description Reset µP value (hex) 68/88 UQPTM3/ DQPTM3 Upstream/Downstream Queue Parameter Table Mask Registers 3 0000 R/W 243 69/89 UQPTM4/ DQPTM4 Upstream/Downstream Queue Parameter Table Mask Registers 4 0000 R/W 244 6A/8A UQPTM5/ DQPTM5 Upstream/Downstream Queue Parameter Table Mask Registers 5 0000 R/W 245 See page Scheduler Configuration Register 6B/8B USCONF/ DSCONF Upstream/Downstream Scheduler Configuration Registers 0000 R/W 246 6C/8C - Reserved Register 0000 R - 6D/8D - Reserved Register 0000 R - 6E/8E - Reserved Register 0000 R - 6F/8F - Reserved Register 0000 R - Queue Parameter Table Transfer Registers 70/90 UQPT1T0/ DQPT1T0 Upstream/Downstream QPT1 Table Transfer Register 0 0000 R/W 249 UQPT1T1/ DQPT1T1 Upstream/Downstream QPT1 Table Transfer Register 1 0000 R/W 250 72/92 UQPT2T0/ DQPT2T0 Upstream/Downstream QPT2 Table Transfer Register 0 0000 R/W 253 73/93 UQPT2T1/ DQPT2T1 Upstream/Downstream QPT2 Table Transfer Register 1 0000 R/W 254 74/94 UQPT2T2/ DQPT2T2 Upstream/Downstream QPT2 Table Transfer Register 2 0000 R/W 255 75/95 UQPT2T3/ DQPT2T3 Upstream/Downstream QPT2 Table Transfer Register 3 0000 R/W 256 76/96 - Reserved Register 0000 R/W - 77/97 - Reserved Register 0000 R/W - 78/98 - Reserved Register 0000 R/W - 79/99 - Reserved Register 0000 R/W - 7A/9A - Reserved Register 0000 R/W - Data Sheet 150 71/91 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 ABM-3G Registers Overview (cont’d) Addr (hex) Register Description Reset µP value (hex) 7B/9B - Reserved Register 0000 R/W - 7C/9C - Reserved Register 0000 R/W - See page 7D/9D - Reserved Register 0000 R/W - 7E/9E - Reserved Register 0000 R/W - 7F/9F - Reserved Register 0000 R/W - Scheduler Block Configuration Table Transfer/Mask Registers SDRAM Refresh Registers UTOPIA Port Select of Common Real Time Queue Registers A0/B8 USADR/ DSADR Upstream/Downstream SCTI Address Registers 0000 R/W 259 A1/B9 USCTI/ DSCTI Upstream/Downstream SCTI Transfer Registers 0000 R/W 260 A2/BA UECRI/ DECRI Upstream/Downstream Empty Cycle Rate Integer Part Registers 0000 R/W 263 A3/BB UECRF/ DECRF Upstream/Downstream Empty Cycle Rate Fractional Part Registers 0000 R/W 264 A4/BC UCRTQ/ DCRTQ Upstream/Downstream Common Real Time Queue UTOPIA Port Select Registers 0000 R/W 265 A5/BD USCTFM/ DSCTFM Upstream/Downstream SCTF Mask Registers 0000 R/W 266 A6/BE USCTFT/ DSCTFT Upstream/Downstream SCTF Transfer Registers 0000 R/W 269 A7/BF - Reserved Register 0000 R - Scheduler Block Enable Registers A8/C0 USCEN0/ DSCEN0 Upstream/Downstream Scheduler Block Enable 0 Registers 0000 R/W 270 A9/C1 USCEN1/ DSCEN1 Upstream/Downstream Scheduler Block Enable 1 Registers 0000 R/W 271 AA/C2 USCEN2/ DSCEN2 Upstream/Downstream Scheduler Block Enable 2 Registers 0000 R/W 272 AB/C3 USCEN3/ DSCEN3 Upstream/Downstream Scheduler Block Enable 3 Registers 0000 R/W 273 Data Sheet 151 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 ABM-3G Registers Overview (cont’d) Addr (hex) Register Description Reset µP value (hex) AC/C4 USCEN4/ DSCEN4 Upstream/Downstream Scheduler Block Enable 4 Registers 0000 R/W 274 AD/C5 USCEN5/ DSCEN5 Upstream/Downstream Scheduler Block Enable 5 Registers 0000 R/W 275 AE/C6 USCEN6/ DSCEN6 Upstream/Downstream Scheduler Block Enable 6 Registers 0000 R/W 276 AF/C7 USCEN7/ DSCEN7 Upstream/Downstream Scheduler Block Enable 7 Registers 0000 R/W 277 See page Common Real Time Queue Rate Registers B0/C8 UCRTRI/ DCRTRI Upstream/Downstream CRT Rate Integer Registers 0000 R/W 278 B1/C9 UCRTRF/ DCRTRF Upstream/Downstream CRT Rate Fractional Registers 0000 R/W 279 B2 - Reserved Register 0000 R - B3 - Reserved Register 0000 R - B4 - Reserved Register 0000 R - B5 - Reserved Register 0000 R - B6 - Reserved Register 0000 R - B7 - Reserved Register 0000 R - AVT Table Registers CA ERCT0 AVT Table Transfer Register 0 0000 R/W 282 CB ERCT1 AVT Table Transfer Register 1 0000 R/W 283 CC ERCM0 AVT Table Access Mask Register 0 0000 R/W 284 CD ERCM1 AVT Table Access Mask Register 1 0000 R/W 285 CE - Reserved Register 0000 R - CF - Reserved Register 0000 R - D0 - Reserved Register 0000 R - D1 - Reserved Register 0000 R - D2 - Reserved Register 0000 R - D3 - Reserved Register 0000 R - Data Sheet 152 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 Addr (hex) ABM-3G Registers Overview (cont’d) Register Description Reset µP value (hex) See page D4 - Reserved Register 0000 R D5 ERCCONF0 ERC Configuration Register 0 0000 R/W 286 - D6 - Reserved Register 0000 R PLL1 Configuration Register 0000 R/W 287 - PLL Control Registers D7 PLL1CONF D8 - Reserved Register 0000 R D9 PLLTST PLL Test Register 0000 R/W 289 - External RAM Test Registers DC EXTRAMD0 External RAM Test Data Register 0 0000 R/W 290 DD EXTRAMD1 External RAM Test Data Register 1 0000 R/W 291 DE EXTRAMA0 External RAM Test Address Register Low 0000 R/W 292 DF EXTRAMA1 External RAM Test Address Register High 0000 R/W 293 E0 EXTRAMC External RAM Test Command Register 0000 R/W 294 ABM-3G Version Code Registers E1 VERL Version Number Low Register F083 R 295 E2 VERH Version Number High Register 1007 R 296 Interrupt Status/Mask Registers E3 ISRU Interrupt Status Register Upstream 0000 R/W 297 E4 ISRD Interrupt Status Register Downstream 0000 R/W 300 E5 ISRC Interrupt Status Register Common 0000 R/W 303 E6 IMRU Interrupt Mask Register Upstream 0000 R/W 304 E7 IMRD Interrupt Mask Register Downstream 0000 R/W 305 E8 IMRC Interrupt Mask Register Common 0000 R/W 306 E9 - Reserved Register 0000 R - EA - Reserved Register 0000 R - Data Sheet 153 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 Addr (hex) ABM-3G Registers Overview (cont’d) Register Description Reset µP value (hex) See page RAM Select Registers EB MAR Memory Address Register 0000 R/W 307 EC WAR Word Address Register 0000 R/W 309 Global ABM-3G Status and Mode Registers ED USTATUS ABM-3G UTOPIA Status Register 0000 R/W 311 EE MODE1 ABM-3G Mode 1 Register 0000 R/W 312 EF MODE2 ABM-3G Mode 2 Register 0000 R/W 315 UTOPIA Configuration Registers F0 UTRXCFG Upstream/Downstream UTOPIA Receive Configuration Register 0001 R/W 317 F1 UUTRXP0 Upstream UTOPIA Receive Port Register 0 0000 R/W 319 F2 UUTRXP1 Upstream UTOPIA Receive Port Register 1 0000 R/W 320 F3 UUTRXP2 Upstream UTOPIA Receive Port Register 2 0000 R/W 321 F4 DUTRXP0 Downstream UTOPIA Receive Port Register 0 0000 R/W 322 F5 DUTRXP1 Downstream UTOPIA Receive Port Register 1 0000 R/W 323 DUTRXP2 Downstream UTOPIA Receive Port Register 2 0000 R/W 324 F7 UUTTXCFG Upstream UTOPIA Transmit Configuration Register 0000 R/W 325 F8 DUTTXCFG Downstream UTOPIA Transmit Configuration Register 0001 R/W 327 F9 UUTTXP0 Upstream UTOPIA Transmit Port Register 0 0000 R/W 329 FA UUTTXP1 Upstream UTOPIA Transmit Port Register 1 0000 R/W 330 F6 Data Sheet 154 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-2 ABM-3G Registers Overview (cont’d) Addr (hex) Register Description Reset µP value (hex) FB UUTTXP2 Upstream UTOPIA Transmit Port Register 2 0000 R/W 331 FC DUTTXP0 Downstream UTOPIA Transmit Port Register 0 0000 R/W 332 FD DUTTXD1 Downstream UTOPIA Transmit Port Register 1 0000 R/W 333 FE DUTTXD2 Downstream UTOPIA Transmit Port Register 2 0000 R/W 334 0000 R/W 335 See page Test Registers/Special Mode Registers FF TEST Data Sheet TEST Register 155 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2 Detailed Register Descriptions 7.2.1 Cell Flow Test Registers Register 1 UCFTST/DCFTST Upstream/Downstream Cell Flow Test Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UCFTST Typical Usage: Written by CPU to test internal integrity functions during special system test scenarios Bit 15 14 01H DCFTST 13 12 11 11H 10 9 8 2 1 0 Unused(15:8) Bit 7 6 5 4 3 Unused(7:2) TSTBIP TSTQID • TSTBIP TSTQID Test BIP-8 Supervision 0 Normal Operation: BIP-8 for cell protection is generated normally. No ’BIP8ER’ interrupt should occur indicating a cell storage failure. 1 Test Mode: Least Significant Bit (LSB) of BIP-8 is inverted to test BIP-8 checking function. A ’BIP8ER’ (Register 101: ISRU, Register 102: ISRD) interrupt is generated whenever a cell is Read out of the Cell Buffer RAM. Test Queue ID Supervision (see “Cell Queue Supervision” on Page 90) 0 Data Sheet Normal Operation: A correct QID is generated. No ’BUFER4’ interrupt should occur indicating an internal queue pointer failure. 156 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 1 Test Mode: The LSB of the QID is inverted to test the QID checking function. A ’BUFER4’ (Register 101: ISRU, Register 102: ISRD) interrupt is generated whenever a cell is Read out from the Cell Buffer RAM. Note: The respective QID value is stored with each cell when written to the appropriate queue in the cell storage RAM. The ABM-3G checks the stored QID value against the supposed QID when a cell is read back from the cell storage RAM. 7.2.2 SDRAM Configuration Registers Register 2 URCFG/DRCFG Upstream/Downstream SDRAM Configuration Registers CPU Accessibility: Read/Write Reset Value: 0033 H Offset Address: URCFG Typical Usage: (Reserved) Bit 15 14 02H 13 DRCFG 12 11 12H 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) • Note: These registers are for internal use only. Do not to Write a value different from the Reset Value 0033H to Registers URCFG/DRCFG. Data Sheet 157 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.3 Cell Insertion/Extraction and AAL5 Control Registers Register 3 UA5TXHD0/DA5TXHD0 Upstream/Downstream AAL5 Transmit Header 0 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5TXHD0 Typical Usage: Written by CPU Bit 15 14 13 05H DA5TXHD0 15H 12 11 10 9 8 1 0 LCI(11:4), VPI(11:4) or GFC(3:0) | VPI(7:4), LCI(11:4), VPI(11:4) or GFC(3:0) | VPI(7:4), Bit 7 6 5 4 3 LCI(3:0), VPI(3:0), LCI(3:0), VPI(3:0) 2 VCI(15:12), LCI(15:12), VCI(15:12), VCI(15:12) • First 16-bit word of an ATM cell. The ABM-3G does not interpret these bit fields, but copies them into ATM cells that are inserted during AAL5 packet segmentation process. Inserted cells are forwarded to the ABM-3G like any cell received by the respective UTOPIA Interface. Thus the bit field usage must comply to the selected LCI mapping mode in the particular application. VPI(11:0) or GFC(3:0) | VPI(7:0) or LCI(11:0) The meaning of this bit field depends on the selected LCI mapping mode in Register 110: MODE1: MODE1->LCIMOD(1:0): ’00’ ’01’ ’10’ ’11’ Data Sheet VPI Address translated mode: LCI(11:0) VPI transparent mode: • NNI cell format: 12-bit VPI field • UNI cell format: 4-bit GFC field and 8-bit VPI field VPI Address translated mode: LCI(11:0) VPI transparent mode: • NNI cell format: 12-bit VPI field • UNI cell format: 4-bit GFC field and 8 bit VPI field 158 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Note: If LCI mapping mode ’10’ is chosen LCI(13:12) cannot be specified, i.e. AAL5 cell insertion is limited to the LCI range 0..4095. VCI(15:12) or LCI(15:12) or VCI(15:12) Data Sheet The meaning of this bit field depends on the selected LCI mapping mode in Register 110: MODE1: MODE1->LCIMOD(1:0): ’00’ ’01’ ’10’ ’11’ VCI transparent mode: VCI(15:12) VCI Address translated mode: LCI(15:12) VCI transparent mode: VCI(15:12) VCI transparent mode: VCI(15:12) 159 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 4 UA5TXHD1/DA5TXHD1 Upstream/Downstream AAL5Transmit Header 1 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5TXHD1 Typical Usage: Written by CPU Bit 15 14 13 06H DA5TXHD1 16H 12 11 10 9 8 2 1 0 VCI(11:4), LCI(11:4), VCI(11:4), VCI(11:4) Bit 7 6 5 4 3 VCI(3:0), LCI(3:0), VCI(3:0), VCI(3:0) PT(2:0) CLP • Second 16-bit word of an ATM cell. The ABM-3G does not interpret these bit fields, but copies them into ATM cells that are inserted during AAL5 packet segmentation process. Inserted cells are forwarded to the ABM-3G like any cell received by the respective UTOPIA Interface. Thus the bit field usage must comply to the selected LCI mapping mode in the particular application. VCI(11:0) or LCI(11:0) The meaning of this bit field depends on the selected LCI mapping mode in Register 110: MODE1: MODE1->LCIMOD(1:0): ’00’ ’01’ ’10’ ’11’ PT(2:0) Data Sheet VCI transparent mode: VCI(11:0) VCI Address translated mode: LCI(11:0) VCI transparent mode: VCI(11:0) VCI transparent mode: VCI(11:0) Payload Type Field in ATM cell Header 160 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description PT(0) is automatically handled by the ABM-3G (End of Packet indication set to ’1’ in last cell of any AAL5 segmented packet). PT(1) (’Congestion Experienced’) may be overwritten by CPU anytime during segmentation process and will be inserted in the following AAL5 cell generated. This field must be initialized to all 0s. CLP Cell Loss Priority Bit in ATM cell Header The CLP bit is copied transparently and may be overwritten (changed) by CPU anytime during segmentation process (new value will be inserted in the following AAL5 cell generated). Data Sheet 161 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 5 UA5TXDAT0/DA5TXDAT0 Upstream/Downstream AAL5Transmit Data 0 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5TXDAT 0 Typical Usage: Written by CPU Bit 15 14 07H 13 DA5TXDAT0 17H 12 11 10 9 8 2 1 0 Octet(4n)(7:0) Bit 7 6 5 4 3 Octet(4n+1)(7:0) • Cell Transmit Data Transfer Register Octet(4n)(7:0) Payload data Octet (4n) Octet(4n+1)(7:0) Payload data Octet (4n+1) The payload data octets of a cell to be inserted in either upstream or downstream direction are written by consecutive write accesses to registers UTXDAT0/DTXDAT0 and UTXDAT1/DTXDAT1 in alternating manner until end of packet: cycle n=0: Octet 0 and 1: write to UTXDAT0/DTXDAT0 cycle n=0: Octet 2 and 3: write to UTXDAT1/DTXDAT1 cycle n=1: Octet 4 and 5: write to UTXDAT0/DTXDAT0 cycle n=1: Octet 6 and 7: write to UTXDAT1/DTXDAT1 ... Data Sheet 162 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 6 UA5TXDAT1/DA5TXDAT1 Upstream/Downstream AAL5 Transmit Data 1 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5TXDAT1 08H Typical Usage: Written by CPU Bit 15 14 13 DA5TXDAT1 18H 12 11 10 9 8 2 1 0 Octet(4n+2)(7:0) Bit 7 6 5 4 3 Octet(4n+3)(7:0) Cell Transmit Data Transfer Register Octet(4n+2)(7:0) Payload data Octet (4n+2) Octet(4n+3)(7:0) Payload data Octet (4n+3) The payload data octets of a cell to be inserted in either upstream or downstream direction are written by consecutive write accesses to registers UTXDAT0/DTXDAT0 and UTXDAT1/DTXDAT1 in alternating manner until end of packet: cycle n=0: Octet 0 and 1: write to UTXDAT0/DTXDAT0 cycle n=0: Octet 2 and 3: write to UTXDAT1/DTXDAT1 cycle n=1: Octet 4 and 5: write to UTXDAT0/DTXDAT0 cycle n=1: Octet 6 and 7: write to UTXDAT1/DTXDAT1 ... Data Sheet 163 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 7 UA5TXTR/DA5TXTR Upstream/Downstream AAL5 Transmit Trailer Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5TXTR Typical Usage: Written by CPU Bit 15 14 13 09H DA5TXTR 12 11 19H 10 9 8 2 1 0 CPCSUU(7:0) Bit 7 6 5 4 3 CPI(7:0) CPCS-UU(7:0) Common Part Convergence Sublayer User to User Indication The CPCS-UU bit field is copied transparently into the CPCS-PDU trailer in the last cell of an AAL5 segmented packet. CPI(7:0) Common Part Indication The CPI bit field is copied transparently into the CPCS-PDU trailer in the last cell of an AAL5 segmented packet. Data Sheet 164 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 8 UA5TXCMD/DA5TXCMD Upstream/Downstream AAL5 Transmit Command Registers • CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5TXCMD Typical Usage: Written by CPU (write only, read always returns 0000) Bit 15 14 13 0AH 12 AAL5EN Bit 7 DA5TXCMD 11 1AH 10 9 8 2 1 0 PLENGTH(14:8) 6 5 4 3 PLENGTH(7:0) • AAL5EN AAL5 Segmentation Enable This bit enables AAL5 segmentation process accompanied by the payload length octet counter PLENGTH: ’0’ AAL5 segmentation is disabled. Payload data octets written to the cell transmit data registers are ignored. Note: Setting AAL5EN=’0’ during an active packet segmentation process leads to an abort of the packet, i.e. the current cell is inserted with PT(0)=’1’ (End of Packet indication) and CPCSSDU Length field of the trailer set to 0. To abort it is recommended to write all 0 to the register: AAL5EN | PLENGTH(14:0) = 0000H ’1’ PLENGTH(14:0) AAL5 segmentation is enabled. Payload data octets written to the cell transmit data registers are processed and the CPCS-PDU trailer is automatically appended in the last cell controlled by the payload length octet counter. Payload Length Octet Counter This bit field represents the number of PDU payload octets for the current packet and is equal to the CPCS-SDU length field which is automatically inserted in the PDU trailer (last cell of the packet). The ABM-3G uses this counter value to control the AAL5 segmentation process. Note: The maximum supported CPCS-SDU length is 32767 octets. Data Sheet 165 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 9 UA5RXHD0/DA5RXHD0 Upstream/Downstream AAL5 Receive Header 0 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5RXHD0 0BH Typical Usage: Read by CPU Bit 15 14 13 DA5RXHD0 1BH 12 11 10 9 8 1 0 LCI(11:4), VPI(11:4) or GFC(3:0) | VPI(7:4), LCI(11:4), VPI(11:4) or GFC(3:0) | VPI(7:4), Bit 7 6 5 4 3 LCI(3:0), VPI(3:0), LCI(3:0), VPI(3:0) 2 VCI(15:12), LCI(15:12), VCI(15:12), VCI(15:12) Header octets one and two of first ATM cell of packet. The ABM-3G SAR unit does not interpret these bit fields, but copies them from ATM cells that are extracted during AAL5 packet reassembly process. Extracted cells are forwarded from the ABM-3G like any cell to be transmitted by the respective UTOPIA Interface. Thus, the bit field usage depends on the selected LCI mapping mode in the particular application. From scheduler point of view the reassembly unit is addressed as UTOPIA port number 30H. Data Sheet 166 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description VPI(11:0) or GFC(3:0) | VPI(7:0) or LCI(11:0) The meaning of this bit field depends on the selected LCI mapping mode in Register 110: MODE1: MODE1->LCIMOD(1:0): ’00’ ’01’ ’10’ ’11’ VPI Address translated mode: LCI(11:0) VPI transparent mode: • NNI cell format: 12 bit VPI field • UNI cell format: 4 bit GFC field and 8 bit VPI field VPI Address translated mode: LCI(11:0) VPI transparent mode: • NNI cell format: 12 bit VPI field • UNI cell format: 4 bit GFC field and 8 bit VPI field Note: If LCI mapping mode ’10’ is chosen LCI(13:12) are not given to the user. VCI(15:12) or LCI(15:12) or VCI(15:12) Data Sheet The meaning of this bit field depends on the selected LCI mapping mode in Register 110: MODE1: MODE1->LCIMOD(1:0): ’00’ ’01’ ’10’ ’11’ VCI transparent mode: VCI(15:12) VCI Address translated mode: LCI(15:12) VCI transparent mode: VCI(15:12) VCI transparent mode: VCI(15:12) 167 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 10 UA5RXHD1/DA5RXHD1 Upstream/Downstream AAL5 Receive Header 1 Registers • CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5RXHD1 0CH Typical Usage: Read by CPU Bit 15 14 13 DA5RXHD1 1CH 12 11 10 9 8 2 1 0 VCI(11:4), LCI(11:4), VCI(11:4), VCI(11:4) Bit 7 6 5 4 3 VCI(3:0), LCI(3:0), VCI(3:0), VCI(3:0) PT(2:0) CLP • Header octets three and four of first ATM cell of AAL5 packet. The ABM-3G SAR unit does not interpret these bit fields, but copies them from ATM cells that are extracted during AAL5 packet reassembly process. Extracted cells are forwarded from the ABM-3G like any cell to be transmitted by the respective UTOPIA Interface. Thus, the bit field usage depends on the selected LCI mapping mode in the particular application. From scheduler point of view the reassembly unit is addressed as UTOPIA port number 30H. VCI(11:0) or LCI(11:0) The meaning of this bit field depends on the selected LCI mapping mode in Register 110: MODE1: MODE1->LCIMOD(1:0): ’00’ ’01’ ’10’ ’11’ Data Sheet VCI transparent mode: VCI(11:0) VCI Address translated mode: LCI(11:0) VCI transparent mode: VCI(11:0) VCI transparent mode: VCI(11:0) 168 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description PT(2:0) Payload Type Field in ATM cell Header PT(0) is automatically handled by the ABM-3G (End of Packet detection). Note: OAM or RM cells detected with PT(2)=’1’ are discarded by the reassembly unit and ignored for the packet reassembly process. Thus packet reassembly is not disturbed by inserted OAM cells. CLP Cell Loss Priority Bit in ATM cell Header The CLP bit is copied transparently from the ATM cell. Data Sheet 169 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 11 UA5RXDAT0/DA5RXDAT0 Upstream/Downstream AAL5 Receive Data 0 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5RXDAT0 0D H Typical Usage: Read by CPU Bit 15 14 13 DA5RXDAT0 1DH 12 11 10 9 8 2 1 0 Octet(4n)(7:0) Bit 7 6 5 4 3 Octet(4n+1)(7:0) Cell Receive Data Transfer Register Octet(4n)(7:0) Payload data Octet (4n) Octet(4n+1)(7:0) Payload data Octet (4n+1) The payload data octets of a cell extracted from either upstream or downstream direction are read by consecutive read accesses to registers URXDAT0/DRXDAT0 and URXDAT1/DRXDAT1 in alternating manner until end of packet: cycle n=0: Octet 0 and 1: read from URXDAT0/DRXDAT0 cycle n=0: Octet 2 and 3: read from URXDAT1/DRXDAT1 cycle n=1: Octet 4 and 5: read from URXDAT0/DRXDAT0 cycle n=1: Octet 6 and 7: read from URXDAT1/DRXDAT1 ... After EOP is found, CPCS-UU, CPI and Status is read. Data Sheet 170 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 12 UA5RXDAT1/DA5RXDAT1 Upstream/Downstream AAL5 Receive Data 1 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UA5RXDAT1 0EH Typical Usage: Read by CPU Bit 15 14 13 DA5RXDAT1 1EH 12 11 10 9 8 2 1 0 Octet(4n+2)(7:0) Bit 7 6 5 4 3 Octet(4n+3)(7:0) Cell Receive Data Transfer Register Octet(4n)(7:0) Payload data Octet (4n) Octet(4n+1)(7:0) Payload data Octet (4n+1) The payload data octets of a cell extracted from either upstream or downstream direction are read by consecutive read accesses to registers URXDAT0/DRXDAT0 and URXDAT1/DRXDAT1 in alternating manner until end of packet: cycle n=0: Octet 0 and 1: read from URXDAT0/DRXDAT0 cycle n=0: Octet 2 and 3: read from URXDAT1/DRXDAT1 cycle n=1: Octet 4 and 5: read from URXDAT0/DRXDAT0 cycle n=1: Octet 6 and 7: read from URXDAT1/DRXDAT1 ... After EOP is found, CPCS-UU, CPI and Status is read. Data Sheet 171 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 13 UA5SARS/DA5SARS Upstream/Downstream AAL5 SAR Status Registers CPU Accessibility: Read/Write Reset Value: 0080H Offset Address: UA5SARS Typical Usage: Read and written by CPU Bit 0FH DA5SARS 15 14 13 12 11 PE CRC ERR ILEN MFLE RAB 7 6 5 4 3 WAIT SP SAB SE Bit PE 1FH 10 9 OV(1:0) 2 8 RXS 1 0 unused(3:0) Packet End A ‘1’ indicates that with the preceding read to register UA5RXDAT0/ DA5RXDAT0 or UA5RXDAT1/DA5RXDAT1, the last two bytes of the current packet have been read. CRCERR CRC Error A ‘1’ indicates that the CRC32 of the current packet is erroneous. ILEN Illegal Length A ‘1’ indicates that the length of the current packet is erroneous, i.e the number of octets does not match the length field in the AAL5 trailer or exceeds the maximum supported packet length of 65536 octets. MFLE Maximum Frame Length Exceeded A ‘1’ indicates that the length of the current packet exceeds the maximum supported packet length of 65536 octets. RAB Receive Abort A ‘1’ indicates that the length field of the current packet is 0, indicating an aborted or corrupted packet. OV(1:0) Octets Valid This bit field indicates the number of valid octets in registers UA5RXDAT0 and UA5RXDAT1 or DA5RXDAT0 and DA5RXDAT1 respectively. Data Sheet 172 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description RXS Receive Packet Start A ‘1’ indicates that the first octets of a new packet are available in registers UA5RXDAT0 and UA5RXDAT1 or DA5RXDAT0 and DA5RXDAT1 respectively. WAIT Wait A ‘1’ indicates that no valid octets are available in registers UA5RXDAT0 and UA5RXDAT1 or DA5RXDAT0 and DA5RXDAT1 respectively. Read access to any read register while WAIT is asserted results into an error interrupt. SP Segmentation Pending A ‘1’ indicates that a cell is ready to be transmitted towards the ABM-3G core. A cell is ready either when 48 octets have been written to UA5TXDAT0 and UA5TXDAT1 or DA5TXDAT0 and DA5TXDAT1 respectively or when the last cell is being built. Bit ‘SP’ is set when the 48-byte transmit buffer is full and it is reset as soon as at least 4-octet space is available for new octets. The microprocessor has to poll this bit before writing the next 48-octet bunch or beginning a new packet. If the microprocessor attempts to write to UA5TXDAT0 and UA5TXDAT1 or DA5TXDAT0 and DA5TXDAT1 respectively while ‘SP’ is set, an interrupt is generated and the write access is delayed by the READY signal. SAB Segmentation Abort A ‘1’ indicates that the transmission of a packet has been aborted because the enable bit EN was reset by the microprocessor before the transmission was completed. The AAL5 unit automatically closed the packet with an abort sequence in the last cell (length field set to 0). Note: Status bit ‘SE’ is not set in this case. SE Segmentation Ended A ‘1’ indicates that the transmission of a packet has been completed successfully. Note: Status bits SP, SAB, SE are used for transmit, the others for receive. Data Sheet 173 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.4 Buffer Occupation Counter Registers Register 14 UBufferOcc/DBufferOcc Upstream/Downstream Buffer Occupation Registers CPU Accessibility: Read only Reset Value: 0000 H Offset Address: UBufferOcc 20H Typical Usage: Read by CPU Bit 15 14 13 DBufferOcc 21H 12 11 10 9 8 1 0 UBufferOcc/DBufferOcc(17:10) Bit 7 6 5 4 3 2 UBufferOcc/DBufferOcc(9:2) UBufferOcc(17:2) Upstream Buffer Occupation Counter DBufferOcc(17:2) Downstream Buffer Occupation Counter These bit fields represent the most significant 16 bits of the internal 18-bit wide counters reflecting the number of cells currently stored in the upstream/downstream cell storage RAM. The CPU determines the buffer fill level with a granularity of 4 by reading register UBufferOcc/DBufferOcc and left shifting the value by 2: fill_level(17:0):= (xBufferOcc(17:2) << 2) Data Sheet 174 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 15 UBufferOccNg/DBufferOccNg Up-/Downstream Non-Guaranteed Buffer Occupation Registers CPU Accessibility: Read only Reset Value: 0000 H Offset Address: UBufferOccNg Typical Usage: Read by CPU Bit 15 14 13 22 H 12 DBufferOccNg 11 10 23H 9 8 1 0 UBufferOccNg/DBufferOccNg(17:10) Bit 7 6 5 4 3 2 UBufferOccNg/DBufferOccNg(9:2) • UBufferOccNg(17:2) Upstream Non-Guaranteed Buffer Occupation Counter DBufferOccNg(17:2) Downstream Non-Guaranteed Buffer Occupation Counter These bit fields represent the most significant 16 bits of the internal 18-bit wide counters reflecting the number of nonguaranteed cells currently stored in the upstream/downstream cell storage RAM. The CPU determines the number of cells with a granularity of 4 by reading register UBufferOccNg/DBufferOccNg and left shifting the value by 2: fill_level(17:0):= (xBufferOccNg(17:2) << 2) “Non-Guaranteed” cell count refers to cells, that are accepted (stored) because of shared buffer availability although the guaranteed minimum per queue buffer size is already occupied by the specific queue. The sum of all per queue guaranteed buffer sizes virtually divides the global buffer space into a “guaranteed” part and a “non-guaranteed” (shared) part. Note: This counter function has been modified from ABM v1.1 since minimum per queue buffer reservation was introduced in ABM-3G v1.1. In ABM v1.1 these counters represented the number stored “non-real-time” cells belonging to traffic classes with the real-time indication bit ’RTind’ cleared in the traffic class table. Data Sheet 175 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.5 Buffer Threshold and Occupation Capture Registers Register 16 UBufMax/DBufMax Upstream/Downstream Buffer Maximum Threshold Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UBufMax Typical Usage: Written by CPU Bit 15 14 13 24H DBufMax 12 11 25H 10 9 8 2 1 0 UBufMax/DBufMax(17:10) Bit 7 6 5 4 3 UBufMax/DBufMax(9:2) UBufMax(17:2) DBufMax(17:2) Upstream Buffer Maximum Threshold Downstream Buffer Maximum Threshold These bit fields determine a maximum limit for the total upstream and downstream buffer size with a granularity of 4 cells. The values depend on: • The size of the external cell pointer RAM, • Whether the downstream cell storage RAM is connected. See Table 7-3 for recommended values. The CPU programs the maximum number of cells with a granularity of 4 by right shifting the value by 2: xBufMax(17:2):= (maximum_cells(17:0) >> 2) Table 7-3 provides typical values and related RAM sizes: Data Sheet 176 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description • Table 7-3 External RAM Sizes UBufMax UpMin. stream Required Buffer Downstream Cell SDRAM DBufMax Downstream Buffer Cell Pointer SSRAM Min. Required Upstream Cell SDRAM e.g. 512 k x 32 bit 128 Mb 128 Mb e.g. e.g. 2*(4Mb*16) 2*(4Mb*16) 3FFFFH 256k cells 3FFFFH 256k cells e.g. 256 k x 32 bit 64 Mb 64 Mb e.g. e.g. 1*(2Mb*32) 1*(2Mb*32) 1FFFFH 128k cells 1FFFFH 128k cells e.g. 128 k x 32 bit 32 Mb 0FFFFH 64k cells 64k cells e.g. 256 k x 32 bit none 128 Mb e.g. 2*(4Mb*16) 3FFFFH 256k cells 00000H 0 e.g. 128 k x 32 bit none 64 Mb e.g. 1*(2Mb*32) 1FFFFH 128k cells 00000H 0 e.g. 64 k x 32 bit 32 Mb 0FFFFH 64k cells 0 32 Mb none 0FFFFH 00000H Note: The upstream cell storage RAM must always be connected. Note: The size of the cell storage RAMs need not to be specified. Its minimum size is determined by the setting of UBufMax/DbufMax. Data Sheet 177 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 17 UMAC/DMAC Upstream/Downstream Maximum Occupation Capture Registers CPU Accessibility: Read only, self-clearing on Read Reset Value: 0000 H Offset Address: UMAC Typical Usage: Read by CPU Bit 15 14 26H 13 DMAC 12 11 27H 10 9 8 2 1 0 UMAC/DMAC(17:10) Bit 7 6 5 4 3 UMAC/DMAC(9:2) UMAC(17:2) DMAC(17:2) Upstream Maximum Occupation Capture Counter Downstream Maximum Occupation Capture Counter These bit fields represent the most significant 16 bits of the internal 18-bit wide counters reflecting the absolute maximum number of cells stored in the respective external cell buffer since the last Read access (peak cell filling level within measurement interval). The CPU determines the maximum number of cells with a granularity of 4 by reading register UMAC/DMAC and left shifting the value by 2: max_level(17:0):= (xMAC(17:2) << 2) The counter value is automatically cleared to 0000H after Read. Data Sheet 178 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 18 UMIC/DMIC Upstream/Downstream Minimum Occupation Capture Registers CPU Accessibility: Read only, self-clearing on Read Reset Value: FFFF H (modified by chip logic immediately after reset) Offset Address: UMIC Typical Usage: Read by CPU Bit 15 14 DMIC 28H 13 12 11 29H 10 9 8 2 1 0 UMIC/DMIC(17:10) Bit 7 6 5 4 3 UMIC/DMIC(9:2) UMIC(17:2) Upstream Minimum Occupation Capture Counter DMIC(17:2) Downstream Minimum Occupation Capture Counter These bit fields represent the most significant 16 bits of the internal 18-bit wide counters reflecting the absolute minimum number of cells stored in the respective external cell buffer since the last Read access (minimum cell filling level within measurement interval). The CPU determines the minimum number of cells with a granularity of 4 by reading register UMIC/DMIC and left shifting the value by 2: min_level(17:0):= (xMIC(17:2) << 2) The counter value is automatically cleared to 0000H after Read. Note: The reset value is modified by chip logic immediately after reset or clearing read and thus shall not be included in register reset value test programs. Data Sheet 179 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 19 CLP1DIS CLP1 Discard Global Threshold Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: CLP1DIS Typical Usage: Written by CPU Bit 15 14 13 2AH 12 11 10 9 8 2 1 0 DCLP1DIS(13:6) Bit 7 6 5 4 3 UCLP1DIS(13:6) UCLP1DIS(13:6) DCLP1DIS(13:6) Upstream CLP1 Discard Threshold value Downstream CLP1 Discard Threshold value These 8-bit values determine a global 14-bit threshold value (granularity of 64 cells) that enables discard of low-priority (CLP=’1’) cells. The threshold values are compared with the per scheduler low priority cell counter SBOccLP (Scheduler Block Low Priority Occupancy) (see Internal Table 4: Scheduler Block Occupancy Table Transfer Registers SBOC0..SBOC4) and enables all CLP1 related discard thresholds, i.e.: TCT1.BufCiCLP1(7:0) (Register 34: TCT1) TCT2.SBCiCLP1(7:0) (Register 35: TCT2) TCT0.QueueCiCLP1(11:0) (Register 33: TCT0) As a second condition, CLP1 related discard thresholds are only effective, if the specific queue that is asked to accept the cell is associated to a traffic class that has EPD function disabled (EPDen=’0’, see “Traffic Class Table Transfer Registers TCT0, TCT1, TCT2, TCT3” on Page 195). The CPU programs the threshold with a granularity of 64 cells by right shifting the value by 6: xCLP1DIS(13:6):= (threshold_value(13:0) >> 6) Data Sheet 180 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.6 Configuration Register Register 20 CONFIG Configuration Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: 2B H Typical Usage: Written by CPU Bit 15 14 13 12 11 10 9 8 2 1 0 Unused(13:6) Bit 7 6 5 4 3 Unused(5:0) Reserved1 7.2.7 Reserved1 Unused this bit is for internal use only and must be set to 0 during normal operation. Backpressure Control Registers Register 21 UUBPTH0 Upstream UTOPIA Backpressure Threshold Register 0 • CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: UUBPTH0 Typical Usage: Written by CPU Bit 15 14 13 2CH 12 11 10 9 8 UUBPTH0(17:10) Data Sheet 181 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Bit 7 6 5 4 3 2 1 0 UUBPTH0(9:2) • UUBPTH0(17:2) Data Sheet Upstream UTOPIA Backpressure Threshold 0 This bit field determines the backpressure threshold for the Upstream UTOPIA Receive Interface Group 0 (see Chapter 5.1.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: UUBPTH0(17:2):= (maximum_cells(17:0) >> 2) 182 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 22 UUBPTH1 Upstream UTOPIA Backpressure Threshold Register 1 • CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: UUBPTH1 Typical Usage: Written by CPU Bit 15 14 13 2DH 12 11 10 9 8 2 1 0 UUBPTH1(17:10) Bit 7 6 5 4 3 UUBPTH1(9:2) • UUBPTH1(17:2) Data Sheet Upstream UTOPIA Backpressure Threshold 1 This bit field determines the backpressure threshold for the Upstream UTOPIA Receive Interface Group 1 (see Chapter 5.1.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: UUBPTH1(17:2):= (maximum_cells(17:0) >> 2) 183 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 23 UUBPTH2 Upstream UTOPIA Backpressure Threshold Register 2 CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: UUBPTH2 Typical Usage: Written by CPU Bit 15 14 13 2EH 12 11 10 9 8 2 1 0 UUBPTH2(17:10) Bit 7 6 5 4 3 UUBPTH2(9:2) UUBPTH2(17:2) Data Sheet Upstream UTOPIA Backpressure Threshold 2 This bit field determines the backpressure threshold for the Upstream UTOPIA Receive Interface Group 2 (see Chapter 5.1.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: UUBPTH2(17:2):= (maximum_cells(17:0) >> 2) 184 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 24 UUBPTH3 Upstream UTOPIA Backpressure Threshold Register 3 CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: UUBPTH3 Typical Usage: Written by CPU Bit 15 14 13 2EH 12 11 10 9 8 2 1 0 UUBPTH3(17:10) Bit 7 6 5 4 3 UUBPTH3(9:2) UUBPTH3(17:2) Data Sheet Upstream UTOPIA Backpressure Threshold 3 This bit field determines the backpressure threshold for the Upstream UTOPIA Receive Interface Group 3 (see Chapter 5.1.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: UUBPTH3(17:2):= (maximum_cells(17:0) >> 2) 185 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 25 UBPEI UTOPIA Backpressure Exceed Indication Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UBPEI Typical Usage: Read by CPU Bit 15 14 30H 13 12 11 10 9 8 2 1 0 Unused(7:0) Bit 7 6 5 4 3 DUBPEI(3:0) UUBPEI(3:0) DUBPEI(3:0) Downstream UTOPIA Backpressure Exceed Indication (3:0) UUBPEI(3:0) Upstream UTOPIA Backpressure Exceed Indication (3:0) These bits indicate the respective UTOPIA backpressure threshold status. Bit i (i = 0..3) active indicates, that the backpressure threshold for group i is exceeded (bit = ‘H’) and the UTOPIA Receive Interface backpressures the respective UTOPIA ports. Data Sheet 186 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 26 DUBPTH0 Downstream UTOPIA Backpressure Threshold Register 0 CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: DUBPTH0 Typical Usage: Written by CPU Bit 15 14 13 31H 12 11 10 9 8 2 1 0 DUBPTH0(17:10) Bit 7 6 5 4 3 DUBPTH0(9:2) DUBPTH0(17:2) Data Sheet Downstream UTOPIA Backpressure Threshold 0 This bit field determines the backpressure threshold for the Downstream UTOPIA Receive Interface Group 0 (see Chapter 5.2.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: DUBPTH0(17:2):= (maximum_cells(17:0) >> 2) 187 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 27 DUBPTH1 Downstream UTOPIA Backpressure Threshold Register 1 CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: DUBPTH1 Typical Usage: Written by CPU Bit 15 14 13 32H 12 11 10 9 8 2 1 0 DUBPTH1(17:10) Bit 7 6 5 4 3 DUBPTH1(9:2) DUBPTH1(17:2) Data Sheet Downstream UTOPIA Backpressure Threshold 1 This bit field determines the backpressure threshold for the Downstream UTOPIA Receive Interface Group 1 (see Chapter 5.2.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: DUBPTH1(17:2):= (maximum_cells(17:0) >> 2) 188 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 28 DUBPTH2 Downstream UTOPIA Backpressure Threshold Register 2 CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: DUBPTH2 Typical Usage: Written by CPU Bit 15 14 13 33H 12 11 10 9 8 2 1 0 DUBPTH2(17:10) Bit 7 6 5 4 3 DUBPTH2(9:2) DUBPTH2(17:2) Data Sheet Downstream UTOPIA Backpressure Threshold 2 This bit field determines the backpressure threshold for the Downstream UTOPIA Receive Interface Group 2 (see Chapter 5.2.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: DUBPTH2(17:2):= (maximum_cells(17:0) >> 2) 189 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 29 DUBPTH3 Downstream UTOPIA Backpressure Threshold Register 3 CPU Accessibility: Read/Write Reset Value: FFFF H Offset Address: DUBPTH3 Typical Usage: Written by CPU Bit 15 14 13 34H 12 11 10 9 8 2 1 0 DUBPTH3(17:10) Bit 7 6 5 4 3 DUBPTH3(9:2) DUBPTH3(17:2) Data Sheet Downstream UTOPIA Backpressure Threshold 3 This bit field determines the backpressure threshold for the Downstream UTOPIA Receive Interface Group 3 (see Chapter 5.2.1) with a granularity of 4 cells. The CPU programs the threshold with a granularity of 4 by right shifting the value by 2: DUBPTH3(17:2):= (maximum_cells(17:0) >> 2) 190 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.8 LCI Table Transfer Registers Internal Table 1: LCI Table Transfer Registers LCI0, LCI1, LCI2 These registers are used to access the internal Local Connection Identifier (LCI) table containing 16384 entries (one entry serves for upstream and downstream direction). Table 7-4 shows an overview of the registers involved. Table 7-4 Registers for LCI Table Access 47 0 LCI RAM entry 15 0 15 LCI2 0 RAM select: 15 LCI1 0 15 LCI0 0 MAR=00H LCI select: 15 0 15 MASK2 0 15 MASK1 0 15 MASK0 0 WAR (0..16383D) LCI0, LCI1 and LCI2 are the transfer registers for one 48-bit LCI table entry. The LCI value representing the table entry which needs to be read or written must be written to the Word Address Register (WAR). The dedicated LCI table entry is read into the LCI0/ LCI1/LCI2 Registers or modified by the LCI0/LCI1/LCI2 Register values with a write mechanism. The associated Mask Registers MASK0 to MASK2 allow a bit-wise masking for Write operation (0 - unmasked, 1 - masked). In case of Read operation, the dedicated LCI0/LCI1/LCI2 register bit will be overwritten by the respective LCI table entry bit value. In case of Write operation, the dedicated LCI0/LCI1/LCI2 register bit will modify the respective LCI table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR select the memory/table that will be accessed; to select the LCI table bit field MAR(4:0) must be set to 0. Bit 5 of the MAR starts the transfer and is automatically cleared after execution. Table 7-5 Bit 15 WAR Register Mapping for LCI Table Access 14 13 12 Unused(2:0) Bit 7 6 11 10 9 8 1 0 LCISel(13:8) 5 4 3 2 LCISel(7:0) LCISel(13:0) Data Sheet Selects an LCI entry within the range (0..16383). 191 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 30 LCI0 LCI Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: LCI0 Typical Usage: Written and Read by CPU to maintain the LCI table Bit 15 14 3BH 13 12 11 10 9 8 2 1 0 CLPT ABM core Unused(13:6) Bit 7 6 5 4 3 Unused(5:0) CLPT ABMcore Data Sheet CLP Transparent: Specifies whether the CLP bit of cells belonging to this connection is evaluated or not in threshold checks. Valid for both upstream and downstream cores. Does not affect SBOC counters. 0 CLP bit is evaluated. 1 CLP bit is not evaluated; all cells are treated as high priority cells assuming CLP=0. ABM-3G Core Selection: This bit is valid in Uni-directional Mode only and specifies the core responsible for cells of this LCI. 0 Scheduler Blocks 0..127 are selected (core 0). 1 Scheduler Blocks 128..255 are selected (core 1). 192 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 31 LCI1 LCI Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: LCI1 Typical Usage: Written and Read by CPU to maintain the LCI table Bit 15 14 3CH 13 12 11 10 9 8 2 1 0 DnQID(12:5) Bit 7 6 5 4 DnQID(4:0) 3 Dnflags(2:0) DnQID(12:0) Downstream Queue Identifier. Specifies the queue (0..8191) in which the cells of the connection are stored. Dnflag 2 Last cell of packet flag for downstream direction; This bit is autonomously used by the EPD function of the ABM-3G. Initialize to 1 at connection setup. Do not Write during normal operation. Dnflag 1 Discard packet flag in downstream direction; This bit is autonomously used by the EPD function of the ABM-3G. Initialize to 0 at connection setup. Do not Write during normal operation. Dnflag 0 Discard rest of packet flag in downstream direction; This bit is autonomously used by the EPD function of the ABM-3G. Initialize to 0 at connection setup. Do not Write during normal operation. Data Sheet 193 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 32 LCI2 LCI Transfer Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: LCI1 Typical Usage: Written and Read by CPU to maintain the LCI table Bit 15 14 3DH 13 12 11 10 9 8 2 1 0 UpQID(12:5) Bit 7 6 5 4 3 UpQID(4:0) Upflags(2:0) UpQID(12:0) Upstream Queue Identifier. Specifies the queue (0..8191) in which the cells of the connection are stored. Upflag 2 Last cell of packet flag for upstream direction; This bit is autonomously used by the EPD function of the ABM-3G. Initialize to 1 at connection setup. Do not Write during normal operation. Upflag 1 Discard packet flag in upstream direction; This bit is autonomously used by the EPD function of the ABM-3G. Initialize to 0 at connection setup. Do not Write during normal operation. Upflag 0 Discard rest of packet flag in upstream direction; This bit is autonomously used by the EPD function of the ABM-3G. Initialize to 0 at connection setup. Do not Write during normal operation. Data Sheet 194 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.9 Traffic Class Table Transfer Registers Internal Table 2: Traffic Class Table Transfer Registers TCT0, TCT1, TCT2, TCT3 The Traffic Class Table Transfer Registers are used to access the internal Traffic Class Table (TCT) containing 2*16 entries of 4*64 bits each (16 traffic classes per ABM-3G core, 4 words of 64 bits per entry). Table 7-6 shows an overview of the registers involved. Table 7-6 Registers for TCT Table Access 63 0 TCT RAM entry 15 0 15 TCT3 RAM select: 0 15 TCT2 0 15 TCT1 0 15 TCT0 0 MAR=01H TCT entry select: 15 0 15 MASK3 0 15 MASK2 0 15 MASK1 0 MASK0 15 0 WAR (0..127D) TCT0, TCT1, TCT2 and TCT3 are the transfer registers used to access the 4*64 bit TCT table entries. Core selection, traffic class number, and 64-bit word selection of the table entry which needs to be read or written must be programmed to the Word Address Register (WAR). The dedicated TCT table entry 64-bit word is read into the TCT3/TCT2/TCT1/TCT0 registers or modified by the TCT3/TCT2/TCT1/TCT0 register values with a write mechanism. The associated Mask Registers MASKi (i=3..0) allow a bit-wise masking for Write operation (0 - unmasked, 1 - masked). In case of Read operation, the dedicated TCTi (i=3..0) register bit will be overwritten by the respective TCT table entry bit value. In case of Write operation, the dedicated TCTi (i=3..0) register bit will modify the respective TCT table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR select the memory/table that will be accessed; to select the TCT table bit field MAR(4:0) must be set to 1. Bit 5 of MAR starts the transfer and is automatically cleared after execution. Data Sheet 195 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description • Table 7-7 Bit WAR Register Mapping for TCT Table Access 15 14 13 12 11 10 9 8 2 1 0 Unused(7:0) Bit 7 6 Unused CoreSel CoreSel TCID(3:0) word64Sel(1:0) 5 4 3 TCID(3:0) word64Sel(1:0) Selects the ABM-3G core for TCT table access: 0 Upstream core selected (Core 0) 1 Downstream core selected (Core 1) Selects The Traffic Class for the TCT table access in the range (0..15). Selects The 64-Bit Word of the 256-bit TCT table entry for access: 00 Bit field (63..0) of traffic class entry is selected. 01 Bit field (127..64) of traffic class entry is selected. 10 Bit field (191..128) of traffic class entry is selected. 11 Bit field (255..192) of traffic class entry is selected. The meaning of registers TCTi (i=3..0) depends on the word selection bit field ’word64Sel(1:0)’ in the WAR, because 256-bit TCT entries are mapped to 64 bits of registers TCTi (i=3..0) by this selection: Data Sheet 196 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description WAR modulo 4 • 63 56 55 48 47 40 3 LostCellsTotal(31:0)1) 2 AcceptedCells/Packets(31:0)1) 1 TrafClassMax(7:0) 0 DH (2:0) SBMax(7:0) unused(3:0) 2 2 2 2 2 2 2 2 2 unused( 8 7 6 5 4 3 2 1 0 3:0) SBCiCLP1(11:0) TCT2(15:0) WAR modulo 4 All 5 statistical counters stop at their maximum value. Counters must be set to 0 after read. 3 31 24 unused(7:0) 2 23 16 LostCell LostCell sBuffer sSB(3:0) 1) (3:0)1) unused(13:0) 15 8 7 0 LostPackets/CLP1Cells(15:0) 1) TrafClassOccNg(17:0) 1 unused(7:0) QueueMax(7:0) 0 unused(7:0) BufCiCLP1(7:0) TCT1(15:0) 1) 32 unused(15:0) TCT3(15:0) 1) 39 unused(3:0) QueueCiCLP1(11:0) BufMaxNg(7:0) BufEPDNg(7:0) TCT0(15:0) All 5 statistical counters stop at their maximum value. Counters must be set to 0 after read. Note: - grey fields are ’unused’, it is recommended to mask them for write access - green fields must be configured (written) by the CPU - blue fields are statistical counter values optionally read by CPU Data Sheet 197 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 33 TCT0 TCT Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: TCT0 Typical Usage: Written and Read by CPU to maintain the TCT table; the meaning of register TCT0 depends on the bit field ’Word64Sel’ in WAR; 3EH Register WAR.Word64Sel(1:0) =’00’: Bit 15 14 13 12 11 10 9 8 2 1 0 BufMaxNg(7:0) Bit 7 6 5 4 3 BufEPDNg(7:0) BufMaxNg(7:0) Maximum Buffer Fill Threshold for a non-real-time traffic class configuration (register TCT1, DwordSel=00). The first cell exceeding this threshold is discarded and if also PPD is enabled for this traffic class (register TCT1, DwordSel=00, PPDen=1) PPD is applied on a per connection (LCI) basis. The threshold is defined with a granularity of 1024 cells: Threshold = BufMaxNg(7:0) * 1024 Cells BufEPDNg(7:0) EPD threshold for a non-real-time traffic class configuration (register TCT1, DwordSel=’00’). If the buffer fill exceeds this threshold and EPD is enabled for this traffic class (register TCT1, DwordSel=00, EPDen=1) EPD is applied on a per connection (LCI) basis. The threshold is defined with a granularity of 1024 cells: Threshold = BufEPDNg(7:0) * 1024Cells Data Sheet 198 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register WAR.Word64Sel(1:0) =’01’: Bit 15 14 13 12 11 unused(3:0) Bit 7 6 10 9 8 QueueCiCLP1(11:8) 5 4 3 2 1 0 QueueCiCLP1(7:0) QueueCiCLP1 (11:0) Combined Queue Threshold of this Traffic Class for the following cases: a) if CLPT=0 (CLP transparent bit is not true) and EPDen=0 Þ CLP1 queue threshold for CLP=1 cells (cells with CLP=1 are discarded) b) if CLPT=0 and EPDen=1 Þ EPD GFR queue threshold. If that threshold and additionally BufNrtEPD (of the respective traffic class) is exceeded then EPD is triggered. The threshold is defined with a granularity of 4: Threshold = QueueCiCLP1(7:0) * 4 Cells • Register WAR.Word64Sel(1:0) =’10’: Bit 15 14 13 12 11 10 9 8 2 1 0 TrafClassOccNg(15:8) Bit 7 6 5 4 3 TrafClassOccNg(7:0) TrafClassOccNg Current Buffer Occupation in number of cells for this traffic class. (15:0) Do not Write in normal operation. Data Sheet 199 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register WAR.Word64Sel(1:0) =’11’: Bit 15 14 13 12 11 10 9 8 1 0 LostPackets/CLP1Cells(15:8) Bit 7 6 5 4 3 2 LostPackets/CLP1Cells(7:0) LostPackets/ CLP1Cells (15:0) Data Sheet Count of Lost Packets due to EPD Overflow for this traffic class or count of lost CLP=1 cells due to CLP threshold overflow. Automatically reset after Read access. 200 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 34 TCT1 TCT Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: TCT1 Typical Usage: Written and Read by CPU to maintain the TCT table; the meaning of register TCT1 depends on the bit field ’Word64Sel’ in WAR; 3FH Register WAR.Word64Sel(1:0) =’00’: Bit 15 14 13 12 11 10 9 8 2 1 0 unused(7:0) Bit 7 6 5 4 3 BufCiCLP1(17:10) BufCiCLP1 (17:10) Buffer EPD CLP1 Threshold This 8-bit value determines a global cell filling level threshold with a granularity of 1024 cells that triggers early packet discard (EPD) for CLP=1 tagged frames used by GFR traffic class service (low watermark). The threshold values are compared with the non guaranteed Buffer Occupancy counters UBufferOccNg, DBufferOccNg respectively. The CPU programs the threshold with a granularity of 1024 cells by right shifting the value by 10: BufCiCLP1(17:10):= (threshold_value(17:0) >> 10) Note: In ABM v1.1 this threshold was determined by registers UEC and DEC. Data Sheet 201 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register WAR.Word64Sel(1:0) =’01’: Bit 15 14 13 12 11 10 9 8 2 1 0 unused(7:0) Bit 7 6 5 4 3 QueueMax(7:0) QueueMax (7:0) This 8-bit value determines the maximum queue length with a granularity of 64 cells. The CPU programs the maximum queue length with a granularity of 64 cells by right shifting the value by 6: QueueMax(7:0):= queuelength >> 6 The maximum length of any queue is limited to (255*64) = 16320 cells. Register WAR.Word64Sel(1:0) =’10’: Bit 15 14 13 12 11 10 9 8 1 0 unused(7:0) Bit 7 6 5 4 3 unused(5:0) 2 TrafClassOccNg (17:16) TrafClassOccNg MSBs of Current Buffer Occupation Counter (17:16) TrafClassOccNg(17:0) counts the number of cells stored for this traffic class. Do not Write in normal operation. • Data Sheet 202 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register WAR.Word64Sel(1:0) =’11’: Bit 15 14 13 12 11 10 9 8 2 1 0 unused(7:0) Bit 7 6 5 4 3 LostCellsBuffer(3:0) LostCellsSB(3:0) LostCellsBuffer (3:0) Count of Lost Cells due to Buffer Overflow for this traffic class. Automatically reset after Read access. LostCellsSB (3:0) Count of Lost Cells due to Scheduler Block Overflow for this traffic class. Automatically reset after Read access. Data Sheet 203 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 35 TCT2 TCT Transfer Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: TCT2 Typical Usage: Not used by CPU; the meaning of register TCT2 depends on the bit field ’Word64Sel’ in WAR; 40H Register WAR.Word64Sel(1:0) =’00’: Bit 15 14 13 12 11 10 9 8 2 1 0 10 9 8 unused(7:0) Bit 7 6 5 4 3 unused(7:0) • Register WAR.Word64Sel(1:0) =’01’: Bit 15 14 13 12 11 unused(3:0) Bit 7 6 5 SBCiCLP1(11:8) 4 3 2 1 0 SBCiCLP1(7:0) Data Sheet 204 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description SBCiCLP1(11:0) Scheduler Block Ci/CLP1 Threshold This threshold determines a maximum number of low priority cells allowed to be stored per scheduler block with a granularity of 64 cells. The CPU programs the threshold with a granularity of 64 cells by right shifting the value by 6: SBCiCLP1(11:0):= threshold >> 6 Register WAR.Word64Sel(1:0) =’10’: Bit 15 14 13 12 11 10 9 8 1 0 AcceptedCells/Packets(15:8) Bit 7 6 5 4 3 2 AcceptedCells/Packets(7:0) AcceptedCells/ Packets (15:0) Count of Accepted Cells or AAL5 Units within this traffic class, depending on flag SCNT in TCT3. If SCNT = 0: This counter is incremented when a user data cell with AAL_ indication=1 is accepted (Packet end indication in AAL5: PTI= xx1). If SCNT = 1 all accepted cells are counted Do not Write in normal operation. Must be reset after Read access. • Data Sheet 205 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register WAR.Word64Sel(1:0) =’11’: Bit 15 14 13 12 11 10 9 8 2 1 0 LostCellsTotal(15:8) Bit 7 6 5 4 3 LostCellsTotal(7:0) LostCellsTotal (15:0) Data Sheet Count of all lost cells for this traffic class. Do not Write in normal operation. Must be reset after Read access. 206 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 36 TCT3 TCT Transfer Register 3 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: TCT3 Typical Usage: Written and Read by CPU to maintain the TCT table; the meaning of register TCT3 depends on the bit field ’Word64Sel’ in WAR; 41H Register WAR.Word64Sel(1:0) =’00’: Bit 15 14 13 DH(2:0) Bit 12 11 10 9 8 unused 0 0 EPDen PPDen 3 2 1 0 7 6 5 4 SCNT 0 GFRen 0 DH (2:0) unused(3:0) DeltaHysteresis for threshold evaluations with hysteresis applied: This value is per traffic class, but is evaluated individually for each effected threshold TH relative to the threshold size. The hysteresis determines a lower threshold TL with TLi:= THi - Deltai The Deltai value is determined by bit field DH(2:0) and THi with: Deltai:= TH i >> [DH(2:0) +1] The following table shows the operation and resulting TLi values for the example of a threshold programmed to 256 cells: DH(2:0): Data Sheet Deltai:= Example: 0d 0 1d THi >>2 (hysteresis disabled) TLi:= 192 2d THi >>3 TLi:= 224 3d THi >>4 TLi:= 240 207 TLi:= 256 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description EPDen 4d THi >>5 TLi:= 248 5d THi >>6 TLi:= 252 6d THi >>7 TLi:= 254 7d THi >>8 (hysteresis ineffective) TLi:= 256 EPD for the individual traffic class. EPD is used for every connection (LCI) within that traffic class (see Chapter 3.4.1.6.3): PPDen 0 EPD is disabled. 1 EPD is enabled. PPD for the individual traffic class. PPD is used for every connection (LCI) within that traffic class (see Chapter 3.4.1.6.3): SCNT 0 PPD is disabled 1 PPD is enabled Counter Function Select This bit selects the function of counter ’AcceptedCells/ Packets(31:0)’: GFRen 0 Accepted Packets are counted 1 Accepted Cells are counted GFR Enable: This bit enables a modified EPD threshold evaluation for GFR traffic (see Chapter 3.4.1.6.3). 0 Modified EPD threshold evaluation for GFR disabled 1 Modified EPD threshold evaluation for GFR enabled Register WAR.Word64Sel(1:0) =’01’: Bit 15 14 13 12 11 10 9 8 TrafClassMax(7:0) Data Sheet 208 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Bit 7 6 5 4 3 2 1 0 SBMax(7:0) TrafClassMax (7:0) Maximum Traffic Class Fill Threshold (determines the maximum number of cells in all queues associated with this traffic class). The threshold is defined with a granularity of 1024: Threshold = TrafClassMax(7:0) * 1024 Cells SBMax(7:0) Combined Threshold of the Maximum Number of Buffered Cells in the Scheduler Block; that is, all cells which are in the traffic classes (= cells in the corresponding queues) of the Scheduler Block for the following cases: a) If EPDen=0 Þ Maximum Scheduler Block fill threshold for CLP=’0/1’ cells b) If EPDen=1 Þ EPD Scheduler Block threshold The threshold is defined with a granularity of 1024: Threshold = SBMax(7:0) * 1024 Cells Register WAR.Word64Sel(1:0) =’10’: Bit 15 14 13 12 11 10 9 8 1 0 AcceptedCells/Packets(31:24) Bit 7 6 5 4 3 2 AcceptedCells/Packets(23:16) AcceptedCells/ Packets (31:16) Data Sheet Count of Accepted Cells or AAL5 Units within this traffic class, depending on flag SCNT in TCT3. If SCNT = 0: This counter is incremented when a user data cell with AAL_ indication=1 is accepted (Packet end indication in AAL5: PTI= xx1). If SCNT = 1 all accepted cells are counted Do not Write in normal operation. Must be reset after Read access. 209 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description • Register WAR.Word64Sel(1:0) =’11’: Bit 15 14 13 12 11 10 9 8 2 1 0 LostCellsTotal(31:24) Bit 7 6 5 4 3 LostCellsTotal(23:16) LostCellsTotal (31:16) Data Sheet Count of all lost cells for this traffic class. Do not Write in normal operation. Must be reset after Read access. 210 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.10 Queue Configuration Table Transfer Registers Internal Table 3: Queue Configuration Table Transfer Registers QCT0..6 Queue Configuration Table Transfer Registers are used to access the internal Queue Configuration Table (QCT) containing 2*8192 entries. The lower 8K entries control the upstream core queues and the upper 8K entries control the downstream core queues. Table 7-8 shows an overview of the registers involved. Some fields are not used for entry 0 (common real time bypass) Table 7-8 Registers for Queue Configuration Table Access 111 0 QCT RAM entry 15 0 15 QCT6 0 15 QCT5 0 15 QCT4 0 15 QCT3 RAM select: 0 15 QCT2 0 15 QCT1 0 QCT0 15 0 MAR=02 H Queue select: 15 0 15 MASK6 =FFFFH 0 15 MASK5 =FFFFH 0 15 MASK4 =FFFFH 0 15 MASK3 =FFFFH 0 15 MASK2 0 15 MASK1 0 MASK0 =FFFFH 15 0 WAR (0..16383D) QCT0...QCT6 are the transfer registers for one 112 bit QCT table entry. The core selection and queue number representing the table entry which needs to be read or written must be written to the Word Address Register (WAR). The dedicated QCT table entry is read into the QCT0..QCT6 registers or modified by the QCT0..QCT6 register values with a write mechanism. The associated Mask Registers MASK0..MASK6 allow a bit-wise Write operation (0 - unmasked, 1 - masked). In case of Read operation, the dedicated QCT0..QCT6 register bit will be overwritten by the respective QCT table entry bit value. In case of Write operation, the dedicated QCT0..QCT6 register bit will modify the respective QCT table entry bit value. Note: It is recommended not to Write to bit fields (111:64) and (15:0) of the QCT table entries; i.e. registers MASK0, MASK6, MASK5, MASK4 and MASK3 should always be programmed with FFFF H. The 13 LSBs (= Bit 12..0) of the WAR register select the queue-specific entry that will be accessed and bit ’CoreSel’ the ABM-3G core. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR select the memory/table that will be accessed; to select the QCT table, bit field MAR(4:0) must be set to 2. Bit 5 of MAR starts the transfer and is automatically cleared after execution. Data Sheet 211 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-9 Bit 15 WAR Register Mapping for LCI Table Access 14 unused(1:0) Bit 7 6 13 12 11 CoreSel 5 10 9 8 1 0 QSel(12:8) 4 3 2 QSel(7:0) CoreSel QSel(12:0) Data Sheet Selects an ABM-3G Core: 0 Upstream core selected 1 Downstream core selected Selects a Queue Entry within the range (0..8191). 212 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 37 QCT0 Queue Configuration Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT0 Typical Usage: Read by CPU Bit 15 14 42H 13 12 Unused(1:0) Bit 7 11 10 9 8 1 0 QueueLength(13:8) 6 5 4 3 2 QueueLength(7:0) QueueLength (13:0) Data Sheet Represents the Current Number of Cells Stored in this Queue. Do not Write in normal operation. 213 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 38 QCT1 Queue Configuration Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT1 Typical Usage: Written and Read by CPU to maintain the LCI table Bit Bit 43H 15 14 13 12 DQac RSall 0 0 7 6 5 4 10 9 8 TCID(3:0) 3 QIDvalid DQac 11 2 1 0 SBID(6:0) Dummy Queue Action This bit is a command bit that must always be set when a dummy queue is activated or deactivated. Note: Read access to this command bit will always return ’0’. RSall ReSchedule Always This bit determines the queue scheduling process: ’0’ Data Sheet The queue is only scheduled/re-scheduled with its specific rate while the queue is not empty (normal operation). 214 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description ’1’ The queue is always scheduled/re-scheduled with its specific rate independent of the queue filling level. Scheduling an empty queue results in an ’empty cell cycle’ (no cell is emitted during this cycle). A so called ’dummy queue’ is used for generating empty cell cycles. Note: ’RSall’ can be set with connection setup (together with QIDvalid=’1’) or anytime while the queue is enabled. After setting bit ’RSall’, the ABM-3G will automatically set bit ’MGconf/DQsch’ to acknowledge the first dummy schedule event. The ’RSall’ information is internally conveyed to the scheduler. This process is acknowledged by an interrupt (Bit ’UDQRD/DDQRD’ in Register 103: ISRC). It is recommended not to select any other table or table entry while waiting for this acknowledge. Note: ’RSall’ can be reset anytime while the queue is enabled. In response to resetting ’RSall’ the ABM-3G will generate an interrupt (Bit ’UDQRD/ DDQRD’ in Register 103: ISRC) and reset bit ’MGconf/DQsch’ in this table. Note: To activate or deactivate a dummy queue, command bit ’DQac’ must be set in conjunction with setting or resetting bit ’RSall’. QIDvalid Data Sheet Queue Enable: 215 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 0 Queue disabled. An attempt to store a cell to a disabled queue leads to discard of the cell and a QIDINV interrupt is generated. If a filled queue gets disabled, cells may still be in the queue. In this case the disabled queue is still scheduled, and cells are logically emitted from the queue but will not be transmitted. Actual filling of the queue can be obtained via QueueLength(13:0) parameter in the QCT entry. Note: To disable an active VC-merge group, bit ’QIDvalid must be reset. Deactivating the queue by setting QIDvalid=’0’ automatically starts an internal process to delete the queue from the VCmerge group. In response to resetting ’QIDvalid’ the ABM-3G will generate an interrupt (Bit ’UQVCMGD/DQVCMGD’ in Register 103: ISRC) and reset bit ’MGconf/DQsch’ in this table. 1 Queue enabled. Cells are allowed to enter the queue. TCID(3:0) Traffic Class Number (0..15) Assigns the queue to one of the 16 traffic classes defined in the traffic class table TCT for this core. SBID(6:0) Scheduler Block Number (0..127) Assigns the queue to one of the 128 schedulers of this core. • Data Sheet 216 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 39 QCT2 Queue Configuration Transfer Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT2 Typical Usage: Written by CPU to configure VC-Merge operation Bit 15 14 44H 13 12 MGconf/ DQsch Bit 7 11 10 9 8 2 1 0 MGID(6:0) 6 5 4 3 MinBG(7:0) MGconf/DQsch Merge Group Configured/ Dummy Queue Scheduled The meaning of this flag depends on bit ’RSall’: RSall=’0’ The queue is not configured as a ’dummy queue’ and may be configured as a VC-merge group member: MGconf 0 The queue is neither a dummy queue, nor member of a VC-merge group. 1 The queue is member of a VC-merge group. The VCmerge group is determined by bit field ’MGID(6:0). Note: To disable an active VC-merge group, bit ’QIDvalid’ must be reset. Deactivating the queue by setting QIDvalid=’0’ automatically starts an internal process to delete the queue from the VCmerge group. In response to resetting ’QIDvalid’ the ABM-3G will generate an interrupt (Bit ’UQVCMGD/DQVCMGD’ in Register 103: ISRC) and reset bit ’MGconf/DQsch’ in this table. RSall=’1’ The queue is configured as a ’dummy queue’: DQsch Data Sheet 217 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 0 The queue is activated as a ’dummy queue’, but no first dummy schedule event has occurred. 1 The queue is activated as a ’dummy queue’ and at least one first dummy schedule event has occurred. Note: ’RSall’ can be reset anytime while the queue is enabled. In response to resetting ’RSall’ the ABM-3G will generate an interrupt (Bit ’UDQRD/ DDQRD’ in Register 103: ISRC) and reset bit ’MGconf/DQsch’ in this table. MGID(6:0) Merge Group Number (0..127) Assigns the queue to one of 128 merge groups of this core. MinBG(7:0) Minimum Buffer Guarantee This bit field determines a minimum buffer reservation for this particular queue. The sum of all minimum buffer reservations virtually divides the total buffer into a ’Guaranteed’ part and a shared ’Non-Guaranteed’ part. The minimum buffer reservation offers to granularities depending on MSB of MinBG(7): MinBG(7) Granularity of 1 cell for short queues (e.g. real-time := 0 queues): The minimum reserved buffer in number of cells is reserved_buffer = MinBG(6:0) = {0,1,2,..127} MinBG(7) Granularity of 8 cells for long queues (e.g. non-real-time := 1 queues): The minimum reserved buffer in number of cells is reserved_buffer = MinBG(6:0) << 3 = {0,8,16,..1016} Data Sheet 218 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 40 QCT3 Queue Configuration Transfer Register 3 • CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT3 Typical Usage: Not used by CPU Bit 15 14 45H 13 12 11 10 9 8 3 2 1 0 EOP reserve d reserve d reserve d unused(11:4) Bit 7 6 5 4 unused(3:0) EOP EOP-Flag: Do not Write during normal operation. Data Sheet 219 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 41 QCT4 Queue Configuration Transfer Register 4 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT4 Typical Usage: Not used by CPU Bit 15 14 46H 13 12 11 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) Reserved(15:0) Data Sheet Do not Write in normal operation. 220 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 42 QCT5 Queue Configuration Transfer Register 5 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT5 Typical Usage: Not used by CPU Bit 15 14 47H 13 12 11 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) reserved(15:0) Data Sheet Do not Write in normal operation. 221 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 43 QCT6 Queue Configuration Transfer Register 6 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: QCT6 Typical Usage: Not used by CPU Bit 15 14 48H 13 12 11 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) reserved(15:0) Data Sheet Do not Write in normal operation. 222 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.11 Scheduler Block Occupancy Table Transfer Registers Internal Table 4: Scheduler Block Occupancy Table Transfer Registers SBOC0..SBOC4 The Scheduler Block Occupancy Table Transfer Registers are used to access the internal Scheduler Block Occupancy Table (SBOC) containing 2*128 entries of 80 bit each. Table 7-10 shows an overview of the registers involved. Note: The SBOC table information is typically not required by the CPU. The SBOC maintains global counters that are internally used for threshold evaluation. For statistical purposes, reading the SBOC entries provides a snap shot of the respective scheduler occupation situation distinguished by priorities and also the current number of discarded low priority cells. Table 7-10 Registers for SBOC Table Access 79 0 SBOC RAM entry 15 SBOC4 0 15 SBOC3 0 15 SBOC2 RAM Select: 0 15 SBOC1 0 15 0 15 SBOC0 0 MAR=03H Entry select: 15 MASK4 0 15 MASK3 0 15 MASK2 0 15 MASK1 0 15 MASK0 0 15 0 WAR (0..255D) SBOC0..SBOC4 are the transfer registers for one 80-bit SBOC table entry. The Scheduler Block number representing the table entry which needs to be read or written must be written to the Word Address Register (WAR). The dedicated SBOC table entry is read into the SBOC0..SBOC4 Registers or modified by the SBOC0..SBOC4 register values with a write mechanism. The associated Mask Registers MASK0..MASK4 allow a bit-wise Write operation (0 - unmasked, 1 - masked). In case of Read operation, the dedicated SBOC0..SBOC4 register bit will be overwritten by the respective SBOC table entry bit value. In case of Write operation, the dedicated SBOC0..SBOC4 register bit will modify the respective SBOC table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the SBOC table, bit field MAR(4:0) must be set to 3. Bit 5 of MAR starts the transfer and is automatically cleared after execution. Data Sheet 223 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-11 Bit WAR Register Mapping for SBOC Table Access 15 14 13 12 11 10 9 8 2 1 0 Unused(7:0) Bit 7 6 5 4 CoreSel CoreSel SchedSel(6:0) Data Sheet 3 SchedSel(6:0) Selects an ABM-3G core: 0 Upstream core selected 1 Downstream core selected Selects one of the 128 core-specific Scheduler Blocks. 224 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 44 SBOC0 SBOC Transfer Register 0 CPU Accessibility: Read only Reset Value: 0000 H Offset Address: SBOC0 Typical Usage: Read by CPU Bit 15 14 SBOccNg(1:0) Bit 7 6 49H 13 12 SBOccHP(1:0) 5 4 11 10 SBOccLP(1:0) 3 2 9 8 SBOccLPd(1:0) 1 0 Reserved(7:0) Data Sheet 225 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 45 SBOC1 SBOC Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: SBOC1 Typical Usage: Read by CPU (for debug purposes or statistics) Bit 15 14 4AH 13 12 11 10 9 8 2 1 0 SBOccLPd(17:10) Bit 7 6 5 4 3 SBOccLPd(9:2) SBOccLPd (17:2) Scheduler Block Occupancy Counter Low Priority Discarded Cells The Counter is reset if both SBOccLP and SBOccHP are equal 0. Note: The LSBs SBOccLPd(1:0) are mapped to transfer register SBOC0. Data Sheet 226 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 46 SBOC2 SBOC Transfer Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: SBOC1 Typical Usage: Read by CPU (for debug purposes or statistics) Bit 15 14 4BH 13 12 11 10 9 8 2 1 0 SBOccLP(17:10) Bit 7 6 5 4 3 SBOccLP(9:2) SBOccLP(17:2) Scheduler Block Occupancy Counter Low Priority Note: The LSBs SBOccLP(1:0) are mapped to transfer register SBOC0. Data Sheet 227 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 47 SBOC3 SBOC Transfer Register 3 • CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: SBOC3 Typical Usage: Read by CPU (for debug purposes or statistics) Bit 15 14 4CH 13 12 11 10 9 8 2 1 0 SBOccHP(17:10) Bit 7 6 5 4 3 SBOccHP(9:2) SBOccHP(17:2) Scheduler Block Occupancy Counter High Priority Note: The LSBs SBOccHP(1:0) are mapped to transfer register SBOC0. Data Sheet 228 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 48 SBOC4 SBOC Transfer Register 4 • CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: SBOC4 Typical Usage: Read by CPU (for debug purposes or statistics) Bit 15 14 4DH 13 12 11 10 9 8 2 1 0 SBOccNg(17:10) Bit 7 6 5 4 3 SBOccNg(9:2) SBOccNg(17:2) Scheduler Block Occupancy Counter Non Guaranteed Note: The LSBs SBOccNg(1:0) are mapped to transfer register SBOC0. Data Sheet 229 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.12 Merge Group Table Transfer Registers Internal Table 5: Merge Group Table Transfer Registers MGT0..MGT2 The Merge Group Table Transfer Registers are used to access the internal Merge Group Table (MGT) containing 2*128 entries of 48 bit each. Table 7-10 shows an overview of the registers involved. Table 7-12 Registers for MGT Table Access 47 0 MGT RAM entry 15 0 15 MGT2 RAM Select: 0 15 MGT1 0 15 MGT0 0 MAR=07H Entry select: 15 0 15 MASK2 0 15 MASK1 0 MASK0 15 0 WAR (0..255D) MGT0..MGT2 are the transfer registers for one 48-bit MGT table entry. The Scheduler Block number representing the table entry which needs to be read or written must be written to the Word Address Register (WAR). The dedicated MGT table entry is read into the MGT0..MGT2 Registers or modified by the MGT0..MGT2 register values with a write mechanism. The associated Mask Registers MASK0..MASK2 allow a bit-wise Write operation (0 - unmasked, 1 - masked). In case of read operation, the dedicated MGT0..MGT2 register bit will be overwritten by the respective MGT table entry bit value. In case of Write operation, the dedicated MGT0..MGT2 register bit will modify the respective MGT table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the MGT table, bit field MAR(4:0) must be set to 6. Bit 5 of MAR starts the transfer and is automatically cleared after execution. Data Sheet 230 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-13 Bit WAR Register Mapping for MGT Table Access 15 14 13 12 11 10 9 8 2 1 0 Unused(7:0) Bit 7 6 5 4 CoreSel CoreSel GroupSel(6:0) Data Sheet 3 GroupSel(6:0) Selects an ABM-3G core: 0 Upstream core selected 1 Downstream core selected Selects one of the 128 Merge Groups. 231 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 49 MGT0 MGT Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MGT0 Typical Usage: Not used by CPU Bit 15 14 4EH 13 12 11 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) Reserved(15:0) Data Sheet 232 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 50 MGT1 MGT Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MGT1 Typical Usage: Not used by CPU Bit 15 14 4FH 13 12 Reserved(15:13) Bit 7 6 11 10 9 8 Head_Pointer(12:8) 5 4 3 2 1 0 Head_Pointer(7:0) Reserved(15:13) Head_Pointer(12:0) Data Sheet When setting up a merge group, this pointer must be set to point to any of the queues contained in the merge group. 233 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 51 MGT2 MGT Transfer Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MGT2 Typical Usage: Written by CPU to maintain the MGT table Bit 15 14 unused LCIOen 7 6 Bit 50H 13 12 11 10 9 8 1 0 LCI(13:8) 5 4 3 2 LCI(7:0) LCIOen LCI Overwrite Enable: This bit enables the LCI overwrite function for cells/packets emitted by the VC-Merge Group. LCI(13:0) Data Sheet 0 Disable LCI overwrite 1 Enable LCI overwrite LCI In case LCI overwrite function is enabled, this value overwrites the original LCI of any cell emitted by this VC-Merge Group. The cell field that is overwritten depends on the selected LCI mapping mode. 234 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.13 Mask Registers Register 52 MASK0/MASK1 Table Access Mask Registers 0/1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MASK0 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 55H 13 MASK1 12 11 56H 10 9 8 2 1 0 MASK(15:8) Bit 7 6 5 4 3 MASK(7:0) MASK0(15:0) MASK1(15:0) Mask Register 0 Mask Register 1 Mask Registers 0..6 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (LCI0..LCI2, TCT0..TCT3, QCT0..6, SBOC0..SBOC4, MGT0..MGT2): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 235 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 53 MASK2/MASK3 Table Access Mask Registers 2/3 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MASK2 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 57H 13 MASK3 12 11 58H 10 9 8 2 1 0 MASK(15:8) Bit 7 6 5 4 3 MASK(7:0) MASK2(15:0) MASK3(15:0) Mask Register 2 Mask Register 3 Mask Registers 0..6 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (LCI0..LCI2, TCT0..TCT3, QCT0..6, SBOC0..SBOC4, MGT0..MGT2): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 236 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 54 MASK4/MASK5 Table Access Mask Registers 4/5 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MASK4 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 59H 13 MASK5 12 11 5AH 10 9 8 2 1 0 MASK(15:8) Bit 7 6 5 4 3 MASK(7:0) MASK4(15:0) MASK5(15:0) Mask Register 4 Mask Register 5 Mask Registers 0..6 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (LCI0..LCI2, TCT0..TCT3, QCT0..6, SBOC0..SBOC4, MGT0..MGT2): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 237 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 55 MASK6 Table Access Mask Registers 6 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MASK6 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 5BH 13 12 11 10 9 8 2 1 0 MASK(15:8) Bit 7 6 5 4 3 MASK(7:0) MASK6(15:0) Mask Register 6 Mask Registers 0..6 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (LCI0..LCI2, TCT0..TCT3, QCT0..6, SBOC0..SBOC4, MGT0..MGT2): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 238 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.14 Rate Shaper CDV Registers Register 56 UCDV/DCDV Upstream/Downstream Rate Shaper CDV Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UCDV Typical Usage: Written by CPU Bit 15 14 62H 13 DCDV 12 11 82H 10 9 Unused(6:0) Bit 7 6 5 4 8 CDV Max(8) 3 2 1 0 CDVMax(7:0) CDVMax(8:0) Maximal Cell Delay Variation (without notice) This bit field determines a maximum CDV value for peak rate limited queues that can be introduced without notice. The CDVMax is measured in multiples of 16-cell cycles. If this maximum CDV is exceeded, a CDVOV (see registers ISRU/ ISRD) interrupt is generated to indicate an unexpected CDV value. This can occur if multiple peak rate limited queues are scheduled to emit a cell in the same Scheduler time slot. No cells are discarded due to this event. Data Sheet 239 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.15 Queue Parameter Table Mask Registers Register 57 UQPTM0/DQPTM0 Upstream/Downstream Queue Parameter Table Mask Registers 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPTM0 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 65H 13 DQPTM0 12 11 85H 10 9 8 2 1 0 xQPTM0(15:8) Bit 7 6 5 4 3 xQPTM0(7:0) UQPTM0(15:0) Upstream QPT Mask Register 0 DQPTM0(15:0) Downstream QPT Mask Register 0 UQPTM0/DQPTM0 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (UQPT1T0/UQPT2T0, DQPT1T0/DQPT2T0): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 240 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 58 UQPTM1/DQPTM1 Upstream/Downstream Queue Parameter Table Mask Registers 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPTM1 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 13 66H DQPTM1 12 11 86H 10 9 8 2 1 0 xQPTM1(15:8) Bit 7 6 5 4 3 xQPTM1(7:0) UQPTM1(15:0) DQPTM1(15:0) Upstream QPT Mask Register 1 Downstream QPT Mask Register 1 UQPTM1/DQPTM1 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (UQPT1T1/UQPT2T1, DQPT1T1/DQPT2T1): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 241 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 59 UQPTM2/DQPTM2 Upstream/Downstream Queue Parameter Table Mask Registers 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPTM2 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 67H 13 DQPTM2 12 11 87H 10 9 8 2 1 0 xQPTM2(15:8) Bit 7 6 5 4 3 xQPTM2(7:0) UQPTM2(15:0) DQPTM2(15:0) Upstream QPT Mask Register 2 Downstream QPT Mask Register 2 UQPTM2/DQPTM2 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (UQPT2T2, DQPT2T2): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 242 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 60 UQPTM3/DQPTM3 Upstream/Downstream Queue Parameter Table Mask Registers 3 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPTM3 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 68H 13 DQPTM3 12 11 88H 10 9 8 2 1 0 xQPTM3(15:8) Bit 7 6 5 4 3 xQPTM3(7:0) UQPTM3(15:0) Upstream QPT Mask Register 3 DQPTM3(15:0) Downstream QPT Mask Register 3 UQPTM3/DQPTM3 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (UQPT2T3, DQPT2T3): Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 243 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 61 UQPTM4/DQPTM4 Upstream/Downstream Queue Parameter Table Mask Registers 4 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPTM4 Typical Usage: Not used for user-accessible tables. Bit 15 14 69H 13 DQPTM4 12 11 89H 10 9 8 2 1 0 xQPTM4(15:8) Bit 7 6 5 4 3 xQPTM4(7:0) UQPTM4(15:0) DQPTM4(15:0) Upstream QPT Mask Register 4 Downstream QPT Mask Register 4 UQPTM4/DQPTM4 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers: Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 244 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 62 UQPTM5/DQPTM5 Upstream/Downstream Queue Parameter Table Mask Registers 5 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPTM5 Typical Usage: Not used for user-accessible tables. Bit 15 14 6AH 13 DQPTM5 12 11 8AH 10 9 8 2 1 0 xQPTM5(15:8) Bit 7 6 5 4 3 xQPTM5(7:0) UQPTM5(15:0) DQPTM5(15:0) Upstream QPT Mask Register 5 Downstream QPT Mask Register 5 UQPTM5/DQPTM5 control the Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers: Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 245 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.16 Scheduler Configuration Register Register 63 USCONF/DSCONF Upstream/Downstream Scheduler Configuration Registers CPU Accessibility: Read/Write Reset Value: 0004 H Offset Address: USCONF Typical Usage: Written by CPU during global initialization Bit 15 14 6BH 13 DSCONF 12 11 8BH 10 9 8 2 1 0 unused(12:5) Bit 7 6 5 4 3 unused(4:0) TstepC(2:0) Data Sheet TstepC(2:0) Time Base for the Rate Shaper Refer to Section 4.2.2.5 “Programming the PCR Limiter” on Page 109 246 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.17 Queue Parameter Table Transfer Registers Internal Table 6: Queue Parameter Table 1 Transfer Registers Queue Parameter Table Transfer Registers are used to access the internal Upstream and Downstream Queue Parameter Table 1 (QPT1) containing 8192 entries each. In both Table 7-14 and Table 7-15 provide an overview of the registers involved. Each QPT1 entry consists of 32 bits. Note: The QPT1 table information is not used by the CPU beside during queue initialization. Table 7-14 Registers for QPT1 Upstream Table Access 31 0 QPT1 RAM entry (Upstream) 15 0 15 UQPT1T1 RAM Select: 0 15 UQPT1T0 0 MAR=10H Entry Select: 15 0 15 UQPTM1 0 15 UQPTM0 0 WAR (0..8191D) • Table 7-15 Registers for QPT1 Downstream Table Access 31 0 QPT1 RAM entry (Downstream) 15 0 15 DQPT1T1 RAM Select: 0 15 DQPT1T0 0 MAR=18H Entry Select: 15 0 15 DQPTM1 0 15 DQPTM0 0 WAR (0..8191D) UQPT1T0 and UQPT1T1 are the transfer registers for the 32-bit entry of the upstream QPT1 table. DQPT1T0 and DQPT1T1 are the transfer registers for the 32-bit entry of the downstream QPT1 table. Access to high and low word are both controlled by mask registers UQPTM0/UQPTM1 and DQPTM0/DQPTM1 respectively. The Mask registers are shared for access to both tables QPT1 and QPT2, whereas, the transfer registers are unique for each table. Data Sheet 247 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description The queue number representing the table entry which needs to be read or written must be written to the Word Address Register (WAR). The dedicated QPT1 table entry is read into the xQPT1T0/xQPT1T1 transfer registers (x=U,D) or modified by the xQPT1T0/ xQPT1T1 transfer register values with a write mechanism. The associated mask registers xQPTM0 and xQPTM1 allow a bit-wise Write operation (0 - unmasked, 1 masked). In case of Read operation, the dedicated xQPT1T0/xQPT1T1 register bit will be overwritten by the respective QPT1 table entry bit value. In case of Write operation, the dedicated xQPT1T0/xQPT1T1 register bit will modify the respective QPT1 table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the QPT table bit field MAR(4:0) must be set to: 10H for QPT1 upstream table, 18H for QPT1 downstream table. Bit 5 of MAR starts the transfer and is cleared automatically after execution. Table 7-16 Bit WAR Register Mapping for QPT Table Access 15 14 13 12 11 Unused(2:0) Bit 7 6 10 9 8 1 0 QueueSel(12:8) 5 4 3 2 QueueSel(7:0) QueueSel(12:0) Data Sheet Selects one of the 8192 queue parameter table entries. 248 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 64 UQPT1T0/DQPT1T0 Upstream/Downstream QPT1 Table Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPT1T0 Typical Usage: Written by CPU during queue initialization Bit 15 14 13 70H DQPT1T0 12 11 90H 10 9 8 2 1 0 Reserved(13:6) Bit 7 6 5 4 3 Reserved(5:0) flags(1:0) Reserved(13:0) These bits are used by the device logic. Do not Write to this field as that could lead to complete malfunctioning of the ABM-3G which can be corrected by chip reset only. flags(1:0) These bits must be written to 0 when initializing the queue. Do not Write during normal operation. Data Sheet 249 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 65 UQPT1T1/DQPT1T1 Upstream/Downstream QPT1 Table Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPT1T1 Typical Usage: Not used by CPU Bit 15 14 13 71H DQPT1T0 12 11 91H 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) Reserved(15:0) Data Sheet These bits are used by the device logic. Do not Write to this field as that could lead to complete malfunctioning of the ABM-3G which can be corrected by chip reset only. 250 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Internal Table 7: Queue Parameter Table 2 Transfer Registers Queue Parameter Table Transfer Registers are used to access the internal Upstream and Downstream Queue Parameter Table 2 (QPT2) containing 8192 entries each. In both Table 7-17 and Table 7-18 provide an overview of the registers involved. Each QPT2 entry consists of 64 bits. Table 7-17 Registers for QPT2 Upstream Table Access 63 0 QPT2 RAM entry (Upstream) 15 UQPT2T3 0 15 UQPT2T2 0 15 RAM Select: 0 15 UQPT2T1 0 15 UQPT2T0 0 MAR=11 H Entry Select: 15 UQPTM3 0 15 0 15 UQPTM2 0 15 UQPTM1 0 UQPTM0 15 0 WAR (0..8191D) • Table 7-18 Registers for QPT2 Downstream Table Access 63 0 QPT2 RAM entry (Downstream) 15 DQPT2T3 0 15 DQPT2T2 0 15 RAM Select: 0 15 DQPT2T1 0 15 DQPT2T0 0 MAR=19 H Entry Select: 15 DQPTM3 0 15 DQPTM2 0 15 0 15 DQPTM1 DQPTM0 0 15 0 WAR (0..8191D) UQPT2T0..UQPT2T3 are the transfer registers for the 64-bit entry of the upstream QPT2 table. DQPT2T0..DQPT2T3 are the transfer registers for the 64-bit entry of the downstream QPT2 table. Access to the RAM entry is controlled by mask registers UQPTM0..UQPTM3 and DQPTM0..DQPTM3, respectively. The Mask registers are shared for access to both tables QPT1 and QPT2 whereas the transfer registers are unique for each table. The queue number representing the table entry which needs to be read or written must be written to the Word Address Register (WAR). The dedicated QPT2 table entry is read into the xQPT2T0..xQPT2T3 transfer registers (x=U,D) or modified by the xQPT2T0..xQPT2T3 transfer register values with a write mechanism. The associated mask registers xQPTM0..xQPTM3 allow a bit-wise Write operation (0 - unmasked, 1 Data Sheet 251 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description masked). In case of Read operation, the dedicated xQPT2T0..xQPT2T3 register bit will be overwritten by the respective QPT1 table entry bit value. In case of Write operation, the dedicated xQPT2T0..xQPT2T3 register bit will modify the respective QPT1 table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the QPT table bit field MAR(4:0) must be set to: 11H for QPT2 upstream table, 19H for QPT2 downstream table. Bit 5 of MAR starts the transfer and is cleared automatically after execution. Table 7-19 Bit WAR Register Mapping for QPT Table Access 15 14 13 12 11 Unused(2:0) Bit 7 6 10 9 8 1 0 QueueSel(12:8) 5 4 3 2 QueueSel(7:0) QueueSel(12:0) Data Sheet Selects one of the 8192 queue parameter table entries. 252 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 66 UQPT2T0/DQPT2T0 Upstream/Downstream QPT2 Table Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPT2T0 Typical Usage: Written by CPU during queue initialization Bit 15 14 13 72H DQPT2T0 12 11 92H 10 9 8 2 1 0 RateFactor(15:8) Bit 7 6 5 4 3 RateFactor(7:0) RateFactor(15:0) Controls the Peak Cell Rate of the queue. It is identical to the Rate factor TP described in Section 4.2.2.5 “Programming the PCR Limiter” on Page 109. The value 0 disables the PCR limiter, that is, the cells from this queue bypass the shaper circuit. For VBR shaping, this parameter is not used (overridden by the parameter TP of the AVT table). However, it must be set unequal to 0 to enable VBR shaping. Data Sheet 253 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 67 UQPT2T1/DQPT2T1 Upstream/Downstream QPT2 Table Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPT2T1 Typical Usage: Written by CPU during queue initialization Bit 15 14 13 73H DQPT2T1 12 Unused(1:0) Bit 7 6 11 93H 10 9 8 1 0 WFQFactor(13:8) 5 4 3 2 WFQFactor(7:0) WFQFactor (13:0) Determines the weight factor TWFQ of the queue at the WFQ scheduler input to which it is connected. Refer to Section 4.2.2.7 “Guaranteed Cell Rates and WFQ Weight Factors” on Page 114. The value WFQ Factor = 0 connects the queue to the high priority Round Robin Scheduler. The value WFQFactor = 16383 (all ones) connects the queue to the low priority Round Robin Scheduler. Modifying the WFQFactor during operation: • If one of the Round Robin Schedulers (WFQFactor=0 or WFQFactor=16383) is used the WFQFactor must not be changed • If the WFQ Scheduler (WFQFactor=1..16320) is used the WFQFactor may be varied in a range 1 to 16320. Data Sheet 254 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 68 UQPT2T2/DQPT2T2 Upstream/Downstream QPT2 Table Transfer Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPT2T2 Typical Usage: Not used by CPU Bit 15 14 13 74H DQPT2T2 12 11 94H 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) Reserved(15:0) Data Sheet These bits are used by the device logic. Do not Write to this field as that could lead to complete malfunctioning of the ABM-3G, which can be corrected by chip reset only. 255 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 69 UQPT2T3/DQPT2T3 Upstream/Downstream QPT2 Table Transfer Register 3 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UQPT2T3 Typical Usage: Not used by CPU Bit 15 14 13 75H DQPT2T3 12 11 95H 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) Reserved(15:0) Data Sheet These bits are used by the device logic. Do not Write to this field as that could lead to complete malfunctioning of the ABM-3G, which can be corrected by chip reset only. 256 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.18 Scheduler Block Configuration Table Transfer/Mask Registers SDRAM Refresh Registers UTOPIA Port Select of Common Real Time Queue Registers Internal Table 8: Scheduler Configuration Table Integer Transfer Registers The Scheduler Configuration Table Integer Transfer Registers are used to access the internal Upstream/Downstream Scheduler Configuration Tables Integer Part (SCTI) containing 128 entries each. These tables are not addressed by the MAR and WAR registers, but are addressed via dedicated address registers (USADR/DSADR) and data registers (USCTI/DSCTI). Table 7-20 and Table 7-21 show an overview of the registers involved. Table 7-20 Registers SCTI Upstream Table Access 31 0 SCTI RAM entry (Upstream) 15 RAM/Entry/Word select: 0 15 USCTI USADR (WSEL=1) 15 0 15 USCTI Data Sheet 0 0 USADR (WSEL=0) 257 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Table 7-21 Registers SCTI Downstream Table Access 31 0 SCTI RAM Entry (Downstream) 15 RAM/Entry/Word select: 0 15 DSCTI 0 DSADR (WSEL=1) 15 0 15 DSCTI 0 DSADR (WSEL=0) USCTI and DSCTI are the transfer registers for the 32-bit SCTI upstream/downstream table entries. The upstream and downstream Schedulers use different tables (internal RAM) addressed via dedicated registers, USADR/DSADR. The address registers select the scheduler-specific entry as well as the high or low word of a 32-bit entry to be accessed. Further, there is no command bit, but transfers are triggered via Write access of the address registers and the data registers: • To initiate a Read access, the Scheduler Block number must be written to the address register USADR (upstream) or to the address register DSADR (downstream). One system clock cycle later, the data can be Read from the respective transfer register USCTI or DSCTI. • To initiate a Write access, it is sufficient to Write the desired Scheduler Block number to the address registers, USADR and DSADR, and then Write the desired data to the respective transfer register, USCTI or DSCTI, respectively. The transfer to the integer table is executed one system clock cycle after the Write access to USCTI or DSCTI. Thus, consecutive Write cycles may be executed by the microprocessor. The SCTI table entries are either read or written. Thus, no additional mask registers are provided for bit-wise control of table entry accesses. Data Sheet 258 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 70 USADR/DSADR Upstream/Downstream SCTI Address Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USADR Typical Usage: Written and Read by CPU to maintain the SCTI tables Bit 15 14 A0H 13 DSADR 12 11 B8H 10 9 8 2 1 0 unused(7:0) Bit 7 6 WSel WSel SchedNo(6:0) Data Sheet 5 4 3 SchedNo(6:0) SCTI table entry Word Select 1 Selects the high word (bit 31..16) for next access via register SCTIU/SCTID 0 Selects the low word (bit 15..0) for next access via register SCTIU/SCTID Scheduler Block Number Selects one of the 128 core-specific Scheduler Blocks for next access via register USCTI/DSCTI. 259 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 71 USCTI/DSCTI Upstream/Downstream SCTI Transfer Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCTI Typical Usage: Written by CPU to maintain the SCTI tables A1H DSCTI B9H Register SADRx.WSel = 0: Bit 15 14 13 12 unused(1:0) Bit 7 6 11 10 9 8 1 0 IntRate(13:8) 5 4 3 2 IntRate(7:0) IntRate(13:0) Integer Rate This value determines the integer part of the Scheduler Block output rate. Note: Recommendation for changing the UTOPIA port number or scheduler rate during operation: Disable specific scheduler by read-modify-write operation to corresponding bit in registers USCEN0/DSCEN0... USCEN7/DSCEN7. Modify scheduler specific UTOPIA port number and rates via Table 8 "Scheduler Configuration Table Integer Transfer Registers" on Page 257, registers USCTI/DSCTI and Table 9 "Scheduler Configuration Table Fractional Transfer Registers" on Page 267, registers USCTFT/DSCTFT. Enable specific scheduler by read-modify-write operation to corresponding bit in registers USCEN0/DSCEN0... USCEN7/DSCEN7. Note: Read access to bit field IntRate(13:0) is not supported and will return undefined values. Refer to Section 4.2.2.2 “Programming the Scheduler Block Rates” on Page 106 for the calculation of IntRate and FracRate Data Sheet 260 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register SADRx.WSel = 1: Bit 15 14 13 12 11 10 9 8 3 2 1 0 Init(9:2) Bit 7 6 5 4 Init(1:0) Init(9:0) UTOPIAPort(5:0) Initialization Value It is recommended to Write this bit field to all 0s during Scheduler Block configuration/initialization (the note below provides the details). UTOPIAPort(5:0) UTOPIA Port Number Specifies one of the 48 UTOPIA ports to which the Scheduler Block is assigned to. Only values in the range 0..47D are valid (0..3 for UTOPIA level 1). The UTOPIA port number value can be changed during operation (see note below). UTOPIA Port 48D is used to select the AAL5 reassembly unit. Data Sheet 261 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description The UTOPIA port number can be modified during operation; (port) switch-over is e.g. used for ATM protection switching. The following Notes explain switch-over and rate adaptation during operation: Note: This SCTI table entry should be programmed during Scheduler Block configuration/initialization. However the UTOPIA port number value can be modified during operation (e.g. for port switching). In this case the Init(9:0) value can be reset to 0. This bit field contains a 4-bit counter incrementing the number of unused scheduler cell cycles. Unused cell cycles occur whenever a scheduled event cannot be served, because a previously generated event is still in service (active cell transfer at UTOPIA Interface). This counter value is used (and decremented accordingly) to determine the allowed cell burst size for following scheduler events. Such bursts are treated as ’one event’ to allow a near 100% scheduler rate utilization. The maximum burst size is programmed in registers UECRI/DECRI on page 7-263. Thus, overwriting bit field Init(9:0) with 0 during operation may invalidate some stored cell cycles, only if maximum burst size is programmed >1 for this port. Only saved scheduler cell cycles can get lost; in no way can stored cells be lost or discarded by these operations. To minimize even this small impact, value Init(9:0) can be read and written back with the new UTOPIA port number. Note: Recommendation for changing the UTOPIA port number or scheduler rate during operation: Disable specific scheduler by read-modify-write operation to corresponding bit in registers USCEN0/DSCEN0... USCEN7/DSCEN7. Modify scheduler specific UTOPIA port number and rates via Table 8 "Scheduler Configuration Table Integer Transfer Registers" on Page 257, registers USCTI/DSCTI and Table 9 "Scheduler Configuration Table Fractional Transfer Registers" on Page 267, registers USCTFT/DSCTFT. Enable specific scheduler by read-modify-write operation to corresponding bit in registers USCEN0/DSCEN0... USCEN7/DSCEN7. Data Sheet 262 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 72 UECRI/DECRI Upstream/Downstream Empty Cycle Rate Integer Part Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UECRI Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 A2H 13 DECRI 12 MaxBurstS(3:0) Bit 7 6 5 11 BAH 10 Unused(1:0) 4 3 2 9 8 ECIntRate(9:8) 1 0 ECIntRate(7:0) MaxBurstS(3:0) Maximum Burst size for a Scheduler Block Refer to Section 4.2.2.2 “Programming the Scheduler Block Rates” on Page 106 ECIntRate(9:0) Integer part of Empty Cycle Rate The empty cycles are required by internal logic to perform the refresh cycles of the SDRAMS. Minimum value is 10H and should be programmed during configuration. Refer to Section 4.2.2.4 “Programming the SDRAM Refresh Empty Cell Cycles” on Page 109 for the calculation of ECIntRate and ECFracRate Data Sheet 263 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 73 UECRF/DECRF Upstream/Downstream Empty Cycle Rate Fractional Part Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UECRF Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 A3H 13 DECRF 12 11 BBH 10 9 8 2 1 0 Unused(7:0) Bit 7 6 5 4 3 ECFracRate(7:0) ECFracRate(7:0) Fractional part of Empty Cycle Rate The empty cycles are required by internal logic to perform the refresh cycles of the SDRAMS. Recommended value is 00H and should be programmed during configuration. Refer to Section 4.2.2.4 “Programming the SDRAM Refresh Empty Cell Cycles” on Page 109 for the calculation of ECIntRate and ECFracRate Data Sheet 264 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 74 UCRTQ/DCRTQ Upstream/Downstream Common Real Time Queue UTOPIA Port Select Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UCRTQ Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 A4H 13 DCRTQ 12 11 BCH 10 9 8 2 1 0 Unused(9:2) Bit 7 6 5 4 3 Unused(1:0) CrtqUTOPIA(5:0) CtrqUTOPIA(5:0) Common Real Time Queue UTOPIA Port Number. Specifies one of the 48 UTOPIA ports to which the common real time queue is assigned. Only values in the range 0..47D are valid. Data Sheet 265 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 75 USCTFM/DSCTFM Upstream/Downstream SCTF Mask Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCTFM Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 A5H 13 12 DSCTFM 11 BDH 10 9 8 2 1 0 SCTFM(15:8) Bit 7 6 5 4 3 SCTFM(7:0) USCTFM(15:0) DSCTFM(15:0) Upstream SCTF Mask Register Downstream SCTF Mask Register USCTFM and DSCTFM control the Read or Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (USCTFT, DSCTFT): Data Sheet 0 The dedicated bit of the transfer register is not overwritten by the corresponding table entry bit during Read, but overwrites the table entry bit during the Write. This is a Write access to the internal table entry. 1 The dedicated bit of the transfer register is overwritten by the corresponding table entry bit during Read and is written back to the table entry bit during Write. This is a Read access to the internal table entry. 266 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Internal Table 9: Scheduler Configuration Table Fractional Transfer Registers The Scheduler Configuration Table Fractional Transfer Registers are used to access the internal Upstream/Downstream Scheduler Configuration Tables Fractional Part (SCTF) containing 128 entries each. Table 7-22 and Table 7-23 summarize the registers. Table 7-22 Registers SCTF Upstream Table Access 15 0 SCTF RAM Entry (Upstream) 15 RAM Select: 0 15 USCTFT 0 MAR=17H Entry Select: 15 0 15 WAR (0..127 D) USCTFM Table 7-23 0 Registers SCTF Downstream Table Access 15 0 SCTF RAM Entry (Downstream) 15 RAM Select: 0 15 DSCTFT 0 MAR=1FH Entry Select: 15 0 15 0 WAR (0..127 D) DSCTFM SCTFU and SCTFD are transfer registers for one 16-bit SCTF upstream/downstream table entry. The upstream and downstream Scheduler Blocks use different tables (internal RAM) addressed via the MAR. The Scheduler Block number representing the table entry which needs to be read or written must be written to the WAR (Word Address Register). The dedicated SCTFU/D table entry is read into the SCTFU/D registers or modified by the SCTFU/D register value with a write mechanism. The associated mask registers, SMSKU and SMSKD, allow a bit-wise Write operation (0 - unmasked, 1 masked). In case of Read operation, the dedicated SCTFU/D register bit will be overwritten by the respective SCTFU/D table entry bit value. In case of Write operation, the dedicated SCTFU/D register bit will modify the value of the respective SCTFU/D table entry bit. Data Sheet 267 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description The Read or Write process is controlled by the MAR (Memory Address Register). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the SCTF Upstream table, bit field MAR(4:0) must be set to 17H and 1FH for the SCTF Downstream table respectively. Bit 5 of MAR starts the transfer and is automatically cleared after execution. Table 7-24 Bit WAR Register Mapping for SCTFU/SCTFD Table access 15 14 13 12 11 10 9 8 2 1 0 Unused(9:2) Bit 7 unused SchedSel(6:0) Data Sheet 6 5 4 3 SchedSel(6:0) Selects one of the 128 core specific Scheduler Blocks. 268 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 76 USCTFT/DSCTFT Upstream/Downstream SCTF Transfer Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCTFT Typical Usage: Written and Read by CPU to maintain the SCTF tables Bit 15 14 13 A6H DSCTFT 12 BEH 11 10 9 8 3 2 1 0 Init(7:0) Bit 7 6 5 4 FracRate(7:0) Init(7:0) Scheduler Block Initialization Value This bit field must be written to 00H at the time of Scheduler configuration/initialization and should not be written during normal operation. FracRate(7:0) Fractional Rate This value determines the fractional part of the Scheduler Block output rate. Refer to Section 4.2.2.2 “Programming the Scheduler Block Rates” on Page 106 for the calculation of FracRate Note: Recommendation for changing the UTOPIA port number or scheduler rate during operation: Disable specific scheduler by read-modify-write operation to corresponding bit in registers USCEN0/DSCEN0... USCEN7/DSCEN7. Modify scheduler specific UTOPIA port number and rates via Table 8 "Scheduler Configuration Table Integer Transfer Registers" on Page 257, registers USCTI/DSCTI and Table 9 "Scheduler Configuration Table Fractional Transfer Registers" on Page 267, registers USCTFT/DSCTFT. Enable specific scheduler by read-modify-write operation to corresponding bit in registers USCEN0/DSCEN0... USCEN7/DSCEN7. Data Sheet 269 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.19 Scheduler Block Enable Registers Register 77 USCEN0/DSCEN0 Upstream/Downstream Scheduler Block Enable 0 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN0 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 A8H 13 DSCEN0 12 11 C0H 10 9 8 2 1 0 SchedEn(15:8) Bit 7 6 5 4 3 SchedEn(7:0) SchedEn(15:0) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (15..0): 1 Scheduler Block enabled 0 Scheduler Block disabled 270 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 78 USCEN1/DSCEN1 Upstream/Downstream Scheduler Block Enable 1 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN0 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 A9H 13 DSCEN0 12 11 C1H 10 9 8 2 1 0 SchedEn(31:24) Bit 7 6 5 4 3 SchedEn(23:16) SchedEn(31:16) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (31..16): 1 Scheduler Block enabled 0 Scheduler Block disabled 271 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 79 USCEN2/DSCEN2 Upstream/Downstream Scheduler Block Enable 2 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN2 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 AA H 13 DSCEN2 12 11 C2H 10 9 8 2 1 0 SchedEn(47:40) Bit 7 6 5 4 3 SchedEn(39:32) SchedEn(47:32) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (47..32): 1 Scheduler Block enabled 0 Scheduler Block disabled 272 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 80 USCEN3/DSCEN3 Upstream/Downstream Scheduler Block Enable 3 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN3 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 AB H 13 DSCEN3 12 11 C3H 10 9 8 2 1 0 SchedEn(63:56) Bit 7 6 5 4 3 SchedEn(55:48) SchedEn(63:48) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (63..48): 1 Scheduler Block enabled 0 Scheduler Block disabled 273 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 81 USCEN4/DSCEN4 Upstream/Downstream Scheduler Block Enable 4 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN4 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 AC H 13 DSCEN4 12 11 C4H 10 9 8 2 1 0 SchedEn(79:72) Bit 7 6 5 4 3 SchedEn(71:64) SchedEn(79:64) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (79..64): 1 Scheduler Block enabled 0 Scheduler Block disabled 274 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 82 USCEN5/DSCEN5 Upstream/Downstream Scheduler Block Enable 5 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN5 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 AD H 13 DSCEN5 12 11 C5H 10 9 8 2 1 0 SchedEn(95:88) Bit 7 6 5 4 3 SchedEn(87:80) SchedEn(95:80) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (95..80): 1 Scheduler Block enabled 0 Scheduler Block disabled 275 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 83 USCEN6/DSCEN6 Upstream/Downstream Scheduler Block Enable 6 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN6 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 AEH 13 DSCEN6 12 11 C6H 10 9 8 2 1 0 SchedEn(111:104) Bit 7 6 5 4 3 SchedEn(103:96) SchedEn (111:96) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (111..96): 1 Scheduler Block enabled 0 Scheduler Block disabled 276 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 84 USCEN7/DSCEN7 Upstream/Downstream Scheduler Block Enable 7 Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USCEN7 Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 AFH 13 DSCEN7 12 11 C7H 10 9 8 2 1 0 SchedEn(127:120) Bit 7 6 5 4 3 SchedEn(119:112) SchedEn (127:112) Data Sheet Scheduler Block Enable Each bit position enables/disables the respective Scheduler Block (127..112): 1 Scheduler Block enabled 0 Scheduler Block disabled 277 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.20 Common Real Time Queue Rate Registers Register 85 UCRTRI/DCRTRI Upstream/Downstream CRT Rate Integer Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UCRTRI Typical Usage: Written by CPU for global Scheduler configuration Bit 15 14 B0H 13 DCRTRI 12 11 C8H 10 Unused(5:0) Bit 7 6 5 4 9 8 CRTIntRate(9:8) 3 2 1 0 CRTIntRate(7:0) CRTIntRate(9:0) Integer part of CRT Queue Rate Refer to Section 4.2.2.3 “Programming the Common Real-Time Bypass” on Page 109 for the calculation of CRTIntRate and CRTFracRate Data Sheet 278 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 86 UCRTRF/DCRTRF Upstream/Downstream CRT Rate Fractional Registers CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UCRTRF Typical Usage: Written and Read by CPU Bit 15 14 13 B1H DCRTRF 12 C9H 11 10 9 8 3 2 1 0 Init(7:0) Bit 7 6 5 4 CRTFracRate(7:0) Init(7:0) Scheduler Initialization Value This bit field must be written to 00H at the time of Scheduler configuration/initialization and should not be written during normal operation. CRTFracRate (7:0) CRT Fractional Rate This value determines the fractional part of the CRT Queue output rate. Refer to Section 4.2.2.3 “Programming the Common RealTime Bypass” on Page 109 for the calculation of CRTIntRate and CRTFracRate Data Sheet 279 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.21 AVT Table Registers Internal Table 10: VBR Table Transfer Registers VBR Context Table Transfer Registers are used to access the VBR Context Table (AVT). Refer to Chapter 3.5.9.1 for the RAM organization of this table. Table 7-25 provides an overview of the registers involved. Each AVT word consists of 32 bits. Table 7-25 Registers for AVT Table Access 31 0 AVT RAM word 15 0 15 ERCT1 RAM Select: 0 15 ERCT0 0 MAR=0AH Entry Select: 15 0 15 ERCM1 0 15 ERCM0 0 WAR: EntrySel(9:0) = (0..1023 D) WordSel(2:0) = (0..7 D) ERCT0 and ERCT1 are the transfer registers for one 32-bit word of the AVT table. Access to words are controlled by mask registers ERCM0/ERCM1. The context entry number and the corresponding word number representing the table word which needs to be read or written must be written to the Word Address Register (WAR). The dedicated AVT table word is read into the ERCT0/ERCT1 transfer registers or modified by the ERCT0/ERCT1 transfer register values with a write mechanism. The associated mask registers ERCM0 and ERCM1 allow a bit-wise Write operation (0 unmasked, 1 - masked). In case of Read operation, the dedicated ERCT0/ERCT1 register bit will be overwritten by the respective AVT table entry bit value. In case of Write operation, the dedicated ERCT0/ERCT1 register bit will modify the respective AVT table entry bit value. The Read or Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the AVT table bit field MAR(4:0) must be set to 08H. Data Sheet 280 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Bit 5 of MAR starts the transfer and is cleared automatically after execution. Table 7-26 Bit 15 WAR Register Mapping for AVT Table Access 14 13 12 11 Unused(2:0) Bit 7 6 10 9 8 1 0 EntrySel(9:5) 5 4 3 EntrySel(4:0) 2 WordSel(2:0) EntrySel(9:0) Selects one of the 1024 AVT table context entries. WordSel(2:0) Selects one of the 8 DWORDs per AVT table context entries. Data Sheet 281 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 87 ERCT0 AVT Table Transfer Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ERCT0 Typical Usage: Written and Read by CPU Bit 15 14 CA H 13 12 11 10 9 8 2 1 0 Word0(15:8) Bit 7 6 5 4 3 Word0(7:0) Word0(15:0) Data Sheet The meaning of the ’Word0’ depends on: – The selected context entry word (WordSel(2:0)) – The mode of this particular context entry For detailed description of the context entry fields refer to “AVT Context RAM Organization and Addressing” on Page 95 f. 282 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 88 ERCT1 AVT Table Transfer Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ERCT1 Typical Usage: Written and Read by CPU Bit 15 14 CB H 13 12 11 10 9 8 2 1 0 Word1(31:24) Bit 7 6 5 4 3 Word1(23:16) Word1(31:16) Data Sheet The meaning of the ’Word1’ depends on – The selected context entry word (WordSel(2:0)) – The mode of this particular context entry For detailed description of the context entry fields refer to “AVT Context RAM Organization and Addressing” on Page 95 f. 283 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 89 ERCM0 AVT Table Access Mask Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ERCM0 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 CC H 13 12 11 10 9 8 2 1 0 ERCM0(15:8) Bit 7 6 5 4 3 ERCM0(7:0) ERCM0(15:0) ERC Mask Register 0 ERC Mask Registers 0..1 control the Write access from transfer registers ERCT0 and ERCT1 to the internal AVT table on a per-bit selection basis. The mask register bit positions correspond to the respective transfer registers ERCT0 and ERCT1: Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 284 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 90 ERCM1 AVT Table Access Mask Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ERCM0 Typical Usage: Written by CPU to control internal table Read/Write access Bit 15 14 CD H 13 12 11 10 9 8 2 1 0 ERCM1(31:24) Bit 7 6 5 4 3 ERCM1(23:16) ERCM1(31:16) ERC Mask Register 1 ERC Mask Registers 0..1 control the Write access from transfer registers ERCT0 and ERCT1 to the internal AVT table on a per-bit selection basis. The mask register bit positions correspond to the respective transfer registers ERCT0 and ERCT1: Data Sheet 0 The dedicated bit of the transfer register overwrites the table entry during Write. Does not affect Read access. 1 The dedicated bit of the transfer register does not overwrite the table entry during Write. Does not affect Read access. 285 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 91 ERCCONF0 ERC Configuration Register 0 CPU Accessibility: Read/Write Reset Value: 0061H Offset Address: ERCCONF0 D5H Typical Usage: Written and Read by CPU Bit 15 14 unused Bit 7 13 SCANP(6:0) 11 unused(3:0) 6 5 4 3 10 9 8 unused unused SCAND 2 1 0 SCANP(6:0) unused SCAND 12 SCAN Disable 0 SCAN enabled 1 SCAN disabled SCAN Period Refer to “Scan Unit” on Page 90 for a description Data Sheet 286 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.22 PLL Control Registers Register 92 PLL1CONF PLL1 Configuration Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: PLL1CONF Typical Usage: Written and Read by CPU Bit 15 14 13 D7H 12 Locked1 Div2En1 Div1En1 BYPAS S1 Bit 7 6 5 4 M1(1:0) 11 10 PU1 RES1 3 2 9 8 M1(3:2) 1 0 N1(5:0) DPLL1 generates a clock that is an alternative clock source for the ABM-3G. The DPLL1 is fed by clock input signal ‘SYSCLK’. Signal ‘SYSCLKSEL’ determines the clock source of the ABM-3G. Section 3.2.5 “Clocking System” on Page 52 provides the details. Locked1 Div2En1 Div1En1 Data Sheet DPLL1 Locked (read only) 1 DPLL1 is locked based on the current parameter setting. 0 DPLL1 is in transient status. Division Factor 2 Enable for DPLL1 This bit enables one of the additional divide by 2 factors subsequent to the DPLL1 output. 0 Division Factor 2 disabled. 1 Division Factor 2 enabled. Division Factor 1 Enable for DPLL1 This bit enables one of the additional divide by 2 factors subsequent to the DPLL1 output. 287 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description BYPASS1 PU1 RES1 0 Division Factor 1 disabled. 1 Division Factor 1 enabled. DPLL1 Bypass Switching between bypass and non-bypass mode is glitch-free with respect to the internal clock output. The DPLL1 is bypassed after power-on reset and can be switched to non-bypass mode by software during device configuration. 0 DPLL1 is internally bypassed, i.e. DPLL1 clock input connected to DPLL1 clock output 1 DPLL1 is not bypassed, i.e. DPLL1 clock output is generated by DPLL1 depending on its parameter configuration Power Up DPLL1 0 DPLL1 is in power-down mode. (The analog part of DPLL1 is switched-off for power saving.) 1 DPLL1 is in power on (operational) mode. Reset DPLL1 0 DPLL1 is in operational mode. 1 DPLL1 is in reset mode. Note: The result of reset mode is identical to bypass mode, but switching between reset and non-reset status is not glitch-free with respect to the internal clock output. M1(3:0) M1 Parameter of DPLL1 This parameter determines the first stage division factor of DPLL1. The effective division factor is (M1 + 1) in the range 1..16. N1(5:0) N1 Parameter of DPLL1 This parameter determines the second stage multiplication factor of DPLL1. The effective multiplication factor is (N1 + 1) in the range 1..64. Data Sheet 288 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 93 PLLTST PLL Test Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: PLLTST Typical Usage: Written and Read by CPU Bit 15 14 D9H 13 12 11 10 9 8 2 1 0 Reserved(15:8) Bit 7 6 5 4 3 Reserved(7:0) Data Sheet 289 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.23 External RAM Test Registers Register 94 EXTRAMD0 External RAM Test Data Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: EXTRAMD0 DC H Typical Usage: Written and Read by CPU Bit 15 14 13 12 11 10 9 8 2 1 0 Data(31:24) Bit 7 6 5 4 3 Data(23:16) Data(31:16) Upper part of data to be read from or to be written to the external RAM Note: Only the lower 20 bits of each Cell Pointer RAM entry can be accessed. Read access to the upper bits will always return 0. Data Sheet 290 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 95 EXTRAMD1 External RAM Test Data Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: EXTRAMD1 DD H Typical Usage: Written and Read by CPU Bit 15 14 13 12 11 10 9 8 2 1 0 Data(15:8) Bit 7 6 5 4 3 Data(7:0) Data(15:0) Data Sheet Lower part of data to be read from or to be written to the external RAM 291 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 96 EXTRAMA0 External RAM Test Address Register Low CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: EXTRAMA0 DEH Typical Usage: Written and Read by CPU Bit 15 14 13 12 11 10 9 8 2 1 0 Address(15:8) Bit 7 6 5 4 3 Address(7:0) Address(15:0) Lower bits of the Address The Address field selects an entry within the external RAM, selected by the EXTRAMC register. The range depends on the size of the selected external RAM (see Table 7-27). Table 7-27 RAM Type Extended RAM Address Range for Test Access Size Address Range SSRAM 64 k x 32 bit 0 .. 65536 SSRAM 128 k x 32 bit 0 .. 131072 SSRAM 256 k x 32 bit 0 .. 262144 SSRAM 512 k x 32 bit 0 .. 524288 SDRAM 32 Mbit per core 0 .. 1048576 SDRAM 64 Mbit per core 0 .. 2097152 SDRAM 128 Mbit per core 0 .. 4194304 Data Sheet 292 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 97 EXTRAMA1 External RAM Test Address Register High CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: EXTRAMA0 DFH Typical Usage: Written and Read by CPU Bit 15 14 13 12 11 10 9 8 2 1 0 Unused(11:4) Bit 7 6 5 4 3 Unused(3:0) Address(19:16) Address(19:16) Upper bits of the Address The Address field selects an entry within the external RAM, selected by the EXTRAMC register. The range depends on the size of the selected external RAM (see Table 7-27). Data Sheet 293 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 98 EXTRAMC External RAM Test Command Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: EXTRAMA0 E0H Typical Usage: Written and Read by CPU Bit 15 14 13 12 11 10 9 8 2 1 0 CPRW CPRR Unused(13:2) Bit 7 6 Unused(1:0) 5 4 3 CSRDW CSRDR CSRUW CSRUR Setting a command bit starts the Read or Write procedure from/to the selected external RAM. The corresponding bit is automatically cleared after completion of the Read/Write procedure. The address to be read or to be written is provided in registers EXTRAMA0 and EXTRAMA1. The 32-bit wide data is transferred via registers EXTRAMD0 and EXTRAMD1. Note: Access to external RAM is only allowed before first cell flow. CSRDW Cell Storage RAM downstream write CSRDR Cell Storage RAM downstream read CSRUW Cell Storage RAM upstream write CSRUR Cell Storage RAM upstream read CPRW Cell Pointer RAM write CPRR Cell Pointer RAM read Data Sheet 294 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.24 ABM-3G Version Code Registers Register 99 VERL Version Number Low Register CPU Accessibility: Read Reset Value: F083 H Offset Address: VERL Typical Usage: Read by CPU to determine device version number Bit 15 14 E1H 13 12 11 10 9 8 2 1 0 VERL(15..8) Bit 7 6 5 4 3 VERL(7..0) • VERL(15..0) Data Sheet F083H 295 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 100 VERH Version Number High Register CPU Accessibility: Read Reset Value: 1007 H Offset Address: VERH Typical Usage: Read by CPU to determine device version number Bit 15 14 E2H 13 12 11 10 9 8 2 1 0 VERH(15..8) Bit 7 6 5 4 3 VERH(7..0) VERH(15..0) Data Sheet 1007H 296 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.25 Interrupt Status/Mask Registers Register 101 ISRU Interrupt Status Register Upstream CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ISRU Typical Usage: Read by CPU to evaluate interrupt events related to the upstream core. Interrupt indications must be cleared by writing a 1 to the respective bit locations; writing a 0 has no effect; Bit E3H 15 14 13 12 11 Unused BCFGE QIDINV BUFER 1 LCI INVAL 7 6 5 4 3 Bit BUFER 3 CDVOV MUXOV AAL5 COL 10 9 8 PARITY SOCER ER 2 RMCER BIP8ER BUFER 2 1 0 BUFER 4 reserve d BCFGE Buffer Configuration Error upstream QIDINV This interrupt is generated if the ABM-3G tries to write a cell into a disabled queue. The cell is discarded in this case. (Typically occurs on queue configuration errors.) BUFER1 Unexpected buffer error number 1. Should never occur in normal operation. Immediate reset of the chip recommended. LCIINVAL Error when performing the internal address reduction The cell is discarded. PARITYER Parity error at UTOPIA Receive Upstream (PHY) Interface detected. Data Sheet 297 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description SOCER Start of Cell Error at UTOPIA Receive Upstream (PHY) Interface detected. BUFER2 Unexpected Buffer Error number 2. Should never occur in normal operation. Immediate reset of the chip is recommended. BUFER3 Unexpected Buffer Error number 3. Should never occur in normal operation. Immediate reset of the chip is recommended. CDVOV The maximum upstream CDV value for shaped connections given in CDVU register has been exceeded. This interrupt is a notification only; that is, no cells are discarded due to this event. MUXOV Indicates that a Scheduler Block lost a serving time slot. (Can indicate a static backpressure on one port). The ’MUXOV’ interrupt is generated when the number of lost serving time slots exceeds the number specified in bit field MaxBurstS(3:0) (see register UECRI/DECRI). No further action is required upon this interrupt. AAL5COL Indicates that an interrupt event occurred in the upstream AAL5 unit. The interrupt reason must be read from the AAL5 status register “UA5SARS/DA5SARS” on Page 172 (upstream). RMCER RM Cell received with corrupted CRC-10. BIP8ER BIP-8 error detected when reading a cell from the upstream external SDRAM. BIP-8 protects the cell header of each cell. The cell is discarded. One single sporadic event can be ignored. Hardware should be taken out of service when the error rate exceeds 10-10. Data Sheet 298 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description BUFER4 Unexpected Buffer Error number 4. Should never occur in normal operation. Immediate reset of the chip recommended. For consistency check the ABM-3G stores the queue ID with each cell written to the respective queue within the cell storage RAM. When reading a cell from the cell storage RAM, the queue ID is compared to the stored queue ID. A queue ID mismatch would indicate a global buffering/pointer problem. Note: Several mechanisms are implemented in the ABM-3G to check for consistency of pointer operation and internal/external memory control. The interrupt events BUFER1..BUFER4 indicate errors detected by these mechanisms. It is recommended that these interrupts be classified as "fatal device errors." Data Sheet 299 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 102 ISRD Interrupt Status Register Downstream CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ISRD Typical Usage: Read by CPU to evaluate interrupt events related to the downstream core. Interrupt indications must be cleared by writing a 1 to the respective bit locations; writing a 0 has no effect; Bit E4H 15 14 13 12 11 Unused BCFGE QIDINV BUFER 1 LCI INVAL 7 6 5 4 3 Bit BUFER 3 CDVOV MUXOV AAL5 COL 10 9 PARITY SOCER ER 2 RMCER BIP8ER 8 BUFER 2 1 0 BUFER 4 reserve d BCFGE Buffer Configuration Error downstream QIDINV This interrupt is generated if the ABM-3G tries to Write a cell into a disabled queue. The cell is discarded. (Typically occurs on queue configuration errors.) BUFER1 Unexpected Buffer Error number 1. Should never occur in normal operation. Immediate reset of the chip is recommended. LCIINVAL Error when performing the internal address reduction The cell is discarded. PARITYER Parity Error at UTOPIA Receive Downstream (PHY) Interface detected. SOCER Start of Cell Error at UTOPIA Receive Downstream (PHY) Interface detected. Data Sheet 300 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description BUFER2 Unexpected Buffer Error number 2. Should never occur in normal operation. Immediate reset of the chip is recommended. BUFER3 Unexpected Buffer Error number 3. Should never occur in normal operation. Immediate reset of the chip recommended. CDVOV The maximum downstream CDV value for shaped connections given in CDVU register has been exceeded. This interrupt is a notification only; that is, no cells are discarded due to this event. MUXOV Indicates that a Scheduler Block lost a serving time slot. (Can indicate a static backpressure on one port). The ’MUXOV’ interrupt is generated when the number of lost serving time slots exceeds the number specified in bit field MaxBurstS(3:0) (see register UECRI/DECRI). No further action is required upon this interrupt. AAL5COL Indicates that an interrupt event occurred in the downstream AAL5 unit. The interrupt reason must be read from the AAL5 status register “UA5SARS/DA5SARS” on Page 172 (downstream). RMCER RM cell received with corrupted CRC-10. BIP8ER BIP-8 error detected when reading a cell from the downstream external SDRAM. BIP-8 protects the cell header of each cell. The cell is discarded. One single sporadic event can be ignored. Hardware should be taken out of service when the error rate exceeds 10-10. Data Sheet 301 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description BUFER4 Unexpected Buffer Error number 4. Should never occur in normal operation. Immediate reset of the chip is recommended. For consistency check the ABM-3G stores the queue ID with each cell written to the respective queue within the cell storage RAM. When reading a cell from the cell storage RAM, the queue ID is compared to the stored queue ID. A queue ID mismatch would indicate a global buffering/pointer problem. Note: Several mechanisms are implemented in the ABM-3G to check for consistency of pointer operation and internal/external memory control. The interrupt events BUFER1..BUFER4 indicate errors detected by these mechanisms. It is recommended that these interrupts be classified as “fatal device errors.” Data Sheet 302 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 103 ISRC Interrupt Status Register Common CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: ISRC Typical Usage: Read by CPU to evaluate interrupt events related to both cores. Interrupt indications must be cleared by writing a 1 to the respective bit locations; writing a 0 has no effect; Bit 15 14 E5H 13 12 11 10 9 8 Unused(10:3) Bit 7 6 Unused(2:0) 5 4 3 2 RAMER DDQRD UDQRD 1 0 DQ VCMGD UQ VCMGD RAMER Configuration of common Cell Pointer RAM has been changed after cells have been received (see Register MODE1, bit field CPR). DDQRD Downstream Dummy Queue Relogged/Deactivated This interrupt confirms the dummy queue operation being activated and deactivated. (see Register 38: QCT1) UDQRD Upstream Dummy Queue Relogged/Deactivated This interrupt confirms the dummy queue operation being activated and deactivated. (see Register 38: QCT1) DQVCMGD Downstream Queue VC-Merge Group Deactivated This interrupt confirms the VC-Merge group being deactivated. UQVCMGD Upstream Queue VC-Merge Group Deactivated This interrupt confirms the VC-Merge group being deactivated. Data Sheet 303 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 104 IMRU Interrupt Mask Register Upstream CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: IMRU Typical Usage: Written by CPU to control interrupt signal effective events Bit 15 14 E6H 13 12 11 10 9 8 2 1 0 IMRU(15:8) Bit 7 6 5 4 3 IMRU(7:0) IMRU(15:0) Data Sheet Interrupt Mask Upstream Each bit controls whether the corresponding interrupt indication in register ISRU (same bit location) activates the interrupt signal: 1 Interrupt indication masked. The interrupt signal is not activated upon this event. 0 Interrupt indication unmasked. The interrupt signal is activated upon this event. 304 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 105 IMRD Interrupt Mask Register Downstream CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: IMRD Typical Usage: Written by CPU to control interrupt signal effective events Bit 15 14 E7H 13 12 11 10 9 8 2 1 0 IMRD(15:8) Bit 7 6 5 4 3 IMRD(7:0) IMRD(15:0) Data Sheet Interrupt Mask Downstream Each bit controls whether the corresponding interrupt indication in register ISRD (same bit location) activates the interrupt signal: 1 Interrupt indication masked. The interrupt signal is not activated upon this event. 0 Interrupt indication unmasked. The interrupt signal is activated upon this event. 305 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 106 IMRC Interrupt Mask Register Common CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: IMRC Typical Usage: Written by CPU to control interrupt signal effective events Bit 15 14 E8H 13 12 11 10 9 8 2 1 0 IMRC(15:8) Bit 7 6 5 4 3 IMRC(7:0) IMRC(15:0) Data Sheet Interrupt Mask Common Each bit controls whether the corresponding interrupt indication in register ISRC (same bit location) activates the interrupt signal: 1 Interrupt indication masked. The interrupt signal is not activated upon this event. 0 Interrupt indication unmasked. The interrupt signal is activated upon this event. 306 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.26 RAM Select Registers Register 107 MAR Memory Address Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MAR Typical Usage: Written by CPU to address internal RAM/tables for Read or Write operation via transfer registers Bit 15 14 EBH 13 12 11 10 9 8 2 1 0 Unused(9:2) Bit 7 6 Unused Start_W 5 4 3 Start_R MAR(4:0) Start_W This command bit starts the Write procedure to the internal RAM/ table addressed by bit field MAR(4:0). The specific data transfer and mask registers must be prepared appropriately in advance. This bit is automatically cleared after completion of the Write procedure. Start_R Simplifies Read access without need to touch the mask registers MAR(4:0) Memory Address This bit field selects one of the internal RAM/tables for Read or Write operation: 00000 Data Sheet LCI: LCI Table RAM (see page 191) 00001 TCT: Traffic Class Table (see page 195) 00010 QCT: Queue Configuration Table (see page 211) 00011 SBOC: Scheduler Block Occupation Table (see page 223) 00111 MGT: Merge Group Table (see page 230) 01010 AVT: VBR Table (see page 280) 10000 QPT1 Upstream: Queue Parameter Table 1 Up (see page 247) 307 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 10001 QPT2 Upstream: Queue Parameter Table 2 Up (see page 251) 11000 QPT1 Downstream: Queue Parameter Table 1 Dn (see page 247) 11001 QPT2 Downstream: Queue Parameter Table 2 Dn (see page 251) 10111 SCTF Upstream: Scheduler Configuration Table Fractional Part (see page 257) 11111 SCTF Downstream: Scheduler Configuration Table Fractional Part (see page 267) Note: The SCTI Table (Scheduler Configuration Table Integer Part) is addressed via dedicated address registers and thus not listed in bit field MAR(4:0) (see page 259). Note: MAR(4:0) values not listed above are invalid and reserved. It is recommended to not use invalid/reserved values. Data Sheet 308 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 108 WAR Word Address Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: WAR Typical Usage: Written by CPU to address entries of internal RAM/ tables for Read or Write operation via transfer registers. Bit 15 14 ECH 13 12 11 10 9 8 2 1 0 WAR(15:8) Bit 7 6 5 4 3 WAR(7:0) WAR(15:0) Data Sheet Word Address This bit field selects an entry within the internal RAM/table selected by the MAR register. In general, it can address up to 64K entries. The current range of supported values depends on the size and organization of the selected RAM/table. Thus, the specific WAR register meaning is listed in the overview part of each internal RAM/table description: LCI LCI Table RAM (see page 191) TCT Traffic Class Table (see page 195) QCT Queue Configuration Table (see page 223) SBOC Scheduler Block Occupation Table (see page 223) QPTHU QPT High Word Upstream: Queue Parameter Table (see page 247f.) QPTHD QPT High Word Downstream: Queue Parameter Table (see page 247f.) QPTLU QPT Low Word Upstream: Queue Parameter Table(see page 247) QPTLD QPT Low Word Downstream: Queue Parameter Table (see page 247) 309 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description SCTFU SCTF Upstream: Scheduler Configuration Table Fractional Part (see page 267) SCTFD SCTF Downstream: Scheduler Configuration Table Fractional Part (see page 267) Note: The SCTI Table (Scheduler Configuration Table Integer Part) is addressed via dedicated address registers and, thus, is not listed in the MAR and WAR registers (see page 257). Data Sheet 310 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.27 Global ABM-3G Status and Mode Registers Register 109 USTATUS ABM-3G UTOPIA Status Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: USTATUS Typical Usage: Read by CPU Bit 15 14 13 EDH 12 unused Bit 7 unused 11 10 9 8 2 1 0 DUTFL(6:0) 6 5 4 3 UUTFL(6:0) DUTFL(6:0) Downstream UTOPIA Receive Buffer Fill Level This bit field indicates the current number of cells stored in the UTOPIA receive buffers (0..64 cells). UUTFL(6:0) Upstream UTOPIA Receive Buffer Fill Level This bit field indicates the current number of cells stored in the UTOPIA receive buffer (0..64 cells). Data Sheet 311 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 110 MODE1 ABM-3G Mode 1 Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: MODE1 Typical Usage: Written and Read by CPU Bit EEH 15 14 SWRES 0 7 6 5 WGS 0 0 Bit SWRES CPR(1:0) 13 12 11 10 9 8 VC MERGE INIT RAM INIT SDRAM CORE 4 3 2 1 0 BIP8 CRC10 LCItog CPR(1:0) LCIMOD(1:0) Software Reset (clears automatically after four cycles). This bit is automatically cleared after execution. ’SWRES’ controls reset of all ABM-3G units. 1 Starts internal reset procedure (0) self-clearing Cell Pointer Ram Size configuration (see also Table 7-3 "External RAM Sizes" on Page 177) 00 256k pointer entries per direction (corresponds to 256k cells in each cell storage RAM) 01 128k pointer entries per direction (corresponds to 128k cells in each cell storage RAM) 10 64k pointer entries per direction (corresponds to 64k cells in each cell storage RAM) 11 reserved Note: The Cell Pointer RAM Size should be programmed during initialization and should not be changed during operation. Data Sheet 312 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description VCMerge INITRAM VC Merge Enable This bit enables VC-Merge operation on a global basis. It determines the usage (required width) of the Cell Pointer RAM, since VC-Merge operation requires one additional flag ‘EOP Mark’ in the CPR. (see also Table 5-10 "SSRAM Configuration Examples" on Page 139) 0 VC-Merge operation disabled. 1 VC-Merge operation enabled. Init RAM Start of Initialization of the internal RAM. This bit is automatically cleared after execution. 1 Starts internal RAM initialization procedure. Note: The internal RAM initialization process can be activated only once after hardware reset. (0) INITSDRAM CORE WGS Data Sheet self-clearing Init SDRAM Initialization and configuration of the external SDRAM. This bit must be set to 1 after reset (initial pause of at least 200 µs is necessary) and is automatically cleared by the ABM-3G after configuration of the SDRAM has been executed. 1 Starts SDRAM initialization procedure (0) self-clearing Downstream Core Disable This bit disables the downstream ABM-3G Core, which is necessary in some MiniSwitch configurations (Uni-Directional Mode using one core). It is recommended to set CORE = 0 in Bi-directional operation modes. 1 Downstream ABM-3G core disabled 0 Downstream ABM-3G core enabled Work Group Switch Mode Selects MiniSwitch (Uni-directional) Mode if set to 1. 313 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description BIP8 CRC10 LCItog 1 MiniSwitch (Uni-directional) operation mode selected: upstream transmit UTOPIA Interface is disabled; downstream receive UTOPIA Interface is disabled. 0 Normal (Bi-directional) operation mode Disables discard of cells with BIP-8 header error. 1 BIP-8 errored cells are not discarded 0 BIP-8 errored cells are discarded Disables discard of RM cells with defect CRC10. 1 CRC10 errored RM cells are not discarded 0 CRC10 errored RM cells are discarded Enables toggling of the LCI(0) bit in outgoing cells in MiniSwitch (uni-directional) mode. 1 LCI bit 0 is toggled in outgoing cells in case of MiniSwitch operation mode selected 0 LCI bit 0 remains unchanged Note: Does not affect the cell header if Internal Address Reduction is used. LCIMOD(1:0) Data Sheet Specifies the expected mapping of Local Connection Identifier (LCI) field to cell header: 00 LCI(13, 12) =’00’, LCI(11:0) mapped to VPI(11:0) field 01 LCI(15:0) mapped to VCI(15:0) field; 10 LCI(15:14) mapped to UDF1(1:0) field; LCI(13:12) mapped to UDF1(7:6) field; LCI(11:0) mapped to VPI(11:0) field 11 Internal Address reduction mode; The LCI is derived from programmable parts of the VPI, VCI and PN bit fields. The derived LCI is used by the ABM-3G, but nor written to the cell. 314 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 111 MODE2 ABM-3G Mode 2 Register CPU Accessibility: Read/Write Reset Value: 0800H Offset Address: MODE Typical Usage: Written and Read by CPU Bit EFH 15 14 13 12 11 10 SD CAW SDRR unused 1 TUTS DQSC 7 6 5 4 3 2 Bit PNSRC SDCAW SDRR TUTS DQSC QS(1:0) Data Sheet MNUM(3:0) 9 8 QS(1:0) 1 0 PNUM(2:0) SDRAM Column Address Width 0 8 bit 1 9 bit SDRAM Refresh Rate 0 Default Refresh Rate (4096 cycles/s) 1 Double Refresh Rate (8192 cycles/s) Tristate all UTOPIA Signals 0 Normal mode 1 UTOPIA Signals in Tristate mode Disable Quarter Segment Check 0 Normal mode 1 Quarter Segment Check disabled Quarter Segment 315 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description If Quarter Segment Check is enabled, the ABM-3G processes only cells matching the LCI segment: LCI(15:14) = QS(1:0) All other cells are forwarded depending on the value found in entry 0 of the LCT table. Default: send to the Common Real-Time Queue to be processed by a subsequent ABM-3G (cascading). PNSRC Port Number Source This bit determines which Port Number field is used for internal Address Reduction Mode: 0 PN field is taken from the UTOPIA Port number, that accepted the cell. 1 PN field is taken from the UDF1(5:0) field of the cell MNUM(3:0) M Parameter This bit field determines the ranges of VPI and VCI cell header fields mapped into the LCI in internal Address Reduction mode. Chapter 3.2.4 provides the details. PNUM(2:0) P Parameter This bit field determines the number of port number bits mapped into the LCI in internal Address Reduction mode. Chapter 3.2.4 provides the details. Data Sheet 316 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.28 UTOPIA Configuration Registers Register 112 UTRXCFG Upstream/Downstream UTOPIA Receive Configuration Register CPU Accessibility: Read/Write Reset Value: 0001 H Offset Address: UTRXCFG Typical Usage: Written and Read by CPU Bit F0H 15 14 13 12 DURD DURUT DURPD DURPE 7 6 5 4 UURD UURUT UURPD UURPE Bit 11 10 DURCFG(1:0) 3 9 8 DURBU S DURM 1 0 UURBU S UURM 2 UURCFG(1:0) • DURD Downstream UTOPIA Receive Discard UURD Upstream UTOPIA Receive Discard 0 Normal operation 1 Discard all cells without notification DURUT Downstream UTOPIA Receive UDF2 Transparent UURUT Upstream UTOPIA Receive UDF2 Transparent 0 PN mapped to UDF2 (for internal processing) 1 UDF2 transparent (BIP8 checksum not usable) DURPD Downstream UTOPIA Receive Parity Error discard UURPD Upstream UTOPIA Receive Parity Error discard 0 Data Sheet No discarding of cells with Parity Error 317 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 1 Discarding of cells with Parity Error DURPE Downstream UTOPIA Receive Parity Check Enable UURPE Upstream UTOPIA Receive Parity Check Enable 0 Parity check disabled 1 Parity check enabled DURCFG(1:0) Downstream UTOPIA Receive Port Configuration UURCFG(1:0) Upstream UTOPIA Receive Port Configuration 00 4 x 12 ports 01 4 x 12 ports 10 4 x 12 ports 11 Level 1 Mode (4 x 1 port) DURBUS Downstream UTOPIA Receive Bus Width UURBUS Upstream UTOPIA Receive Bus Width 0 8-bit bus width 1 16-bit bus width DURM Downstream UTOPIA Receive Mode UURM Upstream UTOPIA Receive Mode Data Sheet 0 Slave Mode 1 Master Mode 318 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 113 UUTRXP0 Upstream UTOPIA Receive Port Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTRXP0 Typical Usage: Written and Read by CPU Bit 15 14 13 F1H 12 11 10 9 8 2 1 0 UURXPEnable(15..8) Bit 7 6 5 4 3 UUTRXPEnable(7..0) • UUTRXPEnable (15:0) Data Sheet Upstream UTOPIA Receive Port Enable Each bit enables or disables the respective UTOPIA port (15..0): bit = 0 Port disabled. bit = 1 Port enabled. 319 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 114 UUTRXP1 Upstream UTOPIA Receive Port Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTRXP1 Typical Usage: Written and Read by CPU Bit 15 14 13 F2H 12 11 10 9 8 2 1 0 UURXPEnable(31..24) Bit 7 6 5 4 3 UUTRXPEnable(23..16) • UUTRXPEnable (31:16) Data Sheet Upstream UTOPIA Receive Port Enable Each bit enables or disables the respective UTOPIA port (31..16): bit = 0 Port disabled. bit = 1 Port enabled. 320 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 115 UUTRXP2 Upstream UTOPIA Receive Port Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTRXP2 Typical Usage: Written and Read by CPU Bit 15 14 13 F3H 12 11 10 9 8 2 1 0 UURXPEnable(47..40) Bit 7 6 5 4 3 UUTRXPEnable(39..32) • UUTRXPEnable (47:32) Data Sheet Upstream UTOPIA Receive Port Enable Each bit enables or disables the respective UTOPIA port (47..32): bit = 0 Port disabled. bit = 1 Port enabled. 321 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 116 DUTRXP0 Downstream UTOPIA Receive Port Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: DUTRXP0 Typical Usage: Written and Read by CPU Bit 15 14 13 F4H 12 11 10 9 8 2 1 0 DURXPEnable(15..8) Bit 7 6 5 4 3 DUTRXPEnable(7..0) • DUTRXPEnable (15:0) Data Sheet Downstream UTOPIA Receive Port Enable Each bit enables or disables the respective UTOPIA port (15..0): bit = 0 Port disabled. bit = 1 Port enabled. 322 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 117 DUTRXP1 Downstream UTOPIA Receive Port Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: DUTRXP1 Typical Usage: Written and Read by CPU Bit 15 14 13 F5H 12 11 10 9 8 2 1 0 DURXPEnable(31..24) Bit 7 6 5 4 3 DUTRXPEnable(23..16) • DUTRXPEnable (31:16) Data Sheet Downstream UTOPIA Receive Port Enable Each bit enables or disables the respective UTOPIA port (31..16): bit = 0 Port disabled. bit = 1 Port enabled. 323 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 118 DUTRXP2 Downstream UTOPIA Receive Port Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: DUTRXP2 Typical Usage: Written and Read by CPU Bit 15 14 13 F6H 12 11 10 9 8 2 1 0 DURXPEnable(47..40) Bit 7 6 5 4 3 DUTRXPEnable(39..32) • DUTRXPEnable (47:32) Data Sheet Downstream UTOPIA Receive Port Enable Each bit enables or disables the respective UTOPIA port (47..32): bit = 0 Port disabled. bit = 1 Port enabled. 324 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 119 UUTTXCFG Upstream UTOPIA Transmit Configuration Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTTXCFG F7H Typical Usage: Written and Read by CPU Bit 15 14 13 unused(2:0) Bit 7 6 5 12 11 UUTES UUTUT 4 3 10 9 UUTCFG(1:0) 2 UUTQL(6:0) 1 8 UUTBU S 0 UUTM • UUTM UUTQL(6:0) Upstream UTOPIA Transmit Mode 0 Slave Mode 1 Master Mode Upstream UTOPIA Transmit Queue Length Chapter 5.2.2 provides the details. 64 cells maximum UURBUS UUTCFG(1:0) Data Sheet Upstream UTOPIA Transmit Bus Width 0 8-bit bus width 1 16-bit bus width Upstream UTOPIA Transmit Port Configuration 00 4 x 12 ports 01 4 x 12 ports 10 4 x 12 ports 325 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 11 UUTUT UUTES Data Sheet Level 1 Mode (4 x 1 port) Upstream UTOPIA Transmit UDF2 Transparent 0 Port number is mapped to UDF2 1 UDF2 not modified at transmit Interface (UDF2 transparency if set together with UTRXCFG.UURUT) Upstream UTOPIA Transmit Extended Slave 0 1x4 or 4x12 1 1x31 together with UUTM=”0” (slave) 326 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 120 DUTTXCFG Downstream UTOPIA Transmit Configuration Register CPU Accessibility: Read/Write Reset Value: 0001 H Offset Address: DUTTXCFG F8H Typical Usage: Written and Read by CPU Bit 15 14 13 unused(2:0) Bit 7 6 5 12 11 DUTES DUTUT 4 3 10 9 DUTCFG(1:0) 2 1 DUTQL(6:0) 8 DUTBU S 0 DUTM • DUTM DUTQL(6:0) Downstream UTOPIA Transmit Mode 0 Slave Mode 1 Master Mode Downstream UTOPIA Transmit Queue Length Chapter 5.1.2 provides the details. 64 cells maximum DURBUS DUTCFG(1:0) Data Sheet Downstream UTOPIA Transmit Bus Width 0 8-bit bus width 1 16-bit bus width Downstream UTOPIA Transmit Port Configuration 00 4 x 12 ports 01 4 x 12 ports 10 4 x 12 ports 327 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 11 DUTUT DUTES Data Sheet Level 1 Mode (4 x 1 port) Downstream UTOPIA Transmit UDF2 Transparent 0 Port number is mapped to UDF2 1 UDF2 not modified at transmit Interface (UDF2 transparency if set together with UTRXCFG.DURUT) Downstream UTOPIA Transmit Extended Slave 0 1x4 or 4x12 1 1x31 together with UUTM=”0” (slave) 328 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 121 UUTTXP0 Upstream UTOPIA Transmit Port Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTTXP0 Typical Usage: Written and Read by CPU Bit 15 14 13 F9H 12 11 10 9 8 2 1 0 UUTXPEnable(15..8) Bit 7 6 5 4 3 UUTTXPEnable(7..0) • UUTTXPEnable (15:0) Upstream UTOPIA Transmit Port Enable Each bit enables or disables the respective UTOPIA port (15..0): bit = 0 Port disabled. bit = 1 Port enabled. Note: If transmit port is disabled, cells assigned to this port are discarded without notification Data Sheet 329 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 122 UUTTXP1 Upstream UTOPIA Transmit Port Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTTXP1 Typical Usage: Written and Read by CPU Bit 15 14 13 FAH 12 11 10 9 8 2 1 0 UUTTXPEnable(31..24) Bit 7 6 5 4 3 UUTTXPEnable(23..16) • UUTTXPEnable (31:16) Upstream UTOPIA Transmit Port Enable Each bit enables or disables the respective UTOPIA port (31..16): bit = 0 Port disabled. bit = 1 Port enabled. Note: If transmit port is disabled, cells assigned to this port are discarded without notification Data Sheet 330 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 123 UUTTXP2 Upstream UTOPIA Transmit Port Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: UUTTXP2 Typical Usage: Written and Read by CPU Bit 15 14 13 FBH 12 11 10 9 8 2 1 0 UUTTXPEnable(47..40) Bit 7 6 5 4 3 UUTTXPEnable(39..32) • UUTTXPEnable (47:32) Upstream UTOPIA Transmit Port Enable Each bit enables or disables the respective UTOPIA port (47..32): bit = 0 Port disabled. bit = 1 Port enabled. Note: If transmit port is disabled, cells assigned to this port are discarded without notification Data Sheet 331 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 124 DUTTXP0 Downstream UTOPIA Transmit Port Register 0 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: DUTTXP0 Typical Usage: Written and Read by CPU Bit 15 14 13 FCH 12 11 10 9 8 2 1 0 DUTTXPEnable(15..8) Bit 7 6 5 4 3 DUTTXPEnable(7..0) • DUTTXPEnable (15:0) Downstream UTOPIA Transmit Port Enable Each bit enables or disables the respective UTOPIA port (15..0): bit = 0 Port disabled. bit = 1 Port enabled. Note: If transmit port is disabled, cells assigned to this port are discarded without notification Data Sheet 332 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 125 DUTTXP1 Downstream UTOPIA Transmit Port Register 1 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: DUTTXP1 Typical Usage: Written and Read by CPU Bit 15 14 13 FDH 12 11 10 9 8 2 1 0 DUTTXPEnable(31..24) Bit 7 6 5 4 3 DUTTXPEnable(23..16) • DUTTXPEnable (31:16) Downstream UTOPIA Transmit Port Enable Each bit enables or disables the respective UTOPIA port (31..16): bit = 0 Port disabled. bit = 1 Port enabled. Note: If transmit port is disabled, cells assigned to this port are discarded without notification Data Sheet 333 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description Register 126 DUTTXP2 Downstream UTOPIA Transmit Port Register 2 CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: DUTTXP2 Typical Usage: Written and Read by CPU Bit 15 14 13 FEH 12 11 10 9 8 2 1 0 DUTTXPEnable(47..40) Bit 7 6 5 4 3 DUTTXPEnable(39..32) • DUTTXPEnable (47:32) Downstream UTOPIA Transmit Port Enable Each bit enables or disables the respective UTOPIA port (47..32): bit = 0 Port disabled. bit = 1 Port enabled. Note: If transmit port is disabled, cells assigned to this port are discarded without notification Data Sheet 334 2001-12-17 ABM-3G PXF 4333 V1.1 Register Description 7.2.29 Test Registers/Special Mode Registers Register 127 TEST TEST Register CPU Accessibility: Read/Write Reset Value: 0000 H Offset Address: TEST Typical Usage: Written and Read by CPU for device test purposes Bit 15 14 FFH 13 12 11 10 Unused(5:0) Bit 7 6 5 4 CLKdelay(1:0) 9 8 Reserved(7:6) 3 2 1 0 Reserved(5:0) • CLKDelay(1:0) Data Sheet This bit field adjusts the delay of RAMCLK output with respect to SYSCLK input. “Test Interface” on Page 141 provides the details. 00 Delay 0 01 Delay 2 10 Delay 4 11 Delay 6 335 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8 Electrical Characteristics 8.1 Absolute Maximum Ratings Table 8-1 Absolute Maximum Ratings Parameter Symbol Ambient temperature under biasPXF TA Tstg VDD VS -40 to 85 °C -40 to 125 °C -0.3 to 3.6 V -0.4 to VDD + 0.4 V VESD,HBM 2000 V Storage temperature IC supply voltage with respect to ground Voltage on any pin with respect to ground 1) ESD robustness HBM: 1.5 kΩ, 100 pF 1) Limit Values Unit According to MIL-Std 883D, method 3015.7 and ESD Association Standard EOS/ESD-5.1-1993. The RF Pins 20, 21, 26, 29, 32, 33, 34 and 35 are not protected against voltage stress > 300 V (versus VS or GND). The high frequency performance prohibits the use of adequate protective structures. Note: Stresses above those listed here may cause permanent damage to the device. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 8.2 Table 8-2 Operating Range Operating Range Parameter Symbol Ambient temperature under bias TA Junction temperature Ground TJ VDD33 VDD18 VSS Power dissipation P Supply voltage 3.3V Supply voltage 1.8V Limit Values Unit Test Condition min. max. -40 85 °C 125 °C 3.0 3.6 V 1.62 1.98 V 0 0 V 2.5 W Note: In the operating range, the functions given in the circuit description are fulfilled. Data Sheet 336 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.3 DC Characteristics • Table 8-3 DC Characteristics Parameter Symbol Limit Values min. Input low voltage Input high voltage VIL VIH typ. –0.4 2.0 Unit Notes max 0.8 V VDD + V LVTTL (3.3 V) 0.4 V VDD V IOL = 5 mA IOH = – 5 mA all 0.3 Output low voltage Output high voltage VOL VOH 0.2 2.4 pins except TDO (TDO: IOH = – 3 mA) Average power supply current ICC 330 mA (AV) VDD33 = 3.3 V, VDD18 = 1.8 V, TA = 25 °C, SYSCLK = 52 MHz; URXCLKU = UTXCLKU = URXCLKD = UTXCLKD = 52 MHz; Average ICCPD power down supply current (AV) 10 mA VDD = 3.3 V, TA = 25 °C, no output loads, no clocks Average power dissipation P (AV) 1 1.3 W VDD33 = 3.3 V, VDD18 = 1.8 V, TA = 25 °C, SYSCLK = 52 MHz; URXCLKU = UTXCLKU = URXCLKD = UTXCLKD = 52 MHz; Data Sheet 337 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-3 DC Characteristics (cont’d) Parameter Symbol Limit Values min. Input current IIIN typ. Unit Notes max -1 1 µA 4 8 µA VIN = VDD33 or VSS VIN = VDD33 for Inputs with internal PullDown resistor -4 -8 µA VIN = VSS for Inputs with internal Pull-Up resistor Input leakage current IIL 1 µA VDD33 = 3.3 V,V DD18 = 1.8 V, GND = 0 V; all other pins are floating Output leakage current IOZ 1 µA VDD33 = 3.3 V,V DD18 = 1.8 V, GND = 0 V; VOUT = 0 V Data Sheet 338 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4 AC Characteristics TA = -40 to 85 °C, VDD33 = 3.3 V ± 10%, VDD18 = 1.8 V ± 10%, VSS = 0 V All inputs are driven to VIH = 2.4 V for a logical 1 and to VIL = 0.4 V for a logical 0 All outputs are measured at VH = 2.0 V for a logical 1 and at VL = 0.8 V for a logical 0 The AC testing input/output waveforms are shown in Figure 8-1. • VH VH Device under Test Test Points VL VL CLOAD = 50 pF max Figure 8-1 Input/Output Waveform for AC Measurements Table 8-4 Clock Frequencies Parameter Symbol Limit Values Unit min. max. Core clock (internal) fint.coreclock 25 52 MHz External core clock source SYSCLK 25 52 MHz UTOPIA clocks at PHY-side UTRXCLKU fint.coreclock/2 ΜΙΝ {fint. coreclock, 52 MHz} MHz UTTXCLKD fint.coreclock/2 ΜΙΝ {fint. coreclock, 52 MHz} MHz UTOPIA clock at Backplane-side UTRXCLKD fint.coreclock/2 ΜΙΝ {fint. coreclock, 52 MHz} MHz UTTXCLKU fint.coreclock/2 ΜΙΝ {fint. coreclock, 52 MHz} MHz RAMCLK fint.coreclock fint.coreclock Clock for external RAM Data Sheet 339 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.1 Microprocessor Interface Timing Intel Mode 8.4.1.1 Microprocessor Write Cycle Timing (Intel) • MPADR 9 1 MPCS 8 2 MPWR 10 3 5 6 11 MPRDY 4 7 MPDAT Figure 8-2 Microprocessor Interface Write Cycle Timing (Intel) Table 8-5 Microprocessor Interface Write Cycle Timing (Intel) No. Parameter Limit Values Min 1 MPADR setup time before MPCS low 0 2 MPCS setup time before MPWR low 0 3 MPRDY low delay after MPWR low 0 4 MPDAT setup time before MPWR high 5 5 Pulse width MPRDY low 4 SYSCLK cycles Typ Unit Max ns ns 20 ns ns 5 SYSCLK cycles 6 MPRDY high to MPWR high 5 ns 7 MPDAT hold time after MPWR high 5 ns 8 MPCS hold time after MPWR high 5 ns 9 MPADR hold time after MPWR high 5 ns 10 MPCS low to MPRDY low impedance 0 ns 11 MPCS high to MPRDY high impedance Data Sheet 15 340 ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.1.2 Microprocessor Read Cycle Timing (Intel) • MPADR 20 28 MPCS 27 21 MPRD 31 22 23 32 25 MPRDY 29 24 26 MPDAT 30 Figure 8-3 Microprocessor Interface Read Cycle Timing (Intel) Table 8-6 Microprocessor Interface Read Cycle Timing (Intel) No. Parameter Limit Values Min Typ Unit Max 20 MPADR setup time before MPCS low 0 ns 21 MPCS setup time before MPRD low 0 ns 22 MPRDY low delay after MPRD low 0 20 23 Pulse width MPRDY low 4 SYSCLK cycles 5 SYSCLK cycles 24 MPDAT valid before MPRDY high 5 ns ns 25 MPRDY high to MPRD high 5 ns 26 MPDAT hold time after MPRD high 2 ns 27 MPCS hold time after MPRD high 5 ns 28 MPADR hold time after MPRD high 5 29 MPRD low to MPDAT low impedance 0 15 30 MPRD high to MPDAT high impedance 0 17 31 MPCS low to MPRDY low impedance 32 MPCS high to MPRDY high impedance Data Sheet ns 0 ns ns 15 341 ns ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.2 Microprocessor Interface Timing Motorola Mode 8.4.2.1 Microprocessor Write Cycle Timing (Motorola) • MPADR 40 48 MPCS 47 41 (MPRD) DS 51 (MPWR) R/W 53 (MPRDY) RDY (DTACK) 52 42 44 45 54 43 46 MPDAT Figure 8-4 Microprocessor Interface Write Cycle Timing (Motorola) Table 8-7 Microprocessor Interface Write Cycle Timing (Motorola) No. Parameter Limit Values 40 MPADR setup time before MPCS low 0 ns 41 MPCS setup time before DS low 0 ns 42 RDY low delay after DS low 0 43 MPDAT setup time before DS high 5 44 Pulse width RDY low 4 SYSCLK cycles 45 RDY high to DS high 5 Min Typ Unit Max 20 ns ns 5 SYSCLK cycles ns 46 MPDAT hold time after DS high 5 ns 47 MPCS hold time after DS high 5 ns 48 MPADR hold time after DS high 5 ns 51 R/W setup time before DS low 10 ns 52 R/W hold time after DS high 0 ns Data Sheet 342 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-7 No. Microprocessor Interface Write Cycle Timing (Motorola) (cont’d) Parameter Limit Values Min 53 MPCS low to RDY low impedance 54 MPCS high to RDY high impedance 8.4.2.2 Typ Unit Max 0 ns 15 ns Microprocessor Read Cycle Timing (Motorola) • MPADR 60 68 MPCS 67 61 (MPRD) DS 71 (MPWR) R/W 73 (MPRDY) RDY (DTACK) 72 62 63 65 74 64 69 66 MPDAT 70 Figure 8-5 Microprocessor Interface Read Cycle Timing (Motorola) Table 8-8 Microprocessor Interface Read Cycle Timing (Motorola) No. Parameter Limit Values 60 MPADR setup time before MPCS low 0 ns 61 MPCS setup time before DS low 0 ns 62 RDY low delay after DS low 0 20 63 Pulse width RDY low 4 SYSCLK 5 SYSCLK cycles cycles Min Typ Unit Max ns 64 MPDAT valid before RDY high 5 ns 65 RDY high to DS high 5 ns Data Sheet 343 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-8 No. Microprocessor Interface Read Cycle Timing (Motorola) (cont’d) Parameter Limit Values Min Typ Unit Max 66 MPDAT hold time after DS high 2 ns 67 MPCS hold time after DS high 5 ns 68 MPADR hold time after DS high 5 ns 69 DS low to MPDAT low impedance 0 15 ns 70 DS high to MPDAT high impedance 0 17 ns 71 R/W setup time before DS low 10 ns 72 R/W hold time after DS high 0 ns 73 MPCS low to RDY low impedance 0 ns 74 MPCS high to RDY high impedance Data Sheet 344 15 ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.3 UTOPIA Interface The AC characteristics of the UTOPIA Interface fulfill the standard of [3] and [4]. Setup and hold times of the 50 MHz UTOPIA Specification are valid. According to the UTOPIA Specification, the AC characteristics are based on the timing specification for the receiver side of a signal. The setup and the hold times are defined with regards to a positive clock edge, see Figure 8-6. Taking into account the actual clock frequency (up to the maximum frequency), the corresponding (min. and max.) transmit side “clock to output” propagation delay specifications can be derived. The timing references (tT5 to tT12) are according to the data found in Table 8-9 through Table 8-12. Note: The UTOPIA Receive Interface backplane-side is optimized for operation up to 60 MHz UTOPIA clock frequency to achieve a speed-up factor of 1.25 in bandwidth accepted from the backplane (respective values provided in brackets). • Clock Signal 84, 86 85, 87 input setup to clock input hold from clock Figure 8-6 Setup and Hold Time Definition (Single- and Multi-PHY) Figure 8-7 shows the tristate timing for the multi-PHY application (multiple PHY devices, multiple output signals are multiplexed together). • Clock 88 89 Signal 90 signal going low impedance from clock Figure 8-7 Data Sheet 91 signal going low impedance to clock signal going high signal going high impedance from clock impedance to clock Tristate Timing (Multi-PHY, Multiple Devices Only) 345 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics In the following tables, AÞP (column DIR, Direction) defines a signal from the ATM Layer (transmitter, driver) to the PHY Layer (receiver), A⇐P defines a signal from the PHY Layer (transmitter, driver) to the ATM Layer (receiver). Both UTOPIA Interfaces (PHY-side and Backplane-side) can be configured in either Slave or Master Mode. If configured in Master Mode, the interface is considered to be the ATM Layer device (A) and if configured in Slave Mode, the interface is considered to be the PHY Layer device (P) respectively. All timings also apply to UTOPIA Level 1 8-bit data bus operation. • Table 8-9 Transmit Timing (16-Bit Data Bus, 50 MHz Cell Mode, Single PHY) No. Signal Name DIR 80 UTXCLKD, UTXCLKU Description Limit Values A>P TxClk frequency (nominal) Min Max 0 52 Unit MHz TxClk duty cycle 40 60 % 82 TxClk peak-to-peak jitter - 5 % 83 TxClk rise/fall time - 2 ns 4 - ns 1 - ns 4 - ns 1 - ns 81 84 85 86 87 UTXDATD, UTXDATU, UTXPRTYD, UTXPRTYU, UTXSOCD, UTXSOCU, UTXENBD, UTXENBU A>P Input setup to TxClk UTXCLAVD, UTXCLAVU A<P Input setup to TxClk Input hold from TxClk Input hold from TxClk • Table 8-10 No. 80 Receive Timing (16-Bit Data Bus, 50 MHz Cell Mode, Single PHY) Signal Name DIR URXCLKD, URXCLKU Description Limit Values A>P RxClk frequency (nominal) URXCLKD: URXCLKU: Min Max 0 0 52 52 Unit MHz 81 RxClk duty cycle 40 60 % 82 RxClk peak-to-peak jitter - 5 % 83 RxClk rise/fall time - 2 ns Data Sheet 346 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-10 No. 84 85 86 87 Receive Timing (16-Bit Data Bus, 50 MHz Cell Mode, Single PHY) Signal Name DIR Description Limit Values URXENBD, URXENBU A>P Input setup to RxClk URXDATD, URXDATU, URXPRTYD, URXPRTYU, URXSOCD, URXSOCU, URXCLAVD, URXCLAVU A<P Input setup to RxClk Input hold from RxClk Input hold from RxClk Unit Min Max 4 - ns 1 - ns 4 - ns 1 - ns • Table 8-11 No. Transmit Timing (16-Bit Data Bus, 50 MHz Cell Mode, Multi-PHY) Signal Name DIR Description Limit Values Min 80 81 UTXCLKD, UTXCLKU 82 83 84 85 UTXDATD, UTXDATU, UTXPRTYD, UTXPRTYU, UTXSOCD, UTXSOCU, UTXENBD, UTXENBU, UTXADRD, UTXADRU Data Sheet A>P TxClk frequency (nominal) Unit Max 0 52 MHz TxClk duty cycle 40 60 % TxClk peak-to-peak jitter - 5 % TxClk rise/fall time - 2 ns 4 - ns 1 - ns A>P Input setup to TxClk Input hold from TxClk 347 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-11 No. Transmit Timing (16-Bit Data Bus, 50 MHz Cell Mode, Multi-PHY) Signal Name DIR Description Limit Values Min A<P Input setup to TxClk Max 4 - ns 1 - ns 88 Signal going low impedance to 4 TxCLK - ns 89 Signal going high impedance to TxCLK 0 - ns 90 Signal going low impedance from TxCLK 1 - ns 91 Signal going high impedance from TxCLK 1 - ns 86 87 UTXCLAVD, UTXCLAVU Unit Input hold from TxClk • Table 8-12 Receive Timing (16-Bit Data Bus, 50 MHz Cell Mode, Multi-PHY) No. Signal Name DIR 80 URXCLKD, URXCLKU Description Limit Values A>P RxClk frequency (nominal) URXCLKD: URXCLKU: Min Max 0 0 52 52 Unit MHz 81 RxClk duty cycle 40 60 % 82 RxClk peak-to-peak jitter - 5 % RxClk rise/fall time 83 84 85 URXENBD, URXENBU, URXADRD, URXADRU Data Sheet A>P Input setup to RxClk Input hold from RxClk 348 - 2 ns 4 - ns 1 - ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-12 No. Receive Timing (16-Bit Data Bus, 50 MHz Cell Mode, Multi-PHY) Signal Name DIR Description Limit Values Min 86 87 88 89 90 URXDATD, URXDATU, URXPRTYD, URXPRTYU, URXSOCD, URXSOCU, URXCLAVD, URXCLAVU 91 A<P Input setup to RxClk Unit Max 4 - ns 1 - ns Signal going low impedance to 4 RxCLK - ns Signal going high impedance to RxCLK 0 - ns Signal going low impedance from RxCLK 1 - ns Signal going high impedance from RxCLK 1 - ns Input hold from RxClk Note: The setup and hold times for receive Interfaces deviate for non-standard 60 MHz operation. Timings are provided on request. Data Sheet 349 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.4 CPR SSRAM Interface Timing of the Synchronous Static RAM Interfaces is simplified as all signals are referenced to the rising edge of RAMCLK. In Figure 8-8, it can be seen that all signals output by the ABM-3G have identical delay times with reference to the clock. When reading from the RAM, the ABM-3G samples the data within a window at the rising clock edge. 100 RAMCLK CPRADSC, CPRADR(18:0), CPRGW, CPROE 101 102 CPRDAT(19:0), input 103 CPRDAT(19:0), output 104 105 Figure 8-8 SSRAM Interface Generic Timing Diagram Table 8-13 SSRAM Interface AC Timing Characteristics No. Parameter Limit Values Min Typ Unit Max TRAMCLK: Period RAMCLK FRAMCLK: Frequency RAMCLK 19.2 101 Setup time CPRADSC, CPRADR(18:0), CPRGW, CPROE before RAMCLK rising 2.5 ns 102 Hold time CPRADSC, CPRADR(18:0), 1.5 CPRGW, CPROE after RAMCLK rising ns 103 Delay CPRDAT Output after RAMCLK 2.5 rising 104 Setup time CPRDAT Input before CLK 2.5 rising (Read cycles) ns 105 Hold time CPRDAT Input after CLK ris- 1.5 ing (Read cycles) ns 100 100A Data Sheet ns 52 350 11 MHz ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.5 CSR SDRAM Interface(s) Timing of the Synchronous Dynamic RAM (SDRAM) Interface is simplified as all signals are referenced to the rising edge of RAMCLK. In Figure 8-9, it can be seen that all signals output by the ABM-3G have identical delay times with reference to the clock. When reading from RAM, the ABM-3G samples the data within a window at the rising clock edge. 110 RAMCLK CSRADRi(13:0), CSRRASi, CSRCASi, CSRCSi, CSRWEi, CSRBAi0, CSRBAi1 111 112 CSRDATi(31:0), input 113 CSRDATi(31:0), output 114 115 Figure 8-9 Generic SDRAM Interface Timing Diagram Table 8-14 SDRAM Interface AC Timing Characteristics No. Parameter Limit Values Min 110 110A TRAMCLK: Period RAMCLK FRAMCLK : Frequency RAMCLK Typ Unit Max 19.2 ns 52 MHz 111 2.5 Setup time CSRADRi(13:0), CSRCSi, CSRRASi, CSRCASi, CSRWEi, CSRBAi0, CSRBAi1 before RAMCLK rising ns 112 Hold time 1.5 CSRADRi(13:0), CSRCSi, CSRRASi, CSRCASi, CSRWEi, CSRBAi0, CSRBAi1 after RAMCLK rising ns 113 Delay CSRDATi Output after RAMCLK rising Data Sheet 351 3 6.5 ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics Table 8-14 No. SDRAM Interface AC Timing Characteristics (cont’d) Parameter Limit Values Min Typ Unit Max 114 Setup time CSRDATi Input before RAMCLK rising 2.5 (Read cycles) ns 115 Hold time CSRDATi Input after RAMCLK rising (Read cycles) ns Data Sheet 352 1.5 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.6 Reset Timing power-on VDD 151 CLK 150 RESET Figure 8-10 Reset Timing Table 8-15 No. Reset Timing Parameter Limit Values min. 150 RESET pulse width 120 151 Number of SYSCLK cycles during 2 RESET active Unit max. ns SYSCLK cycles Note: RESET may be asynchronous to CLK when asserted or deasserted. RESET may be asserted during power-up or asserted after power-up. Nevertheless, deassertion must be at a clean, bounce-free edge. Data Sheet 353 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.4.7 Boundary-Scan Test Interface 160/ 160A 161 162 TCK 163 164 TMS 165 166 TDI 167/ 167A TDO 168 TRST Figure 8-11 Boundary-Scan Test Interface Timing Diagram Table 8-16 Boundary-Scan Test Interface AC Timing Characteristics No. Parameter 160 TTCK: Period TCK FTCK: Frequency TCK Limit Values Min 160A Typ Unit Max 100 ns 10 MHz 161 TCK high time 40 ns 162 TCK low time 40 ns 163 Setup time TMS before TCK rising 10 ns 164 Hold time TMS after TCK rising 10 ns 165 Setup time TDI before TCK rising 10 ns 166 Hold time TDI after TCK rising 10 167 Delay TCK falling to TDO valid 30 ns 167A Delay TCK falling to TDO high impedance 30 ns 168 Pulse width TRST low Data Sheet 200 354 ns ns 2001-12-17 ABM-3G PXF 4333 V1.1 Electrical Characteristics 8.5 Table 8-17 Capacitances Capacitances Parameter Symbol Limit Values min. Output Capacitance CIN COUT Load Capacitance at: UTOPIA Outputs MPDAT(15:0), MPRDY other outputs CFO1 CFO2 CFO3 Input Capacitance 8.6 Table 8-18 Unit max. 2.5 5 pF 2 5 pF 40 50 20 pF pF pF Symbol Value Unit Package Characteristics Thermal Package Characteristics Parameter Thermal Package Resistance Junction to Ambient Airflow Ambient Temperature No airflow TA=25°C RJA(0,25) 21,1 °C/W Airflow 200 lfpm = 1 m/s TA=25°C RJA(0,25) 17,7 °C/W Airflow 500 lfpm = 2.5 m/s TA=25°C RJA(0,25) 16,3 °C/W Data Sheet 355 2001-12-17 ABM-3G PXF 4333 V1.1 Test Mode 9 Test Mode A Test Access Port (TAP) is implemented in the ABM-3G. The essential part of the TAP is a finite state machine (16 states) controlling the different operational modes of the boundary scan. Both the TAP controller and boundary scan meet the requirements given by the JTAG standard: IEEE 1149.1. Figure 9-1 gives an overview about the TAP controller. • Test Access Port (TAP) TCK CLOCK Clock Generation 1 2 Pins TDI TDO Test Control Data in TAP Controller - Finite State Machine - Instruction Register (4 bit) - Test Signal Generator Enable ID Data out SS Data out Data out Figure 9-1 Control Bus Boundary Scan (n bit) TMS Reset Identification Scan (32 bit) CLOCK TRST . . . . . . n Block Diagram of Test Access Port and Boundary Scan Unit If no boundary scan operation is planned, TRST must be connected with VSS. TMS and TDI do not need to be connected since pull-up transistors ensure high input levels in this case. Nevertheless, it is good practice to set the unused inputs to defined levels. In this case, if the JTAG is not used: TMS = TCK = ‘1’ is recommended. Test handling (boundary scan operation) is performed via the pins TCK (Test Clock), TMS (Test Mode Select), TDI (Test Data Input), and TDO (Test Data Output) when the TAP controller is not in its reset state; i.e., TRST is connected to VDD3 or it remains unconnected due to its internal pull up. Test data at TDI are loaded with a clock signal connected to TCK. ‘1’ or ‘0’ on TMS causes a transition from one controller state to another; constant ‘1’ on TMS leads to normal operation of the chip. An Input pin (I) uses one boundary scan cell (data in); an Output pin (O) uses two cells (data out, enable); and an I/O-pin (I/O) uses three cells (data in, data out, enable). Note that most functional output and input pins of the ABM-3G are tested as I/O pins in boundary scan, thus using three cells. The boundary scan unit of the ABM-3G contains Data Sheet 356 2001-12-17 ABM-3G PXF 4333 V1.1 Test Mode a total of n = 572 scan cells. The desired test mode is selected by serially loading a 4-bit instruction code into the instruction register via TDI (LSB first). EXTEST is used to examine the interconnection of the devices on the board. In this test mode, at first all input pins capture the current level on the corresponding external interconnection line, whereas all output pins are held at constant values (‘0’ or ‘1’). Then, the contents of the boundary scan are shifted to TDO. At the same time the next scan vector is loaded from TDI. Subsequently all output pins are updated according to the new boundary scan contents and all input pins again capture the current external level afterwards, and so on. INTEST supports internal testing of the chip; i.e., the output pins capture the current level on the corresponding internal line whereas all input pins are held on constant values (‘0’ or ‘1’). The resulting boundary scan vector is shifted to TDO. The next test vector is serially loaded via TDI. Then, all input pins are updated for the following test cycle. SAMPLE/PRELOAD is a test mode which provides a snapshot of pin levels during normal operation. IDCODE: A 32-bit identification register is serially read out via TDO. It contains the version number (4 bits), the device code (16 bits) and the manufacturer code (11 bits). The LSB is fixed to ‘1’. Standard Mode The ID code field is set to: Version : 1H Part Number : 07F0H Manufacturer : 083H (including LSB, which is fixed to ’1’) Alternate Mode The ID code field is set to Version : 1H Part Number : 07F0H Manufacturer : 083H (including LSB, which is fixed to ’1’) Note: Since in test logic reset state the code ‘0011’ is automatically loaded into the instruction register, the ID code can easily be read out in shift DR state. BYPASS: A bit entering TDI is shifted to TDO after one TCK clock cycle. CLAMP allows the state of signals driven from component pins to be determined from the boundary-scan register while the bypass register is selected as the serial path between TDI and TDO. Signals driven from the ABM-3G will not change while the CLAMP instruction is selected. HIGHZ places all of the system outputs in an inactive drive state. Data Sheet 357 2001-12-17 ABM-3G PXF 4333 V1.1 Package Outlines 10 Package Outlines • GPM05247 P-BGA-456 (Plastic Ball Grid Array Package) Sorts of Packing Package outlines for tubes, trays etc. are contained in our Data Book “Package Information”. SMD = Surface Mounted Device Data Sheet 358 Dimensions in mm 2001-12-17 ABM-3G PXF 4333 V1.1 Glossary 11 Glossary AAL ATM Adaptation Layer ABM ATM Buffer Manager device, PXB 4330E ABM-3G ATM Buffer Manager device, PXF 4333 ABR Available Bit Rate ALP ATM Layer Processor device, PXB 4350 E AOP ATM OAM Processor device, PXB 4340 E ATM Asynchronous Transfer Mode BIST Built-In Self Test CAC Connection Acceptance Control CAME Content Addressable Memory Element device, PXB 4360 E CBR Constant Bit Rate CDV Cell Delay Variation CLP Cell Loss Priority of standardized ATM cell CRC Cyclic Redundancy Check DSLAM Digital Subscriber Line Access Multiplexer dword double word (32 bits) EPD Early Packet Discard FIFO First-In-First-Out buffer GFR Guaranteed Frame Rate I/O Input/Output ITU-T International Telecommunications Union—Telecommunications standardization sector LCI Local Connection Identifier LIC Line Interface Card or Line Interface Circuit LIFO Last-In-First-Out buffer LSB Least Significant Bit MBS Maximum Burst Size MCR Minimum Cell Rate MSB Most Significant Bit OAM Operation And Maintenance PCR Peak Cell Rate Data Sheet 359 2001-12-17 ABM-3G PXF 4333 V1.1 Glossary PHY PHYsical Line Port PPD Partial Packet Discard PTI Payload Type Indication field of standardized ATM cell QID Queue IDentifier QoS Quality of Service RAM Random Access Memory SCR Sustainable Cell Rate SDRAM Synchronous Dynamic Random Access Memory SID Scheduler IDentifier SSRAM Synchronous Static Random Access Memory TM Traffic Management UBR Unspecified Bit Rate UTOPIA Universal Test and OPeration Interface for ATM VBR-nrt Variable Bit Rate - non real time VBR-rt Variable Bit Rate - real time VC- Virtual Channel specific VCC Virtual Channel Connection VCI Virtual Channel Identifier of standardized ATM cell VP- Virtual Path specific VPC Virtual Path Connection VPI Virtual Path Identifier of standardized ATM cell WFQ Weighted Fair Queueing word 16 bits Data Sheet 360 2001-12-17 Infineon goes for Business Excellence “Business excellence means intelligent approaches and clearly defined processes, which are both constantly under review and ultimately lead to good operating results. Better operating results and business excellence mean less idleness and wastefulness for all of us, more professional success, more accurate information, a better overview and, thereby, less frustration and more satisfaction.” Dr. Ulrich Schumacher http://www.infineon.com Published by Infineon Technologies AG