KR100226025B1 - Plag generation circuit of nonsynchronous fifo memory - Google Patents

Plag generation circuit of nonsynchronous fifo memory Download PDF

Info

Publication number
KR100226025B1
KR100226025B1 KR1019960074321A KR19960074321A KR100226025B1 KR 100226025 B1 KR100226025 B1 KR 100226025B1 KR 1019960074321 A KR1019960074321 A KR 1019960074321A KR 19960074321 A KR19960074321 A KR 19960074321A KR 100226025 B1 KR100226025 B1 KR 100226025B1
Authority
KR
South Korea
Prior art keywords
signal
counting
light
output
synchronization
Prior art date
Application number
KR1019960074321A
Other languages
Korean (ko)
Other versions
KR19980055113A (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 KR1019960074321A priority Critical patent/KR100226025B1/en
Publication of KR19980055113A publication Critical patent/KR19980055113A/en
Application granted granted Critical
Publication of KR100226025B1 publication Critical patent/KR100226025B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store

Landscapes

  • Dram (AREA)

Abstract

본 발명은 서로 다른 주기의 클락으로 동작되는 각 블록들간에도 고속으로 데이터의 선입 선출 동작이 가능한 선입선출메모리(FIFO; first in first out memory)의 플래그발생회로에 관한 것으로, 소정의 라이트인에이블신호(WEN)를 입력받고, 소정의 주기를 갖는 제1 클락신호(CLK1)에 동기되어 카운팅 하고, 소정의 주기를 갖는 제2 클락신호(CLK2)에 동기하여 제1 라이트카운팅신호를 출력하는 제1 라이트감지부(110)와; 소정의 리드인에이블신호(REN)를 입력받고, 상기 제2 클락신호(CLK2)의 입력에 동기되어 카운트하여 제1리드카운팅신호 및 넥스트리드카운팅신호를 출력하는 제1 리드감지부(120)와; 상기 제1 라이트카운팅신호와 상기 제1 리드카운팅신호 및 넥스트리드카운팅신호를 입력받아 판단하여 현재 상기 선입선출메모리의 메모리영역에 데이터가 엠프티 상태인 경우 엠프티플래그(EF)를 발생하는 엠프티플레그발생판단부(130)와; 상기 엠프티플레그발생판단부(130)의 출력을 입력받아 상기 제2 클락신호(CLK2)에 동기하여 상기 엠프티플래그(EF)를 출력하는 엠프티플레그출력부(140)와; 상기 리드인에이블신호(REN)를 입력받고, 상기 제2 클락신호(CLK2)에 동기되어 카운팅 하고, 상기 제1 클락신호(CLK1)에 동기하여 제2 리드카운팅신호를 출력하는 제2 리드감지부(210)와; 상기 라이트인에이블신호(WEN)를 입력받고, 상기 제1 클락신호(CLK1)의 입력에 동기되어 카운트하여 제2 라이트카운팅신호 및 넥스트라이트카운팅신호를 출력하는 제2 라이트감지부(220)와; 상기 제2 리드카운팅신호와 상기 제2 라이트카운팅신호 및 넥스트라이트카운팅신호를 입력받아 판단하여 현재 상기 선입선출메모리의 메모리영역에 데이터가 풀 상태인 경우 풀플래그(FF)를 발생하는 풀플레그발생판단부(230)와; 상기 풀플레그발생판단부(230)의 출력을 입력받아 상기 제1 클락신호(CLK1)에 동기하여 상기 풀플래그(FF)를 출력하는 풀플레그출력부(240)를 포함한다.The present invention relates to a flag generation circuit of a first in first out memory (FIFO) capable of first-in first-out operation of data at high speed even between blocks operated at clocks of different periods. A first input signal WEN, counted in synchronization with the first clock signal CLK1 having a predetermined period, and outputting a first light counting signal in synchronization with the second clock signal CLK2 having a predetermined period; A light detection unit 110; A first lead sensing unit 120 which receives a predetermined lead enable signal REN, counts in synchronization with the input of the second clock signal CLK2, and outputs a first lead counting signal and a next row counting signal; ; An empty flag to generate an empty flag (EF) when the first light counting signal, the first read counting signal, and the next read counting signal are received and determined and data is empty in a memory area of the first-in first-out memory. A flag generating unit 130; An empty flag output unit 140 which receives the output of the empty flag generation determining unit 130 and outputs the empty flag EF in synchronization with the second clock signal CLK2; A second lead sensing unit configured to receive the lead enable signal REN, count in synchronization with the second clock signal CLK2, and output a second lead counting signal in synchronization with the first clock signal CLK1. 210; A second light detection unit 220 receiving the write enable signal WEN and counting the same to the first clock signal CLK1 and outputting a second light counting signal and a next light counting signal; Determining the second lead counting signal, the second light counting signal, and the next light counting signal to determine the full flag generation when the data is currently in the memory area of the first-in first-out memory in a full state. Section 230; And a full flag output unit 240 for receiving the output of the full flag generation determining unit 230 and outputting the full flag FF in synchronization with the first clock signal CLK1.

Description

비동기 선입선출메모리의 플래그발생회로Flag generation circuit of asynchronous first-in first-out memory

본 발명은 선입선출메모리(FIFO; first in first out memory)에 관한 것으로서, 구체적으로는 서로 다른 주기의 클락으로 동작되는 각 블록들간에도 고속으로 데이터의 선입 선출 동작이 가능한 선입선출메모리의 플래그발생회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a first in first out memory (FIFO), and more specifically, a flag generation circuit of a first in first out memory capable of first-in first-out operation of data even between blocks operated at clocks of different periods. It is about.

현재, 반도체 칩의 제조공정의 발전에 따라 그 집적도 또한 증가되고 있고, 다양한 기능을 하나의 반도체 칩에 집적화한 단일칩(one chip)들이 많이 출현하고 있다. 그리고 이러한 단일칩의 내부에 구성된 각 블록간의 데이터 이동을 고속으로 하기 위한 목적으로 해당 블록간의 인터페이스(interface)를 위해 선입선출메모리를 사용하는 경우가 많다.At present, with the development of the semiconductor chip manufacturing process, the integration is also increasing, and many single chips incorporating various functions into one semiconductor chip have appeared. In addition, a first-in, first-out memory is often used for an interface between blocks in order to speed up data movement between blocks configured in the single chip.

한편, 상기와 같은 단일칩 내에는 복수의 클락이 존재하는 경우가 빈번하다. 왜냐하면, 내부에 구성된 각 블록들이 서로 다른 동작 특성을 갖고 있어 이에 사용되는 클락도 서로 다른 주기를 갖게 되는 경우가 있을 수 있기 때문이다.On the other hand, a plurality of clocks are often present in such a single chip. This is because the blocks configured therein have different operating characteristics, and thus the clock used for this may have different periods.

이때, 선입선출메모리는 자신의 상태를 각 블록에게 알려주어야 하며, 이 경우 서로 다른 클락으로 동작하는 리드/라이트 카운터(read/write counter)를 비교하여 그 결과를 각 블록이 동작하는 클락에 동기시켜 제공하여야 한다. 이와 같이 동작되는 특성으로 인하여 딜레이가 발생되어 원하는 동작 속도 얻지 못하는 경우가 발생하는 문제점이 있어 왔다. 또한 각 블록이 일정 간격 이상으로 떨어져 있는 경우 와이어 딜레이(wire delay)에 의한 악영향이 발생되기도 하는 문제점도 있어 왔다.At this time, the first-in, first-out memory should inform each block of its own state. In this case, the read / write counters operating in different clocks are compared, and the result is synchronized to the clock in which each block operates. Must be provided. Due to the operation characteristics as described above, there has been a problem that a delay occurs and a desired operation speed cannot be obtained. In addition, there has been a problem that adverse effects due to wire delay occurs when each block is separated by a predetermined interval or more.

본 발명의 목적은 상술한 문제점을 해결하기 위해 제안된 것으로서, 서로 다른 동작 주파수를 갖는 블록간에도 고속의 인터페이싱이 가능하도록 하는 선입선출메모리의 플래그발생회로를 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems, and to provide a flag generation circuit of a first-in first-out memory that enables high-speed interfacing between blocks having different operating frequencies.

도 1은 본 발명의 실시예에 따른 엠프티·풀플레그발생부의 계략적인 구성을 보여주는 블록도,1 is a block diagram showing a schematic configuration of an empty pull flag generating unit according to an embodiment of the present invention,

도 2는 도 1에 도시된 엠프티플레그발생부의 상세 회로도,2 is a detailed circuit diagram of the empty flag generating unit shown in FIG.

도 3은 도 1에 도시된 풀플레그발생부의 상세 회로도,3 is a detailed circuit diagram of the full-flag generation unit shown in FIG.

도 4는 도 2에 도시된 엠프티플레그발생부의 중요 부분의 동작에 따른 타이밍도,4 is a timing diagram according to an operation of an important part of the empty flag generating unit shown in FIG.

도 5는 도 3에 도시된 풀플레그발생부의 중요 부분의 동작에 따른 타이밍도.5 is a timing diagram according to an operation of an important part of the full flag generating unit shown in FIG.

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

100 : 엠프티플레그발생부110 : 라이트감지부100: empty flag generating unit 110: light detection unit

112, 222 : 라이트카운터114, 142, 214, 242 : 플리플롭112, 222: light counters 114, 142, 214, 242: flip flops

120 : 리드감지부122, 212 : 리드카운터120: lead detection unit 122, 212: lead counter

124, 224 : 멀티플렉서126 : 넥스트리드카운터124, 224: Multiplexer 126: Nexttrial Counter

130 : 엠프티플레그발생판단부132, 134 : 비교부130: empty flag generation determination unit 132, 134: comparison unit

136, 138, 236, 238 : 논리회로부140 : 엠프티플레그출력부136, 138, 236, 238: logic circuit 140: empty flag output section

200 : 풀플레그발생부210 : 리드감지부200: full flag generator 210: lead detection unit

220 : 라이트감지부226 : 넥스트라이트카운터220: light detection unit 226: next light counter

230 : 풀플레그발생판단부232, 234 : 판단부230: full flag generation determination section 232, 234: determination unit

240 : 풀플레그출력부240: full flag output unit

(구성)(Configuration)

상술한 목적을 달성하기 위한 본 발명의 일 특징에 의하면, 선입선출메모리의 플래그 발생회로는 : 소정의 라이트인에이블신호를 입력받고, 소정의 주기를 갖는 제1 클락신호에 동기되어 카운팅 하고, 소정의 주기를 갖는 제2 클락신호에 동기하여 제1 라이트카운팅신호를 출력하는 제1 라이트감지부와; 소정의 리드인에이블신호를 입력받고, 상기 제2 클락신호의 입력에 동기되어 카운트하여 제1리드카운팅신호 및 넥스트리드카운팅신호를 출력하는 제1 리드감지부와; 상기 제1 라이트카운팅신호와 상기 제1 리드카운팅신호 및 넥스트리드카운팅신호를 입력받아 판단하여 현재 상기 선입선출메모리의 메모리영역에 데이터가 엠프티 상태인 경우 엠프티플래그를 발생하는 엠프티플레그발생판단부와; 상기 엠프티플레그발생판단부의 출력을 입력받아 상기 제2 클락신호에 동기하여 상기 엠프티플래그를 출력하는 엠프티플레그출력부와; 상기 리드인에이블신호를 입력받고, 상기 제2 클락신호에 동기되어 카운팅 하고, 상기 제1 클락신호에 동기하여 제2 리드카운팅신호를 출력하는 제2 리드감지부와; 상기 라이트인에이블신호를 입력받고, 상기 제1 클락신호의 입력에 동기되어 카운트하여 제2 라이트카운팅신호 및 넥스트라이트카운팅신호를 출력하는 제2 라이트감지부와; 상기 제2 리드카운팅신호와 상기 제2 라이트카운팅신호 및 넥스트라이트카운팅신호를 입력받아 판단하여 현재 상기 선입선출메모리의 메모리영역에 데이터가 풀 상태인 경우 풀플래그를 발생하는 풀플레그발생판단부와; 상기 풀플레그발생판단부의 출력을 입력받아 상기 제1 클락신호에 동기하여 상기 풀플래그를 출력하는 풀플레그출력부를 포함한다.According to one aspect of the present invention for achieving the above object, a flag generation circuit of a first-in first-out memory: receives a predetermined write enable signal, counts in synchronization with a first clock signal having a predetermined period, A first light detecting unit outputting a first light counting signal in synchronization with a second clock signal having a period of? A first lead sensing unit configured to receive a predetermined lead enable signal and to count in synchronization with the input of the second clock signal to output a first read counting signal and a next read counting signal; An empty flag generation decision that generates an empty flag when the first light counting signal, the first lead counting signal, and the next read counting signal are received and determined and data is empty in a memory area of the first-in first-out memory. Wealth; An empty flag output unit receiving the output of the empty flag generation determining unit and outputting the empty flag in synchronization with the second clock signal; A second lead sensing unit configured to receive the lead enable signal, count in synchronization with the second clock signal, and output a second lead counting signal in synchronization with the first clock signal; A second light sensing unit configured to receive the write enable signal and count in synchronization with the input of the first clock signal to output a second light counting signal and a next light counting signal; A full flag generation determining unit configured to receive the second read counting signal, the second write counting signal and the next light counting signal, and generate a full flag when data is currently in the memory area of the first-in first-out memory; And a full flag output unit configured to receive an output of the full flag generation determining unit and output the full flag in synchronization with the first clock signal.

이 실시예에 있어서, 상기 제1 라이트감지부는 상기 라이트인에이블신호을 입력받고, 상기 제1 클락신호에 동기되어 카운팅 결과를 출력하는 라이트카운터와; 상기 카운팅 결과를 상기 제2 클락신호에 동기하여 상기 제1 라이트카운팅신호를 출력하는 플리플롭을 포함한다.The light counter may include: a light counter configured to receive the light enable signal and output a counting result in synchronization with the first clock signal; And a flip-flop configured to output the first light counting signal in synchronization with the counting result in response to the second clock signal.

이 실시예에 있어서, 상기 라이트카운터는 그레이 코드 카운터로 구성된다.In this embodiment, the light counter is composed of a gray code counter.

이 실시예에 있어서, 상기 제1 리드감지부는 상기 제2 클락신호에 동기하여 상기 제1 리드카운팅신호를 출력하는 리드카운터와; 상기 제1 리드카운팅신호를 입력받아 소정수 증가하여 상기 넥스트리드카운팅신호를 출력하는 넥스트리드카운터와; 상기 제1 리드카운팅신호 및 상기 넥스트리드카운팅신호를 입력받고, 상기 리드인에이블신호의 입력에 따라 해당되는 입력을 상기 리드카운터로 출력하는 멀티플렉서를 포함한다.In an embodiment, the first read detection unit may include: a read counter configured to output the first read counting signal in synchronization with the second clock signal; A necked counter which receives the first read counting signal and increases a predetermined number to output the nexted counting signal; And a multiplexer configured to receive the first read counting signal and the next street counting signal and output a corresponding input to the read counter according to the input of the lead enable signal.

이 실시예에 있어서, 상기 리드카운터는 그레이 코드 카운터로 구성된다.In this embodiment, the lead counter is comprised of a gray code counter.

이 실시예에 있어서, 상기 엠프티플레그발생판단부는 상기 제1 라이트카운팅신호 및 상기 넥스트리드카운팅신호를 입력받아 비교하여 그 결과에 해당되는 소정의 신호를 출력하는 제1 비교부와; 상기 제1 라이트카운팅신호 및 상기 제1 리드카운팅신호를 입력받아 비교하여 그 결과에 해당되는 소정의 신호를 출력하는 제2 비교부와; 상기 제1 비교부의 출력 및 상기 리드인에이블신호를 입력하여 소정의 논리 연산을 수행하여 출력하는 제1 논리회로부와; 상기 제1 논리회로부의 출력 및 상기 제2 비교부의 출력을 입력받아 논리 연산하여 출력하는 제2 논리회로부를 포함한다.The empty flag generation determining unit may include: a first comparing unit configured to receive the first light counting signal and the next street counting signal, compare the received signal, and output a predetermined signal corresponding to the result; A second comparing unit which receives the first light counting signal and the first read counting signal, compares the first light counting signal, and outputs a predetermined signal corresponding to the result; A first logic circuit unit for outputting the output of the first comparator and the read enable signal to perform a predetermined logic operation to output the first comparator; And a second logic circuit part configured to receive the output of the first logic circuit part and the output of the second comparator and perform a logical operation on the output.

이 실시예에 있어서, 상기 제1 논리회로부는 앤드게이트로 구성된다.In this embodiment, the first logic circuit portion is composed of an AND gate.

이 실시예에 있어서, 상기 제2 논리회로부는 오아게이트로 구성된다.In this embodiment, the second logic circuit portion is composed of an oragate.

이 실시예에 있어서, 상기 엠프티플레그출력부는 상기 제2 클락신호에 동기되어 엠프티플래그를 출력하는 플리플롭으로 구성된다.In this embodiment, the empty flag output unit includes a flip-flop that outputs an empty flag in synchronization with the second clock signal.

이 실시예에 있어서, 상기 제2 리드감지부는 상기 리드인에이블신호을 입력받고, 상기 제2 클락신호에 동기되어 카운팅 결과를 출력하는 리드카운터와; 상기 카운팅 결과를 상기 제1 클락신호에 동기하여 상기 제2 리드카운팅신호를 출력하는 플리플롭을 포함한다.In this embodiment, the second lead detection unit receives the lead enable signal, and a read counter for outputting a counting result in synchronization with the second clock signal; And a flip-flop configured to output the second read counting signal in synchronization with the counting result in response to the first clock signal.

이 실시예에 있어서, 상기 리드카운터는 그레이 코드 카운터로 구성된다.In this embodiment, the lead counter is comprised of a gray code counter.

이 실시예에 있어서, 상기 제2 라이트감지부는 상기 제1 클락신호에 동기하여 상기 제2 라이트카운팅신호를 출력하는 라이트카운터와; 상기 제2 라이트카운팅신호를 입력받아 소정수 증가하여 상기 넥스트라이트카운팅신호를 출력하는 넥스트라이트카운터와; 상기 제2 라이트카운팅신호 및 상기 넥스트라이트카운팅신호를 입력받고, 상기 라이트인에이블신호의 입력에 따라 해당되는 입력을 상기 라이트카운터로 출력하는 멀티플렉서를 포함한다.In an embodiment, the second light detection unit may include: a light counter configured to output the second light counting signal in synchronization with the first clock signal; A next light counting signal receiving the second light counting signal and increasing a predetermined number to output the next light counting signal; And a multiplexer configured to receive the second light counting signal and the next light counting signal and output a corresponding input to the light counter according to the input of the light enable signal.

이 실시예에 있어서, 상기 라이트카운터는 그레이 코드 카운터로 구성된다.In this embodiment, the light counter is composed of a gray code counter.

이 실시예에 있어서, 상기 풀플레그발생판단부는 상기 제2 리드카운팅신호 및 상기 넥스트라이트카운팅신호를 입력받아 카운팅 상태를 판단하여 그 결과에 해당되는 소정의 신호를 출력하는 제1 판단부와; 상기 제2 리드카운팅신호 및 상기 제2 라이트카운팅신호를 입력받아 카운팅 상태를 판단하여 그 결과에 해당되는 소정의 신호를 출력하는 제2 판단부와; 상기 제1 판단부의 출력 및 상기 라이트인에이블신호를 입력하여 소정의 논리 연산을 수행하여 출력하는 제1 논리회로부와; 상기 제1 논리회로부의 출력 및 상기 제2 판단부의 출력을 입력받아 논리 연산하여 출력하는 제2 논리회로부를 포함한다.In this embodiment, the full-flag generation judging unit receives the second lead counting signal and the next strike counting signal to determine a counting state and outputs a predetermined signal corresponding to the result; A second determination unit which receives the second read counting signal and the second light counting signal, determines a counting state, and outputs a predetermined signal corresponding to the result; A first logic circuit unit configured to input an output of the first determination unit and the write enable signal to perform a predetermined logic operation to output the first enabler; And a second logic circuit unit configured to receive the output of the first logic circuit unit and the output of the second determination unit to perform logical operation on the output.

이 실시예에 있어서, 상기 제1 논리회로부는 앤드게이트로 구성된다.In this embodiment, the first logic circuit portion is composed of an AND gate.

이 실시예에 있어서, 상기 제2 논리회로부는 오아게이트로 구성된다.In this embodiment, the second logic circuit portion is composed of an oragate.

이 실시예에 있어서, 상기 풀플레그출력부는 상기 제1 클락신호에 동기되어 풀플래그를 출력하는 플리플롭으로 구성된다.In this embodiment, the full flag output unit is composed of a flip flop which outputs a full flag in synchronization with the first clock signal.

(작용)(Action)

이상과 같은 본 발명에 의하면, 선입선출메모리의 상태를 알려주는 풀·엠프티플레그를 플리플롭에서 바로 출력함으로 해당 블록의 동작 주파수가 높아진다.According to the present invention as described above, the operating frequency of the corresponding block is increased by directly outputting the full empty flag indicating the state of the first-in first-out memory from the flip-flop.

(실시예)(Example)

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

도 1은 본 발명의 실시예에 따른 엠프티·풀플레그발생부의 계략적인 구성을 보여주는 블록도이고, 도 2는 도 1에 도시된 엠프티플레그발생부의 상세 회로도이고, 도 3은 도 1에 도시된 풀플레그발생부의 상세 회로도이다.1 is a block diagram showing a schematic configuration of an empty full flag generating unit according to an embodiment of the present invention, Figure 2 is a detailed circuit diagram of the empty flag generating unit shown in Figure 1, Figure 3 is shown in Figure 1 Is a detailed circuit diagram of the full-flag generator.

도 1에 도시된바와 같이, 본 발명의 실시예에 따른 엠프티·풀플레그 발생부는 크게 엠프티플레그발생부(100)와 풀플레그발생부(200)로 구성된다.As shown in FIG. 1, an empty full flag generating unit according to an exemplary embodiment of the present invention includes an empty flag generating unit 100 and a full flag generating unit 200.

상기 엠프티플레그발생부(100)는 서로 다른 주기를 갖는 제1 클락신호(CLK1)와, 제2 클락신호(CLK2) 그리고 라이트인에이블신호(WEN) 및 리드인에이블신호(REN)를 입력받고, 선입선출메모리의 소정의 메모리영역에 데이터가 모두 리드된 경우 엠프티플레그(EF)를 출력하게 된다. 그리고 상기 풀플레그발생부(200)는 상기 제1 및 제2 클락신호(CLK1, CLK2), 라이트인에이블신호(WEN) 및 리드인에이블신호(REN)를 입력받고, 선입선출메모리의 소정의 메모리영역에 데이터가 모두 라이트된 경우 풀플레그(EF)를 출력하게 된다.The empty flag generation unit 100 receives the first clock signal CLK1, the second clock signal CLK2, the write enable signal WEN, and the read enable signal REN having different periods. When all data is read into a predetermined memory area of the first-in first-out memory, the empty flag EF is output. The full flag generator 200 receives the first and second clock signals CLK1 and CLK2, the write enable signal WEN, and the read enable signal REN, and stores a predetermined memory of the first-in first-out memory. When all data is written to the area, the full flag EF is output.

구체적으로, 도 2 및 도 3을 참조하여 상기 엠프티플레그발생부(100) 및 풀플레그발생부(200)에 대하여 설명한다.Specifically, the empty flag generation unit 100 and the full flag generation unit 200 will be described with reference to FIGS. 2 and 3.

먼저, 도 2에 도시된바와 같이, 상기 엠프티플레그발생부(100)는 크게 라이트감지부(110)와, 리드감지부(120)와, 엠프티플레그발생판단부(130)와, 엠프티플레그출력부(140)를 포함하여 구성된다.First, as shown in FIG. 2, the empty flag generating unit 100 has a large light detecting unit 110, a lead detecting unit 120, an empty flag generating determining unit 130, and an empty group. It is configured to include a flag output unit 140.

상기 라이트감지부(110)는 라이트카운터(112)와 플리플롭(114)으로 구성된다. 상기 라이트카운터(112)는 그레이 코드 카운터(gray code counter)로 구성되며, 상기 라이트인에이블신호(WEN)를 입력받고 상기 제1 클락신호(CLK1)에 의해 동기되어 카운팅 결과를 출력한다. 그리고 상기 플리플롭(114)은 상기 제2 클락신호(CLK2)에 동기되어 그 출력을 입력받아 출력한다. 상기 라이트카운터(112)는 그레이 코드 카운터로 구성되어 1비트씩의 변화를 갖게 되므로 상기 플리플롭(114)에서 클락킹(clocking)될 때 에러가 발생되는 것을 방지할 수 있다.The light detecting unit 110 includes a light counter 112 and a flip-flop 114. The light counter 112 includes a gray code counter, receives the write enable signal WEN, and outputs a counting result in synchronization with the first clock signal CLK1. The flip-flop 114 receives and outputs the output in synchronization with the second clock signal CLK2. Since the light counter 112 is configured as a gray code counter to change by one bit, an error may be prevented from being clocked in the flip-flop 114.

상기 리드감지부(120)는 리드카운터(122)와, 멀티플렉서(124)와, 넥스트리드카운터(next read counter, 126)로 구성된다. 상기 리드카운터(122)는 그레이 코드 카운터로 구성되며, 상기 멀티플렉서(124)의 입력 및 상기 제2 클락신호(CKL2)에 동기되어 카운팅 결과를 출력한다. 상기 리드카운터(122)의 출력은 상기 멀티플렉서(124) 및 상기 넥스트리드카운터(126)로 제공된다. 상기 멀티플렉서(124)는 상기 넥스트리드카운터(126)의 출력 및 상기 리드카운터(122)의 출력을 입력받고, 상기 리드인에이블신호(REN)의 입력에 따라 해당되는 신호를 출력하여 상기 리드카운터(122)로 제공한다.The lead detecting unit 120 includes a lead counter 122, a multiplexer 124, and a next read counter 126. The read counter 122 includes a gray code counter and outputs a counting result in synchronization with an input of the multiplexer 124 and the second clock signal CKL2. The output of the lead counter 122 is provided to the multiplexer 124 and the necked counter 126. The multiplexer 124 receives the output of the necked counter 126 and the output of the read counter 122, and outputs a corresponding signal according to the input of the lead enable signal REN to read the read counter. 122).

상기 엠프티플레그발생판단부(130)는 제1 및 제2 비교부(132, 134)와, 제1 및 제2 논리회로(136, 138)로 구성된다. 상기 제1 및 제2 논리회로(136, 138)는 각기 앤드게이트(AND gate)와 오아게이트(OR gate)로 구성될 수 있다.The empty flag generation determining unit 130 is composed of first and second comparison units 132 and 134 and first and second logic circuits 136 and 138. The first and second logic circuits 136 and 138 may be composed of an AND gate and an OR gate, respectively.

상기 제1 비교부(132)는 상기 플리플롭(114)의 출력과 상기 넥스트리드카운터(126)의 출력을 비교하여 해당 결과를 상기 제1 논리회로(136)로 출력하고, 상기 제1 논리회로(136)는 상기 리드인에이블신호(REN)의 입력에 따라 해당되는 신호를 앤드연산(AND)하여 상기 제2 논리회로(138)로 출력한다. 상기 제2 비교부(134)는 상기 플리플롭(114)의 출력과 상기 리드카운터(122)의 출력을 비교하여 그 결과를 상기 제2 논리회로(138)로 출력한다. 상기 제2 논리회로(138)는 이를 오아연산(OR)하여 출력한다.The first comparator 132 compares the output of the flip-flop 114 with the output of the next-counter counter 126 and outputs the result to the first logic circuit 136. In operation 136, the signal is ANDed according to the input of the lead enable signal REN and output to the second logic circuit 138. The second comparator 134 compares the output of the flip-flop 114 with the output of the read counter 122 and outputs the result to the second logic circuit 138. The second logic circuit 138 performs an OR operation on this and outputs it.

상기 엠프티플레그출력부(140)는 플리플롭(142)으로 구성되며, 상기 제2 논리회로(138)의 출력을 입력받아 상기 제2 클락신호(CLK2)에 동기되어 엠프티플레그(EF)를 출력하게 된다.The empty flag output unit 140 includes a flip-flop 142. The empty flag output unit 140 receives the output of the second logic circuit 138 to synchronize the empty flag EF in synchronization with the second clock signal CLK2. Will print.

이상과 같이, 상기 엠프티플레그발생판단부(130)는 상기 라이트카운터(112)와 상기 리드카운터(122)의 모든 값이 같은 경우나, 상기 넥스트리드카운터(126)와 상기 라이트카운터(112)의 값이 같고 상기 리드인에이블신호(REN)가 소정의 하이레벨 '1'인 경우 상기 제2 클락신호(CLK2)에 동기되어 엠프티플레그(empty flag, EF)가 출력된다.As described above, the empty flag generation determination unit 130 is the case that all the values of the light counter 112 and the lead counter 122 is the same, or the necked counter 126 and the light counter 112 Is equal to and the lead enable signal REN is a predetermined high level '1', an empty flag EF is output in synchronization with the second clock signal CLK2.

다음, 도 3에 도시된바와 같이, 상기 풀플레그발생부(200)는 크게 리드감지부(210)와, 라이트감지부(220)와, 풀플레그발생판단부(230)와, 풀플레그출력부(240)를 포함하여 구성된다.Next, as shown in FIG. 3, the full flag generating unit 200 includes a lead detecting unit 210, a light detecting unit 220, a full flag generating determining unit 230, and a full flag output unit. And 240.

상기 리드감지부(210)는 리드카운터(212)와 플리플롭(214)으로 구성된다. 상기 리드카운터(212)는 그레이 코드 카운터로 구성되며, 상기 리드인에이블신호(REN)를 입력받고 상기 제2 클락신호(CLK2)에 의해 동기되어 카운팅 결과를 출력한다. 그리고 상기 플리플롭(214)은 상기 제1 클락신호(CLK1)에 동기되어 그 출력을 입력받아 출력한다. 상기 리드카운터(212)는 그레이 코드 카운터로 구성되어 1비트씩의 변화를 갖게 되므로 상기 플리플롭(214)에서 클락킹 될 때 에러가 발생되는 것을 방지할 수 있다.The lead detecting unit 210 includes a lead counter 212 and a flip-flop 214. The read counter 212 includes a gray code counter. The read counter 212 receives the read enable signal REN and synchronizes with the second clock signal CLK2 to output a counting result. The flip-flop 214 receives the output in synchronization with the first clock signal CLK1 and outputs the output. Since the read counter 212 is configured as a gray code counter to change by one bit, an error may be prevented from occurring when clocked in the flip-flop 214.

상기 라이트감지부(220)는 라이트카운터(222)와, 멀티플렉서(224)와, 넥스트라이트카운터(next write counter, 226)로 구성된다. 상기 라이트카운터(222)는 그레이 코드 카운터로 구성되며, 상기 멀티플렉서(224)의 입력 및 상기 제1 클락신호(CKL1)에 동기되어 카운팅 결과를 출력한다. 상기 라이트카운터(222)의 출력은 상기 멀티플렉서(224) 및 상기 넥스트라이트카운터(226)로 제공된다. 상기 멀티플렉서(224)는 상기 넥스트라이트카운터(226)의 출력 및 상기 라이트카운터(222)의 출력을 입력받고, 상기 라이트인에이블신호(WEN)의 입력에 따라 해당되는 신호를 출력하여 상기 라이트카운터(222)로 제공한다.The light detector 220 includes a light counter 222, a multiplexer 224, and a next write counter 226. The light counter 222 includes a gray code counter and outputs a counting result in synchronization with the input of the multiplexer 224 and the first clock signal CKL1. The output of the light counter 222 is provided to the multiplexer 224 and the nextlite counter 226. The multiplexer 224 receives the output of the next light counter 226 and the output of the light counter 222, and outputs a corresponding signal according to the input of the write enable signal WEN to output the light counter. 222).

상기 풀플레그발생판단부(230)는 제1 및 제2 판단부(232, 234)와, 제1 및 제2 논리회로(236, 238)로 구성된다. 상기 제1 및 제2 논리회로(236, 238)는 각기 앤드게이트(AND gate)와 오아게이트(OR gate)로 구성될 수 있다.The full flag generation determination unit 230 includes first and second determination units 232 and 234 and first and second logic circuits 236 and 238. The first and second logic circuits 236 and 238 may be composed of an AND gate and an OR gate, respectively.

상기 제1 판단부(232)는 상기 플리플롭(214)의 출력과 상기 넥스트라이트카운터(226)의 출력을 비교하여 해당 결과를 상기 제1 논리회로(236)로 출력하고, 상기 제1 논리회로(236)는 상기 라이트인에이블신호(WEN)의 입력에 따라 해당되는 신호를 앤드연산(AND)하여 상기 제2 논리회로(238)로 출력한다. 상기 제2 비교부(234)는 상기 플리플롭(214)의 출력과 상기 리드카운터(222)의 출력을 비교하여 그 결과를 상기 제2 논리회로(238)로 출력한다. 상기 제2 논리회로(238)는 이를 오아연산(OR)하여 출력한다.The first determiner 232 compares the output of the flip-flop 214 with the output of the next light counter 226 and outputs the result to the first logic circuit 236. In operation 236, the signal is ANDed according to the input of the write enable signal WEN, and is output to the second logic circuit 238. The second comparator 234 compares the output of the flip-flop 214 with the output of the lead counter 222 and outputs the result to the second logic circuit 238. The second logic circuit 238 outputs the result of OR calculation.

상기 풀플레그출력부(240)는 플리플롭(242)으로 구성되며, 상기 제2 논리회로(238)의 출력을 입력받아 상기 제1 클락신호(CLK1)에 동기되어 풀플레그(full flag, FF)를 출력하게 된다.The full flag output unit 240 includes a flip-flop 242. The full flag output unit 240 receives the output of the second logic circuit 238 and is synchronized with the first clock signal CLK1 to provide a full flag FF. Will print

이상과 같이, 상기 풀플레그발생판단부(230)는 상기 라이트카운터(212)와 상기 리드카운터(222)의 그레이 코드 풀(full) 조건을 만족하는 경우나, 상기 넥스트라이트카운터(226)와 상기 라이트카운터(222)의 값이 그레이 코드 풀 조건을 만족하고 상기 라이트인에이블신호(WEN)가 소정의 하이레벨 '1'인 경우 상기 제1 클락신호(CLK1)에 동기되어 풀플레그(FF)가 출력된다.As described above, the full flag generation determination unit 230 satisfies the gray code full conditions of the light counter 212 and the lead counter 222, or the next light counter 226 and the When the value of the light counter 222 satisfies the gray code full condition and the write enable signal WEN is a predetermined high level '1', the full flag FF is synchronized with the first clock signal CLK1. Is output.

다음은 이상과 같은 엠프티플래그발생부(100)와 풀플래그발생부(200)의 동작을 첨부도면 도 4 및 도 5의 타이밍도를 참조하여 설명한다.Next, operations of the empty flag generating unit 100 and the full flag generating unit 200 will be described with reference to the timing diagrams of FIGS. 4 and 5.

도 4는 도 2에 도시된 엠프티플레그발생부의 중요 부분의 동작에 따른 타이밍도이고, 도 5는 도 3에 도시된 풀플레그발생부의 중요 부분의 동작에 따른 타이밍도이다.FIG. 4 is a timing diagram according to the operation of the important part of the empty flag generating unit shown in FIG. 2, and FIG. 5 is a timing diagram according to the operation of the important part of the full flag generating unit shown in FIG.

도 4 및 도 5의 타이밍도는 상기 라이트인에이블신호(WEN), 리드인에이블신호(REN)가 하이레벨 '1'로 될 때 엠프티플래그(EF), 풀플래그(FF)가 상기 제1 및 제2 클락신호(CLK1, CLK2)에 각각 동기되어 발생되는 파형을 나타내고 있다. 이 예에서는 상기 리드카운터(122, 212)와 상기 라이트카운터(112, 222)는 #4까지 증가된다고 가정하였다. 즉, 선입선출메모리의 뎁스(depth) 4인 경우를 예로하고 있다.4 and 5, when the write enable signal WEN and the read enable signal REN reach a high level '1', an empty flag EF and a full flag FF become the first flag. And waveforms generated in synchronization with the second clock signals CLK1 and CLK2, respectively. In this example, it is assumed that the lead counters 122 and 212 and the light counters 112 and 222 are increased to # 4. That is, the case where the depth of the first-in first-out memory is 4 is taken as an example.

먼저, 도 3 및 도 4를 참조하여, 상기 풀플레그발생부(200)에서 라이트인에이블신호(WEN)가 '1'인 상태에서 상기 제1 클락신호(CLK1)의 상승에지(rising edge)에서 상기 리드카운터(212)는 #0, 라이트카운터(222)는 #4이므로 풀플래그(FF)는 '1'로 출력된다. 상기 풀플래그(FF)가 '1'인 상태에서 선입선출메모리의 메모리영역에서 데이터가 리드되어지면 상기 리드카운터(212)는 #1로 증가되면, 상기 풀플래그(FF)는 상기 제1 클락신호(CLK1)에 동기되어 '0'으로 변경된다.3 and 4, at the rising edge of the first clock signal CLK1 while the write enable signal WEN is '1' in the full flag generator 200. Since the lead counter 212 is # 0 and the light counter 222 is # 4, the full flag FF is output as '1'. When the read counter 212 is increased to # 1 when data is read from the memory area of the first-in first-out memory in the state that the full flag FF is '1', the full flag FF is the first clock signal. It is changed to '0' in synchronization with (CLK1).

다음은, 도 2 및 도 5를 참조하여, 상기 엠프티플래그발생부(100)에서 상기 라이트카운터(112)가 #3이고 상기 리드카운터(122)가 #2일 때, 즉 선입선출메모리에 데이터가 1개 남아 있는 경우 리드인에이블신호(REN)가 '1'이 되는 경우 그 1개의 데이터가 리드되어 지고, 상기 제2 클락신호(CLK2)에 동기되어 엠프티플래그(EF)는 '1'이 된다. 이 상태에서 선입선출메모리에 데이터가 라이트되어 상기 라이트카운터(112)가 #4가 되면 엠프티 상태가 아니므로 상기 제2 클락신호(CLK2)의 라이징에지(rising edge)에서 상기 엠프티플래그(EF)가 '0'로 된다.Next, referring to FIGS. 2 and 5, when the light counter 112 is # 3 and the lead counter 122 is # 2 in the empty flag generator 100, that is, data is stored in the first-in, first-out memory. When one is left, when the lead enable signal REN becomes '1', one piece of data is read and the empty flag EF is synchronized with the second clock signal CLK2. Becomes In this state, when the data is written to the first-in, first-out memory and the light counter 112 becomes # 4, the empty counter EF is not present at the rising edge of the second clock signal CLK2. ) Becomes '0'.

이상과 같은 본 발명에 의하면, 선입선출메모리의 상태를 알려주는 풀·엠프티플레그를 플리플롭에서 바로 출력함으로 해당 블록의 동작 주파수가 높아진다. 그리고 집적화시 레이아웃(lay out) 상에서 선입선출메모리의 인접 두 블록이 떨어져 있는 경우라도 와이어 딜레이에 의한 영향을 받지 않고 안정하게 회로가 동작한다.According to the present invention as described above, the operating frequency of the corresponding block is increased by directly outputting the full empty flag indicating the state of the first-in first-out memory from the flip-flop. When the integration is performed, even if two adjacent blocks of the first-in, first-out memory are separated from each other on the layout, the circuit operates stably without being affected by the wire delay.

Claims (17)

선입선출메모리의 플래그발생회로에 있어서:In the flag generation circuit of the first-in first-out memory: 소정의 라이트인에이블신호(WEN)를 입력받고, 소정의 주기를 갖는 제1 클락신호(CLK1)에 동기되어 카운팅 하고, 소정의 주기를 갖는 제2 클락신호(CLK2)에 동기하여 제1 라이트카운팅신호를 출력하는 제1 라이트감지부(110)와;Receives a predetermined write enable signal WEN, counts in synchronization with the first clock signal CLK1 having a predetermined period, and first light counting in synchronization with the second clock signal CLK2 having a predetermined period. A first light detector 110 for outputting a signal; 소정의 리드인에이블신호(REN)를 입력받고, 상기 제2 클락신호(CLK2)의 입력에 동기되어 카운트하여 제1리드카운팅신호 및 넥스트리드카운팅신호를 출력하는 제1 리드감지부(120)와;A first lead sensing unit 120 which receives a predetermined lead enable signal REN, counts in synchronization with the input of the second clock signal CLK2, and outputs a first lead counting signal and a next row counting signal; ; 상기 제1 라이트카운팅신호와 상기 제1 리드카운팅신호 및 넥스트리드카운팅신호를 입력받아 판단하여 현재 상기 선입선출메모리의 메모리영역에 데이터가 엠프티 상태인 경우 엠프티플래그(EF)를 발생하는 엠프티플레그발생판단부(130)와;An empty flag to generate an empty flag (EF) when the first light counting signal, the first read counting signal, and the next read counting signal are received and determined and data is empty in a memory area of the first-in first-out memory. A flag generating unit 130; 상기 엠프티플레그발생판단부(130)의 출력을 입력받아 상기 제2 클락신호(CLK2)에 동기하여 상기 엠프티플래그(EF)를 출력하는 엠프티플레그출력부(140)와;An empty flag output unit 140 which receives the output of the empty flag generation determining unit 130 and outputs the empty flag EF in synchronization with the second clock signal CLK2; 상기 리드인에이블신호(REN)를 입력받고, 상기 제2 클락신호(CLK2)에 동기되어 카운팅 하고, 상기 제1 클락신호(CLK1)에 동기하여 제2 리드카운팅신호를 출력하는 제2 리드감지부(210)와;A second lead sensing unit configured to receive the lead enable signal REN, count in synchronization with the second clock signal CLK2, and output a second lead counting signal in synchronization with the first clock signal CLK1. 210; 상기 라이트인에이블신호(WEN)를 입력받고, 상기 제1 클락신호(CLK1)의 입력에 동기되어 카운트하여 제2 라이트카운팅신호 및 넥스트라이트카운팅신호를 출력하는 제2 라이트감지부(220)와;A second light detection unit 220 receiving the write enable signal WEN and counting the same to the first clock signal CLK1 and outputting a second light counting signal and a next light counting signal; 상기 제2 리드카운팅신호와 상기 제2 라이트카운팅신호 및 넥스트라이트카운팅신호를 입력받아 판단하여 현재 상기 선입선출메모리의 메모리영역에 데이터가 풀 상태인 경우 풀플래그(FF)를 발생하는 풀플레그발생판단부(230)와;Determining the second lead counting signal, the second light counting signal, and the next light counting signal to determine the full flag generation when the data is currently in the memory area of the first-in first-out memory in a full state. Section 230; 상기 풀플레그발생판단부(230)의 출력을 입력받아 상기 제1 클락신호(CLK1)에 동기하여 상기 풀플래그(FF)를 출력하는 풀플레그출력부(240)를 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a full flag output unit 240 for receiving the output of the full flag generation determining unit 230 and outputting the full flag FF in synchronization with the first clock signal CLK1. Memory flag generation circuit. 제 1 항에 있어서,The method of claim 1, 상기 제1 라이트감지부(110)는The first light detection unit 110 상기 라이트인에이블신호(WEN)를 입력받고, 상기 제1 클락신호(CLK1)에 동기되어 카운팅 결과를 출력하는 라이트카운터(112)와;A light counter 112 for receiving the write enable signal WEN and outputting a counting result in synchronization with the first clock signal CLK1; 상기 카운팅 결과를 상기 제2 클락신호(CLK2)에 동기하여 상기 제1 라이트카운팅신호를 출력하는 플리플롭(114)을 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a flip-flop (114) outputting the first write counting signal in synchronization with the counting result in synchronization with the second clock signal (CLK2). 제 2 항에 있어서,The method of claim 2, 상기 라이트카운터(112)는 그레이 코드 카운터로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The light counter 112 is a flag generation circuit of the first-in first-out memory, characterized in that consisting of a gray code counter. 제 1 항에 있어서,The method of claim 1, 상기 제1 리드감지부(120)는The first lead detecting unit 120 is 상기 제2 클락신호(CLK2)에 동기하여 상기 제1 리드카운팅신호를 출력하는 리드카운터(122)와;A read counter 122 outputting the first read counting signal in synchronization with the second clock signal CLK2; 상기 제1 리드카운팅신호를 입력받아 소정수 증가하여 상기 넥스트리드카운팅신호를 출력하는 넥스트리드카운터(126)와;A necked counter 126 that receives the first read counting signal and increases a predetermined number to output the nexted counting signal; 상기 제1 리드카운팅신호 및 상기 넥스트리드카운팅신호를 입력받고, 상기 리드인에이블신호(REN)의 입력에 따라 해당되는 입력을 상기 리드카운터(122)로 출력하는 멀티플렉서(124)를 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a multiplexer 124 that receives the first read counting signal and the next street counting signal and outputs a corresponding input to the read counter 122 according to the input of the lead enable signal REN. The flag generation circuit of the first-in first-out memory. 제 4 항에 있어서,The method of claim 4, wherein 상기 리드카운터(122)는 그레이 코드 카운터로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The lead counter 122 is a flag generation circuit of the first-in first-out memory, characterized in that consisting of a gray code counter. 제 1 항에 있어서,The method of claim 1, 상기 엠프티플레그발생판단부(130)는The empty flag generation unit 130 is 상기 제1 라이트카운팅신호 및 상기 넥스트리드카운팅신호를 입력받아 비교하여 그 결과에 해당되는 소정의 신호를 출력하는 제1 비교부(132)와;A first comparator 132 which receives the first light counting signal and the next street counting signal, compares the first light counting signal, and outputs a predetermined signal corresponding to the result; 상기 제1 라이트카운팅신호 및 상기 제1 리드카운팅신호를 입력받아 비교하여 그 결과에 해당되는 소정의 신호를 출력하는 제2 비교부(134)와;A second comparator 134 which receives the first light counting signal and the first read counting signal, compares the first light counting signal, and outputs a predetermined signal corresponding to the result; 상기 제1 비교부(132)의 출력 및 상기 리드인에이블신호(REN)를 입력하여 소정의 논리 연산을 수행하여 출력하는 제1 논리회로부(136)와;A first logic circuit part 136 for inputting the output of the first comparator 132 and the lead enable signal REN to perform a predetermined logical operation to output the first comparator; 상기 제1 논리회로부(136)의 출력 및 상기 제2 비교부(134)의 출력을 입력받아 논리 연산하여 출력하는 제2 논리회로부(138)를 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a second logic circuit unit 138 which receives the output of the first logic circuit unit 136 and the output of the second comparison unit 134 and outputs a logical operation. . 제 6 항에 있어서,The method of claim 6, 상기 제1 논리회로부(136)는 앤드게이트로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And the first logic circuit section (136) is configured as an AND gate. 제 6 항에 있어서,The method of claim 6, 상기 제2 논리회로부(138)는 오아게이트로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The flag generation circuit of the first-in first-out memory, characterized in that the second logic circuit section (138) is composed of an oragate. 제 1 항에 있어서,The method of claim 1, 상기 엠프티플레그출력부(140)는 상기 제2 클락신호(CLK2)에 동기되어 엠프티플래그(EF)를 출력하는 플리플롭(142)으로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The empty flag output unit 140 comprises a flip-flop (142) for outputting an empty flag (EF) in synchronization with the second clock signal (CLK2). 제 1 항에 있어서,The method of claim 1, 상기 제2 리드감지부(210)는The second lead detecting unit 210 is 상기 리드인에이블신호(REN)를 입력받고, 상기 제2 클락신호(CLK2)에 동기되어 카운팅 결과를 출력하는 리드카운터(212)와;A read counter 212 which receives the read enable signal REN and outputs a counting result in synchronization with the second clock signal CLK2; 상기 카운팅 결과를 상기 제1 클락신호(CLK1)에 동기하여 상기 제2 리드카운팅신호를 출력하는 플리플롭(214)을 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a flip-flop (214) for outputting said second read counting signal in synchronization with said counting result in synchronism with said first clock signal (CLK1). 제 10 항에 있어서,The method of claim 10, 상기 리드카운터(212)는 그레이 코드 카운터로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The lead counter (212) is a flag generation circuit of the first-in first-out memory, characterized in that consisting of a gray code counter. 제 1 항에 있어서,The method of claim 1, 상기 제2 라이트감지부(220)는The second light detecting unit 220 is 상기 제1 클락신호(CLK1)에 동기하여 상기 제2 라이트카운팅신호를 출력하는 라이트카운터(222)와;A light counter 222 outputting the second light counting signal in synchronization with the first clock signal CLK1; 상기 제2 라이트카운팅신호를 입력받아 소정수 증가하여 상기 넥스트라이트카운팅신호를 출력하는 넥스트라이트카운터(226)와;A next light counting unit 226 which receives the second light counting signal and increases a predetermined number to output the next light counting signal; 상기 제2 라이트카운팅신호 및 상기 넥스트라이트카운팅신호를 입력받고, 상기 라이트인에이블신호(WEN)의 입력에 따라 해당되는 입력을 상기 라이트카운터(222)로 출력하는 멀티플렉서(224)를 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a multiplexer 224 which receives the second light counting signal and the next light counting signal and outputs a corresponding input to the light counter 222 according to the input of the light enable signal WEN. The flag generation circuit of the first-in first-out memory. 제 12 항에 있어서,The method of claim 12, 상기 라이트카운터(222)는 그레이 코드 카운터로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The light counter 222 is a flag generation circuit of the first-in first-out memory, characterized in that the gray code counter. 제 1 항에 있어서,The method of claim 1, 상기 풀플레그발생판단부(230)는The full flag generation portion 230 is 상기 제2 리드카운팅신호 및 상기 넥스트라이트카운팅신호를 입력받아 카운팅 상태를 판단하여 그 결과에 해당되는 소정의 신호를 출력하는 제1 판단부(232)와;A first determination unit 232 receiving the second read counting signal and the next light counting signal to determine a counting state and outputting a predetermined signal corresponding to the result; 상기 제2 리드카운팅신호 및 상기 제2 라이트카운팅신호를 입력받아 카운팅 상태를 판단하여 그 결과에 해당되는 소정의 신호를 출력하는 제2 판단부(234)와;A second determination unit 234 which receives the second read counting signal and the second light counting signal, determines a counting state, and outputs a predetermined signal corresponding to the result; 상기 제1 판단부(232)의 출력 및 상기 라이트인에이블신호(WEN)를 입력하여 소정의 논리 연산을 수행하여 출력하는 제1 논리회로부(236)와;A first logic circuit unit 236 for outputting the output of the first determination unit 232 and the write enable signal WEN to perform a predetermined logic operation and output the predetermined logic operation; 상기 제1 논리회로부(236)의 출력 및 상기 제2 판단부(234)의 출력을 입력받아 논리 연산하여 출력하는 제2 논리회로부(238)를 포함하는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And a second logic circuit unit 238 which receives the output of the first logic circuit unit 236 and the output of the second determination unit 234 and performs a logical operation to output the flag logic circuit of the first-in first-out memory. . 제 14 항에 있어서,The method of claim 14, 상기 제1 논리회로부(236)는 앤드게이트로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.And the first logic circuit part (236) is composed of an AND gate. 제 14 항에 있어서,The method of claim 14, 상기 제2 논리회로부(238)는 오아게이트로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The flag generation circuit of the first-in first-out memory, characterized in that the second logic circuit section (238) is composed of an oragate. 제 1 항에 있어서,The method of claim 1, 상기 풀플레그출력부(240)는 상기 제1 클락신호(CLK1)에 동기되어 풀플래그(FF)를 출력하는 플리플롭(242)으로 구성되는 것을 특징으로 하는 선입선출메모리의 플래그발생회로.The full flag output unit (240) is a flag generation circuit of the first-in first-out memory, characterized in that the flip-flop (242) for outputting a full flag (FF) in synchronization with the first clock signal (CLK1).
KR1019960074321A 1996-12-28 1996-12-28 Plag generation circuit of nonsynchronous fifo memory KR100226025B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960074321A KR100226025B1 (en) 1996-12-28 1996-12-28 Plag generation circuit of nonsynchronous fifo memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960074321A KR100226025B1 (en) 1996-12-28 1996-12-28 Plag generation circuit of nonsynchronous fifo memory

Publications (2)

Publication Number Publication Date
KR19980055113A KR19980055113A (en) 1998-09-25
KR100226025B1 true KR100226025B1 (en) 1999-10-15

Family

ID=19491623

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960074321A KR100226025B1 (en) 1996-12-28 1996-12-28 Plag generation circuit of nonsynchronous fifo memory

Country Status (1)

Country Link
KR (1) KR100226025B1 (en)

Also Published As

Publication number Publication date
KR19980055113A (en) 1998-09-25

Similar Documents

Publication Publication Date Title
US6263410B1 (en) Apparatus and method for asynchronous dual port FIFO
US5811998A (en) State machine phase lock loop
US5555524A (en) Semi-synchronous dual port FIFO
KR101089153B1 (en) Method for data signal transfer across different clock-domains
US7003423B1 (en) Programmable logic resource with data transfer synchronization
US4949361A (en) Digital data transfer synchronization circuit and method
US5459855A (en) Frequency ratio detector for determining fixed frequency ratios in a computer system
KR900014984A (en) Circuit element and method for providing output signal representation of time delay between two asynchronous clock signals
US6266780B1 (en) Glitchless clock switch
JP2007108172A (en) Apparatus for measuring on-chip characteristics of semiconductor circuit, and method therefor
KR100226025B1 (en) Plag generation circuit of nonsynchronous fifo memory
JP3990892B2 (en) Automatic bit rate detection method used on SONET transceiver
US5187725A (en) Data detector at output of counter
US5274628A (en) Multisignal synchronizer with shared last stage
Huemer et al. Timing domain crossing using Muller pipelines
JPH10133768A (en) Clock system and semiconductor device, and method for testing semiconductor device, and cad device
Christiansen et al. 32 channel general purpose time to digital converter
US6519311B2 (en) Overflow detector for FIFO
US5294844A (en) Sampling signal generation circuit
EP0572135A2 (en) State machine phase lock loop
Hoppe et al. A 440 MHz 16 bit counter in CMOS standard cells
US6989696B2 (en) System and method for synchronizing divide-by counters
JP4189729B2 (en) Asynchronous readout method of timer count value and timer
JPH098648A (en) Counter circuit
US6470459B1 (en) Half-word synchronization method for internal clock

Legal Events

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

Payment date: 20070612

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee