KR20030028293A - Boundary Scan Test System and Method for the Same - Google Patents

Boundary Scan Test System and Method for the Same Download PDF

Info

Publication number
KR20030028293A
KR20030028293A KR1020010060346A KR20010060346A KR20030028293A KR 20030028293 A KR20030028293 A KR 20030028293A KR 1020010060346 A KR1020010060346 A KR 1020010060346A KR 20010060346 A KR20010060346 A KR 20010060346A KR 20030028293 A KR20030028293 A KR 20030028293A
Authority
KR
South Korea
Prior art keywords
chip
delay
clock signal
signal
boundary scan
Prior art date
Application number
KR1020010060346A
Other languages
Korean (ko)
Other versions
KR100429633B1 (en
Inventor
심흥보
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR10-2001-0060346A priority Critical patent/KR100429633B1/en
Publication of KR20030028293A publication Critical patent/KR20030028293A/en
Application granted granted Critical
Publication of KR100429633B1 publication Critical patent/KR100429633B1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318597JTAG or boundary scan test of memory devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3185Reconfiguring for testing, e.g. LSSD, partitioning
    • G01R31/318533Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
    • G01R31/318552Clock circuits details

Abstract

PURPOSE: A boundary scan test system and a delay compensation method thereof are provided, which output data to a boundary scan test chip embedded in a board to check connection state of the chip, and sample data passing through the chip according to delay generated in the board or a cable. CONSTITUTION: A boundary scan test system comprises a main controller checking connection state of a boundary scan test chip by outputting a pattern signal synchronized to a clock signal with the chip and by analyzing the pattern signal passing through the chip. The main controller further includes a correction clock signal part which measures delay generated in the boundary scan test chip embedded in the board and in a signal line transmitting data to the chip and generates a corrected clock signal according to the delay.

Description

바운더리 스캔 테스트 시스템 및 그 딜레이 보정방법{Boundary Scan Test System and Method for the Same}Boundary Scan Test System and Method for Correcting Delay

본 발명은 바운더리 스캔 테스트 시스템 및 그 딜레이 보정방법에 관한 것으로서, 특히 보드에 실장된 칩의 바운더리 스캔 테스트 과정에서 발생하는 딜레이를 보정할 수 있는 바운더리 스캔 테스트 시스템 및 그 딜레이 보정방법에 관한 것이다.The present invention relates to a boundary scan test system and a delay correction method thereof, and more particularly, to a boundary scan test system and a delay correction method capable of correcting a delay occurring during a boundary scan test process of a chip mounted on a board.

최근 들어 보드에 실장된 칩의 연결상태를 확인하기 위한 BST(Boundary Scan Test; 이하 BST라 칭함)가 많이 이용되고 있다. BST는 보드에 실장된 칩의 연결상태를 확인하기 위하여 BST 구조를 가지는 칩의 각 핀으로 '101010'과 같은 일정한 패턴을 가지는 데이터를 입력하고, 상기 입력한 데이터를 한 데이터씩 쉬프트 한 후, 상기 칩을 통과한 데이터를 상기 초기 데이터 패턴 등 정상적으로 출력되어야 하는 데이터 패턴과 비교하는 테스트이다.Recently, a boundary scan test (BST) for checking a connection state of a chip mounted on a board has been widely used. The BST inputs data having a predetermined pattern such as '101010' to each pin of the chip having the BST structure to check the connection state of the chip mounted on the board, shifts the input data by one data, and then This test compares the data passing through the chip with a data pattern that should normally be output, such as the initial data pattern.

만일, 상기 칩을 통과한 데이터가 상기 초기 데이터 패턴과 동일하다면 상기 칩의 연결상태는 문제가 없으나, 동일하지 않은 경우, 이는 상기 칩이 연결상태에 문제가 있다는 의미이므로 사용자는 상기 칩이 보드 실장과정에서 쇼트되거나 하였다는 것을 알 수 있다.If the data passing through the chip is the same as the initial data pattern, there is no problem in the connection state of the chip, but if it is not the same, this means that the chip has a problem in the connection state. It can be seen that it was shorted in the process.

상기 BST를 행할 수 있는 구조를 가지는 BST 칩(BST Chip)은 도 1에 도시된 바와 같은데, 상기 복수개의 데이터 입력핀(I1~In)과 데이터 출력핀(O1~On)은 상기 일정 패턴의 데이터를 입력받고 한 데이터씩 쉬프트 한 후, 출력할 수 있도록 구성된 플립플롭(Flip-Flop) 셀(F/F)과 연결되며, 그 외에 추가된 5개의 핀(TMS, TDI, TDO, TCK, TRST)은 각각 BST 시 상기 BST 칩의 동작을 제어하기 위한 신호가 입력되는 핀이다. 여기서, 상기 TMS는 테스트 모드 선택(Test Mode Select), TDI는 테스트 데이터 입력(Test Data Input), TDO는 테스트 데이터 출력(Test Data Output), TCK는 클락(Test Clock), TRST는 테스트 리셋(Test Reset)에 관한 제어신호가 입력되는 핀이다. 또한, 컨트롤러(1)는 상기 5개의 핀을 통해 입력된 신호에 따라 BST 칩의 상태를 제어하며, 상기 로직부(2)에는 연결상태를 테스트하고자 하는 칩의 기능이 구현되어 있다. 즉, 일반 칩을 상기 로직부(2)에 구현한 후, 상기 복수개의 데이터 입력핀(I1~In), 데이터 출력핀(O1~On), 5개의 테스트 엑세스 포트(Test Access Port(이하 TAP라 칭함); TMS, TDI, TDO, TCK, TRST), 컨트롤러(1)를 그 주변을 구현함으로써 상기 일반 칩은 BST 칩 구조를 가지게 되며, 그에 따라 상기 BST 칩의 연결상태를 PC 등의 연산장치를 통해 확인할 수 있다. 여기서, 상기 TRST는 추가적으로 연결되는 포트이므로 상기 TRST 포트를 제외한 4개의 포트(TMS, TMI, TDO, TCK)만으로도 상기 BST는 수행될 수 있다.A BST chip having a structure capable of performing the BST is illustrated in FIG. 1, wherein the plurality of data input pins I1 to In and the data output pins O1 to On are the data of the predetermined pattern. Is connected to a flip-flop cell (F / F) configured to output and shift the data one by one, and then add five more pins (TMS, TDI, TDO, TCK, TRST) Are pins to which a signal for controlling the operation of the BST chip is input during each BST. Here, the TMS is a test mode select, the TDI is a test data input, the TDO is a test data output, the TCK is a clock, and the TRST is a test reset. It is a pin to which control signal related to reset) is input. In addition, the controller 1 controls the state of the BST chip according to the signals input through the five pins, and the logic unit 2 implements the function of the chip to test the connection state. That is, after implementing a general chip in the logic unit 2, the plurality of data input pins I1 to In, data output pins O1 to On, and five test access ports (hereinafter referred to as TAPs). TMS, TDI, TDO, TCK, TRST) and the controller 1 by implementing the periphery thereof, the general chip has a BST chip structure, and thus the connection state of the BST chip is changed to a computing device such as a PC. You can check Since the TRST is an additionally connected port, the BST may be performed using only four ports (TMS, TMI, TDO, and TCK) excluding the TRST port.

상기와 같은 BST 칩을 이용하여 BST를 실시한 예는 도 2에 도시된 바와 같다. 즉, 메인 컨트롤러(1)가 보드(2)에 실장된 BST 칩(3)으로 클록신호(TCK)에 동기화된 패턴신호(TDO)를 출력하고 상기 칩(3)을 통과한 패턴신호(TDI)를 원래 출력되어야 하는 패턴신호와 비교함으로써 그 연결상태 등을 분석한다.An example of performing BST using the above BST chip is as shown in FIG. 2. That is, the main controller 1 outputs the pattern signal TDO synchronized to the clock signal TCK to the BST chip 3 mounted on the board 2, and the pattern signal TDI passed through the chip 3. Analyze the connection status by comparing with the pattern signal that should be originally output.

그러나, 상기와 같이 메인 컨트롤러(1)와 검사하고자하는 BST 칩(3)이 하나의 보드(2)에 실장되어 있지 않은 경우, 상기 메인 컨트롤러(1)와 보드(2) 사이의 케이블 상의 딜레이(Da1)와, 상기 보드(2)와 상기 칩(3) 사이에 존재하는 버퍼 등의 소자 및 패턴에 인한 딜레이(Da2)와, 상기 칩(3)을 신호가 통과 시 발생하는 딜레이(Db1)와, 상기 칩을 통과한 신호가 상기 보드(2) 상에 존재하는 버퍼 등의 소자 및 패턴을 통과하는데 발생하는 딜레이(Db2)와, 상기 보드(2)를 통과한 신호가 상기 메인 컨트롤러(1)로 입력되기까지 케이블 상에서 발생하는 딜레이(Db3)로 인하여 상기 메인 컨트롤러(1)의 TCK 신호 주기에 영향을 미치게 된다. 즉, TCK의 주기가 상기 메인 컨트롤러(1) 내에서 신호에 대한 셋업타임을 무시한다고 해도 상기 총 딜레이 Dt(Dt=Da1+Da2+Db1+Db2+Db3)보다 작아서는 안된다. 따라서, TCK의 주기가 상기 Dt에 의하여 제한 받게 된다.However, when the main controller 1 and the BST chip 3 to be inspected are not mounted on one board 2 as described above, the delay on the cable between the main controller 1 and the board 2 ( Da1), a delay Da2 due to an element and a pattern such as a buffer existing between the board 2 and the chip 3, and a delay Db1 generated when a signal passes through the chip 3; The delay Db2 generated when the signal passing through the chip passes through elements and patterns, such as a buffer present on the board 2, and the signal passing through the board 2 are connected to the main controller 1. Due to the delay Db3 occurring on the cable until it is input to the TCK, the TCK signal period of the main controller 1 is affected. That is, even if the period of TCK ignores the setup time for the signal in the main controller 1, it should not be smaller than the total delay Dt (Dt = Da1 + Da2 + Db1 + Db2 + Db3). Therefore, the period of the TCK is limited by the Dt.

도 3a, 3b, 3c는 기존의 메인 컨트롤러(1)에서 TDO를 샘플링하는 파형을 도시하고 있다.3A, 3B and 3C show waveforms for sampling the TDO in the existing main controller 1.

도 3a에서 상기 메인 컨트롤러(1)는 TCK의 T1에서 상기 칩(3)에 출력한 데이터가 감지됨에 따라 그 다음 폴링에지(Falling Edge; 이하 FE라 칭함)인 T2에서 상기 칩에서 출력된 TDO 신호를 샘플링 즉, 읽어 들인다. T3에서는 T2에 의한 Data 2를 읽어들인다. Data 1은 T1에서 Dt만큼 딜레이 되었으며, TCK의 주기는 도시된 바와 같이 Ptck이다. 여기서 상기 Ptck는 상기 Dt보다 작다. 그러나, 도 3b처럼 Dt가 증가하여 Ptck와 비슷해지는 경우, 샘플링된 데이터가 신뢰성을 잃게 된다. 또한,도 3c와 같이 Dt가 Ptck보다 큰 경우에는 T2 다음의 FE인 T3에서 샘플링을 하게 된다.In FIG. 3A, when the data output to the chip 3 is detected at T1 of the TCK, the main controller 1 outputs the TDO signal output from the chip at T2, which is the next falling edge (hereinafter, referred to as FE). Sampling ie read it. In T3, Data 2 by T2 is read. Data 1 is delayed by Dt from T1, and the period of TCK is Ptck as shown. Wherein the Ptck is less than the Dt. However, if Dt increases to approximate Ptck as shown in FIG. 3B, the sampled data loses reliability. In addition, when Dt is larger than Ptck as shown in FIG. 3C, sampling is performed at T3, which is the FE after T2.

따라서, Dt값에 따라 BST를 제대로 행할 수 없는 상황이 발생하게 된다는 문제점이 발생한다. 또한, 상기와 같은 문제점을 해결하여 위하여 Dt 값을 측정하여 이를 데이터 샘플링시 고려할 수도 있으나, 현실적으로 검사하고자 하는 칩 및 구현된 검사장비가 매번 변화함에 따라 일일이 Dt를 계산하기는 번거롭다는 문제점이 있다.Therefore, there arises a problem that a situation in which BST cannot be performed properly occurs depending on the Dt value. In addition, in order to solve the above problems, the Dt value may be measured and taken into account during data sampling, but there is a problem in that it is cumbersome to calculate Dt manually as the chip to be inspected and the implemented inspection equipment change every time. .

그 외에도, 상기 도 3b에 도시된 바와 같이 Ptck와 Dt가 유사한 경우, 상기 T2에서 상기 데이터 1은 읽혀야 하나 읽히지 않을 가능성도 존재하므로, Dt를 안다고 해도 무의미한 경우가 존재한다.In addition, when Ptck and Dt are similar as shown in FIG. 3B, since data 1 must be read but not read in T2, there is a meaningless case even if Dt is known.

본 발명은 상기한 종래 기술의 문제점을 해결하기 위하여 안출된 것으로서, 그 목적은 보드에 실장된 바운더리 스캔 테스트 칩의 연결상태 등을 검사하기 위하여 상기 칩으로 데이터를 출력하고 상기 칩을 통과한 데이터를 분석하는 메인 컨트롤러에서 상기 보드 및 케이블 등에서 발생한 딜레이에 따라 상기 칩을 통과한 데이터를 샘플링할 수 있도록 하는 바운더리 스캔 테스트 시스템 및 그 딜레이 보정방법을 제공하는데 있다.The present invention has been made to solve the above-mentioned problems of the prior art, the object of which is to output the data to the chip to check the connection state of the boundary scan test chip mounted on the board and the data passed through the chip The present invention provides a boundary scan test system and a delay correction method for sampling data passing through the chip according to delays generated in the board and cable in the main controller to be analyzed.

도 1은 일반적인 바운더리 스캔 테스트 칩의 구성이 도시된 블록도,1 is a block diagram showing a configuration of a general boundary scan test chip;

도 2는 종래 바운더리 스캔 테스트 시스템의 구성이 도시된 블록도,2 is a block diagram showing the configuration of a conventional boundary scan test system;

도 3a, 3b, 3c는 종래 바운더리 스캔 테스트 시스템에서 발생하는 파형이 도시된 파형도,3A, 3B, and 3C are waveform diagrams showing waveforms occurring in a conventional boundary scan test system,

도 4는 본 발명에 따른 바운더리 스캔 테스트 시스템의 일부구성이 도시된 블록도,4 is a block diagram showing a part of a configuration of a boundary scan test system according to the present invention;

도 5는 도 4의 동작에 따라 TDO 샘플링 시 딜레이가 보정되는 경우의 파형이 도시된 파형도,FIG. 5 is a waveform diagram illustrating waveforms when a delay is corrected during TDO sampling according to the operation of FIG. 4;

도 6은 도 5에 따라 딜레이가 보정되도록 도 4에서 발생하는 파형이 도시된 파형도,FIG. 6 is a waveform diagram illustrating a waveform generated in FIG. 4 such that a delay is corrected according to FIG. 5;

도 7은 도 6에 따라 본 발명에 따른 패턴분석부에서 출력되는 파형의 값을 나타낸 표이다.7 is a table illustrating values of waveforms output from the pattern analyzer according to the present invention according to FIG. 6.

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

10 :딜레이부 20 :패턴분석부10: delay unit 20: pattern analysis unit

30 :딜레이신호 선택부D1~Dn :딜레이소자30: delay signal selector D1 to Dn: delay element

F1~Fn :D-플립플롭F1 ~ Fn: D-Flip Flop

상기한 과제를 해결하기 위한 본 발명에 의한 바운더리 스캔 테스트 시스템의 특징에 따르면, 보드에 실장된 바운더리 스캔 테스트 기능을 지원하는 칩(이하 바운더리 스캔 테스트 칩이라 칭함;Boundary Scan Test Chip)으로 클록신호에 동기화된 패턴신호를 출력하고 상기 칩을 통과한 패턴신호를 분석함으로써 상기 바운더리 스캔 테스트 칩의 연결상태를 검사하는 메인 컨트롤러를 포함하여 이루어지는 바운더리 스캔 테스트 시스템에 있어서, 상기 메인 컨트롤러는 상기 보드에 실장된 바운더리 스캔 테스트 칩 및 상기 바운더리 스캔 테스트 칩으로 데이터를 전송하는 신호라인 상에서 발생하는 딜레이를 측정하고 상기 측정된 딜레이에 따라 보정된 클록신호를 생성하는 보정클록신호부를 더 포함하여 구성되는 것을 특징으로 하는 바운더리 스캔 테스트 시스템.According to a feature of the boundary scan test system according to the present invention for solving the above problems, a chip supporting a boundary scan test function (hereinafter referred to as a boundary scan test chip) mounted on a board is applied to a clock signal. In a boundary scan test system comprising a main controller for outputting a synchronized pattern signal and analyzing the pattern signal passed through the chip to inspect the connection state of the boundary scan test chip, the main controller is mounted on the board And a correction clock signal unit for measuring a delay occurring on a signal line transmitting data to the boundary scan test chip and the boundary scan test chip and generating a clock signal corrected according to the measured delay. Boundary scan test system.

또한, 본 발명에 의한 바운더리 스캔 테스트 시스템의 딜레이 보정방법의 특징에 따르면, 보드에 실장된 바운더리 스캔 테스트 칩의 연결상태를 검사하기 위하여 상기 칩으로 클록신호에 동기화된 패턴신호를 출력하는 제1 단계와, 상기 제1 단계의 클록신호를 복수개의 시간간격 딜레이 시켜 복수개의 딜레이 클록신호를 생성하는 제2 단계와, 상기 복수개의 딜레이 클록신호 중 상기 칩에서 출력된 데이터를 감지하는데 사용되는 보정 클록신호를 선택하는 제3 단계로 이루어진다.In addition, according to a feature of the delay correction method of the boundary scan test system according to the present invention, a first step of outputting a pattern signal synchronized to the clock signal to the chip to check the connection state of the boundary scan test chip mounted on the board And a second step of generating a plurality of delay clock signals by delaying the clock signal of the first step by a plurality of time intervals, and a corrected clock signal used to sense data output from the chip among the plurality of delay clock signals. The third step is to select.

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

본 발명에 의한 바운더리 스캔 테스트 시스템의 보정클록신호부는 도 4에 도시된 바와 같이, 메인 컨트롤러의 내부에 구현되어 상기 메인 컨트롤러의 TCK를 복수개의 시간간격 딜레이시키는 딜레이부(10)와, 상기 딜레이부(10)에서 딜레이된 복수개의 딜레이 클록신호에 동기화하여 상기 메인 컨트롤러에서 출력한 BST 칩 통과신호를 분석하는 패턴분석부(20)와, 상기 패턴분석부(20)의 분석결과에 따라 상기 딜레이부(10)에서 딜레이된 복수개의 딜레이 클록신호 중 하나를 보정 클록신호로 선택하는 딜레이신호 선택부(30)로 구성된다.As shown in Figure 4, the correction clock signal unit of the boundary scan test system according to the present invention is implemented in the main controller delay unit 10 for delaying the TCK of the main controller a plurality of time intervals, and the delay unit A pattern analyzer 20 analyzing the BST chip pass signal output from the main controller in synchronization with the plurality of delayed clock signals delayed by 10 and the delay unit according to an analysis result of the pattern analyzer 20. The delay signal selector 30 selects one of a plurality of delayed clock signals delayed at 10 as a correction clock signal.

여기서, 상기 딜레이부(10)는 상기 TCK가 복수개의 시간간격으로 딜레이될 수 있도록 직렬로 연결된 복수개의 딜레이소자(D1~Dn)로 이루어지면, 필요에 따라 상기 딜레이소자의 딜레이 정도가 조절된다.Here, the delay unit 10 is composed of a plurality of delay elements (D1 ~ Dn) connected in series so that the TCK can be delayed at a plurality of time intervals, the degree of delay of the delay element is adjusted as necessary.

또한, 상기 복수개의 딜레이소자(D1~Dn)의 출력단에서 출력되는 딜레이 클록신호에 동기화되어 상기 딜레이 클록신호에 따라 상기 BST 칩을 통과한 패턴신호(TDO)를 상기 BST 칩으로 출력된 패턴신호와 비교하는 상기 패턴분석부(20)의 D-플립플롭(F1~Fn)은 상기 분석결과 상기 BST 칩 통과 패턴신호가 상기 BST 칩으로 출력된 패턴신호와 동일한 경우 하이파형의 신호를, 동일하지 않을 경우 로우파형의 신호를 출력한다. 여기서, 상기 D-플립플롭에서 각각 출력되는 로우 또는 하이파형의 집합이 Q[1~N]이다.The pattern signal TDO, which is synchronized with the delay clock signal output from the output terminals of the plurality of delay elements D1 to Dn, and passes through the BST chip according to the delay clock signal, is output to the BST chip. The D-flip flops F1 to Fn of the pattern analyzing unit 20 to compare the high waveform signal may not be the same when the BST chip pass pattern signal is the same as the pattern signal output to the BST chip. In this case, a low waveform signal is output. Here, a set of low or high waveforms respectively output from the D-flip flop is Q [1 to N].

상기 딜레이신호 선택부(20)는 상기 패턴분석부(20)에서 출력된 복수개의 D-플립플롭(F1~Fn)의 로우 또는 하이 파형에 따라 상기 복수개의 딜레이소자(D1~Dn) 중 어느 시간간격으로 딜레이된 클록신호에 따라 상기 D-플립플롭(F1~Fn)이 하이파형의 신호를 출력하였는지의 여부를 인지하고 그에 따라 상기 복수개의딜레이소자(D1~Dn)의 출력단에서 출력되는 복수개의 딜레이 클록신호 중 하나를 보정 클록신호로 선택한다. 본 발명에서는 상기 복수개의 D-플립플롭(F1~Fn)에서 출력되는 복수개의 로우/하이 파형을 분석하고 어느 D-플립플롭이 하이파형을 출력하였는지 파악하여 이를 상기 딜레이신호 선택부(20)의 선택신호(SELC)로 입력함으로써 상기 선택신호(SELC)에 따라 상기 딜레이신호 선택부(20)에서 보정 클록신호를 선택할 수 있도록 한다.The delay signal selector 20 may select any one of the plurality of delay elements D1 to Dn according to a low or high waveform of the plurality of D-flip flops F1 to Fn output from the pattern analyzer 20. Recognizing whether the D-flip flop F1 to Fn outputs a high waveform signal according to a clock signal delayed at intervals, and accordingly, a plurality of outputs from the output terminals of the plurality of delay elements D1 to Dn. One of the delay clock signals is selected as the correction clock signal. In the present invention, a plurality of low / high waveforms output from the plurality of D-flip flops F1 to Fn are analyzed, and which D-flip flop outputs a high waveform, and the delay signal selector 20 The delay signal selector 20 selects the corrected clock signal according to the selection signal SELL by inputting the selection signal SELL.

도 5는 본 발명에 따라 생성된 보정 클록신호에 따라 TDO를 샘플링하는 바를 도시하고 있다. 도시된 바와 같이, 보정 클록신호(TCKcomp)의 T2comp는 TCK의 T2에 대하여 Dcomp만큼 딜레이되었다. 종래의 메인 컨트롤러는 도 5에 도시된 TCK에 따라 샘플링을 하지만, 본 발명에 따른 바운더리 스캔 테스트 시스템에서는 데이터 1을 T2comp에, 데이터 2를 T3comp에 샘플링한다. 따라서, BST 칩을 통과한 패턴신호의 딜레이에도 불구하고 샘플링을 원활하게 수행할 수 있다.5 shows a sampling of the TDO according to a corrected clock signal generated in accordance with the present invention. As shown, T2comp of the correction clock signal TCKcomp is delayed by Dcomp with respect to T2 of TCK. The conventional main controller samples according to the TCK shown in FIG. 5, but the boundary scan test system according to the present invention samples data 1 to T2comp and data 2 to T3comp. Therefore, the sampling can be performed smoothly despite the delay of the pattern signal passing through the BST chip.

본 발명에 따라 딜레이를 측정하기 위해서는 먼저, 보드에 실장된 각 BST 칩 등의 부품을 패스모드(Pass Mode)로 만든 뒤 상기 BST 칩의 TDO를 통해 상기 BST 칩의 TDI로 입력된 신호가 그대로 출력되도록 한다. 메인 컨트롤러는 상기 BST 칩으로 입력되는 TMS와 TDI를 조합하여 상기 BST 칩의 모드를 패스모드로 전환할 수 있다.In order to measure the delay according to the present invention, first, a component such as each BST chip mounted on a board is made in a pass mode, and then a signal input to the TDI of the BST chip is output as it is through the TDO of the BST chip. Be sure to The main controller may combine the TMS and the TDI input to the BST chip to switch the mode of the BST chip to the pass mode.

도 6은 본 발명에 따른 바운더리 스캔 테스트 시스템에서 보정 클록신호를 생성하기 위하여 입출력되는 파형을 도시하고 있다.6 illustrates waveforms input and output to generate a corrected clock signal in a boundary scan test system according to the present invention.

도 6에서 TCK는 상기 메인 컨트롤러에서 상기 BST 칩으로 패턴신호를 출력하는 데 사용되는 클록신호를, TDO는 상기 메인 컨트롤러로 입력되는 상기 BST 칩을 통과한 패턴신호를, Clear는 복수개의 D-플립플롭(F1~Fn)에서 패턴신호 분석이 수행될 수 있도록 상기 D-플립플롭(F1~Fn)을 클리어시키는 신호이다.In FIG. 6, TCK is a clock signal used to output a pattern signal from the main controller to the BST chip, TDO is a pattern signal passed through the BST chip input to the main controller, and Clear is a plurality of D-flips. It is a signal for clearing the D-flip flops F1 to Fn so that the pattern signal analysis can be performed on the flops F1 to Fn.

여기서, 도 4에 도시된 복수개의 딜레이소자(D1~Dn)에서 딜레이되는 딜레이의 총합이 Dt보다 크도록 각각의 딜레이소자와 그 개수(n)를 조정한다. 딜레이소자의 출력은 체인 형태로 연결되면서 각각의 D-플립플롭에 연결된다. 메인 컨트롤러는 Clear 신호를 이용하여 D-플립플롭의 출력을 모두 클리어한 후 도 6에 도시된 TDO가 상기 D-플립플롭으로 입력되도록 한다. 이런 상황에서 딜레이소자의 딜레이를 Dt의 1/4이라 하고 그 개수 n을 8이라 하면, 상기 제1~8 딜레이소자로 출력되는 딜레이 클록신호(TCK1~8)은 도시된 바와 같다. 특히, 도 6에서는 라이징에지(Rising Edge; 이하 RE라 칭함)에서 TDO를 샘플링하는 경우의 파형을 도시하고 있다.Here, each delay element and its number n are adjusted so that the sum of delays delayed in the plurality of delay elements D1 to Dn shown in FIG. 4 is greater than Dt. The outputs of the delay elements are connected in chains to their respective D flip-flops. The main controller clears all the outputs of the D-flip flop using the Clear signal, and then causes the TDO shown in FIG. 6 to be input to the D-flip flop. In this situation, if the delay of the delay element is 1/4 of Dt and the number n is 8, the delay clock signals TCK1 to 8 output to the first to eighth delay elements are as shown. In particular, FIG. 6 shows waveforms when the TDO is sampled at a rising edge (hereinafter referred to as RE).

도 7은 P1의 시점에서 출력되는 Q[1~8]의 파형을 나타내고 있다.7 shows waveforms of Q [1-8] output at the point of time P1.

여기서, Q7과 Q8이 하이형태의 파형을 출력함에 따라 상기 TCK7, TCK8의 두번째 RE에서 상기 TDO가 샘플링되었음을 알 수 있다. 즉, Q7과 Q8이 하이형태의 파형을 출력함으로 TCK7과 TCK8을 보정 클록신호로 사용하면 적당할 것으로 간주된다. 따라서 본 발명에 따른 바운더리 스캔 테스트 시스템은 Q1~Q8을 획득하여 'H'가 시작되는 Q를 판단한다.Here, it can be seen that the TDO is sampled at the second REs of the TCK7 and TCK8 as Q7 and Q8 output the high waveform. That is, since Q7 and Q8 output high waveforms, it is considered appropriate to use TCK7 and TCK8 as correction clock signals. Accordingly, the boundary scan test system according to the present invention acquires Q1 to Q8 to determine the Q at which 'H' starts.

상기 판단된 Q에 관한 정보를 선택신호(SLEC)로써 상기 딜레이신호 선택부(30)로 입력된다. 따라서, 상기 딜레이신호 선택부는 상기 선택신호(SLEC)에포함된 Q값에 따라 상기 복수개의 딜레이소자(D1~Dn)에서 출력되는 딜레이신호 중 하나의 딜레이신호를 선택하여 상기 메인 컨트롤러가 상기 선택된 신호를 보정 클록신호로 사용하여 BST 칩을 통과한 패턴신호의 샘플링 시 사용하도록 한다.Information regarding the determined Q is input to the delay signal selection unit 30 as a selection signal SLEC. Accordingly, the delay signal selector selects one delay signal among the delay signals output from the plurality of delay elements D1 to Dn according to the Q value included in the selection signal SLEC, and the main controller selects the delay signal. Is used as a correction clock signal to sample the pattern signal that has passed through the BST chip.

그 외에, 상기 도 6에서 P2 시점의 TCK6의 RE는 상기 TDO의 데이터 시작부와 일치하는데 이럴 경우, 상기 TDO 데이터가 샘플링될 수도 있으나 D-플립플롭의 셋업타임 부족으로 그렇지 않을 수도 있다. 즉, Q6은 예측 불가능하다. 도 7에서 Q7은 'L'이었지만, 'H'가 될 수도 있다.In addition, the RE of the TCK6 at the time P2 in FIG. 6 coincides with the beginning of the data of the TDO. In this case, the TDO data may be sampled but may not be due to the lack of setup time of the D-flip-flop. That is, Q6 is unpredictable. In FIG. 7, Q7 was 'L', but may also be 'H'.

따라서, 본 발명에 따른 바운더리 스캔 테스트 시스템에서는 상기 딜레이신호 선택부(30)로 인가되는 선택신호를 'H'가 시작되는 Q 번호의 다음 번호 즉, 하나 위 번호를 기준으로 한다. 이에 따라 상기 TCK6으로 인한 애매한 상황은 해소될 것이며 상기 딜레이신호 선택부(30)는 보정 클록신호로써 TCK8을 선택할 것이다.Therefore, in the boundary scan test system according to the present invention, the selection signal applied to the delay signal selection unit 30 is based on the next number of the Q number that starts 'H', that is, the one above the number. Accordingly, the ambiguity caused by the TCK6 will be solved, and the delay signal selector 30 will select TCK8 as the correction clock signal.

실제의 경우를 살펴본다.Let's look at the actual case.

통상 TCK를 10㎒라고 하면, TCK 주기는 100㎱가 된다. 딜레이소자를 10㎱인 IC 버퍼를 쓰고 최대 Dt를 150㎱라 하면, n을 16정도로 하여 회로를 구성하면 된다. 딜레이소자로는 실제 딜레이 소자를 사용해도 되지만 각 딜레이가 정확할 필요는 없기 때문에 TCK 주기의 약 1/4정도 이하의 딜레이를 가지는 적당한 IC 버퍼를 딜레이소자로 사용할 수 있다.Normally, if TCK is 10 MHz, the TCK period is 100 ms. If the delay element is written with an IC buffer of 10µs and the maximum Dt is 150µs, the circuit can be configured with n being about 16. As a delay element, an actual delay element may be used, but since each delay does not need to be accurate, a suitable IC buffer having a delay of about 1/4 or less of a TCK period can be used as a delay element.

만일, 메인 컨트롤러에서 발생하는 TCK에 대해 더 높은 클록신호를 발생시키고 이를 상기 TDO 샘플링 시 TDO가 바뀌는 시점에 카운트하여 실제 BST 운용시 TDO 샘플링 시점을 결정하는 방법을 사용하는 경우, 상당히 높은 클록신호를 발생시켜야 한다. 예를 들어, TCK가 25㎒ 정도인 경우, 그 4배정도의 고속 클록신호를 발생시킨다면, 100㎒대로 동작하는 회로를 구성하여야 한다. 따라서, 그 구현이 복잡하고 많은 비용이 소요된다는 문제점이 있다.If a higher clock signal is generated for the TCK generated by the main controller, and counted at the point of time when the TDO is changed during the TDO sampling, a method of determining a TDO sampling time during the actual BST operation is performed. Should be generated. For example, when the TCK is about 25 MHz, if the high-speed clock signal about four times is generated, a circuit operating at 100 MHz should be configured. Therefore, there is a problem that the implementation is complicated and expensive.

본 발명에서는 10㎱ 정도 딜레이를 가진 소자를 쓰면 되는데 일반적으로 F 시리즈 IC가 적당하며 이에 따라 회로 구현이 간단해지며 소요비용이 감소하게 된다.In the present invention, a device having a delay of about 10 [mu] s may be used. In general, an F series IC is suitable, which simplifies circuit implementation and reduces cost.

상기와 같이 구성되는 본 발명의 바운더리 스캔 테스트 시스템 및 그 딜레이 보정방법은 보드에 실장된 칩의 연결상태 등을 검사할 수 있는 바운더리 스캔 테스트 시 발생하는 보드 및 케이블 등에 의한 딜레이에 대한 사전지식이 없어도 효과적으로 TDO가 샘플링될 수 있도록 복수 시간간격으로 딜레이되는 딜레이 클록신호를 생성하고 그 중 하나를 TDO 샘플링 시 사용되는 보정 클록신호로 선택함으로써 보드에 실장된 칩과 상기 칩을 검사하는 컨트롤러가 하나의 보드에 실장되지 않고 떨어져 있는 경우에도 딜레이를 측정할 수 있도록 하는 동시에 상기 딜레이를 보정한 보정 클록신호를 통해 보드에 실장된 칩을 통과한 패턴신호를 샘플링하고 읽어 들임으로써 딜레이로 인한 에러를 손쉽고 효율적으로 방지할 수 있는 효과가 있다.The boundary scan test system and the delay correction method of the present invention configured as described above do not have prior knowledge of the delay caused by the board and cables generated during the boundary scan test that can check the connection state of the chip mounted on the board. A chip mounted on a board and a controller inspecting the chip are generated by generating a delay clock signal that is delayed at multiple time intervals so that the TDO can be sampled effectively, and selecting one of them as a correction clock signal that is used during TDO sampling. Delays can be measured even when they are not mounted on the circuit board, while the delayed signal is compensated for by sampling and reading the pattern signal passing through the chip mounted on the board. There is an effect that can be prevented.

Claims (7)

보드에 실장된 바운더리 스캔 테스트 기능을 지원하는 칩(이하 바운더리 스캔 테스트 칩이라 칭함;Boundary Scan Test Chip)으로 클록신호에 동기화된 패턴신호를 출력하고 상기 칩을 통과한 패턴신호를 분석함으로써 상기 바운더리 스캔 테스트 칩의 연결상태를 검사하는 메인 컨트롤러를 포함하여 이루어지는 바운더리 스캔 테스트 시스템에 있어서,The boundary scan is performed by outputting a pattern signal synchronized with a clock signal and analyzing a pattern signal passing through the chip with a chip supporting a boundary scan test function mounted on a board (hereinafter referred to as a boundary scan test chip). In the boundary scan test system comprising a main controller for checking the connection state of the test chip, 상기 메인 컨트롤러는 상기 보드에 실장된 바운더리 스캔 테스트 칩 및 상기 바운더리 스캔 테스트 칩으로 데이터를 전송하는 신호라인 상에서 발생하는 딜레이를 측정하고 상기 측정된 딜레이에 따라 보정된 클록신호를 생성하는 보정클록신호부를 더 포함하여 구성되는 것을 특징으로 하는 바운더리 스캔 테스트 시스템.The main controller measures a delay occurring on a boundary scan test chip mounted on the board and a signal line transmitting data to the boundary scan test chip, and a correction clock signal unit configured to generate a clock signal corrected according to the measured delay. Boundary scan test system, characterized in that further comprises. 제 1 항에 있어서,The method of claim 1, 상기 보정클록신호부는 상기 클록신호를 딜레이시키는 딜레이부와;A delay unit configured to delay the clock signal; 상기 딜레이부에서 생성된 딜레이 클록신호에 따라 상기 보드에 실장된 칩을 통과한 패턴신호를 분석하는 패턴분석부와;A pattern analyzing unit analyzing the pattern signal passing through the chip mounted on the board according to the delay clock signal generated by the delay unit; 상기 패턴분석부의 분석결과에 따라 상기 딜레이부에서 딜레이된 클록신호 중 하나를 상기 보정 클록신호로 선택하는 딜레이신호 선택부를 포함하여 구성되는 것을 특징으로 하는 바운더리 스캔 테스트 시스템.And a delay signal selector configured to select one of the clock signals delayed by the delay unit as the corrected clock signal according to an analysis result of the pattern analyzer. 제 2 항에 있어서,The method of claim 2, 상기 딜레이부는 상기 클록신호가 복수개의 시간간격으로 딜레이될 수 있도록 직렬로 연결된 복수개의 딜레이소자로 구성되며,The delay unit includes a plurality of delay elements connected in series so that the clock signal can be delayed at a plurality of time intervals. 상기 딜레이소자에서 출력되는 복수개의 딜레이 클록신호가 상기 패턴분석부로 입력되는 것을 특징으로 하는 바운더리 스캔 테스트 시스템.Boundary scan test system, characterized in that the plurality of delay clock signal output from the delay element is input to the pattern analyzer. 제 2 항에 있어서,The method of claim 2, 상기 패턴분석부는 상기 딜레이부에서 출력되는 딜레이 클록신호에 동기화하여 상기 칩을 통과한 패턴신호와 상기 칩으로 입력된 패턴신호의 동일여부를 판단하고 만일 동일한 경우, 상기 딜레이신호 선택부로 동일함을 알리는 신호를 출력하도록 구성되는 것을 특징으로 하는 바운더리 스캔 테스트 시스템.The pattern analyzer determines whether the pattern signal passed through the chip and the pattern signal input to the chip are equal to each other in synchronization with the delay clock signal output from the delay unit. Boundary scan test system, characterized in that it is configured to output a signal. 보드에 실장된 바운더리 스캔 테스트 칩의 연결상태를 검사하기 위하여 상기 칩으로 클록신호에 동기화된 패턴신호를 출력하는 제1 단계와;A first step of outputting a pattern signal synchronized with a clock signal to the chip for checking a connection state of a boundary scan test chip mounted on a board; 상기 제1 단계의 클록신호를 복수개의 시간간격 딜레이시켜 복수개의 딜레이 클록신호를 생성하는 제2 단계와;A second step of generating a plurality of delay clock signals by delaying the clock signal of the first step by a plurality of time intervals; 상기 복수개의 딜레이 클록신호 중 상기 칩에서 출력된 데이터를 감지하는데 사용되는 보정 클록신호를 선택하는 제3 단계를 포함하여 이루어지는 것을 특징으로 하는 바운더리 스캔 테스트 딜레이 보정방법.And a third step of selecting a corrected clock signal used for sensing data output from the chip among the plurality of delay clock signals. 제 5 항에 있어서,The method of claim 5, 상기 제3 단계는 상기 복수개의 딜레이 클록신호에 동기화하여 상기 칩을 통과한 패턴신호와 상기 칩으로 입력된 패턴신호의 동일여부를 판단하는 과정과;The third step may include: synchronizing the plurality of delay clock signals to determine whether the pattern signal passing through the chip is identical to the pattern signal input to the chip; 상기 판단 과정에서 동일하다고 판단된 경우의 딜레이 클록신호를 상기 보정 클록신호로 선택하는 과정을 포함하여 이루어지는 것을 특징으로 하는 바운더리 스캔 테스트 딜레이 보정방법.And selecting a delay clock signal as the corrected clock signal when it is determined to be the same in the determination process. 제 5 항에 있어서,The method of claim 5, 상기 제3 단계는 상기 복수개의 딜레이 클록신호에 따라 상기 칩을 통과한 패턴신호와 상기 칩으로 입력된 패턴신호의 동일여부를 판단하는 과정과;The third step may include determining whether or not the pattern signal passing through the chip is identical to the pattern signal input to the chip according to the plurality of delay clock signals; 상기 판단 과정에서 동일하다고 판단된 경우의 딜레이 클록신호 다음의 딜레이 클록신호를 상기 보정 클록신호로 선택하는 과정을 더 포함하여 이루어지는 것을 특징으로 하는 바운더리 스캔 테스트 딜레이 보정방법.And selecting the delayed clock signal following the delayed clock signal as the corrected clock signal when it is determined to be the same in the determination process.
KR10-2001-0060346A 2001-09-28 2001-09-28 Boundary Scan Test System and Method for the Same KR100429633B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0060346A KR100429633B1 (en) 2001-09-28 2001-09-28 Boundary Scan Test System and Method for the Same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0060346A KR100429633B1 (en) 2001-09-28 2001-09-28 Boundary Scan Test System and Method for the Same

Publications (2)

Publication Number Publication Date
KR20030028293A true KR20030028293A (en) 2003-04-08
KR100429633B1 KR100429633B1 (en) 2004-05-03

Family

ID=29562732

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0060346A KR100429633B1 (en) 2001-09-28 2001-09-28 Boundary Scan Test System and Method for the Same

Country Status (1)

Country Link
KR (1) KR100429633B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8631291B2 (en) 2011-04-27 2014-01-14 Hynix Semiconductor Inc. Semiconductor device and test method with boundary scan

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016068385A1 (en) * 2014-10-29 2016-05-06 (주) 이노티오 Method and device for minimizing scan test time
TW201809712A (en) 2014-10-29 2018-03-16 因諾帝歐股份有限公司 Apparatus, method, and system for testing IC chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8631291B2 (en) 2011-04-27 2014-01-14 Hynix Semiconductor Inc. Semiconductor device and test method with boundary scan

Also Published As

Publication number Publication date
KR100429633B1 (en) 2004-05-03

Similar Documents

Publication Publication Date Title
KR100997086B1 (en) Jitter measuring instrument and tester
KR100432965B1 (en) Method and apparatus for testing semiconductor devices
KR101085564B1 (en) Test instrument and test method
US20130305111A1 (en) Circuit And Method For Simultaneously Measuring Multiple Changes In Delay
US7856578B2 (en) Strobe technique for test of digital signal timing
US9134374B2 (en) Circuit and method for measuring delays between edges of signals of a circuit
KR20070001264A (en) Test apparatus, phase adjusting method and memory controller
US7260493B2 (en) Testing a device under test by sampling its clock and data signal
US7100099B2 (en) Test apparatus
JP2008191164A (en) Phase difference detector for lsi to be measured
US7389450B2 (en) Bit error rate measurement
CN100422756C (en) Semiconductor test device
US20100283480A1 (en) Test apparatus, test method, and device
KR101035184B1 (en) Semiconductor test apparatus
JP2009509174A (en) Strobe technique for testing the timing of digital signals
CN115856590B (en) Test circuit, zero period same-edge sampling circuit, test method and electronic equipment
KR20050007347A (en) Semiconductor test device
US7080302B2 (en) Semiconductor device and test system therefor
US7209849B1 (en) Test system, added apparatus, and test method
KR100429633B1 (en) Boundary Scan Test System and Method for the Same
KR100340180B1 (en) Semiconductor test device
US20040019458A1 (en) Jitter measuring system in high speed data output device and total jitter measuring method
US6742149B2 (en) Apparatus for testing semiconductor integrated circuits
EP1812803B1 (en) Testable integrated circuit
Singh A self-timed structural test methodology for timing anomalies due to defects and process variations

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
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: 20070329

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee