JPH0267973A - Operation ensuring circuit of diagnostic circuit - Google Patents
Operation ensuring circuit of diagnostic circuitInfo
- Publication number
- JPH0267973A JPH0267973A JP63218256A JP21825688A JPH0267973A JP H0267973 A JPH0267973 A JP H0267973A JP 63218256 A JP63218256 A JP 63218256A JP 21825688 A JP21825688 A JP 21825688A JP H0267973 A JPH0267973 A JP H0267973A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- diagnostic
- flip
- signal
- flop
- 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
- 230000004913 activation Effects 0.000 claims abstract description 36
- 230000003213 activating effect Effects 0.000 claims abstract description 13
- 238000003745 diagnosis Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000007257 malfunction Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[概 要コ
集積回路等の一般論理回路と共に設けられる論理回路の
動作の正常性を試験するための診断回路に関し、
診断回路自身が故障して、通常の動作に影響を与えるこ
とを防止すると共に診断回路の障害発生を検出すること
の可能な手段の提供を目的とし、
例えばシステムの動作中は常時“1”となり、回路診断
動作中は常時“0”となる信号と、システムリセット信
号との論理和である信号を聰での診断パス活性化用フリ
ップフロップのリセット人力として与える手段と、総て
の診断パス活性化用フリップフロップの出力の論理和を
求める手段とを設けることにより構成する。[Detailed Description of the Invention] [Summary] Regarding a diagnostic circuit for testing the normality of operation of a logic circuit installed together with general logic circuits such as integrated circuits, if the diagnostic circuit itself malfunctions and normal operation is affected. The purpose is to provide a means that can detect the occurrence of a fault in the diagnostic circuit as well as prevent the occurrence of a fault in the diagnostic circuit. and a system reset signal as a manual reset signal for the flip-flops for activating the diagnostic path; and means for calculating the logical sum of the outputs of all the flip-flops for activating the diagnostic path. It is configured by providing
[産業上の利用分野]
本発明は集積回路等において、論理回路を構成する通常
の回路とは別に該回路と非同期的にセット/リセットす
ることが可能な診断パス活性化用フリップフロップを設
け、該診断パス活性化用フリップフロップに特定の値を
セットすることにより、前記通常の回路のフリップフロ
ップ回路のクロックを制御して特定のフリップフロップ
間のパスを活性化せしめることが可能な如く構成された
診断回路の誤動作防止と、該診断回路自身が障害を生じ
た場合の検出手段に関するものである。[Industrial Application Field] The present invention provides a diagnostic path activation flip-flop that can be set/reset asynchronously with the normal circuits constituting the logic circuits in integrated circuits, etc., which can be set/reset asynchronously, By setting a specific value in the diagnostic path activation flip-flop, the clock of the flip-flop circuit of the normal circuit can be controlled to activate a path between specific flip-flops. The present invention relates to prevention of malfunction of a diagnostic circuit and means for detecting a failure in the diagnostic circuit itself.
[従来の技術]
集積回路の製造に際しては、その製造段階で集積回路単
体での試験を行ない、不良品が出荷されることを抑止す
ることが要求される。[Prior Art] When manufacturing integrated circuits, it is required to test each integrated circuit at the manufacturing stage to prevent defective products from being shipped.
しかし、近年集積回路の集積度が大となり、その試験を
行なうことは容易ではない。However, in recent years, the degree of integration of integrated circuits has increased, and it is not easy to test them.
そのため、集積回路内に通常の回路とは別に診断用の回
路を設けておいて、論理回路内のフリップフロップ(以
下ラッチとも言う)に任意のデータのセットや読み出し
を行なったり、また、フリップフロップ間の特定のパス
を活性化して、データが正常に転送されるか否かを調べ
たり、更にその転送時間を副べること等が行なわれる。Therefore, a diagnostic circuit is provided in the integrated circuit separately from the normal circuit, and arbitrary data can be set or read from flip-flops (hereinafter also referred to as latches) in the logic circuit. By activating a specific path between the two, it is checked whether data is transferred normally or not, and the transfer time is also estimated.
このような診断回路について更に説明すると、普通、集
積回路等においては、論理回路中のいずれかの論理素子
が故障を生ずる等により回路が正常な動作をしな(なっ
たとき、その原因箇所を探索するための手段として、ス
キャンイン・スキャンアウト回路を設けることが行なわ
れる。To explain this type of diagnostic circuit further, normally in integrated circuits, etc., when the circuit does not operate normally due to a failure in one of the logic elements in the logic circuit, it is necessary to identify the cause of the problem. As a means for searching, a scan-in/scan-out circuit is provided.
これは、通常の論理動作を行なう回路とは別に、試験の
ための回路を構成するためのゲートを設けるもので、例
えば該ゲートによって、各フリップフロップを直列に接
続し、先頭のフリップフロップからデータを入力し、ク
ロックごとにこれを順次ぽ列に接続された各7リツプ7
0ツブに移行せしめることにより、各フリップフロップ
に任意のデータをセットしたり、また、最後尾のフリッ
プフロップから順次データを読み出すことにより、内部
のフリップフロップの動作や正常性を確認しようとする
ものである。In this method, a gate is provided to configure a test circuit in addition to the circuit that performs normal logic operations. For example, the gate connects each flip-flop in series, and data is transmitted from the first flip-flop. is input, and this is sequentially applied to each 7-lip 7 connected in a column every clock.
By setting arbitrary data in each flip-flop by shifting to 0, and by sequentially reading data from the last flip-flop, it is possible to check the operation and normality of the internal flip-flops. It is.
また、このような試験回路として、各7リツプ70フブ
のアドレスを指定することにより、任意のデータを該フ
リップフロップにセットしたり、また、データを読み出
したりすることを可能とする回路も用いられる。In addition, as such a test circuit, a circuit is also used that allows arbitrary data to be set in the flip-flop and data to be read by specifying the address of each of the 7 flip-flops and the 70 flip-flops. .
このような機能を用いて、特定したフリップフロップ間
のデータ転送の確認や、転送時間の確認を行なうことも
可能である。Using such a function, it is also possible to confirm data transfer between specified flip-flops and confirm the transfer time.
例えば、第2図のように構成された論理回路において、
フリップフロップ50からフリップフロップ51へのデ
ータ転送について調べようとするとき、アンドゲート5
6〜58が、それぞれアンド条件を成立していなければ
ならず、そのためにはアンドゲート59のアンド条件が
成立しなければならない。For example, in a logic circuit configured as shown in FIG.
When trying to investigate data transfer from flip-flop 50 to flip-flop 51, AND gate 5
6 to 58 must each satisfy the AND condition, and for this purpose, the AND condition of AND gate 59 must satisfy.
そして、これらの条件を満たすためにはフリップフロッ
プ52〜55が“1″にセットされている必要がある。In order to satisfy these conditions, flip-flops 52 to 55 must be set to "1".
そのため、前述したスキャンイン動作によりフリップフ
ロップ52〜55“1”をセットした後、これらのフリ
ップ70ツブ52〜55のクロック<CLK)を停止せ
しめれば、フリップフロップ50〜フリツプフロツプ5
10間のパスを活性化することができる。Therefore, after setting the flip-flops 52 to 55 to "1" by the scan-in operation described above, if the clocks of the flip-flops 52 to 55 are stopped (<CLK), the flip-flops 50 to 55 are set to "1".
10 paths can be activated.
これによりフリップフロップ50とフリップフロップ5
1との間のデータ転送についての測定が行なえることに
なる。This results in flip-flop 50 and flip-flop 5.
1 can be measured for data transfer between the two.
これらのフリップフロップのクロックの制御は診断パス
活性化用フリップフロップに特定の値をセットすること
により行なわれる。The clocks of these flip-flops are controlled by setting a specific value in the diagnostic path activation flip-flop.
第3図はこのような診断パス活性化用回路について説明
する図であって、60.61は診断パス活性化用ラッチ
、62〜66は組合せ回路、67、68はアンド回路、
69〜71は一般論理回路のラッチ、72は診断パス活
性化用回路、73は一般論理回路を表わしている。FIG. 3 is a diagram explaining such a circuit for activating a diagnostic path, in which 60 and 61 are latches for activating a diagnostic path, 62 to 66 are combinational circuits, 67 and 68 are AND circuits,
Reference numerals 69 to 71 represent latches of general logic circuits, 72 a diagnostic path activation circuit, and 73 a general logic circuit.
同図において、診断パス活性化用ラッチ60に“0”が
セットされ、組合せ回路62の内部出力が“1”である
とき、ラッチ69のクロックイネーブル端子に“0”が
印加されてラッチ69がクロックイネーブル状態となり
、一方、診断パス活性化用ラッチ60に“l”がセット
されるとラッチ69はクロックインヒビット状態となる
。In the figure, when the diagnostic path activation latch 60 is set to "0" and the internal output of the combinational circuit 62 is "1", "0" is applied to the clock enable terminal of the latch 69, and the latch 69 is activated. The clock is enabled, and on the other hand, when the diagnostic path activation latch 60 is set to "1", the latch 69 is set to the clock inhibited state.
[発明が解決しようとする課題]
上述したような診断パス活性化用ラッチは、通常の動作
では動作してはならないものであり、回路の診断時のみ
用いるものであるから、通常システムリセット信号が入
力されたときに、クロックイネーブル状態となって、デ
ータをセットし得る状態となる。[Problems to be Solved by the Invention] The diagnostic path activation latch as described above must not operate during normal operation and is used only when diagnosing the circuit. When input, the clock becomes enabled and data can be set.
そして、システム動作中は、−JQ論理回路のラッチが
クロックイネーブル状態となる値を保持し続ける。During system operation, the latch of the -JQ logic circuit continues to hold the value that enables the clock.
しかし、何らかの理由で、これらの診断パス活性化用ラ
ッチの値が反転すると、−役回路が誤動作を起こすこと
になり、一方、それが診断用回路の障害であるが故に原
因の探索が非常に困難であると言う問題点があった。However, if for some reason the values of these diagnostic path activation latches are reversed, the negative circuit will malfunction, and since it is a fault in the diagnostic circuit, it will be very difficult to find the cause. There was a problem that it was difficult.
本発明は、このような従来の問題点に鑑み、診断パス活
性化用ラッチの値が容易に反転することがなく、また、
そのようなことが起きたとき、直ちにこれを検出するこ
との出来る回路方式を提供することを目的としている。In view of such conventional problems, the present invention prevents the value of the diagnostic path activation latch from being easily inverted, and
The object of the present invention is to provide a circuit system that can immediately detect such occurrences.
[課題を解決するための手段]
本発明によれば、上述の目的は前記特許請求の範囲に記
載した手段により達成される。すなわち、本発明は、論
理回路を構成する通常の回路とは別に該回路と非同期的
にセットあるいはリセットすることが可能な診断パス活
性化用フリップフロップを設け、該診断パス活性化用フ
リップフロップに特定の値をセットすることにより、前
記通常の回路のフリップフロップ回路のクロックを制御
して特定のフリップフロップ間のパスを活性化せしめる
ことが可能な如く構成された診断用回路において、シス
テムの動作中は常時診断パス活性化用フリップフロップ
をリセットする極性の信号となり、回路診断動作中は常
時該信号と逆の極性となる信号と、システムリセット信
号との論理和である信号を総ての診断パス活性化用フリ
ップフロップのリセット入力として与える手段と、総て
の診断パス活性化用フリップフロップの出力の論理和を
求める手段とを設けた診断用回路の動作保証回路である
。[Means for Solving the Problems] According to the present invention, the above objects are achieved by the means described in the claims. That is, the present invention provides a diagnostic path activation flip-flop that can be set or reset asynchronously with the normal circuit constituting the logic circuit, and provides a diagnostic path activation flip-flop that can be set or reset asynchronously with the logic circuit. In a diagnostic circuit configured such that by setting a specific value, it is possible to control the clock of the flip-flop circuit of the normal circuit and activate a path between specific flip-flops, it is possible to control the operation of the system. Inside is a signal with a polarity that always resets the flip-flop for activating the diagnostic path, and during circuit diagnostic operation, a signal that is the logical sum of a signal whose polarity is always opposite to this signal and the system reset signal is used for all diagnostics. This is a circuit for guaranteeing the operation of a diagnostic circuit, which is provided with means for supplying as a reset input to a flip-flop for path activation, and means for calculating the logical sum of the outputs of all the flip-flops for diagnostic path activation.
〔作 用コ
前記手段において、診断パス活性化用フリップフロップ
は、システムリセット信号によりリセットされると共に
、以降、該フリップフロップのリセット端子に該フリッ
プフロップをリセットする極性の信号が印加され続ける
ことにより強制的にリセット状態を継続することになる
。[Operation] In the above means, the diagnostic path activation flip-flop is reset by the system reset signal, and thereafter, by continuing to apply a signal of polarity to reset the flip-flop to the reset terminal of the flip-flop. The reset state will be forced to continue.
従って、例えば誘導やパルス性雑音などによって、意図
しないときに診断パス活性化用フリップフロップの極性
が反転すると言うようなことが避けられるから安定した
回路動作を期待することができる。Therefore, stable circuit operation can be expected because it is possible to avoid the polarity of the diagnostic path activation flip-flop being reversed unexpectedly due to, for example, induction or pulse noise.
そして、万一、ハードウェア的障害等により診断パス活
性化用フリップフロップが人力に関係なくセット状態に
なったときは、総ての診断パス活性化用フリップフロッ
プの出力の論理和を求める回路の出力により、容易にこ
れを検出することができる。In the unlikely event that the flip-flops for diagnostic path activation become set regardless of human power due to a hardware failure, etc., the circuit that calculates the logical sum of the outputs of all the flip-flops for diagnostic path activation This can be easily detected by the output.
[実施例コ
第1図は本発明の一実施例のブロック図であって、lは
オアゲート、2は診断パス活性化条件設定回路、31〜
3nは診断パス活性化用ラッチ、4はオアゲートを表わ
している。[Embodiment 1] FIG. 1 is a block diagram of an embodiment of the present invention, where l is an OR gate, 2 is a diagnostic path activation condition setting circuit, and 31 to
3n represents a diagnostic path activation latch, and 4 represents an OR gate.
同図において、診断時には、診断パス活性化条件設定回
路2に設定された条件に従って診断パス活性化用ラッチ
31〜3nのセット端子(S)にセット信号が印加され
て該ラッチがセットされ、その出力が一般ラッチのクロ
ックを制御して必要な診断用パスを形成する。In the figure, during diagnosis, a set signal is applied to the set terminals (S) of the diagnostic path activation latches 31 to 3n according to the conditions set in the diagnostic path activation condition setting circuit 2, and the latches are set. The output clocks the general latches to form the necessary diagnostic paths.
一方、通常の動作の際には、診断パス活性化用ラッチ3
1〜3nは、そのリセット端子(R)にオアゲート1の
出力が印加されてリセットされる。該オアゲート1には
システムリセット信号と診断パス活性化用ラッチリセッ
ト信号が入力として印加されている。On the other hand, during normal operation, the diagnostic path activation latch 3
1 to 3n are reset by applying the output of OR gate 1 to their reset terminals (R). A system reset signal and a diagnostic path activation latch reset signal are applied to the OR gate 1 as inputs.
これらの信号の内システムリセット信号はパルス信号と
して与えられるが、診断パス活性化用ラッチリセット信
号は、その極性(この場合は°°1”)が変化すること
なく常時“1″として与えられ、診断パス活性化用ラッ
チ3.〜3nを強制的にリセット状態に保つ。Among these signals, the system reset signal is given as a pulse signal, but the latch reset signal for diagnostic path activation is always given as "1" without changing its polarity (°°1" in this case). The diagnostic path activation latches 3. to 3n are forcibly maintained in a reset state.
また、診断パス活性化用ラッチ31〜3nの各出力はオ
アゲート4に人力されていて、診断状態でないにも係わ
らず、診断パス活性化用ラッチ31〜3nの中のいずれ
かがセット状態になったとき診断パス活性化用ラッチエ
ラー信号を出力する。Further, each output of the diagnostic path activation latches 31 to 3n is manually inputted to the OR gate 4, and even though it is not in the diagnostic state, one of the diagnostic path activation latches 31 to 3n is in the set state. When this occurs, a latch error signal for activating the diagnostic path is output.
[発明の効果コ
以上説明したように本発明によれば、論理回路を構成す
る通常の回路とは別に該回路と非同期的にセットあるい
はリセットすることが可能な診断パス活性化用フリップ
フロップを設け、該診断パス活性化用フリップフロップ
に特定の値をセットすることにより、前記通常の回路の
フリップフロップ回路のクロックを制御して特定のフリ
ップフロップ間のパスを活性化せしめることが可能な如
く構成された診断用回路において、診断パス活性化用フ
リップフロップの誤動作による一般回路への影響を大幅
に減少せしめ一般回路の安定な動作を期待し得る利点が
ある。[Effects of the Invention] As explained above, according to the present invention, a flip-flop for activating a diagnostic path that can be set or reset asynchronously with the normal circuit constituting the logic circuit is provided. , by setting a specific value in the diagnostic path activation flip-flop, the clock of the flip-flop circuit of the normal circuit can be controlled to activate a path between specific flip-flops. This diagnostic circuit has the advantage that the influence on the general circuit due to malfunction of the flip-flop for activating the diagnostic path can be greatly reduced, and stable operation of the general circuit can be expected.
また、該診断パス活性化用フリップフロップのハード障
害による誤動作を迅速に検出し得るから、システム的な
対処を迅速、かつ、容易に行なうことができるので回路
動作の信頼性を向上せしめ得る°利点がある。In addition, malfunctions due to hardware failures in the diagnostic path activation flip-flops can be quickly detected, and systematic countermeasures can be taken quickly and easily, improving the reliability of circuit operation.Advantages There is.
第1図は本発明の一実施例のブロック図、第2図は論理
回路の例を示す図、第3図は、診断パス活性化用回路に
ついて説明する図である。
1.4・・・・・・オアゲート、2・・・・・・診断パ
ス活性化条件設定回路、31〜3n・・・・・・診断パ
ス活性化用ラッチFIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of a logic circuit, and FIG. 3 is a diagram explaining a diagnostic path activation circuit. 1.4...OR gate, 2...Diagnostic path activation condition setting circuit, 31-3n...Latch for diagnostic path activation
Claims (1)
的にセットあるいはリセットすることが可能な診断パス
活性化用フリップフロップを設け、該診断パス活性化用
フリップフロップに特定の値をセットすることにより、
前記通常の回路のフリップフロップ回路のクロックを制
御して特定のフリップフロップ間のパスを活性化せしめ
ることが可能な如く構成された診断用回路において、 システムの動作中は常時診断パス活性化用フリップフロ
ップをリセットする極性の信号となり、回路診断動作中
は常時該信号と逆の極性となる信号と、システムリセッ
ト信号との論理和である信号を総ての診断パス活性化用
フリップフロップのリセット入力として与える手段と、
総ての診断パス活性化用フリップフロップの出力の論理
和を求める手段とを設けたことを特徴とする診断用回路
の動作保証回路。[Claims] A flip-flop for activating a diagnostic path that can be set or reset asynchronously with the normal circuit constituting the logic circuit is provided, and the flip-flop for activating the diagnostic path By setting a specific value,
In the diagnostic circuit configured to be able to activate a path between specific flip-flops by controlling the clocks of the flip-flop circuits of the normal circuit, the diagnostic path activation flip-flop is always activated during system operation. A signal that is the logical sum of a signal with the opposite polarity to the system reset signal and a signal that always has the opposite polarity during circuit diagnostic operation is used as the reset input of all diagnostic path activation flip-flops. a means of giving as
1. An operation guarantee circuit for a diagnostic circuit, comprising means for calculating the logical sum of outputs of all diagnostic path activation flip-flops.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63218256A JP2536907B2 (en) | 1988-09-02 | 1988-09-02 | Diagnostic circuit having operation guarantee circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63218256A JP2536907B2 (en) | 1988-09-02 | 1988-09-02 | Diagnostic circuit having operation guarantee circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0267973A true JPH0267973A (en) | 1990-03-07 |
JP2536907B2 JP2536907B2 (en) | 1996-09-25 |
Family
ID=16717032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63218256A Expired - Fee Related JP2536907B2 (en) | 1988-09-02 | 1988-09-02 | Diagnostic circuit having operation guarantee circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2536907B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04320983A (en) * | 1991-04-22 | 1992-11-11 | Fujitsu Ltd | Path activation circuit |
WO2020090034A1 (en) * | 2018-10-31 | 2020-05-07 | 株式会社日立製作所 | Processing device |
-
1988
- 1988-09-02 JP JP63218256A patent/JP2536907B2/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04320983A (en) * | 1991-04-22 | 1992-11-11 | Fujitsu Ltd | Path activation circuit |
WO2020090034A1 (en) * | 2018-10-31 | 2020-05-07 | 株式会社日立製作所 | Processing device |
JPWO2020090034A1 (en) * | 2018-10-31 | 2021-09-02 | 株式会社日立製作所 | Processing equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2536907B2 (en) | 1996-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5276690A (en) | Apparatus utilizing dual compare logic for self checking of functional redundancy check (FRC) logic | |
US10598728B2 (en) | Scan chain circuit supporting logic self test pattern injection during run time | |
US5404359A (en) | Fail safe, fault tolerant circuit for manufacturing test logic on application specific integrated circuits | |
JP3002201B2 (en) | Cross-connection type inspection circuit and integrated circuit therefor | |
US5471152A (en) | Storage element for delay testing | |
US7752514B2 (en) | Methods and apparatus for testing a scan chain to isolate defects | |
JPH04178580A (en) | Self diagnostic device for semiconductor memory | |
JP4265934B2 (en) | Scan campus circuit, logic circuit including the same, and integrated circuit test method | |
JPH0267973A (en) | Operation ensuring circuit of diagnostic circuit | |
EP0151694B1 (en) | Logic circuit with built-in self-test function | |
JPH03131779A (en) | Device and method of inspecting storage device and exclusive or gate | |
JP2531615B2 (en) | Integrated circuit | |
RU2198411C2 (en) | Device and method testing standard functional unit in integrated circuit with use of jag | |
JPH039428B2 (en) | ||
JPH0526981A (en) | Testing circuit for semiconductor integrated circuit | |
JPH09127203A (en) | Logical integrated circuit and failure test method therefor | |
JPH0210178A (en) | Logic circuit | |
JPS6070598A (en) | Self-diagnosing circuit | |
JPH06347520A (en) | Delay test method | |
JPS6244842A (en) | Scanning path diagnosing circuit | |
JPH0746123B2 (en) | Integrated circuit test method | |
JPH0424832A (en) | Diagnostic system for fault detection circuit | |
JPS60111173A (en) | Ic testing device | |
JPH01197675A (en) | Diagnosing method for logic circuit | |
JPH03197883A (en) | Semiconductor integrated circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |