JPS6225212B2 - - Google Patents
Info
- Publication number
- JPS6225212B2 JPS6225212B2 JP57092810A JP9281082A JPS6225212B2 JP S6225212 B2 JPS6225212 B2 JP S6225212B2 JP 57092810 A JP57092810 A JP 57092810A JP 9281082 A JP9281082 A JP 9281082A JP S6225212 B2 JPS6225212 B2 JP S6225212B2
- Authority
- JP
- Japan
- Prior art keywords
- flip
- flop
- scan
- circuit
- tri
- 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
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318583—Design for test
- G01R31/318586—Design for test with partial scan or non-scannable parts
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
(イ) 発明の技術分野
本発明は、複数のフリツプフロツプを縦続接続
してスキヤンループ回路を構成したとき、そのス
キヤンループ回路内の複数のフリツプフロツプに
よつて制御されるトライステート出力回路がバス
衝突を生じないようにしたスキヤンループ回路制
御方式に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Technical field of the invention The present invention provides a scan loop circuit configured by cascading a plurality of flip-flops. This invention relates to a scan loop circuit control method that prevents a state output circuit from causing bus collision.
(ロ) 従来技術と問題点
近年、LSIの集積度が増し、多数の回路素子が
1個のLSI内に収容されるようになつてきてい
る。この場合、LSIの診断を容易にする方法とし
て、内部のフリツプフロツプをシフトレジスタ形
式につらねてゆくスキヤンループ方式がよく使用
される。このスキヤンループは、一般には、LSI
および該LSIを搭載したプリント(PT)板の診
断率の向上をねらつたものであるが、ある種のデ
ータ処理システムでは、このループを使用してロ
グ(LOG)情報の収集を行なつたりサービスプ
ロセツサ(SVP)からの種々のサービス機能を実
現している。そのようなデータ処理システムにお
いては数チツプのLSIをプリント板に搭載し、1
つのシフトレジスタを構成し、その出力をサービ
スプロセツサ内のシフトレジスタの入力に接続
し、当該サービスプロセツサ内のシフトレジスタ
の出力をプリント板へのスキヤンインデータとし
て使用することにより1つのループを構成する。
そして、シフト動作を行ないながらサービスプロ
セツサがスキヤンループ内の各フリツプフロツプ
の値を読出し画面等に表示を行なう。スキヤンル
ープについての1ラウンドシフト動作が終了すれ
ば、各フリツプフロツプの状態はもとの状態にな
る。(b) Prior Art and Problems In recent years, the degree of integration of LSIs has increased, and a large number of circuit elements have come to be housed in one LSI. In this case, as a method to facilitate LSI diagnosis, a scan loop method is often used in which internal flip-flops are connected in the form of a shift register. This scan loop is generally used for LSI
This loop is intended to improve the diagnostic efficiency of printed (PT) boards equipped with this LSI, but in certain data processing systems, this loop is used to collect log (LOG) information or provide services. It realizes various service functions from the processor (SVP). In such data processing systems, several LSI chips are mounted on a printed board, and one
One loop is constructed by configuring two shift registers, connecting their outputs to the inputs of the shift registers in the service processor, and using the outputs of the shift registers in the service processor as scan-in data to the printed circuit board. Configure.
Then, while performing the shift operation, the service processor reads out the values of each flip-flop in the scan loop and displays them on a screen or the like. When one round of shift operations for the scan loop is completed, the state of each flip-flop returns to its original state.
さらに、あるフリツプフロツプにデータをスキ
ヤンインすることも可能である。すなわち、スキ
ヤンループについて適当のシフトを行なうことに
より対象とするフリツプフロツプの状態をサービ
スプロセツサ内のシフトレジスタに取り込み、当
該フリツプフロツプに対応するビツトをサービス
プロセツサが書換え、再び1ラウンドシフトすれ
ば当該フリツプフロツプに任意のパターンをセツ
トすることができる。 Additionally, it is also possible to scan data into certain flip-flops. That is, by performing an appropriate shift on the scan loop, the state of the target flip-flop is loaded into the shift register in the service processor, the service processor rewrites the bits corresponding to the flip-flop, and by shifting one round again, the state of the target flip-flop is transferred. Any pattern can be set.
ところで、このような操作中および操作後にあ
るフリツプフロツプと他のあるフリツプフロツプ
とにあるパターンがセツトされると、これらのフ
リツプフロツプによつて制御されるトライステー
ト出力回路の出力にバス衝突(フアイト)が起き
る可能性がある。そこで、このバス衝突を防止す
るために、第1図および第2図に示すようなバス
衝突防止回路が考えられている。第1図、第2図
において、1,2はLSIあるいはこれらの集合か
らなるプリント板、3〜8はフリツプフロツプ、
9,10はトライステート出力回路、11はドツ
ト・オア結合された共通バス、12,13はアン
ドゲート、14はスキヤンイン端子、15はスキ
ヤンアウト端子である。 By the way, if a certain pattern is set in one flip-flop and another flip-flop during and after such an operation, a bus collision will occur at the output of the tristate output circuit controlled by these flip-flops. there is a possibility. Therefore, in order to prevent this bus collision, a bus collision prevention circuit as shown in FIGS. 1 and 2 has been devised. In Figures 1 and 2, 1 and 2 are LSIs or printed boards made of a set of these, 3 to 8 are flip-flops,
9 and 10 are tri-state output circuits, 11 is a dot-OR coupled common bus, 12 and 13 are AND gates, 14 is a scan-in terminal, and 15 is a scan-out terminal.
第1図の回路は、フリツプフロツプ8の出力に
よつて、他のフリツプフロツプ4の出力を禁止す
ることにより、トライステート出力回路9と10
が同時に出力を発することを防止するようにした
回路である。この第1図の回路においては、配線
長やゲート動作時間等によりフリツプフロツプ7
の出力によつて最終的に相手のトライステート出
力回路9を出力禁止状態にするまでに時間がかか
り、場合によつては十分にバス衝突を防止できな
いという問題点があり、この点を解決するために
第2図の回路が考えられている。 The circuit of FIG.
This circuit is designed to prevent the two outputs from outputting at the same time. In the circuit shown in FIG. 1, the flip-flop 7
There is a problem in that it takes time to finally put the other party's tri-state output circuit 9 in an output inhibited state due to the output of , and in some cases bus collisions cannot be sufficiently prevented. For this reason, the circuit shown in FIG. 2 has been considered.
第2図の回路は、一方のトライステート出力回
路10を制御するフリツプフロツプ7の前段のフ
リツプフロツプ6の出力によつて、他方のトライ
ステート出力回路9を制御するフリツプフロツプ
4への入力動作を禁止することにより、トライス
テート出力回路9,10への制御信号入力タイミ
ングを合わせるようにしたものである。 The circuit shown in FIG. 2 prohibits the input operation to the flip-flop 4 that controls the other tri-state output circuit 9 by the output of the flip-flop 6 in the preceding stage of the flip-flop 7 that controls one of the tri-state output circuits 10. Accordingly, the control signal input timings to the tri-state output circuits 9 and 10 are made to match.
通常の回路動作においては、第2図の如き回路
形式を採用した場合、バス衝突が生じる恐れはな
いが、プリント板構成の可変なシステム内の特定
のフリツプフロツプにある任意のデータを格納す
るようなスキヤンモード(SCAN MODE)で動
作させた場合、第2図図示のフリツプフロツプ4
とフリツプフロツプ7が同時にオンとなる可能性
が出てくる。このことを防止するために、スキヤ
ンモード時においては、図示トライステート出力
回路9,10に図示しないスキヤンモード信号を
入力し、強制的に当該トライステート出力回路
9,10を共に禁止状態にするようにしている。
しかしながら、誤つてバス衝突の生じるパターン
をスキヤンインしてから、スキヤンモードを解除
してシステムを動作開始させたような場合、バス
衝突が発生し、LSIを破壊せしめてしまう恐れが
ある。 In normal circuit operation, if the circuit format shown in Figure 2 is adopted, there is no risk of bus collision. When operated in scan mode, flip-flop 4 shown in Figure 2
There is a possibility that flip-flop 7 and flip-flop 7 will be turned on at the same time. In order to prevent this, in the scan mode, a scan mode signal (not shown) is input to the tri-state output circuits 9 and 10 shown in the figure to force both the tri-state output circuits 9 and 10 to be in a prohibited state. I have to.
However, if a pattern that causes a bus collision is mistakenly scanned in, and then the scan mode is canceled and the system starts operating, a bus collision may occur and the LSI may be destroyed.
(ハ) 発明の目的
本発明は、プリント板構成が可能なシステムに
おいて、第2図図示の如き回路形式を採用した場
合でも、スキヤン動作時に上記したようなバス衝
突が生じないようにすることを目的としている。(c) Purpose of the Invention The present invention aims to prevent bus collisions such as those described above from occurring during scan operation even when a circuit format as shown in FIG. 2 is adopted in a system capable of having a printed board configuration. The purpose is
(ニ) 発明の構成
上記目的を達成するために本発明は、正常動作
用入力とスキヤン動作用入力とがそなえられた複
数のフリツプフロツプについて、そのスキヤン動
作用入力を使用して縦続接続しスキヤンループ回
路として構成すると共に、当該複数のフリツプフ
ロツプのうちのN個のフリツプフロツプが同一共
通バスに接続されたトライステート出力回路を制
御し、さらに上記トライステート回路のうちの特
定の1個を制御する回路部からの信号により、他
のトライステート出力回路を制御するフリツプフ
ロツプにバス衝突が生じないデータをセツトせし
めるよう構成した処理装置において、上記他のト
ライステート出力回路を制御するフリツプフロツ
プをスキヤンループ回路から除外する手段をそな
え、上記スキヤンループ回路全体を動作せしめる
ときは上記他のトライステート出力回路を制御す
るフリツプフロツプをスキヤンループから除外し
て動作せしめるとともに、当該除外されたフリツ
プフロツプに上記バス衝突が生じないデータをセ
ツトすることを特徴とする。(d) Structure of the Invention In order to achieve the above object, the present invention provides a scan loop in which a plurality of flip-flops each having a normal operation input and a scan operation input are connected in cascade using the scan operation inputs. A circuit section that is configured as a circuit, controls a tri-state output circuit in which N flip-flops among the plurality of flip-flops are connected to the same common bus, and further controls a specific one of the tri-state circuits. In a processing device configured to cause a flip-flop that controls another tri-state output circuit to set data that does not cause a bus collision based on a signal from the flip-flop that controls the other tri-state output circuit, the flip-flop that controls the other tri-state output circuit is excluded from the scan loop circuit. When operating the entire scan loop circuit, the flip-flop that controls the other tri-state output circuit is excluded from the scan loop, and the excluded flip-flop is loaded with data that will not cause the bus collision. It is characterized by setting.
(ホ) 発明の実施例
第3図は、本発明による実施例のブロツク図で
あり、図中、20,21はLSI、22〜27はフ
リツプフロツプ、28,29はトライステート出
力回路、30はドツト・オア結合された共通バ
ス、31はアンドゲート、32,33は選択ゲー
ト、34はスキヤンイン端子、35はスキヤンア
ウト端子、36はプリント板テスト・モード信号
端子、37,38はスキヤンモード信号線、39
はクロツク制御回路、40はAクロツク入力端
子、41はBクロツク入力端子、42はスキヤン
モード信号入力端子、43はノーマルクロツク入
力端子、44はノーマルクロツク線、45はシフ
トクロツク線である。(e) Embodiment of the invention FIG. 3 is a block diagram of an embodiment of the invention, in which 20 and 21 are LSIs, 22 to 27 are flip-flops, 28 and 29 are tri-state output circuits, and 30 is a dot.・OR-coupled common bus, 31 is an AND gate, 32 and 33 are selection gates, 34 is a scan-in terminal, 35 is a scan-out terminal, 36 is a printed board test mode signal terminal, 37 and 38 are scan mode signal lines, 39
4 is a clock control circuit, 40 is an A clock input terminal, 41 is a B clock input terminal, 42 is a scan mode signal input terminal, 43 is a normal clock input terminal, 44 is a normal clock line, and 45 is a shift clock line.
また、第4図は第3図図示実施例のシステムの
スキヤンイン、スキヤンアウト動作等を制御する
サービスプロセツサのブロツク図である。図中、
50はプロセツサ、51はシフトレジスタ、52
はシフトクロツク制御回路、53はパラレル・ロ
ード、データ線、54はクロツク制御線、55は
スキヤンアウトデータ入力端子、56はスキヤン
インデータ出力端子、57はAクロツク端子、5
8はBクロツク端子、59はスキヤンモード信号
端子である。 4 is a block diagram of a service processor that controls scan-in, scan-out operations, etc. of the system of the embodiment shown in FIG. 3. In the diagram,
50 is a processor, 51 is a shift register, 52
53 is a shift clock control circuit, 53 is a parallel load and data line, 54 is a clock control line, 55 is a scan-out data input terminal, 56 is a scan-in data output terminal, 57 is an A clock terminal, 5
8 is a B clock terminal, and 59 is a scan mode signal terminal.
実施例の動作は以下の通りである。通常動作時
においては、プリント板テストモード信号端子3
6からの信号により、選択ゲート32がフリツプ
フロツプ22の出力を選択してフリツプフロツプ
23に入力し、選択ゲート33がフリツプフロツ
プ23の出力を選択してフリツプフロツプ24に
入力する。また、スキヤンモード信号線37,3
8はトライステート出力回路28,29を非禁止
状態とする。これにより、第3図図示実施例の回
路は上記した第2図図示の回路と同等な動作を行
なう。 The operation of the embodiment is as follows. During normal operation, the printed board test mode signal terminal 3
6, the selection gate 32 selects the output of the flip-flop 22 and inputs it to the flip-flop 23, and the selection gate 33 selects the output of the flip-flop 23 and inputs it to the flip-flop 24. In addition, scan mode signal lines 37, 3
8 sets the tri-state output circuits 28 and 29 to a non-inhibited state. As a result, the circuit of the embodiment shown in FIG. 3 performs the same operation as the circuit shown in FIG. 2 described above.
次に、スキヤンモード動作時においては、従来
例と同様にスキヤンモード信号線37,38がト
ライステート出力回路28,29を禁止状態にす
る。そして、同時にプリント板テストモード信号
端子36からの信号により、選択ゲート32がア
ンドゲート31の出力を選択してフリツプフロツ
プ23に入力し、選択ゲート33がフリツプフロ
ツプ22の出力を選択してフリツプフロツプ24
に入力する。 Next, during scan mode operation, scan mode signal lines 37 and 38 inhibit tristate output circuits 28 and 29, as in the conventional example. At the same time, in response to a signal from the printed circuit board test mode signal terminal 36, the selection gate 32 selects the output of the AND gate 31 and inputs it to the flip-flop 23, and the selection gate 33 selects the output of the flip-flop 22 and inputs it to the flip-flop 24.
Enter.
この結果、第3図図示のフリツプフロツプ群は
フリツプフロツプ23を除外した形でスキヤンル
ープを構成する。そして、当該フリツプフロツプ
23にはフリツプフロツプ25の出力によつて制
御されたデータ、すなわち第2図図示の構成にお
いてフリツプフロツプ4にセツトされるべきデー
タと同一のデータがセツトされる。したがつて、
誤つてスキヤンモード信号線37,38がトライ
ステート出力回路28,29を非禁止状態として
も、両トライステート出力回路28,29の関係
は、第2図図示の場合と同様になり、バス衝突を
生ずることはなくなる。 As a result, the flip-flop group shown in FIG. 3 constitutes a scan loop with flip-flop 23 excluded. Data controlled by the output of the flip-flop 25, that is, the same data as should be set in the flip-flop 4 in the configuration shown in FIG. 2, is set in the flip-flop 23. Therefore,
Even if the scan mode signal lines 37 and 38 accidentally disable the tristate output circuits 28 and 29, the relationship between the two tristate output circuits 28 and 29 will be the same as in the case shown in FIG. 2, and bus collision will not occur. It will no longer occur.
このように、第4図図示のサービスプロセツサ
から第3図図示のシステムにスキヤン動作すると
き、トライステート出力回路28,29の出力に
おいてバス衝突が生じなくなるので、サービスプ
ロセツサのプログラムミスあるいは操作者の誤操
作によつてもシステムの安全性は保たれる。 In this way, when performing a scan operation from the service processor shown in FIG. 4 to the system shown in FIG. The safety of the system is maintained even in the event of operator error.
なお、プリント板単体の診断時においては、バ
ス衝突の生ずるパターンを削除した診断データに
よつて、図示フリツプフロツプ23を含む1つの
スキヤンループをテストすることが可能であるた
め、診断率の低下は生じない。 Note that when diagnosing a single printed board, it is possible to test one scan loop including the flip-flop 23 shown in the figure using diagnostic data from which patterns that cause bus collisions have been deleted, so there is no reduction in the diagnostic rate. do not have.
(ヘ) 発明の効果
以上のように、本発明によれば、複数プリント
板からなるシステムについてスキヤンイン、スキ
ヤンアウトを行なうときバス衝突を有効に防止す
ることができ、診断時のシステムの信頼性を向上
させることができる。(F) Effects of the Invention As described above, according to the present invention, bus collisions can be effectively prevented when performing scan-in and scan-out for a system consisting of multiple printed circuit boards, and the reliability of the system during diagnosis can be improved. can be improved.
第1図および第2図はそれぞれバス衝突防止回
路の一例、第3図は本発明による実施例のブロツ
ク図、第4図はサービスプロセツサのブロツク図
である。
第3図において、20,21はLSI、22〜2
7はフリツプフロツプ、28,29はトライステ
ート出力回路、30は共通バス、31はアンドゲ
ート、32,33は選択ゲートである。
1 and 2 are examples of a bus collision prevention circuit, FIG. 3 is a block diagram of an embodiment of the present invention, and FIG. 4 is a block diagram of a service processor. In Figure 3, 20 and 21 are LSI, 22 to 2
7 is a flip-flop, 28 and 29 are tri-state output circuits, 30 is a common bus, 31 is an AND gate, and 32 and 33 are selection gates.
Claims (1)
なえられた複数のフリツプフロツプについて、そ
のスキヤン動作用入力を使用して縦続接続しスキ
ヤンループ回路として構成するとともに、当該複
数のフリツプフロツプのうちN個のフリツプフロ
ツプが同一共通バスに接続されたトライステート
出力回路を制御し、さらに上記トライステート回
路のうちの特定の1個を制御する回路部からの信
号により、他のトライステート出力回路を制御す
るフリツプフロツプにバス衝突が生じないデータ
をセツトせしめるよう構成した処理装置におい
て、上記他のトライステート出力回路を制御する
フリツプフロツプをスキヤンループ回路から除外
する手段をそなえ、上記スキヤンループ全体を動
作せしめるときは、上記他のトライステート出力
回路を制御するフリツプフロツプをスキヤンルー
プから除外して動作せしめるとともに、当該除外
されたフリツプフロツプに上記バス衝突が生じな
いデータをセツトすることを特徴とするスキヤン
ループ回路制御方式。1 A plurality of flip-flops each having an input for normal operation and an input for scan operation are connected in cascade using the input for normal operation to form a scan loop circuit, and N flip-flops among the plurality of flip-flops are control tri-state output circuits connected to the same common bus, and a signal from a circuit section controlling a particular one of the tri-state circuits connects the bus to a flip-flop controlling another tri-state output circuit. In a processing device configured to set data that does not cause collisions, when the flip-flop controlling the other tri-state output circuit is excluded from the scan loop circuit, and the entire scan loop is operated, the other A scan loop circuit control method characterized in that a flip-flop that controls a tri-state output circuit is operated while being excluded from the scan loop, and data that does not cause the bus collision is set in the excluded flip-flop.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57092810A JPS58208858A (en) | 1982-05-31 | 1982-05-31 | Controlling system of scan loop circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57092810A JPS58208858A (en) | 1982-05-31 | 1982-05-31 | Controlling system of scan loop circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58208858A JPS58208858A (en) | 1983-12-05 |
| JPS6225212B2 true JPS6225212B2 (en) | 1987-06-02 |
Family
ID=14064761
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57092810A Granted JPS58208858A (en) | 1982-05-31 | 1982-05-31 | Controlling system of scan loop circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58208858A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2643789B2 (en) * | 1993-09-01 | 1997-08-20 | 日本電気株式会社 | Scan path circuit |
-
1982
- 1982-05-31 JP JP57092810A patent/JPS58208858A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58208858A (en) | 1983-12-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0254981B1 (en) | Diagnostic circuit | |
| US5568492A (en) | Circuit and method of JTAG testing multichip modules | |
| JPS63263480A (en) | Semiconductor integrated logic circuit | |
| US5657328A (en) | Scan design with expanded access capability | |
| JPS6225212B2 (en) | ||
| US5515517A (en) | Data processing device with test circuit | |
| JPS60239836A (en) | Troubleshooting system of logical circuit | |
| JPS6214860B2 (en) | ||
| JP2551187B2 (en) | Scan operation execution method | |
| JP2633980B2 (en) | Digital / analog mixed LSI | |
| JPS593561A (en) | Data processing system | |
| JP3278833B2 (en) | Logic circuit test method, test input circuit and test output circuit | |
| JPH1194914A (en) | Scan path control circuit | |
| JPS6175935A (en) | Scan flip-flop system | |
| JPH0744415A (en) | Semiconductor integrated circuit device | |
| JPH11125662A (en) | Semiconductor integrated circuit and method for execution full scan | |
| JPH0740060B2 (en) | On-board scan test equipment | |
| JPS58100437A (en) | Method for checking lsi | |
| JPH06324113A (en) | Semiconductor integrated circuit | |
| JP2501202B2 (en) | Logic circuit diagnosis method | |
| JPH04289473A (en) | Semiconductor integrated circuit | |
| JPH07151825A (en) | Semiconductor integrated circuit | |
| JPH0561708A (en) | Semiconductor integrator | |
| JPH07120535A (en) | Logic circuit diagnostic method and LSI circuit | |
| JPH06160491A (en) | Sequential circuit |