JPS59178553A - Debugging system - Google Patents

Debugging system

Info

Publication number
JPS59178553A
JPS59178553A JP58054246A JP5424683A JPS59178553A JP S59178553 A JPS59178553 A JP S59178553A JP 58054246 A JP58054246 A JP 58054246A JP 5424683 A JP5424683 A JP 5424683A JP S59178553 A JPS59178553 A JP S59178553A
Authority
JP
Japan
Prior art keywords
data
circuit
flag
read
data processing
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
JP58054246A
Other languages
Japanese (ja)
Inventor
Terutaka Tateishi
立石 輝隆
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 JP58054246A priority Critical patent/JPS59178553A/en
Publication of JPS59178553A publication Critical patent/JPS59178553A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To stop a data processing device only by detecting that read out flag is a specified pattern by writing a specified pattern corresponding to address in a flag section provided in a memory. CONSTITUTION:When reading data, address AD and read request signal RRQ are sent from an originator of the request. Data are read out from a data section MD 11, set to a register RDR 91 and sent to the originator of request as read data RD through an AND circuit 111. At this time, data are read out from a flag section MF 12 and set to a flag register RFR 62. A detecting circuit 112 checks whether the value is a specified pattern or not. If it is a specified pattern, a stop signal S1 is made on. Then, stop condition EF 13 is set through an AND circuit 121. While EF 13 is on, clock signal of a clock generating circuit 16 is stopped by an NOT circuit 14 and an AND circuit 15, and the system stops.

Description

【発明の詳細な説明】 (al  発明の技術分野 本発明はデータ処理装置のデバッグ方式に係り、特に任
意のアドレスのデータを読み出したことにより、データ
処理装置の動作を停止させることを可能としたデバッグ
方式に関する。
[Detailed Description of the Invention] (Al Technical Field of the Invention The present invention relates to a debugging method for a data processing device, and in particular, it is possible to stop the operation of the data processing device by reading data at an arbitrary address. Regarding debugging methods.

(b)技術の背景 近年のデータ処理装置の大規模化、高集積化に伴って、
データ処理装置の障害時の試験1診断のためのデバッグ
方法、特によく使われているアドレスストップ機能につ
いて、障害解析に必要なデータの保存機能を考慮して高
度化することが望まれている。
(b) Technical background As data processing devices have become larger and more highly integrated in recent years,
It is desired that the debugging method for Test 1 diagnosis in the event of a failure in a data processing device, especially the commonly used address stop function, be improved in consideration of the data storage function necessary for failure analysis.

(C1従来技術と問題点 従来、記憶装置よりデータを読み出したことにより、デ
ータ処理装置を停止させる方法として、アトレスストッ
プ方式がある。この時のアドレスとしてはオペランドア
ドレスと命令アドレスがあり、いづれの場合でもアドレ
スストップをかけた命令の実行が終了した時点で、デー
タ処理装置を停止させる方式である。
(C1 Prior Art and Problems Conventionally, there is an address stop method as a method for stopping a data processing device by reading data from a storage device.The addresses at this time include an operand address and an instruction address. Even in this case, the data processing device is stopped when the execution of the instruction that caused the address stop is completed.

この方式では、読み出したデータがハードウェアの障害
或いはプログラムミス等によりデータ変化を起こしてい
ても、該データが処理されてしまってから停止する為、
該データがどのようなデータであったかの判別が出来な
い問題があった。
With this method, even if the read data has changed due to a hardware failure or a program error, it will stop after the data has been processed.
There was a problem in that it was not possible to determine what kind of data the data was.

この欠点を補う方法として、読み出したデータそのもの
を一致検出して、即データ処理装置を停止させる方法が
あるが、この方法でも読み出しデータのデータ中が、例
えば8バイトと言った大きなデータ処理装置では、オペ
ランドデータと一致をとるためのデータレジスタや照合
回路が8バイト分必要となり、ハードウェア漬の増加と
が、照合回路の論理段数も増えて、その論理遅延にょっ
7iデータ処理装置のマシンサイクルの間に、一致出力
を得てデータ処理装置を停止させる事が不可能になる可
能性があるという欠点がある。
One way to compensate for this drawback is to detect a match between the read data itself and immediately stop the data processing device. However, even with this method, if the data in the read data is large, such as 8 bytes, , 8 bytes of data registers and collation circuits are required to match the operand data, which increases hardware consumption, increases the number of logic stages in the collation circuits, and increases the logic delay due to the machine cycles of the 7i data processing equipment. The disadvantage is that it may be impossible to obtain a coincident output and stop the data processing device during this period.

(dl  発明の目的 本発明は上記従来の欠点に鑑み、データ処理装置のマシ
ンサイクルの間で、且つ読み出したデータが処理される
前に、データ処理装置を停止させる方法を提供すること
を目的とするものである。
(dl) Purpose of the Invention In view of the above-mentioned conventional drawbacks, an object of the present invention is to provide a method for stopping a data processing device between machine cycles of the data processing device and before read data is processed. It is something to do.

fel  発明の構成 そしてこの目的は、本発明によれば記憶装置と、それを
アクセスするデータ処理装置又は制御装置を有するデー
タ処理システムにおいて、該データ処理装置又は制御装
置には外部装置から任意の値が設定可能なアドレスレジ
スタを設け、該アドレスレジスタの出力と前記記憶装置
へのアクセスアドレスとの一致検出回路と、書込みデー
タとして本来のデータとは別に1ないし複数ピントのフ
ラグビットと、前記一致検出回路の一致出方により、前
記フラグピントを特定のデータパターンに設定し得る回
路と、前記記憶装置から読み出したデータの内の前記フ
ラグビットの部分が特定のデータパターンであることを
検出した時、該データ処理装置又は制御装置の動作を停
止させる機能を具備することによって達成される。
According to the present invention, the present invention provides a data processing system having a storage device and a data processing device or control device that accesses the storage device. an address register that can be set, a match detection circuit between the output of the address register and the access address to the storage device, a flag bit of one or more pins as write data in addition to the original data, and a match detection circuit for detecting the match. A circuit that can set the flag focus to a specific data pattern depending on how the circuit matches, and a circuit that detects that the flag bit part of the data read from the storage device is a specific data pattern; This is achieved by providing a function to stop the operation of the data processing device or control device.

if)  発明の実施例 以下本発明を図面によって詳述する。図に本発明の1実
施例を示す。
if) Examples of the Invention The present invention will be explained in detail below with reference to the drawings. The figure shows one embodiment of the present invention.

通常、記憶装置にデータを書き込む時は書き込みデータ
(同)とアドレス(AD)と書き込み要求信号(Wil
l )を書き込み要求元であるデータ処理装置(図示せ
ず)から送ってくる。書き込みデータ(−D)は書き込
みデータレジスタ(WDR) 21にセットし、アドレ
ス(八D)はアドレスレジスタ(ΔDR) 3にセット
し、書き込み要求信号(WRQ )を受は取った書き込
み制御回路(WE GEN) 4は書き込みパルス(W
E)を所定のタイミングに発生して、記憶装置のデータ
部(MD) 11に書き込む。
Normally, when writing data to a storage device, write data (same), address (AD), and write request signal (Will) are used.
l) is sent from the data processing device (not shown) that is the source of the write request. The write data (-D) is set in the write data register (WDR) 21, the address (8D) is set in the address register (ΔDR) 3, and the write control circuit (WE) receives the write request signal (WRQ). GEN) 4 is the write pulse (W
E) is generated at a predetermined timing and written to the data section (MD) 11 of the storage device.

この動作において、比較アドレスレジスタ(cAR) 
51(7)有効表示子(CAV ) 52がオフ (=
0 ) T:あれば論理積回路(A4) 6の出力であ
るフラグ設定信号(FS)はオフとなり、これによって
特定フラグパターン発生回路(Gl) 7の出力である
フラグデータ(FD)は無効パターン(例えば、全″0
”)データとなり、これが書き込みフラグレジスタ(W
FR) 22にセントされ、前述の書き込みパルス(I
QE)により記憶装置のフラグ部(MP) 12に書き
込まれる。
In this operation, the comparison address register (cAR)
51 (7) Valid indicator (CAV) 52 is off (=
0) T: If present, the flag setting signal (FS) that is the output of the AND circuit (A4) 6 is turned off, and thereby the flag data (FD) that is the output of the specific flag pattern generation circuit (Gl) 7 is an invalid pattern. (For example, all "0"
”) data, and this is the write flag register (W
FR) 22 and the aforementioned write pulse (I
QE) is written to the flag section (MP) 12 of the storage device.

又、この動作において、比較アドレス(CAD )が外
部装置から何らかの手段〔例えばデータ処理装置の操作
パネルにあるデータキーによる手段。
In addition, in this operation, the comparison address (CAD) is transmitted from an external device by some means (for example, by means of a data key on the operation panel of the data processing device).

又はザービスプロセンサー(図示せず)からのレジスタ
設定コマンドによる手段等が考えられる〕で比較アドレ
スレジスタ(CAR) 51に予め設定され、その時有
効表示設定信号(CAS )により有効表示子(CAV
 ) 52がオン(=1)になっていると、その後書き
込み要求信号(WRQ )と共に送られてきたアドレス
(AD)は比較アドレスレジスタ(CAR)51の値と
比較回路(CI) 8で比較され、一致した時論理積回
路(A4) 6の出力であるフラグ設定信号(FS)は
オンとなり、特定フラグパターン発生回路(Gl) 7
の出力であるフラグデータ(FD ’)は特定パターン
(例えば、全“1”)データとなり、これが書き込みフ
ラグレジスタ(WFR)22にセントされ、前述の書き
込みパルス(WE)により記憶装置のフラグ部(MF)
 12に書き込まれる。
or a register setting command from a service processor (not shown)] is set in advance in the comparison address register (CAR) 51, and at that time, the valid indicator (CAV
) 52 is on (=1), the address (AD) sent with the write request signal (WRQ) is compared with the value of the comparison address register (CAR) 51 by the comparison circuit (CI) 8. , when they match, the flag setting signal (FS) which is the output of the AND circuit (A4) 6 turns on, and the specific flag pattern generating circuit (Gl) 7
The flag data (FD'), which is the output of MF)
Written in 12.

又、通常記憶装置からデータを読み出す時は、アドレス
(AD)と読み出し要求信号(RRQ )が読み出し要
求元であるデータ処理装置から送られててる。アドレス
(八D)はアドレスレジスタ(八DR)3に設定し、記
憶装置のデータ部(MD) 11から読み出されたデー
タは読み出しデータレジスタ(RDI? )旧に設定さ
れ、記憶装置のフラグ部(MF)12から読み出された
データは読み出しフラグレジスタ(RF’R) 92に
設定される。
Further, when reading data from a normal storage device, an address (AD) and a read request signal (RRQ) are sent from the data processing device that is the source of the read request. The address (8D) is set in the address register (8DR) 3, and the data read from the data section (MD) 11 of the storage device is set in the read data register (RDI?) old, and the data read from the data section (MD) 11 of the storage device is set in the flag section of the storage device. The data read from the (MF) 12 is set in the read flag register (RF'R) 92.

読み出し要求信号(1?RQ )を受は取った読み出し
制御回路(R5GEN) 10は読み出しストローブ信
号(1?s)を所定のタイミングで発生し、このストロ
ーブ信号(R5)がオンということにより読み出しデー
タレジスタ(RDR) 91の値を論理積回路(AI)
 111を介して読み出しデータ(Il+))として要
求元であるデータ処理装置へ送出する。
A read control circuit (R5GEN) 10 which receives the read request signal (1?RQ) generates a read strobe signal (1?s) at a predetermined timing, and when this strobe signal (R5) is on, the read data is Register (RDR) The value of 91 is ANDed by the AND circuit (AI)
111 as read data (Il+)) to the requesting data processing device.

この時、読み出しフラグレジスタ(RFP )92の値
は特定パターンデータ検出回路(C2) 112で特定
パターンであるかどうかがチェックされ、無効データパ
ターンであった時には特定パターンデータ検出回路(C
2) 112の出力であるストップ条件信号(Sl)は
オフであるが、特定パターンであった時にはストップ条
件信号(sl)はオンとなり論理積回路(A2) 12
1を通って、クロックストップ条件フリップフロップ(
FFI ) 13がセ・ノドされる。
At this time, the value of the read flag register (RFP) 92 is checked by the specific pattern data detection circuit (C2) 112 to see if it is a specific pattern, and if it is an invalid data pattern, the specific pattern data detection circuit (C
2) The stop condition signal (Sl) which is the output of 112 is off, but when it is a specific pattern, the stop condition signal (sl) is turned on and the AND circuit (A2) 12
1 through the clock stop condition flip-flop (
FFI) 13 is struck.

このクロックストップ条件フリップフロップ(FF1)
13はセント、リセットタイプのフリップフロップであ
り、一旦セント信号によりセットされるとリセット信号
(RESET )がこない限りリセットされないように
なっている。
This clock stop condition flip-flop (FF1)
Reference numeral 13 denotes a cent/reset type flip-flop which, once set by the cent signal, will not be reset unless a reset signal (RESET) is received.

このクロックストップ条件フリップフロップ(FFI 
) 13がオンの間、否定回路(Nl) 14及び論理
積回路(A3) 15により、クロック発生回路(G2
)の出力であるシステム各部へのクロック信号(cLK
)は出なくなりシステムは停止する。
This clock stop condition flip-flop (FFI)
) 13 is on, the clock generation circuit (G2) is
) is the output of the clock signal (cLK) to each part of the system.
) will no longer appear and the system will stop.

(gl  発明の効果 以上詳細に説明したように、本発明によればデータ処理
システムの記憶装置内に設6)られたフラグ部に、予め
アドレス対応に特定パターンを書き込んでおくことによ
り、データ処理装置が前記記憶装置をアクセスした時、
そのアドレスに対応したフラグを読み出し、前記特定パ
ターンであることを検出するだけで、直ちに該デ〜り処
理装置を停止させることができ、該アクセスした記憶装
置のデータが処理されることを防止でき、データ処理装
置の障害解析を容易にする効果がある。
(gl Effects of the Invention As explained in detail above, according to the present invention, data processing is possible by writing a specific pattern in advance in correspondence with an address in a flag section provided in a storage device of a data processing system. When a device accesses the storage device,
By simply reading the flag corresponding to that address and detecting that it is the specific pattern, it is possible to immediately stop the data processing device and prevent the data in the accessed storage device from being processed. This has the effect of facilitating failure analysis of data processing equipment.

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

図は本発明の1実施例を示す図である。図において 51−−−−−一比較アドレスレジスタ(CAR)52
−−−−−一有効表示子(CAV )8−−−−−一比
較回路(C1) 7−−−−−−−特定フラグパターン発生回路(G1)
21−−−−一書き込みデータレジスタ(會Dl? )
22−−−−書き込みフラグレジスタ(WI’R)11
−−−−−−データ部(MD) 12=−・−フラグ部(MF) 91−−−一読み出しデータレジスタ(RDR)92−
−−−−読み出しフラグレジスタ(RFP )4−・−
書き込み制御回路(匈E GEN)3−−−−−−アド
レスレジスタ(八DR)112−特定パターンデータ検
出回路(C2)10−−−−−−−読み出し制御回路(
R3GEN)13−−−−−クロックストップ条件フリ
ップフロップ(FFI ) 16−−−−−−クロ・7り発生回路(G2)嬰E−−
−−−−−書き込みパルス FS−−−−−−フラグ設定信号 FD−−−−−−−フラグデータ S L−−−−−−ストップ条件信号 R5−−−−−−−読み出しストローブ信号である。 −占:牟愁1
The figure shows one embodiment of the present invention. In the figure, 51--1 comparison address register (CAR) 52
-------One valid indicator (CAV) 8---One comparison circuit (C1) 7---Specific flag pattern generation circuit (G1)
21----1 write data register (Dl?)
22---Write flag register (WI'R) 11
---Data section (MD) 12=--Flag section (MF) 91--1 Read data register (RDR) 92-
---Read flag register (RFP) 4--
Write control circuit (E GEN) 3 --- Address register (8DR) 112 -- Specific pattern data detection circuit (C2) 10 --- Read control circuit (
R3GEN) 13-----Clock stop condition flip-flop (FFI) 16-----Clock/7-digit generation circuit (G2) E--
--------Write pulse FS---------Flag setting signal FD------------Flag data S L---------Stop condition signal R5---Read strobe signal be. -Divination: Musu 1

Claims (1)

【特許請求の範囲】[Claims] 記憶装置と、それをアクセスするデータ処理装置又は制
御装置を有するデータ処理システムにおいて、該データ
処理装置又は制御装置には外部装置から任意の値が設定
可能なアドレスレジスタを設け、該アドレスレジスタの
出力と前記記憶装置へのアクセスアドレスとの一致検出
回路と、書込みデータとして本来のデータとは別に1な
いし複数ピントのフラグビットと、前記一致検出回路の
一致出力により、前記フラグビットを特定のデータパタ
ーンに設定し得る回路と、前記記憶装置から読み出した
データの内の前記フラグビットの部分が特定のデータパ
ターンであることを検出した時、該データ処理装置又は
制御装置の動作を停止させる機能を具備したことを特徴
とするデバッグ方式。
In a data processing system that includes a storage device and a data processing device or control device that accesses the storage device, the data processing device or control device is provided with an address register that can be set with an arbitrary value from an external device, and the output of the address register is and the access address to the storage device, one or more flag bits in addition to the original data as write data, and a coincidence output from the coincidence detection circuit to detect the flag bits in a specific data pattern. and a function to stop the operation of the data processing device or control device when it is detected that the flag bit part of the data read from the storage device is a specific data pattern. A debugging method that is characterized by:
JP58054246A 1983-03-30 1983-03-30 Debugging system Pending JPS59178553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58054246A JPS59178553A (en) 1983-03-30 1983-03-30 Debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58054246A JPS59178553A (en) 1983-03-30 1983-03-30 Debugging system

Publications (1)

Publication Number Publication Date
JPS59178553A true JPS59178553A (en) 1984-10-09

Family

ID=12965179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58054246A Pending JPS59178553A (en) 1983-03-30 1983-03-30 Debugging system

Country Status (1)

Country Link
JP (1) JPS59178553A (en)

Similar Documents

Publication Publication Date Title
US5996034A (en) Bus bridge verification system including device independent bus monitors
EP3588309A2 (en) Semiconductor device, control system, and control method of semiconductor device
JPH10283274A (en) Method and device for testing memory
JP3343998B2 (en) Control device
US5938777A (en) Cycle list based bus cycle resolution checking in a bus bridge verification system
JP3202700B2 (en) Signal processing device
JP3500662B2 (en) Control device
US5751641A (en) Microprocessor memory test circuit and method
US6260132B1 (en) Method and apparatus for secure address re-mapping
JPS59178553A (en) Debugging system
JPS6146864B2 (en)
JP2000132431A (en) Signal processor
JP2000099370A (en) Signal processor
JP2587468B2 (en) Lock data setting device
JPH0612342A (en) Fault detecting method for ram
JP3067408B2 (en) Diagnosis method of memory access control device
JP2534314B2 (en) Semiconductor integrated circuit
JPS59112494A (en) Memory testing system
JP2001290551A (en) Controller
JPS6346460B2 (en)
JP3190694B2 (en) Diagnostic method for local memory
JPS6236578B2 (en)
JPH02105241A (en) Memory fault detection circuit
JPH04330549A (en) Controller
JPS60225941A (en) Microprogram control device