SONET/SDH STS-3c/STM-1 Framer MegaCore Function (STS3CFRM) June 2001, ver. 1.01 Data Sheet ■ ■ Features ■ ■ ■ ■ ■ Typical Applications Easy-to-use MegaWizard® Plug-In generates MegaCore® variants Quartus® II software and OpenCore® feature allow place-and-route, and static timing analysis of designs prior to licensing Secure register transfer level (RTL) simulation models allow simulation with user design in third-party simulators Performs synchronous optical network (SONET)/synchronous digital hierarchy (SDH) framing and transport convergence (TC) Processes transport overhead (TOH) and path overhead (POH) Supports a data rate of up to 155.52 megabits per second (Mbps) Optimized for the Altera® APEXTM 20KE device architecture Figure 1 shows an example system implementation of the STS3CFRM interfacing with two other Altera MegaCore variants to achieve ATM transport over SONET. Figure 1. Typical Application Fiber Optic Module Clock Data Recovery Serializer Deserializer SONET/SDH STS-3c/ STM-1 Framer (STS3CFRM) Atlantic ATM Cell Processor 155 Mbps (CP155) UTOPIA Interface (UTOPIA2SL) txclk External CPU CPU Bus PIF (1) AIRbus UTOPIA Level 2 Bus Midbus rxclk APEX 20K Boundary Note: (1) PIF—Processor interface block Other possible applications include: ■ ■ ■ ■ Altera Corporation A-DS-IPSTS3CFRM-1.01 ATM switches Digital cross-connection (DCC) systems Routers Multiplexers 1 SONET/SDH STS-3c/STM-1 Framer MegaCore Function (STS3CFRM) Data Sheet The STS3CFRM complies with all applicable standards, including: ■ ■ ■ ■ ■ ■ Functional Description The STS3CFRM operates in full-duplex mode, and comprises four blocks (see Figure 2): 2 American National Standards Institute (ANSI), Synchronous Optical Network (SONET) –Basic Description including Multiplex Structure, Rates, and Formats, ANSI T1-105–1995. American National Standards Institute (ANSI), Synchronous Optical Network (SONET) –Payload Mappings, ANSI T1-105.02–1995. Telcordia, Synchronous Optical Network (SONET) Transport Systems: Common Generic Criteria, GR-253-CORE, Issue 3, September 2000. Telcordia, Synchronous Optical Network (SONET) Transport Systems: Common Generic Criteria Issue List Report, GR-253-ILR, Issue 3A, October 2000. International Telecommunication Union, Network node interface for the synchronous digital hierarchy (SDH), ITU-T Recommendation G. 707, March 1996 International Telecommunication Union, Characteristics of synchronous digital hierarchy (SDH) equipment functional blocks, ITU-T Recommendation G. 783, January 1994 The following list of functions is based on a full feature STS3CFRM. See Table 2 for all possible options. ■ Transport overhead receiver (RXTOH) – Inputs raw SONET data – Descrambles the data – Performs frame alignment – Performs error checking – Maintains counters and buffers – Captures the TOH bytes for processing by software, and parameterized hardware extraction ■ Path overhead receiver (RXPOH_0) – Processes the pointer – Performs error checking – Maintains counters and buffers – Captures the POH bytes for processing by software, and parameterized hardware extraction – Outputs payload data ■ Transport overhead transmitter (TXTOH) – Generates the pointer (normal, positive stuff, negative stuff, or new data flag (NDF) selected by software) – Allows the flexible insertion of the TOH by software, or by parameterized hardware Altera Corporation SONET/SDH STS-3c/STM-1 Framer MegaCore Function (STS3CFRM) Data Sheet – – – – ■ Interfaces & Protocols Generates parity bytes Maintains counters and buffers Scrambles the data Outputs raw SONET data Path overhead transmitter (TXPOH_0) – Inputs payload data – Allows the flexible insertion of the POH by software, or by parameterized hardware – Generates parity bytes – Maintains counters and buffers Two interfaces support the STS3CFRM: the middle interface (Midbus), and the access to internal registers (AIRbus) interface. Midbus The Midbus interface is a simple synchronous full-duplex data path bus. The STS3CFRM Midbus runs at 19.44 MHz over a single byte lane in each direction. In the receive (RX) direction, data is transferred from the Midbus master (RXPOH_0) to the slave. In the transmit (TX) direction, data is transferred from the slave to the master (TXPOH_0). In each direction, RX and TX, the Midbus can carry eight bits per clock cycle. It includes Midbus receive data (mrxdat_0[7:0]) and Midbus receive enable(mrxena_0) lines to indicate valid data transfers in the RX direction, and Midbus transmit data (mtxdat_0[7:0]) and Midbus data enable(mtxena_0) lines to indicate valid data requests in the TX direction. AIRbus The AIRbus interface provides access to internal registers using a simple synchronous internal processor bus protocol. This consists of separate read data (rdata[31:0]) and write data (wdata[31:0]) buses, a data transfer acknowledge (dtack) signal, and a block select (sel). An address (addr[11:2]) bus and read (read) signal indicate the location and type of access within the block. The rdata buses and dtack signals can be merged from multiple blocks using a simple OR function. The dtack signal is sustained until the block sel is removed (four-way handshaking), meaning the AIRbus can cross clock domain boundaries. In this block the AIRbus has a data width of 32 bits. B Altera Corporation More detailed information on the Midbus and AIRbus is available from the Altera web site at http://www.altera.com/IPmegastore. 3 SONET/SDH STS-3c/STM-1 Framer MegaCore Function (STS3CFRM) Data Sheet Figure 2. Block Diagram rxpohfp_0 rxpohval_0 rxpoh_0 rxpohclk_0 RXTOH mrxdat_0[7:0] mrxena_0 mrxval_0 mrxffp_0 mrxefp_0 mrxfoh_0 mrxeoh_0 RXPOH_0 rxclk domain mtxdat_0[7:0] mtxena_0 mtxval_0 mtxffp_0 mtxefp_0 mtxfoh_0 mtxeoh_0 txclk domain TOH Insert I/O Signals AIRbus txpohrdy_0 txpohfp_0 txpohen_0 txpoh_0 txpohclk_0 sel read addr[11:2] rdata[31:0] wdata[31:0] dtack irq TXTOH txclk txclk_en txreset_n stxdat[7:0] stxval stxfr stxfp txtohclk txtoh txtohen txtohfp txtohrdy txsdcc txsdccrdy txldcc txldccrdy txe1f1e2 txe1f1e2fp txe1f1e2rdy SONET TXPOH_0 Midbus SONET srxdat[7:0] srxval srxfr align_data[7:0] lopc los lof sef POH Extract rxclk rxclk_en rxreset_n rxtohclk rxtoh rxtohval rxtohfp rxsdcc rxsdccval rxldcc rxldccval rxe1f1e2 rxe1f1e2val rxe1f1e2fp TOH Extract POH Insert The following is a port list for the STS3CFRM. The signal direction is indicated by (I) for input, or (O) for output. RX Clock Domain Signals: rxclk (I), rxclk_en (I), rxreset_n (I); SONET Signals: srxdat[7:0](I), srxval (I), srxfr (I); Maintenance Signals: align_data[7:0](O), lopc (I), los (O), lof (O), sef (O); Hardware Serial TOH Extract Signals: rxtohclk (O), rxtoh (O), rxtohval (O), rxtohfp (O), rxsdcc (O), rxsdccval (O), rxldcc (O), rxldccval (O), rxe1f1e2 (O), rxe1f1e2val (O), rxe1f1e2fp (O); Hardware Serial POH Extract Signals: rxpohclk_0 (O), rxpoh_0 (O), rxpohval_0 (O), rxpohfp_0 (O); Midbus Signals: mrxdat_0[7:0] (O), mrxena_0 (O), mrxval_0 (O), mrxffp_0 (O), mrxefp_0 (O), mrxfoh_0 (O), mrxeoh_0 (O). AIRbus Signals: sel (I), read (I), addr[11:2] (I), rdata[31:0] (O), wdata[31:0] (I), dtack (O), irq (O). 4 Altera Corporation SONET/SDH STS-3c/STM-1 Framer MegaCore Function (STS3CFRM) Data Sheet TX Clock Domain Signals: txclk (I), txclk_en (I), txreset_n (I); SONET Signals: stxdat[7:0] (O), stxval (O), stxfr (I), stxfp (O); Hardware Serial TOH Insert Signals: txtohclk (O), txtoh (I), txtohen (I), txtohfp (O), txtohrdy (O), txsdcc (I), txsdccrdy (O), txldcc (I), txldccrdy (O), txe1f1e2 (I), txe1f1e2fp (O), txe1f1e2rdy (O); Hardware Serial POH Insert Signals: txpohclk_0 (O), txpoh_0 (I), txpohen_0 (I), txpohfp_0 (O), txpohrdy_0 (O); Midbus Signals: mtxdat_0[7:0] (I), mtxena_0 (O), mtxval_0 (O), mtxffp_0 (O),mtxefp_0 (O), mtxfoh_0 (O), mtxeoh_0 (O). Performance Table 1 shows the required speed and estimated gate count of the STS3CFRM in an APEX 20KE device. Table 1. Performance Note (1) LEs ESBs Frequency (MHz) 4,539 – 7,303 6 – 16 19.44 required to support 155.52 Mbps Notes: (1) Generating Variants The numbers for the logic elements (LEs) and embedded system blocks (ESBs) are approximate as of May 25, 2001. They reflect the range from the basic to the full feature variant. Table 2 shows the optional features available to generate all possible variants. Table 2. Optional Features Note (1) Options Basic Configuration Parameters Choices LEs ESBs – – 4,539 6 Serial insertion/extraction of TOH and POH bytes SOH Y/N 643 0 64-byte insert, extract, and expect buffers Automatic monitoring of extracted section trace J0 (transport overhead) J0B Y/N 244 3 64-byte insert, extract, and expect buffers Automatic monitoring of extracted path trace J1 (path overhead) J1B Y/N 299 3 BM1S Y/N 1578 4 Bit error rate monitoring with one second window Note: (1) The numbers for the LEs and ESBs are approximate as of May 25, 2001. Users are strongly advised to run the MegaWizard Plug-In and the Quartus II software to see exact numbers for each STS3CFRM variant. Altera Corporation 5 SONET/SDH STS-3c/STM-1 Framer MegaCore Function (STS3CFRM) Data Sheet Licensing A license is not required to perform the following trial operations using your own custom logic: ■ ■ ■ ■ Instantiation Place-and-route Static timing analysis Simulation on a third-party simulator Only when you are ready to generate programming files, do you need to obtain licenses through your local Altera sales representative. Deliverables The following elements are provided with the STS3CFRM package: ■ ■ ■ ■ ■ ■ 101 Innovation Drive San Jose, CA 95134 (408) 544-7000 http://www.altera.com Applications Hotline: (800) 800-EPLD Customer Marketing: (408) 544-7104 Literature Services: lit_req@altera.com 6 All current variants use a single license with ordering code: PLSM-STS3CFRM. Data sheet User guide Midbus and AIRbus interface functional specifications MegaWizard Plug-In – Encrypted gate level netlist – Place-and-route constraints (where necessary) – Secure RTL simulation model Demo testbench Access to problem reporting system Altera, APEX, APEX 20K, MegaCore, MegaWizard, OpenCore, Quartus, and Quartus II are trademarks and/or service marks of Altera Corporation in the United States and other countries. Altera acknowledges the trademarks of other organizations for their respective products or services mentioned in this document. Altera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera’s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. Copyright 2001 Altera Corporation. All rights reserved. Altera Corporation