JPH0553862A - Scan path diagnostic system - Google Patents
Scan path diagnostic systemInfo
- Publication number
- JPH0553862A JPH0553862A JP3217018A JP21701891A JPH0553862A JP H0553862 A JPH0553862 A JP H0553862A JP 3217018 A JP3217018 A JP 3217018A JP 21701891 A JP21701891 A JP 21701891A JP H0553862 A JPH0553862 A JP H0553862A
- Authority
- JP
- Japan
- Prior art keywords
- scan path
- flip
- diagnostic
- selection
- processor
- 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.)
- Pending
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、診断プロセッサと、こ
れにより診断される主プロセッサとからなる情報処理シ
ステムに係わり、特にスキャンパスを備えた主プロセッ
サを診断するためのスキャンパス診断システムに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system including a diagnostic processor and a main processor diagnosed by the diagnostic processor, and more particularly to a scan path diagnostic system for diagnosing a main processor having a scan path.
【0002】[0002]
【従来の技術】従来、プロセッサを診断する方法の一つ
としてスキャンパス診断方法が提案されている。このス
キャンパス診断方法は、主プロセッサ内のフリップフロ
ップの入出力を切り換えて全てのフリップフロップを一
本のパスとし、診断プロセッサにより前記したパス内の
情報を採取することで異常等の診断をするものである。2. Description of the Related Art Conventionally, a scan path diagnosis method has been proposed as one of methods for diagnosing a processor. In this scan path diagnosis method, the inputs and outputs of the flip-flops in the main processor are switched to make all the flip-flops into one path, and the diagnosis processor collects the information in the path to diagnose an abnormality or the like. It is a thing.
【0003】図2は、従来のスキャンパス診断方法を実
現する情報処理システムを示すブロック図である。図2
に示すように、診断プロセッサ101は、主プロセッサ
102の診断制御部103に対し、スキャン動作実行要
求を診断コマンドDCNT に乗せて送出するとともに、ス
キャンデータ入力信号DINを送出する。これにより、診
断制御部103は、主プロセッサ102のパス内の情報
をシフトさせて、その情報を得る。これにより、診断プ
ロセッサ101は、診断制御部103からスキャンデー
タ出力信号DOUT を採取している。FIG. 2 is a block diagram showing an information processing system for implementing a conventional scan path diagnosis method. Figure 2
As shown in, the diagnostic processor 101 sends a scan operation execution request on the diagnostic command D CNT to the diagnostic control unit 103 of the main processor 102 and sends the scan data input signal D IN . As a result, the diagnostic control unit 103 shifts the information in the path of the main processor 102 to obtain the information. As a result, the diagnostic processor 101 collects the scan data output signal D OUT from the diagnostic control unit 103.
【0004】この場合、スキャンデータ入力信号DINお
よびスキャンデータ出力信号DOUT はシリアル信号であ
り、その信頼線を向上するためにデータ8ビットに対し
て1パリティを生成して付与している。そして、診断プ
ロセッサ101および診断制御部103の入力部におい
て、入力信号DINおよび出力信号DOUT は、そのパリテ
ィビットを利用してデータの正当性がチェックされる。In this case, the scan data input signal D IN and the scan data output signal D OUT are serial signals, and one parity is generated and added to 8 bits of data in order to improve the reliability line. Then, in the input sections of the diagnostic processor 101 and the diagnostic control section 103, the validity of the data of the input signal D IN and the output signal D OUT is checked by using the parity bit thereof.
【0005】上述した従来のスキャンパス診断方法の場
合、スキャンデータ入力信号DINおよびスキャンデータ
出力信号DOUT がデータ8ビットに対して1パリティを
付与して送出するようになっているため、主プロセッサ
内のスキャンパスのビットの総和が8の整数倍になって
いる必要があり、その総数が8の整数倍となっていない
ときにはダミーのフリップフロップを付加する必要があ
る。In the conventional scan path diagnosis method described above, the scan data input signal D IN and the scan data output signal D OUT are designed to be sent with 1 parity for 8 bits of data. It is necessary that the sum of the bits of the scan paths in the processor is an integral multiple of 8, and if the total is not an integral multiple of 8, it is necessary to add a dummy flip-flop.
【0006】[0006]
【発明が解決しようとする課題】ところで、近年、LS
Iの集積化が進む中で、一つのスキャンパスのビット長
は大きくなり、かつ複数のLSIを接続して一つのスキ
ャンパスとするような構成が取られていくと、最終的に
全てのLSIの設計が固まるまで、ダミーのフリップフ
ロップの長さが決定できないという問題があった。By the way, in recent years, LS
As the integration of I progresses, the bit length of one scan path increases, and if a configuration is adopted in which a plurality of LSIs are connected to form one scan path, all the LSIs will eventually be There was a problem that the length of the dummy flip-flop could not be determined until the design of was fixed.
【0007】また、設計が固まった後からスキャンパス
長に変更が生じた場合は、その都度、ダミーのフリップ
フロップの数も再調整する必要があり、スキャンパス長
を8の整数倍にすることは、LSIの設計作業に非常に
負担になるという問題があった。When the scan path length is changed after the design is fixed, the number of dummy flip-flops must be readjusted each time, and the scan path length should be an integral multiple of 8. Had a problem that it greatly burdens the LSI design work.
【0008】さらに、LSIが作成完了した後に、スキ
ャンパス長が8の整数倍でないことが判明しても、これ
に対処できないという問題もあった。Further, there is a problem that even if it is found that the scan path length is not an integral multiple of 8 after the LSI is completed, this cannot be dealt with.
【0009】加えて、LSIの組合せにより、スキャン
パス長が8の整数倍でなくなってしまう場合には、スキ
ャンパスにより診断する方法を採用できなくなるという
問題もあった。In addition, when the scan path length is not an integral multiple of 8 due to the combination of LSIs, there is a problem that the method of diagnosing by the scan path cannot be adopted.
【0010】本発明は、上記問題点を解消し、スキャン
パス長を気にせずに、かつスキャンパスの長さの変更に
対処できるスキャンパス診断システムを提供することを
目的とする。It is an object of the present invention to solve the above problems and to provide a scan path diagnosis system which can cope with a change in the scan path length without worrying about the scan path length.
【0011】[0011]
【課題を解決するための手段】上記目的を達成するため
に、本発明のスキャンパス診断システムは、各種の診断
信号を形成する診断プロセッサと、これに接続された診
断制御部およびスキャンパスを備えた主プロセッサとか
ら構成される情報処理システムにおいて、整数n個のフ
リップフロップを直列接続し、最前段のフリップフロッ
プにスキャンパス信号を入力し、スキャン動作時に前記
したフリップフロップ群を動作可能としてなる一時記憶
手段と、前記した診断プロセッサからの選択指示信号に
より特定の選択信号を形成する選択条件保持手段と、前
記した一時記憶手段のフリップフロップの内の何れか一
つのあるいはスキャンパス信号を前記した選択保持手段
からの選択信号により選択する選択手段とを備え、前記
した選択手段で選択した出力信号を主プロセッサのスキ
ャンパスにおけるスキャンパス入力信号として使用する
ことを特徴とするものである。In order to achieve the above object, a scan path diagnostic system of the present invention comprises a diagnostic processor for forming various diagnostic signals, a diagnostic controller connected to the diagnostic processor, and a scan path. In an information processing system including a main processor, an integer n number of flip-flops are connected in series, a scan path signal is input to the frontmost flip-flop, and the above-mentioned flip-flop group can be operated during the scan operation. The temporary storage means, the selection condition holding means for forming a specific selection signal according to the selection instruction signal from the diagnostic processor, and any one of the flip-flops of the temporary storage means or the scan path signal are described above. Selection means for selecting according to a selection signal from the selection holding means, and selecting by the selection means described above. It is characterized in the use of output signals as a scan path input signal at the scan path of the main processor.
【0012】ここで、前記した選択条件保持手段は、整
数m個のフリップフロップからなり、診断プロセッサか
らの選択指示で2m 通りの選択信号を形成するできるよ
うにすればよい。Here, the selection condition holding means may be composed of an integer of m flip-flops so that 2 m kinds of selection signals can be formed in response to a selection instruction from the diagnostic processor.
【0013】また、前記した保持手段のm個のフリップ
フロップと、前記した一時記憶手段のn個のフリップフ
ロップとの間には2m =n+1が少なくとも成立するよ
うにする。At least 2 m = n + 1 is established between the m flip-flops of the holding means and the n flip-flops of the temporary storage means.
【0014】[0014]
【実施例】次に、本発明について図示の実施例を基に説
明する。Next, the present invention will be described based on the illustrated embodiments.
【0015】図1は、本発明のスキャンパス診断システ
ムの実施例を示すブロック図である。図1に示すスキャ
ンパス診断システムが適用される情報処理システムは、
各種の診断信号を形成する診断プロセッサ1と、この診
断プロセッサ1で診断される主プロセッサ2とを含んで
構成されている。主プロセッサ2は、診断プロセッサ1
に接続された診断制御部3と、図示しないスキャンパス
とを備えている。診断プロセッサ1は、主プロセッサ2
の診断制御部3に対し、スキャン動作実行要求を診断コ
マンドDCNT に乗せて送出するとともに、スキャンデー
タ入力信号DINを送出する。これにより、診断制御部1
03は主プロセッサ102のパス内の情報をシフトさせ
て情報を得るので、診断プロセッサ101は診断制御部
103からスキャンデータ出力信号DOUT を採取する。FIG. 1 is a block diagram showing an embodiment of the scan path diagnosis system of the present invention. The information processing system to which the scan path diagnosis system shown in FIG. 1 is applied is
The diagnostic processor 1 includes various diagnostic signals and a main processor 2 that is diagnosed by the diagnostic processor 1. The main processor 2 is the diagnostic processor 1
The diagnostic control unit 3 connected to the computer and a scan path (not shown). The diagnostic processor 1 is the main processor 2
The scan operation execution request is sent on the diagnostic command D CNT and the scan data input signal D IN is sent to the diagnostic control unit 3. As a result, the diagnostic control unit 1
03 obtains the information by shifting the information in the path of the main processor 102, so that the diagnostic processor 101 obtains the scan data output signal D OUT from the diagnostic control unit 103.
【0016】ここで、診断制御部3は、従来の処理回路
(図示せず)に加えて、一時記憶装置31と、選択条件
保持手段32と、選択手段33とを追加している。Here, the diagnosis control unit 3 has a temporary storage device 31, a selection condition holding means 32, and a selection means 33 in addition to a conventional processing circuit (not shown).
【0017】一時記憶装置31は、nが例えば7個のフ
リップフロップ311〜317からなる。フリップフロ
ップ311〜317は、セット端子S、データ入力端子
D、データ出力端子Qをそれぞれ備えており、各フリッ
プフロップ311〜317ともセット端子Sの入力信号
が“1”になったときに、クロック信号(図示せず)に
同期してデータ入力端子Dの入力信号をセットするよう
になっている。そして、フリップフロップ311は、診
断プロセッサ1からのスキャンデータ入力信号DINがデ
ータ入力端子Dに供給されるようにし、その出力端子Q
を次段のフリップフロップ312の入力端子Dに供給さ
れるようにし、以下フリップフロップ317まで同様に
直列接続している。各フリップフロップ311〜317
の各セット端子Sには、シフトモード信号SMDが入力
される。このシフトモード信号SMDは、診断制御部3
内で生成され、主プロセッサ2のスキャン動作を行うた
めの信号の同一の信号である。The temporary storage device 31 is composed of, for example, seven flip-flops 311 to 317. The flip-flops 311 to 317 each include a set terminal S, a data input terminal D, and a data output terminal Q, and each of the flip-flops 311 to 317 outputs a clock when the input signal of the set terminal S becomes "1". The input signal of the data input terminal D is set in synchronization with a signal (not shown). Then, the flip-flop 311 causes the scan data input signal D IN from the diagnostic processor 1 to be supplied to the data input terminal D, and its output terminal Q.
Are supplied to the input terminal D of the next-stage flip-flop 312, and the following flip-flops 317 are similarly connected in series. Each flip-flop 311 to 317
The shift mode signal SMD is input to each of the set terminals S. This shift mode signal SMD is used by the diagnostic control unit 3
It is the same signal that is generated in the main processor 2 for performing the scan operation of the main processor 2.
【0018】選択条件保持手段32は、mが例えば3個
のフリップフロップ(図示せず)からなり、診断プロセ
ッサ1からの選択指示信号により特定の選択信号を設定
できる。In the selection condition holding means 32, m is composed of, for example, three flip-flops (not shown), and a specific selection signal can be set by a selection instruction signal from the diagnostic processor 1.
【0019】選択手段33は、診断プロセッサ1からの
スキャンデータ入力信号DINおよびフリップフロップ3
11〜317からの信号を取り込み、これらの内の一つ
を選択してスキャンイン信号SINとして主プロセッサ2
のスキャンパス(図示せず)に供給するものである。こ
の選択手段33は、前記した選択保持手段からの選択信
号により選択動作する。また、前記した選択条件保持手
段は、整数m個のフリップフロップからなり、診断プロ
セッサからの選択指示で2m 通りの選択信号を設定でき
るようになっている。The selection means 33 includes the scan data input signal D IN from the diagnostic processor 1 and the flip-flop 3.
The signals from 11 to 317 are taken in, and one of these signals is selected and used as the scan-in signal S IN for the main processor 2
Is supplied to the scan path (not shown). The selection means 33 performs a selection operation by the selection signal from the selection holding means described above. Further, the selection condition holding means is composed of an integer of m flip-flops, and 2 m kinds of selection signals can be set by a selection instruction from the diagnostic processor.
【0020】また、前記した保持手段のm個(この実施
例では、7個)のフリップフロップ311〜317と、
前記した一時記憶手段のn個(この実施例では、3個)
のフリップフロップとの間には2m ≧n+1(この実施
例では、23 =7+1)が設立するようにする。Further, m (7 in this embodiment) flip-flops 311 to 317 of the holding means,
N temporary storage means (three in this embodiment)
2 m ≧ n + 1 (2 3 = 7 + 1 in this embodiment) is established between the flip-flop and the flip-flop.
【0021】このように構成された実施例の作用を説明
する。The operation of the embodiment thus constructed will be described.
【0022】まず、選択条件保持手段32に設定される
選択信号SELが“000”のときには選択手段33は
スキャンデータ入力信号DINを選択し、選択信号SEL
が“001”のときには選択手段33はフリップフロッ
プ311を選択し、選択信号SELが“010”のとき
には選択手段33はフリップフロップ312を選択し、
……というように決定しておく。この関係を次の表1に
示しておく。また、診断プロセッサ1は、この情報を記
憶しておく。First, when the selection signal SEL set in the selection condition holding means 32 is "000", the selection means 33 selects the scan data input signal D IN , and the selection signal SEL.
Is "001", the selection means 33 selects the flip-flop 311. When the selection signal SEL is "010", the selection means 33 selects the flip-flop 312.
... and so on. This relationship is shown in Table 1 below. The diagnostic processor 1 also stores this information.
【0023】[0023]
【表1】 [Table 1]
【0024】ここで、主プロセッサ2のスキャン動作を
行う場合、主プロセッサ2のスキャンパスの総ビット長
を8の整数倍にするように、診断プロセッサ1から選択
条件保持手段32にデータをセットし、診断プロセッサ
1は主プロセッサ2のスキャン動作を行わせる。Here, when the scan operation of the main processor 2 is performed, data is set from the diagnostic processor 1 to the selection condition holding means 32 so that the total bit length of the scan path of the main processor 2 becomes an integral multiple of 8. The diagnostic processor 1 causes the main processor 2 to perform the scan operation.
【0025】いま、主プロセッサ2のスキャンパスの総
ビット長が仮に795ビットであったとすると、総ビッ
ト長を8の整数倍にするためには5ビット不足する。そ
こで、診断プロセッサ1は、表1を参照して、分選択条
件保持手段32に“101”をセットする。すると、選
択手段33は、フリップフロップ315を選択する。こ
れにより、選択手段33から出力されるスキャンイン信
号SINとしてフリップフロップ315からの信号が出力
される。スキャンデータ入力信号DINは、フリップフロ
ップ311〜315の内容を通すことにより、スキャン
イン信号SINは5ビット分が加えられたデータとなる。
したがって、主プロセッサ2のスキャンパス総長は8の
整数倍、すなわち800ビットとなって出力される。Now, if the total bit length of the scan path of the main processor 2 is 795 bits, 5 bits are insufficient to make the total bit length an integral multiple of 8. Therefore, the diagnostic processor 1 refers to Table 1 and sets "101" in the minute selection condition holding means 32. Then, the selection means 33 selects the flip-flop 315. As a result, the signal from the flip-flop 315 is output as the scan-in signal S IN output from the selection means 33. The scan data input signal D IN passes through the contents of the flip-flops 311 to 315, whereby the scan in signal S IN becomes data to which 5 bits are added.
Therefore, the total scan path length of the main processor 2 is an integral multiple of 8, that is, 800 bits, and is output.
【0026】上記実施例では、主プロセッサ2のスキャ
ンパスの総ビット長が8の整数倍から5ビット不足した
場合で説明したが、1〜7ビット不足する場合も同様に
説明することができる。In the above embodiment, the case where the total bit length of the scan path of the main processor 2 is short by 5 bits due to an integral multiple of 8 is explained, but the case where it is short by 1 to 7 bits can be similarly explained.
【0027】[0027]
【発明の効果】以上説明したように本発明によれば、主
プロセッサのスキャンパスの総ビット長によらず、スキ
ャンパスデータとしては8の整数倍が保証されることに
なって、設計時にスキャンパス長を意識する必要がなく
なり、かつスキャンパス長の変動があっても診断プロセ
ッサからのスキャン動作を確実に行うことができるとい
う効果がある。As described above, according to the present invention, the scan path data is guaranteed to be an integral multiple of 8 regardless of the total bit length of the scan path of the main processor. There is an effect that it is not necessary to be aware of the campus length, and the scan operation from the diagnostic processor can be surely performed even if the scan path length changes.
【図1】本発明のスキャンパス診断システムの実施例を
示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a scan path diagnosis system of the present invention.
【図2】従来のスキャンパス診断システムが適用された
情報処理システムのブロック図である。FIG. 2 is a block diagram of an information processing system to which a conventional scan path diagnosis system is applied.
1 診断プロセッサ 2 主プロセッサ 3 診断制御部 31 一時記憶装置 32 選択条件保持手段 33 選択手段 311〜317 フリップフロップ 1 Diagnostic Processor 2 Main Processor 3 Diagnostic Control Unit 31 Temporary Storage Device 32 Selection Condition Holding Means 33 Selection Means 311 to 317 Flip-Flops
Claims (3)
サと、これに接続された診断制御部およびスキャンパス
を備えた主プロセッサとから構成される情報処理システ
ムにおいて、 整数n個のフリップフロップを直列接続し、最前段のフ
リップフロップにスキャンパス信号を入力し、スキャン
動作時に前記フリップフロップ群を動作可能としてなる
一時記憶手段と、 前記診断プロセッサからの選択指示信号により特定の選
択信号を形成する選択条件保持手段と、 前記一時記憶手段のフリップフロップの内の何れか一つ
のあるいはスキャンパス信号を前記選択保持手段からの
選択信号により選択する選択手段とを備え、 前記選択手段で選択した出力信号を主プロセッサのスキ
ャンパスにおけるスキャンパス入力信号として使用する
ことを特徴とするスキャンパス診断システム。1. An information processing system comprising a diagnostic processor for forming various diagnostic signals, and a main processor having a diagnostic control section and a scan path connected to the diagnostic processor. An integer n flip-flops are serially connected. A temporary storage unit that is connected and inputs a scan path signal to the frontmost flip-flop to enable the flip-flop group during a scan operation, and a selection that forms a specific selection signal according to a selection instruction signal from the diagnostic processor. Condition holding means and selection means for selecting any one of the flip-flops of the temporary storage means or the scan path signal by the selection signal from the selection holding means, and the output signal selected by the selection means Characterized by being used as the scan path input signal in the scan path of the main processor Scan path diagnostic system.
リップフロップからなり、診断プロセッサからの選択指
示で2m 通りの選択信号を形成するできることを特徴と
する請求項1記載のスキャンパス診断システム。2. The scan path diagnosis according to claim 1, wherein the selection condition holding means is composed of an integer m flip-flops and can form 2 m kinds of selection signals in response to a selection instruction from a diagnostic processor. system.
と、前記一時記憶手段のn個のフリップフロップとの間
には2m ≧n+1の関係を有することを特徴とする請求
項1または2記載のスキャンパス診断システム。3. The m 2 flip-flops of the holding means and the n flip-flops of the temporary storage means have a relationship of 2 m ≧ n + 1. Scan path diagnostic system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3217018A JPH0553862A (en) | 1991-08-28 | 1991-08-28 | Scan path diagnostic system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3217018A JPH0553862A (en) | 1991-08-28 | 1991-08-28 | Scan path diagnostic system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0553862A true JPH0553862A (en) | 1993-03-05 |
Family
ID=16697540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3217018A Pending JPH0553862A (en) | 1991-08-28 | 1991-08-28 | Scan path diagnostic system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0553862A (en) |
-
1991
- 1991-08-28 JP JP3217018A patent/JPH0553862A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03256297A (en) | Method for operating linear feedback shift register as series shift registor accompanied by cross check lattice structure | |
JPS60239836A (en) | Troubleshooting system of logical circuit | |
JPH0553862A (en) | Scan path diagnostic system | |
US6272656B1 (en) | Semiconductor integrated circuit including test facilitation circuit and test method thereof | |
JPS6214860B2 (en) | ||
JP2797793B2 (en) | Pseudo random pattern generator | |
US6898748B1 (en) | Test circuit method and apparatus | |
JPH0572615B2 (en) | ||
JP3090053B2 (en) | Monitor device for circuit data | |
JP2000338188A (en) | Testing circuit for semiconductor integrated circuit | |
JP2867930B2 (en) | Semiconductor device | |
JP2903548B2 (en) | Logic circuit diagnostic system | |
JPS61213934A (en) | Shift bus circuit | |
JPH0325229Y2 (en) | ||
JPH0389178A (en) | Semiconductor integrated circuit | |
JPS6249451A (en) | Information processor | |
JPH0746123B2 (en) | Integrated circuit test method | |
JPH0511021A (en) | Shift path constituting system for large scale integrated circuit | |
JPS63193238A (en) | Address scanning system | |
JPH0740059B2 (en) | Method for facilitating test of ultra-large scale integrated circuit | |
JPH01303935A (en) | Serial/parallel conversion circuit | |
JPH0283471A (en) | Scanning system logical circuit | |
JPH01193942A (en) | Self-diagnosis system for signal processing circuit | |
JPH05109297A (en) | Semiconductor integrated circuit | |
JPS62204172A (en) | Multiplexing deagnosis system for scan route |