KR100426666B1 - Method and Apparatus for Cell Transfer in Cell Unit Communication System - Google Patents

Method and Apparatus for Cell Transfer in Cell Unit Communication System Download PDF

Info

Publication number
KR100426666B1
KR100426666B1 KR10-1999-0065887A KR19990065887A KR100426666B1 KR 100426666 B1 KR100426666 B1 KR 100426666B1 KR 19990065887 A KR19990065887 A KR 19990065887A KR 100426666 B1 KR100426666 B1 KR 100426666B1
Authority
KR
South Korea
Prior art keywords
read
write
address
dpram
reference window
Prior art date
Application number
KR10-1999-0065887A
Other languages
Korean (ko)
Other versions
KR20010058544A (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 KR10-1999-0065887A priority Critical patent/KR100426666B1/en
Publication of KR20010058544A publication Critical patent/KR20010058544A/en
Application granted granted Critical
Publication of KR100426666B1 publication Critical patent/KR100426666B1/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
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

본 발명은 셀 단위 통신 시스템에서의 셀 전달 방법 및 장치에 관한 것이다.The present invention relates to a cell delivery method and apparatus in a cell-by-cell communication system.

종래 셀 단위 통신 시스템의 셀 전달장치에서는 DPRAM에 기록 어드레스와 판독 어드레스가 동시에 동일하지 않게 인가되는 경우에는 DPRAM에 대한 데이터 기록 및 판독을 수행함에 있어서 어드레스 중첩없이 수행하므로 DPRAM을 통해 데이터 전달시에 데이터의 유실이 없게 되나, DPRAM에 기록 어드레스와 판독 어드레스가 동시에 동일하게 인가되어 데이터 입력단에서 기록하고 있는 번지를 데이터 출력단에서 동시에 판독하게 되는 경우에는 DPRAM에 대한 데이터 기록 및 판독을 수행함에 있어서 어드레스 중첩이 발생되므로 DPRAM을 통해 데이터 전달시에 데이터의 유실이 발생되게 되는 문제점이 있다.In the cell transfer apparatus of the conventional cell-based communication system, if the write address and the read address are not applied to the DPRAM at the same time, the data transfer is performed without data overlapping when performing data write and read on the DPRAM. When the write address and the read address are applied to the DPRAM at the same time and the address being written at the data input terminal is read at the data output terminal at the same time, the address overlap is not performed when performing data writing and reading on the DPRAM. Therefore, there is a problem in that data loss occurs during data transfer through the DPRAM.

본 발명은 데이터를 DPRAM을 통해 셀 단위로 전달하는 경우에 동시에 동일한 어드레스에 대하여 데이터 기록 및 판독 동작이 이루어지는 타이밍에서 기록 어드레스를 지연시켜 DPRAM에 인가함으로써 DPRAM에 대한 쓰기와 읽기 주소의 충돌을 방지하므로 셀 데이터의 손실을 방지하게 된다.In the present invention, when data is transferred through the DPRAM in units of cells, the write address is delayed and applied to the DPRAM at the same time that data write and read operations are performed at the same address, thereby preventing collision between write and read addresses for the DPRAM. The loss of cell data is prevented.

Description

셀 단위 통신 시스템에서의 셀 전달 방법 및 장치{Method and Apparatus for Cell Transfer in Cell Unit Communication System}Method and apparatus for cell transfer in cell-based communication system {Method and Apparatus for Cell Transfer in Cell Unit Communication System}

본 발명은 ATM(Asynchronous Transfer Mode) 교환 시스템에 관한 것으로, 특히 데이터를 DPRAM(Dual Port RAM)을 통해 셀 단위로 전달하는 경우에 DPRAM에 대한 쓰기와 읽기 주소의 충돌을 방지함으로써 셀 데이터의 손실을 방지하도록 하는 셀 단위 통신 시스템에서의 셀 전달 방법 및 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an Asynchronous Transfer Mode (ATM) switching system. In particular, when data is transferred cell-by-cell via DPRAM (Dual Port RAM), loss of cell data is prevented by preventing collision of write and read addresses to the DPRAM. The present invention relates to a cell delivery method and apparatus in a cell-by-cell communication system.

일반적으로 셀 단위 통신 시스템에서는 셀을 비동기적으로 전달하는 경우에 DPRAM을 통해서 전달하는데, 해당 DPRAM에는 두개의 포트가 구비되어 있고,하나의 포트를 통해 셀을 저장하면 다른 하나의 포트를 통해 해당 저장된 셀을 읽어가는 방식으로 하여 셀을 전달한다.In general, in a cell-based communication system, a cell is asynchronously transferred through DPRAM. The DPRAM includes two ports, and when a cell is stored through one port, the corresponding port is stored through another port. Pass cells by reading them.

이와같은 종래 셀 단위 통신 시스템의 셀 전달장치는 도1에 도시된 바와같이 데이터 기록부(1), DPRAM(2), 데이터 판독부(3), 기록 어드레스/제어신호 발생부(4) 및, 판독 어드레스/제어신호 발생부(5)를 구비하여 이루어 진다. 데이터 기록부(1)는 인가받은 데이터를 DPRAM(2)측으로 출력함과 아울러 기록 어드레스, 기록 인에이블신호 및, 기록클럭 등의 기록제어정보를 기록 어드레스/제어신호 발생부(4)측에 출력한다. 기록 어드레스/제어신호 발생부(4)는 데이터 기록부(1)로부터 인가받은 기록제어정보에 따라 기록클럭(WCLK), 기록 인에이블 신호(WREN) 및, 기록 어드레스(WADDR)를 생성하여 DPRAM(2)에 인가함으로써 DPRAM(2)의 데이터 기록 동작을 제어한다. 한편, 데이터 판독부(3)는 인가받은 판독 어드레스, 판독 인에이블신호 및, 판독클럭 등의 판독제어정보를 판독 어드레스/제어신호 발생부(5)측에 출력함과 아울러 DPRAM(2)으로부터 판독되는 데이터를 수집하여 전달한다. 판독 어드레스/제어신호 발생부(5)는 데이터 판독부(3)로부터 인가받은 판독제어정보에 따라 판독클럭(RCLK), 판독 인에이블 신호(RDEN) 및, 판독 어드레스(RADDR)를 생성하여 DPRAM(2)에 인가함으로써 DPRAM(2)에 대한 데이터 판독 동작을 제어한다. 그리고, DPRAM(2)은 데이터 기록부(1)로부터 인가받은 데이터를 기록 어드레스/제어신호 발생부(4)로부터 인가받은 기록클럭(WCLK), 기록 인에이블 신호(WREN) 및, 기록 어드레스(WADDR)에 따라 저장하고, 해당 저장된 데이터를 판독 어드레스/제어신호 발생부(5)로부터 인가받은 판독클럭(RCLK), 판독 인에이블 신호(RDEN) 및, 판독 어드레스(RADDR)에 따라 데이터 판독부(3)측에 출력한다.As shown in FIG. 1, the cell transfer device of the conventional cell-based communication system includes a data recording unit 1, a DPRAM 2, a data reading unit 3, a write address / control signal generating unit 4, and a reading unit. The address / control signal generator 5 is provided. The data recording unit 1 outputs the applied data to the DPRAM 2 side, and also outputs write control information such as a write address, a write enable signal, and a write clock to the write address / control signal generator 4 side. . The write address / control signal generator 4 generates a write clock WCLK, a write enable signal WREN, and a write address WADDR according to the write control information received from the data recording unit 1, and generates a DPRAM (2). ), The data write operation of the DPRAM 2 is controlled. On the other hand, the data reading section 3 outputs read control information such as an applied read address, read enable signal, and read clock to the read address / control signal generator 5 side, and reads from the DPRAM 2. Collect and forward the data. The read address / control signal generator 5 generates a read clock RCLK, a read enable signal RDEN, and a read address RADDR according to the read control information applied from the data read unit 3 to generate a DPRAM ( The data read operation to the DPRAM 2 is controlled by applying to 2). Then, the DPRAM 2 writes the data applied from the data recording unit 1 to the write clock WCLK, the write enable signal WREN, and the write address WADDR received from the write address / control signal generator 4. In accordance with the read clock RCLK, the read enable signal RDEN, and the read address RADDR received from the read address / control signal generator 5 Output to the side.

데이터 기록부(1)에서는 1개 셀의 데이터를 0번지 부터 시작하여 바이트 단위로 연속하여 DPRAM(2)에 기록하고, 해당 1개 셀의 기록이 종료되면 다음의 셀을 0번지 부터 시작하여 바이트 단위로 기록하는 방식으로 하여 셀을 반복적으로 DPRAM(2)에 기록한다. 또한, 데이터 판독부(3)에서도 1개 셀의 데이터를 0번지 부터 시작하여 바이트 단위로 연속하여 DPRAM(2)으로부터 판독하고, 해당 1개 셀의 판독이 종료되면 다음의 셀을 0번지 부터 시작하여 바이트 단위로 판독하는 방식으로 하여 셀을 반복적으로 DPRAM(2)으로부터 판독한다.In the data recording unit 1, data of one cell is continuously recorded in DPRAM (2) by byte unit starting from address 0. When the recording of the corresponding one cell is finished, the next cell starts from address 0 and is in byte unit. The cell is repeatedly recorded in the DPRAM 2 in the manner of writing. In addition, the data reading unit 3 also reads data of one cell from the DPRAM 2 continuously in byte units starting from address 0, and when reading of the corresponding one cell is finished, the next cell starts from address 0. The cell is repeatedly read from the DPRAM 2 in the manner of reading in units of bytes.

이상과 같은 종래 셀 단위 통신 시스템의 셀 전달장치에서는 DPRAM(2)에 기록 어드레스와 판독 어드레스가 동시에 동일하지 않게 인가되는 경우에는 DPRAM(2)에 대한 데이터 기록 및 판독을 수행함에 있어서 어드레스 중첩없이 수행하므로 DPRAM(2)을 통해 데이터 전달시에 데이터의 유실이 없게 되나, DPRAM(2)에 기록 어드레스와 판독 어드레스가 동시에 동일하게 인가되어 데이터 입력단에서 기록하고있는 번지를 데이터 출력단에서 동시에 판독하게 되는 경우에는 DPRAM(2)에 대한 데이터 기록 및 판독을 수행함에 있어서 어드레스 중첩이 발생되므로 DPRAM(2)을 통해 데이터 전달시에 데이터의 유실이 발생되게 되는 문제점이 있다.In the cell transfer apparatus of the conventional cell unit communication system as described above, when the write address and the read address are unequally applied to the DPRAM 2 at the same time, data writing and reading to the DPRAM 2 is performed without address overlap. Therefore, there is no loss of data during data transfer through the DPRAM 2, but the write address and the read address are applied to the DPRAM 2 at the same time so that the address recorded at the data input terminal is read at the data output terminal at the same time. Since there is an address overlap in performing data writing and reading to the DPRAM 2, there is a problem in that data loss occurs during data transfer through the DPRAM 2.

본 발명은 상술한 바와 같은 문제점을 해소하기 위하여 안출된 것으로, 그 목적은 데이터를 DPRAM을 통해 셀 단위로 전달하는 경우에 DPRAM에 대한 쓰기와 읽기 주소의 충돌을 방지함으로써 셀 데이터의 손실을 방지하도록 하는 셀 단위 통신 시스템에서의 셀 전달 방법 및 장치를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and its object is to prevent cell data loss by preventing collision of write and read addresses to DPRAM when data is transferred cell by cell through DPRAM. A cell delivery method and apparatus in a cell-based communication system are provided.

도1은 종래 셀 단위 통신 시스템에서의 셀 전달장치 구성도.1 is a block diagram of a cell transfer device in a conventional cell-based communication system.

도2는 본 발명에 따른 셀 단위 통신 시스템의 셀 전달장치 구성도.2 is a block diagram of a cell delivery device of a cell-based communication system according to the present invention;

도3은 도2에 도시된 지연 선택부의 구성도.3 is a configuration diagram of a delay selector shown in FIG. 2;

도4는 본 발명에 따른 셀 전달장치의 동작 설명을 위한 기록/판독 타이밍도.4 is a write / read timing diagram for explaining the operation of the cell transfer apparatus according to the present invention;

도5는 지연 선택부에서의 지연 모드 결정 과정을 도시한 흐름도.5 is a flowchart illustrating a delay mode determination process in a delay selection unit.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

11 : 데이터 기록부 12 : DPRAM11: data recorder 12: DPRAM

13 : 데이터 판독부 14 : 기록 어드레스/제어신호 발생부13 data reading section 14 writing address / control signal generating section

15 : 판독 어드레스/제어신호 발생부 16 : 지연선택부15: read address / control signal generator 16: delay selector

17 : 기록 참조 윈도우 발생부 18 : 판독 참조 윈도우 발생부17: record reference window generator 18: read reference window generator

19 : 비교 판단부19: comparison judgment unit

이상과 같은 목적을 달성하기 위한 본 발명의 특징은, 데이터를 DPRAM에 인가하여 기록하며, 인가받은 어드레스 맵상의 기록 어드레스, 기록 인에이블신호 및, 기록클럭을 포함하는 기록제어정보를 전달하는 데이터 기록부와, 상기 기록제어정보 중의 기록 어드레스, 기록 인에이블신호 및, 기록클럭에 따라 대응되는 기록클럭, 기록 인에이블 신호 및, 기록 어드레스를 생성하여 상기 DPRAM에 인가하는 기록 어드레스/제어신호 발생부와, 상기 DPRAM으로부터 데이터를 판독하며, 인가받은 어드레스 맵상의 판독 어드레스, 판독 인에이블신호 및, 판독클럭을 포함하는 판독제어정보를 전달하는 데이터 판독부와, 상기 판독제어정보 중의 판독 어드레스, 판독 인에이블신호 및, 판독클럭에 따라 대응되는 판독클럭, 판독 인에이블 신호 및, 판독 어드레스를 생성하여 상기 DPRAM에 인가하는 판독 어드레스/제어신호 발생부를 구비하는 셀 단위 통신 시스템에서의 셀 전달장치에 있어서, 상기 기록제어정보 중의 기록 어드레스와, 상기 판독제어정보 중의 판독 어드레스와, 인가받은 체크클럭에 따라 지연모드 설정 여부를 판단하여 지연신호를 출력하여서 상기 기록 어드레스/제어신호 발생부에 의한 상기 DPRAM으로의 기록 어드레스 출력을 지연시키는 지연선택부를 더 구비하고; 상기 지연선택부는, 상기 인가받은 기록 어드레스와 체크클럭에 따라 소정 상태의 기록 참조 윈도우 신호를 생성하여 출력하는 기록 참조 윈도우 발생부와, 상기 인가받은 판독 어드레스와 체크클럭에 따라 소정 상태의 판독 참조 윈도우 신호를 생성하여 출력하는 판독 참조 윈도우 발생부와, 상기 기록 참조 윈도우 신호와 상기 판독 참조 윈도우 신호를 체크클럭에 따라 비교하여 동일한 상태이면 지연 모드를 설정하여 지연신호를 상기 기록 어드레스/제어신호 발생부측에 출력하는 비교판단부를 포함하는데 있다.A characteristic feature of the present invention for achieving the above object is a data recording unit for applying data to a DPRAM and recording data, and transferring a write address, a write enable signal, and write control information including a write clock on an approved address map. A write address / control signal generator for generating a write address, a write enable signal, a write clock signal corresponding to the write clock, a write enable signal, and a write address to the DPRAM; A data reading unit for reading data from the DPRAM and transferring read control information including a read address, a read enable signal, and a read clock on an applied address map, a read address in the read control information, and a read enable signal; And generate a corresponding read clock, read enable signal, and read address according to the read clock. A cell transfer device in a cell unit communication system having a read address / control signal generation section for applying to the DPRAM, the write address in the write control information, the read address in the read control information, and an applied check clock. And a delay selector for determining whether or not to set a delay mode and outputting a delay signal to delay the output of the write address to the DPRAM by the write address / control signal generator; The delay selector may include a write reference window generator for generating and outputting a write reference window signal having a predetermined state according to the applied write address and check clock, and a read reference window having a predetermined state according to the applied read address and check clock. The read reference window generator for generating and outputting a signal and the write reference window signal and the read reference window signal are compared with each other according to a check clock, and a delay mode is set when the same state is set. It includes a comparison judgment output to the.

본 발명의 또 다른 특징은, 셀 단위 통신 시스템에서의 셀 전달방법에 있어서, DPRAM에 대한 기록 어드레스에 따라 기록 참조 윈도우 신호를 발생하는 과정과; 상기 DPRAM에 대한 판독 어드레스에 따라 판독 참조 윈도우 신호를 발생하는 과정과; 상기 기록 참조 윈도우 신호가 활성화된 상태에서 상기 판독 참조 윈도우 신호가 동일하게 활성화되어 있는지를 확인하는 과정과; 상기 확인 결과, 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 동일하게 활성화되어 있는 것으로 판단되면 지연모드를 설정하여 상기 DPRAM에 인가되는 기록 어드레스를 지연시켜 출력하는 과정을 포함하는데 있다.Another aspect of the present invention provides a cell transfer method in a cell-based communication system, comprising: generating a write reference window signal according to a write address for a DPRAM; Generating a read reference window signal in accordance with a read address for the DPRAM; Checking whether the read reference window signal is equally activated while the write reference window signal is activated; As a result of the checking, if it is determined that the write reference window signal and the read reference window signal are equally activated, a delay mode is set to delay and output the write address applied to the DPRAM.

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

본 발명에 따른 셀 단위 통신 시스템에서의 셀 전달장치는 도2에 도시된 바와 같이 데이터 기록부(11), DPRAM(12), 데이터 판독부(13), 기록 어드레스/제어신호 발생부(14), 판독 어드레스/제어신호 발생부(15) 및, 지연선택부(16)를 구비하여 이루어 진다. 데이터 기록부(11)는 인가받은 데이터를 DPRAM(12)측으로 출력하고, 어드레스 맵상의 기록 어드레스(wr_addr), 기록 인에이블신호(wren) 및, 기록클럭(wclk) 등의 기록제어정보를 기록 어드레스/제어신호 발생부(14)측에 출력함과 동시에 기록 어드레스(wr_addr)를 지연선택부(16)측에 출력한다. 지연선택부(16)는 데이터 기록부(11)로부터 인가되는 기록 어드레스(wr_addr)와, 데이터 판독부(13)로부터 인가되는 판독 어드레스(rd_addr)와, 인가받은 체크클럭(check_clock)에 따라 지연모드 설정 여부를 판단하여 지연신호(DLS)를 기록 어드레스/제어신호 발생부(14)측에 인가한다. 기록 어드레스/제어신호 발생부(14)는 데이터 기록부(11)로부터 기록 어드레스(wr_addr), 기록 인에이블신호(wren) 및, 기록클럭(wclk) 등의 기록제어정보를 인가받아 대응되는 기록클럭(wclk), 기록 인에이블 신호(wren) 및, 기록 어드레스(waddr)를 생성하여 DPRAM(12)에 인가함으로써 DPRAM(12)의 데이터 기록 동작을 제어하되, 지연선택부(16)로부터 인가되는 지연신호(DLS)에 따라 기록 어드레스(waddr)를 지연시켜 DPRAM(12)측에 인가한다. 한편, 데이터 판독부(13)는 DPRAM(12)으로부터 데이터를 판독하되, 인가받은 어드레스 맵상의 판독 어드레스(rd_addr), 판독 인에이블신호(rden) 및, 판독클럭(rclk) 등의 판독제어정보를 판독 어드레스/제어신호 발생부(15)측에 출력함과 아울러 판독 어드레스(rd_addr)를 지연선택부(16)측에 인가한다. 판독 어드레스/제어신호 발생부(15)는 데이터 판독부(13)로부터 인가받은 판독 어드레스(rd_addr), 판독 인에이블신호(rden) 및, 판독클럭(rclk) 등의 판독제어정보에 따라 대응되는 판독클럭(rclk), 판독 인에이블 신호(rden) 및, 판독 어드레스(raddr)를 생성하여 DPRAM(12)에 인가함으로써 DPRAM(12)에 대한 데이터 판독 동작을 제어한다. 그리고, DPRAM(12)은 데이터 기록부(11)로부터 인가받은 데이터를 기록 어드레스/제어신호 발생부(14)로부터 인가받은 기록클럭(wclk), 기록 인에이블 신호(wren) 및, 기록 어드레스(waddr)에 따라 저장하고, 해당 저장된 데이터를 판독 어드레스/제어신호 발생부(15)로부터 인가받은 판독클럭(rclk), 판독 인에이블 신호(rden) 및, 판독 어드레스(raddr)에 따라 데이터 판독부(13)측에 출력한다.As shown in FIG. 2, the cell transfer device in the cell-based communication system according to the present invention includes a data recording unit 11, a DPRAM 12, a data reading unit 13, a write address / control signal generating unit 14, A read address / control signal generator 15 and a delay selector 16 are provided. The data recording unit 11 outputs the applied data to the DPRAM 12 side, and records write control information such as a write address wr_addr, a write enable signal wren, and a write clock wclk on the address map. The control signal generator 14 outputs the write address wr_addr to the delay selector 16. The delay selector 16 sets the delay mode according to the write address wr_addr applied from the data recorder 11, the read address rd_addr applied from the data readout 13, and the check clock applied. It is judged whether or not the delay signal DLS is applied to the write address / control signal generator 14 side. The write address / control signal generator 14 receives write control information such as a write address wr_addr, a write enable signal wren, and a write clock wclk from the data recorder 11, and corresponds to a write clock corresponding to the write clock. wclk), a write enable signal wren, and a write address waddr are generated and applied to the DPRAM 12 to control the data write operation of the DPRAM 12, but with a delay signal applied from the delay selector 16. In accordance with DLS, the write address waddr is delayed and applied to the DPRAM 12 side. On the other hand, the data reading unit 13 reads data from the DPRAM 12, and reads control information such as a read address rd_addr, a read enable signal rden, and a read clock rclk on the approved address map. It outputs to the read address / control signal generator 15 side and applies the read address rd_addr to the delay selector 16 side. The read address / control signal generator 15 reads corresponding to the read control information such as the read address rd_addr, the read enable signal rden, and the read clock rclk received from the data reader 13. The data read operation to the DPRAM 12 is controlled by generating a clock rclk, a read enable signal rden, and a read address raddr and applying it to the DPRAM 12. Then, the DPRAM 12 writes the data applied from the data recording unit 11 to the write clock wclk, the write enable signal wren, and the write address waddr received from the write address / control signal generator 14. Data stored in accordance with the read data (rclk), read enable signal (rden), and read address (raddr) received from the read address / control signal generator (15). Output to the side.

한편, 지연선택부(16)는 도3에 도시된 바와같이 기록 참조 윈도우 발생부(17), 판독 참조 윈도우 발생부(18) 및, 비교판단부(19)를 구비하여 이루어 진다. 기록 참조 윈도우(17)는 인가받은 기록 어드레스(wr_addr)와 체크클럭(check_clock)에 따라 '1'상태(하이레벨)의 기록 참조 윈도우 신호를 생성하여 비교판단부(19)측에 출력한다. 판독 참조 윈도우 발생부(18)는 인가받은 판독 어드레스(rd_addr)와 체크클럭(check_clock)에 따라 '1'상태(하이레벨)의 판독 참조 윈도우 신호를 생성하여 비교판단부(19)측에 출력한다. 비교판단부(19)는 기록 참조 윈도우 발생부(17)로부터 인가되는 기록 참조 윈도우 신호와 판독 참조 윈도우 발생부(18)로부터 인가되는 판독 참조 윈도우 신호를 체크클럭(check_clock)에 따라 비교하여 지연 모드의 설정 여부를 판단하는데, 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 동일하게 '1'상태(하이레벨)로 인가되는 경우에 지연 모드를 설정하여 지연신호(DLS)를 기록 어드레스/제어신호 발생부(14)측에 출력함으로써, 기록 어드레스/제어신호 발생부(14)가 지연된 타이밍에 기록 어드레스(waddr)를 DPRAM(12)에 인가케 하여 DPRAM(12)에 대하여 동시에 동일한 기록 및 판독 어드레스가 인가되지 않게 한다.On the other hand, the delay selector 16 is provided with a write reference window generator 17, a read reference window generator 18, and a comparison determination unit 19 as shown in FIG. The write reference window 17 generates a write reference window signal in a '1' state (high level) according to the authorized write address wr_addr and check_clock and outputs the result to the comparison determination unit 19. The read reference window generator 18 generates a read reference window signal having a '1' state (high level) according to the read address (rd_addr) and the check clock (check_clock), and outputs the read reference window signal to the comparison determination unit 19. . The comparison determination unit 19 compares the write reference window signal applied from the write reference window generator 17 with the read reference window signal applied from the read reference window generator 18 according to a check clock (check_clock) to delay the mode. When the write reference window signal and the read reference window signal are equally applied to the '1' state (high level), the delay mode DLS is set to the delay address DLS. By outputting to the (14) side, the write address / control signal generator 14 applies the write address waddr to the DPRAM 12 at a delayed timing so that the same write and read addresses are simultaneously applied to the DPRAM 12. Do not become.

즉, 지연 선택부(16)에서 지연 모드를 결정하는 과정을 도5의 흐름도를 참조하여 설명하면 다음과 같다.That is, the process of determining the delay mode by the delay selector 16 will be described with reference to the flowchart of FIG. 5.

먼저, 지연 선택부(16)의 비교판단부(19)는 지연 모드를 오프(off)상태로 설정하고(스텝 ST1), 기록 참조 윈도우 발생부(17)로부터 인가되는 기록 참조 윈도우 신호가 '1'상태(하이레벨)인지를 확인하여(스텝 ST2), 기록 참조 윈도우 신호가 '1'상태인 것으로 확인되면 해당 기록 참조 윈도우 신호와 판독 참조 윈도우 발생부(18)로부터 인가되는 판독 참조 윈도우 신호를 체크클럭(check_clock)에 따라 비교한다(스텝 ST3). 이때, 지연 선택부(16)의 비교판단부(19)는 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 모두 '1'상태(하이레벨) 임을 확인하면(스텝 ST4), 지연모드를 온(on)상태로 설정하여 지연신호(DLS)를 출력한다(스텝 ST5).First, the comparison determination unit 19 of the delay selecting unit 16 sets the delay mode to the off state (step ST1), and the recording reference window signal applied from the recording reference window generating unit 17 is '1'. If it is confirmed that the state is a 'state (high level) (step ST2), and it is confirmed that the write reference window signal is in the' 1 'state, the corresponding write reference window signal and read reference window signal applied from the read reference window generator 18 The comparison is made in accordance with the check clock (check_clock) (step ST3). At this time, when the comparison determination unit 19 of the delay selection unit 16 confirms that both the write reference window signal and the read reference window signal are in the '1' state (high level) (step ST4), the delay mode is turned on. It sets to a state and outputs the delay signal DLS (step ST5).

이상과 같은 기능을 갖도록 구성된 본 발명에 따른 셀 전달장치의 동작 과정을 도4의 타이밍도를 참조하여 설명하기로 한다.An operation process of the cell transfer apparatus according to the present invention configured to have the above function will be described with reference to the timing diagram of FIG. 4.

도4에서 DPRAM(12)으로의 기록에 관련된 타이밍도를 살펴보면, 데이터는 기록클럭(wclk)의 하강엣지(falling edge)에서 DPRAM(12)에 기록되며, 이 데이터 기록시점은 기록 데이터와 기록 어드레스(waddr)의 안정적인 중간 지점이 된다. 여기서, 기록클럭(wclk)을 2배 체배시킨 클럭인 체크클럭(check_clock)의 입력 타이밍에 따라 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 모두 '1'상태에 있는지의 여부를 확인함으로써 DPRAM(12)에 대하여 동시에 동일한 어드레스로 기록, 판독이 이루어지는지를 판단한다. 이때, 2배 체배시킨 체크클럭을 사용하는 이유는 데이터와 같은 주기를 갖는 클럭을 사용할 경우 비교시점이 비교 대상의 값이 변하는 시점이라면 매 비교 시점마다 비교 대상의 값이 변하여서 판단이 불가능하기 때문인데, 2배 체배시킨 체크클럭의 타이밍에 의해 비교하게 되면 한번은 비교 대상의 값이 변하는 시점이라 하더라도 다음 비교 시점에서는 안정적인 비교 대상의 값을비교할 수 있기 때문이다.Referring to the timing chart related to writing to the DPRAM 12 in Fig. 4, data is written to the DPRAM 12 at the falling edge of the write clock wclk, and the data writing time is recorded data and the write address. It is a stable midpoint of (waddr). Here, the DPRAM 12 checks whether or not both the write reference window signal and the read reference window signal are in the '1' state according to the input timing of the check clock (check_clock), which is a clock multiplied by the write clock wclk. At the same time, it is determined whether or not recording and reading are performed at the same address. In this case, the reason for using the check clock multiplied by 2 times is that when the clock having the same period as the data is used, if the time of comparison changes, the value of the comparison target is changed and the judgment is impossible. This is because, when the comparison is made by the timing of the check clock multiplied by 2 times, even when the value of the comparison target is changed once, the value of the stable comparison target can be compared at the next comparison point.

그리고, 도4에서 시점 ③에서 DPRAM(12)에 대한 데이터를 판독하는 경우에 대한 판독클럭(rclk)을 살펴보면 케이스1, 케이스2, 그리고 케이스3 또는 그 이외의 데이터 판독 타이밍을 가질 수 있는데, 데이터 기록 타이밍에 대한 데이터 판독 타이밍의 관계는 상대적인 것이다. 실제로는 데이터 판독부(13)의 데이터 판독 타이밍이 고정적인데 비해 데이터 기록부(11)의 데이터 기록 타이밍은 외부로부터의 타이밍에 관계하므로 데이터 기록 타이밍과 데이터 판독 타이밍은 이와같이 상대적인 타이밍 관계를 갖는다.Referring to the read clock rclk for the case of reading data for the DPRAM 12 at time point 3 in FIG. 4, data read timings of case 1, case 2, case 3 or other data may be obtained. The relationship of the data read timing to the write timing is relative. In reality, while the data reading timing of the data reading section 13 is fixed, the data writing timing of the data recording section 11 is related to the timing from the outside, and thus the data writing timing and the data reading timing have such a relative timing relationship.

즉, 본 발명의 셀 데이터 전달장치에서는 지연선택부(16)가 데이터 기록부(11)의 데이터 기록 타이밍과 데이터 판독부(13)의 데이터 판독 타이밍의 상대적인 관계를 가지고 두 타이밍이 겹치는지의 여부를 판단하는데, 지연선택부(16)의 비교판단부(19)가 기록 참조 윈도우 발생부(17)에 의해 발생되는 기록 참조 윈도우 신호와 판독 참조 윈도우 발생부(18)에 의해 발생되는 판독 참조 윈도우 신호를 비교하여 지연 모드의 설정 여부를 결정함으로써 기록 어드레스/제어신호 발생부(14)의 기록 어드레스 출력을 지연시켜서 DPRAM(12)에 대하여 동시에 동일한 어드레스로 데이터를 기록 및 판독하는 것을 방지한다.That is, in the cell data transfer apparatus of the present invention, the delay selector 16 has a relative relationship between the data writing timing of the data recording unit 11 and the data reading timing of the data reading unit 13 to determine whether the two timings overlap. The comparison determining unit 19 of the delay selection unit 16 may generate a write reference window signal generated by the write reference window generator 17 and a read reference window signal generated by the read reference window generator 18. In comparison, by determining whether or not to set the delay mode, the write address output of the write address / control signal generator 14 is delayed to prevent writing and reading data at the same address to the DPRAM 12 simultaneously.

이때, 지연선택부(16)는 도5에 도시된 바와같이 동작하여 지연 모드를 결정한다. 먼저, 지연 선택부(16)의 비교판단부(19)는 지연 모드를 오프(off)상태로 설정하고(스텝 ST1), 기록 참조 윈도우 발생부(17)로부터 인가되는 기록 참조 윈도우 신호가 '1'상태(하이레벨)인지를 확인하여(스텝 ST2), 기록 참조 윈도우 신호가'1'상태인 것으로 확인되면 해당 기록 참조 윈도우 신호와 판독 참조 윈도우 발생부(18)로부터 인가되는 판독 참조 윈도우 신호를 체크클럭(check_clock)에 따라 비교한다(스텝 ST3). 이에따라, 지연 선택부(16)의 비교판단부(19)는 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 모두 '1'상태(하이레벨) 임을 확인하면(스텝 ST4), 지연모드를 온(on)상태로 설정하여 지연신호(DLS)를 출력한다.At this time, the delay selector 16 operates as shown in Fig. 5 to determine the delay mode. First, the comparison determination unit 19 of the delay selecting unit 16 sets the delay mode to the off state (step ST1), and the recording reference window signal applied from the recording reference window generating unit 17 is '1'. If it is confirmed that the state is' state (high level) (step ST2) and the record reference window signal is found to be in the state of '1', the corresponding record reference window signal and the read reference window signal applied from the read reference window generator 18 The comparison is made in accordance with the check clock (check_clock) (step ST3). Accordingly, when the comparison determination unit 19 of the delay selection unit 16 confirms that both the write reference window signal and the read reference window signal are in the '1' state (high level) (step ST4), the delay mode is turned on. Set to the state to output the delay signal (DLS).

이와같이 지연선택부(16)의 비교판단부(19)가 지연신호(DLS)를 기록 어드레스/제어신호 발생부(14)측에 인가하면, 기록 어드레스/제어신호 발생부(14)는 기록 어드레스(waddr)를 2클럭 이상 지연시켜 DPRAM(12)에 출력하고, 이에 DPRAM(12)에는 해당 2클럭 만큼 지난 시간에 데이터가 기록된다. 따라서, DPRAM(12)에 대하여 동시에 동일한 어드레스로 데이터를 기록 및 판독하는 타이밍에는 기록 어드레스를 2클럭 이상 지연시켜 DPRAM(12)에 인가함으로써 동시에 동일 어드레스에 대하여 기록 및 판독하는 것을 방지하게 되며, 그렇지 않고 동시에 동일 어드레스로 데이터를 기록 및 판독하는 타이밍이 아니면 기록 어드레스를 지연시키지 않고 그대로 DPRAM(12)에 인가하여 정상적으로 데이터를 기록 및 판독케 한다.In this way, when the comparison determination unit 19 of the delay selection unit 16 applies the delay signal DLS to the write address / control signal generator 14 side, the write address / control signal generator 14 causes the write address ( waddr is delayed by two or more clocks and output to the DPRAM 12, whereby data is recorded in the DPRAM 12 as much as two clocks. Therefore, at the timing of writing and reading data to the same address at the same time with respect to the DPRAM 12, the write address is delayed by two or more clocks to be applied to the DPRAM 12 to prevent writing and reading to the same address at the same time. If it is not the timing of writing and reading data at the same address at the same time, the write address is applied to the DPRAM 12 as it is without delay.

이상 설명한 바와 같이, 본 발명은 데이터를 DPRAM을 통해 셀 단위로 전달하는 경우에 동시에 동일한 어드레스에 대하여 데이터 기록 및 판독 동작이 이루어지는 타이밍에서 기록 어드레스를 지연시켜 DPRAM에 인가함으로써 DPRAM에 대한 쓰기와 읽기 주소의 충돌을 방지하므로 셀 데이터의 손실을 방지하게 된다.As described above, the present invention provides a write and read address for a DPRAM by applying a write address to the DPRAM by delaying a write address at a timing at which data write and read operations are performed at the same time when data is transferred in units of cells through the DPRAM. This prevents the collision of the cell data and thus the loss of cell data.

Claims (6)

데이터를 DPRAM에 인가하여 기록하며, 인가받은 어드레스 맵상의 기록 어드레스, 기록 인에이블신호 및, 기록클럭을 포함하는 기록제어정보를 전달하는 데이터 기록부와,A data recording unit which applies data to the DPRAM and records the data, and transfers write control information including a write address, a write enable signal, and a write clock on the received address map; 상기 기록제어정보 중의 기록 어드레스, 기록 인에이블신호 및, 기록클럭에 따라 대응되는 기록클럭, 기록 인에이블 신호 및, 기록 어드레스를 생성하여 상기 DPRAM에 인가하는 기록 어드레스/제어신호 발생부와,A write address / control signal generator for generating a write address, a write enable signal, a write clock signal corresponding to the write clock, a write enable signal, and a write address to the DPRAM; 상기 DPRAM으로부터 데이터를 판독하며, 인가받은 어드레스 맵상의 판독 어드레스, 판독 인에이블신호 및, 판독클럭을 포함하는 판독제어정보를 전달하는 데이터 판독부와,A data reading unit reading data from the DPRAM and transferring read control information including a read address, a read enable signal, and a read clock on an approved address map; 상기 판독제어정보 중의 판독 어드레스, 판독 인에이블신호 및, 판독클럭에 따라 대응되는 판독클럭, 판독 인에이블 신호 및, 판독 어드레스를 생성하여 상기 DPRAM에 인가하는 판독 어드레스/제어신호 발생부를 구비하는 셀 단위 통신 시스템에서의 셀 전달장치에 있어서,A cell unit including a read address, a read enable signal in the read control information, a read clock corresponding to the read clock, a read enable signal, and a read address / control signal generator for generating a read address and applying the read address to the DPRAM; A cell transfer device in a communication system, 상기 기록제어정보 중의 기록 어드레스와, 상기 판독제어정보 중의 판독 어드레스와, 인가받은 체크클럭에 따라 지연모드 설정 여부를 판단하여 지연신호를 출력하여서 상기 기록 어드레스/제어신호 발생부에 의한 상기 DPRAM으로의 기록 어드레스 출력을 지연시키는 지연선택부를 더 구비하고;According to the write address in the write control information, the read address in the read control information, and whether or not the delay mode is set, the delay signal is outputted to the DPRAM by the write address / control signal generator. A delay selector for delaying the write address output; 상기 지연선택부는,The delay selector, 상기 인가받은 기록 어드레스와 체크클럭에 따라 소정 상태의 기록 참조 윈도우 신호를 생성하여 출력하는 기록 참조 윈도우 발생부와,A record reference window generator for generating and outputting a record reference window signal in a predetermined state according to the authorized write address and check clock; 상기 인가받은 판독 어드레스와 체크클럭에 따라 소정 상태의 판독 참조 윈도우 신호를 생성하여 출력하는 판독 참조 윈도우 발생부와,A read reference window generator for generating and outputting a read reference window signal having a predetermined state according to the read address and the check clock received; 상기 기록 참조 윈도우 신호와 상기 판독 참조 윈도우 신호를 체크클럭에 따라 비교하여 동일한 상태이면 지연 모드를 설정하여 지연신호를 상기 기록 어드레스/제어신호 발생부측에 출력하는 비교판단부를 포함하는 것을 특징으로 하는 셀 단위 통신 시스템에서의 셀 전달장치.And a comparison determining unit for comparing the write reference window signal with the read reference window signal according to a check clock and setting a delay mode to output a delay signal to the write address / control signal generator. Cell transfer device in unit communication system. 삭제delete 제1항에 있어서,The method of claim 1, 상기 체크클럭은 기록클럭을 소정 배수 만큼 체배시킨 것을 특징으로 하는 셀 단위 통신 시스템에서의 셀 전달장치.And the check clock multiplies the recording clock by a predetermined multiple. 셀 단위 통신 시스템에서의 셀 전달방법에 있어서,In a cell delivery method in a cell-based communication system, DPRAM에 대한 기록 어드레스에 따라 기록 참조 윈도우 신호를 발생하는 과정과; 상기 DPRAM에 대한 판독 어드레스에 따라 판독 참조 윈도우 신호를 발생하는 과정과; 상기 기록 참조 윈도우 신호가 활성화된 상태에서 상기 판독 참조 윈도우 신호가 동일하게 활성화되어 있는지를 확인하는 과정과; 상기 확인 결과, 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 동일하게 활성화되어 있는 것으로 판단되면 지연모드를 설정하여 상기 DPRAM에 인가되는 기록 어드레스를 지연시켜 출력하는 과정을 포함하는 것을 특징으로 하는 셀 단위 통신 시스템에서의 셀 전달방법.Generating a write reference window signal in accordance with a write address for the DPRAM; Generating a read reference window signal in accordance with a read address for the DPRAM; Checking whether the read reference window signal is equally activated while the write reference window signal is activated; And if it is determined that the write reference window signal and the read reference window signal are equally activated, setting the delay mode to delay and output the write address applied to the DPRAM. Cell delivery method in the system. 제4항에 있어서, 상기 기록 참조 윈도우 신호와 상기 판독 참조 윈도우 신호를 발생하는 경우, 기록클럭을 소정 배수 만큼 체배시켜 만든 체크클럭에 동기하여 발생하는 것을 특징으로 하는 셀 단위 통신 시스템에서의 셀 전달방법.The cell transfer of claim 4, wherein the write reference window signal and the read reference window signal are generated in synchronization with a check clock generated by multiplying the write clock by a predetermined multiple. Way. 제4항에 있어서, 상기 기록 참조 윈도우 신호와 판독 참조 윈도우 신호가 동일하게 활성화되어 있는지를 확인하는 경우, 기록클럭을 소정 배수 만큼 체배시켜 만든 체크클럭에 동기하여 확인하는 것을 특징으로 하는 셀 단위 통신 시스템에서의 셀 전달방법.The cell unit communication method according to claim 4, wherein when the recording reference window signal and the reading reference window signal are identified to be equally activated, the unit-by-cell communication is performed in synchronization with a check clock generated by multiplying the recording clock by a predetermined multiple. Cell delivery method in the system.
KR10-1999-0065887A 1999-12-30 1999-12-30 Method and Apparatus for Cell Transfer in Cell Unit Communication System KR100426666B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-1999-0065887A KR100426666B1 (en) 1999-12-30 1999-12-30 Method and Apparatus for Cell Transfer in Cell Unit Communication System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-1999-0065887A KR100426666B1 (en) 1999-12-30 1999-12-30 Method and Apparatus for Cell Transfer in Cell Unit Communication System

Publications (2)

Publication Number Publication Date
KR20010058544A KR20010058544A (en) 2001-07-06
KR100426666B1 true KR100426666B1 (en) 2004-04-13

Family

ID=19633047

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-1999-0065887A KR100426666B1 (en) 1999-12-30 1999-12-30 Method and Apparatus for Cell Transfer in Cell Unit Communication System

Country Status (1)

Country Link
KR (1) KR100426666B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03265239A (en) * 1990-03-14 1991-11-26 Fujitsu Ltd Clock transfer circuit
JPH0583235A (en) * 1991-09-20 1993-04-02 Fujitsu Ltd Data error prevention system at speed conversion
KR19980021542A (en) * 1996-09-17 1998-06-25 유기범 How to prevent loss of PCM data when redundancy changeover in exchange
KR19980078230A (en) * 1997-04-25 1998-11-16 양승택 Cell Synchronizer Using Data Delay
KR19990061210A (en) * 1997-12-31 1999-07-26 윤종용 Message Buffering Method when Defiram is Full in Defiram Communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03265239A (en) * 1990-03-14 1991-11-26 Fujitsu Ltd Clock transfer circuit
JPH0583235A (en) * 1991-09-20 1993-04-02 Fujitsu Ltd Data error prevention system at speed conversion
KR19980021542A (en) * 1996-09-17 1998-06-25 유기범 How to prevent loss of PCM data when redundancy changeover in exchange
KR19980078230A (en) * 1997-04-25 1998-11-16 양승택 Cell Synchronizer Using Data Delay
KR100236979B1 (en) * 1997-04-25 2000-01-15 이계철 Apparatus for synchronizing cell using the data delay
KR19990061210A (en) * 1997-12-31 1999-07-26 윤종용 Message Buffering Method when Defiram is Full in Defiram Communication

Also Published As

Publication number Publication date
KR20010058544A (en) 2001-07-06

Similar Documents

Publication Publication Date Title
KR100217215B1 (en) Flash memory incorporating microcomputer having on-board writing function
US6459651B1 (en) Semiconductor memory device having data masking pin and memory system including the same
EP1040404B1 (en) Method and apparatus for coupling signals between two circuits operating in different clock domains
KR100694440B1 (en) A semiconductor memory
KR20000011216A (en) Semiconductor memory device having circuit for monitoring set value of mode register
US6742095B2 (en) Memory access circuit and memory access control circuit
EP0773549B1 (en) Synchronous semiconductor memory having a write execution time dependent upon a cycle time
KR100499417B1 (en) A method for masking the ringing in SDRAM and the device therefor
JP2970434B2 (en) Synchronous semiconductor memory device and sense control method
KR100608346B1 (en) Structure of system bus in semiconductor device
KR100426666B1 (en) Method and Apparatus for Cell Transfer in Cell Unit Communication System
US6055248A (en) Transmission frame format converter circuit
US20040027870A1 (en) Ic card and ic card system
KR100328102B1 (en) Sdram address translator
US7408821B2 (en) Method for error compensation and a memory control device adapted for error compensation
US7248663B2 (en) Apparatus and method for transforming data transmission speed
US6532504B2 (en) System for data transmission to recording device
WO2002008901A3 (en) Partitioned random access memory
KR20000019161A (en) Circuit for improving data read speed in flash memory
KR100211076B1 (en) Address space extension apparatus
JP3183956B2 (en) Buffer memory circuit
JP2665045B2 (en) ATM cell fluctuation generator
JP2723843B2 (en) Dual port memory control circuit
KR100219188B1 (en) Dram control circuit
JPH04243086A (en) Storage device

Legal Events

Date Code Title Description
A201 Request for examination
AMND Amendment
N231 Notification of change of applicant
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20100226

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee