KR0145789B1 - Test clock generator of boundary-scan architecture - Google Patents

Test clock generator of boundary-scan architecture Download PDF

Info

Publication number
KR0145789B1
KR0145789B1 KR1019940023338A KR19940023338A KR0145789B1 KR 0145789 B1 KR0145789 B1 KR 0145789B1 KR 1019940023338 A KR1019940023338 A KR 1019940023338A KR 19940023338 A KR19940023338 A KR 19940023338A KR 0145789 B1 KR0145789 B1 KR 0145789B1
Authority
KR
South Korea
Prior art keywords
flip
clock
tdi
tdo
flop
Prior art date
Application number
KR1019940023338A
Other languages
Korean (ko)
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 KR1019940023338A priority Critical patent/KR0145789B1/en
Application granted granted Critical
Publication of KR0145789B1 publication Critical patent/KR0145789B1/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

본 발명은 바운더리 스캔 구조에 관한 것으로서, TCK에 동기되는 TMS, TDI, TDO를 입출력하는 집적 회로(1)를 바운더리 스캐닝하는 장치에 관한 것으로서, TDI를 입력받아 TDI용 클럭의 인가시에 입력된 TDI를 집적 회로(1)에 인가하는 제1저장부(11)와; TMS를 입력받아 TMS용 클럭의 인가시에 입력된 TMS를 집적 회로(1)에 인가하는 제2저장부(12)와; TDO를 입력받아 TDO용 클럭의 인가시에 입력된 TDI를 출력하는 제3저장부(13)와; 제1,2,3저장부(11,12,13)들에 인가되는 TDI용, TMS용, TDO용 클럭을 논리합하여 출력하는 조합부(4)와; 조합부(4)의 출력과 소정 주기의 시스템 클럭을 조합하여 TCK를 출력하는 TCK 발생 회로(5)를 포함한다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a boundary scan structure, and more particularly, to an apparatus for boundary scanning an integrated circuit (1) that inputs and outputs TMS, TDI, and TDO in synchronization with TCK. The present invention relates to a TDI input upon application of a TDI clock. A first storage unit (11) for applying to the integrated circuit (1); A second storage unit 12 receiving the TMS and applying the input TMS to the integrated circuit 1 when the TMS clock is applied; A third storage unit 13 which receives the TDO and outputs the input TDI when the TDO clock is applied; A combination unit 4 for logically combining and outputting clocks for TDI, TMS, and TDO applied to the first, second, and third storage units 11, 12, and 13; And a TCK generation circuit 5 for outputting the TCK by combining the output of the combination section 4 and the system clock of a predetermined period.

Description

바운더리 스캔 구조의 테스트 클럭 발생 장치Test Clock Generator with Boundary Scan Structure

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

제2도는 종래의 바운더리 스캔 구조의 타이밍도.2 is a timing diagram of a conventional boundary scan structure.

제3도는 본 발명에 따른 바운더리 스캔 구조의 테스트 클럭 발생 장치의 블럭도.3 is a block diagram of a test clock generator having a boundary scan structure according to the present invention.

제4도는 본 발명에 따른 바운더리 스캔 구조의 테스트 클럭 발생 장치의 타이밍도.4 is a timing diagram of a test clock generator having a boundary scan structure according to the present invention.

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

1 : 집적회로 2 : 프로세서1: integrated circuit 2: processor

3 : 어드레스 디코더 4 : 조합부3: address decoder 4: combination part

5 : TCK발생 회로5: TCK generation circuit

본 발명은 IEEE(Institute of Electrical and Electronics Engineers)에서 규정한 바운더리 스캔 구조(Boundary-Scan Architecture)에 관한 것으로서, 더욱 상세하게는 테스트 클럭을 자동으로 발생시키는 바운더리 스캔 구조의 테스트 클럭발생 장치에 관한 것이다.The present invention relates to a boundary-scan architecture defined by the Institute of Electrical and Electronics Engineers (IEEE), and more particularly, to a test clock generator having a boundary scan structure for automatically generating a test clock. .

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 that 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 has a test clock (hereinafter referred to as TCK), a test data input (hereinafter referred to as TDI), a test data output (hereinafter referred to as TDO), and a test mode. Requires a terminal for select (Test Mode Select) signals. Here, TCK is a test clock for logic of the 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 for testing 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)에 선택적으로 클럭 신호를 인가하도록 구성되어 있다.In the drawing, reference numeral 1 denotes an integrated circuit for boundary scanning using TCK, TDI, TDO, and TMS as described above, and reference numeral 2 denotes a processor for boundary scanning of 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.

D 플립플롭(D1-D3)의 입력 단자(D)는 프로세서(2)와 데이터 버스를 통하여 연결되어 있고, 그 출력 단자(Q)는 각각 TCK, TDI, TMS를 입력하기 위한 집적 회로(1)의 단자들(I1,I2,I3)에 연결되어 있다. 또한, D 플립플롭(D4)의 입력 단자(D)는 TDO를 출력하는 집적 회로(1)의 단자(O1)에 연결되어 있고, 그 출력 단자(Q)는 데이터 버스를 통하여 프로세서(2)와 연결되어 있다.The input terminals D of the D flip-flops D1-D3 are connected to the processor 2 via a data bus, and the output terminals Q thereof are integrated circuits 1 for inputting TCK, TDI, and TMS, respectively. Are connected to terminals I1, I2, and I3. In addition, the input terminal D of the D flip-flop D4 is connected to the terminal O1 of the integrated circuit 1 which outputs the TDO, and the output terminal Q is connected to the processor 2 via the data bus. It is connected.

즉, 프로세서(2)는 데이터 버스를 통하여 TCK, TDI, TMS를 플립플롭(D1,D2,D3)에 각각 저장하여 두고, 어드레스 디코더(3)를 이용하여 D 플립플롭(D1,D2 또는 D3)에 선택적으로 클럭 신호를 인가하므로써, TCK에 동기시켜 TDI 또는 TMS를 집적 회로(1)에 인가하는 것이다. 또한, 프로세서(2)는 어드레스 디코더(3)를 이용하여 D 플립플롭(D4)에 선택적으로 클럭 신호를 인가하므로써, TCK에 동기되어 출력되는 집적 회로(1)의 TDO를 선택적으로 입력하는 것이다.That is, the processor 2 stores the TCK, TDI, and TMS in the flip-flops D1, D2, and D3 through the data bus, respectively, and the D flip-flops D1, D2, or D3 using the address decoder 3, respectively. By selectively applying a clock signal, the TDI or the TMS is applied to the integrated circuit 1 in synchronization with the TCK. In addition, the processor 2 selectively inputs the TDO of the integrated circuit 1 which is output in synchronization with the TCK by selectively applying a clock signal to the D flip-flop D4 using the address decoder 3.

그러나, 이러한 종래의 구성에서는 프로세서(2)가 집적 회로(1)를 바운더리 스캐닝하기 위해서 TCK를 TMS, TDI 및 TDO에 맞추어 소프트웨어적으로 처리하여야 하는 불편이 있었다.However, in this conventional configuration, the processor 2 has a inconvenience in that the TCK must be processed in software in accordance with TMS, TDI, and TDO in order to boundary scan the integrated circuit 1.

즉, TDI 및 TMS는 TCK의 상승 에지에서 샘플링되어 집적 회로(1)에 입력되고, TDO는 TCK의 하강 에지에서 변화시켜 출력되므로, 프로세서(2)는 TDI, TMS 및 TDO의 입출력 상태에 맞추어 TCK를 변화 시켜야 하는 것이다.That is, since the TDI and TMS are sampled at the rising edge of the TCK and input to the integrated circuit 1, and the TDO is changed and output at the falling edge of the TCK, the processor 2 adjusts the TCK according to the input / output states of the TDI, TMS, and TDO. To change.

이러한 과정을 제2도의 타이밍도를 참조하여 상세히 설명한다.This process will be described in detail with reference to the timing diagram of FIG.

제2도의 예는 TDI의 경우만을 도시하였으나, TDO 및 TMS의 경우도 동일하다는 것을 용이하게 알 수 있을 것이다.Although the example of FIG. 2 shows only the case of TDI, it will be easily understood that the case of TDO and TMS is the same.

TDI가 도시된 바와 같은 상태 변화를 갖는 경우에 이러한 상태 변화를 집적 회로(1)에 인가하기 위하여는 TCK는 시점(t1,t2,t3,t4....)에서 상승 에지 상태가 되어야 TDI가 집적 회로(1)에 인가된다. 따라서, 프로세서(2)는 TDI의 상태변화에 따른 TCK를 계산하여 출력하여야 하는 것이다.In the case where the TDI has a state change as shown, in order to apply this state change to the integrated circuit 1, the TCK must be in the rising edge state at the time points t1, t2, t3, t4 .... Applied to the integrated circuit 1. Therefore, the processor 2 should calculate and output the TCK according to the state change of the TDI.

이와 같이 종래의 바운더리 스캐닝 방법은 프로세서가 TDI, TDO 및 TMS의 상태 변화에 따르는 TCK를 소프트웨어적으로 발생시켜 출력하여야 하므로, 프로세서의 동작 속도가 느려져 바운더리 스캐닝의 속도가 느리게 된다는 문제가 있었다.As described above, in the conventional boundary scanning method, since the processor must generate and output the TCK according to the state change of the TDI, the TDO, and the TMS in software, there is a problem that the speed of the boundary scanning becomes slow due to the slow operation of the processor.

본 발명은 이러한 문제를 해결하기 위하여 안출한 것으로서, 본 발명의 목적은 TCK가 TDI, TDO 및 TMS의 상태 변화에 따라 자동적으로 출력되게 하므로써, 바운더리 스캐닝 속도를 향상시킨 바운더리 스캔 구조의 테스트 클럭 발생 장치를 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to generate a TCK, a TCC, a TDO, a TDO, and a test clock generator having a boundary scan structure that improves boundary scanning speed by improving the boundary speed. To provide.

이러한 목적을 달성하기 위한 본 발명의 특징은, TCK에 동기되는 TMS, TDI, TDO를 입출력하는 집적 회로를 바운더리 스캐닝하는 장치에 관한 것으로서, TDI를 입력받아 TDI용 클럭의 인가시에 입력된 TDI를 집적 회로에 인가하는 제1저장부와; TMS를 입력받아 TMS용 클럭의 인가시에 입력된 TMS를 집적 회로에 인가하는 제2저장부와; TDO를 입력받아 TDO용 클럭의 인가시에 입력된 TDI를 출력하는 제3저장부와; 제1,2,3저장부들에 인가되는 TDI용, TMS용, TDO용 클럭을 논리합하여 출력하는 조합부와; 조합부의 출력과 소정 주기의 시스템 클럭을 조합하여 TCK를 출력하는 TCK 발생 회로를 포함한다.A feature of the present invention for achieving the above object relates to an apparatus for boundary scanning of integrated circuits for inputting and outputting TMS, TDI, and TDO synchronized with TCK, and receiving a TDI and applying a TDI input upon application of a TDI clock. A first storage unit for applying to an integrated circuit; A second storage unit which receives the TMS and applies the input TMS to the integrated circuit when the TMS clock is applied; A third storage unit which receives the TDO and outputs the input TDI when the TDO clock is applied; A combination unit for logically outputting the TDI, TMS, and TDO clocks applied to the first, second, and third storage units; And a TCK generation circuit for outputting the TCK by combining the output of the combination unit and the system clock of a predetermined period.

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

제3도는 본 발명에 따른 바운더리 스캔 구조의 테스트 클럭 발생 장치의 블럭도로서, 종래와 동일한 구성 부분에 대하여는 동일한 부호를 사용하였다.3 is a block diagram of a test clock generator having a boundary scan structure according to the present invention, in which the same reference numerals are used for the same components.

도시된 바와 같이 본 발명은 종래와 동일하게 바운더리 스캔 구조를 갖는 집적 회로(1), 프로세서(2), 어드레스 디코더(3)와 저장부(11,12,13)를 구성하는 D 플립플롭(D2,D3,D4)을 포함한다.As shown, according to the present invention, the D flip-flop D2 constituting the integrated circuit 1, the processor 2, the address decoder 3, and the storage units 11, 12, and 13 having a boundary scan structure as in the related art is shown. , D3, D4).

D 플립플롭(D2,D3)들은 데이터 버스를 통하여 프로세서로부터 TDI 및 TMS를 각각 인가 받으며, D 플립플롭(D4)은 집적 회로(2)로부터 TDO를 입력받는다.The D flip-flops D2 and D3 receive TDI and TMS from the processor via the data bus, respectively, and the D flip-flop D4 receives the TDO from the integrated circuit 2.

또한, 어드레스 디코더(3)는 종래와 같이 프로세서(2)로부터 인가되는 어드레스를 디코딩하여 D 플립플롭(D2,D3,D4)에 클럭신호를 선택적으로 인가하기 위한 것으로서, D 플립플롭(D2,D3)이 저장하였던 TDI 및 TMS를 출력케 할 때에는 단자(O1,O2)를 통하여 클럭 신호를 출력하고, D 플립플롭(D4)이 저장하였던 TDO를 출력케 할 때에는 단자(O3)를 통하여 클럭 신호를 선택적으로 출력하게 구성된다. 즉, 어드레스 디코더(3)는 종래와 동일한 구성인 것이다.In addition, the address decoder 3 decodes an address applied from the processor 2 as in the related art and selectively applies a clock signal to the D flip-flops D2, D3, and D4, and the D flip-flops D2 and D3. Outputs the clock signal through the terminals O1 and O2 when the TDI and the TMS are stored, and outputs the clock signal through the terminal O3 when the D flip-flop D4 outputs the stored TDO. It is configured to output selectively. That is, the address decoder 3 has the same configuration as the conventional one.

그러나, 본 발명에 구성되는 어드레스 디코더(2)의 단자(O3)로부터 출력되는 클럭 신호는 D 플립플롭(D4)에 인가되지 않는다. 즉, 어드레스 디코더(2)의 단자(O1,O2)에서 출력되는 클럭 신호는 종래와 같이 D 플립플롭(D2,D3)의 클럭 단자에 각각 인가되나, 단자(O3)에서 출력되는 클럭 신호는 D 플립플롭(D4)에 인가되지 않는다. 즉, D 플립플롭(D4)의 클럭 단자에는 후술하는 TCK 발생 회로(5)의 출력이 인버터(I1)의하여 반전된 상태로 인가되며, 그 출력 단자(Q)는 상술한 어드레스 디코더(2)의 단자(O3)의 클럭 신호에 따라 출력을 제어하는 버퍼(B1)가 연결되어 있다.However, the clock signal output from the terminal O3 of the address decoder 2 of the present invention is not applied to the D flip-flop D4. That is, the clock signals output from the terminals O1 and O2 of the address decoder 2 are applied to the clock terminals of the D flip-flops D2 and D3 as in the prior art, but the clock signals output from the terminal O3 are D. It is not applied to the flip flop D4. That is, the output of the TCK generation circuit 5 described later is applied to the clock terminal of the D flip-flop D4 in an inverted state by the inverter I1, and the output terminal Q is connected to the above-described address decoder 2. A buffer B1 for controlling the output in accordance with the clock signal of the terminal O3 is connected.

상술한 구성에서 알 수 있는 바와 같이 본 발명에서는 종래와는 상이하게 TCK를 저장하기 위한 D 플립플롭이 생략되었음을 알 수 있다. 그러나, 본 발명에서는 TCK를 위한 D 플립플롭대신에 하드웨어적으로 TCK를 발생시키기 위한 조합부(4)와 TCK 발생 회로(5)가 구성되었다.As can be seen from the configuration described above, it can be seen that the D flip-flop for storing the TCK is omitted in the present invention, unlike the conventional art. However, in the present invention, instead of the D flip-flop for the TCK, a combination unit 4 and a TCK generation circuit 5 for generating the TCK in hardware are configured.

이를 구체적으로 설명하면, 조합부(4)는 오아 게이트(OR1)로 되어 어드레스 디코더(3)의 단자(O1,O2,O3)에서 출력되는 클럭 신호들을 논리합하여 출력하게 구성된다.Specifically, the combination unit 4 is configured as an OR gate OR1 to logically output the clock signals output from the terminals O1, O2, and O3 of the address decoder 3.

조합부(4)에 연결되어 있는 TCK 발생 회로(5)는 조합부(4)의 출력을 클럭으로서 사용하는 D 플립플롭(D5)과 시스템 클럭(SCK)을 클럭 신호로서 사용하는 D 플립플롭(D6,D7)을 포함한다. 이러한 시스템 클럭(SCK)은 프로세서의 구동에 필수적으로 사용되는 것이므로 제1도에는 별도의 도시를 하지 않았다. 한편, D 플립플롭(D5)은 그 입력 단자(D)가 전원에 연결되어 있고 그 출력 단자(Q)가 D 플립플롭(D6)의 입력 단자(D)에 연결되어 있으며, D 플립플롭(D6)은 그출력 단자(Q)가 D 플립플롭(D7) 및 집적 회로(1)의 단자(I1)에 연결되어 있다. 여기서, 집적 회로(1)의 단자(I1)는 종래와 동일하게 TCK를 입력하기 위한 단자이다.The TCK generation circuit 5 connected to the combining section 4 has a D flip-flop D5 using the output of the combining section 4 as a clock and a D flip-flop using the system clock SCK as a clock signal ( D6, D7). Since the system clock SCK is essentially used for driving the processor, the system clock SCK is not illustrated in FIG. 1. On the other hand, D flip-flop D5 has its input terminal D connected to a power source, its output terminal Q is connected to the input terminal D of D flip-flop D6, and D flip-flop D6. The output terminal Q is connected to the D flip-flop D7 and the terminal I1 of the integrated circuit 1. Here, the terminal I1 of the integrated circuit 1 is a terminal for inputting a TCK as in the prior art.

또한, D 플립플롭(D7)의 반전 출력 단자(/Q)는 앤드 게이트(A1)에 연결되어 있으며, 앤드 게이트(A1)는 로우레벨의 리세트 신호와 D 플립플롭(D7)의 반전 출력 단자(/Q)로부터 인가되는 신호를 조합하여 D 플립플롭(D5,D6,D7)들을 선택적으로 리세트시키도록 구성되어 있다.In addition, the inverted output terminal / Q of the D flip-flop D7 is connected to the AND gate A1, and the AND gate A1 is a low level reset signal and the inverted output terminal of the D flip-flop D7. Configured to selectively reset the D flip-flops D5, D6, and D7 by combining the signal applied from (/ Q).

이와 같이 구성된 바운더리 스캔 구조의 테스트 클럭 발생 장치에서는 TCK 발생 회로5가 어드레스 디코더(3)의 클럭에 동기되어 TCK를 자동으로 출력하므로 프로세서가 TCK를 소프트웨어적으로 발생시킬 필요가 없다.In the test clock generator having the boundary scan structure configured as described above, the TCK generation circuit 5 automatically outputs the TCK in synchronization with the clock of the address decoder 3, so that the processor does not need to generate the TCK in software.

즉, 어드레스 디코더(3)가 단자(O1,O2,O3)를 통하여 어느 하나의 D 플립플롭(D2,D3,D4)에 클럭 신호를 인가하면, 조합부(4)는 제4도에 도시된 바와 같이 클럭 신호와 동일한 펄스(P1)를 출력한다. 이러한 펄스(P1)는 D 플립플롭(D5)에 클럭 신호로서 작용하므로 D 플립플롭(D5)은 펄스(P1)에 동기되어 하이레벨의 로직(P2)을 시점(t1)에서 출력하여 D 플립플롭(D6)에 인가한다. 이때, D 플립플롭(D6,D7)의 클럭 단자(CK)에는 시스템 클럭(SCK)이 인가되므로 D 플립플롭(D6)은 시스템 클럭(SCK)의 상승에지에 동기되어 하이레벨의 로직(P3)를 시점(t2)에서 D 플립플롭(D7)에 인가한다. 또한, D 플립플롭(D7)역시 시스템 클럭(SCK)의 상승에지에서 동기되어 하이레벨의 로직(P4)을 시점(t3)에서 단자(Q)로 출력하나, 그 반전단자(/Q)의 출력을 앤드 게이트(A1)에 인가하여 D 플립플롭(D5,D6,D7)을 리세트시키므로써 D 플립플롭(D5,D6,D7)들은 시점(t4)에서 출력 단자(Q)를 통하여 로우레벨의 로직(P2,P3,P4)를 각각 출력한다. 여기서 시점(t3,t4)간의 시간 차이는 D 플립플롭(D5,D6,D7) 및 앤드 게이트(A1)에서 발생하는 지연시간에 의한 것임을 용이하게 알수 있을 것이다.That is, when the address decoder 3 applies a clock signal to any one of the D flip-flops D2, D3, and D4 through the terminals O1, O2, and O3, the combination unit 4 is shown in FIG. As described above, the same pulse P1 as the clock signal is output. Since the pulse P1 acts as a clock signal to the D flip-flop D5, the D flip-flop D5 outputs the high-level logic P2 at the time point t1 in synchronization with the pulse P1, and thus the D flip-flop. It is applied to (D6). At this time, since the system clock SCK is applied to the clock terminals CK of the D flip-flops D6 and D7, the D flip-flop D6 is synchronized with the rising edge of the system clock SCK to form a high level logic P3. Is applied to the D flip-flop D7 at the time point t2. The D flip-flop D7 is also synchronized with the rising edge of the system clock SCK to output the high level logic P4 to the terminal Q at the time point t3, but the output of the inverting terminal / Q. Is applied to the AND gate A1 to reset the D flip-flops D5, D6, and D7, so that the D flip-flops D5, D6, and D7 are at the low level through the output terminal Q at the time point t4. Output logic P2, P3, P4, respectively. Here, it can be easily seen that the time difference between the time points t3 and t4 is due to the delay time occurring at the D flip-flops D5, D6 and D7 and the AND gate A1.

여기서, D 플립플롭(D6)의 출력(P3)은 제4도에서 알 수 있는 바와 같이 조합부(4)의 출력에 의하여 D 플립플롭(D5)의 출력이 하이레벨로 변환된 후 시스템 클럭(SCK)의 상승에지에서 하이레벨의 상태로 변환되고, 시스템 클럭(SCK)의 다음번 상승에지에서 로우레벨로 변환됨을 알 수 있다. 따라서, TCK 발생회로(5)가 출력하는 펄스(P3)는 어드레스 디코더(3)의 클럭 신호에 의하여 D 플립플롭(D2,D3)이 TDI, TMS 출력한 다음의 시스템 클럭(SCK)의 상승 에지에 동기되어 상승 에지 상태가 되므로 TDI 및 TMS는 집적 회로(1)에 입력되는 것이다.As shown in FIG. 4, the output P3 of the D flip-flop D6 has a system clock after the output of the D flip-flop D5 is converted to a high level by the output of the combination unit 4. It can be seen that the state is converted to the high level state at the rising edge of SCK, and is converted to the low level at the next rising edge of the system clock SCK. Therefore, the pulse P3 output by the TCK generation circuit 5 is the rising edge of the system clock SCK after the D flip-flops D2 and D3 output the TDI and TMS according to the clock signal of the address decoder 3. TDI and TMS are input to the integrated circuit 1 because they are in the rising edge state in synchronization with.

또한, 집적 회로(1)는 TCK가 하강 에지 상태에서 TDO를 출력하나, 인버터(I1)에 의하여 반전된 펄스(P3)가 D 플립플롭(D4)의 클럭 신호로 이용되므로, D 플립플롭(D4)은 펄스(P3)에 동기되어 TDO를 저장하게 된다. 이와 같이 D 플립플롭(D4)에 저장된 TDO는 어드레스 디코더(3)의 단자(O3)의 출력이 로우레벨로 변환되면 버퍼(B1)를 통하여 출력된다.In addition, the integrated circuit 1 outputs the TDO while the TCK is at the falling edge, but since the pulse P3 inverted by the inverter I1 is used as the clock signal of the D flip-flop D4, the D flip-flop D4 is used. ) Stores the TDO in synchronization with the pulse P3. As such, the TDO stored in the D flip-flop D4 is output through the buffer B1 when the output of the terminal O3 of the address decoder 3 is converted to the low level.

이와 같이 본 발명은 바운더리 스캐닝이 가능한 집적 회로의 TDI, TMS 및 TDO에 동기되어 TCK를 자동으로 생성시켜 집적 회로에 인가하므로서, TCK를 위한 별도의 소프트 웨어의 처리가 필요없으며, 하드웨어적으로 TCK가 자동으로 발생됨에 따라 바운더리 스캐닝의 속도가 향상되는 효과가 있다.As such, the present invention automatically generates a TCK in synchronization with TDI, TMS, and TDO of an integrated circuit capable of boundary scanning, and applies the integrated circuit to the integrated circuit, thereby eliminating the need for a separate software process for the TCK. As it is automatically generated, the speed of boundary scanning is improved.

Claims (3)

TCK에 동기되는 TMS, TDI, TDO를 입출력하는 집적 회로(1)를 바운더리 스캐닝하는 장치로서, 상기 TDI를 입력받아 TDI용 클럭의 인가시에 입력된 TDI를 상기 집적 회로(1)에 인가하는 제1저장부(11)와; 상기 TMS를 입력받아 TMS용 클럭의 인가시에 입력된 TMS를 상기 집적 회로(1)에 인가하는 제2저장부(12)와; 상기 TDO를 입력받아 TDO용 클럭의 인가시에 입력된 TDI를 출력하는 제3저장부(13)와; 상기 제1,2,3저장부(11,12,13)들에 인가되는 상기 TDI용, TMS용, TDO용 클럭을 논리합하여 출력하는 조합부(4)와; 상기 조합부(4)의 출력과 소정 주기의 시스템 클럭을 조합하여 TCK를 출력하는 TCK 발생 회로(5)를 포함하는 바운더리 스캔 구조의 테스트 클럭 발생 장치.An apparatus for boundary scanning of an integrated circuit (1) for inputting and outputting TMS, TDI, and TDO synchronized to a TCK, the apparatus comprising: receiving the TDI and applying the input TDI to the integrated circuit (1) upon application of a TDI clock; 1 storage section 11; A second storage unit 12 which receives the TMS and applies the input TMS to the integrated circuit 1 when the TMS clock is applied; A third storage unit 13 which receives the TDO and outputs the TDI input when the TDO clock is applied; A combination unit (4) for logically combining and outputting the TDI, TMS, and TDO clocks applied to the first, second, and third storage units (11, 12, 13); And a TCK generation circuit (5) for outputting the TCK by combining the output of the combination section (4) and a system clock of a predetermined period. 제1항에 있어서, 상기 제3저장부(13)는, 상기 TCK 발생 회로(5)의 출력을 반전시켜 출력하는 인버터(I1)와; 상기 인버터(I1)의 출력을 클럭으로 이용하여 상기 집적 회로(1)의 TDO를 입력하여 저장하는 제1 D 플립플롭(D4)과; 상기 TDO용 클럭에 따라 상기 제1 D 플립플롭(D4)에 저장된 TDO를 출력하는 버퍼(B1)를 구비하는 바운더리 스캔 구조의 테스트 클럭 발생 장치.2. The inverter according to claim 1, wherein the third storage section (13) comprises: an inverter (I1) for inverting and outputting the output of the TCK generation circuit (5); A first D flip-flop (D4) for inputting and storing the TDO of the integrated circuit (1) using the output of the inverter (I1) as a clock; And a buffer (B1) for outputting a TDO stored in the first D flip-flop (D4) according to the clock for the TDO. 제1항에 있어서, 상기 TCK 발생 회로(5)는 , 상기 조합부(4)의 출력을 클럭 신호로 이용하는 제2 D 플립플롭(D5)과; 상기 시스템 클럭을 클럭으로 이용하며, 상기 제2 D 플립플롭(D5)의 출력을 입력하는 제3 D 플립플롭(D6)과; 상기 시스템 클럭을 클럭신호로 이용하며, 상기 제3D 플립플롭(D6)의 출력을 입력하는 제4D 플립플롭(D7)과; 상기 제4D 플립플롭(D7)과 소정의 리세트 신호를 조합하여 상기 제2, 3, 4D 플립플롭(D5, D6, D7)을 선택적으로 리세트시키는 앤드게이트(A1)를 포함하는 바운더리 스캔 구조의 테스트 클럭 발생 장치.2. The TCK generating circuit (5) according to claim 1, further comprising: a second D flip-flop (D5) using the output of the combining section (4) as a clock signal; A third D flip-flop (D6) using the system clock as a clock and inputting an output of the second D flip-flop (D5); A 4D flip-flop (D7) using the system clock as a clock signal and inputting the output of the 3D flip-flop (D6); Boundary scan structure including an AND gate A1 for selectively resetting the second, third and fourth 4D flip-flops D5, D6, and D7 by combining the fourth 4D flip-flop D7 and a predetermined reset signal. Test clock generator.
KR1019940023338A 1994-09-15 1994-09-15 Test clock generator of boundary-scan architecture KR0145789B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940023338A KR0145789B1 (en) 1994-09-15 1994-09-15 Test clock generator of boundary-scan architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940023338A KR0145789B1 (en) 1994-09-15 1994-09-15 Test clock generator of boundary-scan architecture

Publications (1)

Publication Number Publication Date
KR0145789B1 true KR0145789B1 (en) 1998-12-01

Family

ID=19392837

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940023338A KR0145789B1 (en) 1994-09-15 1994-09-15 Test clock generator of boundary-scan architecture

Country Status (1)

Country Link
KR (1) KR0145789B1 (en)

Similar Documents

Publication Publication Date Title
US8065549B2 (en) Scan-based integrated circuit having clock frequency divider
US6456113B2 (en) Scan flip-flop circuit having scan logic output terminal dedicated to scan test
JP2008216185A (en) Scan test circuit, semiconductor integrated circuit, and scan-enable signal timing controlling circuit section
JP2550837B2 (en) Scan path test control circuit
JPH06105285B2 (en) Semiconductor integrated circuit device
KR0145789B1 (en) Test clock generator of boundary-scan architecture
JP3633901B2 (en) LSSD interface
US5867694A (en) Information handling system including apparatus and method for controlling clock signals operating at different frequencies
KR19990036456A (en) Integrated circuit device
KR970002062B1 (en) Test data output circuit of boundary-scan architecture
JPH1041789A (en) Master/slave d-type flip-flop circuit
KR970000820B1 (en) Test data input circuit of boundary-scan architecture
JP3328160B2 (en) Test equipment for logic integrated circuits
KR970000260B1 (en) Parallel inputable boudary-scan architecture
KR970006018B1 (en) Test mode select signal generator of boundary scan architecture
JPH06187797A (en) Memory integrated circuit
JP3357821B2 (en) Scan path flip-flop circuit and scan path test system
KR0145797B1 (en) Parallel outputtable boundary-scan architecture
KR960016139B1 (en) Apparatus for inputting 3-test data input to integrated circuit in a boundary scan architecture
JPH05341016A (en) Semiconductor integrated circuit device and testing method therefor
JPH06300821A (en) Lsi having controller incorporated
JPH052052A (en) Test signal generation circuit of semiconductor device
JPH06148288A (en) Semiconductor integrated circuit
Schindler Prototype testing of high-speed CMOS digital circuits
JPH07244124A (en) Integrated circuit chip

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

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee