JPH0593764A - Inspecting apparatus for logic circuit - Google Patents

Inspecting apparatus for logic circuit

Info

Publication number
JPH0593764A
JPH0593764A JP3254898A JP25489891A JPH0593764A JP H0593764 A JPH0593764 A JP H0593764A JP 3254898 A JP3254898 A JP 3254898A JP 25489891 A JP25489891 A JP 25489891A JP H0593764 A JPH0593764 A JP H0593764A
Authority
JP
Japan
Prior art keywords
register
clock
signal
scan path
clock signal
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP3254898A
Other languages
Japanese (ja)
Other versions
JP3024310B2 (en
Inventor
Hiroo Ito
裕生 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3254898A priority Critical patent/JP3024310B2/en
Publication of JPH0593764A publication Critical patent/JPH0593764A/en
Application granted granted Critical
Publication of JP3024310B2 publication Critical patent/JP3024310B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Logic Circuits (AREA)

Abstract

PURPOSE:To enable the reducing of burden on a hardware for testing by a method wherein a data for testing is stored and read out through a scan pass register to store to collate it with the contents of a writing register. CONSTITUTION:When a clock generator 1 sends out a clock signal 4, a decremental counter 2 performs a computation of -1 per clock. A writing register 5 performs a shifting by one bit each per clock to send out an output signal 11 to a scan pass register 10 of a circuit 8 to be tested. A reading signal 12 of an output of the register 10 is inputted into a reading register 9 sequentially. Therefore. the contents of the register 5 are transmitted to the register 9. When the contents of a counter 2 is down to zero, a detector 3 sends out a stop signal to the generator 1 and the generator 1 stops the operation. As a result. the registers 5, 10 and 9 are also stopped. The contents of the register 9 are sent out to a higher order device through a data bus 6 to collate the contents written into the register 5 thereby checking the propriety of the action of the register 10.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータの演算装
置等に使用する論理回路の検査装置に関し、特にその構
成要素の一部のスキャンパスレジスタを検査するための
検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inspection device for a logic circuit used in an arithmetic unit of a computer, and more particularly to an inspection device for inspecting a part of scan path registers of its constituent elements.

【0002】[0002]

【従来の技術】コンピュータの演算装置等に使用する論
理回路は、順序回路と組合せ回路とによって構成されて
いるが、そのうちの順序回路を構成するスキャンパスレ
ジスタを検査するための従来の検査装置は、被試験回路
に含まれていて通常の動作のときには個別に動作してい
る各スキャンパスレジスタを構成している個々のフリッ
プフロップを、直列に接続して連続スキャンパスレジス
タとし、その連続スキャンパスレジスタのビット列と同
じ長さのビット列を有するレジスタを被試験回路に直列
に接続し、上記レジスタに特定の試験用パターンを書込
み、それを連続スキャンパスレジスタを介して読出すこ
とによって各スキャンパスレジスタの正常性の検査と、
障害があったときの障害場所の解析とを行っている。
2. Description of the Related Art A logic circuit used for an arithmetic unit of a computer is composed of a sequential circuit and a combinational circuit. A conventional inspection device for inspecting a scan path register which constitutes the sequential circuit is , The individual scan path registers that are included in the circuit under test and operate individually during normal operation are connected in series to form a continuous scan path register. A register having a bit string having the same length as the bit string of the register is connected in series to the circuit under test, a specific test pattern is written in the register, and the scan pattern is read out through the continuous scan path register to obtain each scan path register. The normality test of
We analyze the location of obstacles when they occur.

【0003】[0003]

【発明が解決しようとする課題】上述したような従来の
論理回路のスキャンパスレジスタの検査装置は、被試験
回路のスキャンパスレジスタを連続させた長さのビット
列を有するレジスタを必要とし、またそれに書込むため
の同じ長さの特定の試験用データが必要である。一般
に、論理回路のスキャンパスレジスタを連続させた長さ
は、その論理回路の種類によって異なる。従って、従来
の論理回路のスキャンパスレジスタの検査装置は、論理
回路の各種類に対応するレジスタおよび試験用データと
を用意しておかなければならないため、ソフトウエアお
よびハードウエアの両面において相当の負担がかかると
いう欠点を有している。また、試験のとき、連続スキャ
ンパスレジスタの全ビットについて比較を行うため、試
験を高速化することが困難であるという欠点も有してい
る。
The conventional scan path register inspection apparatus for a logic circuit as described above requires a register having a bit string having a continuous length of scan path registers of a circuit under test, and The same length of specific test data is needed to write. In general, the length of continuous scan path registers of a logic circuit differs depending on the type of the logic circuit. Therefore, in the conventional scan path register inspection device for a logic circuit, it is necessary to prepare a register and test data corresponding to each type of the logic circuit, so that a considerable burden is placed on both software and hardware. It has the drawback of being expensive. In addition, since all bits of the continuous scan path register are compared at the time of the test, it is difficult to speed up the test.

【0004】[0004]

【課題を解決するための手段】本発明の論理回路の検査
装置は、クロック信号の送出を行い停止信号を入力して
動作を停止させるクロック発生器と、動作を開始すると
きの値を任意の値に設定することができ前記クロック発
生器からの前記クロック信号の1クロック毎に(−1)
の減算を行う減算カウンタと、前記減算カウンタの内容
が“0”になったときにそれを検出して前記クロック発
生器に対して前記停止信号を送出する検出器と、あらか
じめ試験用データを記憶しておき前記クロック信号によ
って1ビットずつシフトを行ってその出力信号を被試験
回路のスキャンパスレジスタに対して送出する書込みレ
ジスタと、前記試験用データを前記被試験回路の前記ス
キャンパスレジスタを介して読出して記憶しクロック信
号の送出が停止したときそれを上位装置に対して送出す
る読出しレジスタと、前記被試験回路の前記スキャンパ
スレジスタを試験モードに設定する入力設定回路とを備
えている。
SUMMARY OF THE INVENTION A logic circuit inspection apparatus according to the present invention includes a clock generator for sending a clock signal and inputting a stop signal to stop the operation, and an arbitrary value for starting the operation. Can be set to a value (-1) for each clock of the clock signal from the clock generator
A subtraction counter for performing the subtraction, a detector that detects when the content of the subtraction counter becomes "0" and sends the stop signal to the clock generator, and stores test data in advance. A write register that shifts bit by bit by the clock signal and sends the output signal to the scan path register of the circuit under test, and the test data through the scan path register of the circuit under test. And a read register for reading and storing the clock signal and sending it to the upper device when the sending of the clock signal is stopped, and an input setting circuit for setting the scan path register of the circuit under test to the test mode.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】図1は本発明の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0007】図1において、入力設定回路7は、通常の
動作(通常モード)のときは個別に動作している被試験
回路8に含まれる各スキャンパスレジスタを構成してい
る個々のフリップフロップを直列に接続して連続スキャ
ンパスレジスタとすることによって、スキャンパスレジ
スタを試験モードに設定するための回路である。被試験
回路8は、内部にスキャンパスレジスタ10を有し、入
力設定回路7からの指令によってスキャンパスレジスタ
10を試験モードに設定する。
In FIG. 1, the input setting circuit 7 includes individual flip-flops which constitute each scan path register included in the circuit under test 8 which operates individually in the normal operation (normal mode). It is a circuit for setting the scan path register in the test mode by connecting in series to form a continuous scan path register. The circuit under test 8 has a scan path register 10 therein, and sets the scan path register 10 to the test mode in response to a command from the input setting circuit 7.

【0008】書込みレジスタ5は、通常16〜32ビッ
ト程度の長さを有しており、データバス6を介して試験
用データをあらかじめ書込まれれている。減算カウンタ
2は、被試験回路8のスキャンパスレジスタ10の長さ
と書込みレジスタ5の長さとを加算した数値をセットさ
れ、クロック発生器1からのクロック信号4によって減
算を行う。検出器3は、減算カウンタ2の内容が“0”
になったときにそれを検出してクロック発生器1に対し
て停止信号10を送出する。読出しレジスタ9は、書込
みレジスタ5の試験用データを被試験回路8のスキャン
パスレジスタ10を介して読出し、それを一時的に記憶
する。
The write register 5 usually has a length of about 16 to 32 bits, and test data is written in advance via the data bus 6. The subtraction counter 2 is set with a numerical value obtained by adding the length of the scan path register 10 and the length of the write register 5 of the circuit under test 8, and subtracts by the clock signal 4 from the clock generator 1. In the detector 3, the content of the subtraction counter 2 is "0".
When that happens, it is detected and a stop signal 10 is sent to the clock generator 1. The read register 9 reads the test data of the write register 5 via the scan path register 10 of the circuit under test 8 and temporarily stores it.

【0009】上述のように構成した論理回路の検査装置
は、クロック発生器1が動作を開始すると、減算カウン
タ2および書込みレジスタ5およびスキャンパスレジス
タ10および読出しレジスタ9に対してクロック信号4
が送出される。減算カウンタ2は、クロック信号4の1
クロック毎に(−1)の減算を行う。書込みレジスタ5
は、クロック信号4の1クロック毎に1ビットずつシフ
トを行ってその出力信号11をスキャンパスレジスタ1
0に対して送出する。スキャンパスレジスタ10の出力
端子は、読出しレジスタ9の入力端子に接続されている
ため、これによってスキャンパスレジスタ10の出力の
読出し信号12は、順次に読出しレジスタ9に入力す
る。従って、書込みレジスタ5の内容は、スキャンパス
レジスタ10を経由して読出しレジスタ9に伝達され
る。
When the clock generator 1 starts its operation, the logic circuit inspecting apparatus having the above-mentioned configuration operates on the clock signal 4 to the subtraction counter 2, the write register 5, the scan path register 10 and the read register 9.
Is sent. The subtraction counter 2 is 1 of the clock signal 4.
(-1) is subtracted for each clock. Write register 5
Shifts the output signal 11 by 1 bit for each clock of the clock signal 4 and outputs the output signal 11 to the scan path register 1
Send to 0. Since the output terminal of the scan path register 10 is connected to the input terminal of the read register 9, the read signal 12 output from the scan path register 10 is sequentially input to the read register 9. Therefore, the contents of the write register 5 are transmitted to the read register 9 via the scan path register 10.

【0010】減算カウンタ2の内容が“0”になると、
検出器3が動作してクロック発生器1に対して停止信号
13を送出する。これによってクロック発生器1の動作
が停止し、これに伴って書込みレジスタ5およびスキャ
ンパスレジスタ10および読出しレジスタ9の動作も停
止する。この時点では、書込みレジスタ5の内容はすべ
て読出しレジスタ9に転送されている。従って、読出し
レジスタ9の内容をデータバス6を介して上位装置に送
出し、そこで書込みレジスタ5に書込んだ内容と照合す
ることにより、スキャンパスレジスタ10の動作が正常
であるか否かを調べる。
When the content of the subtraction counter 2 becomes "0",
The detector 3 operates and sends a stop signal 13 to the clock generator 1. As a result, the operation of the clock generator 1 is stopped, and accordingly, the operations of the write register 5, the scan path register 10 and the read register 9 are also stopped. At this point, all the contents of the write register 5 have been transferred to the read register 9. Therefore, it is checked whether the operation of the scan path register 10 is normal by sending the contents of the read register 9 to the host device via the data bus 6 and collating the contents with the contents written in the write register 5 there. ..

【0011】書込みレジスタ5に書込む試験用データを
複数種類用意し、それらを順次に実行させることによ
り、スキャンパスレジスタ10の動作の試験用データの
パターンに関する依存性についても調べることができ
る。
By preparing a plurality of types of test data to be written in the write register 5 and sequentially executing them, it is possible to check the dependence of the operation of the scan path register 10 on the pattern of the test data.

【0012】[0012]

【発明の効果】以上説明したように、本発明の論理回路
の検査装置は、試験用データを書込みレジスタに記憶さ
せておき、それを被試験回路のスキャンパスレジスタを
介して読出したして読出しレジスタに記憶しておき、試
験用データの読出しが終了したときそれを書込みレジス
タに書込んだ内容と照合するようにすることにより、試
験用ハードウエアおよびと試験用データを作成するため
のソフトウエアの負担を軽減することができという効果
がある。また試験を高速化することができるという効果
もある。
As described above, the inspection apparatus for a logic circuit according to the present invention stores the test data in the write register, and reads it out through the scan path register of the circuit under test. The test hardware and the software for creating the test data are stored in the register, and when the test data is read, the data is collated with the contents written in the write register. There is an effect that the burden of can be reduced. There is also an effect that the test can be speeded up.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 クロック発生器 2 減算カウンタ 3 検出器 4 クロック信号 5 書込みレジスタ 6 データバス 7 入力設定回路 8 被試験回路 9 読出しレジスタ 10 スキャンパスレジスタ 11 出力信号 12 読出し信号 13 停止信号 1 clock generator 2 subtraction counter 3 detector 4 clock signal 5 write register 6 data bus 7 input setting circuit 8 circuit under test 9 read register 10 scan path register 11 output signal 12 read signal 13 stop signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 クロック信号の送出を行い停止信号を入
力して動作を停止させるクロック発生器と、動作を開始
するときの値を任意の値に設定することができ前記クロ
ック発生器からの前記クロック信号の1クロック毎に
(−1)の減算を行う減算カウンタと、前記減算カウン
タの内容が“0”になったときにそれを検出して前記ク
ロック発生器に対して前記停止信号を送出する検出器
と、あらかじめ試験用データを記憶しておき前記クロッ
ク信号によって1ビットずつシフトを行ってその出力信
号を被試験回路のスキャンパスレジスタに対して送出す
る書込みレジスタと、前記試験用データを前記被試験回
路の前記スキャンパスレジスタを介して読出して記憶し
クロック信号の送出が停止したときそれを上位装置に対
して送出する読出しレジスタとを備えることを特徴とす
る論理回路の検査装置。
1. A clock generator for transmitting a clock signal and inputting a stop signal to stop the operation, and a value at the time of starting the operation can be set to an arbitrary value. A subtraction counter that subtracts (-1) for each clock of the clock signal, and when the content of the subtraction counter becomes "0", it is detected and the stop signal is sent to the clock generator. A detector for storing the test data in advance, a write register for storing the test data in advance, shifting the output bit by bit by the clock signal, and transmitting the output signal to the scan path register of the circuit under test, and the test data. A read register for reading and storing via the scan path register of the circuit under test and sending it to the upper device when the sending of the clock signal is stopped. And a logic circuit inspecting device.
【請求項2】 クロック信号の送出を行い停止信号を入
力して動作を停止させるクロック発生器と、動作を開始
するときの値を任意の値に設定することができ前記クロ
ック発生器からの前記クロック信号の1クロック毎に
(−1)の減算を行う減算カウンタと、前記減算カウン
タの内容が“0”になったときにそれを検出して前記ク
ロック発生器に対して前記停止信号を送出する検出器
と、あらかじめ試験用データを記憶しておき前記クロッ
ク信号によって1ビットずつシフトを行ってその出力信
号を被試験回路のスキャンパスレジスタに対して送出す
る書込みレジスタと、前記試験用データを前記被試験回
路の前記スキャンパスレジスタを介して読出して記憶し
クロック信号の送出が停止したときそれを上位装置に対
して送出する読出しレジスタと、前記被試験回路の前記
スキャンパスレジスタを試験モードに設定する入力設定
回路とを備えることを特徴とする論理回路の検査装置。
2. A clock generator for sending a clock signal and inputting a stop signal to stop the operation, and a value when starting the operation can be set to an arbitrary value. A subtraction counter that subtracts (-1) for each clock of the clock signal, and when the content of the subtraction counter becomes "0", it is detected and the stop signal is sent to the clock generator. A detector for storing the test data in advance, a write register for storing the test data in advance, shifting the output bit by bit by the clock signal, and transmitting the output signal to the scan path register of the circuit under test, and the test data. A read register for reading and storing via the scan path register of the circuit under test and sending it to the upper device when the sending of the clock signal is stopped. And an input setting circuit that sets the scan path register of the circuit under test to a test mode.
JP3254898A 1991-10-02 1991-10-02 Logic circuit inspection equipment Expired - Fee Related JP3024310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3254898A JP3024310B2 (en) 1991-10-02 1991-10-02 Logic circuit inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3254898A JP3024310B2 (en) 1991-10-02 1991-10-02 Logic circuit inspection equipment

Publications (2)

Publication Number Publication Date
JPH0593764A true JPH0593764A (en) 1993-04-16
JP3024310B2 JP3024310B2 (en) 2000-03-21

Family

ID=17271380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3254898A Expired - Fee Related JP3024310B2 (en) 1991-10-02 1991-10-02 Logic circuit inspection equipment

Country Status (1)

Country Link
JP (1) JP3024310B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0862297A (en) * 1994-08-26 1996-03-08 Nec Corp Digital-signal processing lsi test circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0862297A (en) * 1994-08-26 1996-03-08 Nec Corp Digital-signal processing lsi test circuit

Also Published As

Publication number Publication date
JP3024310B2 (en) 2000-03-21

Similar Documents

Publication Publication Date Title
US4023142A (en) Common diagnostic bus for computer systems to enable testing concurrently with normal system operation
KR0149891B1 (en) Bus status analyzer
CN117076337B (en) Data transmission method and device, electronic equipment and readable storage medium
JPS6226734B2 (en)
JPH0593764A (en) Inspecting apparatus for logic circuit
JPH11259335A (en) Tracer device, trace data compressing method and compressed trace data reading method
JPS6153579A (en) Tester for function of logical circuit
JP3228126B2 (en) Testing system
JP2810342B2 (en) IC test equipment
JPS62122000A (en) Memory element
JPH02213951A (en) Data setting simulator
JPH026772A (en) Integrated circuit
JPS6210390B2 (en)
JPS60549A (en) Memory testing system
JPH023147B2 (en)
JPS61273641A (en) Logical simulator
JPH05241868A (en) Testing system of memory error correction/detection circuit
JPS6142299B2 (en)
JPH0520115A (en) Pseudo fault testing system for information processor
JPH04220729A (en) Information processor
JPS5856050A (en) Interdevice data signal tracing device
JPH10312305A (en) Test method
JPS6212541B2 (en)
JPH04315069A (en) Compression pattern forming apparatus
JPH0573347A (en) Emulation device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991221

LAPS Cancellation because of no payment of annual fees