KR970000260B1 - Parallel inputable boudary-scan architecture - Google Patents

Parallel inputable boudary-scan architecture Download PDF

Info

Publication number
KR970000260B1
KR970000260B1 KR1019940023340A KR19940023340A KR970000260B1 KR 970000260 B1 KR970000260 B1 KR 970000260B1 KR 1019940023340 A KR1019940023340 A KR 1019940023340A KR 19940023340 A KR19940023340 A KR 19940023340A KR 970000260 B1 KR970000260 B1 KR 970000260B1
Authority
KR
South Korea
Prior art keywords
tck
signal
clock
parallel input
flip
Prior art date
Application number
KR1019940023340A
Other languages
Korean (ko)
Other versions
KR960011634A (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 KR1019940023340A priority Critical patent/KR970000260B1/en
Publication of KR960011634A publication Critical patent/KR960011634A/en
Application granted granted Critical
Publication of KR970000260B1 publication Critical patent/KR970000260B1/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/318541Scan latches or cell details
    • 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

Abstract

at least one parallel input-series output shift register which inputs TDIs in parallel according to TDI loading signal and which outputs in series TDIs inputted by synchronized to TCK; a clock generator which the outputs parallel input signal as selection clock by delaying for predetermined time; a selection circuit which successively inputs the TDI loading signal to the parallel input-series output shift register by arranging the counted value and the parallel signal by counting the register selection clock; a TCK generating circuit respectively inputs the TCK to the parallel input-parallel output shift register and the integrated circuit by forming TCK by arranging TCK generating signal and system clock; a TCK generation control part which outputs TCK generating signal by counting as much as TKI number to be inputted to integrated circuit by receiving TCK from the TCK generation circuit.

Description

병렬 입력 처리가 가능한 바운더리 스캔 구조Boundary scan structure with parallel input processing

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

제2도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조의 블럭도.2 is a block diagram of a boundary scan structure capable of parallel input processing according to the present invention.

제3도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조에 구성되는 클럭발생부의 회로도.3 is a circuit diagram of a clock generation unit configured in a boundary scan structure capable of parallel input processing according to the present invention.

제4도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조에 구성되는 선택회로도.4 is a selection circuit diagram configured in a boundary scan structure capable of parallel input processing according to the present invention.

제5도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조에 구성되는 클럭발생부 및 선택회로의 주요부분 파형도.5 is a waveform diagram of a main portion of a clock generator and a selection circuit configured in a boundary scan structure capable of parallel input processing according to the present invention.

제6도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조에 구성되는 TCK 발생회로도.6 is a TCK generation circuit diagram configured in a boundary scan structure capable of parallel input processing according to the present invention.

제7도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조에 이루어지는 TCK 발생 제어부 및 TCK 발생회로의 주요부분 파형도.7 is a waveform diagram of a main portion of a TCK generation control unit and a TCK generation circuit formed in a boundary scan structure capable of parallel input processing according to the present invention.

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

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

3 : 어드레스 디코더 10 : 클럭발생부3: address decoder 10: clock generator

20 : 선택회로 30 : TCK 발생제어부20: selection circuit 30: TCK generation control unit

40 : TCK 발생회로 50 : TCK 발생회로40: TCK generating circuit 50: TCK generating circuit

본 발명은 IEEE(Institute of Electrical and Electronice Engineers)에서 규정한 바운더리 스캔 구조(Boundary-Scan Architecture)에 관한 것으로서, 더욱 상세하게는 테스트 데이타 입력(Test Data Input) 신호를 병렬로 처리하여 집적회로에 입력할 수 있는 병렬 입력 처리가 가능한 바운더리 스캔 구조에 관한 것이다.The present invention relates to a boundary-scan architecture defined by the Institute of Electrical and Electronic Engineers (IEEE). More particularly, the present invention processes a test data input signal in parallel and inputs it to an integrated circuit. A boundary scan structure capable of parallel input processing is possible.

IEEE에서는 집적 회로의 구성 요소들이 요구되는 기능을 정확히 수행하는지, 또는 각 구성 요소들이 정확하게 서로 연결되었는지, 또는 각 구성 요소들이 요구되는 기능을 정확하게 수행할 수 있도록 상호작용을 하는지를 감시하는데 필요한 바운더리 스캔 구조를 IEEE 1149.1에 규정하였다.In IEEE, boundary scan structures are needed to monitor whether the components of an integrated circuit perform exactly what is required, or whether each component is correctly connected to each other, or whether each component interacts to perform exactly the required function. 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 regulation, the boundary scan structure has a test clock (Test Clock: hereinafter, TCK), test data input (Test Data Input: hereinafter, TDI), test data output (Test Data Output: hereinafter, TDO), and test. Test mode select (hereinafter referred to as TMS) signals are required. Here, TCK is a test clock for logic of an integrated circuit according to the IEEE standard, and TDI means test commands and data for testing the logic of the integrated circuit of the above-mentioned standard. TDI is applied to logic for sampling and testing at the rising edge of TCK.

또한, TDO는 상술한 규정에 의한 집적 회로로부터 로직을 테스트하기 위하여 직렬로 출력되는 테스트 명령 및 데이타로서, TDO는 TCK의 하강 에지에서 상태가 변화되어야 한다. 또한, TMS는 상술한 규정에 의한 집적 회로의 로직을 테스트하기 위한 모드를 설정하는 신호로서, TCK의 상스 에지에서 샘플링되어 출력된다. 상술한 신호들을 이용하여 집적 회로를 바운더리 스캐닝하기 위한 종래의 간단한 구조가 제1도에 도시되어 있다.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-mentioned regulations, and is sampled at the top edge of the TCK and output. 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플립플롭(D1-D3)의 입력 단자(D)는 TDO를 출력하는 집적회로(1)의 단자(O1)에 연결되어 있고, 그 출력 단자(Q)는 어드레스 버스를 통하여 프로세서(2)와 연결되어 있다.In the drawing, reference numeral 1 denotes an integrated circuit for boundary scanning using TCK, TDI, TDO, and TMS as described above, and reference symbol 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. At this time, 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 are integrated circuits for inputting TCK, TDI, and TMS, respectively. It is connected to the terminals I1, I2 and I3 of 1). In addition, an input terminal D of the D flip-flops D1-D3 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. )

즉, 프로세서(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 address bus, respectively, and the D-flop flops D1, D2, or D3 using the address decoder 3, respectively. By selectively applying a clock signal to the TCK, 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 output in synchronization with the TCK by selectively applying a clock signal to the D flip-flop D4 using the address decoder 3.

그러나, 이러한 바운더리 스캔 구조에서는 TDI가 TCK에 동기되어 직렬로 집적회로에 인가되어야 한다. 따라서, 프로세서(2)가 집적 회로(1)에 TDI를 입력하는데는 많은 시간이 소요되므로 바운더리 스캐닝을 위한 시간이 과도하게 필요하다는 문제가 있었다.However, in this boundary scan structure, TDI must be applied to the integrated circuit in series in synchronization with TCK. Therefore, since the processor 2 takes a long time to input the TDI to the integrated circuit 1, there is a problem that excessive time for boundary scanning is required.

본 발명은 이러한 문제를 해결하기 위하여 안출한 것으로서, 본 발명의 목적은, TDI를 병렬로 사전에 저장하여 두고, 프로세서를 위한 시스템 클럭을 TCK로 이용하여 저장된 TDI를 집적회로에 인가하므로써, 바운더리 스캐닝을 빠른 시간내에 수행할 수 있는 병렬 입력 처리가 가능한 바운더리 스캔 구조를 제공하는데 있다.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 boundary TDI in advance, and apply boundary TDI to an integrated circuit by applying a stored TDI to an integrated circuit using a system clock for a processor as a TCK. To provide a boundary scan structure capable of parallel input processing that can be performed in a short time.

이러한 목적을 달성하기 위한 본 발명의 특징은, 집적회로의 바운더리 스캐닝을 위한 TDI 입력장치로서, 로딩신호에 따라 TDI들을 병렬로 입력하고 TCK에 동기되어 입력된 TDI들을 직렬로 출력하는 적어도 하나이상의 병직렬 시프트 레지스터들과 ; 병렬입력신호를 입력받아 소정시간 지연시켜 레지스터 선택용 클럭으로서 출력하는 클럭발생부와 ; 상기 레지스터 선택용 클럭을 계수하여 계수된 값과 상기 병렬입력신호를 조합하여 상기 병렬입력-직렬출력 시프트 레지스터들에 상기 로딩신호를 순차적으로 인가하는 선택회로와 ; TCK 발생신호와 시스템 클럭을 조합하여 TCK를 형성하고, 상기 TCK를 상기 병렬입력-직렬출력 시프트 레지스터와 상기 집적회로에 각각 인가하는 TCK 발생회로와 ; 상기 TCK 발생회로로부터 TCK를 입력받아 접적회로에 인가될 TDI 개수만큼 계수하여 TCK 발생신호를 출력하는 TCK 발생제어부를 구비하는 병렬 입력 처리가 가능한 바운더리 스캔 구조에 있다.A feature of the present invention for achieving this object is a TDI input device for boundary scanning of an integrated circuit, at least one bottle for inputting the TDIs in parallel according to the loading signal and outputting the serially input TDIs in synchronization with the TCK Serial shift registers; A clock generator which receives the parallel input signal and delays the predetermined time and outputs the same as a register selection clock; A selection circuit for sequentially applying the loading signal to the parallel input-serial output shift registers by combining the counted value of the register selection clock and the parallel input signal; A TCK generation circuit that combines a TCK generation signal and a system clock to form a TCK, and applies the TCK to the parallel input-serial output shift register and the integrated circuit, respectively; A boundary scan structure capable of parallel input processing including a TCK generation control unit which receives a TCK from the TCK generation circuit and counts the number of TDIs to be applied to the integrated circuit and outputs a TCK generation signal.

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

제2도는 본 발명에 따른 병렬 입력 처리가 가능한 바운더리 스캔 구조의 회로도로서, 종래와 동일한 집적 회로(1) 및 프로세서(2)외에 다수개의 병직렬 시프트 레지스터(R1,R2,R3,R4), 클럭발생부(10), 선택회로(20), TCK 발생제어부(30) 및 TCK 발생회로(40)가 더 구성되어 있다. 이러한 구성에서 클럭발생부(10), 선택회로(20)는 집적회로(1)에 인가할 TDI들을 병렬입력-직렬출력 시프트 레지스터(R1,R2,R3,R4)에 병렬로 입력하여 저장하기 위한 것이며, TCK 발생제어부(30) 및 TCK 발생회로(40)는 상기 병직렬 시프트 레지스터(R1,R2,R3,R4)에 저장된 TDI들을 집적 회로(1)에 직렬로 인가하기 위한 것이다.2 is a circuit diagram of a boundary scan structure capable of parallel input processing according to the present invention. In addition to the same integrated circuit 1 and processor 2 as in the related art, a plurality of parallel shift registers R1, R2, R3, and R4 and a clock are shown. The generation unit 10, the selection circuit 20, the TCK generation control unit 30, and the TCK generation circuit 40 are further configured. In such a configuration, the clock generator 10 and the selection circuit 20 input and store the TDIs to be applied to the integrated circuit 1 in parallel to the parallel input-serial output shift registers R1, R2, R3, and R4. The TCK generation control unit 30 and the TCK generation circuit 40 are for serially applying the TDIs stored in the parallel shift registers R1, R2, R3, and R4 to the integrated circuit 1 in series.

이러한 구성을 구체적으로 설명하면, 어드레스 디코더(3)는 프로세서(2)로부터 어드레스 버스(AB)를 통하여 인가되는 어드레스신호를 디코딩하여 후술하는 로딩신호, 병렬 입력신호, 클리어신호 및 세트신호를 출력하게 구성된다.Specifically, the address decoder 3 decodes an address signal applied from the processor 2 via the address bus AB to output a loading signal, a parallel input signal, a clear signal, and a set signal, which will be described later. It is composed.

어드레스 디코더(3)로부터 병렬 입력신호를 인가받는 클럭발생부(10)는 제3도에 도시된 바와 같이 D플립플롭(D11,D12,D13)으로 구성되며, 이들 플립플롭(D11,D12,D13)들은 앤드게이트(A11)의 출력에 의하여 선택적으로 리세트되도록 구성되어 있다. 이때, 앤드게이트(A11)는 로우레벨의 리세트신호와 플립플롭(D13)의 반전단자(/Q)의 출력을 조합하여 출력하도록 구성되어 있다.The clock generator 10 receiving the parallel input signal from the address decoder 3 is composed of D flip-flops D11, D12, and D13 as shown in FIG. 3, and these flip-flops D11, D12, and D13. ) Are configured to be selectively reset by the output of the AND gate A11. At this time, the AND gate A11 is configured to combine and output the low level reset signal and the output of the inverting terminal / Q of the flip-flop D13.

한편, 플립플롭(D11)은 병렬 입력신호를 클럭으로 사용하며, 플립플롭(D12,D13)은 시스템 클럭(SCK)를 클럭으로 사용한다. 따라서, 어드레스 디코더(3)가 제5도에 도시한 바와 같이 하이레벨의 병렬 입력신호를 출력하면, 플립플롭(D11)은 병렬 입력신호에 동기되어 하이레벨의 로직(DFF11)을 출력하고, 플립플롭(D12)은 다음번 시스템 클럭(SCK)의 상승에지에서 하이레벨의 로직(DFF12)을 츨력한다. 이때, 플립플롭(D13) 역시 그 다음번 시스템 클럭(SCK)의 상승에지에서 하이레벨의 로직(DFF13)을 출력하나 그 반전단자(Q/)의 로우레벨 로직에 의하여 플립플롭(D11,D12,D13)들은 리세트된다.Meanwhile, the flip-flop D11 uses the parallel input signal as a clock, and the flip-flops D12 and D13 use the system clock SCK as the clock. Therefore, when the address decoder 3 outputs the high level parallel input signal as shown in FIG. 5, the flip-flop D11 outputs the high level logic DFF11 in synchronization with the parallel input signal and flips it. The flop D12 outputs the high level logic DFF12 at the rising edge of the next system clock SCK. At this time, the flip-flop D13 also outputs the high-level logic DFF13 at the next rising edge of the system clock SCK, but the flip-flop D11, D12, and D13 by the low-level logic of the inverting terminal Q /. ) Are reset.

본 발명에서는 상술한 플립플롭(D12)의 출력을 레지스터 선택용 클럭신호라 명칭하였다.In the present invention, the above-described output of the flip-flop D12 is referred to as a register selection clock signal.

어드레스 디코더(3)로부터 클리어신호 및 병렬 입력신호를 입력받으며, 클럭발생부(10)로부터 레지스터 선택용 클럭신호를 인가받는 선택회로(20)는 제4도에 도시된 바와 같이 2진 카운터(21), 디멀티플렉서(22) 및 다수개의 앤드게이트(A21,A22,A23,A24)들로 구성되어 있다.The selection circuit 20 which receives the clear signal and the parallel input signal from the address decoder 3 and receives the register selection clock signal from the clock generator 10 is a binary counter 21 as shown in FIG. ), A demultiplexer 22 and a plurality of end gates A21, A22, A23, and A24.

이를 구체적으로 설명하면, 카운터(21)는 제5도에 도시된 바와 같이 인버터(121)에 의하여 반전된 어드레스 디코더(3)의 클리어신호에 의하여 클리어되며, 상기 레지스터 선택용 클럭신호를 클럭으로 사용하여 입력된 클럭의 갯수를 단자(DM1-DM4)를 통하여 출력하게 구성된다. 이때, 상기 디멀티플렉서(22)는 카운터(21)의 출력을 조합하여 앤드게이트(A21-A24)에 순차적으로 하이레벨의 로직을 출력하도록 구성된다. 따라서, 카운터(21)가 리세트신호에 의하여 클리어된 상태에서 디멀티플렉서(22)는 도시된 바와 같이 단자(DM1)를 통하여 하이레벨의 로직을 출력하나, 레지스터 선택용 클럭신호(DFF12)가 카운터(21)에 입력되면, 카운터(21)는 계수값을 1증가시키므로 디멀티플렉서(22)는 단자(DM2)를 통하여 하이레벨의 로직을 출력한다. 즉 클럭신호(DFF12)가 카운터(21)에 입력될 때마다 디멀티플렉서(22)는 단자(DM1-DM4)를 통하여 순차적으로 하이레벨의 로직을 출력하는 것이다.Specifically, the counter 21 is cleared by the clear signal of the address decoder 3 inverted by the inverter 121 as shown in FIG. 5 and uses the register selection clock signal as a clock. And outputs the number of input clocks through the terminals DM1-DM4. At this time, the demultiplexer 22 is configured to output the logic of the high level to the AND gates A21-A24 sequentially by combining the outputs of the counter 21. Therefore, while the counter 21 is cleared by the reset signal, the demultiplexer 22 outputs a high level logic through the terminal DM1 as shown, but the register selection clock signal DFF12 outputs the counter ( 21, the counter 21 increases the count value by one, so the demultiplexer 22 outputs a high level logic through the terminal DM2. That is, whenever the clock signal DFF12 is input to the counter 21, the demultiplexer 22 sequentially outputs high-level logic through the terminals DM1 -DM4.

이때, 앤드게이트(A21-A24)들은 디멀티플렉서(22) 단자(DM1-DM4)의 출력과, 병렬 입력신호들을 논리곱하여 출력하므로 앤드게이트(A21-A24)들은 레지스터 선택용 클럭신호(DFF12)가 클럭발생부(10)로부터 인가될 때마다 순차적으로 하이레벨의 로직을 출력하는 것이다. 본 명세서에서는 앤드게이트(A21-A24)들이 출력하는 하이레벨의 로직을 TDI용 로딩신호라 명칭하였다.At this time, the AND gates A21-A24 output the outputs of the demultiplexer 22 terminals DM1-DM4 by performing a logical multiplication on the parallel input signals, and the AND gates A21-A24 are clocked for the register selection clock signal DFF12. Whenever it is applied from the generator 10, it outputs the logic of the high level sequentially. In this specification, the high level logic outputted by the AND gates A21-A24 is referred to as a TDI loading signal.

상술한 선택회로(20)로부터 로딩신호를 입력하는 병직렬 시프트 레지스터(R1-R4)들은 프로세서(2)와 데이타버스를 통하여 연결되어 있으며 단자(LD)에 TDI용 로딩신호가 인가될 때마다 데이타 버스를 통하여 TDI들을 병렬로 입력하도록 구성되어 있다. 이때, 레지스터(R1-R4)에는 앤드게이트(A21-A24)에 의하여 순차적으로 TDI 로딩신호가 인가되므로 레지스터(R1-R4)들은 순차적으로 TDI들을 병렬로 입력하게 된다.The parallel shift registers R1-R4 for inputting a loading signal from the above-described selection circuit 20 are connected to the processor 2 through a data bus and each time a TDI loading signal is applied to the terminal LD, data is transmitted. It is configured to input TDIs in parallel via the bus. At this time, since the TDI loading signals are sequentially applied to the registers R1-R4 by the AND gates A21-A24, the registers R1-R4 sequentially input the TDIs in parallel.

이러한 레지스터(R1-R4)들은 클럭단자를 통하여 입력되는 클럭에 동기되어 입력된 TDI들을 직렬로 출력하며, 상술한 TCK 발생제어부(30) 및 TCK 발생회로(40)는 레지스터(R1-R4) 및 집적회로(1)에 TCK를 제공하기 위한 회로들이다.The registers R1-R4 output TDIs serially synchronized with a clock input through a clock terminal. The TCK generation controller 30 and the TCK generation circuit 40 include the registers R1-R4 and Circuits for providing a TCK to the integrated circuit 1.

이를 구체적으로 설명하면 상기 TCK 발생제어부(30)는 제1도에 도시된 바와 같이 다운 카운터(31) 및 오아게이트(OR31)로 구성된다.Specifically, the TCK generation control unit 30 includes a down counter 31 and an oragate OR31 as shown in FIG. 1.

다운 카운터(31)는 어드레스 디코더(3)로부터 카운팅용 로딩신호가 인가될 때에 프로세서(2)로부터 데이타 버스를 통하여 인가되는 데이타값을 로딩하며, 클럭단자에 TCK 발생회로(40)로부터 인가되는 TCK를 다운 카운팅하여 계수된 값을 단자(O1-On)들을 통하여 출력하도록 구성된다. 이때, 어드레스 디코더(3)로 부터 카운터(31)에 인가되는 데이타는 집적회로(1)에 인가될 TDI의 총 갯수에 대한 정보가 된다.The down counter 31 loads the data value applied from the processor 2 via the data bus when the counting loading signal is applied from the address decoder 3, and the TCK applied from the TCK generation circuit 40 to the clock terminal. Down counting to output the counted value through terminals O1-On. At this time, the data applied from the address decoder 3 to the counter 31 becomes information on the total number of TDIs to be applied to the integrated circuit 1.

이러한 다운 카운터(31)는 로딩된 데이타 값으로부터 0까지 다운 카운팅이 되었을 때에 단자(O1-On)로 로우레벨의 로직을 출력하므로 오아게이트(OR31)는 다운 카운터(31)에 계수된 값이 0이 될 때에 로우레벨의 로직을 출력하게 된다.When the down counter 31 is counted down to 0 from the loaded data value, the down counter 31 outputs low level logic to the terminals O1-On, so that the ORA gate OR31 has a counted value of the down counter 31 at 0. At this time, low-level logic is output.

따라서, 제7도에 도시된 바와 같이 프로세서(2)로부터 하이레벨의 카운팅용 로딩신호가 카운터(31)에 인가되면, 오아게이트(OR31)는 집적회로(1)에 인가하고자 하는 TDI의 총 갯수에 해당하는 TCK를 카운터(31)가 다운 카운팅하여 0 될 때까지 하이레벨의 로직을 출력하게 되는 것이다. 본 명세서에서는 오아게이트(OR31)에서 출력되는 하이레벨의 로직을 TCK 발생신호라 명칭하였다.Therefore, when the high level counting loading signal is applied from the processor 2 to the counter 31 as shown in FIG. 7, the total number of TDIs to be applied to the integrated circuit 1 by the ORA gate OR31. The TCK corresponding to the counter 31 counts down and outputs high level logic until it becomes zero. In the present specification, the logic of the high level output from the OR gate OR31 is called a TCK generation signal.

TCK 발생제어부(30)로부터 TCK 발생신호를 인가받는 TCK 발생회로(40)는 제6도에 도시된 바와 같이 두 개의 D플립플롭(D41,D42)와 두 개의 앤드게이트(A41,A42)를 포함한다.The TCK generation circuit 40 receiving the TCK generation signal from the TCK generation control unit 30 includes two D flip-flops D41 and D42 and two AND gates A41 and A42 as shown in FIG. do.

이때, 상기 D플립플롭(D41)은 인버터(122)에 의하여 반전된 어드레스 디코더(3)의 세트신호에 의하여 세트되며, D플립플롭(D42)은 인버터(121)에 의하여 반전된 어드레스 디코더(3)의 클리어신호에 의하여 세트된다. 이러한 D플립플롭(D41,D42)들은 각각 TCK 발생제어부(30)로부터 인가되는 로우레벨의 TCK 발생신호에 의하여 리세트되도록 구성되어 있다.In this case, the D flip-flop D41 is set by the set signal of the address decoder 3 inverted by the inverter 122, and the D flip-flop D42 is the address decoder 3 inverted by the inverter 121. Is set by the clear signal. The D flip-flops D41 and D42 are configured to be reset by a low level TCK generation signal applied from the TCK generation control unit 30, respectively.

따라서, 어드레스 디코더(3)로부터 제7도에 도시된 바와 같이 하이레벨의 카운트용 로드신호가 다운 카운터(31)에 인가되면, 다운 카운터(31)는 하이레벨의 상태로 있게 된다. 이때, 어드레스 디코더(3)로부터 클리어신호가 플립플롭(D42)에 인가되면 플립플롭(D42)은 세트상태가 되어 로직(DFF42)을 출력한다.Therefore, as shown in FIG. 7 from the address decoder 3, when the high level count load signal is applied to the down counter 31, the down counter 31 is in a high level state. At this time, when a clear signal is applied from the address decoder 3 to the flip-flop D42, the flip-flop D42 is set and outputs the logic DFF42.

이러한 상태에서 어드레스 디코더(3)로부터 세트신호가 출력되면, 플립플롭(D41)은 세트되어 하이레벨의 로직(DFF41)을 출력하므로 앤드게이트(A41)은 플립플롭(D41)의 하이레벨 출력에 동기되어 하이레벨의 로직을 앤드게이트(A42)에 인가한다. 이때, 앤드게이트(A42)의 일단에는 시스템 클럭(SCK)이 인가되므로 앤드게이트(A42)는 시스템 클럭(SCK)에 동기된 신호를 출력하는 것이다. 본 발명에서는 앤드게이트(A42)의 신호를 TCK로 사용하게 되며, TCK는 상술한 바와 같이 다운 카운터(31)의 클럭단자에 인가된다. 또한, 상기 앤드게이트(A41)의 출력은 프로세서의 인터럽트신호로 사용되므로써, 프로세서가 상술한 과정을 되풀이 할 수 있게 된다. 즉, 프로세서(2)는 단자(INT)에 인가되는 로우레벨의 로직을 인터럽트신호 인식하게 구성되는 것이다.When the set signal is output from the address decoder 3 in this state, the flip-flop D41 is set to output the high level logic DFF41, so the AND gate A41 is synchronized with the high level output of the flip-flop D41. The high level logic is applied to the AND gate A42. At this time, since the system clock SCK is applied to one end of the AND gate A42, the AND gate A42 outputs a signal synchronized with the system clock SCK. In the present invention, the signal of the AND gate A42 is used as the TCK, and the TCK is applied to the clock terminal of the down counter 31 as described above. In addition, the output of the AND gate A41 is used as an interrupt signal of the processor, so that the processor can repeat the above-described process. That is, the processor 2 is configured to recognize the interrupt signal of the low-level logic applied to the terminal INT.

이때, TCK 발생제어부(30)는 프로세서(2)로부터 입력된 데이타에 해당하는 갯수의 TCK를 다운 카운터(31)가 다운 카운팅한 후에는 로우레벨의 로직을 출력하여 D플립플롭(D41,D42)들을 리세트시키므로, TCK 발생회로(40)는 프로세서(2)의 데이타에 해당하는 갯수의 TCK만을 출력하게 된다.At this time, the TCK generation control unit 30 outputs a low level logic after the down counter 31 down counts the number of TCKs corresponding to the data input from the processor 2 to the D flip-flops D41 and D42. By resetting them, the TCK generation circuit 40 outputs only the number of TCKs corresponding to the data of the processor 2.

이와같이 TCK 발생회로(40)에서 출력된 TCK는 병직렬 시프트 레지스터(R1-R4)의 클럭단자 및 집적회로(1)는 레지스터(R1-R4)의 TDI들을 TCK에 동기시켜 입력할 수 있는 것이다. 이때, 레지스터(R1-R4)에 제공되는 TCK들은 인버터(113)에 의하여 반저시킨 이유는 TCK의 상승에지에서 TDI들이 집적 회로(1)에 인가되어야 하기 때문이다.In this way, the TCK output from the TCK generation circuit 40 is the clock terminal of the parallel shift registers R1-R4 and the integrated circuit 1 can input the TDIs of the registers R1-R4 in synchronization with TCK. At this time, the TCKs provided to the registers R1-R4 are reduced by the inverter 113 because the TDIs must be applied to the integrated circuit 1 at the rising edge of the TCK.

상술한 설명에서 알 수 있는 바와 같이 본 발명은 TDI들을 레지스터(R1-R4)에 병렬로 입력, 저장시킨후에 시스템 클럭을 TCK로 이용하여 레지스터(R1-R4)에 저장된 TDI들을 직렬로 집적 회로(1)에 입력하는 구조임을 알 수 있다.As can be seen from the above description, the present invention uses the system clock as the TCK after inputting and storing the TDIs in the registers R1-R4 in parallel, and serially converts the TDIs stored in the registers R1-R4 in series. It can be seen that the structure is entered in 1).

통상적으로 시스템 클럭의 주파수는 대단히 높으므로 프로세서가 TDI의 입력에 동기되어 TCK를 방생시키는 종래의 방법보다 바운더리 스캐닝 속도가 빨라짐을 알 수 있다.In general, since the frequency of the system clock is very high, it can be seen that the boundary scanning speed is faster than the conventional method in which the processor generates TCK in synchronization with the input of the TDI.

이와 같이 본 발명은 TDI를 병렬로 입력시켜 저장한 후에 시스템 클럭을 TCK으로 이용하여 집적회로에 인가하므로써, 바운더리 스캐닝 속도를 향상시킬 수 있는 효과가 있다.As described above, the present invention has an effect of improving boundary scanning speed by inputting and storing TDI in parallel and applying the system clock to the integrated circuit using the TCK.

Claims (5)

집적회로의 바운더리 스캐닝을 위한 TDI 입력장치로서, TDI용 로딩신호에 따라 TDI들을 병렬로 입력하고 TCK에 동기되어 입력된 TDI들을 직렬로 출력하는 적어도 하나이상의 병렬입력-직렬출력 시프트 레지스터들과 ; 병렬입력신호를 입력받아 소정시간 지연시켜 레지스터 선택용 클럭으로서 출력하는 클럭발생부와 ; 상기 레지스터 선택용 클럭을 계수하여 계수된 값과 상기 병렬입력신호를 조합하여 상기 병렬입력-직렬출력 시프트 레지스터들에 상기 TDI용 로딩신호를 순차적으로 인가하는 선택회로와 ; TCK 발생신호와 시스템 클럭을 조합하여 TCK를 형성하고, 상기 TCK를 상기 병렬입력-직렬출력 시프트 레지스터와 상기 직접회뢰에 각각 인가하는 TCK 발생회로와 ; 상기 TCK 발생회로로부터 TCK를 입력받아 집적회로에 인가될 TDI 갯수만큼 계수하여 TCK 발생신호를 출력하는 TCK 발생제어부를 구비하는 병렬 입력 처리가 가능한 바운더리 스캔 구조.A TDI input device for boundary scanning of an integrated circuit, comprising: at least one parallel input-serial output shift register for inputting TDIs in parallel according to a TDI loading signal and outputting serially input TDIs in synchronization with the TCK; A clock generator which receives the parallel input signal and delays the predetermined time and outputs the same as a register selection clock; A selection circuit for sequentially applying the TDI loading signal to the parallel input-serial output shift registers by combining the counted value of the register selection clock and the parallel input signal; A TCK generation circuit that combines a TCK generation signal and a system clock to form a TCK, and applies the TCK to the parallel input-serial output shift register and the direct rotation, respectively; And a TCK generation control unit configured to receive a TCK from the TCK generation circuit and count the number of TDIs to be applied to an integrated circuit and output a TCK generation signal. 제1항에 있어서, 상기 클럭 발생부는, 병렬 입력신호를 클럭으로 이용하는 제1D플립플롭과 ; 상기 제1D플립플롭의 출력을 입력으로 하며, 시스템 클럭을 클럭으로 이용하여 레지스터 선택용 클럭신호를 출력하는 제2D플립플롭과 ; 상기 제2D플립플롭의 레지스터 선택용 클럭을 입력으로 하며, 시스템 클럭을 클럭으로 이용하는 제3D플립플롭과 ; 상기 제3D플립플롭의 반전출력과 리세트신호를 논리곱하여 상기 제1,2,3D플립플롭을 선택적으로 리세트시키는 제1앤드게이트를 구비하는 병렬 입력 처리가 가능한 바운더리 스캔 구조.2. The apparatus of claim 1, wherein the clock generator comprises: a first D flip-flop that uses a parallel input signal as a clock; A second D flip-flop that receives the output of the first D flip-flop as an input and outputs a register selection clock signal using a system clock as a clock; A third 3D flip-flop using the system clock as a clock as a register selection clock of the 2D flip-flop; And a first end gate configured to logically multiply the inverted output of the 3D flip-flop and the reset signal to selectively reset the first, 2, and 3D flip-flops. 제1항에 있어서, 상기 선택회로는, 상기 클리어신호에 의하여 클리어되며, 상기 레지스터 선택용 클럭신호를 2진 계수하여 출력하는 2진 카운터와 ; 상기 카운터의 출력을 조합하여 출력하는 디멀티플렉서와 ; 상기 디멀티플렉서의 출력과 상기 병렬입력시노를 조합하여 상기 병렬입력-직렬출력 시프트 레지스터들 각각에 TDI용 로딩신호를 인가하는 병렬입력-직렬출력 시프트 레지스터와 동일한 갯수의 앤드게이트들을 포함하여 병렬 입력 처리가 가능한 바운더리 스캔 구조.2. The apparatus of claim 1, wherein the selection circuit comprises: a binary counter cleared by the clear signal and configured to output a binary count of the register selection clock signal; A demultiplexer for combining and outputting the counter outputs; Parallel input processing includes the same number of AND gates as the parallel input-serial output shift register which combines the output of the demultiplexer and the parallel input signal to apply a TDI loading signal to each of the parallel input-serial output shift registers. Possible boundary scan structure. 제1항에 있어서, 상기 TCK 발생회로는, 세트신호에 따라 선택적으로 세트되며, 상기 TCK 발생신호에 따라 선택적으로 리세트되는 제4D플립플롭과 ; 클리어신호에 따라 선택적으로 세트되며, 상기 TCK 발생신호에 따라 선택적으로 리세트되는 제5D플립플롭과 ; 상기 제4,5D플립플롭의 출력을 조합하는 제2앤드게이트와 ; 상기 제2앤드게이트의 출력과 시스템 클럭을 조합하여 TCK로서 출력하는 제3앤드게이트를 구비하는 병렬 입력 처리가 가능한 바운더리 스캔 구조.The TCK generation circuit of claim 1, further comprising: a 4D flip-flop selectively set according to a set signal and selectively reset in accordance with the TCK generation signal; A 5D flip flop selectively set according to a clear signal and selectively reset according to the TCK generation signal; A second and gate combining the outputs of the fourth and 5D flip flops; A boundary scan structure capable of parallel input processing including a third end gate that combines the output of the second end gate and a system clock to output as a TCK. 제1항에 있어서, 상기 TCK 발생제어부는, 입력되는 데이타에 대응하는 갯수의 TCK를 다운 카운팅하는 다운 카운터와 ; 상기 카운터의 출력을 조합하여 상기 다운 카운터가 입력된 데이타에 대응하는 갯수의 TCK를 다운 카운팅할 때까지 상기 TCK 발생신호를 출력하는 오아게이트를 구비하는 병렬 입력 처리가 가능한 바운더리 스캔 구조.The apparatus of claim 1, wherein the TCK generation control unit comprises: a down counter for down counting a number of TCKs corresponding to input data; A boundary scan structure capable of parallel input processing including an orifice for combining the output of the counter and outputting the TCK generation signal until the down counter downcounts the number of TCKs corresponding to the input data.
KR1019940023340A 1994-09-15 1994-09-15 Parallel inputable boudary-scan architecture KR970000260B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940023340A KR970000260B1 (en) 1994-09-15 1994-09-15 Parallel inputable boudary-scan architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940023340A KR970000260B1 (en) 1994-09-15 1994-09-15 Parallel inputable boudary-scan architecture

Publications (2)

Publication Number Publication Date
KR960011634A KR960011634A (en) 1996-04-20
KR970000260B1 true KR970000260B1 (en) 1997-01-08

Family

ID=19392839

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940023340A KR970000260B1 (en) 1994-09-15 1994-09-15 Parallel inputable boudary-scan architecture

Country Status (1)

Country Link
KR (1) KR970000260B1 (en)

Also Published As

Publication number Publication date
KR960011634A (en) 1996-04-20

Similar Documents

Publication Publication Date Title
US3783254A (en) Level sensitive logic system
US8065549B2 (en) Scan-based integrated circuit having clock frequency divider
JPH06160477A (en) Logic circuit
US5406216A (en) Technique and method for asynchronous scan design
JP3116618B2 (en) Semiconductor integrated circuit with built-in test circuit
US20060041806A1 (en) Testing method for semiconductor device and testing circuit for semiconductor device
JP3363691B2 (en) Semiconductor logic integrated circuit
KR920001083B1 (en) A circuit which tests easily logic circuits
KR970000260B1 (en) Parallel inputable boudary-scan architecture
EP0454052A2 (en) Data processing device with test circuit
KR0145797B1 (en) Parallel outputtable boundary-scan architecture
US6748563B1 (en) Method and apparatus for testing path delays in a high-speed boundary scan implementation
KR970000820B1 (en) Test data input circuit of boundary-scan architecture
KR960016139B1 (en) Apparatus for inputting 3-test data input to integrated circuit in a boundary scan architecture
KR970002062B1 (en) Test data output circuit of boundary-scan architecture
JPH0192673A (en) Counter testing device
KR0145789B1 (en) Test clock generator of boundary-scan architecture
KR960015560B1 (en) Apparatus for inputting 2-test data input to integrated circuit in a boundary-scan architecture
KR970006020B1 (en) Test data output apparatus of boundary scan architecture
KR0121940B1 (en) Circuit for outputting two-output data of the boundary-scan
KR970006018B1 (en) Test mode select signal generator of boundary scan architecture
JP2002350509A (en) Semiconductor device
JPH0261569A (en) Serial shift register
US20020193960A1 (en) Method for operating a TAP controller and corresponding TAP controller
KR970006019B1 (en) Test data input apparatus of boundary scan architecture

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
FPAY Annual fee payment

Payment date: 20000311

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee