KR20070023570A - Interface circuit and semiconductor device - Google Patents

Interface circuit and semiconductor device Download PDF

Info

Publication number
KR20070023570A
KR20070023570A KR1020060079740A KR20060079740A KR20070023570A KR 20070023570 A KR20070023570 A KR 20070023570A KR 1020060079740 A KR1020060079740 A KR 1020060079740A KR 20060079740 A KR20060079740 A KR 20060079740A KR 20070023570 A KR20070023570 A KR 20070023570A
Authority
KR
South Korea
Prior art keywords
circuit
phase
phase shift
input
signal
Prior art date
Application number
KR1020060079740A
Other languages
Korean (ko)
Other versions
KR100822241B1 (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 KR1020060079740A priority Critical patent/KR100822241B1/en
Publication of KR20070023570A publication Critical patent/KR20070023570A/en
Application granted granted Critical
Publication of KR100822241B1 publication Critical patent/KR100822241B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/409Read-write [R-W] circuits 
    • G11C11/4093Input/output [I/O] data interface arrangements, e.g. data buffers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/4076Timing circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/409Read-write [R-W] circuits 
    • G11C11/4096Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches 
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/02Detection or location of defective auxiliary circuits, e.g. defective refresh counters
    • G11C29/022Detection or location of defective auxiliary circuits, e.g. defective refresh counters in I/O circuitry

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Dram (AREA)

Abstract

(과제) 데이터와 그 데이터를 샘플링하기 위한 스트로브 신호의 위상 관계가 입력과 출력에서 상이한 인터페이스에 있어서, 입력과 출력의 데이터와 스트로브 신호의 위상을 조정함으로써 루프백 (loopback) 시험을 가능하게 하는 회로의 제공.(OBJECTIVE) In an interface where the phase relationship of the data and the strobe signal for sampling the data is different at the input and output, the circuitry that enables loopback testing by adjusting the phase of the input and output data and the strobe signal. offer.

(해결수단) 입력측의 위상 시프트 (30) 와 샘플링 회로 (40) 를 테스트하기 위해, 출력측의 위상 시프트 회로 (20) 에 있어서 DQ 와 DQS 의 위상을 함께 출력하고, 동일 상 (相) 의 DQ, DQS 는 출력 버퍼 (14, 15) 로부터 각각 입력 버퍼 (16, 17) 에 입력되어, DQS 는 위상 시프트 회로 (30) 에서 90 도 시프트되고, 샘플링 회로 (40) 에서 DQ 가 샘플된다. 출력측 기능을 테스트하기 위해, 입력측의 DQS 가 위상 시프트하지 않도록 위상 시프트 회로 (30) 를 제어하고, 출력측의 위상 시프트 회로 (20) 는 데이터 샘플링 클록의 위상 시프트량을 90 도로 설정하고, DQS 의 위상 시프트량은 180 도로 고정되고, DQ 에 대하여 미리 90 도 위상 시프트된 DQS 가 출력 버퍼 (15) 로부터 입력 버퍼 (17) 에 입력되어, 위상 시프트 회로 (30) 에서는 위상은 시프트되지 않고, 샘플링 회로 (40) 는 루프백된 DQ 를 90 도 위상 시프트된 DQS 로 샘플한다.(Solution means) In order to test the phase shift 30 and the sampling circuit 40 on the input side, the phase shift circuit 20 on the output side outputs the phases of DQ and DQS together, and the DQ, The DQS is input from the output buffers 14 and 15 to the input buffers 16 and 17 respectively, so that the DQS is shifted by 90 degrees in the phase shift circuit 30 and the DQ is sampled in the sampling circuit 40. To test the output side function, the phase shift circuit 30 is controlled so that the DQS on the input side does not phase shift, the phase shift circuit 20 on the output side sets the phase shift amount of the data sampling clock to 90 degrees, and the phase of the DQS. The shift amount is fixed at 180 degrees, and the DQS, which has been phase shifted 90 degrees with respect to the DQ in advance, is input from the output buffer 15 to the input buffer 17, and the phase shift circuit 30 does not shift the phase. 40) samples the loopbacked DQ with a 90 degree phase shifted DQS.

데이터 신호, 스트로브 신호, 위상, 시프트, 루프백.  Data signal, strobe signal, phase, shift, loopback.

Description

인터페이스 회로 및 반도체 장치{INTERFACE CIRCUIT AND SEMICONDUCTOR DEVICE}INTERFACE CIRCUIT AND SEMICONDUCTOR DEVICE}

도 1 은 본 발명의 일 실시형태의 동작 원리를 설명하기 위한 도면. BRIEF DESCRIPTION OF THE DRAWINGS The figure for demonstrating the operating principle of one Embodiment of this invention.

도 2 는 본 발명의 일 실시예의 구성을 나타내는 도면. 2 is a diagram showing the configuration of an embodiment of the present invention.

도 3 은 DDR SDRAM 의 라이트, 리드시의 DQ, DQS 를 예시하는 타이밍도. 3 is a timing diagram illustrating DQ and DQS at the time of writing and reading of the DDR SDRAM.

도 4 는 DDR SDRAM 의 인터페이스 회로의 종래의 전형적인 구성을 나타내는 도면. 4 shows a conventional typical configuration of an interface circuit of DDR SDRAM.

(부호의 설명) (Explanation of the sign)

10 제어회로 12, 13 래치 회로10 Control circuit 12, 13 Latch circuit

14, 15 출력 버퍼 16, 17 입력 버퍼14, 15 output buffer 16, 17 input buffer

20, 20', 30, 30' 위상 시프트 회로 40 샘플링 회로 20, 20 ', 30, 30' phase shift circuit 40 sampling circuits

100 BIST 회로 101 PRBS 발생 회로 100 BIST circuit 101 PRBS generating circuit

102 PRBS 기대치 대조 회로 105 DQ 단자102 PRBS expectation matching circuit 105 DQ terminal

106 DQS 단자 111 셀렉터 106 DQS jack 111 selector

112, 113 래치 회로 (레지스터) 114, 115 출력 버퍼112, 113 latch circuit (register) 114, 115 output buffer

116, 117 입력 버퍼 120 WDLL116, 117 input buffer 120 WDLL

130 RDLL 140 리드 FIFO130 RDLL 140 Lead FIFO

150 MDLL 150 MDLL

본 발명은 반도체 장치에 관한 것으로, 특히 신호와 그 신호를 샘플링하는 스트로브 신호의 위상이 출력과 입력에서 상이한 인터페이스의 고속 테스트에 적합한 구성에 관한 것이다. TECHNICAL FIELD The present invention relates to a semiconductor device, and more particularly, to a configuration suitable for high speed testing of an interface where a signal and a phase of a strobe signal sampling the signal differ in output and input.

DDR (Double Data Rate) SDRAM (Synchronous DRAM) 은 외부 클록의 상승 에지와 하강 에지를 사용하여 2 배의 주파수로 데이터의 입출력을 행하기 때문에, SDR (Single Data Rate) SDRAM 보다 확정 데이터의 폭이 짧아진다. DDR SDRAM 에서는, 컨트롤러측으로부터 DRAM 의 리시버로의 데이터 전송의 타이밍, DRAM 으로부터 컨트롤러의 리시버에 대하여 데이터를 전송하는 타이밍을 알리기 때문에 쌍방향의 데이터 스트로브 신호 (DQS) 가 사용된다. 즉, 이 데이터 스트로브 신호 (DQS) 는 리드/라이트시의 데이터의 입출력의 동작의 기준 클록으로서 사용되고 있다. Double Data Rate (DDR) Synchronous DRAM (SDRAM) uses the rising and falling edges of an external clock to input and output data at twice the frequency, resulting in shorter defined data widths than single data rate (SDR) SDRAMs. Lose. In the DDR SDRAM, since the timing of data transfer from the controller side to the receiver of the DRAM and the timing of data transfer from the DRAM to the receiver of the controller are informed, the bidirectional data strobe signal DQS is used. That is, this data strobe signal DQS is used as a reference clock for the operation of input / output of data at the time of read / write.

리드시에는, DDR SDRAM 내의 DLL (Delay Lock Loop; 동기 지연 루프) 회로나 내부 제어에 의해, 도 3 에 나타내는 바와 같이, DDR SDRAM 로부터의 데이터 스트로브 신호 (DQS) 의 에지와 리드 데이터 (DQ) 의 에지는 일치한다 (클록 신호 CK, /CK 의 에지와 거의 일치한다). 이 때문에, 도시하지 않은 인터페이스 (컨트롤러) 는, DDR SDRAM 으로부터 리드 데이터 (DQ), 데이터 스트로브 신호 (DQS) 를 수 취한 경우, 데이터 스트로브 신호 (DQS) 를 리드 데이터 (DQ) 의 중앙까지 컨트롤러 내부의 위상 시프트 회로에서 지연시켜 샘플한다 (특허문헌 1 참조). 도 3 에 있어서, 클록 신호 CK, /CK 의 1주기 (360 도) 에 대하여, 데이터 스트로브 신호 (DQS) 의 에지 사이의 위상은 180 도가 되고, 리드시에는 인터페이스 회로 (컨트롤러) 에서, 데이터 스트로브 신호 (DQS) 를 90 도 위상 시프트하여 리드 데이터 (DQ) 를 샘플링하게 된다. At the time of reading, the edge of the data strobe signal DQS and the read data DQ from the DDR SDRAM are shown by a DLL (Delay Lock Loop) circuit or internal control in the DDR SDRAM as shown in FIG. 3. The edges coincide (almost coincide with the edges of the clock signals CK, / CK). For this reason, the interface (controller) which is not shown in figure shows the data strobe signal DQS to the center of the read data DQ when the read data DQ and the data strobe signal DQS are received from the DDR SDRAM. The sample is delayed by a phase shift circuit (refer patent document 1). In Fig. 3, the phase between the edges of the data strobe signal DQS becomes 180 degrees for one cycle (360 degrees) of the clock signals CK and / CK, and at the time of reading, the data strobe signal is provided by the interface circuit (controller). The read data DQ is sampled by phase shifting the DQS by 90 degrees.

또한, 라이트시에는, 도 3 에 나타내는 바와 같이, 도시하지 않은 인터페이스 (컨트롤러) 측으로부터 DDR SDRAM 에 대하여 공급되는 DQS 의 상승과 하강 에지는 라이트 데이터 (DQ) 의 중앙에 위치하고 있다. 도 3 에 나타내는 바와 같이, DQ 에 대하여 DQS 의 위상은 90 도 지연되어 DDR SDRAM 에 공급된다. DDR SDRAM 의 리시버는, DQS 의 상승과 하강 천이를 기준으로 데이터를 취입한다.At the time of writing, as shown in Fig. 3, the rising and falling edges of the DQS supplied to the DDR SDRAM from the interface (controller) side (not shown) are located at the center of the write data DQ. As shown in FIG. 3, the phase of the DQS is delayed by 90 degrees with respect to the DQ, and is supplied to the DDR SDRAM. The receiver of the DDR SDRAM takes in data based on the rising and falling transition of the DQS.

도 4 에, 종래의 DDR SDRAM 의 인터페이스에서의, 데이터 (DQ), 데이터 스트로브 신호 (DQS) 의 출력측과 입력측의 회로 구성의 개략을 나타낸다. 도 4 를 참조하면, 출력측에 있어서, 위상 시프트 회로 (20') 는 데이터 (DQ) 를 클록 신호 (CLK; 인터페이스에 공급되는 동기용의 클록 신호이며, DDR SDRAM 에도 공급된다) 에 대하여 90 도 위상 시프트하여 출력하고, 데이터 스트로브 신호 (DQS) 를 그 클록 (CLK) 에 대하여 180 도 위상 시프트하여 출력하고, 래치 회로 (12, 13) 는 위상 시프트 회로 (20') 로부터의 클록으로 DQ, DQS 를 각각 래치하고 출력 버퍼 (14, 15) 를 통하여 출력 단자에 각각 출력한다. 이에 의해, 도시하지 않은 DDR SDRAM 의 리시버에서의 셋업 타임/홀드 타임을 확보하고 있다. Fig. 4 shows an outline of the circuit configuration of the output side and the input side of the data DQ and the data strobe signal DQS in the interface of the conventional DDR SDRAM. Referring to Fig. 4, on the output side, the phase shift circuit 20 'is phased 90 degrees with respect to the data DQ with respect to the clock signal CLK (a clock signal for synchronization supplied to the interface and also supplied to the DDR SDRAM). Shift-shift output, and phase-shift the data strobe signal DQS 180 degrees with respect to the clock CLK, and output the latched circuits 12 and 13 with the clock from the phase shift circuit 20 '. Each latch is output to the output terminal via the output buffers 14 and 15, respectively. This ensures the setup time / hold time in the receiver of the DDR SDRAM (not shown).

입력측에서는, DDR SDRAM 으로부터 리드 데이터 (DQ) 와 데이터 스트로브 신호 (DQS) 가 동일 타이밍으로 출력되므로, DDR SDRAM 으로부터 출력되는 리드 데이터 (DQ) 와 데이터 스트로브 신호 (DQS) 를 입력 버퍼 (16, 17) 에서 각각 받아, 이 중 데이터 스트로브 신호 (DQS) 는 위상 시프트 회로 (30') 에서 90 도 위상 시프트시켜 출력하고, 샘플링 회로 (40) 는 입력 버퍼 (16) 로부터의 리드 데이터 (DQ) 를, 위상 시프트 회로 (30') 로부터 출력되는 90 도 위상 시프트한 데이터 스트로브 신호로 샘플링한다 (특허문헌 1 참조). 이에 의해, 샘플링 회로 (40) 의 셋업 타임/홀드 타임을 확보하고 있다. On the input side, since the read data DQ and the data strobe signal DQS are output from the DDR SDRAM at the same timing, the read data DQ and the data strobe signal DQS output from the DDR SDRAM are input buffers (16, 17). Each of the data strobe signals DQS is output by being phase shifted by 90 degrees in the phase shift circuit 30 ', and the sampling circuit 40 phases the read data DQ from the input buffer 16. It samples by the data strobe signal 90 degree phase shifted output from the shift circuit 30 '(refer patent document 1). This ensures the setup time / hold time of the sampling circuit 40.

도 4 에 나타낸 인터페이스에 있어서, 예를 들어 출력 기능 (DDR SDRAM 으로 라이트 데이터와 데이터 스트로브 신호 (DQS) 를 90 도, 180 도 위상으로 출력하는 회로 계통) 의 테스트시에는, 출력 신호를 테스터 (ATE : Automatic Test Equipment) 로 기대치와 대조한다. 또한, 인터페이스의 입력출력 기능 (DDR SDRAM 으로부터의 리드 데이터와 데이터 스트로브 신호 (DQS) 를 수취 데이터 스트로브 신호 (DQS) 를 90 도 위상 시프트하여 리드 데이터를 샘플링하는 회로 계통) 의 테스트시에는, 테스터로부터 신호를 입력하여 정상으로 동작하는 것을 확인한다.In the interface shown in Fig. 4, for example, at the time of testing an output function (a circuit system for outputting write data and data strobe signal DQS in phases of 90 degrees and 180 degrees in a DDR SDRAM), an output signal is tested. Automatic Test Equipment) contrasts with expectations. In addition, when testing the interface's input / output function (a circuit system that samples the read data by phase shifting the received data strobe signal DQS by 90 degrees from the read data and the data strobe signal DQS from the DDR SDRAM), Check if the signal is operating normally by inputting the signal.

또, 인터페이스는, 예를 들어 FB (Fully Buffered)-DIMM (Dual Inline Memory Module) 등의 DIMM 에 탑재되어 DIMM 상의 DRAM 과 데이터 교환을 행하고, 칩 내부에 데이터를 버퍼하여 후속 DIMM 의 AMB 또는 메모리 컨트롤러 사이에서 포인트 투 포인트로 데이터를 보내고 받는 AMB (Advanced Memory Buffer) 등에 적용 된다.The interface is mounted on a DIMM, such as a Fully Buffered (FB) -Dual Inline Memory Module (DIMM), for data exchange with DRAM on the DIMM, and buffers the data inside the chip to AMB or memory controller of the subsequent DIMM. Applies to AMB (Advanced Memory Buffer) to send and receive data from point to point.

[특허문헌 1] 일본 공개특허공보 2005-78547 호[Patent Document 1] Japanese Unexamined Patent Publication No. 2005-78547

도 4 를 참조하여 설명한 바와 같이, 고속 DDR SDRAM 용 인터페이스의 출력 기능 및 입력 기능을 테스트하는 경우 고속 테스터를 필요로 한다. 고속의 테스터는 고가이어서 테스트 비용의 증대를 초래한다는 과제가 있다. 그리고, 테스트 비용의 증대는 제품 비용의 상승으로 이어진다.As described with reference to FIG. 4, a high speed tester is required when testing the output function and the input function of the interface for the high speed DDR SDRAM. High speed testers are expensive and have the challenge of increasing test costs. Increasing test costs leads to higher product costs.

상기한 인터페이스를 테스트함에 있어서, 고속 테스터 대신, 예를 들어 양산 시험용의 저속 테스터로 테스트하기 위해, 자기 루프백 (loopback) 테스트의 적용이 고려된다. 그러나, DDR SDRAM 및 그 인터페이스에 있어서는, 데이터 (DQ) 와 데이터 스트로브 신호 (DQS) 사이의 위상이 입력과 출력에서 상이하므로, 인터페이스의 출력 버퍼로부터의 DQ, DQS 의 출력을, 인터페이스의 DQ 와 DQS 의 입력 버퍼로 각각 되돌아가 루프백 시험을 행하는 것은 불가능하다는 것을 알 수 있다.In testing the above interfaces, application of a magnetic loopback test is contemplated in order to test with a low speed tester for mass production testing, for example, instead of a high speed tester. However, in the DDR SDRAM and its interface, since the phase between the data DQ and the data strobe signal DQS is different at the input and the output, the outputs of the DQ and DQS from the output buffer of the interface are converted to the DQ and DQS of the interface. It can be seen that it is impossible to go back to the input buffers and perform loopback tests.

예를 들어 도 4 에 있어서, 출력측의 위상 시프트 회로 (20') 에서 90 도, 180 도, 각각 위상 시프트하여 출력 버퍼 (14, 15) 로부터 출력된 DQ, DQS 를 입력 버퍼 (16, 17) 로 반환하여 입력하고, 위상 시프트 회로 (30') 에서 DQS 를 90 도 위상 시프트하여 DQ 를 샘플링하면, 결과적으로 입력측에서는 DQ 를 180 도 위상 시프트한 DQS 로 샘플링하는 것이 되고, DQ 와 DQS 의 에지가 중복되어 정확하게 DQ 의 변화점을 샘플링하게 된다 (DQ 의 에지와 DQS 의 에지가 중복된다). 이와 같이, 루프백 시험에서는, 인터페이스의 출력 기능 및 입력 기능의 테스트를 올 바르게 행할 수 없다는 과제가 있다.For example, in Fig. 4, the phase shift circuit 20 'on the output side phase shifts 90 degrees and 180 degrees, respectively, and outputs DQ and DQS output from the output buffers 14 and 15 to the input buffers 16 and 17, respectively. If the DQS is sampled by phase shifting the DQS by 90 degrees with the phase shift circuit 30 ', the input side will sample the DQS by 180 degrees phase shift on the input side, and the edges of the DQ and the DQS overlap. It accurately samples the point of change in DQ (the edge of DQ overlaps the edge of DQS). Thus, the loopback test has a problem that the output function and input function of the interface cannot be tested correctly.

본원에서 개시되는 발명은, 상기 과제를 해결하기 위해 개략적으로 이하의 구성으로 이루어진다.In order to solve the said subject, invention disclosed in this application consists of the following structures schematically.

본 발명의 한 양태에 관련된 회로는, 데이터 신호와, 그 데이터 신호의 샘플링의 타이밍을 규정하는 스트로브 신호의 입력과 출력을 행하고, 데이터 신호와 스트로브 신호 사이의 위상 관계가, 입력과 출력에서 상이한 사양의 인터페이스 회로로서, 데이터 신호와 스트로브 신호를 출력하는 측의 회로가, 입력되는 위상 전환 제어 신호에 기초하여, 출력하는 데이터 신호와 출력하는 스트로브 신호의 적어도 한쪽의 위상 시프트량을 가변시켜, 출력하는 데이터 신호와 스트로브 신호 사이의 위상차를 전환 제어하는 회로를 구비하고, 데이터 신호와 스트로브 신호를 입력하는 측이, 위상 전환 제어 신호에 기초하여, 입력된 데이터 신호와 입력된 스트로브 신호의 적어도 한쪽의 위상 시프트량을 가변시켜, 입력된 데이터 신호와 스트로브 신호 사이의 위상차를 전환 제어하는 회로를 구비하고 있다. A circuit according to an aspect of the present invention performs input and output of a data signal and a strobe signal that defines the timing of sampling of the data signal, and a specification in which the phase relationship between the data signal and the strobe signal differs in input and output. As an interface circuit of a circuit, a circuit on the side of outputting a data signal and a strobe signal varies and outputs at least one phase shift amount of the output data signal and the output strobe signal based on the input phase shift control signal. A circuit for switching and controlling a phase difference between the data signal and the strobe signal, wherein a side for inputting the data signal and the strobe signal includes at least one phase of the input data signal and the input strobe signal based on the phase change control signal; By varying the shift amount, the difference between the input data signal and the strobe signal And a switching control circuit for a car.

본 발명의 다른 애스펙트에 관한 회로는, 데이터 신호와 상기 스트로브 신호를 출력하는 출력측 회로가, 입력되는 위상 전환 제어 신호에 기초하여, 적어도 2 개의 위상 시프트량 중에서 1 개를 선택하여 데이터 신호를 위상 시프트시키고, 스트로브 신호를 미리 정해진 위상 시프트량으로 위상 시프트시키는 제 1 위상 시프트 회로를 구비하고 있다. 또한, 데이터 신호와 스트로브 신호를 입력하는 입력측 회로가, 위상 전환 제어 신호에 기초하여, 적어도 2 개의 위상 시프트량 중에 서 1 개를 선택하여, 입력된 스트로브 신호를 위상 시프트시키는 제 2 위상 시프트 회로와, 제 2 위상 시프트 회로로부터 출력되는 스트로브 신호에 응답하여, 입력된 데이터 신호를 샘플링하는 샘플링 회로를 구비하고 있다.A circuit according to another aspect of the present invention is a phase shifted data signal by selecting one of at least two phase shift amounts based on a phase shift control signal inputted by an output circuit that outputs the data signal and the strobe signal. And a first phase shift circuit for phase shifting the strobe signal by a predetermined phase shift amount. In addition, a second phase shift circuit for inputting a data signal and a strobe signal may select one of at least two phase shift amounts and phase shift the input strobe signal based on the phase shift control signal; And a sampling circuit for sampling the input data signal in response to the strobe signal output from the second phase shift circuit.

본 발명에 관한 인터페이스 회로에 있어서, 제 1 및 제 2 위상 시프트 회로는, 통상 동작시에는 데이터 신호와 스트로브 신호의 출력 및 입력의 위상 관계에 대응하여 2 개의 위상 시프트량의 한쪽을 각각 선택하고, 테스트시에는 위상 전환 제어 신호로 지정되는 위상 시프트량을 선택하고, 출력측 회로로부터의 데이터 신호와 스트로브 신호의 입력측 회로로의 루프백에 의해, 입력측 회로에서의 데이터 신호와 스트로브 신호의 위상 관계가 바르게 동작하는지 및/또는 출력측 회로에서의 데이터 신호와 스트로브 신호의 위상 관계가 바르게 동작하는지를 검증할 수 있도록 하고 있다. In the interface circuit according to the present invention, the first and second phase shift circuits respectively select one of the two phase shift amounts in correspondence with the phase relationship between the output and the input of the data signal and the strobe signal, During the test, the phase shift amount designated by the phase shift control signal is selected, and the phase relationship between the data signal and the strobe signal in the input circuit is correctly operated by loopback of the data signal from the output circuit and the strobe signal to the input circuit. And / or whether the phase relationship between the data signal and the strobe signal in the output circuit is properly operated.

본 발명에 관한 인터페이스 회로에 있어서, 통상 동작시에, 출력측 회로에 있어서, 제 1 위상 시프트 회로는 데이터 신호와 스트로브 신호 사이의 위상이 미리 정해진 제 1 값이 되도록 데이터 신호를 위상 시프트하고, 입력측 회로에 있어서, 제 2 위상 시프트 회로는 스트로브 신호를 제 1 값으로 위상 시프트하고, 입력측 회로의 테스트시에, 출력측 회로에 있어서, 제 1 위상 시프트 회로는 데이터 신호와 스트로브 신호의 위상을 동일한 위상으로 하고, 입력측 회로에 있어서, 출력측 회로로부터 출력된 동일 위상의 데이터 신호와 스트로브 신호를 입력하고, 제 2 위상 시프트 회로는 스트로브 신호를 제 1 값으로 위상 시프트하여 샘플링 회로에 출력하는 구성으로 해도 된다. In the interface circuit according to the present invention, in the normal operation, in the output side circuit, the first phase shift circuit phase shifts the data signal so that the phase between the data signal and the strobe signal becomes a predetermined first value, and the input side circuit. In the second phase shift circuit, the strobe signal is phase shifted to the first value, and in the test of the input side circuit, in the output side circuit, the first phase shift circuit sets the phase of the data signal and the strobe signal to the same phase. In the input side circuit, the data signal and strobe signal of the same phase output from the output side circuit are input, and the 2nd phase shift circuit may phase-shift a strobe signal to a 1st value, and may output it to a sampling circuit.

본 발명에 관한 인터페이스 회로에 있어서, 출력측 회로의 테스트시에, 상기 출력측 회로에 있어서, 제 1 위상 시프트 회로는 데이터 신호와 스트로브 신호 사이의 위상을 제 1 값으로 하고, 입력측 회로에 있어서, 제 2 위상 시프트 회로는 스트로브 신호의 위상 시프트를 0 으로 하는 구성으로 해도 된다. In the interface circuit according to the present invention, in the test of the output side circuit, in the output side circuit, the first phase shift circuit sets the phase between the data signal and the strobe signal to the first value, and in the input side circuit, The phase shift circuit may be configured such that the phase shift of the strobe signal is zero.

본 발명에 관한 인터페이스 회로에 있어서, 데이터 신호와 스트로브 신호는, DDR SDRAM 의 데이터 신호 (DQ) 와 데이터 스트로브 신호 (DQS) 로 해도 된다. 이 경우, 통상 동작시에, 출력측 회로에 있어서, 제 1 위상 시프트 회로는 데이터 신호와 스트로브 신호의 위상차가 90 도가 되도록 설정하고, 입력측 회로에 있어서, 제 2 위상 시프트 회로는 입력된 스트로브 신호의 위상을 90 도 위상 시프트시켜 상기 샘플링 회로에 출력하고, 입력측 회로의 테스트시에, 출력측 회로에 있어서, 제 1 위상 시프트 회로는 데이터 신호와 스트로브 신호의 위상을 동일한 위상으로 하고, 입력측 회로에 있어서, 출력측 회로로부터 출력된 동일 위상의 데이터 신호와 스트로브 신호를 입력하고, 제 2 위상 시프트 회로에 있어서, 입력된 스트로브 신호를 90 도 위상 시프트시키는 구성으로 해도 된다. In the interface circuit according to the present invention, the data signal and the strobe signal may be the data signal DQ and the data strobe signal DQS of the DDR SDRAM. In this case, in the normal operation, in the output side circuit, the first phase shift circuit is set so that the phase difference between the data signal and the strobe signal is 90 degrees, and in the input side circuit, the second phase shift circuit performs the phase of the input strobe signal. Phase-shifted by 90 degrees and outputted to the sampling circuit, and when testing the input side circuit, in the output side circuit, the first phase shift circuit sets the phase of the data signal and the strobe signal to the same phase, and in the input side circuit, It is good also as a structure which inputs the data signal and strobe signal of the same phase output from the circuit, and phase-shifts the input strobe signal by 90 degree in a 2nd phase shift circuit.

본 발명에 관한 인터페이스 회로에 있어서, 출력측 회로의 테스트시에, 상기 출력측 회로에 있어서, 제 1 위상 시프트 회로는 데이터 신호와 스트로브 신호의 위상차가 90 도가 되도록 설정하고, 입력측 회로에 있어서, 출력측 회로로부터 출력된 동일 위상의 데이터 신호와 스트로브 신호를 입력하고, 제 2 위상 시프트 회로는 입력된 스트로브 신호의 위상 시프트를 0 으로 한다.In the interface circuit according to the present invention, at the time of testing the output side circuit, in the output side circuit, the first phase shift circuit is set so that the phase difference between the data signal and the strobe signal is 90 degrees, and in the input side circuit, from the output side circuit. The outputted data signal of the same phase and the strobe signal are input, and the second phase shift circuit sets the phase shift of the input strobe signal to zero.

발명을 실시하기To practice the invention 위한 최선의 형태 Best form for

상술한 본 발명에 관하여 더욱 상세하게 설명하기 위해 첨부 도면을 참조하여 설명한다. 도 1 은, 본 발명의 일 실시형태의 구성을 나타내는 도면이다. 도 1 을 참조하면, 본 발명의 일 실시형태에 관한 회로는, 도시하지 않은 DDR SDRAM 과 데이터 교환을 행하는 인터페이스 회로이고, 데이터 (DQ), 데이터 스트로브 신호 (DQS) 의 출력측에 있어서, 위상 시프트 회로 (20) 는 제어회로 (10) 로부터의 위상 전환 제어 신호에 기초하여 출력 데이터 (DQ) 의 샘플링 클록의 위상 시프트량을 90 도 또는 180 도로 전환하는 기능을 구비한다. The present invention described above will be described with reference to the accompanying drawings to explain in more detail. BRIEF DESCRIPTION OF THE DRAWINGS It is a figure which shows the structure of one Embodiment of this invention. Referring to FIG. 1, a circuit according to an embodiment of the present invention is an interface circuit for exchanging data with a DDR SDRAM (not shown), and a phase shift circuit on the output side of data DQ and data strobe signal DQS. 20 has a function of switching the phase shift amount of the sampling clock of the output data DQ to 90 degrees or 180 degrees based on the phase switching control signal from the control circuit 10.

예를 들어,ㄹ DDR SDRAM 으로의 데이터 출력시에는, 위상 시프트 회로 (20) 는, 출력 데이터 (DQ) 의 샘플링 클록의 위상 시프트량을 90 도로 하고, 데이터 스트로브 신호 (DQS) 의 샘플링 클록의 위상 시프트량을 180 도로 하여, DQS 를 DQ 보다 90 도 지연시킨다. For example, during data output to the DDR SDRAM, the phase shift circuit 20 sets the phase shift amount of the sampling clock of the output data DQ to 90 degrees, and the phase of the sampling clock of the data strobe signal DQS. The shift amount is 180 degrees, and the DQS is delayed by 90 degrees from the DQ.

루프백 테스트에 의한 출력측의 기능 테스트시에도, 위상 시프트 회로 (20) 는, 출력 데이터 (DQ) 의 샘플링 클록의 위상 시프트량을 90 도로 한다. 위상 시프트 회로 (20) 에 있어서, 데이터 스트로브 신호 (DQS) 의 샘플링 클록의 위상 시프트량은 180 도로 고정된다. 이에 의해, DQS 를 DQ 보다 90 도 지연시킨다. Even during the function test on the output side by the loopback test, the phase shift circuit 20 sets the phase shift amount of the sampling clock of the output data DQ to 90 degrees. In the phase shift circuit 20, the phase shift amount of the sampling clock of the data strobe signal DQS is fixed to 180 degrees. This delays the DQS by 90 degrees than the DQ.

루프백 테스트에 의한 입력측 기능 테스트시에는, 위상 시프트 회로 (20) 는, 출력 데이터 (DQ) 의 샘플링 클록의 위상 시프트량을 180 도로 한다. 위상 시프트 회로 (20) 에 있어서, 데이터 스트로브 신호 (DQS) 의 샘플링 클록의 위상 시프트량은 180 도가 된다. 이에 의해, 동일 위상의 DQ, DQS 를 출력한다. During the input side functional test by the loopback test, the phase shift circuit 20 sets the phase shift amount of the sampling clock of the output data DQ to 180 degrees. In the phase shift circuit 20, the phase shift amount of the sampling clock of the data strobe signal DQS is 180 degrees. This outputs DQ and DQS of the same phase.

또한, 입력측에 있어서, 위상 시프트 회로 (30) 는, 제어회로 (10) 로부터의 위상 전환 제어 신호에 기초하여, 입력 버퍼 (17) 에 입력된 데이터 스트로브 신호 (DQS) 에 대하여 90 도 위상 시프트와 0 도 (위상 시프트 없음) 을 전환 제어한다. In addition, on the input side, the phase shift circuit 30 has a 90 degree phase shift with respect to the data strobe signal DQS input to the input buffer 17 based on the phase change control signal from the control circuit 10. It controls switching to 0 degree (no phase shift).

예를 들어, 통상 동작시에는, 위상 시프트 회로 (30) 는, DDR SRDAM 으로부터의 데이터 스트로브 신호 (DQS) 를 90 도 위상 시프트하여 샘플링 회로 (40) 에 출력한다. 또한, 루프백에 의한 입력측의 기능 테스트시에, 출력측으로부터 동일 위상의 DQ, DQS 가 출력되고, 이들을 각각 입력 버퍼 (16, 17) 에서 받는 경우, 위상 시프트 회로 (30) 는 DQS 를 90 도 위상 시프트하여 샘플링 회로 (40) 에 출력한다.For example, during normal operation, the phase shift circuit 30 phase shifts the data strobe signal DQS from the DDR SRDAM by 90 degrees and outputs it to the sampling circuit 40. In addition, when the function test on the input side by loopback outputs DQ and DQS of the same phase from the output side and receives them from the input buffers 16 and 17, respectively, the phase shift circuit 30 phase shifts the DQS by 90 degrees. To the sampling circuit 40.

루프백에 의한 출력측의 기능 테스트에 있어서, DQ 와 DQ 보다 90 도 위상을 지연시킨 DQS 가 출력측으로부터 출력되는 경우 이들을 각각 입력 버퍼 (16, 17) 에서 수신하고, 위상 시프트 회로 (30) 에서는 데이터 스트로브 신호 (DQS) 의 위상 시프트량을 0 으로 하여 샘플링 회로 (40) 에 출력한다. In the functional test on the output side by loopback, when DQS having a phase delay of 90 degrees from DQ and DQ is output from the output side, these are respectively received by the input buffers 16 and 17, and the phase shift circuit 30 receives the data strobe signal. The phase shift amount of (DQS) is set to 0 and output to the sampling circuit 40.

또, 특별히 제한되지 않지만, 제어회로 (10) 는, 패턴 데이터를 생성하는 패턴 제네레이터와, 루프백으로 입력한 패턴 데이터를 기대치와 비교하는 검사기를 가지며, 루프백에 의한 셀프 테스트를 행하는 BIST (Built-In Self Test) 회로로서 구성해도 된다. In addition, although not particularly limited, the control circuit 10 includes a pattern generator for generating pattern data, a checker for comparing the pattern data input to the loopback with an expected value, and a BIST (Built-In) for self-testing by loopback. Self Test) circuit.

또한, 특별히 제한되지 않지만, 도 1 에 있어서, 래치 회로 (12, 13) 에 입력되는 데이터 신호 (DQ), 데이터 스트로브 신호 (DQS) 는, 인터페이스가 접속하는 도시하지 않은 메모리 컨트롤러 (도시하지 않은 CPU 의 제어를 받는다) 로부터 공급되는 것으로 한다. 또는, 래치 회로 (12, 13) 에 입력되는 DQ, DQS 를, 테스 트시에 제어회로 (10) 로부터 출력하도록 해도 된다. Although not particularly limited, in FIG. 1, the data signal DQ and the data strobe signal DQS input to the latch circuits 12 and 13 are not shown memory controllers (not shown CPU) to which the interface is connected. Under the control of. Alternatively, DQ and DQS input to the latch circuits 12 and 13 may be output from the control circuit 10 at the time of testing.

입력측의 기능 테스트에 관하여 설명한다. 입력측의 위상 시프트 회로 (30), 샘플링 회로 (40) 등을 테스트하기 위해, 출력측의 위상 시프트 회로 (20) 에 있어서, 데이터 신호 (DQ) 와 데이터 스트로브 신호 (DQS) 의 위상을 함께 출력한다. 이 경우, 데이터 신호 (DQ) 의 샘플링용 클록을 180 도 위상 시프트시켜, 데이터 스트로브 신호 (DQS) 와 동일 위상으로 하여 출력한다. 래치 회로 (12, 13) 는, 데이터 신호 (DQ), 데이터 스트로브 신호 (DQS) 를 각각 위상 시프트 회로 (20) 로부터의 동일 위상의 샘플링 클록 (입력 클록으로부터 모두 180 도 위상이 시프트되어 있다) 으로 샘플링하고, 동일 상 (相) 의 데이터 신호 (DQ) 와 데이터 스트로브 신호 (DQS) 는, 출력 버퍼 (14) 와 출력 버퍼 (15) 로부터 각각 입력측으로 반환되어 입력 버퍼 (16) 와 입력 버퍼 (17) 에 각각 입력되고, 데이터 스트로브 신호 (DQS) 는 위상 시프트 회로 (30) 에서 90 도 위상 시프트되고, 그 90 도 위상 시프트한 데이터 스트로브 신호 (DQS) 를 사용하여 샘플링 회로 (40) 에서 출력 버퍼 (16) 로부터의 데이터 신호 (DQ) 가 샘플된다. The function test on the input side will be described. In order to test the phase shift circuit 30 on the input side, the sampling circuit 40 and the like, the phase shift circuit 20 on the output side outputs the phases of the data signal DQ and the data strobe signal DQS together. In this case, the clock for sampling the data signal DQ is shifted by 180 degrees and output in the same phase as the data strobe signal DQS. The latch circuits 12 and 13 respectively convert the data signal DQ and the data strobe signal DQS into sampling clocks of the same phase from the phase shift circuit 20 (the phases of which are all 180 degrees shifted from the input clock). After sampling, the data signal DQ and data strobe signal DQS of the same phase are returned from the output buffer 14 and the output buffer 15 to the input side, respectively, and the input buffer 16 and the input buffer 17 Are respectively inputted to the data strobe signal DQS, and the data strobe signal DQS is phase shifted by 90 degrees in the phase shift circuit 30, and the output buffers (s) are output from the sampling circuit 40 using the data strobe signal DQS which has been phase shifted by 90 degrees. The data signal DQ from 16 is sampled.

다음으로, 출력측의 기능 테스트에 관하여 설명한다. 출력측 기능을 테스트하기 위해, 제어회로 (10) 는 입력측의 데이터 스트로브 신호 (DQS) 의 위상 시프트를 하지 않도록 위상 시프트 회로 (30) 를 제어한다. 위상 시프트 회로 (30) 에서의 위상 시프트량은 0 도가 된다. Next, the functional test on the output side will be described. To test the output side function, the control circuit 10 controls the phase shift circuit 30 so as not to phase shift the data strobe signal DQS on the input side. The amount of phase shift in the phase shift circuit 30 becomes 0 degree.

출력측의 위상 시프트 회로 (20) 는, 데이터 샘플링 클록의 위상 시프트량을 90 도로 설정하고, 데이터 스트로브 신호 (DQS) 의 위상 시프트량은 180 도로 고정 되어 있기 때문에, 데이터 신호 (DQ) 에 대하여 미리 90 도 위상 시프트된 데이터 스트로브 신호 (DQS) 가 출력 버퍼 (15) 로부터 출력된다. 출력 버퍼 (14) 와 출력 버퍼 (15) 로부터 각각 출력된 데이터 신호 (DQ) 와 데이터 스트로브 신호 (DQS) 는 각각 입력 버퍼 (16) 와 입력 버퍼 (17) 에 입력된다. 입력 버퍼 (17) 로부터 출력되는 데이터 스트로브 신호 (DQS) 는 위상 시프트 회로 (30) 에 입력되지만, 그 위상은 시프트되지 않고 샘플링 회로 (40) 에 출력된다. 샘플링 회로 (40) 에서는, 루프백된 데이터 신호 (DQ) 를 출력측의 위상 시프트 회로 (20) 에서 미리 90 도 위상 시프트된 데이터 스트로브 신호 (DQS) 에 응답하여 샘플한다. The phase shift circuit 20 on the output side sets the phase shift amount of the data sampling clock to 90 degrees, and the phase shift amount of the data strobe signal DQS is fixed to 180 degrees, so that the phase shift circuit 20 is fixed to 90 degrees in advance with respect to the data signal DQ. The phase-shifted data strobe signal DQS is output from the output buffer 15. The data signal DQ and data strobe signal DQS output from the output buffer 14 and the output buffer 15, respectively, are input to the input buffer 16 and the input buffer 17, respectively. The data strobe signal DQS output from the input buffer 17 is input to the phase shift circuit 30, but the phase is not shifted and is output to the sampling circuit 40. In the sampling circuit 40, the looped-back data signal DQ is sampled in response to the data strobe signal DQS phase-shifted 90 degrees in advance by the phase shift circuit 20 on the output side.

이와 같이, 본 발명에 있어서는, 위상 시프트 회로 (30) 에 위상 시프트시키지 않은 모드를 추가하여, 입력측 또는 출력측의 위상 기능의 루프백 테스트를 가능하게 한다. 이 때문에, DDR 과 같이 입력과 출력에서 데이터와 스트로브가 상이한 위상의 인터페이스의 테스트에 있어서, 저렴한 저속 테스터로 고속 루프백 시험을 행할 수 있다. 이하 실시예에 의거하여 설명한다. As described above, in the present invention, a mode without phase shifting is added to the phase shift circuit 30 to enable the loopback test of the phase function on the input side or the output side. For this reason, the high speed loopback test can be performed with an inexpensive low speed tester in the test of the interface of a phase where data and strobe differ in input and output like DDR. It demonstrates based on an Example below.

실시예Example

도 2 는, 본 발명의 일 실시예의 반도체 장치의 구성을 나타내는 도면이고, DDR SDRAM 의 인터페이스 회로에서의 DQ, DQS 의 출력측과 입력측의 구성이 나타나 있다. 도 2 에 있어서, 회로내에 탑재되는 BIST 회로 (100) 는 의사 랜덤 이진 시퀀스를 생성하는 PRBS (Pseudo Random Bit Sequence) 발생 회로 (패턴ㆍ제네레이터; 101) 와, 루프백으로 출력 버퍼로부터 입력 버퍼로 반환하여 입력된 패턴을 기 대치 패턴과 비교하는 PRBS 기대치 대조 회로 (검사기; 102) 를 구비하여, PRBS 발생 회로 (101) 와 PRBS 기대치 대조 회로 (102) 에서 루프백 패스를 검증한다. Fig. 2 is a diagram showing the configuration of the semiconductor device of one embodiment of the present invention, and shows the configuration of the output side and the input side of DQ and DQS in the interface circuit of the DDR SDRAM. In Fig. 2, the BIST circuit 100 mounted in the circuit returns a PRBS (Pseudo Random Bit Sequence) generating circuit (pattern generator) 101 which generates a pseudo random binary sequence and returns from the output buffer to the input buffer in a loopback. A PRBS expectation matching circuit (inspector) 102 for comparing the input pattern with the expected pattern is provided to verify the loopback pass in the PRBS generating circuit 101 and the PRBS expectation matching circuit 102.

반도체 장치의 내부 논리로부터의 데이터와, PRBS 발생 회로 (101) 로부터의 패턴 데이터를 받는 셀렉터 (111) 는, 통상 동작시에는 반도체 장치의 내부 논리로부터의 데이터를 선택하고, 테스트시에 PRBS 발생 회로 (101) 로부터의 패턴을 선택한다.The selector 111 that receives data from the internal logic of the semiconductor device and the pattern data from the PRBS generation circuit 101 selects data from the internal logic of the semiconductor device during normal operation, and selects the data from the PRBS generation circuit during the test. A pattern from 101 is selected.

출력측에 있어서, WDLL (Write Delay Lock Loop; 120) 는, 시스템 록 신호 (clk; 「코어 클록」이라고도 함) 를 입력하고 (도 3 의 DDR SDRAM 의 클록 (CK) 은 시스템 록 신호 (clk) 에 동기하고 있음), BIST 회로 (100) 로부터의 위상 전환 제어 신호를 수신하여 데이터 (DQ) 와 데이터 스트로브 신호 (DQS) 의 샘플링 클록의 위상을 제어한다. 또한, WDLL (120) 로부터의 클록 신호에 응답하여, 셀렉터 (111) 로부터 출력되는 데이터 신호를 샘플링하는 래치 회로 (112) 와, 래치 회로 (112) 의 출력을 입력하여 데이터 신호의 입출력 단자 (DQ; 105) 에 출력하는 출력 버퍼 (114) 와, WDLL (120) 로부터 출력되는 클록 신호에 응답하여 데이터 스트로브 신호 (DQS) 를 샘플링하는 래치 회로 (113) 와, 래치 회로 (113) 의 출력을 입력하여 데이터 스트로브 신호의 입출력 단자 (DQS; 106) 에 출력하는 출력 버퍼 (115) 를 구비하고 있다. 또, 래치 회로 (113) 에 입력되는 데이터 스트로브 신호 (DQS) 는, 통상 동작시에는 도시하지 않은 컨트롤러측으로부터 공급되지만, 테스트시에는 BIST 회로 (100) 에서 생성하여 공급하도록 셀렉터 (미도시) 에 의해 전환 제어하는 구성으로 해도 된다.On the output side, the WDLL (Write Delay Lock Loop) 120 inputs a system lock signal (clk; also referred to as a "core clock") (the clock CK of the DDR SDRAM in Fig. 3 is input to the system lock signal clk). Synchronization), and the phase shift control signal from the BIST circuit 100 is received to control the phases of the sampling clocks of the data DQ and the data strobe signal DQS. Further, in response to the clock signal from the WDLL 120, a latch circuit 112 for sampling the data signal output from the selector 111 and an output of the latch circuit 112 are inputted to input / output terminals DQ of the data signal. An output buffer 114 output to 105, a latch circuit 113 for sampling the data strobe signal DQS in response to a clock signal output from the WDLL 120, and an output of the latch circuit 113; And an output buffer 115 for outputting to the input / output terminal DQS 106 of the data strobe signal. The data strobe signal DQS input to the latch circuit 113 is supplied from the controller side (not shown) during normal operation, but is generated and supplied to the selector (not shown) by the BIST circuit 100 during testing. It is good also as a structure to switch control by this.

입력측은, 출력 버퍼 (114) 의 출력과 단자 (105) 에 입력단이 접속된 입력 버퍼 (116) 와, 출력 버퍼 (115) 의 출력과 단자 (106) 에 입력단이 접속된 입력 버퍼 (117) 와, 입력 버퍼 (117) 의 출력을 입력하는 RDLL (Read Delay Lock Loop; 130) 와, 입력 버퍼 (116) 의 출력을 RDLL (130) 의 출력 클록으로 샘플링하는 리드 FIFO (First In First Out; 140) 와, 클록 (clk) 을 입력으로 하여, 기본 위상 조정 신호를 생성하는 MDLL (Master Delay Lock Loop; 150) 를 구비하고 있다. The input side includes an input buffer 116 having an output terminal of the output buffer 114 and an input terminal connected to the terminal 105, an input buffer 117 having an output terminal connected to the output of the output buffer 115 and a terminal 106, and an input buffer 117. A read delay lock loop (RDLL) 130 for inputting the output of the input buffer 117, and a read in first out first 140 for sampling the output of the input buffer 116 with the output clock of the RDLL 130; And a MDLL (Master Delay Lock Loop) 150 for generating a basic phase adjustment signal with a clock clk as an input.

본 실시예에 있어서는, 도 1 의 위상 시프트 회로 (20, 30) 로서, WDLL (120), RDLL (130) 의 DLL 회로를 사용하고 있다. 본 실시예에서 사용되는 DLL 회로는, 위상 지연량이 선택가능한 임의의 공지 회로 구성을 사용할 수 있고, 예를 들어, 출력 신호의 지연 시간이 가변인 지연 회로와, 출력 신호를 귀환 입력하여 지연 회로로의 입력 신호와의 위상을 비교하는 위상 비교기와, 위상 비교기에서의 위상 비교 결과에 따라 출력 신호와 입력 신호의 위상이 소정의 관계 (예를 들어 90 도, 180 도, 또는 지연 없음) 가 되도록, 지연 회로의 출력 탭을 선택하는 등, 출력 신호의 지연을 가변으로 제어하는 선택 제어 회로를 구비하여 구성된다. 클록의 위상을 원하는 값으로 설정할 수 있는 회로라면, 위상 인터포레이터 등, 임의의 회로 구성을 사용할 수 있다. In the present embodiment, the DLL circuits of the WDLL 120 and the RDLL 130 are used as the phase shift circuits 20 and 30 of FIG. 1. The DLL circuit used in this embodiment can use any known circuit configuration in which the phase delay amount is selectable. For example, a delay circuit having a variable delay time of the output signal and a delayed input signal are fed back to the delay circuit. A phase comparator for comparing the phase with the input signal of and a phase comparator according to the phase comparison result of the phase comparator so that the phase of the output signal has a predetermined relationship (for example, 90 degrees, 180 degrees, or no delay), And a selection control circuit for variably controlling the delay of the output signal, such as selecting an output tap of the delay circuit. Any circuit configuration, such as a phase interposer, can be used as long as it is a circuit which can set the phase of a clock to a desired value.

RDLL (130) 는, BIST 회로 (100) 로부터의 위상 전환 제어 신호에 기초하여 위상 90 도/0 도만큼 전환한다. RDLL (130) 의 가산기 (Adder) 는, MDLL (150) 으로부터의 기본 위상 조정 신호 (RDLL 에 입력되는 기준 클록) 와, 장치 외부로부터 설정 입력되는 RDLL 위상 미조 신호 (미세 조정을 위한 신호) 를 가산하여, 가 산 결과에 따라 위상 시프트량을 동기 제어한다. 위상 시프트량이 0 인 경우, RDLL 은 입력되는 신호와 동일 위상의 신호를 출력하도록 귀환 제어한다. The RDLL 130 switches by phase 90 degrees / 0 degrees based on the phase shift control signal from the BIST circuit 100. The adder of the RDLL 130 adds a basic phase adjustment signal (reference clock input to the RDLL) from the MDLL 150 and an RDLL phase fine signal (a signal for fine adjustment) set and input from the outside of the apparatus. Then, the phase shift amount is synchronously controlled in accordance with the addition result. When the phase shift amount is 0, the RDLL performs feedback control to output a signal having the same phase as the input signal.

WDLL (120) 의 가산기 (Adder) 는, WDLL 위상 미조 신호 (WDLL 에 입력되는 기준 클록) 와 기본 위상 조정 신호를 가산한다. An adder of the WDLL 120 adds a WDLL phase tone signal (a reference clock input to the WDLL) and a basic phase adjustment signal.

도 2 를 참조하여 본 실시예의 동작을 설명한다. 먼저, 통상 동작에 관하여 설명한다. The operation of this embodiment will be described with reference to FIG. First, the normal operation will be described.

통상 동작의 라이트시에, 셀렉터 (111) 는 내부 논리로부터의 데이터를 선택한다. WDLL (120) 는, 데이터 샘플용의 클록으로서 90 도 위상 시프트하여 출력한다. WDLL (120) 는, DQS 샘플용의 클록으로서 180 도 위상 시프트하여 출력한다. 통상 동작시에, 라이트 데이터 신호 (DQ) 와, 이 라이트 데이터 신호 (DQ) 에 대하여 90 도 위상 시프트한 데이터 스트로브 신호 (DQS) 가 DDR SDRAM 에 공급된다.When writing normal operation, the selector 111 selects data from internal logic. The WDLL 120 outputs the phase shifted by 90 degrees as a clock for a data sample. The WDLL 120 phase shifts 180 degrees and outputs it as a clock for a DQS sample. In normal operation, the write data signal DQ and the data strobe signal DQS phase shifted by 90 degrees with respect to the write data signal DQ are supplied to the DDR SDRAM.

또한, 통상 동작의 리드시에, DDR SDRAM 로부터 동일 상 (相) 의 데이터 신호 (리드 데이터; DQ) 와 데이터 스트로브 신호 (DQS) 가, 입력 버퍼 (116) 와 입력 버퍼 (117) 에 각각 입력된다. RDLL (130) 는 입력 버퍼 (117) 로부터 출력된 데이터 스트로브 신호 (DQS) 를 90 도 위상 시프트하여 출력하고, 리드 FIFO (140) 는 RDLL (130) 로부터의 데이터 스트로브 신호를 샘플링 클록으로서 리드 데이터를 샘플한다. 샘플된 데이터는, 컨트롤러 (미도시) 를 통하여 CPU (미도시) 에 공급된다. In addition, during readout of normal operation, data signals (lead data; DQ) and data strobe signals (DQS) of the same phase are input to the input buffer 116 and the input buffer 117 from the DDR SDRAM, respectively. . The RDLL 130 phase shifts the data strobe signal DQS output from the input buffer 117 by 90 degrees, and the read FIFO 140 uses the data strobe signal from the RDLL 130 as a sampling clock to read data. Sample. The sampled data is supplied to a CPU (not shown) via a controller (not shown).

다음으로, BIST 회로 (100) 에 의한 루프백 테스트의 동작에 관하여 설명한 다.Next, the operation of the loopback test by the BIST circuit 100 will be described.

입력측의 기능 테스트를 행하는 경우, 입력측의 RDLL (130) 의 90 도 시프트 기능, 리드 FIFO (140) 의 기능을 테스트하기 위해, BIST (100) 는 위상 전환 제어 신호를 WDLL (120) 에 출력하고, WDLL (120) 는 데이터 (DQ) 와 데이터 스트로브 신호 (DQS) 의 위상을 함께 출력하도록 제어한다. When performing the function test on the input side, in order to test the 90 degree shift function of the RDLL 130 on the input side and the function of the read FIFO 140, the BIST 100 outputs a phase shift control signal to the WDLL 120, The WDLL 120 controls to output the phases of the data DQ and the data strobe signal DQS together.

구체적으로는, WDLL (120) 에 있어서, DQS 의 위상을 180 도 (클록에 대해 180 도), DQ 의 위상을 180 도로 한다. 그리고, BIST 회로 (100) 는, 위상 전환 제어 신호를 RDLL (130) 에 공급하고, RDLL (130) 의 위상 시프트를 90 도로 한다. 동일 상 (相) 의 DQ/DQS 는, 출력 버퍼 (114, 115) 로부터 각각 입력 버퍼 (116, 117) 에 입력되고, RDLL (130) 로 DQS 를 90 도 시프트한 클록으로 리드 FIFO (140) 에 샘플된다. 리드 FIFO (140) 로부터의 데이터를 수취한 PRBS 기대치 대조 회로 (102) 는, 기대치 패턴과 비교하여 일치하는 경우 정상 (Pass) 을 출력한다. Specifically, in the WDLL 120, the phase of the DQS is 180 degrees (180 degrees with respect to the clock), and the phase of the DQ is 180 degrees. And the BIST circuit 100 supplies a phase switching control signal to the RDLL 130, and makes the phase shift of the RDLL 130 90 degrees. The DQ / DQS of the same phase is input to the input buffers 116 and 117 from the output buffers 114 and 115, respectively, and to the read FIFO 140 with a clock shifted by 90 degrees with the DQS to the RDLL 130. Is sampled. The PRBS expectation matching circuit 102, which has received data from the read FIFO 140, compares with the expectation pattern and outputs a pass if it matches.

또한, 출력측의 기능 테스트를 행하는 경우, BIST 회로 (100) 는 위상 전환 제어 신호를 RDLL (130) 에 출력하고, RDLL (130) 의 위상 시프트를 0 도로 하여, 입력 버퍼 (117) 로부터의 데이터 스트로브 신호 (DQS) 의 위상 시프트하지 않도록 한다. 출력측에서 미리 데이터 신호 (DQ) 에 대해 90 도 위상 시프트된 데이터 스트로브 신호 (DQS) 가 입력측에 루프백되어 리드 FIFO (140) 에 샘플된다. In addition, when performing a functional test on the output side, the BIST circuit 100 outputs a phase shift control signal to the RDLL 130, sets the phase shift of the RDLL 130 to 0 degrees, and strobes the data strobe from the input buffer 117. Do not phase shift the signal DQS. The data strobe signal DQS phase shifted 90 degrees with respect to the data signal DQ on the output side in advance is looped back to the input side and sampled to the read FIFO 140.

또한, 상기 실시예에서 설명한 DQ, DQS 의 위상 시프트량의 출력측과 입력측에서의 전환은 어디까지나 일례를 나타낸 것이며, 본 발명은 이러한 구성으로 제한 되는 것은 물론 아니다. 예를 들어, 출력측에서 DQ, DQS 의 위상을 클록 (CLK) 에 대해 모두 180 도로 하여 위상을 함께 출력하고 있지만, 180 도 이외의 동일 위상 A (단, A>90) 로 설정해도 된다. 이 경우, WDLL (120) 에 있어서, 데이터 (DQ) 의 샘플링용 클록의 위상 시프트량의 전환은 A-90 과 A 가 된다. In addition, the switching in the output side and the input side of the phase shift amounts of DQ and DQS described in the above embodiments is merely an example, and the present invention is not limited to this configuration. For example, although the phases of both DQ and DQS are output 180 degrees with respect to the clock CLK on the output side, the phases are output together, but may be set to the same phase A (but A> 90) other than 180 degrees. In this case, in the WDLL 120, the phase shift amounts of the clocks for sampling the data DQ are switched between A-90 and A. FIG.

본 실시예에 의하면, 위상 시프트를 행하는 WDLL (120) 에 위상의 전환 기능, RDLL (130) 에 위상 시프트시키지 않은 모드를 추가하고, 입력측 또는 출력측만의 위상 기능의 테스트를 루프백함으로써 가능하게 한다. 이 때문에, DDR SDRAM 과 같이, 입력과 출력에서 데이터와 스트로브가 상이한 위상의 인터페이스의 테스트에 있어서, 저렴한 저속 테스터를 사용하여 고속 루프백 시험을 행할 수 있다. 또, 테스트 레이트가 저속인 테스터를 사용하여, 인터페이스의 고속 루프백 시험을 행하는 경우, 피 시험 디바이스 (DUT) 인 인터페이스의 동작 주파수가 고속이기 때문에, 테스터로부터 공급되는 클록을, 테스터의 로드 보드상의 시험 지그에 탑재된 멀티플라이 회로 (multiply circuit) 에서 주파수 멀티플라이한 다음 피 시험 디바이스 (DUT) 인 인터페이스에 공급하도록 해도 된다. According to the present embodiment, the phase shift function and the mode without phase shift are added to the WDLL 120 which performs the phase shift, and the loopback test of the phase function only on the input side or the output side is made possible. For this reason, a high speed loopback test can be performed using an inexpensive low speed tester in the test of an interface of a phase where data and strobes differ in input and output, as in DDR SDRAM. In addition, when performing a fast loopback test of an interface using a tester with a low test rate, the clock supplied from the tester is tested on the tester's load board because the operating frequency of the interface as the device under test (DUT) is high. The multiply circuit mounted on the jig may be frequency multiplied and then supplied to the interface as the device under test (DUT).

상기 실시예에서는, 출력측에 있어서, 데이터 스트로브 신호 (DQS) 의 위상 시프트량을 180 도로 고정하고, 데이터 (DQ) 의 위상 시프트량을 90 도 또는 180 도로 전환하는 구성으로 했지만, 데이터 (DQ) 의 위상 시프트량을 90 도로 고정하고, 데이터 스트로브 신호 (DQS) 를 90 도 또는 180 도로 전환하는 구성으로 해도 된다. 또 상기 실시예에서는, 입력측의 RDLL 에 있어서, 데이터 스트로브 신호 (DQS) 의 위상 시프트량을 90 도 또는 0 도로 전환하는 구성으로 했지만, 본 발명 은 이러한 구성으로만 제한되는 것은 아니다. 예를 들어 데이터 스트로브 신호 (DQS) 의 위상 시프트량을 고정값 A(A>90) 으로 하고, 데이터 신호의 위상 시프트량을 A-90, A 로 해도 된다. In the above embodiment, on the output side, the phase shift amount of the data strobe signal DQS is fixed to 180 degrees, and the phase shift amount of the data DQ is switched to 90 degrees or 180 degrees. The phase shift amount may be fixed at 90 degrees, and the data strobe signal DQS may be switched at 90 degrees or 180 degrees. In the above embodiment, the configuration of switching the phase shift amount of the data strobe signal DQS to 90 degrees or 0 degrees in the RDLL on the input side is not limited to this configuration. For example, the phase shift amount of the data strobe signal DQS may be set to the fixed value A (A> 90), and the phase shift amount of the data signal may be set to A-90 or A.

그리고, 상기 실시예에서는, 리드시에 DQ 와 DQS 의 위상이 동일, 라이트시에 DQ, DQS 의 위상차가 90 도인 DDR SDRAM 의 인터페이스 회로를 예로 설명했지만, 본 발명은 DDR SDRAM 의 인터페이스에 제한되는 것이 아니다. 즉, 데이터 신호와 대향 장치에서의 데이터의 샘플 타이밍을 규정하는 스트로브 신호의 위상이 입력과 출력에서 상이한 임의의 경우 (입력 : 0 도, 출력 : 90 도 이외의 경우) 에도 당연히 동일하게 하여 적용할 수 있다. 또한, 도 1 의 위상 시프트 회로 (20) 에 있어서 2 개 이상의 위상 시프트량 중에서 1 개를 선택하고, 위상 시프트 회로 (30) 에 있어서 2 개 이상의 위상 시프트량 중에서 1 개를 선택하는 구성으로 해도 된다. In the above embodiment, the interface circuit of the DDR SDRAM in which the phases of the DQ and the DQS are the same at the time of reading and the phase difference between the DQ and the DQS at the time of writing is described as an example, but the present invention is limited to the interface of the DDR SDRAM. no. In other words, the same applies to any case where the phase of the strobe signal that defines the sample timing of the data in the opposing device differs between the input and the output (other than input: 0 degrees, output: 90 degrees). Can be. 1 may be selected from two or more phase shift amounts in the phase shift circuit 20 of FIG. 1, and one may be selected from two or more phase shift amounts in the phase shift circuit 30. .

이상, 본 발명을 상기 실시예에 의거하여 설명했지만, 본 발명은 상기 실시예의 구성으로만 제한되는 것은 아니며, 본 발명의 범위내에서 당업자라면 이룰 수 있는 각종 변형, 수정을 당연히 포함한다. As mentioned above, although this invention was demonstrated based on the said Example, this invention is not limited only to the structure of the said Example, Of course, it includes the various deformation | transformation and correction which a person skilled in the art can make within the scope of this invention.

본 발명에 의하면, DDR SDRAM 의 인터페이스 등과 같이, 데이터와 그 데이터를 샘플링하기 위한 스트로브 신호의 위상 관계가 입력과 출력에서 상이한 인터페이스에 있어서, 입력과 출력의 데이터와 스트로브 신호의 위상을 조정함으로써 루프백 시험을 가능하게 한다. According to the present invention, in an interface where a phase relationship between data and a strobe signal for sampling the data is different at an input and an output, such as an interface of a DDR SDRAM, a loopback test by adjusting the phase of the data and the strobe signal of the input and output. To make it possible.

Claims (10)

데이터 신호와, 그 데이터 신호의 샘플링의 타이밍을 규정하는 스트로브 신호의 입력과 출력을 행하고, 상기 데이터 신호와 상기 스트로브 신호 사이의 위상 관계가 입력과 출력에서 서로 다른 사양의 인터페이스 회로로서, An input and output of a data signal and a strobe signal defining a timing of sampling of the data signal, wherein a phase relationship between the data signal and the strobe signal is different in input and output as an interface circuit; 상기 데이터 신호와 상기 스트로브 신호를 출력하는 측에, 입력되는 위상 전환 제어 신호에 기초하여, 출력하는 데이터 신호와 출력하는 스트로브 신호의 적어도 한쪽의 위상 시프트량을 가변시켜, 상기 출력하는 데이터 신호와 스트로브 신호 사이의 위상차를 전환 제어하는 회로; 및 On the side outputting the data signal and the strobe signal, at least one phase shift amount of the output data signal and the output strobe signal is varied based on the input phase shift control signal, and the output data signal and the strobe are output. Circuitry for switching control of a phase difference between signals; And 상기 데이터 신호와 상기 스트로브 신호를 입력하는 측에, 상기 위상 전환 제어 신호에 기초하여, 입력된 데이터 신호와 입력된 스트로브 신호의 적어도 한쪽의 위상 시프트량을 가변시켜, 상기 입력된 데이터 신호와 스트로브 신호 사이의 위상차를 전환 제어하는 회로를 구비하는 것을 특징으로 하는 인터페이스 회로.On the side of inputting the data signal and the strobe signal, at least one phase shift amount of the input data signal and the input strobe signal is varied based on the phase shift control signal, so that the input data signal and the strobe signal are changed. Interface circuit characterized by comprising a circuit for switching the phase difference between the control. 데이터 신호와, 그 데이터 신호의 샘플링의 타이밍을 규정하는 스트로브 신호의 입력과 출력을 행하고, 상기 데이터 신호와 상기 스트로브 신호의 위상 관계가 입력과 출력에서 서로 다른 사양의 인터페이스 회로로서, An input and output of a data signal and a strobe signal that defines the timing of sampling of the data signal are performed, and a phase relationship between the data signal and the strobe signal is different in input and output as an interface circuit. 상기 데이터 신호와 상기 스트로브 신호를 출력하는 출력측 회로가, 입력되는 위상 전환 제어 신호에 기초하여, 적어도 2 개의 위상 시프트량 중에서 1 개를 선택하여 상기 데이터 신호를 위상 시프트시키고, 상기 스트로브 신호를 미리 정해 진 위상 시프트량으로 위상 시프트시키는 제 1 위상 시프트 회로; An output side circuit which outputs the data signal and the strobe signal selects one of at least two phase shift amounts based on the input phase shift control signal to phase shift the data signal, and predetermines the strobe signal. A first phase shift circuit for phase shifting by a true phase shift amount; 상기 데이터 신호와 상기 스트로브 신호를 입력하는 입력측 회로가, 상기 위상 전환 제어 신호에 기초하여, 적어도 2 개의 위상 시프트량 중에서 1 개를 선택하여, 입력된 상기 스트로브 신호를 위상 시프트시키는 제 2 위상 시프트 회로; 및 A second phase shift circuit for inputting the data signal and the strobe signal to phase shift the inputted strobe signal by selecting one of at least two phase shift amounts based on the phase shift control signal; ; And 상기 제 2 위상 시프트 회로로부터 출력되는 스트로브 신호에 응답하여, 입력된 데이터 신호를 샘플링하는 샘플링 회로를 구비하는 것을 특징으로 하는 인터페이스 회로.And a sampling circuit for sampling the input data signal in response to the strobe signal output from the second phase shift circuit. 제 2 항에 있어서, The method of claim 2, 상기 제 1 및 제 2 위상 시프트 회로는, The first and second phase shift circuit, 통상 동작의 라이트 및 리드시에는, 상기 데이터 신호와 스트로브 신호의 출력 및 입력의 미리 정해진 위상 관계에 대응하여 규정되는 위상 시프트량을 각각 선택하고, During the writing and reading of the normal operation, the phase shift amounts defined in correspondence with the predetermined phase relationship between the output and the input of the data signal and the strobe signal are respectively selected, 테스트시에는, 테스트 내용에 대응하여 상기 위상 전환 제어 신호에 지정되는 위상 시프트량을 선택하고, 상기 출력측 회로로부터의 데이터 신호와 스트로브 신호의 상기 입력측 회로로의 루프백에 의해, 상기 입력측 회로에서의 데이터 신호와 스트로브 신호의 위상 관계가 바르게 동작하는지 및/또는 상기 출력측 회로에서의 데이터 신호와 스트로브 신호의 위상 관계가 바르게 동작하는지를 검증할 수 있는 것을 특징으로 하는 인터페이스 회로.In the test, the phase shift amount specified in the phase shift control signal is selected in accordance with the test contents, and the data in the input side circuit is looped back to the input side circuit of the data signal and the strobe signal from the output side circuit. And the phase relationship between the signal and the strobe signal operates correctly and / or whether the phase relationship between the data signal and the strobe signal in the output side circuit operates correctly. 제 2 항에 있어서, The method of claim 2, 통상 동작의 라이트시에, 상기 출력측 회로에 있어서, 상기 제 1 위상 시프트 회로는 상기 데이터 신호와 상기 스트로브 신호 사이의 위상이 미리 정해진 제 1 값이 되도록 상기 데이터 신호를 위상 시프트하고, In the writing of the normal operation, in the output side circuit, the first phase shift circuit phase shifts the data signal so that the phase between the data signal and the strobe signal is a first predetermined value, 통상 동작의 리드시에, 상기 입력측 회로에 있어서, 상기 제 2 위상 시프트 회로는 입력된 상기 스트로브 신호를 상기 제 1 값으로 위상 시프트하여 상기 샘플링 회로에 출력하고, In the reading of the normal operation, in the input side circuit, the second phase shift circuit phase shifts the input strobe signal to the first value and outputs it to the sampling circuit, 상기 입력측 회로의 테스트시에는, 상기 출력측 회로에 있어서, 상기 제 1 위상 시프트 회로는, 상기 데이터 신호와 상기 스트로브 신호의 위상을 동일한 위상으로 하고, 상기 입력측 회로에 있어서, 상기 출력측 회로로부터 출력된 동일 위상의 데이터 신호와 스트로브 신호를 입력하고, 상기 제 2 위상 시프트 회로는 상기 스트로브 신호를 상기 제 1 값으로 위상 시프트하여 상기 샘플링 회로에 출력하는 것을 특징으로 하는 인터페이스 회로.In the test of the input side circuit, in the output side circuit, the first phase shift circuit sets the phase of the data signal and the strobe signal to the same phase, and in the input side circuit, the same output from the output side circuit. Inputting a data signal of a phase and a strobe signal, and said second phase shifting circuit phase shifting said strobe signal to said first value and outputting it to said sampling circuit. 제 2 항 또는 제 4 항에 있어서, The method according to claim 2 or 4, 상기 출력측 회로의 테스트시에, 상기 출력측 회로에 있어서, 상기 제 1 위상 시프트 회로는 상기 데이터 신호와 상기 스트로브 신호 사이의 위상을 상기 제 1 값으로 하고, 상기 입력측 회로에 있어서, 상기 제 2 위상 시프트 회로는, 입력된 상기 스트로브 신호의 위상 시프트량을 0 으로 하는 것을 특징으로 하는 인터페이스 회로.In the test of the output side circuit, in the output side circuit, the first phase shift circuit sets the phase between the data signal and the strobe signal as the first value, and in the input side circuit, the second phase shift. And the circuit sets the amount of phase shift of the input strobe signal to zero. 제 2 항에 있어서, The method of claim 2, 상기 데이터 신호와 상기 스트로브 신호는, DDR SDRAM 의 데이터 신호와 데이터 스트로브 신호이고, The data signal and the strobe signal are data signals and data strobe signals of DDR SDRAM, 통상 동작의 라이트시에, 상기 출력측 회로에 있어서, 상기 제 1 위상 시프트 회로는 상기 데이터 신호와 상기 스트로브 신호의 위상차가 90 도가 되도록 설정하고, In the writing of the normal operation, in the output side circuit, the first phase shift circuit is set so that the phase difference between the data signal and the strobe signal is 90 degrees, 통상 동작의 리드시에, 상기 입력측 회로에 있어서, 상기 제 2 위상 시프트 회로는 입력된 스트로브 신호의 위상을 90 도 위상 시프트시켜 상기 샘플링 회로에 출력하고, In the reading of the normal operation, in the input side circuit, the second phase shift circuit phase shifts the phase of the input strobe signal by 90 degrees and outputs it to the sampling circuit, 상기 입력측 회로의 테스트시에, 상기 출력측 회로에 있어서, 상기 제 1 위상 시프트 회로는 상기 데이터 신호와 상기 스트로브 신호의 위상을 동일한 위상으로 하고, 상기 입력측 회로에 있어서, 상기 출력측 회로로부터 출력된 동일 위상의 데이터 신호와 스트로브 신호를 입력하고, 상기 제 2 위상 시프트 회로는 상기 입력된 스트로브 신호를 90 도 위상 시프트시키는 것을 특징으로 하는 인터페이스 회로. In the test of the input side circuit, in the output side circuit, the first phase shift circuit makes the phase of the data signal and the strobe signal the same phase, and in the input side circuit, the same phase output from the output side circuit. Inputting a data signal and a strobe signal, wherein the second phase shift circuit phase shifts the input strobe signal by 90 degrees. 제 2 항 또는 제 6 항에 있어서, The method according to claim 2 or 6, 상기 출력측 회로의 테스트시에, 상기 출력측 회로에 있어서, 상기 제 1 위상 시프트 회로는 상기 데이터 신호와 상기 스트로브 신호의 위상차가 90 도가 되 도록 설정하고, 상기 입력측 회로에 있어서, 상기 출력측 회로로부터 출력된 동일 위상의 데이터 신호와 스트로브 신호를 입력하고, 상기 제 2 위상 시프트 회로는 입력된 상기 스트로브 신호의 위상 시프트를 0 으로 하는 것을 특징으로 하는 인터페이스 회로.In the test of the output side circuit, in the output side circuit, the first phase shift circuit is set so that the phase difference between the data signal and the strobe signal is 90 degrees, and in the input side circuit, the output from the output side circuit is performed. Inputting a data signal of the same phase and a strobe signal, and said second phase shifting circuit sets the phase shift of said inputted strobe signal to zero. 제 2 항에 있어서, The method of claim 2, 상기 제 1 및 제 2 위상 시프트 회로의 적어도 1 개는, 지연 동기 루프 회로로 이루어진 것을 특징으로 하는 인터페이스 회로. And at least one of said first and second phase shift circuits comprises a delayed synchronization loop circuit. 제 2 항에 있어서, The method of claim 2, 테스트 패턴을 생성하는 패턴 생성 회로를 구비하고, 테스트시에는, 상기 패턴 생성 회로로부터의 테스트 패턴이 상기 데이터 신호로서 위상 시프트되어 상기 출력측 회로로부터 상기 입력측 회로에 루프백되고, A pattern generation circuit for generating a test pattern, and during the test, the test pattern from the pattern generation circuit is phase shifted as the data signal and looped back from the output side circuit to the input side circuit, 상기 입력측 회로의 상기 샘플링 회로에서 샘플된 데이터를 입력하여 기대치 패턴과 비교하는 대조 회로를 구비하는 것을 특징으로 하는 인터페이스 회로. And a matching circuit for inputting data sampled by the sampling circuit of the input side circuit and comparing with the expected value pattern. 제 1, 4, 6, 8, 9 항 중 어느 한 항에 기재된 인터페이스 회로를 구비한 반도체 장치. The semiconductor device provided with the interface circuit in any one of Claim 1, 4, 6, 8, 9.
KR1020060079740A 2005-08-24 2006-08-23 Interface circuit and semiconductor device KR100822241B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060079740A KR100822241B1 (en) 2005-08-24 2006-08-23 Interface circuit and semiconductor device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2005-00243373 2005-08-24
KR1020060079740A KR100822241B1 (en) 2005-08-24 2006-08-23 Interface circuit and semiconductor device

Publications (2)

Publication Number Publication Date
KR20070023570A true KR20070023570A (en) 2007-02-28
KR100822241B1 KR100822241B1 (en) 2008-04-17

Family

ID=41345563

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060079740A KR100822241B1 (en) 2005-08-24 2006-08-23 Interface circuit and semiconductor device

Country Status (1)

Country Link
KR (1) KR100822241B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100936797B1 (en) * 2008-04-11 2010-01-14 주식회사 하이닉스반도체 Data delay circuit for semiconductor memory device and method for data delaying
US8643412B2 (en) 2008-09-04 2014-02-04 Advantest Corporation Test apparatus, transmission apparatus, receiving apparatus, test method, transmission method and receiving method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100587052B1 (en) * 2000-06-30 2006-06-07 주식회사 하이닉스반도체 High speed interface apparatus
KR100403635B1 (en) * 2001-11-06 2003-10-30 삼성전자주식회사 Data input circuit and data input method for synchronous semiconductor memory device
JP4450586B2 (en) 2003-09-03 2010-04-14 株式会社ルネサステクノロジ Semiconductor integrated circuit
KR20050061123A (en) * 2003-12-18 2005-06-22 삼성전자주식회사 Data control circuit in the double data rate synchronous dram controller
KR20060086670A (en) * 2005-01-27 2006-08-01 삼성전자주식회사 Semiconductor memory device for adjusting data strobe signal and method of adjusting data strobe signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100936797B1 (en) * 2008-04-11 2010-01-14 주식회사 하이닉스반도체 Data delay circuit for semiconductor memory device and method for data delaying
US8643412B2 (en) 2008-09-04 2014-02-04 Advantest Corporation Test apparatus, transmission apparatus, receiving apparatus, test method, transmission method and receiving method

Also Published As

Publication number Publication date
KR100822241B1 (en) 2008-04-17

Similar Documents

Publication Publication Date Title
US7586955B2 (en) Interface circuit and semiconductor device
US20080205170A1 (en) Ddr-sdram interface circuitry, and method and system for testing the interface circuitry
US7567073B2 (en) Interface circuit and memory controller
JP4786262B2 (en) Interface circuit
US7940066B2 (en) BIST DDR memory interface circuit and method for testing the same
US7876629B2 (en) Memory control methods capable of dynamically adjusting sampling points, and related circuits
US7619404B2 (en) System and method for testing integrated circuit timing margins
JP2002074988A (en) Semiconductor device and test method for semiconductor device
US6556492B2 (en) System for testing fast synchronous semiconductor circuits
US6512707B2 (en) Semiconductor integrated circuit device allowing accurate evaluation of access time of memory core contained therein and access time evaluating method
JP4301680B2 (en) Semiconductor integrated circuit device
US20090013228A1 (en) Bist ddr memory interface circuit and method for testing the same
US20050273678A1 (en) Test apparatus for testing an integrated circuit
JP5186485B2 (en) Test equipment
US6452849B1 (en) Semiconductor device with test mode for performing efficient calibration of measuring apparatus
US7650553B2 (en) Semiconductor integrated circuit apparatus and interface test method
KR100822241B1 (en) Interface circuit and semiconductor device
JP2003043117A (en) Semiconductor integrated circuit
JP2008097699A (en) Semiconductor memory device
KR20010076311A (en) Semiconductor memory device
US7710792B2 (en) Semiconductor device
US6914834B2 (en) System and method for the functional testing of semiconductor memory chips
KR20140075347A (en) Semiconductor apparatus
KR101287863B1 (en) Input circuit of a semiconductor memory device and test system having the same
US20100014368A1 (en) System that increases data eye widths

Legal Events

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

Payment date: 20120322

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20130321

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee