JPS6020250A - Program delay tracing system - Google Patents
Program delay tracing systemInfo
- Publication number
- JPS6020250A JPS6020250A JP58128830A JP12883083A JPS6020250A JP S6020250 A JPS6020250 A JP S6020250A JP 58128830 A JP58128830 A JP 58128830A JP 12883083 A JP12883083 A JP 12883083A JP S6020250 A JPS6020250 A JP S6020250A
- Authority
- JP
- Japan
- Prior art keywords
- information
- trace
- program
- memory bus
- recording
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing 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
Description
【発明の詳細な説明】
(a) 発明の技術分野
本発明はプログラムトレース装置に係り、特に所定条件
が成立してから所定期間経過する迄、記録を禁止するプ
ログラムディレィトレース方式に関す。DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a program tracing device, and more particularly to a program delay tracing method that prohibits recording until a predetermined period of time has elapsed after a predetermined condition is met.
〜) 技術の背景
情報処理システムに使用されるプログラムを検証する為
に、該プログラムを情報処理システムの、主記憶装置に
格納して中央処理装置により実行させ、実行の際に中央
処理装置が主記憶装置との間で転送するアドレス、デー
タ或いは制御信号等の各種情報を記録するプログラムト
レース装置が使用される。~) Background of the technology In order to verify a program used in an information processing system, the program is stored in the main memory of the information processing system and executed by the central processing unit. A program trace device is used that records various information such as addresses, data, or control signals transferred to and from a storage device.
(C) 従来技術と問題点
第1図は従来あるプログラムトレース方式の一例を示す
図である。第1図において、中央処理装置1はメモリバ
ス2により主記憶装置3に接続され、メモリバス2を介
して主記憶装置3にアドレス或いは制御信号を送り、格
納されているプログラム或いはデータを順次抽出して実
行し、実行結。(C) Prior Art and Problems FIG. 1 is a diagram showing an example of a conventional program tracing method. In FIG. 1, a central processing unit 1 is connected to a main storage device 3 via a memory bus 2, and sends addresses or control signals to the main storage device 3 via the memory bus 2 to sequentially extract stored programs or data. Then execute and execute.
果をメモリバス2を介して主記憶装置3に格納する。メ
モリバス2にはプログラムトレース装置4が接続されて
いる。プログラムトレース装置4は、メモリバス2を介
して伝達される各種情報を蓄積するバッファレジスタ4
1と、該情報が特定アドレス領域内か否か、或いは書込
み・読出し等の特定の制御条件に合致するか否か等の所
定のトレース条件の成立を判定するトレース条件判定回
路42と、トレース条件判定回路42から条件成立を通
知された場合にバッファレジスタ41に蓄積されている
情報をプログラムトレース用メモリ44に記録するトレ
ースメモリ制御回路43とを具備している。今トレース
条件判定回路42の判定するトレース条件として、中央
処理装置1が主記憶装置3のアドレスXにアクセスした
後、アドレスAにアクセスする場合にメモリバス2を介
して伝達される情報をプログラムトレース装置4に記録
させるものとする。トレース条件判定回路42はメモリ
バス2を介して順次伝達される情報を解析し、アドレス
Xが検出されると第一条件成立信号S1をトレースメモ
リ制御回路43に伝達する。The results are stored in the main storage device 3 via the memory bus 2. A program trace device 4 is connected to the memory bus 2 . The program trace device 4 includes a buffer register 4 that stores various information transmitted via the memory bus 2.
1, a trace condition determination circuit 42 that determines whether a predetermined trace condition is met, such as whether or not the information is within a specific address area, or whether or not it matches a specific control condition such as writing/reading; It is provided with a trace memory control circuit 43 that records information stored in the buffer register 41 in the program trace memory 44 when notified from the determination circuit 42 that the condition is satisfied. As the trace condition currently determined by the trace condition determination circuit 42, the program traces the information transmitted via the memory bus 2 when the central processing unit 1 accesses the address A after accessing the address X of the main storage device 3. It is assumed that the device 4 records the information. The trace condition determination circuit 42 analyzes information sequentially transmitted via the memory bus 2, and transmits a first condition fulfillment signal S1 to the trace memory control circuit 43 when address X is detected.
続いてトレース条件判定回路42はメモリバス2を介し
て順次伝達される情報を解析し、アドレスAが検出され
ると第二条件成立信号s2をトレースメモリ制御回路4
3に伝達する。トレースメモリ制御回路43は第一条件
成立信号S1を伝達された後、第二条件成立信号S2が
伝達される度に、バッファレジスタ41に蓄積される情
報をプログラムトレース用メモリ44に記録する。Subsequently, the trace condition determination circuit 42 analyzes the information sequentially transmitted via the memory bus 2, and when address A is detected, the trace condition determination circuit 42 transmits the second condition fulfillment signal s2 to the trace memory control circuit 4.
3. The trace memory control circuit 43 records the information stored in the buffer register 41 in the program trace memory 44 every time the second condition fulfillment signal S2 is transmitted after the first condition fulfillment signal S1 is transmitted.
以上の説明から明らかな如く、従来あるプログラムディ
レィトレース方式においては、トレース条件判定回路4
2がメモリバス2を介して伝達される情報からアドレス
Xを検出した後、アドレスAが検出される総ての情報が
記録される。然し状況によっては、アドレスXが検出さ
れた時点から所定期間経過した後にアドレスAが検出さ
れる情報の記録が必要な場合があるが、従来あるプログ
ラムトレース装置4においては、前記所定期間が経過す
る迄記録を禁止することは不可能であり、その間無効情
報を多数記録せざるを得ない欠点があった。As is clear from the above explanation, in the conventional program delay trace method, the trace condition determination circuit 4
2 detects the address X from the information transmitted via the memory bus 2, all the information for which the address A is detected is recorded. However, depending on the situation, it may be necessary to record information such that address A is detected after a predetermined period of time has elapsed from the time when address X was detected. It is impossible to prohibit recording until then, and there is a drawback that a large amount of invalid information must be recorded during that time.
(dl 発明の目的
本発明の目的は、前述の如き従来あるプログラムトレー
ス方式の欠点を除去し、所要期間が経過する迄の無効情
報の記録を禁止する手段を実現することに在る。(dl) OBJECT OF THE INVENTION The object of the present invention is to eliminate the drawbacks of the conventional program tracing method as described above and to realize a means for prohibiting recording of invalid information until a required period has elapsed.
(Q) 発明の構成
この目的は、中央処理装置が主記憶装置との間でメモリ
バスを介して転送する情報を記録するプログラムトレー
ス装置において、前記メモリバスを介して伝達される前
記情報を解析するトレース条件判定回路と所定期間の経
過を計測する時限回路とを設け、前記トレース条件判定
回路が前記解析の結果所定条件の成立を検出して前記時
限回路を起動し、該時限回路が前記所定期間の経過を検
出する迄、前記情報の記録を禁止することにより達成さ
れる。(Q) Structure of the Invention This object is to analyze the information transmitted via the memory bus in a program tracing device that records information transferred between a central processing unit and a main storage device via a memory bus. A trace condition determining circuit is provided to measure the passage of a predetermined period of time, and a time limit circuit is provided to measure the passage of a predetermined period of time. This is accomplished by prohibiting the recording of the information until the lapse of a period is detected.
(f) 発明の実施例 以下、本発明の一実施例を図面により説明する。(f) Examples of the invention An embodiment of the present invention will be described below with reference to the drawings.
第2図は本発明の一実施例によるプログラムディレィト
レース方式を示す図であり、第3図は第2図における記
録過程を示す図である。第2図においては、プログラム
トレース装置41内に所定期間Tの経過を計測する時限
回路45が設けられている。第2図および第3図におい
て、中央処理装置1がメモリバス2を介して主記憶装置
3との間で転送する前記各種情報は、バッファレジスタ
41に順次蓄積されると共に、トレース条件判定回路4
2に伝達される。トレース条件判定回路42はメモリバ
ス2を介して順次伝達される情報を解析し、時点t1に
アドレスXが検出されると第一条件成立信号S1を時限
回路45に伝達する。第一条件成立信号slを伝達され
た時限回路45は計時を開始し、所定期間T経過したこ
とを検出した時点t2に第一条件成立信号slをトレー
スメモリ制御回路43に伝達する。時点t1以後トレー
ス条件判定回路42はメモリバス2を介して順次伝達さ
れる情報を解析し、アドレスAが検出されるとトレース
メモリ制御回路43に第二条件成立信号S2を伝達する
が、トレースメモリ制御回路43は時限回路45から第
一条件成立信号slを伝達されぬ限り、プログラムトレ
ース用メモリ44に対する情報の記録は行わない。トレ
ースメモリ制御回路43は時点t2に第一条件成立信号
slを伝達されると、以後トレース条件判定回路42か
ら第二条件成立信号S2を伝達される度に、バッファレ
ジスタ41に蓄積されている情報をプログラムトレース
用メモリ44に格納する。FIG. 2 is a diagram showing a program delay tracing method according to an embodiment of the present invention, and FIG. 3 is a diagram showing the recording process in FIG. 2. In FIG. 2, a time limit circuit 45 for measuring the passage of a predetermined period T is provided in a program tracing device 41. In FIGS. 2 and 3, the various types of information transferred between the central processing unit 1 and the main storage device 3 via the memory bus 2 are sequentially stored in a buffer register 41, and are also stored in a trace condition determination circuit 4.
2. The trace condition determination circuit 42 analyzes information sequentially transmitted via the memory bus 2, and transmits a first condition fulfillment signal S1 to the time limit circuit 45 when address X is detected at time t1. The timer circuit 45, which has received the first condition fulfillment signal sl, starts counting time and transmits the first condition fulfillment signal sl to the trace memory control circuit 43 at time t2 when it detects that the predetermined period T has elapsed. After time t1, the trace condition determination circuit 42 analyzes the information sequentially transmitted via the memory bus 2, and when address A is detected, transmits the second condition fulfillment signal S2 to the trace memory control circuit 43. The control circuit 43 does not record information in the program trace memory 44 unless the first condition fulfillment signal sl is transmitted from the time limit circuit 45. When the trace memory control circuit 43 receives the first condition fulfillment signal sl at time t2, the trace memory control circuit 43 updates the information stored in the buffer register 41 every time it receives the second condition fulfillment signal S2 from the trace condition determination circuit 42. is stored in the program trace memory 44.
以上の説明から明らかな如く、本実施例によれば、プロ
グラムトレース装置4′はトレース条件判定回路42が
メモリバス2を介して伝達される情報からアドレスXを
検出した時点t1から所定期間T経過する時点t2迄は
情報の記録を禁止する為、無効情報がプログラムトレー
ス用メモリ44に記録されることが防止される。As is clear from the above description, according to the present embodiment, the program trace device 4' performs a predetermined period T after the time t1 when the trace condition determination circuit 42 detects the address X from the information transmitted via the memory bus 2. Since recording of information is prohibited until time t2, invalid information is prevented from being recorded in the program trace memory 44.
なお、第2図および第3図はあく迄本発明の一実施例に
過ぎず、例えばトレース条件判定回路42に付与される
トレース条件は例示されるものに限定されることは無く
、所定期間T経過後はバッファレジスタ41に蓄積され
る情報を無条件に記録する等地に幾多の変形が考慮され
るが、何れの場合にも本発明の効果は変らない。またプ
ログラムトレース装置4゛の構成は図示されるものに限
定されることは無く、他に幾多の変形が考慮されるが、
何れの場合にも本発明の効果は変らない。Note that FIGS. 2 and 3 are only one embodiment of the present invention, and for example, the trace conditions given to the trace condition determination circuit 42 are not limited to those exemplified; Many modifications may be considered, such as recording the information stored in the buffer register 41 unconditionally after the lapse of time, but the effects of the present invention remain the same in any case. Furthermore, the configuration of the program tracing device 4' is not limited to that shown in the figure, and many other modifications may be considered.
In either case, the effects of the present invention remain the same.
tg> 発明の効果
以上、本発明によれば、前記プログラムトレース装置に
おいて、所要期間経過する迄無効情報の記録が禁止され
、プログラムトレース装置の経済化並びに記録情報の有
効性が向上する。tg> Effects of the Invention As described above, according to the present invention, in the program tracing device, recording of invalid information is prohibited until a required period of time has elapsed, making the program tracing device economical and improving the effectiveness of recorded information.
第1図は従来あるプログラム1−レース方式の一例を示
す図、第2図は本発明の一実施例によるプログラムディ
レィトレース方式を示す図、第3図は第2図における記
録過程を示す図である。
図において、1は中央処理装置、2はメモリバス、3は
主記憶装置、4および4°はプログラムトレース装置、
41はバッファレジスタ、42ばトレース条件判定回路
、43はトレースメモリ制御回路、44はプログラムト
レース用メモリ、45は時限回路、を示ず。
不 2 図
早 う 図FIG. 1 is a diagram showing an example of a conventional program 1-race method, FIG. 2 is a diagram showing a program delay trace method according to an embodiment of the present invention, and FIG. 3 is a diagram showing the recording process in FIG. be. In the figure, 1 is a central processing unit, 2 is a memory bus, 3 is a main memory, 4 and 4° are program trace devices,
41 is a buffer register, 42 is a trace condition determination circuit, 43 is a trace memory control circuit, 44 is a program trace memory, and 45 is a time limit circuit. Figure 2 Quick diagram
Claims (1)
転送する情報を記録するプログラムトレース装置におい
て、前記メモリバスを介して伝達される前記情報を解析
するトレース条件判定回路と、所定期間の経過を計測す
る時限回路とを設け、前記トレース条件判定回路が前記
解析の結果所定条件の成立を検出して前記時限回路を起
動し、該時限回路が前記所定期間の経過を検出する迄、
前記情報の記録を禁止することを特徴とするプログラム
ディレィトレース方式。In a program tracing device that records information transferred between a central processing unit and a main storage device via a memory bus, a trace condition determination circuit that analyzes the information transferred via the memory bus; a time limit circuit for measuring the elapsed time; the trace condition determining circuit detects the establishment of a predetermined condition as a result of the analysis and activates the time limit circuit until the time limit circuit detects the elapse of the predetermined period;
A program delay trace method characterized in that recording of the information is prohibited.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58128830A JPS6020250A (en) | 1983-07-15 | 1983-07-15 | Program delay tracing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58128830A JPS6020250A (en) | 1983-07-15 | 1983-07-15 | Program delay tracing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6020250A true JPS6020250A (en) | 1985-02-01 |
Family
ID=14994456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58128830A Pending JPS6020250A (en) | 1983-07-15 | 1983-07-15 | Program delay tracing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6020250A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6454547A (en) * | 1987-08-25 | 1989-03-02 | Nec Corp | Information processor with program trace function |
JP2002065878A (en) * | 2000-08-24 | 2002-03-05 | Inoac Corp | String for mask |
-
1983
- 1983-07-15 JP JP58128830A patent/JPS6020250A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6454547A (en) * | 1987-08-25 | 1989-03-02 | Nec Corp | Information processor with program trace function |
JP2002065878A (en) * | 2000-08-24 | 2002-03-05 | Inoac Corp | String for mask |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4423508A (en) | Logic tracing apparatus | |
JPS6020250A (en) | Program delay tracing system | |
JPH06187256A (en) | Bus trace mechanism | |
JP2940000B2 (en) | Single chip microcomputer | |
JP2628588B2 (en) | DRAM refresh circuit | |
KR900019014A (en) | Data recording method of semiconductor memory and device therefor | |
JPS63163934A (en) | Bus trace system | |
JPS6073756A (en) | Program tracer | |
SU1566361A1 (en) | Device for data exchange between processors | |
JP3190694B2 (en) | Diagnostic method for local memory | |
SU1596333A1 (en) | Device for detecting errors in data transfer | |
JPH0217552A (en) | Performance data measuring system | |
JPS626270B2 (en) | ||
JPH0553929A (en) | Central processing unit with fault information preserving function | |
JPH04242455A (en) | Inter-processor communication trace circuit | |
JPH04180136A (en) | Hardware tracer control circuit | |
JPS59178553A (en) | Debugging system | |
JPH04287242A (en) | History information storage device | |
JPH0512121A (en) | Data processor | |
JPS61112267A (en) | Input and output adaptor | |
JPH0322060A (en) | Memory error detection control system | |
JPH0479022B2 (en) | ||
JPS605534U (en) | program analyzer | |
JPH0386451U (en) | ||
JPH0213866B2 (en) |