JPH01201176A - Resetting method for logic circuit - Google Patents
Resetting method for logic circuitInfo
- Publication number
- JPH01201176A JPH01201176A JP63026096A JP2609688A JPH01201176A JP H01201176 A JPH01201176 A JP H01201176A JP 63026096 A JP63026096 A JP 63026096A JP 2609688 A JP2609688 A JP 2609688A JP H01201176 A JPH01201176 A JP H01201176A
- Authority
- JP
- Japan
- Prior art keywords
- reset
- logic
- block
- circuit
- tested
- 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
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Logic Circuits (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は論理回路のリセット方法、すなわち初期値の設
定の仕方に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a method of resetting a logic circuit, that is, a method of setting an initial value.
従来の技術
従来の論理回路では、全ての論理ブロックは共通のリセ
ット信号によって一律にリセットがかけられていた。特
に、論理回路のテストを行なう場合、論理ブロックの機
能を個別にテスト・デバッグするため各ブロックの入力
信号が制御できる必要がある。第4図は、スキャンパス
法を用いてテストすべき論理ブロック1の入力3,4.
5が周囲の論理ブロック2の出力6,7.8からではな
(、ブリップフロップ9.10.11の出力から与えら
れる様にしたものである。前記フリップフロップはシフ
トレジスタを形成するもので、シフトクロック12に同
期して直列入力端13より前記ブロック1に対する入力
データがシフトインされる。フリップフロップの出力は
マルチプレクサ14.15.16のセレクト信号17を
“H”レベルに設定すれば、前記テストすべきブロック
1に印加される。これで入力信号の設定が完了したわけ
で、次にリセット信号18を“L”レベルに設定し、前
記ブロック1を初期化したのち、リセット信号18を“
H”レベルにしてリセットを解除すれば、ブロック1は
フリップ70ツブからの入力信号に対する出力1つを発
生する。従って、この出力19を観測すれば前記ブロッ
クの良否が判定できる。2. Description of the Related Art In conventional logic circuits, all logic blocks are uniformly reset by a common reset signal. In particular, when testing logic circuits, it is necessary to be able to control the input signals of each block in order to test and debug the functions of the logic blocks individually. FIG. 4 shows inputs 3, 4, . . . of logic block 1 to be tested using the scan path method.
5 is given not from the outputs 6, 7.8 of the surrounding logic blocks 2, but from the outputs of flip-flops 9, 10, and 11. The flip-flops form a shift register, Input data for the block 1 is shifted in from the serial input terminal 13 in synchronization with the shift clock 12.The output of the flip-flop can be set to the "H" level by setting the select signal 17 of the multiplexer 14, 15, 16 to the "H" level. The input signal is applied to block 1 to be tested. Now that the input signal setting is complete, next set the reset signal 18 to the "L" level and initialize the block 1, and then set the reset signal 18 to "
When the reset is released by setting the block to H'' level, the block 1 generates one output in response to the input signal from the flip 70 tube. Therefore, by observing this output 19, it is possible to judge whether the block is good or not.
発明が解決しようとする課題
この様な従来の論理回路では、論理ブロックのリセット
信号が共通なため、リセットを解除しである論理ブロッ
クをテストする場合、周囲論理ブロックからの入力信号
についてはリセットが解除されるため初期値が保持でき
ず、従ってすべての入力信号が制御可能な様にスキャン
パス用フリップフロップを設けなければならなかった。Problems to be Solved by the Invention In such conventional logic circuits, the logic blocks have a common reset signal, so when a logic block is tested after being reset, input signals from surrounding logic blocks must be reset. Since it is released, the initial value cannot be held, so a scan path flip-flop must be provided so that all input signals can be controlled.
特に、入力信号線数の多い論理ブロックを検査する場合
には、必要なゲート数が大きくなりテスト回路が大規模
になってしまう欠点を有していた。In particular, when testing a logic block with a large number of input signal lines, the number of required gates increases, resulting in a large-scale test circuit.
本発明はこのような点を考慮してなされたもので、テス
トすべき論理ブロックの入力信号線を簡単な手段でもっ
てその値を一義的に決定し、フリップフロップにて制御
すべき入力線数を削減する事を目的とする3゜
課題を解決するための手段
本発明は上記問題点を解決するため、論理回路を構成す
る論理ブロックのうち、テストすべき論理ブロックとク
ロック発生回路とを選択的にリセットを解除する手段を
設け、その他の論理ブロックについてはリセット信号が
イネーブルになる様にしたものである。The present invention has been made in consideration of these points, and the present invention uniquely determines the value of the input signal line of the logic block to be tested by a simple means, and the number of input lines to be controlled by the flip-flop is determined. 3. Means for Solving the Problem The present invention solves the above problems by selecting a logic block and a clock generation circuit to be tested from among logic blocks constituting a logic circuit. A means for canceling the reset is provided, and the reset signal is enabled for other logic blocks.
作用
本発明は上記した構成により、周囲の論理ブロックはリ
セット状態にあるため、そこから供給されるテストすべ
き論理ブロックへの信号線は初期化され一定値を保持す
る。従って、論理ブロックのテストに必要な、すなわち
スキャンパス用フリップフロップを使って制御すべき信
号線数を削減する事が可能である。Operation According to the present invention, with the above-described configuration, since the surrounding logic blocks are in a reset state, the signal line supplied therefrom to the logic block to be tested is initialized and held at a constant value. Therefore, it is possible to reduce the number of signal lines required for logic block testing, that is, the number of signal lines to be controlled using scan path flip-flops.
実施例 以下、本発明の一実施例を図面にもとづいて説明する。Example Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図において、テストすべき論理ブロック1はリセッ
ト端子20を有し、また、周囲の論理ブロック2もそれ
ぞれリセット端子21.22を備えている。テスト時に
は、リセット端子21゜22がイネーブル状、轢におか
れ、一方テストすべき論理ブロック1のリセット端子2
oはディスエーブルされる。この場合、周囲の論理ブロ
ックからの出力6,7.8のうち、出力6はその初期値
がそのままテストすべきブロック1の入力信号として利
用できるため出カフ、8に見られる様なスキャンパス用
フリップフロップ10.11を設ける必要がない。つま
り、テスト用のスキャンパス回路を簡略化できる。In FIG. 1, the logic block 1 to be tested has a reset terminal 20, and the surrounding logic blocks 2 also each have a reset terminal 21,22. During testing, the reset terminals 21 and 22 are enabled and turned off, while the reset terminal 2 of the logic block 1 to be tested
o is disabled. In this case, among the outputs 6 and 7.8 from the surrounding logic blocks, the initial value of output 6 can be used as an input signal for block 1 to be tested, so output 6 can be used as a scan path as shown in output 8. There is no need to provide flip-flops 10.11. In other words, the scan path circuit for testing can be simplified.
第2図は全体の論理回路の中で、テストすべき論理ブロ
ック1をスキャンパス法を用いてテストする場合のブロ
ック構成を示している。各周囲の論理ブロック2へは、
リセット回路25がらそれぞれリセット信号線20〜2
4が供給されており、クロック発生回路26へもリセッ
ト信号23が入力されている。FIG. 2 shows a block configuration in the case where logic block 1 to be tested in the entire logic circuit is tested using the scan path method. To each surrounding logic block 2,
Reset signal lines 20 to 2 respectively in the reset circuit 25
4 is supplied, and a reset signal 23 is also input to the clock generation circuit 26.
第3図は一例として前記リセット回路25の論理図を示
すもので、セレクトイネーブルSEが“L”であればリ
セットをがけると、すなわちRESETが“L”になる
と各論理ブロックおよびクロック発生回路につながるリ
セット信号20〜24がイネーブルになるため、全体回
路のリセットが実現される。次に、SEをH”にすれば
、クロック発生回路26のリセットが解除されるのでク
ロックが全体の論理回路によって供給される。かつ、ブ
ロックの選択端子so、Slによって指定されるリセッ
ト信号が“L”がら“H”に変化する(ディスエーブル
になる)ため、前記s、、 Slによって指定された論
理ブロックのリセットが解除される。この場合、slを
“H”、s。FIG. 3 shows a logic diagram of the reset circuit 25 as an example. When the select enable SE is "L", when a reset is applied, that is, when RESET becomes "L", each logic block and clock generation circuit are activated. Since the connected reset signals 20 to 24 are enabled, the entire circuit is reset. Next, when SE is set to "H", the reset of the clock generation circuit 26 is released and the clock is supplied by the entire logic circuit.In addition, the reset signal specified by the selection terminals so and Sl of the block is " Since "L" changes to "H" (becomes disabled), the reset of the logic block specified by s, , and Sl is released.In this case, sl is set to "H" and s.
を“L”にすればリセット信号2oは“H”になるため
論理ブロック1のリセットが解除され、周囲の論理ブロ
ック2にはリセットをかけた状態でテストすべき論理ブ
ロック1への出力信号値を初期化できるため、スキャン
パスによる機能テストが簡単に行える。When set to "L", the reset signal 2o becomes "H", so the reset of logic block 1 is canceled, and the output signal value to logic block 1 to be tested is set while the surrounding logic block 2 is reset. can be initialized, making it easy to perform functional tests using scan paths.
発明の効果
本発明は、テストすべき論理ブロックの久方信号の値を
簡単に決定する事が可能なため、それだけテスト回路の
簡単化がはがれる。従って、入ヵ信号線の数が多くなる
大規模な論理回路のリセット方式として極めて有効であ
る。Effects of the Invention According to the present invention, since it is possible to easily determine the value of the signal of the logic block to be tested, the test circuit can be simplified accordingly. Therefore, it is extremely effective as a reset method for large-scale logic circuits with a large number of input signal lines.
第1図は本発明の一実施例における論理回路のリセット
方法のブロック図、第2図はそれを更に詳細に説明する
ためのブロック図、第3図はリセット回路を示す論理図
、第4図は従来のリセット方法のブロック図である。
1・・・・・・テストすべき論理ブロック、2・・・・
・・周囲の論理ブロック、3〜5・・・・・・論理ブロ
ックへの入力、9〜11・・・・・・スキャンパス用フ
リップフロップ、20〜24・・・・・・リセット信号
、25・・・・・・リセット回路。
代理人の氏名 弁理士 中尾敏男 ほか1名第1図
第2図
ツヤZト圓呂谷、FIG. 1 is a block diagram of a logic circuit reset method in an embodiment of the present invention, FIG. 2 is a block diagram for explaining the method in more detail, FIG. 3 is a logic diagram showing the reset circuit, and FIG. 4 is a block diagram of a conventional reset method. 1...Logic block to be tested, 2...
... Surrounding logic blocks, 3 to 5 ... Inputs to logic blocks, 9 to 11 ... Flip-flops for scan path, 20 to 24 ... Reset signal, 25 ...Reset circuit. Name of agent: Patent attorney Toshio Nakao and one other person Figure 1 Figure 2 Tsuya Z To Enroya,
Claims (1)
論理ブロックの全てのリセット端子をイネーブルにして
全体回路のリセット状態を実現したのち、選択された論
理ブロックのリセット端子のみディスエーブルにして前
記論理ブロックのリセット状態を解除し、周囲の論理ブ
ロックからの入力信号値を初期化して前記論理ブロック
のテストを実施することを特徴とする論理回路のリセッ
ト方法。In a logic circuit consisting of a plurality of logic blocks, all reset terminals of the logic blocks are enabled to achieve a reset state of the entire circuit, and then only the reset terminal of the selected logic block is disabled to achieve the reset state of the logic block. 1. A method for resetting a logic circuit, comprising releasing a reset state, initializing input signal values from surrounding logic blocks, and testing the logic block.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63026096A JP2543119B2 (en) | 1988-02-05 | 1988-02-05 | How to test logic circuits |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63026096A JP2543119B2 (en) | 1988-02-05 | 1988-02-05 | How to test logic circuits |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01201176A true JPH01201176A (en) | 1989-08-14 |
| JP2543119B2 JP2543119B2 (en) | 1996-10-16 |
Family
ID=12184065
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63026096A Expired - Lifetime JP2543119B2 (en) | 1988-02-05 | 1988-02-05 | How to test logic circuits |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2543119B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58145233A (en) * | 1982-02-24 | 1983-08-30 | Hitachi Ltd | Logic circuit with diagnostic circuit |
-
1988
- 1988-02-05 JP JP63026096A patent/JP2543119B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58145233A (en) * | 1982-02-24 | 1983-08-30 | Hitachi Ltd | Logic circuit with diagnostic circuit |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2543119B2 (en) | 1996-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63182585A (en) | Logic circuit equipped with test facilitating function | |
| JPS6068624A (en) | Self-inspection system of lsi | |
| US5581564A (en) | Diagnostic circuit | |
| EP0590575B1 (en) | Test control circuit for scan path | |
| JP2778443B2 (en) | Optimization method of scan path test circuit | |
| JPS60231187A (en) | Construction of test facilitating circuit | |
| JP2543119B2 (en) | How to test logic circuits | |
| JPS59211146A (en) | Scan-in method | |
| JPH0210178A (en) | Logic circuit | |
| JP2005283207A (en) | Semiconductor integrated circuit device | |
| JPH06148291A (en) | Boundary scanning register | |
| JPH01265174A (en) | Inspecting method for scan path shift register and scan path shift register | |
| JPH04216643A (en) | Large-scale integrated circuit device | |
| JPS6077518A (en) | Integrated circuit | |
| JPH02234087A (en) | Test circuit for digital logical block | |
| JP2723676B2 (en) | Semiconductor integrated circuit | |
| JPS62165163A (en) | Logic device | |
| JPS62133371A (en) | Semiconductor device | |
| JPH026772A (en) | Integrated circuit | |
| JPH06148290A (en) | Boundary scanning register | |
| JPH07146344A (en) | Logic circuit and its testing method | |
| JPH05206279A (en) | Logic lsi circuit | |
| JPS61126821A (en) | Logic lsi circuit | |
| JPS63193238A (en) | Address scanning system | |
| JPS59204316A (en) | Output suppressing circuit of logical circuit |