JPS6339936B2 - - Google Patents
Info
- Publication number
- JPS6339936B2 JPS6339936B2 JP58237266A JP23726683A JPS6339936B2 JP S6339936 B2 JPS6339936 B2 JP S6339936B2 JP 58237266 A JP58237266 A JP 58237266A JP 23726683 A JP23726683 A JP 23726683A JP S6339936 B2 JPS6339936 B2 JP S6339936B2
- Authority
- JP
- Japan
- Prior art keywords
- scan
- flip
- flops
- shift
- circuit
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
(イ) 発明の技術分野
本発明は、スキヤン・イン・アウト制御回路に
関し、特に、スキヤンチエーン内のフリツプフロ
ツプFFの数が変化しても同一のスキヤン・イ
ン・アウト動作が行なえるようにしたスキヤン・
イン・アウト制御回路に関する。[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a scan-in-out control circuit, and in particular, to a scan-in-out control circuit that maintains the same scan-in-out operation even if the number of flip-flop FFs in a scan chain changes. Scan scan that allows you to perform
Regarding the in/out control circuit.
(ロ) 従来技術と問題点
スキヤン・イン・アウトシステムにおいて、1
つのスキヤンチエーンを構成するFFの数が変化
する場合、従来はスキヤン・イン・アウト動作を
制御する回路においてFFの数と接続順を認識す
ると共にシフトするクロツク数を変える必要があ
つた。このため前記制御回路ではスキヤンチエー
ンのFFの数が変化する毎にテーブル等を持つと
いう複雑さがあつた。また一部改良案としてシフ
トクロツクを制御したり、スキヤンチエーンの接
続形態を制御することにより、前記スキヤン制御
を行う回路は常に単一の動作にできる方法もある
が、この場合、(1)スキヤン・イン・アウトだけに
使用するダミーのFFが必要となること、又は(2)
スキヤンチエーンを構成するFFを全く同じ数に
分けた小さなスキヤンチエーンを構成し、独立に
制御しなければならないこと等の問題があり、回
路の増大,複雑さを招くという欠点があつた。(b) Conventional technology and problems In the scan-in-out system, 1.
When the number of FFs constituting a scan chain changes, it has conventionally been necessary to recognize the number and connection order of FFs in a circuit that controls scan-in/out operations, and to change the number of clocks to be shifted. For this reason, the control circuit has the complexity of having a table or the like every time the number of FFs in the scan chain changes. In addition, as a partial improvement, there is a method in which the circuit that performs the scan control can always operate in a single manner by controlling the shift clock or the connection form of the scan chain. A dummy FF used only for in/out is required, or (2)
There were problems such as the fact that the FFs constituting the scan chain were divided into exactly the same number to form a small scan chain, which had to be controlled independently, resulting in an increase in circuit size and complexity.
(ハ) 発明の目的
本発明は、上記の点を解決し、スキヤンチエー
ンを構成するFFの数が変化しても、簡単な構成
によりスキヤン・イン・アウト制御動作を同一に
することを可能にすることを目的としている。(C) Purpose of the Invention The present invention solves the above problems and makes it possible to maintain the same scan-in/out control operation with a simple configuration even if the number of FFs forming the scan chain changes. It is intended to.
(ニ) 発明の構成
上記目的を達成するために本発明は、スキヤ
ン・イン・アウト制御の対象となるn個のフリツ
プフロツプを含む論理回路の保守、診断等のため
に、該フリツプフロツプを直列に接続したスキヤ
ンチエーンに対し、m個のフリツプフロツプから
なるシフトレジスタを接続してスキヤンループを
構成し、シフトクロツクを必要数印加することに
より、上記シフトレジスタを介してのこのデータ
の入出力制御を行なうスキヤン・イン・アウトシ
ステムにおいて、上記シフトクロツクを計数する
計数手段と、該計数手段の計数値にもとづく制御
信号により上記論理回路内のフリツプフロツプへ
のシフトクロツクを抑止する手段と、該制御信号
により上記n個のフリツプフロツプからなるスキ
ヤンチエーンとm個のフリツプフロツプからなる
シフトレジスタとの接続を切り離す手段と、該制
御信号により上記シフトレジスタだけのスキヤン
ループを構成する手段とをもうけ、上記論理回路
におけるn個のフリツプフロツプのうちm×k個
のフリツプフロツプが存在しない場合において
も、n個のフリツプフロツプが存在する場合と同
一数のシフトクロツクを生成し、同一の入出力制
御動作態様でスキヤン・イン・アウト制御を行な
うよう構成したことを特徴とする。(d) Structure of the Invention In order to achieve the above object, the present invention provides a method for connecting n flip-flops in series for maintenance, diagnosis, etc. of a logic circuit including n flip-flops that are subject to scan-in-out control. A shift register consisting of m flip-flops is connected to the scan chain to form a scan loop, and by applying a required number of shift clocks, input/output control of this data via the shift register is performed. In the in-out system, there is provided a counting means for counting the shift clocks, a means for suppressing the shift clocks to the flip-flops in the logic circuit by means of a control signal based on the count value of the counting means, and a means for inhibiting the shift clocks to the flip-flops in the logic circuit by means of the control signal. means for disconnecting the scan chain consisting of a shift register consisting of m flip-flops, and means for configuring a scan loop of only the shift register according to the control signal, Even when there are no m×k flip-flops, the same number of shift clocks are generated as when there are n flip-flops, and scan-in/out control is performed in the same manner as the input/output control operation. It is characterized by
(ホ) 発明の実施例
第1図は従来の一般的なスキヤン・イン・アウ
トシステムの回路例である。図中、1―1〜1―
6は診断対象のフリツプフロツプ、2―1〜2―
2はスキヤン・イン・アウト制御用のシフトレジ
スタ、3はシフトクロツク作成回路である。この
ように、n個のFFからなるスキヤンチエーンと
m個のFFからなるシフトレジスタとをループ状
に接続し、シフトクロツクを必要数印加する事に
より、nビツト中の任意のFFのスキヤン・イ
ン・アウト動作が行われる。(e) Embodiments of the Invention FIG. 1 is a circuit example of a conventional general scan-in-out system. In the diagram, 1-1 to 1-
6 is a flip-flop to be diagnosed, 2-1 to 2-
2 is a shift register for scan-in/out control, and 3 is a shift clock generation circuit. In this way, by connecting the scan chain consisting of n FFs and the shift register consisting of m FFs in a loop and applying the required number of shift clocks, scan-in of any FF among n bits is possible. An out action is performed.
次に、第2図に本発明による実施例の回路を示
す。 Next, FIG. 2 shows a circuit according to an embodiment of the present invention.
第2図において10―1〜10―4は診断対象
のフリツプフロツプ、11―1〜11―2はスキ
ヤン・イン・アウト制御用のシフトレジスタ、1
2はシフトクロツク作成回路、13はシフトクロ
ツク計数回路、14〜16はアンドゲート、17
はオアゲート、18,19はインバータである。
第2図において、n個の診断対象FFのうち、m
×k個のFFが抜けている場合を示してある。第
3図は第2図の回路のタイムチヤートである。 In FIG. 2, 10-1 to 10-4 are flip-flops to be diagnosed, 11-1 to 11-2 are shift registers for scan-in-out control, and 1
2 is a shift clock generation circuit, 13 is a shift clock counting circuit, 14 to 16 are AND gates, 17
is an OR gate, and 18 and 19 are inverters.
In FIG. 2, among n FFs to be diagnosed, m
The case where ×k FFs are missing is shown. FIG. 3 is a time chart of the circuit of FIG. 2.
スキヤン・イン・アウト動作開始前は、シフト
クロツク計数回路13はクリアされている。この
状態でn2個のシフトクロツクが印加されるまで従
来と同じように、スキヤンチエーンに接続された
FFの内容はシフトされる。n2個目に計数回路1
3からの信号Aがオンになる。その後m×k個の
シフトクロツクが印加されるまで信号Aがオンと
なつており、スキヤンチエーンにおけるFFのう
ち、n1,n2個のFFの状態はシフトクロツクが抑
止される為、変化しない。一方m個のFF11―
1〜11―2はm個だけの閉じたスキヤンチエー
ンとなり、m×k個のシフトクロツクが印加され
た後、元と同じ状態になつている。 Before starting the scan-in-out operation, the shift clock counting circuit 13 is cleared. In this state, until n 2 shift clocks are applied, the switch is connected to the scan chain as before.
The contents of FF are shifted. n Second counting circuit 1
Signal A from 3 is turned on. Thereafter, the signal A remains on until m×k shift clocks are applied, and among the FFs in the scan chain, the states of n 1 and n 2 FFs do not change because the shift clocks are inhibited. On the other hand, m FF11-
1 to 11-2 are only m closed scan chains, and after m×k shift clocks are applied, they are in the same state as before.
更に、この状態でn1+m個のシフトクロツクが
印加されるとすべてのFFは全く元と同じ状態に
戻る。以上により、シフトクロツク作成回路12
では、スキヤンチエーンにおいてm×k個のFF
が存在しないことを認識する必要がない。又、ス
キヤン動作を行う為だけのダミーのFFが不要で
あると同時に付加回路も簡単である。 Furthermore, when n 1 +m shift clocks are applied in this state, all FFs return to their original states. As described above, the shift clock generation circuit 12
Then, in the scan chain, m×k FFs
There is no need to recognize that it does not exist. Further, a dummy FF only for performing the scan operation is not required, and the additional circuit is simple.
(ヘ) 発明の効果
本発明によれば、簡単な構成でスキヤンチエー
ン内の診断対象FF数の変化に対処することがで
き、経済上の利点は大である。(F) Effects of the Invention According to the present invention, it is possible to cope with changes in the number of FFs to be diagnosed in a scan chain with a simple configuration, and the economic advantage is great.
第1図は従来の一般的なスキヤン・イン・アウ
トシステムの回路例を示す図、第2図は本発明に
よる実施例の回路を示す図、第3図は実施例のタ
イムチヤートである。
第2図において、10―1〜10―4は診断対
象のフリツプフロツプ、11〜12はスキヤン・
イン・アウト制御用のシフトレジスタ、12はシ
フトクロツク作成回路、13はシフトクロツク計
数回路である。
FIG. 1 is a diagram showing a circuit example of a conventional general scan-in-out system, FIG. 2 is a diagram showing a circuit of an embodiment according to the present invention, and FIG. 3 is a time chart of the embodiment. In Fig. 2, 10-1 to 10-4 are flip-flops to be diagnosed, and 11 to 12 are scan flip-flops.
A shift register for in/out control, 12 a shift clock generation circuit, and 13 a shift clock counting circuit.
Claims (1)
個のフリツプフロツプを含む論理回路の保守、診
断等のために、該フリツプフロツプを直列に接続
したスキヤンチエーンに対し、m個のフリツプフ
ロツプからなるシフトレジスタを接続してスキヤ
ンループを構成し、シフトクロツクを必要数印加
することにより、上記シフトレジスタを介しての
データの入出力制御を行なうスキヤン・イン・ア
ウトシステムにおいて、上記論理回路内に上記シ
フトクロツクを計数する計数手段と、該計数手段
の計数値にもとづく制御信号により上記論理回路
内のn個のフリツプフロツプへのシフトクロツク
を抑止する手段と、該制御信号により上記n個の
フリツプフロツブからなるスキヤンチエーンとm
個のフリツプフロツプからなるシフトレジスタと
の接続を切り離す手段と、該制御信号により上記
シフトレジスタだけのスキヤンループを構成する
手段とをもうけ、上記論理回路におけるn個のフ
リツプフロツプのうちm×k個のフリツプフロツ
プが存在しない場合においても、n個のフリツプ
フロツプが存在する場合と同一数のシフトクロツ
クを生成し、同一の入出力制御動作態様でスキヤ
ン・イン・アウト制御を行なうよう構成したこと
を特徴とするスキヤン・イン・アウト制御回路。1 n subject to scan-in-out control
For maintenance, diagnosis, etc. of a logic circuit containing m flip-flops, a shift register consisting of m flip-flops is connected to a scan chain in which the flip-flops are connected in series to form a scan loop, and the necessary number of shift clocks are connected. In the scan-in-out system, the input/output of data via the shift register is controlled by applying a clock signal, a counting means for counting the shift clock in the logic circuit, and control based on the count value of the counting means. means for inhibiting shift clocks to the n flip-flops in the logic circuit by a signal; and means for inhibiting shift clocks to the n flip-flops in the logic circuit by the control signal;
and means for configuring a scan loop of only the shift register by means of the control signal. Even when n flip-flops do not exist, the same number of shift clocks are generated as when there are n flip-flops, and scan-in-out control is performed in the same manner as input/output control operation. In/out control circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58237266A JPS60128539A (en) | 1983-12-16 | 1983-12-16 | Scan in/out control circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58237266A JPS60128539A (en) | 1983-12-16 | 1983-12-16 | Scan in/out control circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60128539A JPS60128539A (en) | 1985-07-09 |
| JPS6339936B2 true JPS6339936B2 (en) | 1988-08-09 |
Family
ID=17012849
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58237266A Granted JPS60128539A (en) | 1983-12-16 | 1983-12-16 | Scan in/out control circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60128539A (en) |
-
1983
- 1983-12-16 JP JP58237266A patent/JPS60128539A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60128539A (en) | 1985-07-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5406216A (en) | Technique and method for asynchronous scan design | |
| EP0404127A2 (en) | Signal generator | |
| EP0017091B1 (en) | Two-mode-shift register/counter device | |
| US4396829A (en) | Logic circuit | |
| US4387294A (en) | Shift register-latch circuit driven by clocks with half cycle phase deviation and usable with a serial alu | |
| JPS6339936B2 (en) | ||
| GB1495838A (en) | Synchronous shift register | |
| KR940001556B1 (en) | Digital signal processing apparatus | |
| US3511977A (en) | Electronic counter | |
| JPS6258725A (en) | Counter circuit | |
| JPS6175935A (en) | Scan flip-flop system | |
| JP2556918Y2 (en) | Waveform control circuit of IC test equipment | |
| JP2712353B2 (en) | BnZS circuit | |
| JP2903548B2 (en) | Logic circuit diagnostic system | |
| JPH05291895A (en) | Clock selection circuit | |
| JP2545986B2 (en) | Logical path multiplexing method | |
| JPH01290013A (en) | Asynchronous clock selecting/synchronizing circuit | |
| SU1674255A2 (en) | Storage | |
| JPH01109272A (en) | LSI diagnostic circuit | |
| JPH0653819A (en) | Synchronizing counter | |
| JPS6339938B2 (en) | ||
| JPH0128351B2 (en) | ||
| JPH05273314A (en) | Semiconductor logic integrated circuit | |
| JPH0735824A (en) | Scan path circuit | |
| JPH03171273A (en) | Digital signal processor |