JPS59200354A - Debug system - Google Patents

Debug system

Info

Publication number
JPS59200354A
JPS59200354A JP58073406A JP7340683A JPS59200354A JP S59200354 A JPS59200354 A JP S59200354A JP 58073406 A JP58073406 A JP 58073406A JP 7340683 A JP7340683 A JP 7340683A JP S59200354 A JPS59200354 A JP S59200354A
Authority
JP
Japan
Prior art keywords
scan
information
external storage
address
single clock
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
Application number
JP58073406A
Other languages
Japanese (ja)
Inventor
Akisumi Koike
小池 夫澄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58073406A priority Critical patent/JPS59200354A/en
Publication of JPS59200354A publication Critical patent/JPS59200354A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning

Abstract

PURPOSE:To reproduce simply and quickly an optional state by storing the scan- out information to an external memory part for each clock by a single clock mode when an information processor is tested. CONSTITUTION:A scan-out instructing signal is sent to a scan-in/scan-out control circuit 11 from a CPU 1. An address is sent back to the CPU 1 from the circuit 11, and the scan-out information is stored in a scan-out memory 3 in accordance with said address. Then the contents of the scan-out information are stored in an external memory part 5 via a test processor 4. Then an optional state preceding the present state can be reproduced even when the contents of the part 5 are read out by designating an address by the scan-out instructing signal in a single clock mode.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は処理回路に対するスキャンイン、スキャンアウ
トによるチェック機能とスキャンアウトメモリを有する
情報処理装置の試験時に、シングルクロックモードによ
シ現状態より以前の任意の状態を再現できるようにした
デバッグ方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention provides a single clock mode for testing an information processing device having a scan-in/scan-out check function for a processing circuit and a scan-out memory. It relates to a debugging method that allows reproducing any previous state.

(2)従来技術と問題点 従来、情報処理装置(CPU)にスキャンイン。(2) Conventional technology and problems Conventionally, it is scanned into an information processing unit (CPU).

スキャンアウトによる処理回路のチェック機能とスキャ
ンアウトメモリを有し、処理情報にエラーを発生した場
合そのスキャンアウト情報を記憶し、そのデータを外部
記憶部に格納しておき、必要な時に再現できるようにし
たデバッグ方式が用いられている。第1図はその1例を
示し、第2図に動作の手順を示す。第1図に示すように
、CPU1によシ制御されるシステム制御インタフェー
ス2内にスキャンアウトメモリ6を設け、CPUIで制
御される回路の処理情報に工2−が発生した時、このエ
ラーを記録しておくため、第2図に示すように、CPU
Iからエラーレコード要求の命令をシステム制御インタ
フェース2に送シ、スキャンアラを行ない、CPU1か
らマシンチェック要求の命令をシステム制御インタフェ
ース2に送し、スキャンアウトメモリ3の内容を5VP
4を介して外部記憶部5に送シ格納する。
It has a scan-out function to check the processing circuit and a scan-out memory, and if an error occurs in the processing information, the scan-out information is memorized, and the data is stored in an external storage unit so that it can be reproduced when necessary. The following debugging method is used. FIG. 1 shows one example, and FIG. 2 shows the operating procedure. As shown in FIG. 1, a scan-out memory 6 is provided in the system control interface 2 controlled by the CPU 1, and when an error occurs in the processing information of the circuit controlled by the CPU 1, this error is recorded. In order to keep the CPU
The CPU 1 sends an error record request command to the system control interface 2 and performs a scan error, and the CPU 1 sends a machine check request command to the system control interface 2, and the contents of the scan out memory 3 are set to 5VP.
4 and stored in the external storage unit 5.

この外部記憶部5の内容を再現するには、cPUlの空
すた時間に要求の命令毎に外部記憶部5から所定アドレ
スにょシ読出すことになるが、その内容の1部を参照し
たい場合にも命令毎にアドレスの初めから再現しなけれ
ばならず時間がかかることが問題でめp1従って現状態
よシ以前の任意の状態を直ぐ参照するには不便であった
In order to reproduce the contents of this external storage section 5, a predetermined address must be read from the external storage section 5 for each requested command during the free time of cPUl, but if you want to refer to part of the contents, However, the problem is that the address must be reproduced from the beginning for each instruction, which takes time. Therefore, it is inconvenient to immediately refer to any previous state rather than the current state.

(3)発明の目的 本発明の目り衿は内部処理回路に対するスキャンイン、
スキャンアウトによるチェック機能とスキャンアウトメ
モリを有する情報処理装置の試験時に、シングルクロッ
クモードにょシ現状態よシ以前の任意の状態を一14現
できるようにしたデバッグ方式を提供することである。
(3) Purpose of the Invention The eye collar of the present invention is capable of scan-in to an internal processing circuit.
To provide a debugging method capable of displaying any previous state from the current state in a single clock mode when testing an information processing device having a scan-out check function and a scan-out memory.

(4)発明の構成 前記目的を達成するため、本発明のデバッグ方式は処理
回路に対しスキャンイン、クロック歩進。
(4) Structure of the Invention In order to achieve the above object, the debugging method of the present invention scans in and clocks the processing circuit.

スキャンアウトによりチェックを行なう制御手段とスキ
ャンアウトメモリを有する情報処理装置において、シン
グルクロックモードによシスキャンアウト情報を前記ス
キャンアウトメモリに格納する手段と、該スキャンアウ
トメモリの内容を試験用プロセッサを介し外部記憶部に
格納する手段を具え、該処理装置の試験時にシングルク
ロックモードによシ各りロック毎のスキャンアウト情報
を外部記憶部に記憶しておくことによシ、必要の時試験
用プロセッサを介して外部記憶部内の状態を′スキャン
インし現状態よシ以前の任意の状態を再現できるように
したことを特徴とするものである。
An information processing apparatus having a control means for performing a check by scanout and a scanout memory, comprising means for storing system scanout information in the scanout memory in a single clock mode, and a means for storing the contents of the scanout memory in a test processor. When testing the processing device, scanout information for each lock can be stored in the external storage unit in single clock mode, and can be used for testing when necessary. This system is characterized in that the state in the external storage section is scanned in via the processor, and any previous state can be reproduced from the current state.

(5)発明の実施例 第6図は本発明の実施向の構成説明図である。(5) Examples of the invention FIG. 6 is an explanatory diagram of the configuration of the embodiment of the present invention.

同図において、CPU1よりスキャンアウト指示信号、
すなわちシングルクロックモード時にそれを有効とする
動作状態レジスタ(OPSR)との論理積の出力が、ス
キャンイン、スキャンアウト制御回路11に送られ、ス
キャンイン、スキャンアウトアドレスバス全通してアド
レスをCPUIに返して、そのアドレスに従ってスキャ
ンアウト情報をスキャンアウトメモリ6に格納し、格納
終了後この内容を5VP4に介してマシンチェック情報
を42図と同様に外部記憶部5の70ツピイデイスク等
に格納する。
In the figure, a scan-out instruction signal is sent from the CPU 1,
In other words, the output of the logical product with the operating status register (OPSR) that makes it valid in single clock mode is sent to the scan-in/scan-out control circuit 11, and the address is sent to the CPUI through the entire scan-in/scan-out address bus. Then, the scan-out information is stored in the scan-out memory 6 according to the address, and after the storage is completed, the machine check information is stored in the 70-pin disk of the external storage unit 5 through the 5VP 4 as shown in FIG.

この外部記憶部5のフロッピィディスクの内容を読出す
時も、同様にスキャンアウト指示信号により7ングルク
ロツクモ一ド時にアドレスを指定することによシ、現状
態よシ以前の任意の状態を再現できるようにしたもので
ある。
When reading the contents of the floppy disk in the external storage unit 5, the current state and any previous state can be reproduced by specifying the address at the same time as the 7 clock mode using the scan-out instruction signal. It has been made possible.

この場合、とくに本発明ではシングルクロックモード時
に、これを有効とする動作状態レジスタ(OPSR)が
アドレスカウント値で歩進される。従って、すでに外部
記憶部5に格納済みのカウント値に戻って再現すること
が可能であるから、きめの細かい参照がその都度アドレ
スカウント値を指定して行なわれる。
In this case, especially in the present invention, in the single clock mode, the operating state register (OPSR) that makes this valid is incremented by the address count value. Therefore, since it is possible to return to and reproduce the count value already stored in the external storage unit 5, fine-grained reference is performed each time by specifying the address count value.

第4図は第6図の実施例の要部の詳細説明図である。FIG. 4 is a detailed explanatory diagram of the main parts of the embodiment shown in FIG. 6.

同図において、CPUIに設けたフリップフロップ(F
F)21にシングルクロックが与えられると、61”。
In the same figure, a flip-flop (F
F) 61” when a single clock is given to 21.

@0″が交互に発生し、ラッテ22で任意のクロックで
1” 11011の状態設定が行なわれる。
@0'' is generated alternately, and the state setting of 1'' 11011 is performed in the ratte 22 at an arbitrary clock.

一方、動作状態レジスタ(OPSR)25にアドレスカ
ウント値が設定され、このカウント値でシングルクロッ
ク時の2ツテ出力が有効となり、AND回路24の出力
がスキャンアウト指示信号として、スキャンイン、スキ
ャンアウト制御回路11に送られ、FF25をセットし
、スキャンアウトメモリ6の前に設けたAND回路26
の一方の入力をオンとし、CPU1の命令によりエラー
レコード回路27から出力されるエラーレコード要求に
基づくスキャンアウト情報を通してスキャンアウトメモ
リ6に記憶させる。このスキャンアウト情報の終了によ
シュ2−レコード回路27とFF25をリセットさせる
。このFF25のリセット前に5VP4に含まれるAN
D回路31をオンとすることによF)、FF62をセッ
トし、外部記憶部5の前に設けたAND回路62の一方
の入力をオンとし、5VP4によジ制御されるマシンチ
ェックレコード回路36カラ出力されるマシンチェック
レコード要求に基づく情報を通して外部記憶部5に格納
する。この格納の終了によシマシンチェックレコード回
路63とF’F 32をリセットして格納手順が完了す
る。
On the other hand, an address count value is set in the operating state register (OPSR) 25, and this count value enables two-way output during single clock, and the output of the AND circuit 24 is used as a scan-out instruction signal to control scan-in and scan-out. The AND circuit 26 which is sent to the circuit 11 and sets the FF 25 and is provided before the scan-out memory 6
One of the inputs is turned on, and the scan-out information based on the error record request output from the error record circuit 27 is stored in the scan-out memory 6 by the command of the CPU 1. Upon completion of this scan-out information, the second record circuit 27 and the FF 25 are reset. AN included in 5VP4 before this FF25 reset
By turning on the D circuit 31, the FF62 is set, and one input of the AND circuit 62 provided in front of the external storage section 5 is turned on, and the machine check record circuit 36 is controlled by the 5VP4. The information based on the machine check record request that is output blank is stored in the external storage unit 5. Upon completion of this storage, the machine check record circuit 63 and F'F 32 are reset and the storage procedure is completed.

次に外部6己憶部5に格納された自答を読出す場合には
アドレスカウント値をキーとして読出すことができるか
ら、従来のように命令毎にaシ返す必要がない。
Next, when reading out the self-answer stored in the external self-memory section 5, it can be read out using the address count value as a key, so there is no need to return the answer for each command as in the conventional case.

(6ン発明の詳細 な説明したように、本発明によれば、内部処理回路に対
するスキャンイン、スキャンアウトによるチェック機能
とスキャンアウトメモリを有する情報処理装置の試験時
に、シングルクロックモードによシ各りロック毎のスキ
ャンアウト情報を外部記憶部に記憶しておくことにょシ
、必要の時にアドレスカウント値をキ、−として読出し
て再現することが可能となるから、従来より簡単、迅速
に任意の状態の再現が即時可能となる。
(6) According to the present invention, when testing an information processing device having a scan-in/scan-out check function for an internal processing circuit and a scan-out memory, the single clock mode can be used. By storing the scanout information for each lock in the external storage unit, it is possible to read out and reproduce the address count value as a key or - when necessary. The state can be reproduced immediately.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来例の構成説明図、第2図は従来例の動作説
明図、第6図は本発明の実施例の構成説明図、第4図は
本発明の実施例の要部の詳細説明図であシ、図中、1は
f′#報処理装置、3はスキャンアウトメモリ、4は試
験用プロセッサ、5は外。 部記憶部を示す。 特許出願人 富士通株式会社 復代理人 弁理士  1)坂 善 重
Fig. 1 is an explanatory diagram of the configuration of the conventional example, Fig. 2 is an explanatory diagram of the operation of the conventional example, Fig. 6 is an explanatory diagram of the configuration of the embodiment of the present invention, and Fig. 4 is a detailed diagram of the main part of the embodiment of the present invention. This is an explanatory diagram. In the figure, 1 is an f'# information processing device, 3 is a scan-out memory, 4 is a test processor, and 5 is an external device. section storage section. Patent applicant Fujitsu Ltd. sub-agent Patent attorney 1) Yoshishige Saka

Claims (1)

【特許請求の範囲】 処理回路に対しスキャンイン、クロック歩進。 スキャンアウトによりチェックを行なう制御手段とスキ
ャンアウトメモリを有する情報処理装置において、シン
グルクロックモードによシスキャンアウト情報を前記ス
キャンアウトメモリに格納する手段と、該スキャンアウ
トメモリの内容を試験用プロセラ?を介し外部記憶部に
格納する手段を具え、該処理装置の試験時にシングルク
ロックモードによシ谷りロック毎のスキャンア)トτ斤
4を外部記憶部にdピ憶しておくことによシ、必要の時
試験用プロセッサを介して外部記憶部内の状態をスキャ
ンインし現状態よシ以前の任意の状態を再現できるよう
にしたことを特徴とするデバッグ方式。
[Claims] Scan-in and clock increment for the processing circuit. In an information processing apparatus having a control means for performing a check by scan-out and a scan-out memory, means for storing system scan-out information in the scan-out memory in a single clock mode, and storing the contents of the scan-out memory in a test processor? The system is provided with means for storing data in an external storage section via a memory card, and stores scan data for each valley lock in the external storage section in a single clock mode during testing of the processing device. A debugging method characterized in that the state in an external storage unit is scanned in via a test processor when necessary, and any state before the current state can be reproduced.
JP58073406A 1983-04-26 1983-04-26 Debug system Pending JPS59200354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58073406A JPS59200354A (en) 1983-04-26 1983-04-26 Debug system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58073406A JPS59200354A (en) 1983-04-26 1983-04-26 Debug system

Publications (1)

Publication Number Publication Date
JPS59200354A true JPS59200354A (en) 1984-11-13

Family

ID=13517276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58073406A Pending JPS59200354A (en) 1983-04-26 1983-04-26 Debug system

Country Status (1)

Country Link
JP (1) JPS59200354A (en)

Similar Documents

Publication Publication Date Title
US5781718A (en) Method for generating test pattern sets during a functional simulation and apparatus
JPS6327931A (en) Trouble simulation apparatus
JP3072531B2 (en) Pattern memory circuit for integrated circuit test equipment
JPS59200354A (en) Debug system
JP3102600B2 (en) IC tester
US6006346A (en) Method and equipment for automatically testing electronic components
JPS63148498A (en) Memory device with self-disagnosing function
EP0173257B1 (en) Integrated circuit device
KR100247858B1 (en) Error information storage circuit of memory apparatus
JP4484417B2 (en) Debug system
JP2518039B2 (en) Control memory load method for data processor
JPH08327703A (en) Memory architecture for automatic testing device using vector module table
JP2940207B2 (en) Compression pattern generation method
JP2877505B2 (en) LSI mounting board and data processing device
JPH03177947A (en) Diagnosing circuit for memory device
JPS6153579A (en) Tester for function of logical circuit
JPH0266668A (en) Data tracing method for multi-processor bus
JPS5927359A (en) Logical circuit tracing device
JPS58205265A (en) Scan loop check system
JPS62293452A (en) Memory ic diagnosing circuit
JPS6326899A (en) Ram test device
JPH01297746A (en) Memory diagnosing system
JPH0997194A (en) Data acquisition device for fail memory
JPS6228874B2 (en)
JPH05108550A (en) Central processing unit