KR100215568B1 - Atm cell demultiplexer - Google Patents

Atm cell demultiplexer Download PDF

Info

Publication number
KR100215568B1
KR100215568B1 KR1019960050285A KR19960050285A KR100215568B1 KR 100215568 B1 KR100215568 B1 KR 100215568B1 KR 1019960050285 A KR1019960050285 A KR 1019960050285A KR 19960050285 A KR19960050285 A KR 19960050285A KR 100215568 B1 KR100215568 B1 KR 100215568B1
Authority
KR
South Korea
Prior art keywords
fifo
data
cell
signal
atm cell
Prior art date
Application number
KR1019960050285A
Other languages
Korean (ko)
Other versions
KR19980030806A (en
Inventor
이동환
Original Assignee
유기범
대우통신주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 유기범, 대우통신주식회사 filed Critical 유기범
Priority to KR1019960050285A priority Critical patent/KR100215568B1/en
Publication of KR19980030806A publication Critical patent/KR19980030806A/en
Application granted granted Critical
Publication of KR100215568B1 publication Critical patent/KR100215568B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5672Multiplexing, e.g. coding, scrambling

Abstract

본 발명에 따른 역다중화장치는, 다중화된 ATM 셀이 수신되면 셀유효(FF_STS)신호를 활성화시키고, 리드신호(FF_READ)가 인에이블되면 셀데이타(READ_DATA)와 셀시작(SOC)신호를 출력하는 수신 FIFO(10); 제1 FIFO 인에이블(FF1_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF1_DATA)를 저장하고, 리드신호(도시되지 않음)에 따라 출력하는 비동기 FIFO(30); 제2 FIFO 인에이블(FF2_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF2_DATA)를 클럭(CLK)에 따라 저장하고, 리드신호(도시되지 않음)에 따라 출력하는 동기 FIFO(40); 및 상기 수신 FIFO(10)의 셀유효(FF_STS)신호가 활성화되면 상기 수신FIFO(10)로부터 다중화된 ATM 셀을 수신한 후, 미리 설정된 셀 헤더의 기준값과 수신된 셀 헤더를 비교하여 상기 제1 FIFO 인에이블(FF1_ENB)신호 및 데이터(FF1_DATA)를 상기 비동기 FIFO(30)로 출력하고, 상기 제2 FIFO 인에이블(FF2_ENB)신호 및 데이터(FF2_DATA)를 상기 동기 FIFO(40)로 출력하는 역다중화부(20)로 구성되어 있다. 따라서 본 발명에 따른 ATM 셀 역다중화장치는 ATM셀의 헤더값에 따라 해당되는 경로의 선입선출(FIFO)버퍼로 ATM 셀을 분배해줄 수 있다.The demultiplexer according to the present invention activates the cell valid (FF_STS) signal when the multiplexed ATM cell is received and outputs the cell data (READ_DATA) and the cell start (SOC) signal when the read signal (FF_READ) is enabled A receive FIFO (10); An asynchronous FIFO 30 for storing the received ATM cell data FF1_DATA when the first FIFO enable (FF1_ENB) signal is activated and outputting it according to a read signal (not shown); A synchronous FIFO 40 for storing the received ATM cell data FF2_DATA according to the clock CLK when the second FIFO enable signal FF2_ENB is activated and outputting it according to a read signal (not shown); And a cell enable (FF_STS) signal of the reception FIFO (10) is activated, a multiplexed ATM cell is received from the reception FIFO (10), and a reference value of a predetermined cell header is compared with a received cell header, And outputs the FIFO enable signal FF1_ENB and the data FF1_DATA to the asynchronous FIFO 30 and outputs the second FIFO enable signal FF2_ENB and the data FF2_DATA to the synchronous FIFO 40. [ (20). Therefore, the ATM cell demultiplexer according to the present invention can distribute the ATM cell to the first-in first-out (FIFO) buffer of the corresponding path according to the header value of the ATM cell.

Description

ATM 셀 역 다중화장치(An apparatus for demultiplexing ATM cells)An ATM cell for demultiplexing ATM cells

본 발명은 ATM 셀 역다중화장치에 관한 것으로, 특히 수신된 ATM 셀을 동기식 선입선출(FIFO)버퍼와 비동기식 선입선출(FIFO)버퍼로 나누어 각각 전달하는 역다중화장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM cell demultiplexing apparatus, and more particularly, to a demultiplexing apparatus for dividing a received ATM cell into a synchronous first-in first-out (FIFO) buffer and an asynchronous first-in, first-out (FIFO) buffer.

최근들어, 통신수단이 급속히 디지탈화되고 광통신의 발달로 인하여 넓은 대역의 전송이 가능해짐에 따라 사용자의 다양한 서비스 요구를 충족시키기 위하여 광대역 ISDN(B-ISDN: Broadband Integrated Services Digital Network)이 등장하였다. 즉, B-ISDN은 원격검침과, 데이터 단말, 전화, 팩시밀리등 협대역 서비스로부터 영상전화, 영상회의, 고속 데이터 전송, 영상신호 전송등과 같은 광대역 서비스까지를 공통적으로 취급하여 전달하기 위한 것으로, 비동기전달모드(ATM)통신방식을 기본으로 하여 구현된다.In recent years, broadband ISDN (B-ISDN: Broadband Integrated Services Digital Network) has emerged in order to meet various service demands of users as communication means is rapidly digitized and broadband transmission becomes possible due to development of optical communication. In other words, the B-ISDN is for communicating and handling a wide range of services ranging from a narrowband service such as a data terminal, a telephone, a facsimile, etc. to a video telephone, a video conference, a high-speed data transmission, And is implemented based on an asynchronous transfer mode (ATM) communication method.

여기서, ATM통신방식이란 ATM 셀(cell)을 비동기식 시분할 다중화(ATDM: Asynchronous Time Division Multiplexing)하여 통신하는 방식으로 셀단위로 전송한다는 점에서 종래의 패킷(packet) 통신방식과 유사하나 ATM통신방식에서는 실시간 및 항등비트율의 신호까지를 취급하며 국부적인 지역망은 물론 거대한 공중망에 사용되기 위하여 국제표준화 기구에 의해 표준화된 통신방식이다.Here, the ATM communication method is similar to the conventional packet communication method in that ATM cells are transmitted on a cell-by-cell basis by asynchronous time division multiplexing (ATDM) Real-time and even bit-rate signals, and is standardized by the International Organization for Standardization to be used for local and regional networks.

이러한 ATM통신방식은 도 1a 내지 1b에 도시된 바와 같은 ATM 셀을 기본으로 통신하는 바, 사용자의 긴 메세지는 ATM 셀로 분할되어 송신되고, 수신된 ATM 셀들은 다시 하나의 메세지로 재조립되어 상위 사용자에게 전달된다.1A to 1B, the long message of the user is divided into ATM cells and transmitted, and the received ATM cells are reassembled into one message again, Lt; / RTI >

즉, 도 1a에 도시된 바와 같이, ATM 셀은 5 바이트(혹은 옥텟)의 헤더구간과 48 바이트의 사용자 정보구간으로 구분되고, 5 바이트의 헤더는 도 1b 에 도시된 바와 같이 사용자망접면(UNI:User Network Interface)에서의 헤더 구조와 망노드접면(NNI:Network Node Interface)에서의 헤더구조로 구분되며, 사용자망접면(UNI)에서의 헤더구조는 제1 바이트가 4비트의 일반흐름제어(GFC:Generic Flow Control)와 4비트의 가상경로 식별번호(VPI:Virtual Path Identifier)로 이루어지고, 제2 바이트가 4비트의 가상경로 식별번호(VPI)와 4비트의 가상채널 식별번호(VCI:Virtual Channel Identifier)로 이루어지며, 제3 바이트는 8비트의 가상채널 식별번호(VCI)로 이루어지고, 제4 바이트는 4비트의 가상채널 식별번호(VCI)와 3비트의 유료부하형태(PT:Payload Type)와 1비트의 셀포기순위(CLP:Cell Loss Priority)로 이루어지고, 제5 바이트는 8비트의 헤더오류제어(HEC:Header Error Control)로 이루어진다.That is, as shown in FIG. 1A, an ATM cell is divided into a header section of 5 bytes (or octets) and a user information section of 48 bytes, and a header of 5 bytes is divided into a user network interface (UNI The header structure in the user network interface (UNI) is divided into the header structure in the user network interface (NNI) and the header structure in the network node interface (NNI). The header structure in the user network interface (UNI) A virtual path identification (VPI) of 4 bits and a virtual path identification number (VCI) of 4 bits. The second byte is composed of a 4-bit virtual path identification number (VPI) A virtual channel identification number (VCI) of 4 bits, and a 3-bit payload type (PT) of a 4-bit virtual channel identification number (VCI) Payload Type) and 1-bit cell loss priority (CLP) The fifth byte consists of 8 bits of Header Error Control (HEC).

또한, 도 1b에 도시된 바와 같은 망노드접면(NNI)에서의 헤더구조를 살펴보면, 앞서 설명한 사용자망접면(UNI)의 첫번째 바이트에 있는 일반흐름제어(GFC)가 가상경로 식별번호(VPI)로 사용되는 것을 제외하고는 사용자망접면(NNI)의 헤더구조와 동일한 것을 알 수 있다.1B, the general flow control (GFC) in the first byte of the user network interface (UNI) described above is referred to as a virtual path identification number VPI It is noted that the header structure of the user network interface (NNI) is the same except that it is used.

이러한 ATM통신방식은 다음 표1에서와 같이 계층적인 구조를 이루고, 각각의 계층별로 표준화된 기준을 가지고 있다.The ATM communication method has a hierarchical structure as shown in Table 1, and has standardized standards for each layer.

계 층Layer 부 계 층Sub-layer 기 능function 상위계층Upper layer -- 상위계층기능Upper layer function ATM적응계층ATM adaptation layer 수렴(CS) 부계층Convergence (CS) sub-layer 수렴기능Convergence function 절단 및 재결합(SAR)Cutting and recombination (SAR) 절단기능 및 재결합기능Cutting function and recombination function ATM 계층ATM layer -- 일반흐름제어 및 셀 해더처리기능General flow control and cell header processing 물리 계층Physical layer 전송수렴(TC)Transmission Convergence (TC) HEC신호발생 및 추출기능HEC signal generation and extraction function 물리매체Physical medium 비트시간정보기능Bit time information function

한편, 상기와 같이 ATM방식에 따라 통신을 할 경우에 전송되는 데이터의 소스가 다양할 경우에는 다수의 소스들의 ATM 셀들이 다중화되어 바이트 스트림으로 수신되는데, 수신된 이 ATM 셀 데이타를 소스에 따라 각각 분리하여 상위계층으로 전달해줘야 한다.If the source of the data to be transmitted is various when communicating according to the ATM scheme, the ATM cells of a plurality of sources are multiplexed and received as a byte stream. It should be separated and transferred to the upper layer.

예컨대, 소정의 전송속도를 갖는 제1 소스의 ATM 셀과, 다른 소정의 전송속도를 갖는 제2 소스의 ATM 셀이 다중화되어 수신될 경우에 ATM 셀의 헤더에 있는 경로신호(VPI 혹은 VCI)를 해석하여 해당 셀들을 각각의 경로로 분리해줘야 한다.For example, when an ATM cell of a first source having a predetermined transmission rate and an ATM cell of a second source having a different transmission rate are multiplexed and received, a path signal (VPI or VCI) in the header of the ATM cell is set to It is necessary to separate the cells into respective paths.

이때 수신된 ATM 셀을 역다중화하여 각각의 경로로 분할하기 위해서는 선입선출(FIFO)버퍼가 사용되는데, 이 선입선출(FIFO)버퍼에는 동기식으로 데이터를 전달하는 동기식 선입선출(FIFO)버퍼와 비동기식으로 데이터를 전달하는 비동기식 FIFO버퍼가 있다.A first-in first-out (FIFO) buffer is used to demultiplex the received ATM cells into respective paths. A first-in-first-out (FIFO) buffer includes a synchronous first-in- There is an asynchronous FIFO buffer that carries the data.

따라서 수신된 셀을 헤더에 의해 효율적으로 비동기 선입선출(FIFO)버퍼나 동기선입선출(FIFO)버퍼에 분할해주기 위한 역다중화회로가 요구된다.Therefore, a demultiplexing circuit is required for efficiently dividing the received cell by a header into an asynchronous first-in first-out (FIFO) buffer or a synchronous first-in-first-out (FIFO) buffer.

이에 본 발명은 상기와 같은 필요성을 충족시키기 위하여 안출된 것으로, 다중화되어 수신된 ATM 셀 데이터를 헤더를 해석하여 동기식 선입선출(FIFO)버퍼와 비동기식 선입선출(FIFO)버퍼로 각각 전달해 주기 위한 ATM 셀 역다중화장치를 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION Accordingly, the present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an ATM cell for transmitting multiplexed ATM cell data to a synchronous FIFO buffer and an asynchronous FIFO buffer, And a demultiplexer is provided.

상기와 같은 목적을 달성하기 위하여 본 발명의 장치는 다중화된 ATM 셀 데이터를 입력받아 ATM 헤더에 따라 해당 경로로 분배하여 전송하는 ATM장치에 있어서, 다중화된 ATM 셀이 수신되면 셀유효(FF_STS)신호를 활성화시키고, 리드(FF_READ)신호가 인에이블되면 셀 데이타(READ_DATA)와 셀시작(SOC)신호를 출력하는 수신FIFO; 제1 FIFO 인에이블(FF1_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF1_DATA)를 저장하고, 리드신호에 따라 출력하는 비동기 FIFO; 제2 FIFO 인에이블(FF2_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF2_DATA)를 클럭(CLK)에 따라 저장하고, 리드신호에 따라 출력하는 동기 FIFO; 및 상기 수신 FIFO의 셀유효(FF_STS)신호가 활성화되면 상기 수신 FIFO로부터 다중화된 ATM 셀을 수신한 후, 미리 설정된 셀 헤더의 기준값과 수신된 셀 헤더를 비교하여 상기 제1 FIFO 인에이블(FF1_ENB)신호 및 데이터를 상기 비동기 FIFO로 출력하거나, 상기 제2 FIFO 인에이블(FF2_ENB)신호 및 데이터를 상기 동기 FIFO로 출력하는 역다중화부로 구성된 것을 특징으로 한다.In order to achieve the above object, the present invention provides an ATM apparatus for receiving multiplexed ATM cell data and distributing the multiplexed ATM cell data to a corresponding path according to an ATM header, A receive FIFO for activating a read (FF_READ) signal and outputting cell data (READ_DATA) and a cell start (SOC) signal; An asynchronous FIFO storing the received ATM cell data (FF1_DATA) when the first FIFO enable (FF1_ENB) signal is activated and outputting the received data in accordance with a read signal; A synchronous FIFO for storing the received ATM cell data (FF2_DATA) according to a clock (CLK) when the second FIFO enable (FF2_ENB) signal is activated and outputting the received data in accordance with a read signal; And a first FIFO enable (FF1_ENB) when the cell enable (FF_STS) signal of the reception FIFO is activated, the first FIFO enable (FF1_ENB) is obtained by comparing a reference value of a predetermined cell header with a received cell header after receiving the multiplexed ATM cell from the reception FIFO, And a demultiplexer for outputting the second FIFO enable signal (FF2_ENB) and data to the synchronous FIFO by outputting the signal and data to the asynchronous FIFO.

도 1a 및 1b는 일반적인 ATM 셀의 포맷을 도시한 도면,1A and 1B are diagrams showing a format of a general ATM cell,

도 2는 본 발명에 따른 ATM 셀 역다중화장치를 도시한 블록도,FIG. 2 is a block diagram illustrating an ATM cell demultiplexer according to the present invention.

도 3은 도2에 도시된 역다중화부의 세부 블록도,FIG. 3 is a detailed block diagram of the demultiplexer shown in FIG. 2,

도 4는 본 발명에 따른 역다중화장치의 동작 타이밍도이다.4 is an operational timing diagram of a demultiplexer according to the present invention.

*도면의 주요부분에 대한 부호의 설명DESCRIPTION OF THE REFERENCE NUMERALS

10: 수신FIFO20: 역다중화부10: Receive FIFO 20: Demultiplexer

30: 비동기 FIFO40: 동기 FIFO30: Asynchronous FIFO 40: Synchronous FIFO

22-1∼22-6: 플립플롭셋24-1∼24-4: 비교기22-1 to 22-6: Flip-flop sets 24-1 to 24-4:

28: 디먹스28: DeMux

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 자세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 ATM 셀 역다중화장치를 도시한 블록도이고, 도 3은 도2에 도시된 역다중화부의 세부 블록도이며, 도 4는 본 발명에 따른 역다중화장치의 동작 타이밍도이다.FIG. 2 is a block diagram showing an ATM cell demultiplexing apparatus according to the present invention, FIG. 3 is a detailed block diagram of a demultiplexing unit shown in FIG. 2, and FIG. 4 is an operation timing diagram of a demultiplexing apparatus according to the present invention .

본 발명에 따른 역다중화장치는 도 2에 도시된 바와 같이, 다중화된 ATM 셀이 수신되면 셀유효(FF_STS)신호를 활성화시키고, 리드신호(FF_READ)가 인에이블되면 셀데이타(READ_DATA)와 셀시작(SOC)신호를 출력하는 수신 FIFO(10); 제1 FIFO 인에이블(FF1_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF1_DATA)를 저장하고, 리드신호(도시되지 않음)에 따라 출력하는 비동기 FIFO(30); 제2 FIFO 인에이블(FF2_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF2_DATA)를 클럭(CLK)에 따라 저장하고, 리드신호(도시되지 않음)에 따라 출력하는 동기 FIFO(40); 및 상기 수신 FIFO(10)의 셀유효(FF_STS)신호가 활성화되면 상기 수신FIFO(10)로부터 다중화된 ATM 셀을 수신한 후, 미리 설정된 셀 헤더의 기준값과 수신된 셀 헤더를 비교하여 상기 제1 FIFO 인에이블(FF1_ENB)신호 및 데이터(FF1_DATA)를 상기 비동기 FIFO(30)로 출력하고, 상기 제2 FIFO 인에이블(FF2_ENB)신호 및 데이터(FF2_DATA)를 상기 동기 FIFO(40)로 출력하는 역다중화부(20)로 구성되어 있다.As shown in FIG. 2, the demultiplexer according to the present invention activates a cell valid (FF_STS) signal when a multiplexed ATM cell is received and outputs a cell data READ_DATA and a cell start signal FF_READ when the read signal FF_READ is enabled. A reception FIFO 10 for outputting a signal (SOC) signal; An asynchronous FIFO 30 for storing the received ATM cell data FF1_DATA when the first FIFO enable (FF1_ENB) signal is activated and outputting it according to a read signal (not shown); A synchronous FIFO 40 for storing the received ATM cell data FF2_DATA according to the clock CLK when the second FIFO enable signal FF2_ENB is activated and outputting it according to a read signal (not shown); And a cell enable (FF_STS) signal of the reception FIFO (10) is activated, a multiplexed ATM cell is received from the reception FIFO (10), and a reference value of a predetermined cell header is compared with a received cell header, And outputs the FIFO enable signal FF1_ENB and the data FF1_DATA to the asynchronous FIFO 30 and outputs the second FIFO enable signal FF2_ENB and the data FF2_DATA to the synchronous FIFO 40. [ (20).

또한, 상기 역다중화부(20)는 도 3에 도시된 바와 같이, CPU로부터 입력되는 헤더의 제1 기준값을 저장하는 제1 레지스터(52), CPU로부터 입력되는 헤더의 제2 기준값을 저장하는 제2 레지스터(54), 수신된 ATM 셀들을 일시 저장하는 플립플롭셋(22-1∼22-6); 상기 플립플롭셋에 저장된 ATM 셀 헤더의 제1 바이트와 상기 제2레지스터의 제2 기준값을 비교하는 제1 비교기(24-4); 상기 플립플롭셋에 저장된 ATM 셀의 제2 바이트와 상기 제2 레지스터의 제2 기준값을 비교하는 제2 비교기(24-3); 상기 플립플롭셋에 저장된 ATM 셀의 제3 바이트와 상기 제1 레지스터의 제1 기준값을 비교하는 제3 비교기(24-2); 상기 플립플롭셋에 저장된 ATM 셀의 제4 바이트와 상기 제1 레지스터의 제1 기준값을 비교하는 제4 비교기(24-1); 및 상기 비교기들의 출력을 논리합하여 FIFO선택신호(FIFO_SEL)를 출력하는 논리게이트(26); 및 상기 FIFO선택신호(FIFO_SEL)에 따라 플립플롭셋으로부터 ATM 셀 데이터를 동기 FIFO(40) 혹은 비동기 FIFO(30)로 출력하는 디먹스(28)로 구성되어 있다.3, the demultiplexer 20 includes a first register 52 for storing a first reference value of a header input from the CPU, a second register 52 for storing a second reference value of a header input from the CPU, 2 register 54, flip-flop sets 22-1 to 22-6 for temporarily storing received ATM cells; A first comparator (24-4) for comparing a first byte of an ATM cell header stored in the flip-flop set with a second reference value of the second register; A second comparator (24-3) for comparing a second byte of the ATM cell stored in the flip flop set with a second reference value of the second register; A third comparator (24-2) for comparing the third byte of the ATM cell stored in the flip flop set with a first reference value of the first register; A fourth comparator (24-1) for comparing a fourth byte of the ATM cell stored in the flip-flop set with a first reference value of the first register; And a logic gate (26) for outputting a FIFO selection signal (FIFO_SEL) by ORing the outputs of the comparators; And a demux 28 for outputting ATM cell data from the flip-flop set to the synchronous FIFO 40 or the asynchronous FIFO 30 according to the FIFO selection signal FIFO_SEL.

이어서, 상기와 같이 구성되는 본 발명의 동작을 도 4의 타이밍도를 참조하여 자세히 설명하기로 한다.Next, the operation of the present invention configured as described above will be described in detail with reference to the timing chart of FIG.

도 2에서 수신 FIFO(10)는 ATM물리계층의 수신단으로부터 다중화된 ATM 셀 데이터가 라이트되면 셀유효(FF_STS) 신호를 '하이'로 하여 전송할 ATM 셀이 있음을 알리고, 역다중화부(20)로부터 버퍼리드(FF_READ)신호가 활성화되면 클럭(CLK)에 동기되어 셀의 첫 번째 바이트에서 셀의 시작(SOC)신호를 출력하여 셀의 시작점을 알림과 아울러 클럭(CLK)에 따라 수신된 데이터(READ_DATA)를 바이트 단위로 출력한다.2, when the multiplexed ATM cell data is written from the receiving end of the ATM physical layer, the reception FIFO 10 informs that there is an ATM cell to be transmitted with the cell valid (FF_STS) signal being 'high' When the buffer read (FF_READ) signal is activated, the start (SOC) signal of the cell is synchronized with the clock (CLK) at the first byte of the cell to notify the start point of the cell and the received data (READ_DATA ) In byte units.

역다중화부(20)는 수신 FIFO의 셀유효(FF_STS)신호가 '하이'로서 수신된 ATM 셀 데이타가 있으면 수신 FIFO(10)로 리드(FF_READ)신호를 활성화시킨 후, 셀시작(SOC)신호에 의해 셀을 동기시키고, 클럭(CLK)에 따라 수신 데이터(READ_DATA)를 바이트 단위로 읽어온다.The demultiplexer 20 activates the read (FF_READ) signal to the receive FIFO 10 when there is received ATM cell data with the cell valid (FF_STS) signal of the receive FIFO being 'high' And reads the received data READ_DATA in units of bytes in accordance with the clock CLK.

이어서 역다중화부(20)는 수신된 셀의 헤더를 해석하여 수신된 셀이 비동기 FIFO(30)로 갈 셀이면, 제1 FIFO 인에이블(FF1_ENB)신호를 활성화시켜 비동기 FIFO(30)에 ATM 셀 데이터를 저장하고, 수신된 셀의 헤더를 해석하여 동기 FIFO의 데이터이면 제2 FIFO 인에이블(FF2_ENB) 신호를 활성화하여 동기 FIFO를 선택한 후 클럭(CLK)에 따라 셀시작(FF2_SOC)신호와 바이트단위의 셀 데이터(FF2_DATA)를 출력한다.The demultiplexer 20 analyzes the header of the received cell and activates the first FIFO enable signal FF1_ENB if the received cell is a cell to go to the asynchronous FIFO 30, (FF2_ENB) signal and activates the second FIFO enable (FF2_ENB) signal to select the synchronous FIFO. If the cell start (FF2_SOC) signal and the byte unit And outputs the cell data FF2_DATA.

이때 역다중화부(20)는 외부로부터 리셋(RESET)신호와 클럭(CLK)을 입력받고, CPU(도시되지 않음)와 인터페이스부를 갖으며, CPU와는 CS*, ADDRESS, DATA BUS, OE*, R/W 등의 신호에 의해 인터페이스된다.At this time, the demultiplexer 20 receives a RESET signal and a clock CLK from the outside, and has an interface with a CPU (not shown). The demultiplexer 20 has a CS *, ADDRESS, DATA BUS, / W and the like.

즉, 역다중화부(20)는 도 3에 도시된 바와 같이, CPU(도시되지 않음)로부터 헤더에 대한 기준값(즉, 경로신호로서 VPI 혹은 VCI)을 입력받아 레지스터(52,54)에 저장한 후, 입력된 ATM셀의 헤더를 레지스터에 저장된 기준값과 비교하여 입력된 ATM 셀이 전달될 경로를 선택한다.3, the demultiplexer 20 receives a reference value (i.e., VPI or VCI as a path signal) for a header from a CPU (not shown) and stores it in the registers 52 and 54 Then, the header of the input ATM cell is compared with the reference value stored in the register, and the path through which the input ATM cell is to be transmitted is selected.

예컨대, ATM 헤더의 첫번째 바이트와 두번째 바이트가 0000,1111이고, ATM 헤더의 세번째 바이트와 네번째 바이트가 0000,1111이면 비동기 FIFO(30)로 ATM셀을 전달하고, 그 이외에는 동기 FIFO(40)로 ATM 셀을 전달한다고 하자. 이러한 경로배정값(VPI 혹은 VCI)은 임의적으로 설정될 수 있으며 설정된 값은 CPU에 의해 제1 레지스터(52)와 제2 레지스터(54)에 저장된다.For example, if the first and second bytes of the ATM header are 0000 and 1111, and the third and fourth bytes of the ATM header are 0000 and 1111, the ATM cell is transferred to the asynchronous FIFO 30, Let's say we pass a cell. This path allocation value (VPI or VCI) can be arbitrarily set and the set value is stored in the first register 52 and the second register 54 by the CPU.

이어서 수신FIFO(10)로부터 53바이트의 ATM 셀이 수신되고 있다면, 셀시작(SOC)신호와 함께 ATM 셀 헤더의 제1 바이트가 플립플롭셋으로 입력되고 이어서 헤더의 제2 바이트, 제3 바이트, 제4 바이트, 제5 바이트, 유료부하... 순으로 데이터가 입력될 것이다. 따라서 순차적으로 입력된 데이터들은 한 클럭씩 지연되면서 플립플롭셋1 내지 플립플롭셋6에 순차적으로 저장되게 되는데, 셀시작으로부터 5 클럭 후에는 플립플롭셋5(22-5)에는 셀헤더의 1번째 바이트가 저장되게 되고, 플립플롭셋4(22-4)에는 셀헤더의 2번째 바이트가 저장되어 있고, 플립플롭셋3(22-3)에는 셀 헤더의 3번째 바이트가 저장되어 있고, 디플립플롭셋2(22-2)에는 셀 헤더의 4번째 바이트가 저장되어 있고, 플립플롭셋1(22-1)에는 셀헤더의 5번째 바이트가 저장되어 있게 된다.Then, if a 53 byte ATM cell is being received from the receive FIFO 10, the first byte of the ATM cell header along with the cell start (SOC) signal is input to the flip flop set, followed by the second byte, third byte, The fourth byte, the fifth byte, the payload, and so on. Therefore, the sequentially inputted data are sequentially stored in the flip-flop set 1 and the flip-flop set 6 while being delayed by one clock. After 5 clocks from the cell start, the flip-flop set 5 (22-5) The second byte of the cell header is stored in the flip-flop set 4 (22-4), the third byte of the cell header is stored in the flip-flop set 3 (22-3) The fourth byte of the cell header is stored in the flopset 2 (22-2), and the fifth byte of the cell header is stored in the flip-flop set 1 (22-1).

따라서 셀시작(SOC) 신호 후 5클럭이 될 때 플립플롭셋에 저장되어 있는 데이터와 제1 및 제2 레지스터에 저장되어 있는 데이터를 각각 비교하면 수신된 현재 ATM 셀 데이터를 어디로 전달해야 할지 결정할 수 있게 된다.Therefore, when the data stored in the flip-flop set and the data stored in the first and second registers are compared with each other at the time of 5 clocks after the cell start signal (SOC), it is determined where to transfer the received current ATM cell data .

예컨대, 앞서 가정한 바와 같이 제1 레지스터(52)와 제2 레지스터(54)에 0000,1111 이 저장되어 있을 경우에 수신된 ATM 헤더의 첫 번째 내지 네 번째 바이트가 0000,1111이라면 각 비교기(24-1∼24-4)는 로우를 출력하고 이에 따라 오아게이트(26)가 로우가 되어 FIFO선택신호에 의해 디먹스(28)회로는 수신된 셀 데이터(DATA), 셀시작(SOC)신호 및 FIFO선택(ENB)신호를 비동기 FIFO(30)로 출력하게 된다.For example, in the case where 0000 and 1111 are stored in the first register 52 and the second register 54 as described above, if the first to fourth bytes of the received ATM header are 0000 and 1111, each comparator 24 -1 to 24-4 output a row so that the O gate 26 is low and the FIFO select signal causes the DEMUX 28 circuit to receive the received cell data DATA, And outputs the FIFO select (ENB) signal to the asynchronous FIFO 30.

만일, 수신된 ATM 셀의 헤더가 0000,1111이 아니라면 FIFO 선택신호에 의해 디먹스(28)는 동기 FIFO(40)로 FIFO 선택신호(ENB), 데이터(DATA), SOC 신호, 및 클럭(CLK)를 출력하게 된다.If the header of the received ATM cell is not 0000 or 1111, the FIFO selection signal causes the demultiplexer 28 to output the FIFO selection signal ENB, the data DATA, the SOC signal, and the clock CLK ).

이상의 설명에서는 수신된 ATM 셀을 두 개의 FIFO(비동기 FIFO와 동기FIFO)로 분리하는 것을 예로 들었으나 본 발명에 따른 방법은 2개 이상의 여러 FIFO로 ATM 셀을 분리할 경우에도 그대로 적용될 수 있다. 그리고 설명의 편의를 위하여 헤더값을 0000,1111로 통일하였으나 실제에 있어서 ATM 헤더는 도 1에 도시된 바와 같이 각 위치에 따라 다양한 의미가 있다. ATM 헤더의 5번째 바이트는 헤더에 대한 CRC이므로 경로배정을 위해서는 참조하지 않아도 된다.In the above description, the received ATM cell is divided into two FIFOs (asynchronous FIFO and synchronous FIFO). However, the method according to the present invention can be applied even when separating ATM cells into two or more FIFOs. For convenience of explanation, the header values are unified to 0000 and 1111. In practice, however, the ATM header has various meanings depending on each location as shown in FIG. The fifth byte of the ATM header is the CRC for the header, so it is not necessary to refer to it for routing.

이어서 도 4를 참조하면, (a)는 시스템 클럭(CLK)을 나타내고, (b)는 셀 어베일러블(Cell_AV) 신호를 나타낸다. 이때 셀 어베일러블(Cell_AV)신호는 비동기 FIFO가 셀을 처리할 수 있을 경우에 '하이'가 되고, 셀을 처리할 수 없을 경우에는 '로우'가 된다.Referring now to Figure 4, (a) shows the system clock (CLK) and (b) shows the Cell AVable (Cell_AV) signal. At this time, the cell addressable (Cell_AV) signal becomes 'high' when the asynchronous FIFO can process the cell, and becomes 'low' when the cell can not be processed.

도 4의 (c)는 동기 FIFO가 전송할 데이터가 있음을 나타내는 셀유효(FF_STS)신호로서, 셀유효(FF_STS)신호가 하이이면 동기 FIFO가 전송할 데이터가 있음을 나타내고, 로우이면 전송할 데이터가 없음을 나타낸다.4C shows a cell valid (FF_STS) signal indicating that there is data to be transmitted by the synchronous FIFO. When the cell valid (FF_STS) signal is high, it indicates that there is data to be transmitted by the synchronous FIFO. .

도 4의 (d)는 리드(FF_READ)신호로서 수신 FIFO로부터 데이터를 읽어올 경우에 로우가 되고, (e)는 수신 FIFO(10)로부터 읽어오는 바이트단위의 데이터로서 시스템 클럭에 따라 ATM 셀을 헤더부터 순차적으로 읽어온다.(D) of FIG. 4 is low when the data is read from the reception FIFO as a read (FF_READ) signal, and (e) is data of a byte unit read from the reception FIFO 10, It reads sequentially from the header.

도 4의 (f)는 셀시작(SOC)신호를 나타내는데, ATM 셀의 첫 번째 바이트(HD0)가 전송되는 타이밍 클럭에서 하이가 된다.4 (f) shows a cell start (SOC) signal, which is high at the timing clock at which the first byte (HD0) of the ATM cell is transmitted.

도 4에서 (a) 내지 (f)를 참조하면, 다중화된 ATM 셀을 수신한 수신 FIFO(10)가 전송할 데이터가 있음을 알리기 위하여 셀유효(FF_STS)신호를 하이로 활성화시키면, 역다중화부(20)는 리드(FF_READ)신호를 로우로 하여 수신된 데이터를 읽어온다. 이때 역다중화부(20)로부터 수신 FIFO(10)로 전달되는 클럭(CLK)에 따라 각 신호들이 동기되는데, 셀유효(FF_STS)신호가 하이가 된 후 첫 번째 클럭의 상승에지에서 리드(FF_READ)신호를 로우로 활성화시키고, 이어서 클럭(CLK)의 상승에지마다 ATM 셀의 헤더부터 유료부하 순으로( 즉, HD0, HD1, HD2, HD3, HD4, PD0, PD1 ......) 한 바이트씩 데이터를 읽어 온다. 이때 수신FIFO(10)는 ATM 셀의 첫 번째 바이트가 전달되는 타이밍에 셀시작(SOC)신호를 하이로 하여 셀의 시작점을 알려준다.Referring to FIGS. 4A to 4F, when the cell validity (FF_STS) signal is activated high to indicate that there is data to be transmitted by the reception FIFO 10 receiving the multiplexed ATM cell, the demultiplexer 20 reads the received data by setting the read (FF_READ) signal low. At this time, the respective signals are synchronized according to the clock (CLK) transmitted from the demultiplexer 20 to the reception FIFO 10. When the cell valid (FF_STS) signal becomes high and the lead (FF_READ) HD1, HD2, HD3, HD4, PD0, PD1, ...) in ascending order of the clock (CLK) Read data one by one. At this time, the reception FIFO 10 sets the cell start (SOC) signal high at the timing at which the first byte of the ATM cell is transmitted to notify the start point of the cell.

이상에서 살펴본 바와 같이, 본 발명에 따른 ATM 셀 역다중화장치는 ATM셀의 헤더값에 따라 해당되는 경로의 선입선출(FIFO)버퍼로 ATM 셀을 분배해줄 수 있다. 특히 CPU 설정에 따라 분배경로를 자유롭게 결정할 수 있으므로 경로설정이 자유롭다.As described above, the ATM cell demultiplexer according to the present invention can distribute ATM cells to a first-in first-out (FIFO) buffer corresponding to the header value of the ATM cell. Particularly, since the distribution path can be determined freely according to the CPU setting, the path setting is free.

Claims (2)

다중화된 ATM 셀 데이터를 입력받아 ATM 헤더에 따라 해당 경로로 분배하여 전송하는 ATM장치에 있어서,An ATM apparatus for receiving multiplexed ATM cell data and distributing the multiplexed ATM cell data to a corresponding path according to an ATM header, 다중화된 ATM 셀이 수신되면 셀유효(FF_STS)신호를 활성화시키고, 리드신호(FF_READ)가 인에이블되면 셀데이타(READ_DATA)와 셀시작(SOC)신호를 출력하는 수신 FIFO(10);A reception FIFO 10 activating a cell valid (FF_STS) signal when a multiplexed ATM cell is received and outputting cell data READ_DATA and a cell start (SOC) signal when the read signal FF_READ is enabled; 제1 FIFO 인에이블(FF1_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF1_DATA)를 저장하고, 리드신호에 따라 출력하는 비동기 FIFO(30);An asynchronous FIFO (30) for storing the received ATM cell data (FF1_DATA) when the first FIFO enable (FF1_ENB) signal is activated and outputting it according to a read signal; 제2 FIFO 인에이블(FF2_ENB)신호가 활성화되면 수신된 ATM 셀 데이터(FF2_DATA)를 클럭(CLK)에 따라 저장하고, 리드신호(도시되지 않음)에 따라 출력하는 동기 FIFO(40); 및A synchronous FIFO 40 for storing the received ATM cell data FF2_DATA according to the clock CLK when the second FIFO enable signal FF2_ENB is activated and outputting it according to a read signal (not shown); And 상기 수신 FIFO(10)의 셀유효(FF_STS)신호가 활성화되면 상기 수신FIFO(10)로부터 다중화된 ATM 셀을 수신한 후, 미리 설정된 셀 헤더의 기준값과 수신된 셀 헤더를 비교하여 상기 제1 FIFO 인에이블(FF1_ENB)신호 및 데이터(FF1_DATA)를 상기 비동기 FIFO(30)로 출력하고, 상기 제2 FIFO 인에이블(FF2_ENB)신호 및 데이터(FF2_DATA)를 상기 동기 FIFO(40)로 출력하는 역다중화부(20)가 구비된 ATM 셀 역다중화장치.If the cell validity (FF_STS) signal of the reception FIFO 10 is activated, the multiplexed ATM cell is received from the reception FIFO 10, and a reference value of a predetermined cell header is compared with a received cell header, And outputs the second FIFO enable signal (FF2_ENB) and data (FF2_DATA) to the synchronous FIFO (40), and outputs the second FIFO enable signal (FF2_ENB) signal and data (FF1_DATA) to the asynchronous FIFO (30) (20). 제1항에 있어서, 상기 역다중화부(20)는 CPU로부터 입력되는 헤더의 제1 기준값을 저장하는 제1 레지스터(52); CPU로부터 입력되는 헤더의 제2 기준값을 저장하는 제2 레지스터(54); 수신된 ATM 셀들을 일시 저장하는 플립플롭셋(22-1∼22-6); 상기 플립플롭셋에 저장된 ATM 셀 헤더의 제1 바이트와 상기 제2레지스터의 제2 기준값을 비교하는 제1 비교기(24-4); 상기 플립플롭셋에 저장된 ATM 셀의 제2 바이트와 상기 제2 레지스터의 제2 기준값을 비교하는 제2 비교기(24-3); 상기 플립플롭셋에 저장된 ATM 셀의 제3 바이트와 상기 제1 레지스터의 제1 기준값을 비교하는 제3 비교기(24-2); 상기 플립플롭셋에 저장된 ATM 셀의 제4 바이트와 상기 제1 레지스터의 제1 기준값을 비교하는 제4 비교기(24-1); 및 상기 비교기들의 출력을 논리합하여 FIFO선택신호(FIFO_SEL)를 출력하는 논리게이트(26); 및 상기 FIFO선택신호(FIFO_SEL)에 따라 플립플롭셋으로부터 ATM 셀 데이터를 동기 FIFO(40) 혹은 비동기 FIFO(30)로 출력하는 디먹스(28)로 구성된 것을 특징으로 하는 ATM 셀 역다중화장치.The apparatus of claim 1, wherein the demultiplexer (20) comprises: a first register (52) for storing a first reference value of a header input from the CPU; A second register (54) for storing a second reference value of a header input from the CPU; Flip-flop sets (22-1 to 22-6) for temporarily storing received ATM cells; A first comparator (24-4) for comparing a first byte of an ATM cell header stored in the flip-flop set with a second reference value of the second register; A second comparator (24-3) for comparing a second byte of the ATM cell stored in the flip flop set with a second reference value of the second register; A third comparator (24-2) for comparing the third byte of the ATM cell stored in the flip flop set with a first reference value of the first register; A fourth comparator (24-1) for comparing a fourth byte of the ATM cell stored in the flip-flop set with a first reference value of the first register; And a logic gate (26) for outputting a FIFO selection signal (FIFO_SEL) by ORing the outputs of the comparators; And a demux (28) for outputting ATM cell data from the flip-flop set to the synchronous FIFO (40) or the asynchronous FIFO (30) according to the FIFO selection signal (FIFO_SEL).
KR1019960050285A 1996-10-30 1996-10-30 Atm cell demultiplexer KR100215568B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960050285A KR100215568B1 (en) 1996-10-30 1996-10-30 Atm cell demultiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960050285A KR100215568B1 (en) 1996-10-30 1996-10-30 Atm cell demultiplexer

Publications (2)

Publication Number Publication Date
KR19980030806A KR19980030806A (en) 1998-07-25
KR100215568B1 true KR100215568B1 (en) 1999-08-16

Family

ID=19479855

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960050285A KR100215568B1 (en) 1996-10-30 1996-10-30 Atm cell demultiplexer

Country Status (1)

Country Link
KR (1) KR100215568B1 (en)

Also Published As

Publication number Publication date
KR19980030806A (en) 1998-07-25

Similar Documents

Publication Publication Date Title
US5446738A (en) ATM multiplexing system
EP0909108B1 (en) Method and apparatus for interworking ATM adaptation layer formats
EP1045557B1 (en) ATM switching system
US6229822B1 (en) Communications system for receiving and transmitting data cells
US5841771A (en) Telecommunications switch apparatus and method for time switching
US6396853B1 (en) Providing data services to telecommunications user terminals
KR100683990B1 (en) Multi-service circuit for telecommunications
US5379295A (en) Cross-connect system for asynchronous transfer mode
SE515588C2 (en) Mini cells with variable for size of payload in a mobile phone network
JPH10150446A (en) Atm exchange system
KR0126848B1 (en) A fixed length picket switching apparatus using multiplacer demultiplexer
US6829248B1 (en) Integrated switching segmentation and reassembly (SAR) device
US6137795A (en) Cell switching method and cell exchange system
EP0537743B1 (en) Switching method for a common memory based switching field and the switching field
US6628659B1 (en) ATM cell switching system
KR19990077263A (en) Parallel high speed processing of fixed length cells
US6928080B2 (en) Transporting variable length ATM AAL CPS packets over a non-ATM-specific bus
KR100215568B1 (en) Atm cell demultiplexer
KR100372519B1 (en) compound ATM subscriber access appratus
KR100215567B1 (en) Atm cell multiplexer
JPH0522403A (en) Stm-atm mutual conversion control system0
KR0185860B1 (en) Apparatus and method for processing the cbr data in aal type 1
KR0139585B1 (en) Apparatus for atm receiver having a single-ring structure
KR0185859B1 (en) Method of transmitting a sdt of the cbr data in aal type 1
KR100480042B1 (en) Atm cell receiving apparatus of atm switching system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20030523

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee