Investigation into Programmability for Layer 2 Protocol Frame Delineation Architectures

Similar documents
A Programmable and Highly Pipelined PPP Architecture for Gigabit IP over SDH/SONET

POS on ONS Ethernet Cards

GFP Considerations for RPR

! Cell streams relating to different media types are multiplexed together on a statistical basis for transmission and switching.

POS on ONS Ethernet Cards

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination

ITU-T G.7041/Y.1303 (08/2005) Generic framing procedure (GFP)

ATM Technology in Detail. Objectives. Presentation Outline

Module 10 Frame Relay and ATM

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Chapter 3. The Data Link Layer

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

CS 640 Introduction to Computer Networks. Role of data link layer. Today s lecture. Lecture16

Data Link Layer. Indian Institute of Technology Madras

Lecture 5: Data Link Layer Basics

SONET/SDH VCAT SONET VCAT

BROADBAND AND HIGH SPEED NETWORKS

Where we are in the Course

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

Lecture 6 Datalink Framing, Switching. From Signals to Packets

K.V.GANESH*,D.SRI HARI**,M.HEMA*** *(Department of ECE,JNTUK,KAKINADA) **(Department of ECE,JNTUA,Anantapur) * **(Department of ECE,JNTUA,Anantapur)

Host Interfacing at a Gigabit

Protocol Independent PHY Specific Sub-layer (PSS) for PON

CSCI-1680 Link Layer I Rodrigo Fonseca

Design and Analysis of Virtual Bus Transport Using Synchronous Digital Hierarchy/Synchronous Optical Networking

ITU-T G.7041/Y.1303 (10/2008) Generic framing procedure (GFP)

1/29/2008. From Signals to Packets. Lecture 6 Datalink Framing, Switching. Datalink Functions. Datalink Lectures. Character and Bit Stuffing.

Inst: Chris Davison

10GE WAN PHY Delineation Performance

Reconfigurable PLL for Digital System

Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

EUROPEAN ETS TELECOMMUNICATION December 1992 STANDARD

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Verilog for High Performance

155 Mb/s Optical Line Interface

MULTIPLEXER / DEMULTIPLEXER IMPLEMENTATION USING A CCSDS FORMAT

BROADBAND AND HIGH SPEED NETWORKS

The Network Layer and Routers

Interlaken Look-Aside Protocol Definition

Data Link Networks. Hardware Building Blocks. Nodes & Links. CS565 Data Link Networks 1

10Gb Ethernet PCS Core

Rapid: A Configurable Architecture for Compute-Intensive Applications

Frame Relay. Frame Relay Information 1 of 18

ITU-T G.7041/Y.1303 (08/2016) Generic framing procedure

Configuration of Synchronous Protocols

BROADBAND AND HIGH SPEED NETWORKS

A High Performance CRC Checker for Ethernet Application

COMPUTER NETWORKS UNIT I. 1. What are the three criteria necessary for an effective and efficient networks?

Overview. Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.

Chapter 1 Introduction

fleximac A MICROSEQUENCER FOR FLEXIBLE PROTOCOL PROCESSING

Asynchronous Transfer Mode

RECOMMENDATION ITU-R BT.1126 *

1.1 INDUSTRY STANDARD BUS-IOM

100Mbps Ethernet Data Transmission over SDH Networks using Cross Virtual Concatenation

A Forward Error Correcting System for Wireless E1 ATM Links

Data Link Layer. Overview. Links. Shivkumar Kalyanaraman

From Signals to Packets Computer Networking. Link Layer: Implementation. Datalink Functions. Lecture 5 - Coding and Error Control

Performance Evaluation & Design Methodologies for Automated CRC Checking for 32 bit address Using HDLC Block

PA-POS-2OC3 Overview. The Cisco 7206 VXR router can be used as a router shelf in a Cisco AS5800 universal access server.

Chapter 3. The Data Link Layer. Wesam A. Hatamleh

Ch. 4 - WAN, Wide Area Networks

Links. CS125 - mylinks 1 1/22/14

E1-E2 (EB) Chapter 4 MSPP

CSE 461: Framing, Error Detection and Correction

Synchronous Optical Networks (SONET) Advanced Computer Networks

Backbone network technologies. T Jouni Karvo, Timo Kiravuo

Overview. Data Link Technology. Role of the data-link layer. Role of the data-link layer. Function of the physical layer

Point-to-Point Links. Outline Encoding Framing Error Detection Sliding Window Algorithm. Fall 2004 CS 691 1

Transparent Generic Framing Procedure (GFP): A Protocol for Efficient Transport of Block-Coded Data through SONET/SDH Networks

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY COMPUTER NETWORKS UNIT - II DATA LINK LAYER

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

CSE 123A Computer Networks

Implementing CRCCs. Introduction. in Altera Devices

CE Ethernet Operation

From Signals to Packets Computer Networking. Link Layer: Implementation. Network Delay. 06-datalink.ppt, , Fall

Name of Course : E1-E2 CFA. Chapter 14. Topic : NG SDH & MSPP

SONET. By Sadhish Prabhu. Unit II

IN THE FIRST MILE CONSORTIUM. Clause 65 Test Suite v1.1 Technical Document. Last Updated: March 23, :43pm

INTERNATIONAL TELECOMMUNICATION UNION INTEGRATED SERVICES DIGITAL NETWORK (ISDN) OVERALL NETWORK ASPECTS AND FUNCTIONS

Novel Intelligent I/O Architecture Eliminating the Bus Bottleneck

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Lecture 03 Chapter 11 Asynchronous Transfer Mode

PPP. Point-to-Point Protocol

Automatic compilation framework for Bloom filter based intrusion detection

Chapter 3 The Data Link Layer

CN-100 Network Analyzer Product Overview

Internetworking Part 1

A Stream-based Reconfigurable Router Prototype

Data and Computer Communications. Protocols and Architecture

Single Channel HDLC Core V1.3. LogiCORE Facts. Features. General Description. Applications

Computer Networking. Lecture 4 - Coding and Error Control

This Lecture. BUS Computer Facilities Network Management X.25. X.25 Packet Switch. Wide Area Network (WAN) Technologies. X.

CS422 Computer Networks

Reduced Delay BCD Adder

Table of Contents 1 E-CPOS Interface Configuration 1-1

Designing High-Speed ATM Switch Fabrics by Using Actel FPGAs

Cisco Series Internet Router Architecture: Packet Switching

Asynchronous Transfer Mode (ATM) ATM concepts

Fast and Reconfigurable Packet Classification Engine in FPGA-Based Firewall

Transcription:

Investigation into Programmability for Layer 2 Protocol Frame Delineation rchitectures Ciaran Toal, Sakir Sezer Institute of Communications and Information Technology, Queen s University Belfast, Queen's Road, Belfast, Northern Ireland Ciaran.Toal@ee.qub.ac.uk bstract This paper presents the design and study of reconfigurable architectures for two data-link layer frame delineation techniques used for TM and GFP. The architectures are targeted to ltera Stratix II FPG technology and are investigated in terms of performance and area. This work addresses the potential for incorporating programmability into custom purpose architectures that could enable the same processing hardware to be used for processing multiple protocols. 1. Introduction In communication networks, the physical layer is responsible for the transmission of raw bit streams between a source and a destination. Framing is an essential process of data transmission and it is important for any data-link layer protocol to provide a mechanism for packet boundary recognition. Network-layer packets such as the Internet Protocol (IP) typically do not have a mechanism in place that determines the start and end of packets within streamed data. Frame delineation is a key function of the framing process of data-link layer protocols, such as Ethernet, PPP, GFP, HDLC, SDLC and TM. number of frame delineation mechanisms have been adopted by the standard. Some of these protocols utilise mechanisms that are based on unique bit patterns, such as the PPP flag 0111110, which indicates the start and/or end of each frame [1]. TM and the recently emerged link layer protocol, the Generic Frame Procedure (GFP), use cyclic coding for Header Error Check (HEC) and frame delineation. Cyclic code based frame delineation requires a complex Cyclic Redundancy Check (CRC) computation circuit for error and frame boundary detection. The advantage of this technique is that the frame payload does not need to be modified before transmission and after reception unlike HDLC or PPP which must escape their frame delineation pattern to prevent valid payload data from being mistaken as a frame boundary indicator. Frame delineation mechanisms for TM and GFP are investigated. For each of these protocols, optimised -bit frame delineation circuit architectures are designed and their performance analysed. The designs of the different protocol frame delineation circuits are broken down to their fundamental processing blocks and are cross correlated to examine and understand possible programmability that could be implemented into one circuit with the target of developing a multiprotocol frame delineation architecture. In this paper, section 2 presents the TM frame delineation architecture. byte-by-byte parallel HEC hunt circuit is designed for TM over SONET/SDH physical layer transmission. GFP is examined and presented in section 3. Section 4 takes a step back and examines the low level functions that make up each of the 2 investigated frame delineation circuits in order to establish the feasibility of deriving a programmable frame delineation architecture for both protocols. Section 5 presents the design and implementation of two programmable architectures using ltera Stratix II FPG technology and analyses the synthesis results in terms of programmability, throughput performance and hardware cost. 1-4244-0054-6/06/$20.00 2006 IEEE

2. TM Frame Delineation The TM Frame delimiter is based on HEC (header error check) cyclic coding [10], [11]. TM Cell delineation is specified by the ITU-T in recommendation I.4 [5]. The TM cell consists of 5 header bytes. The first four bytes contain information related solely for routing the protocol. The 5 th byte contains the HEC field which is calculated from the first 4 bytes of the header. When an TM cell is received, the HEC value is again calculated from the first 4 header bytes and compared with the fifth byte. In the absence of errors, both values are identical and the cell boundary is assumed to be located. The HEC field is calculated as a remainder of the modulo-2 division of the first 4 header bytes with the CRC generator polynomial G(x) 1+x+x 2 +x. Consecutive Incorrect HEC SYNC Bit-by-Bit Check HUNT Consecutive Correct HEC Correct HEC Incorrect HEC PRESYNC Cell-by-Cell Check Figure 1. TM Cell Delineation State Diagram. In the ITU-T recommendation I.4, for the SDHbased physical layer, values of 7 and 6 are suggested. For the cell-based physical layer, values of 7 and are suggested. TM cell synchronisation is a sequential process in accordance with the state graph in figure 1. The receiver initially operates in the HUNT state and assumes no knowledge of the next incoming frame boundary. Incoming data is streamed through the CRC computation circuit. Once 4 bytes have been processed by the CRC circuit, the receiver checks if the computed -bit CRC value is equal to the next incoming bits i.e. the HEC field in the frame header. If there is a match the system enters the PRESYNC state, otherwise it continues checking incoming data. The comparison of the computed CRC value with a possible HEC field must be carried out for each byte entering the computation circuit. If a correct HEC pattern is detected, the synchronisation state machine moves to the PRESYNC state and checks subsequent cells for matching HEC fields. If it receives consecutive correct HEC fields it enters the SYNC state. During the PRESYNCH phase, the synchronisation circuit will return back to HUNT state if a single incorrect HEC is found. Once in the SYNC state, the system can only return to HUNT if consecutive incorrect HEC fields are received. The implementation of the bit-serial and parallel TM HEC check architectures have been presented by G.E. Griffith et al [3], Suh Chung-Wook et al [9], Ng. Leong Seong et al [6] and. Maniatopoulos. Chung- Wook s investigation is based on a HEC check implementation for a -bit data path targeting at a throughput rate of 622 Mbps for TM over SONET. Leong Seong s investigation explores an, and - bit CRC computation architecture for the TM HEC hunt. Both investigations emphasise mainly the CRC computation of the HEC hunt circuit and targets a solution only for octet based cell transmission (SONET/SDH). The -Bit TM HEC hunt circuit is shown in Figure 2. It is a pipelined architecture and consists of 4 -bit in/ -bit out CRC calculators and 4 -bit comparators. The circuit basically requires one CRC calculator and one comparator for each incoming byte.

Data Buffer 1 Data Buffer 2 Data Buffer 3 64-Bit in -Bit out MUX Data In Data Out 4-Bit Latch -Bit -Bit -Bit -Bit Figure 2. -Bit TM Receiver Frame Delineation rchitecture. 3. GFP Frame Delineation GFP Frame delineation is specified by the ITU-T in recommendation G.7041 [7], [4]. GFP deploys a HEC based frame delimiter mechanism in a similar manner as TM [], [2], [12], [13]. The -bit GFP frame delineation circuit utilises 4 CRC HEC calculators and 4 -bit comparators to accommodate the wide datapath, a Payload Length Indicator (PLI) frame counter, frame synchronisation state machine and a single bit error correction mechanism. chec (Core Header Error Check) field is calculated from the first 2 bytes of the core header i.e. the Payload Length Indicator. The calculated chec field is used for frame delimitation/synchronisation and is located at the third and forth byte positions of the GFP core header. When a GFP frame is received the chec is again calculated from the first 2 core header bytes and compared with the third and forth bytes. In the absence of errors, both values are identical and the frame boundary is assumed to be located. The chec field is calculated as a remainder of the modulo-2 division of the PLI field with the CRC generator polynomial G(x) 1+x 5 +x 12 +x. One major difference between the GFP and TM specifications is that GFP always hunts data byte-by-byte. GFP frame synchronisation state graph is similar to that of TM. The receiver initially operates in the HUNT state and assumes no knowledge of the next incoming frame boundary. The received data is streamed through the CRC computation circuit. Once 2 bytes have been processed by the CRC circuit, the receiver checks if the computed -bit CRC value is equal to the next incoming bits i.e. the chec field in the frame core header. If there is a match the system enters the PRESYNC state, otherwise it continues checking incoming data byte-by-byte. The -bit architecture is shown in figure 3. The design requires 4 -bit In/-bit Out CRC units and 4 -bit comparator units. Every clock cycle, 4 new bytes of data are scanned in. The circuit is designed to locate a possible chec on all 4 input byte locations. The first positive match between the PLI field CRC remainder and the subsequent transmitted CRC field found by a comparator unit (i.e. a located chec) is latched. This latched signal controls what is essentially a 4-byte window gate enabling 4 consecutive bytes of a possible 7 to be routed through to the output. The deployed error correction technique is a ROM based RS lookup table implementation. Due to the small number of entries, ROM based logic synthesis on FPG presents a more efficient solution than a RM

based implementation, overcoming memory addressing issues and resulting in a reasonably small circuit. The key advantage of synthesizing a ROM table is the portability to other technologies in form of a technology independent IP core. The error correction circuit is able to correct any single bit error in one clock cycle. Data Buffer Data Buffer Data Buffer Bits 0-7 Bits 0-7 Data In Bits -15 Bits -15 56-Bit in -Bit out MUX 64 64 Data Out Bits -23 Bits 24-31 Bits -23 Bits 24-31 Bits -31 PLI Field 4 Byte Window Gate 4-Bit Latch -Bit -Bit -Bit Single Bit Error Correction Look up -Bit & Control Frame Synchronisation State Machine Payload Counter Figure 3. -Bit GFP Receiver Frame Delineation rchitecture. 4. Programmable Frame Delineation The TM and GFP frame delineation circuit implementations have been explored to determine the feasibility of deriving a single programmable frame delimiter architecture that can support both protocols with high data throughput rates. The analysis suggests that there is no simple method of implementing both the frame delineation processes within the same programmable circuit. For example, despite the fact that TM and GFP are based on the same principle, using CRC HEC computation, their low level architectures are significantly different. TM is based on a CRC- calculation of a -bit data word, whereas GFP is based on a different CRC- polynomial division of a -bit data word, not to mention very different divisor polynomials. Both architectures are so different in nature that a programmable CRC computation circuit cannot be efficiently mapped onto the same hardware. Therefore two techniques have been investigated as possible underlying technology to support

programmability of the target frame delineation architecture The first programmable architecture is based on the implementation of both circuits using the same hardware. In this case programmability is achieved by the selective multiplexing of the data-path between one of the two circuits. The second programmable architecture was based on the use of an embedded reconfigurable logic that can be configured to support a specific protocol. Figure 4 shows the block diagram of the first and probably less elegant approach for achieving programmability. It is composed of two protocol specific (hardwired) frame delineation circuits as individual blocks with a programmable data-path that selects the required circuit for the programmed protocol. Data In Protocol Select Protocol Select CLK GFP Frame Delineation TM Frame Delineation Figure 4. Programmable Dual-Protocol Frame Delineation rchitecture. high level diagram of the second circuit is shown in figure 5. It has been derived from the analysis of the low-level functional blocks of both protocol specific frame delineation architectures. The data buffers are utilised by both circuits. The comparators have been Data Out Data Status designed so that they can be programmed to operate as -bit (for TM) or as full -bit (for GFP). The matrix structures are included as separate components for the GFP and TM CRC calculation. This is because the arrays are different. There is no advantage to be gained by attempting to reuse the gates so that the one component can handle both CRC calculations. TM contains 4 -bit in/-bit out CRC engines whilst GFP contains 4 -bit in/-bit out CRC engines. Each output CRC bit is fabricated from different input bits. If the arrays consisted of the same dimensions in terms of length and breadth then the argument could be made to implement one component with an optimised number of gates along with matching multiplexers that would enable both the CRC calculations to be performed by the structure. Due to the very different array structures and plus the fact that the TM matrix is effectively 4 * arrays staggered means that this option is unfeasible. The GFP error correction engine is obviously only common to the GFP and as such can only be accessed when the circuit is configured to process GFP packets. The counter is synthesised by the synthesis tool. It is configured so that when processing GFP it reads in the -bit PLI value and decrements from this as bytes are received. When configured for TM the counter always resets to 4 since this is always the size of the TM cell. The protocol control state machine is effectively a RM where each state is a memory address and the output of the state machine is the data stored at that memory address. The TM and GFP state machines are stored in the same memory bank with the protocol select register effectively acting as a pointer that selects the section of memory that contains the micro-code for each protocol. The tri-state frame synchronisation, although contains the same three states for GFP and TM i.e. HUNT, Pre-SYNC and SYNC, the and values are different which means that the behaviour of the two state machines is different as the output generated when in each state can be different thus meaning that the data stored in the memory address can be different.

Data In Data Buffer 7 byte in - 4 byte out Data- Path Mux 4 Byte Window Data Out Payload Counter GFP HEC Calculation GFP Single Bit Error Correction Look up TM HEC Calculation & Control Protocol CRC Engine -bit/-bit comparator configure Control Unit [Dual State Machine] Configure Counter [PLI filed or 4 bytes] Data Status Figure 5. -Bit TM/GFP Programmable Frame Delineation rchitecture Incorporating Common/Programmable Elements. 5. Synthesis and Study The two -bit frame delineation circuits have been synthesised and targeted to ltera Stratix II FPG technology. The post-layout synthesis results are included in table 1. Speed and area performance is examined. Table 1. -Bit TM/GFP Frame delineation s. rea Protocol LUTs Registers LMs Clock Frequency (MHz) Speed Data Throughput (Mbps) GFP 547 351 361 171.9 5500.4 TM 21 4 177 260.55 337.6 The GFP frame delineation circuit is much slower than the TM circuit. GFP is a much more complex architecture than TM. The design is impeded by the requirement of the memory correction look-up table, which not only penalises the area but also imposes a large area constraint on the circuit. The Stratix II post-layout synthesis results for the two dual-protocol frame delineation circuits are presented in table 2. Table 2. P 5 -bit Implementation. Programmable TM/GFP Frame Delimiter Common Elements Separate Data- Path rea LUTs Registers LMs LBs Clock Frequency (MHz) Speed Data Throughput (Mbps) 5 37 530 7 5.65 5300. 72 531 621 124 159.46 5102.72 The two implementations have very similar performance, and in fact the circuit that utilises

common elements is surprisingly slightly faster of the two. Not only it is faster but it is also smaller in terms of hardware cost. lthough it contains 13 more LUTs, it requires 144 less registers, which is approximately a 50% reduction of the register cost. The overall LB (Logic rray Block) cost is therefore reduced for the FPG technology. It is anticipated that the reduction of the register count will contributes more significantly to the overall hardware cost reduction in terms of silicon area for a cell based technology. The register reduction is not unexpected considering the reused components such as the buffers, comparators and pipeline stages of both circuits. This initial analysis has produced some positively conclusive evidence as to the design style that should be followed in designing a multi-protocol processor on an SIC or structured SIC design in order to obtain maximum performance. 5. Conclusions The primary objective of the research described in this paper was to ascertain the feasibility of implementing architectures that could handle multiple protocol frame delineation functions. Two architectures were developed that were each programmable and able to perform -bit frame delineation for both GFP and TM. The first architecture is composed of the originally designed GFP and TM circuits with a common data-path included for input and output. The desired frame delineation function is selected via multiplexers. The second circuit is a much more complex design and is composed of common low-level function blocks such as buffering registers and comparators. Function blocks that could not serve both protocols efficiently were included separately. The GFP/TM frame delimiter architecture that contained common logic resulted in a slightly faster and smaller circuit than the classical architecture based on multiplexing data-path between protocol specific circuits. The study has produced conclusive evidence that programmability can be achieved by designing a configurable data-path of common, configurable and domain specific function blocks. [2] P. Bonenfant,. Rodriguez-Moral, Generic Framing Proceedure (GFP): The Catalyst for Efficient Data over Transport, IEEE Communications Magazine, May 2002. [3] G.E. Griffith, T. rslan and. T. Erdogan, synchronous Transfer Mode Cell Delineator Implementations IEEE SoC Conference, Speptember 2003. [4] ITU-T Recommendation G.7041/Y.1303, Generic Framing Procedure (GFP), December 2003. [5] ITU-TS Recommendation. I.4 B-ISDN user-network interface - Physical layer specification, June 1992. [6] L.S. Ng and Bill Dewar, Parallel realization of the TM cell header CRC Computer Communications, 1996. [7] H. Qureshi, S. Ferguson, C. Scotland, Generic Framing Procedure ITU-T G.7041 White Paper, Electronic Products Solutions Group, Telecomms Networks Test Division, Scotland, gilent Technologies, July 2002. [] M. Scholten, Z. Zhu, Enrique Herandez-Valencia, John Hawkins, Data Transport pplications Using GFP, IEEE Communications Magazine, May 2002. [9] C. W. Suh and K. S. Kim, High-speed HEC algorithm for TM, 1 st International Conference on Information, Communications and Signal Processing, 1997. [10] C. Toal and S. Sezer, The Implementation of a Scalable TM Frame Delineation s, IEEE International Conference on Telecommunications, ugust 2004. [11] C. Toal, S. Sezer, 10Gbps HEC HUNT for TM over SDH/SONET, The IEE Irish Signals and Systems Conference, June 2004. [12] C. Toal, S. Sezer, Exploration of GFP Frame Delineation rchitectures for Network processing, IEE SoC Conference, September 2004. [13] C. Toal, S. Sezer, 10 Gbps GFP Frame Delineation with Single Bit Error Correction on an FPG, IEEE dvanced Industrial Conference on Telecommunications, July 2005.. References [1] C. Toal and S Sezer, -Bit SoPC Implementation of a P 5, IEEE Symposium on Computers and Communications, ntalya, Turkey, July 2003.