KR19980044701A - Interface circuit - Google Patents

Interface circuit Download PDF

Info

Publication number
KR19980044701A
KR19980044701A KR1019960062820A KR19960062820A KR19980044701A KR 19980044701 A KR19980044701 A KR 19980044701A KR 1019960062820 A KR1019960062820 A KR 1019960062820A KR 19960062820 A KR19960062820 A KR 19960062820A KR 19980044701 A KR19980044701 A KR 19980044701A
Authority
KR
South Korea
Prior art keywords
data
register
input
flip
flop
Prior art date
Application number
KR1019960062820A
Other languages
Korean (ko)
Other versions
KR100196225B1 (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 KR1019960062820A priority Critical patent/KR100196225B1/en
Publication of KR19980044701A publication Critical patent/KR19980044701A/en
Application granted granted Critical
Publication of KR100196225B1 publication Critical patent/KR100196225B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • G06F13/1689Synchronisation and timing concerns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4247Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
    • G06F13/4256Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus using a clocked protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

본 발명은 인터페이스 회로에 관한 것으로, 입력된 데이타를 일시 저장하는 데이타 레지스터와, 입력된 어드레스를 일시 저장하는 어드레스 레지스터와, 상기 어드레스 레스 레지스터에 저장된 어드레스를 입력으로 받아 상기 데이타를 저장할 내부 레지스터를 결정한 다음 상기 데이타 레지스터에 저장된 데이타를 입력으로 받아 상기 내부 레지스터에 전달하도록 이루어진 내부 레지스터 선택 회로와, 상기 데이타 레지스터에 저장된 데이타와 상기 어드레스 레지스터에 저장된 어드레스를 상기 내부 레지스터 선택 회로에 출력하도록 지시하는 라이트 인에이블 신호와 클록 신호를 입력으로 받아, 상기 라이트 인에이블 신호와 상기 클록 신호를 동기시킨 다음 동기된 신호를 상기 데이타 레지스터와 어드레스 레지스터에 전달하도록 이루어진 동기화 회로를 구비하여 셋업/홀드 타이밍과 라이트 인에이블 신호의 타이밍이 일치하지 않게 되어 발생하는 신호 출력 동작의 오류를 억제하도록 하는 효과를 제공한다.The present invention relates to an interface circuit, comprising: receiving a data register for temporarily storing input data, an address register for temporarily storing the input address, and an address stored in the addressless register as an input to determine an internal register for storing the data; And an internal register selection circuit configured to receive data stored in the data register as an input and transfer the data stored in the data register to the internal register, and write to the internal register selection circuit to output the data stored in the data register and the address stored in the address register. A synchronization configured to receive an enable signal and a clock signal as inputs, synchronize the write enable signal and the clock signal, and then transfer the synchronized signal to the data register and the address register; A circuit to provide the effect of setup / hold timing and the timing of the write enable signal so as to suppress the error in the signal output operation to occur is not consistent.

Description

인터페이스 회로Interface circuit

제 1도는 종래의 인터페이스 회로를 나타낸 블록도.1 is a block diagram showing a conventional interface circuit.

제 2도는 종래의 인터페이스 회로의 동작을 나타낸 타이밍 차트.2 is a timing chart showing the operation of a conventional interface circuit.

제 3도는 본 발명의 인터페이스 회로를 나타낸 블록도.3 is a block diagram showing an interface circuit of the present invention.

제 4도는 본 발명의 동기화 회로를 나타낸 논리 회로도.4 is a logic circuit diagram illustrating a synchronization circuit of the present invention.

제 5도는 본 발명의 동기화 회로의 동작을 나타낸 타이밍 차트.5 is a timing chart showing the operation of the synchronization circuit of the present invention.

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

110, 210:데이타 레지스터120, 220:어드레스 레지스터110, 210: Data register 120, 220: Address register

130, 230:내부 레지스터 선택 회로140, 240:내부 레지스터130, 230: internal register selection circuit 140, 240: internal register

310, 320, 330, 340:D 플립플롭AND:AND 게이트310, 320, 330, 340: D flip-flop AND: AND gate

INV:인버터INV: Inverter

본 발명은 인터페이스 회로에 관한 것으로, 특히 임시 레지스터의 데이타 입출력 타이밍을 결정하는 라이트 인에이블 신호와 클록 신호를 동기시켜, 라이트 인에이블 신호와 클록 신호의 타이밍이 일치하지 않아 발생하는 에러를 방지하도록 하는 인터페이스 회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interface circuit. In particular, the write enable signal and the clock signal for determining the data input / output timing of a temporary register are synchronized with each other so as to prevent an error caused by a timing mismatch between the write enable signal and the clock signal. Relates to an interface circuit.

일반적인 인터페이스 회로를 제 1도를 참조하여 설명하면 다음과 같다.A general interface circuit is described with reference to FIG. 1 as follows.

제 1도는 종래의 인터페이스 회로를 나타낸 블록도이다.1 is a block diagram showing a conventional interface circuit.

제 1도에 나타낸 바와 같이, 데이타 레지스터(110)는 외부에서 입력되는 데이타를 입력으로 받아 이를 임시 저장하도록 연결되고, 어드레스 레지스터(120)는 외부에서 입력되는 어드레스를 입력으로 받아 이를 임시 저장하도록 연결된다.As shown in FIG. 1, the data register 110 is connected to receive externally input data and temporarily store it, and the address register 120 is connected to receive externally input address and temporarily store it. do.

이와 같은 데이타 레지스터(110)와 어드레스 레지스터(120)에는 클록 신호(CLK)가 입력되도록 연결되어 데이타 및 어드레스의 입출력 타이밍이 동기 되도록 이루어진다.The data register 110 and the address register 120 are connected such that a clock signal CLK is inputted so that input and output timings of data and addresses are synchronized.

또한 데이타 레지스터(110)와 어드레스 레지스터(120)에는 임시 저장된 값을 출력하도록 지시하는 라이트 인에이블(write enable) 신호(/WR)가 입력되도록 연결된다.In addition, the data register 110 and the address register 120 are connected so that a write enable signal / WR instructing to output a temporarily stored value is input.

데이타 레지스터(110)에서 출력되는 데이타와 어드레스 레지스터(120)에서 출력되는 어드레스는 내부 레지스터 선택 회로(130)에 입력되도록 연결된다.The data output from the data register 110 and the address output from the address register 120 are connected to be input to the internal register selection circuit 130.

내부 레지스터 선택 회로(130)에서 출력되는 다수개의 신호는 각각의 신호가 대응되는 내부 레지스터(140)에 입력되도록 연결된다.A plurality of signals output from the internal register selection circuit 130 are connected such that each signal is input to the corresponding internal register 140.

내부 레지스터 선택 회로(130)에 입력되는 어드레스가 n비트일 때, 구비되는 내부 레지스터(140)의 수는 2n개이다.When the address input to the internal register selection circuit 130 is n bits, the number of internal registers 140 provided is 2 n .

이와 같이 구성된 종래의 인터페이스 회로의 동작을 제 2도를 참조하여 설명하면 다음과 같다.The operation of the conventional interface circuit configured as described above will be described with reference to FIG.

제 2도는 종래의 인터페이스 회로의 동작을 나타낸 타이밍 차트이다.2 is a timing chart showing the operation of the conventional interface circuit.

데이타 레지스터(110)에 데이타가 입력되어 저장되고, 데이타 레지스터(110)에 입력 저장된 데이타의 고유 어드레스가 어드레스 레지스터(120)에 입력되어 저장된다.Data is input and stored in the data register 110, and a unique address of the data stored in the data register 110 is input and stored in the address register 120.

이때 라이트 인에이블 신호(/WR)가 데이타 레지스터(110)와 어드레스 레지스터(120)에 입력되어 저장된 값을 내부 레지스터 선택 회로(130)로 출력하도록 지시하면, 클록 신호(CLK)의 상승 모서리에 동기 되어 데이타와 어드레스의 출력이 이루어진다.At this time, if the write enable signal / WR is input to the data register 110 and the address register 120 and instructed to output the stored value to the internal register selection circuit 130, it is synchronized to the rising edge of the clock signal CLK. Data and address are output.

내부 레지스터 선택 회로(130)는 입력된 어드레스를 디코딩(decoding)하게 되며, 디코딩 결과에 따라 구비된 다수개의 내부 레지스터(140) 가운데 입력된 데이타가 저장되어야 할 내부 레지스터(140)를 선택하여 데이타를 출력한다.The internal register selection circuit 130 decodes the input address, and selects the internal register 140 to store the input data from among a plurality of internal registers 140 provided according to the decoding result to select the data. Output

내부 레지스터 선택 회로(130)에서 출력된 데이타는 해당 내부 레지스터(140)에 입력되어 저장된다.Data output from the internal register selection circuit 130 is input to and stored in the corresponding internal register 140.

이와 같이 동작하는 종래의 인터페이스 회로에 있어서, 데이타 레지스터(110)와 어드레스 레지스터(120)에 입력되는 라이트 인에이블 신호(/WR)의 입력 타이밍이 클록 신호(CLK)의 입력 타이밍과 반드시 일치하지 않는 경우가 발생한다.In the conventional interface circuit operating as described above, the input timing of the write enable signal / WR input to the data register 110 and the address register 120 does not necessarily match the input timing of the clock signal CLK. The case occurs.

일반적으로 기준 신호인 클록 신호에 의해 출력 타이밍이 결정되는데, 클록 신호의 상태 변화 이전에 출력 신호를 확정짓는 셋업(setup) 시간이 있고, 클록 신호의 변화 이후에 확정된 출력 신호를 유지하는 홀드(hold) 시간이 있다.In general, the output timing is determined by a clock signal, which is a reference signal. There is a setup time for deciding an output signal before a state change of the clock signal, and a hold for maintaining the determined output signal after the change of the clock signal. hold) There is time.

제 2도에서 인용 부호(t)로 표시된 구간은 셋업/홀드 시간을 나타낸다.In FIG. 2, the section denoted by the quotation marks t represents the setup / hold time.

이와 같은 셋업/홀드(setup/hold) 동작에 의해 확정된 데이타는 출력 지시 신호에 의해 출력이 이루어지는 것이 일반적이다.Data determined by such a setup / hold operation is generally output by an output indication signal.

그리고 확정된 출력 신호의 전단과 후단의 출력 신호는 셋업/홀드 시간의 범위에서 벗어나 있기 때문에 기준 신호에 의해 출력하고자 하는 유효 신호가 아닌 무효 신호이다.Since the output signals at the front and rear ends of the determined output signals are out of the range of the setup / hold time, they are invalid signals that are not valid signals to be output by the reference signals.

이와 같은 사실에 비추어 볼 때 상술한 종래의 인터페이스 회로는, 셋업 시간에 확정된 데이타 또는 어드레스가 라이트 인에이블 신호(/WR)에 의해 출력되고, 출력된 데이타 또는 어드레스 신호가 홀드 시간동안 유지되어야 함에도 불구하고, 클록 신호(CLK)의 셋업/홀드 시간과 라이트 인에이블 신호(/WR)의 타이밍이 일치하지 않아 확정된 유효 출력 신호가 아닌 무효 신호가 출력되는 등 인터페이스 회로의 입출력 동작에 심각한 오류가 발생할 수 있는 가능성을 내포하고 있다.In view of this fact, the above-described conventional interface circuit is designed that the data or address determined at the setup time is output by the write enable signal (/ WR), and the output data or address signal must be maintained for the hold time. Nevertheless, there is a serious error in the input / output operation of the interface circuit such that the setup / hold time of the clock signal CLK does not coincide with the timing of the write enable signal / WR, so that an invalid signal is output instead of a valid valid output signal. It has the potential to occur.

즉, 제 2도에서 라이트 인에이블 신호(/WR)가 클록 신호(CLK)보다 먼저 인에이블 되었기 때문에 셋업 동작이 이루어지기 이전의 무효 신호(unknown)가 출력되는 것이다.That is, in FIG. 2, since the write enable signal / WR is enabled before the clock signal CLK, an invalid signal before the setup operation is output is output.

따라서 본 발명의 목적은 라이트 인에이블 신호가 클록 신호에 동기시킨 다음 데이타 레지스터와 어드레스 레지스터에 입력되도록 하여 데이타 레지스터와 어드레스 레지스터에서 정확한 신호의 출력이 이루어지도록 함으로써 셋업/홀드 타이밍과 라이트 인에이블 신호의 타이밍이 일치하지 않게 되어 발생하는 신호 출력 동작의 오류를 억제하도록 함에 있다.Accordingly, an object of the present invention is to synchronize the clock enable signal with the clock enable signal and then to the data register and the address register so that the correct signal is output from the data register and the address register so that the setup / hold timing and the write enable signal can be controlled. The reason for this is to suppress errors in signal output operation caused by timing mismatch.

이와 같은 목적의 본 발명은 입력된 데이타를 일시 저장하는 데이타 레지스터와, 입력된 어드레스를 일시 저장하는 어드레스 레지스터와, 상기 어드레스 레지스터에 저장된 어드레스를 입력으로 받아 상기 데이타를 저장할 내부 레지스터를 결정한 다음 상기 데이타 레지스터에 저장된 데이타를 입력으로 받아 상기 내부 레지스터에 전달하도록 이루어진 내부 레지스터 선택 회로와, 상기 데이타 레지스터에 저장된 데이타와 상기 어드레스 레지스터에 저장된 어드레스를 상기 내부 레지스터 선택 회로에 출력하도록 지시하는 라이트 인에이블 신호와 클록 신호를 입력으로 받아, 상기 라이트 인에이블 신호와 상기 클록 신호를 동기시킨 다음 동기된 신호를 상기 데이타 레지스터와 어드레스 레지스터에 전달하도록 이루어진 동기화 회로를 포함하여 이루어진다.The present invention for this purpose is to determine the data register for temporarily storing the input data, the address register for temporarily storing the input address, and the internal register to store the data by receiving the address stored in the address register as input An internal register selection circuit configured to receive data stored in a register as an input and transfer the data stored in the register to the internal register, a write enable signal instructing the internal register selection circuit to output data stored in the data register and an address stored in the address register; A synchronization circuit configured to receive a clock signal as an input, to synchronize the write enable signal and the clock signal, and then transfer the synchronized signal to the data register and the address register; The lure is.

이와 같이 이루어진 본 발명의 일실시예를 제 3도~제 5도를 참조하여 설명하면 다음과 같다.An embodiment of the present invention made as described above will be described with reference to FIGS. 3 to 5 as follows.

제 3도는 본 발명의 인터페이스 회로를 나타낸 블록도이다.3 is a block diagram showing an interface circuit of the present invention.

제 3도에 나타낸 바와 같이, 데이타 레지스터(210)는 외부에서 입력되는 데이타를 입력으로 받아 이를 임시 저장하도록 연결되고, 어드레스 레지스터(220)는 외부에서 입력되는 어드레스를 입력으로 받아 이를 임시 저장하도록 연결된다.As shown in FIG. 3, the data register 210 is connected to receive externally input data as an input and temporarily store it, and the address register 220 is connected to receive an externally input address as an input and temporarily store it. do.

또한 동기화 회로(300)에는 데이타 레지스터(210)와 어드레스 레지스터(220)에 임시 저장된 값을 출력하도록 지시하는 라이트 인에이블 신호(/WR)가 입력되도록 연결된다.In addition, the synchronization circuit 300 is connected such that a write enable signal / WR for instructing to output a value temporarily stored in the data register 210 and the address register 220 is input.

동기화 회로(300)에서 출력되는 동기 신호(SYNC)는 데이타 레지스터(210)와 어드레스 레지스터(220)에 각각 입력되도록 연결된다.The synchronization signal SYNC output from the synchronization circuit 300 is connected to be input to the data register 210 and the address register 220, respectively.

이와 같은 데이타 레지스터(210)와 어드레스 레지스터(220) 및 동기화 회로(300)에는 클록 신호(CLK)가 입력되도록 연결되어 데이타 및 어드레스의 입출력 타이밍이 동기 되도록 이루어진다.The clock register CLK is connected to the data register 210, the address register 220, and the synchronization circuit 300 such that input / output timings of data and addresses are synchronized.

데이타 레지스터(210)에서 출력되는 데이타 어드레스 레지스터(220)에서 출력되는 어드레스는 내부 레지스터 선택 회로(230)에 입력되도록 연결된다.The address output from the data address register 220 output from the data register 210 is connected to be input to the internal register selection circuit 230.

내부 레지스터 선택 회로(230)에서 출력되는 다수개의 신호는 각각의 신호가 대응되는 내부 레지스터(240)에 입력되도록 연결된다.A plurality of signals output from the internal register selection circuit 230 are connected such that each signal is input to the corresponding internal register 240.

내부 레지스터 선택 회로(230)에 입력되는 어드레스가 n비트일 때, 구비되는 내부 레지스터(240)의 수는 2n개이다.When the address input to the internal register selection circuit 230 is n bits, the number of internal registers 240 provided is 2 n .

제 4도는 본 발명의 인터페이스 회로의 동기화 회로를 나타낸 논리 회로도이다.4 is a logic circuit diagram showing a synchronization circuit of the interface circuit of the present invention.

제 4도에 나타낸 바와 같이, 디 플립플롭(D flip-flop) (310)에는 라이트 인에이블 신호(/WR)가 입력되도록 연결되고, 디 플립플롭(320)에는 디 플립플롭(320)의 출력 신호(Q1)가 입력되도록 연결되며, 디 플립플롭(330)에는 디 플립플롭(320)의 출력 신호(Q2)가 입력되도록 연결된다.As shown in FIG. 4, the write enable signal / WR is connected to the D flip-flop 310, and the output of the de- flip-flop 320 is output to the de flip-flop 320. The signal Q1 is connected to be input, and the de flip-flop 330 is connected to receive the output signal Q2 of the de flip-flop 320.

디 플립플롭(330)의 출력 신호(/Q3)는 디 플립플롭(320)의 출력 신호(Q2) 반전된 신호이다.The output signal / Q3 of the de flip-flop 330 is an inverted signal of the output signal Q2 of the de flip-flop 320.

이와 같은 디 플립플롭(330)의 출력 신호(/Q3)와 디 플립플롭(320)의 출력 신호(Q2)가 AND 게이트(AND)에 입력되도록 연결된다.The output signal / Q3 of the flip-flop 330 and the output signal Q2 of the flip-flop 320 are connected to the AND gate AND.

AND 게이트(AND)의 출력 신호(A)는 디 플립플롭(340)에 입력되도록 연결되며, 디 플립플롭(340)에서 출력되는 신호는 동기화 회로(300)의 출력 신호인 동기 신호(SYNC)이다.The output signal A of the AND gate AND is connected to be input to the de flip-flop 340, and the signal output from the de flip-flop 340 is a synchronization signal SYNC that is an output signal of the synchronization circuit 300. .

디 플립플롭(310) (320) (330)에는 클록 신호(CLK)가 입력되도록 연결되며, 디 플립플롭(340)에는 클록 신호(CLK)가 인버터(INV)에 의해 반전되어 입력되도록 연결된다.The clock signal CLK is connected to the de-flop flops 310, 320, and 330, and the clock signal CLK is connected to the de-flip flop 340 so as to be inverted and input by the inverter INV.

이와 같이 구성된 본 발명의 동기화 회로(300)의 동작을 제 5도를 참조하여 설명하면 다음과 같다.The operation of the synchronization circuit 300 of the present invention configured as described above will be described with reference to FIG.

제 5도는 본 발명의 동기화 회로(300)의 동작을 나타낸 타이밍 차트이다.5 is a timing chart showing the operation of the synchronization circuit 300 of the present invention.

클록 신호(CLK)에 동기되지 않은 채로 로우 레벨로 활성화된 라이트 인에이블 신호(/WR)가 디 플립플롭(310)에 입력되면, 라이트 인에이블 신호(/WR)가 입력된 후의 첫번째 클록 입력(1)에서 디 플립플롭(310)의 로우 레벨 신호(Q1)의 출력이 이루어진다.When the write enable signal / WR activated at the low level without being synchronized with the clock signal CLK is input to the de-flip-flop 310, the first clock input after the write enable signal / WR is inputted. In 1), the output of the low level signal Q1 of the de flip-flop 310 is performed.

두번째 클록 입력(2) 이후에 라이트 인에이블 신호(/WR)가 하이 레벨로 비활성화되면 디 플립플롭(310)의 출력 신호(Q1)는 라이트 인에이블 신호(/WR)가 비활성화된 직후에 발생하는 클록 입력(3)에서 하이 레벨의 신호로 출력된다.If the write enable signal / WR is deactivated to a high level after the second clock input 2, the output signal Q1 of the de-flip flop 310 is generated immediately after the write enable signal / WR is deactivated. The clock input 3 outputs a high level signal.

따라서 디 플립플롭(320)의 신호의 입출력은 디 플립플롭(310)의 신호의 입출력 타이밍 보다 1주기의 클록 신호(CLK) 만큼 지연되어 이루어진다.Therefore, the input / output of the signal of the de-flip-flop 320 is delayed by one clock signal CLK rather than the input / output timing of the signal of the de-flip-flop 310.

즉, 디 플립플롭(320)의 신호의 입력은 라이트 인에이블 신호(/WR)가 입력된 이후의 두번째 클록 입력(2)에서 이루어지며, 신호의 출력은 네번째 클록 입력(4)에서 이루어진다.That is, the input of the signal of the de-flop 320 is made at the second clock input 2 after the write enable signal / WR is input, and the output of the signal is made at the fourth clock input 4.

마찬가지로 디 플립플롭(330)의 신호의 입출력 또한 디 플립플롭(320)의 신호의 입출력 타이밍보다 1주기의 클록 신호(CLK) 만큼 지연되어 이루어지는데, 디 플립플롭(330)의 출력 신호(Q3)는 디 플립플롭(320)의 출력 신호의 반전된 위상을 갖는다.Similarly, the input / output of the signal of the de-flip-flop 330 is also delayed by one clock signal CLK from the input / output timing of the signal of the de-flip-flop 320, and the output signal Q3 of the de-flip-flop 330 is Has the inverted phase of the output signal of the de-flop flop 320.

이와 같은 디 플립플롭(320) (330)의 출력 신호(Q2) (Q3)는 각각 AND 게이트(AND)에 입력되지만 입력 타이밍에 있어서 디 플립플롭(320)의 출력 신호(Q2)가 디 플립플롭(330)의 출력 신호(Q3)보다 1주기의 클록 신호(CLK) 만큼 빠르기 때문에 AND 게이트(AND)의 출력 신호(A)는 디 플립플롭(320)의 출력 신호(Q2)와 디 플립플롭(330)의 출력 신호(Q3)가 모두 하이 레벨로 되는 구간인 네번째 클록 입력(4)의 1주기 동안만 하이 레벨이 된다.The output signals Q2 and Q3 of the de-flip-flops 320 and 330 are input to the AND gate AND, respectively, but the output signal Q2 of the de-flip-flop 320 is de-flip in the input timing. Since the output signal A of the AND gate AND is the output signal Q2 of the de-flip-flop 320 and the de-flip-flop (1) since the clock signal CLK of one cycle is faster than the output signal Q3 of 330. The output signal Q3 of the 330 becomes a high level only for one period of the fourth clock input 4, which is a period where all of the output signals Q3 become a high level.

이와 같이 AND 게이트(AND)에서 출력되는 하이 레벨의 신호는 디 플립플롭(340)에 입력되어 네번째 클록 입력(4)의 하강 모서리에서 1주기의 클록 신호(CLK)와 같은 하이 레벨 구간을 갖도록 출력된다.As such, the high level signal output from the AND gate AND is input to the de-flip-flop 340 so as to have a high level section equal to one cycle of the clock signal CLK at the falling edge of the fourth clock input 4. do.

이때 디 플립플롭(340)에서 신호가 출력되는 타이밍이 네번째 클록 입력(4)의 하강 모서리에서 이루어지는 이유는, 디 플립플롭(340)에는 클록 신호(CLK)가 인버터(INV)에 의해 반전되어 입력되기 때문에 네번째 클록 입력(4)의 하강 모서리가 디 플립플롭(340)에 입력될 때에는 상승 모서리로 반전되어 입력되기 때문이다.In this case, the timing at which the signal is output from the de-flip-flop 340 is performed at the falling edge of the fourth clock input 4. This is because the falling edge of the fourth clock input 4 is inverted to the rising edge when the falling edge of the fourth clock input 4 is input to the flip-flop 340.

상술한 바에서 알 수 있듯이, 클록 신호(CLK)의 타이밍에 동기되지 않은 채로 입력된 라이트 인에이블 신호(/WR)는 본 발명의 동기화 회로(300)를 통해 클록 신호(CLK)에 동기된 동기 신호(SYNC)로서 출력되는 것이다.As can be seen from the foregoing, the write enable signal / WR input without being synchronized with the timing of the clock signal CLK is synchronized with the clock signal CLK through the synchronization circuit 300 of the present invention. It is output as a signal SYNC.

이와 같은 동기 신호(SYNC)가 데이타 레지스터(210)와 어드레스 레지스터(220)에 각각 입력되어 클록 신호(CLK)에 동기된 데이타 또는 어드레스의 출력이 이루어지도록 하는 것이다.The synchronization signal SYNC is input to the data register 210 and the address register 220, respectively, so that the data or address synchronized with the clock signal CLK is output.

따라서 본 발명은 라이트 인에이블 신호가 클록 신호에 동기시킨 다음 데이타 레지스터와 어드레스 레지스터에 입력되도록 하여 데이타 레지스터와 어드레스 레지스터에서 정확한 신호의 출력이 이루어지도록 함으로써 셋업/홀드 타이밍과 라이트 인에이블 신호의 타이밍이 일치하지 않게 되어 발생하는 신호 출력 동작의 오류를 억제하도록 하는 효과가 있다.Therefore, in the present invention, the write enable signal is synchronized with the clock signal and then inputted to the data register and the address register so that the correct signal is output from the data register and the address register so that the setup / hold timing and the timing of the write enable signal are improved. There is an effect to suppress the error of the signal output operation caused by a mismatch.

Claims (5)

입력된 데이타를 일시 저장하는 데이타 레지스터와, 입력된 어드레스를 일시 저장하는 어드레스 레지스터와, 상기 어드레스 레지스터에 저장된 어드레스를 입력으로 받아 상기 데이타를 저장할 내부 레지스터를 결정한 다음 상기 데이타 레지스터에 저장된 데이타를 입력으로 받아 상기 내부 레지스터에 전달하도록 이루어진 내부 레지스터 선택 회로를 포함하는 데이타 입출력 인터페이스 회로에 있어서,A data register for temporarily storing the input data, an address register for temporarily storing the input address, and an address stored in the address register are received as inputs to determine an internal register for storing the data, and then the data stored in the data register is input. A data input / output interface circuit comprising an internal register selection circuit adapted to receive and transfer the internal register, 상기 데이타 레지스터에 저장된 데이타와 상기 어드레스 레지스터에 저장된 어드레스를 상기 내부 레지스터 선택 회로에 출력하도록 지시하는 라이트 인에이블(write enable) 신호와 클록 신호를 입력으로 받아, 상기 라이트 인에이블 신호와 상기 클록 신호를 동기시킨 다음 동기된 신호를 상기 데이타 레지스터와 어드레스 레지스터에 전달하도록 동기화 회로를 포함하는 것이 특징인 인터페이스 회로.The write enable signal and the clock signal are input to receive the data stored in the data register and the address stored in the address register to the internal register selection circuit, and receive the write enable signal and the clock signal. And a synchronization circuit for synchronizing and then transferring the synchronized signal to the data register and the address register. 제 1항에 있어서, 상기 동기화 회로는,The method of claim 1, wherein the synchronization circuit, 데이타 입력 단자에 상기 라이트 인에이블 신호가 입력되도록 연결되고, 상기 클록 신호에 동기되어 데이타의 출력이 이루어지는 제 1플립플롭과;A first flip-flop connected to a data input terminal so that the write enable signal is input, and outputting data in synchronization with the clock signal; 상기 제 1플립플롭의 출력 데이타를 입력으로 받아 상기 클록 신호에 동기되어 데이타의 출력이 이루어지는 제 2플립플롭과;A second flip-flop that receives the output data of the first flip-flop as an input and outputs data in synchronization with the clock signal; 상기 제 2플립플롭의 출력 데이타를 입력으로 받아 상기 클록 신호에 동기되어 데이타의 출력이 이루어지는 제 3플립플롭과;A third flip-flop that receives the output data of the second flip-flop as an input and outputs data in synchronization with the clock signal; 상기 제 2플립플롭의 출력 데이타와 상기 제 3플립플롭의 출력 데이타를 입력으로 받아 논리합 연산을 실시하는 논리 게이트와;A logic gate which receives the output data of the second flip-flop and the output data of the third flip-flop as inputs and performs a logical sum operation; 상기 논리 게이트의 출력 데이타를 입력으로 받아 상기 클록 신호의 반전된 신호에 동기되어 데이타의 출력이 이루어지는 제 4플립플롭과;A fourth flip-flop that receives the output data of the logic gate as an input and outputs data in synchronization with an inverted signal of the clock signal; 상기 제 4플립플롭에 입력되는 클록 신호를 반전시키기 위한 인버터를 포함하는 것이 특징인 인터페이스 회로.And an inverter for inverting a clock signal input to the fourth flip flop. 제 2항에 있어서,The method of claim 2, 상기 제 1플립플롭, 제 2플립플롭, 제 3플립플롭, 제 4플립플롭이 디 플립플롭(D Flip-Flop)인 것이 특징인 인터페이스 회로.And the first flip-flop, the second flip-flop, the third flip-flop, and the fourth flip-flop are D flip-flops. 제 2항에 있어서,The method of claim 2, 상기 제 3플립플롭의 출력 데이타는 제 2플립플롭으로부터 전달된 데이타의 반전된 데이타인 것이 특징인 인터페이스 회로.And the output data of the third flip-flop is inverted data of data transferred from the second flip-flop. 제 2항에 있어서,The method of claim 2, 상기 논리 게이트가 AND 게이트인 것이 특징인 인터페이스 회로.And the logic gate is an AND gate.
KR1019960062820A 1996-12-07 1996-12-07 Interface circuit KR100196225B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960062820A KR100196225B1 (en) 1996-12-07 1996-12-07 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960062820A KR100196225B1 (en) 1996-12-07 1996-12-07 Interface circuit

Publications (2)

Publication Number Publication Date
KR19980044701A true KR19980044701A (en) 1998-09-05
KR100196225B1 KR100196225B1 (en) 1999-06-15

Family

ID=19486407

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960062820A KR100196225B1 (en) 1996-12-07 1996-12-07 Interface circuit

Country Status (1)

Country Link
KR (1) KR100196225B1 (en)

Also Published As

Publication number Publication date
KR100196225B1 (en) 1999-06-15

Similar Documents

Publication Publication Date Title
JP3856696B2 (en) Configurable synchronizer for double data rate synchronous dynamic random access memory
US6240523B1 (en) Method and apparatus for automatically determining the phase relationship between two clocks generated from the same source
US5056120A (en) Phase adjusting circuit
US7586337B2 (en) Circuit for switching between two clock signals independently of the frequency of the clock signals
US20020194520A1 (en) Apparatus and method for clock domain crossing with integrated decode
JP4141885B2 (en) Serial communication device
KR20050041613A (en) Data output control circuit
CN113608600A (en) Method and apparatus for data synchronization in a system having multiple clock domains and reset domains
US6476652B1 (en) Delay locked loop for use in synchronous dynamic random access memory
US7571267B1 (en) Core clock alignment circuits that utilize clock phase learning operations to achieve accurate clocking of data derived from serial data streams having different relative skews
US7164742B2 (en) Deskew architecture
EP1946475B1 (en) Data interface and method of seeking synchronization
KR19990078113A (en) Data transmission device
US6636980B1 (en) System for launching data on a bus by using first clock for alternately selecting data from two data streams and using second clock for launching data thereafter
US7650523B2 (en) Interface apparatus and method for synchronization of data
JP2641276B2 (en) Two-stage synchronizer
KR100196225B1 (en) Interface circuit
US7535985B2 (en) Resynchronization circuit
KR100389038B1 (en) Synchronous sram device with late write function
KR100236979B1 (en) Apparatus for synchronizing cell using the data delay
US20040267848A1 (en) Clock divider with glitch free dynamic divide-by change
JP2783495B2 (en) Clock transfer circuit
JP2008085519A (en) Clock control circuit and semiconductor integrated circuit
JP2000353939A (en) Clock signal synchronous flip flop circuit
KR100703584B1 (en) Balanced dual-edge triggered data bit shifting circuit and method

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: 20050124

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee