KR970002062B1 - Test data output circuit of boundary-scan architecture - Google Patents

Test data output circuit of boundary-scan architecture Download PDF

Info

Publication number
KR970002062B1
KR970002062B1 KR1019940027806A KR19940027806A KR970002062B1 KR 970002062 B1 KR970002062 B1 KR 970002062B1 KR 1019940027806 A KR1019940027806 A KR 1019940027806A KR 19940027806 A KR19940027806 A KR 19940027806A KR 970002062 B1 KR970002062 B1 KR 970002062B1
Authority
KR
South Korea
Prior art keywords
tck
output
tdo
circuit
signal
Prior art date
Application number
KR1019940027806A
Other languages
Korean (ko)
Other versions
KR960014957A (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 KR1019940027806A priority Critical patent/KR970002062B1/en
Publication of KR960014957A publication Critical patent/KR960014957A/en
Application granted granted Critical
Publication of KR970002062B1 publication Critical patent/KR970002062B1/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/318572Input/Output interfaces
    • 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/318566Comparators; Diagnosing the device under test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The test data output device in a boundary scan structure uses a system clock used in a processor as a test clock(TCK) to previously store a test data output(TDO) and in parallel applies the stored TDO to an integrated circuit to thereby reduce the reading time of the TDO by means of the processor. The test data output device in the boundary scan structure comprises: a control circuit being synchronous to the system clock to selectively output first to fourth loading signals and for outputting the TDO in parallel via a data bus and supplying the information of the number of the inputted TDO; a TCK producing circuit for combining the second to fourth loading signals to form and output the TCK, an inverse TCK and an output enable signal and reset upon application of a reset signal; a storing circuit for applying the TDO inputted via the data bus to the processor; and a comparison circuit for combining the system clock and the first loading signal to count the inverse TCK of the TCK producing circuit and for outputting the reset signal when the count value is equal to the number of TDO applied via the data bus.

Description

바운더리 스캔 구조의 테스트 데이타 출력 장치Test data output device with boundary scan structure

제1도는 종래 바운더리 스캔 구조의 블럭도.1 is a block diagram of a conventional boundary scan structure.

제2도는 본 발명에 따른 바운더리 스캔 구조의 테스트 데이타 출력장치의 블럭도.2 is a block diagram of a test data output apparatus having a boundary scan structure according to the present invention.

제3도는 본 발명에 따른 바운더리 스캔 구조의 테스트 데이타 출력장치의 주요부분 파형도.3 is a waveform diagram of an essential part of a test data output device having a boundary scan structure according to the present invention.

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

10 : 제어회로 11 : 프로세서10: control circuit 11: processor

12 : 디코더 20 : TCK 형성회로12 decoder 20 TCK forming circuit

30 : 저장회로 31 : 직병렬 시프트 레지스터30: storage circuit 31: series-parallel shift register

32 : 버퍼 40 : 비교회로32: buffer 40: comparison circuit

41 : 버퍼 42 : 2진 계수기41: buffer 42: binary counter

43 : 비교기 50 : 집적회로43: comparator 50: integrated circuit

본 발명은 IEEE(Institute of Electrical and Electronics Engineers)에서 규정한 바운더리 스캔 구조(Boundary-Scan Architecture)에 관한 것으로서, 더욱 상세하게는 바운더리 스캔 입/출력 셀에 TDI를 선택적으로 인가할 수 있는 바운더리 스캔 구조의 테스트 데이타 출력 장치에 관한 것이다.The present invention relates to a boundary-scan architecture defined by the Institute of Electrical and Electronics Engineers (IEEE), and more particularly to a boundary scan structure capable of selectively applying a TDI to a boundary scan input / output cell. Of the test data output device.

IEEE에서는 집적회로의 구성 요소들이 요구되는 기능을 정확히 수행하는지, 또는 각 구성 요소들이 정확하게 서로 연결되었는지, 또는 각 구성 요소들이 요구되는 기능을 정확하게 수행할 수 있도록 상호작용을 하는지를 감시하는데 필요한 바운더리 스캔 구조를 IEEE 1149.1에 규정하였다.In IEEE, boundary scan structures are needed to monitor whether the components of an integrated circuit perform exactly the required function, or whether each component is correctly connected to each other, or whether each component interacts to perform the required function correctly. Is defined in IEEE 1149.1.

이 규정에 의하면, 바운더리 스캔 구조에서는 테스트 클럭(Test Clock : 이하, TCK라 함), 테스트 데이타 입력(Test Data Input : 이하, TDI라 함), 테스트 데이타 출력(Test Data Output : 이하, TDO라 함) 및 테스트 모드 선택(Test Mode Select : 이하, TMS라 함) 신호들을 위한 단자를 필요로 한다. 여기서, TCK는 IEEE 규정에 의한 집적회로의 로직용 테스트 클럭이며, TDI는 상술한 규정의 집적회로의 로직을 테스트하기 위한 테스트 명령 및 데이타를 의미한다. TDI는 TCK의 상승에지에서 샘플링되어 테스트하기 위한 로직에 인가된다.According to this rule, the boundary scan structure is referred to as a test clock (hereinafter referred to as TCK), a test data input (hereinafter referred to as TDI), and a test data output (hereinafter referred to as TDO). ) And a terminal for test mode select (hereinafter, referred to as TMS) signals. Here, TCK is a test clock for logic of an integrated circuit according to the IEEE specification, and TDI means test commands and data for testing the logic of the integrated circuit of the above-described regulation. TDI is applied to logic for sampling and testing at the rising edge of TCK.

또한, TDO는 상술한 규정에 의한 집적회로로부터 로직을 테스트하기 위하여 직렬로 출력되는 테스트 명령 및 데이타로서, TDO는 TCK의 하강 에지에서 상태가 변화되어야 한다. 또한, TMS는 상술한 규정에 의한 집적회로의 로직을 테스트하기 위한 모드를 설정하는 신호로서, TCK의 상승 에지에서 샘플링되어 출력된다.In addition, the TDO is a test command and data output in series to test logic from the integrated circuit according to the above-mentioned regulations, and the TDO must change state at the falling edge of the TCK. In addition, the TMS is a signal for setting a mode for testing the logic of the integrated circuit according to the above-described rule, and is sampled on the rising edge of the TCK and output.

상술한 신호들을 이용하여 집적회로를 바운더리 스캐닝하기 위한 종래의 간단한 구조가 제1도에 도시되어 있다.A conventional simple structure for boundary scanning an integrated circuit using the signals described above is shown in FIG.

도면에서 부호(1)는 상술한 바와 같은 TCK, TDI, TDO, TMS를 갖는 집적회로이며, 부호(2)는 집적회로(1)를 바운더리 스캐닝하기 위한 프로세서이다. 프로세서(2)에 연결된 어드레스용 디코더(3)는 프로세서로부터 인가되는 어드레스 신호를 디코딩하여 D 플립플롭(D1-D4)에 선택적으로 클럭 신호를 인가하도록 구성되어 있다. 이때, D 플립플롭(D1-D3)의 입력 단자(D)는 프로세서(2)와 데이타 버스를 통하여 연결되어 있고, 그 출력 단자(Q)는 각각 TCK, TDI, TMS를 입력하기 위한 집적회로(1)의 단자들(I1, I2, I3)에 연결되어 있다. 또한, D 플립플롭(D4)의 입력 단자(D)는 TDO를 출력하는 집적회로(1)의 단자(O1)에 연결되어 있고, 그 출력 단자(Q)는 어드레스 버스를 통하여 프로세서(2)와 연결되어 있다. 즉, 프로세서(2)는 어드레스 버스를 통하여 TDI, TMS, TDI를 플립플롭(D1, D2, D3)에 각각 저장하여 두고, 어드레스 디코더(3)를 이용하여 D 플립플롭(D1, D2 또는 D3)에 선택적으로 클럭 신호를 인가하므로써, D 플립플롭(D1, D2 또는 D3)에 저장된 TDI 또는 TMS가 접적회로(1)에 인가되게 하는 것이다. 또한, 프로세서(2)는 어드레스 디코더(3)를 이용하여 D 플립플롭(D4)에 선택적으로 클럭 신호를 인가하므로써, 집적회로(1)의 TDO를 선택적으로 입력하는 것이다.In the drawing, reference numeral 1 denotes an integrated circuit having TCK, TDI, TDO, and TMS as described above, and reference numeral 2 denotes a processor for boundary scanning of the integrated circuit 1. The address decoder 3 connected to the processor 2 is configured to decode an address signal applied from the processor and selectively apply a clock signal to the D flip-flops D1-D4. In this case, the input terminals D of the D flip-flops D1-D3 are connected to the processor 2 through a data bus, and the output terminals Q of the integrated circuits for inputting TCK, TDI, and TMS are respectively provided. It is connected to the terminals I1, I2 and I3 of 1). In addition, an input terminal D of the D flip-flop D4 is connected to a terminal O1 of the integrated circuit 1 that outputs a TDO, and the output terminal Q is connected to the processor 2 through an address bus. It is connected. That is, the processor 2 stores the TDI, TMS, and TDI in the flip-flops D1, D2, and D3 through the address bus, respectively, and the D flip-flops D1, D2, or D3 using the address decoder 3, respectively. By selectively applying a clock signal to the TDI, the TDI or TMS stored in the D flip-flop D1, D2 or D3 is applied to the integrated circuit 1. In addition, the processor 2 selectively inputs the TDO of the integrated circuit 1 by selectively applying a clock signal to the D flip-flop D4 using the address decoder 3.

그러나, 이러한 바운더리 스캔 구조에서는 TDO가 TCK에 동기되어 직렬로 집적회로부터 출력되어야 한다. 따라서, 프로세서(2)가 집적회로(1)로부터 TDO를 읽어내는데는 많은 시간이 소요되므로 바운더리 스캐닝을 위한 프로세서의 점유 시간이 과도하게 필요하다는 문제가 있었다.However, in this boundary scan structure, the TDO must be output from the integrated circuit in series in synchronization with TCK. Therefore, since the processor 2 takes a lot of time to read the TDO from the integrated circuit 1, there is a problem that the occupancy time of the processor for boundary scanning is excessively necessary.

본 발명은 이러한 문제를 해결하기 위하여 안출한 것으로서, 본 발명의 목적은, 프로세서에서 사용되는 시스템 클럭을 TCK로 이용하여 바운더리 스캔 구조로부터 출력되는 TDO를 미리 저장시켜 놓고, 저장된 TDO를 집적회로에 병렬로 인가하게 하므로써, 프로세서가 TDO를 읽어내는데 사용하는 시간을 단축한 바운더리 스캔 구조의 TDO 출력 장치를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to store a TDO output from a boundary scan structure in advance using a system clock used in a processor as a TCK, and parallel the stored TDO to an integrated circuit. The present invention provides a TDO output device with a boundary scan structure that reduces the time the processor uses to read a TDO.

이러한 목적을 달성하기 위한 본 발명의 특징은, 바운더리 스캔 구조에 TDI를 입력하는 장치에 있어서, 시스템 클럭에 동기되어 제1, 2, 3, 4로딩신호를 선택적으로 출력하고, 데이타 버스를 통하여 병렬로 TDO를 출력하며, 입력되는 TDO의 갯수에 대한 정보를 공급하는 제어회로와; 상기 제어회로로부터 제2, 3, 4로딩신호를 조합하여 TCK 및 반전 TCK와 출력 인에이블신호를 형성 및 출력하며, 리세트 신호의 인가시에 리세트 되는 TCK 형성회로와; 반전 TCK에 동기되어 상기 집적회로로부터 TDO를 직렬 입력하며, 상기 출력 인에이블 신호에 따라 상기 데이타 버스를 통하여 입력된 TDO를 상기 프로세서에 인가하는 저장회로와; 상기 시스템 클럭 및 상기 제1로딩신호를 조합하여 상기 TCK 형성회로의 반전 TCK를 계수하며 계수된 값이 상기 데이타 버스를 통하여 인가되는 TDO의 갯수와 동일할때에 리세트신호를 출력하는 비교회로를 구비하는 바운더리 스캔 구조의 TDO 출력회로에 있다.A feature of the present invention for achieving the above object is, in the apparatus for inputting the TDI into the boundary scan structure, selectively outputting the first, second, third, fourth loading signal in synchronization with the system clock, and parallel through the data bus A control circuit for outputting a TDO and supplying information on the number of input TDOs; A TCK forming circuit which combines second, third and fourth loading signals to form and outputs a TCK and inverted TCK and an output enable signal, and is reset upon application of a reset signal; A storage circuit configured to serially input a TDO from the integrated circuit in synchronization with an inverted TCK, and apply a TDO input through the data bus to the processor according to the output enable signal; A comparison circuit for combining the system clock and the first loading signal to count the inverted TCK of the TCK forming circuit and outputting a reset signal when the counted value is equal to the number of TDOs applied through the data bus; The TDO output circuit has a boundary scan structure.

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

제2도는 본 발명에 따른 바운더리 스캔 구조의 TDI 입력회로도로서, 도시된 바와 같이 제어회로(10), TCK 형성회로(20), 저장회로(30), 비교회로(40) 및 집적회로(50)를 포함하고 있다. 이때, 집적회로(50)는 바운더리 스캔 구조를 갖는 집적회로이다.2 is a TDI input circuit diagram of a boundary scan structure according to the present invention, and as shown, a control circuit 10, a TCK forming circuit 20, a storage circuit 30, a comparison circuit 40, and an integrated circuit 50. It includes. At this time, the integrated circuit 50 is an integrated circuit having a boundary scan structure.

상술한 구성의 TDI 입력회로에서 제어회로(10)는 도시된 바와 같이 프로세서(11) 및 디코더(12)로 구성되어 있다. 이때, 프로세서(11)는 발진회로(60)의 시스템 클럭(SCK)에 동기되어 데이타 버스를 통하여 TDO를 병렬로 상기 병직렬 시프트 레지스터(40)로부터 입력하는 한편, 비교회로(20)에는 병렬로 입력하는 TDO의 갯수를 인가하도록 구성한다. 또한 프로세서(11)는 어드레스 버스(AB)를 통하여 어드레스 신호를 디코더(12)에 인가하며, 디코더(12)는 프로세서의 입출력제어단자(I/O)가 하이레벨일때에 어드레스 신호를 입력하게 된다. 그리고, 디코더(12)는 어드레스 신호를 디코딩하여 제1, 2, 3, 4로딩신호를 단자(I/O1-I/O4)를 통하여 선택적으로 출력하도록 구성된다. 이러한 디코더(12) 역시 발진회로(60)의 시스템 클럭에 동기되어 구동하도록 구성되어 있다.In the TDI input circuit of the above-described configuration, the control circuit 10 is composed of a processor 11 and a decoder 12 as shown. At this time, the processor 11 inputs the TDO in parallel from the parallel shift register 40 via the data bus in synchronization with the system clock SCK of the oscillation circuit 60, while in parallel to the comparison circuit 20. Configure to apply the number of input TDOs. In addition, the processor 11 applies the address signal to the decoder 12 through the address bus AB, and the decoder 12 inputs the address signal when the input / output control terminal I / O of the processor is at a high level. . The decoder 12 is configured to decode the address signal and selectively output the first, second, third and fourth loading signals through the terminals I / O 1 -I / O 4. The decoder 12 is also configured to drive in synchronization with the system clock of the oscillation circuit 60.

상기 제어회로(10)에 연결되어 있는 TCK 형성회로(20)는 도시된 바와 같이 제어회로(10)의 제2, 제3로딩신호를 오아게이트(O1)에서 조합하고, 조합된 신호와 발진회로(60)의 시스템 클럭(SCK)을 앤드게이트(A1)에서 조합하도록 되어 있다. 또한 TCK 형성회로(20)는 제어회로(10)의 제3,4 로딩신호를 오아게이트(O2)에서 조합하여 출력 인에이블신호로서 저장회로(30)에 인가하도록 구성되어 있다. 또한, TCK 형성회로(20)는 앤드게이트(A1)의 출력이 D 플립플롭(D1)의 클럭단자(CK1)에 인가되도록 구성된다.The TCK forming circuit 20 connected to the control circuit 10 combines the second and third loading signals of the control circuit 10 at the ora gate O1 as shown, and the combined signal and the oscillation circuit. The system clock SCK of 60 is combined in the AND gate A1. In addition, the TCK forming circuit 20 is configured to combine the third and fourth loading signals of the control circuit 10 with the oragate O2 and apply them to the storage circuit 30 as an output enable signal. In addition, the TCK forming circuit 20 is configured such that the output of the AND gate A1 is applied to the clock terminal CK1 of the D flip-flop D1.

D 플립플롭(D1)은 그 입력단자(D)가 전원(Vcc)에 연결되어 있으며, 앤드게이트(A2)는 D 플립플롭(D1)의 출력과 시스템 클럭(SCK)를 조합하도록 구성되어 있다. 그리고, TCK 발생회로(20)는 인버터(11)에 의하여 반전된 시스템 클럭(SCK)과 D 플립플롭(D1)의 출력이 앤드게이트(A3)에서 조합되도록 구성되어 있다. 후술하는 설명에서 알 수 있는 바와 같이 앤드게이트(A2)의 출력을 본 발명에서는 저장회로(30)의 클럭으로 사용하는 반전 TCK이며, 앤드게이트(A3)의 출력을 본 발명에서는 TCK로 사용한다.The input terminal D of the D flip-flop D1 is connected to the power supply Vcc, and the AND gate A2 is configured to combine the output of the D flip-flop D1 with the system clock SCK. The TCK generation circuit 20 is configured such that the output of the system clock SCK and the D flip-flop D1 inverted by the inverter 11 are combined at the AND gate A3. As can be seen from the description below, the output of the AND gate A2 is used as the clock of the storage circuit 30 in the present invention, and the output of the AND gate A3 is used as the TCK in the present invention.

TCK 형성회로(20)에 연결되어 있는 저장회로(30)는 도시된 바와 같이 직병렬 시프트 레지스터(31)와 버퍼(32)로 구성되어 있으며, 직병렬 시프트 로딩신호(31)는 앤드게이트(A2)의 반전 TCK를 클럭으로 사용하여 상기 집적회로(50)로부터 인가되는 TDO를 순차적으로 직렬로 입력하고, 입력된 TDO를 병렬로 출력하도록 구성되어 있다.The storage circuit 30 connected to the TCK forming circuit 20 is composed of a serial and a parallel shift register 31 and a buffer 32 as shown, and the serial and parallel shift loading signal 31 is an AND gate A2. Inverter TCK is used as a clock to sequentially input the TDOs applied from the integrated circuit 50 and output the input TDOs in parallel.

직병렬 시프트 로딩신호(31)로부터 TDO를 병렬로 입력하는 버퍼(32)는 TCK 형성회로(20)의 오아게이트(O1)로부터 출력 인에이블신호가 인가될때에 데이타 버스를 통하여 입력된 TDO를 출력하도록 구성되어 있다.The buffer 32 for inputting the TDOs in parallel from the serial-parallel shift loading signal 31 outputs the TDOs input through the data bus when an output enable signal is applied from the OR gate O1 of the TCK forming circuit 20. It is configured to.

비교회로(40)는 도시된 바와 같이 버퍼(41), 2진 계수기(42) 및 비교기(43)로 구성되어 있으며, 버퍼(41)는 직병렬 시프트 레지스터(31)에 인가되는 TDO의 갯수를 제1로딩신호에 동기되어 입력하며, 2진 계수기(42)는 상기 TCK 형성회로(20)의 반전 TCK를 계수하도록 구성되어 있다. 그리고, 비교회로(40)는 비교기(43)를 이용하여 버퍼(41)를 통하여 인가된 TDO의 갯수와 계수기(42)에 계수된 값이 동일할때에 리세트 신호를 출력하도록 구성된다. 이때, 본 발명에서는 비교기(43)의 리세트 신호에 의하여 상기 D 플립플롭(D1)과 계수기(42)가 리세트 되도록 구성되어 있다.The comparison circuit 40 is composed of a buffer 41, a binary counter 42 and a comparator 43 as shown, and the buffer 41 is used to determine the number of TDOs applied to the serial-parallel shift register 31. Inputted in synchronization with the first loading signal, the binary counter 42 is configured to count the inverted TCK of the TCK forming circuit 20. The comparator 40 is configured to output a reset signal when the number of TDOs applied through the buffer 41 and the value counted to the counter 42 are the same using the comparator 43. At this time, in the present invention, the D flip-flop D1 and the counter 42 are reset by the reset signal of the comparator 43.

이와 같이 구성된 본 발명에 따른 바운더리 스캔 구조의 TDO 출력회로에서 프로세서(11)의 입출력제어단자(I/O) 단자가 제2도에 도시된 바와 같이 시점(t1)에서 하이레벨 상태가 되면, 디코더(12)는 어드레스 버스(AB)를 통하여 인가된 어드레스 신호를 디코딩하므로써 하이레벨의 제1, 2로딩신호를 시점(t1)에서 각각 출력한다. 이와 같이 입출력제어단자(I/O)의 출력 로직이 시스템 클럭(SCK)과 동기되지 않은 이유는 이 분야에서 통상의 지식을 가진 자가 아는 바와 같이 프로세서는 지연시간에 의하여 스템 클럭에 비하여 약간 늦게 출력을 변화시키기 때문이다. 따라서, 오아게이트(O1)는 하이레벨의 로직을 앤드게이트(A1)에 인가한다. 이때, 앤드게이트(A1)는 그 일입력단에 시스템 클럭(SCK)이 인가되므로 제2도에 도시된 바와 같이 일시적으로 하이레벨의 로직을 출력하나 D 플립플롭(D1)은 앤드게이트(A1)의 하이레벨 로직에 의하여 리세트되기 전까지는 하이레벨의 로직을 출력하게 될 것이다.When the input / output control terminal (I / O) terminal of the processor 11 becomes the high level at the time t1 as shown in FIG. 2 in the TDO output circuit having the boundary scan structure configured as described above, the decoder 12 decodes the address signal applied via the address bus AB to output the high level first and second loading signals at time t1, respectively. The reason why the output logic of the input / output control terminal (I / O) is not synchronized with the system clock (SCK) is that, as one of ordinary skill in the art knows, the processor outputs a little later than the stem clock due to the delay time. Because it changes. Therefore, the oragate O1 applies a high level logic to the AND gate A1. At this time, the AND gate A1 is supplied with a system clock SCK at one input terminal thereof, so as to temporarily output high-level logic as shown in FIG. 2, but the D flip-flop D1 is connected to the AND gate A1. The high level logic will be output until it is reset by the high level logic.

앤드게이트(A2)는 이러한 D 플립플롭(D1)의 출력과 발진회로(60)의 시스템 클럭(SCK)을 논리곱하므로 제2도에 도시된 바와 같이 D 플립플롭(D1)이 하이레벨의 로직을 출력하는 동안에 시스템 클럭(SCK)과 동일한 클럭을 출력하며, 이 클럭을 본 명세서에서는 상술한 바와 같이 반전 TCK라 칭하였다.The AND gate A2 logically multiplies the output of the D flip-flop D1 by the system clock SCK of the oscillation circuit 60, so that the D flip-flop D1 is a high-level logic as shown in FIG. While outputting the same clock as the system clock (SCK) is output, this clock is referred to herein as the inverted TCK as described above.

또한, 앤드게이트(A3)는 인버터(I1)에 의하여 반전된 시스템 클럭(SCK)과 D 플립플롭(D1)의 출력을 조합하므로 제2도에 도시된 바와 같이 반전 TCK가 반전된 클럭을 출력하며, 이 클럭을 후술하는 바와 같이 바운더리 스캐닝을 위한 TCK로 사용한다.In addition, the AND gate A3 combines the output of the system clock SCK and the D flip-flop D1 inverted by the inverter I1, thereby outputting a clock inverted TCK as shown in FIG. This clock is used as a TCK for boundary scanning as described later.

따라서, 집적회로(50)는 TCK에 동기되어 TDO를 출력하므로 직병렬 시프트 레지스터(31)는 TDO를 순차적으로 입력한다.Therefore, since the integrated circuit 50 outputs the TDO in synchronization with the TCK, the serial-parallel shift register 31 sequentially inputs the TDO.

한편, 계수기(42)의 클럭단자(CK)에는 반전 TCK가 인가되므로 계수기(42)는 반전 TCK의 갯수를 계수한다. 본 실시예에서는 직병렬 시프트 레지스터(31)에 인가되는 TDO는 8개로 하였다. 따라서, 버퍼(41)에 인가되는 TDO의 갯수 역시 8개이므로 계수기(42)가 8개의 클럭(CK1)을 계수하였을때에 즉, 시점(t2)에서 로우레벨의 리세트신호에 의하여 D 플립플롭(D1) 및 계수기(42)는 리세트되는 것이다.On the other hand, since the inverted TCK is applied to the clock terminal CK of the counter 42, the counter 42 counts the number of inverted TCKs. In this embodiment, eight TDOs are applied to the serial-to-parallel shift register 31. Therefore, since the number of TDOs applied to the buffer 41 is also eight, when the counter 42 counts eight clocks CK1, that is, at the time t2, the D flip-flop is generated by the low level reset signal. (D1) and the counter 42 are reset.

이러한 과정을 수행한 후에는 프로세서(11)는 상술한 바와 같이 입출력제어단자(I/O)를 하이레벨 상태로 변환시키고, 어드레스 버스를 통하여 디코더(12)로 하여금 제3로딩신호를 출력하게 하는 어드레스 신호를 출력하고, 데이타 버스(DB)를 통하여 TDO 및 그 갯수에 대한 정보를 출력한다. 따라서, 오아게이트(O1,O2)는 하이레벨의 로직을 출력한다. 이때, 오아게이트(O2)의 출력은 상술한 바와 같이 버퍼(32)에 대하여 출력 인에이블 신호로 작용하므로 버퍼(32)는 직병렬 시프트 레지스터(31)에 저장된 TDO를 병렬상태로 데이타 버스를 통하여 프로세서(11)에 인가하는 것이다. 이때, TCK 발생회로(20)는 상술한 과정에 의하여 TCK 및 반전 TCK를 계속하여 출력하므로 집적회로(50)는 TDO를 계속하여 직병렬 시프트 레지스터(31)에 인가하게 된다. 즉, 디코더(12)의 제3로딩신호에 의하여 직병렬 시프트 레지스터(31)에 저장되었던 TDO들은 데이타 버스(DB)를 통하여 프로세서(11)에 인가되는 한편, 집적회로(50)의 TDO들은 직병렬 시프트 레지스터(31)에 순차적으로 인가되는 것이다.After this process, the processor 11 converts the input / output control terminal I / O into a high level state as described above, and causes the decoder 12 to output the third loading signal through the address bus. The address signal is output, and information on the TDO and its number is output through the data bus DB. Thus, the oragates O1 and O2 output high level logic. At this time, since the output of the OA gate O2 acts as an output enable signal to the buffer 32 as described above, the buffer 32 stores the TDO stored in the serial-parallel shift register 31 in parallel through the data bus. To the processor 11. At this time, since the TCK generation circuit 20 continuously outputs the TCK and the inverted TCK by the above-described process, the integrated circuit 50 continuously applies the TDO to the serial / parallel shift register 31. That is, the TDOs stored in the serial / parallel shift register 31 by the third loading signal of the decoder 12 are applied to the processor 11 through the data bus DB, while the TDOs of the integrated circuit 50 are directly connected. It is applied to the parallel shift register 31 sequentially.

상술한 제3로딩신호에 의하여 집적회로(50)의 마지막 TDO까지 병직렬 시프트 레지스터(31)에 인가되며, 프로세서(11)는 병직렬 시프트 레지스터(31)에 저장된 TDO들을 데이타 버스(DB)를 통하여 입력하기 위하여 입출력제어단자(I/O)를 하이레벨 상태로 변환시키고, 어드레스 버스를 통하여 디코더(12) 하여금 제3로딩신호를 출력한다.The third loading signal is applied to the parallel shift register 31 until the last TDO of the integrated circuit 50, and the processor 11 stores the TDOs stored in the parallel shift register 31 in the data bus DB. The input / output control terminal (I / O) is converted into a high level state for input through the decoder, and the decoder 12 outputs a third loading signal through the address bus.

따라서, TCK 형성회로(20)는 더 이상의 TCK 및 반전 TCK를 형성, 출력하지 않게 된다. 그러나, 오아게이트(O2)는 하이레벨의 출력 인에이블 신호를 출력하므로 버퍼(32)는 직병렬 시프트 레지스터(31)에 저장되었던 TDO들을 데이타 버스(DB)를 통하여 프로세서(11)에 인가하게 되는 것이다.Therefore, the TCK forming circuit 20 no longer forms and outputs the TCK and the inverted TCK. However, since the Oa gate O2 outputs a high level output enable signal, the buffer 32 applies the TDOs stored in the serial / parallel shift register 31 to the processor 11 through the data bus DB. will be.

즉, 본 발명은 직병렬 시프트 레지스터(31)에 TDO를 직렬로 저장시킨 후에 비교회로(40)를 이용하여 TCK 형성회로(20)로 하여금 시스템 클럭(SCK)에 동기되며 TDO의 갯수에 해당하는 반전 TCK 및 TCK를 형성케 하는 것이다. 그리고, 직병렬 시프트 레지스터(41)는 반전 TCK에 동기되어 TDO를 집적회로(50)부터 순차적으로 입력하게 한 후에 로딩신호를 출력하여 직병렬 시프트 레지스터(31)에 입력된 TDO들이 병렬로 프로세서(11)에 인가되게 한 것이다.That is, the present invention stores the TDO in series in the serial and parallel shift register 31, and then, by using the comparison circuit 40, causes the TCK forming circuit 20 to synchronize with the system clock SCK and corresponds to the number of TDOs. It is to form inverting TCK and TCK. In addition, the serial / parallel shift register 41 synchronizes the inversion TCK to sequentially input the TDO from the integrated circuit 50, and then outputs a loading signal so that the TDOs input to the serial / parallel shift register 31 are processed in parallel. 11).

따라서, 본 발명은 프로세서가 집적회로에 TDO를 입력하는데 소요되는 시간을 단축할 수 있게 되어 프로세서의 효율성을 높일 수 있다는 효과가 있다.Therefore, the present invention can shorten the time required for the processor to input the TDO to the integrated circuit, thereby increasing the efficiency of the processor.

Claims (4)

바운더리 스캔 구조에 TDI를 입력하는 장치에 있어서, 시스템 클럭에 동기되어 제1,2,3,4로딩신호를 선택적으로 출력하고, 데이타 버스를 통하여 병렬로 TDO를 출력하며, 입력되는 TDO의 갯수에 대한 정보를 공급하는 제어회로와; 상기 제어회로로부터 제2,3,4로딩신호를 조합하여 TCK 및 반전 TCK와 출력 인에이블 신호를 형성 및 출력하며, 리세트 신호의 인가시에 리세트되는 TCK 형성회로와; 반전 TCK에 동기되어 상기 집적회로로부터 TDO를 직렬입력하며, 상기 출력 인에이블 신호에 따라 상기 데이타 버스를 통하여 입력된 TDO를 상기 프로세서에 인가하는 저장회로와; 상기 시스템 클럭 및 상기 제1로딩신호를 조합하여 상기 TCK 형성회로의 반전 TCK를 계수하며 계수된 값이 상기 데이타 버스를 통하여 인가되는 TDO의 갯수와 동일할때에 리세트신호를 출력하는 비교회로를 구비하는 바운더리 스캔 구조의 테스트 데이타 출력 장치.A device for inputting a TDI into a boundary scan structure, wherein the first, second, third, and fourth loading signals are selectively output in synchronization with the system clock, the TDOs are output in parallel through a data bus, and the number of input TDOs is input. A control circuit for supplying information about the information; A TCK forming circuit which combines second, third and fourth loading signals to form and outputs a TCK and inverted TCK and an output enable signal, and is reset upon application of a reset signal; A storage circuit configured to serially input a TDO from the integrated circuit in synchronization with an inverted TCK, and apply a TDO input through the data bus to the processor according to the output enable signal; A comparison circuit for combining the system clock and the first loading signal to count the inverted TCK of the TCK forming circuit and outputting a reset signal when the counted value is equal to the number of TDOs applied through the data bus; A test data output device having a boundary scan structure. 제1항에 있어서, 상기 TCK 형성회로는, 상기 제2,3로딩신호를 조합하는 제1오아게이트와; 상기 제3,4로딩신호를 조합하여 조합된 신호를 상기 출력 인에이블 신호로서 출력하는 제2오아게이트와; 상기 시스템 클럭과 상기 제1오아게이트의 출력을 조합하는 제1앤드게이트와; 전원에 입력단자가 연결되어 있으며, 상기 제1앤드게이트의 출력을 클럭으로 사용하고 리세트신호에 의하여 선택적으로 리세트되는 D 플립플롭; 상기 D 플립플롭의 출력과 시스템 클럭을 조합하여 상기 반전 TCK를 출력하는 제2앤드게이트와; 상기 시스템 클럭이 반전된 신호와 상기 D 플립플롭의 출력을 조합하여 상기 TCK를 출력하는 제3앤드게이트를 구비하는 바운더리 스캔 구조의 테스트 데이타 출력 장치.2. The circuit of claim 1, wherein the TCK forming circuit comprises: a first ora gate for combining the second and third loading signals; A second orifice that combines the third and fourth loading signals to output a combined signal as the output enable signal; A first and gate combining the system clock and the output of the first or gate; A D flip-flop connected to an input terminal of a power supply and using an output of the first and gate as a clock and selectively reset by a reset signal; A second and gate outputting the inverted TCK by combining the output of the D flip-flop and a system clock; And a third end gate configured to output the TCK by combining the inverted signal of the system clock and the output of the D flip-flop. 제1항에 있어서, 상기 저장회로는, 상기 반전 TCK에 동기되어 상기 집적회로로부터 TDO를 직렬로 입력하여 병렬로 출력하는 직병렬 시프트 레지스터와; 상기 출력 인에이블 신호의 입력에 따라 상기 직병렬 시프트 레지스터의 TDO를 상기 제어회로에 인가하는 버퍼를 구비하는 바운더리 스캔 구조의 테스트 데이타 출력 장치.2. The apparatus of claim 1, wherein the storage circuit comprises: a serial and parallel shift register synchronized with the inversion TCK and outputting TDO in series and outputting in parallel from the integrated circuit; And a buffer for applying a TDO of the serial-to-parallel shift register to the control circuit in response to the input of the output enable signal. 제1항에 있어서, 상기 비교회로는, 상기 제1로딩신호에 따라 데이타 버스를 통하여 인가되는 TDI 갯수에 대한 정보를 입력하는 버퍼와; 상기 TCK를 계수하는 계수기와; 상기 버퍼를 통하여 인가되는 TDI의 갯수와 상기 계수기의 계수값이 동일할때에 리세트신호를 출력하는 비교기를 구비하는 바운더리 스캔 구조의 테스트 데이타 출력 장치.2. The apparatus of claim 1, wherein the comparison circuit comprises: a buffer for inputting information on the number of TDIs applied through a data bus according to the first loading signal; A counter for counting the TCK; And a comparator for outputting a reset signal when the number of TDIs applied through the buffer and the count value of the counter are the same.
KR1019940027806A 1994-10-28 1994-10-28 Test data output circuit of boundary-scan architecture KR970002062B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940027806A KR970002062B1 (en) 1994-10-28 1994-10-28 Test data output circuit of boundary-scan architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940027806A KR970002062B1 (en) 1994-10-28 1994-10-28 Test data output circuit of boundary-scan architecture

Publications (2)

Publication Number Publication Date
KR960014957A KR960014957A (en) 1996-05-22
KR970002062B1 true KR970002062B1 (en) 1997-02-21

Family

ID=19396233

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940027806A KR970002062B1 (en) 1994-10-28 1994-10-28 Test data output circuit of boundary-scan architecture

Country Status (1)

Country Link
KR (1) KR970002062B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120121708A (en) 2011-04-27 2012-11-06 에스케이하이닉스 주식회사 Semiconductor device

Also Published As

Publication number Publication date
KR960014957A (en) 1996-05-22

Similar Documents

Publication Publication Date Title
US7721174B2 (en) Full-speed BIST controller for testing embedded synchronous memories
JP2522140B2 (en) Logic circuit
US8065549B2 (en) Scan-based integrated circuit having clock frequency divider
KR100286914B1 (en) Semiconductor memory
US6891393B2 (en) Synchronous semiconductor device, and inspection system and method for the same
JPH06105285B2 (en) Semiconductor integrated circuit device
US20210313986A1 (en) Clock gating cell
EP1028322B1 (en) Apparatus for eliminating shoot-through events during master-slave flip-flop scan operations
US20040260975A1 (en) Semiconductor integrated circuit
KR970002062B1 (en) Test data output circuit of boundary-scan architecture
US5848075A (en) Test device employing scan path having circuitry at switches between a scan in signal transmitted and previously held at a predetermined clock timing
KR100452335B1 (en) Circuit and method for extending test data of semiconductor memory device possible high speed operation test
JP3633901B2 (en) LSSD interface
KR970000820B1 (en) Test data input circuit of boundary-scan architecture
KR100389038B1 (en) Synchronous sram device with late write function
JP3339479B2 (en) Clock control circuit and method
JP4662520B2 (en) Scan test circuit, scan test method, and semiconductor integrated circuit
JP3368572B2 (en) Period generator
KR0145789B1 (en) Test clock generator of boundary-scan architecture
KR970006018B1 (en) Test mode select signal generator of boundary scan architecture
KR970000260B1 (en) Parallel inputable boudary-scan architecture
KR0145797B1 (en) Parallel outputtable boundary-scan architecture
JP3869387B2 (en) Semiconductor integrated circuit
KR100267782B1 (en) Chip having time checking function
JP2000227456A (en) Scan flip-flop

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee