JPH07200364A - Real time program measuring device - Google Patents

Real time program measuring device

Info

Publication number
JPH07200364A
JPH07200364A JP6012149A JP1214994A JPH07200364A JP H07200364 A JPH07200364 A JP H07200364A JP 6012149 A JP6012149 A JP 6012149A JP 1214994 A JP1214994 A JP 1214994A JP H07200364 A JPH07200364 A JP H07200364A
Authority
JP
Japan
Prior art keywords
address
program
display
axis
executed
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
JP6012149A
Other languages
Japanese (ja)
Inventor
Kunio Yamauchi
邦夫 山内
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.)
Hitachi Denshi KK
Original Assignee
Hitachi Denshi KK
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 Hitachi Denshi KK filed Critical Hitachi Denshi KK
Priority to JP6012149A priority Critical patent/JPH07200364A/en
Publication of JPH07200364A publication Critical patent/JPH07200364A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To display an execution operating state of a program in real time and easily understandable visually by displaying an address for program execution while revising a luminance, a display width and a color or the like depending on the frequency of execution of the address when the address is displayed on an longitudinal axis of a monitor screen. CONSTITUTION:An address signal 3a is latched by an address latch 5 to be an address signal 5b and converted into an analog signal by an Y axis D/A converter 10 to be a Y axis signal 10a of a CRT display device 11 and given to the CRT display device 11. An X axis signal 9a of the CRT display device 11 is a prescribed value X0. When a program is executed, the position on the Y axis of the display screen of the CRT display device 11 corresponding to the address is lighted to recognize the address executed at present. When the program is executed at a high speed, since the luminance of display changes depending on the frequency of the address at which the program is executed, the address executed by the program at present is measured in real time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
等のプログラムの動作状態をリアルタイムに表示する測
定器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a measuring instrument for displaying the operating state of a program such as a microcomputer in real time.

【0002】[0002]

【従来の技術】マイクロコンピュータのプログラムの実
行動作を解析する測定器として、従来はプログラムトレ
ーサやロジックアナライザ等が使用されている。プログ
ラムトレーサは、マイクロコンピュータが実行したプロ
グラムをトレース用メモリに記憶しておいて、後からプ
ログラムの実行を止めてトレース用メモリの内容を読み
出して表示するもので、プログラム実行動作の解析に有
用である。また、ロジックアナライザは、そもそもディ
ジタル信号の解析を目的としているが、マイクロコンピ
ュータのアドレスバス、データバス等の信号を観測すれ
ば、プログラムの解析も可能である。
2. Description of the Related Art Conventionally, a program tracer, a logic analyzer or the like has been used as a measuring instrument for analyzing a program execution operation of a microcomputer. The program tracer stores the program executed by the microcomputer in the trace memory, stops the program execution later, and reads and displays the contents of the trace memory, which is useful for analyzing the program execution operation. is there. Further, the logic analyzer is intended to analyze digital signals in the first place, but it is also possible to analyze programs by observing signals on the address bus, data bus, etc. of the microcomputer.

【0003】[0003]

【発明が解決しようとする課題】前述の従来技術には、
リアルタイムにプログラムの動作を監視できないという
欠点がある。本発明はこれらの欠点を除去し、プログラ
ムの実行動作状態をリアルタイムに表示し、なおかつ視
覚的にわかりやすく表示することを目的とする。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
There is a drawback that the operation of the program cannot be monitored in real time. It is an object of the present invention to eliminate these drawbacks, display the execution operating state of a program in real time, and display it in a visually easy-to-understand manner.

【0004】[0004]

【課題を解決するための手段】本発明は上記の目的を達
成するため、プログラムの実行中のアドレスをモニタ画
面上の対応する縦軸位置に表示する際、そのアドレスを
実行する頻度に応じ、輝度、表示幅、色等のすくなくと
も1つを変更して表示するごとくリアルタイムプログラ
ム測定器を構成したものである。また、現在のアドレス
に対応する縦軸の表示位置から、次のアドレスに対応す
る縦軸の表示位置に表示が移動する時に、次のアドレス
値と現在のアドレス値との差に比例した量だけX軸方向
の離れた位置を経由する軌跡表示をするごとくリアルタ
イムプログラム測定器を構成したものである。さらに、
表示アドレスの一部分を拡大した表示を横軸の表示位置
を変えて表示するごとくリアルタイムプログラム測定器
を構成したものである。
In order to achieve the above object, the present invention, when displaying an address during execution of a program at a corresponding vertical axis position on a monitor screen, according to the frequency of execution of the address, The real-time program measuring instrument is configured so that at least one of the brightness, display width, color, etc. is changed and displayed. Also, when the display moves from the display position on the vertical axis corresponding to the current address to the display position on the vertical axis corresponding to the next address, only the amount proportional to the difference between the next address value and the current address value. The real-time program measuring device is configured so as to display a locus passing through positions separated in the X-axis direction. further,
A real-time program measuring instrument is configured so that a part of the display address is enlarged and displayed by changing the display position on the horizontal axis.

【0005】[0005]

【作用】その結果、プログラムが実行するアドレスの頻
度に応じて輝度、表示幅、色等が変わるので、現在プロ
グラムが実行しているアドレスをリアルタイムに測定す
ることができる。また、アドレスが+方向にジャンプす
る時にはX軸方向の右側の離れた位置を経由する軌跡を
描く表示をし、アドレスが−方向にジャンプする時には
X軸方向の左側の離れた位置を経由する軌跡を描く表示
をするために、リアルタイムにプログラムが実行してい
るフローチャートを表示することができる。さらに、プ
ログラムが実行している全体のフローチャート表示と、
一部分のアドレスを拡大したフローチャート表示との両
方を表示することができる。
As a result, the brightness, display width, color and the like change depending on the frequency of the addresses executed by the program, so that the address currently executed by the program can be measured in real time. In addition, when the address jumps in the + direction, a display is drawn that draws a path passing through the right side position in the X axis direction, and when the address jumps in the-direction, a path that passes through the left side position in the X axis direction. In order to display the drawing, it is possible to display the flow chart that the program is executing in real time. In addition, the whole flow chart display that the program is executing,
It is possible to display both a flow chart display in which a part of the address is enlarged.

【0006】[0006]

【実施例】以下、本発明の一実施例を図1から図8によ
り説明する。図1は、本発明の第1の実施例の構成を示
すブロック図である。被測定機器1は、マイクロコンピ
ュータ2及びそれを制御するプログラムが格納されてい
るROM3からなるものとする。ここで、ROM3をテ
ストクリップ等で挾むことにより、アドレス信号(A0
n)3a、チップイネーブル信号(CE)3b、アウトプ
ットイネーブル信号(OE)3cを被測定機器1から読み
出す。4は本発明のプログラム測定器で、アドレスラッ
チ5によりアドレス信号3aはラッチされてラッチされ
たアドレス信号5bとなり、Y軸D/Aコンバータ10
によりアナログ値に変換され、CRT表示器11のY軸
信号10aとなり、CRT表示器11に入力する。ここ
で、CRT表示器11のX軸信号9aは、予め定めた一
定値X0とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the first exemplary embodiment of the present invention. The device under test 1 comprises a microcomputer 2 and a ROM 3 in which a program for controlling the microcomputer 2 is stored. Here, by sandwiching the ROM 3 with a test clip or the like, the address signal (A 0 ~
The A n ) 3a, the chip enable signal (CE) 3b, and the output enable signal (OE) 3c are read from the device under test 1. Reference numeral 4 denotes the program measuring device of the present invention. The address signal 3a is latched by the address latch 5 to become the latched address signal 5b, and the Y-axis D / A converter 10
Is converted into an analog value, becomes the Y-axis signal 10a of the CRT display 11, and is input to the CRT display 11. Here, the X-axis signal 9a of the CRT display 11 is set to a predetermined constant value X 0 .

【0007】まず、図1の動作を図2により説明する。
プログラムが実行されると、そのアドレスに対応するC
RT表示器11の表示画面のY軸上の位置が光り、現在
実行中のアドレスを知ることができる。また、高速にプ
ログラムが実行する場合、プログラムが実行するアドレ
スの頻度に応じて表示の輝度が変わるので、現在プログ
ラムが実行しているアドレスをリアルタイムに測定する
ことができる。この実施例では、プログラムが実行する
アドレスの頻度に応じて輝度が変わる例であるが、表示
の幅が変化する例や、表示の色が変化する例など色々な
手段が考えられる。
First, the operation of FIG. 1 will be described with reference to FIG.
When the program is executed, the C corresponding to that address
The position on the Y-axis of the display screen of the RT display 11 illuminates, and the address currently being executed can be known. Further, when the program is executed at high speed, the display brightness changes according to the frequency of the addresses executed by the program, so that the address currently executed by the program can be measured in real time. In this embodiment, the brightness changes according to the frequency of the address executed by the program, but various means such as a change in the display width and a change in the display color can be considered.

【0008】次に、図3のブロック図、図4のタイミン
グチャートによって、本発明の第2の実施例を説明す
る。アドレスラッチ5により、アドレス信号3aがラッ
チされて、ラッチされたアドレス信号5bとなるところ
までは図1と同様である。ラッチされたアドレス信号5
bは、アドレスラッチ6でさらに位相の遅れたアドレス
ラッチ信号6aにより再度ラッチされて、位相の遅れた
ラッチされたアドレス信号6bとなる。引算器7により
アドレス信号5bからアドレス信号6bを引くと、差の
アドレス信号7aが図4のタイミングチャートに示すよ
うに生成される。その差のアドレス信号7aが遅延回路
8を通ると、遅延したアドレス信号8aとなり、X軸D
/Aコンバータ9によりX軸信号9aとなる。また、ラ
ッチされたアドレス信号6bは、Y軸D/Aコンバータ
10によりY軸信号10aとなり、CRT表示器11に
入力される。
Next, a second embodiment of the present invention will be described with reference to the block diagram of FIG. 3 and the timing chart of FIG. The address latch 5 latches the address signal 3a and becomes the latched address signal 5b, which is the same as in FIG. Latched address signal 5
The address b is re-latched by the address latch signal 6a whose phase is further delayed in the address latch 6, and becomes the latched address signal 6b which is further delayed in phase. When the subtracter 7 subtracts the address signal 6b from the address signal 5b, a difference address signal 7a is generated as shown in the timing chart of FIG. When the difference address signal 7a passes through the delay circuit 8, it becomes the delayed address signal 8a, and the X-axis D
The / A converter 9 produces the X-axis signal 9a. Further, the latched address signal 6b becomes a Y-axis signal 10a by the Y-axis D / A converter 10 and is input to the CRT display 11.

【0009】図3、図4の動作による画面表示状態を図
5により説明する。現在のアドレス値と前回のアドレス
値との差に比例して、X軸方向に離れた位置を経由する
軌跡を描く表示をするために、ジャンプ命令等によりア
ドレスが+方向にジャンプするときには、X軸の右側の
離れた位置を経由する軌跡を描き、アドレスが−方向に
ジャンプするときには、X軸の左側の離れた位置を経由
する軌跡を描き、なおかつジャンプするアドレスの差が
大きければ大きいほど、X軸から離れた軌跡を描くため
に、リアルタイムにプログラムの実行状態をフローチャ
ート表示することができる。
The screen display state by the operations of FIGS. 3 and 4 will be described with reference to FIG. When the address jumps in the + direction due to a jump command, etc., in order to display a trace passing through a position separated in the X-axis direction in proportion to the difference between the current address value and the previous address value, X When an address jumps in the-direction by drawing a locus passing through a distant position on the right side of the axis, a locus passing through a distant position on the left side of the X axis is drawn, and the greater the difference between the jumping addresses, the greater the In order to draw a locus away from the X axis, it is possible to display the execution state of the program in a flow chart in real time.

【0010】さらに、図6のブロック図、図7のブロッ
ク内の表示範囲拡大手段12の詳細ブロック図によっ
て、本発明の第3の実施例を説明する。表示範囲拡大手
段12に入力されるアドレス信号6b(AINの記号で表
わす)が、表示範囲設定係数12d(AST1,AWD1,A
ST2,AWD2,AST3,AWD3の記号で表わす)で決定され
た範囲のどの範囲に入るかによって、表示範囲拡大手段
12は3種類の出力値(X軸のジャンプ軌跡を拡大する
係数K:12a、Y軸を拡大した信号を表示するX軸方
向の位置を示す移動量XPULSE:12b、Y軸を拡大し
たアドレス信号DOUT:12C)を変更する。つまり、
次の処理を行う。 もし、AST1≦AIN<AST1+AWD1、ならば、 DOUT=(AIN−AST1)×K K=10000H/AWD1PULSE=X1 もし、AST2≦AIN<AST2+AWD2、ならば、 DOUT=(AIN−AST2)×K K=10000H/AWD2PULSE=X2 もし、AST3≦AIN<AST3+AWD3、ならば、 DOUT=(AIN−AST3)×K K=10000H/AWD3PULSE=X3
Further, a third embodiment of the present invention will be described with reference to the block diagram of FIG. 6 and the detailed block diagram of the display range expanding means 12 in the block of FIG. The address signal 6b (represented by the symbol A IN ) inputted to the display range expanding means 12 is a display range setting coefficient 12d (A ST1 , A WD1 , A).
Depending on which range of the range determined by ST2 , A WD2 , A ST3 , and A WD3 is entered, the display range enlarging means 12 causes the display range enlarging means 12 to output three kinds of output values (a coefficient K for enlarging the X-axis jump trajectory). : 12a, movement amount X PULSE : 12b indicating the position in the X-axis direction for displaying the Y-axis enlarged signal, and Y-axis enlarged address signal D OUT : 12C). That is,
The following processing is performed. If A ST1 ≦ A IN <A ST1 + A WD1 , then D OUT = (A IN −A ST1 ) × K K = 10000 H / A WD1 X PULSE = X 1 If A ST2 ≦ A IN <A ST2 + A WD2 , if D OUT = (A IN −A ST2 ) × K K = 10000H / A WD2 X PULSE = X 2 If A ST3 ≦ A IN <A ST3 + A WD3 , then D OUT = (A IN -A ST3 ) × K K = 10000H / A WD3 X PULSE = X 3

【0011】以下、図6、図7の動作による画面表示状
態を、図8により説明する。アドレス信号(AIN)6b
が、範囲1に含まれる時(0000H〜FFFFHの範
囲、但し、範囲2の5000H〜5FFFHを除く)、
X方向の位置はX1の位置に表示される。アドレス信号
(AIN)6bが、範囲2に含まれる時(5000H〜5F
FFHの範囲、但し範囲3の5C00H〜5CFFHを
除く)、X方向の位置はX2の位置に表示される。アド
レス信号(AIN)6bが、範囲3に含まれる時(5C00
H〜5CFFHの範囲)、X方向の位置はX3の位置に表
示される。これにより、プログラムの全体のフローチャ
ートから詳細なフローチャートまで同時に観測できる。
The screen display state by the operations of FIGS. 6 and 7 will be described below with reference to FIG. Address signal (A IN ) 6b
Is included in range 1 (range of 0000H to FFFFH, but excluding range 2 5000H to 5FFFH),
The position in the X direction is displayed at the position X 1 . Address signal
When (A IN ) 6b is included in range 2 (5000H to 5F)
Except range FFH, except the 5C00H~5CFFH range 3), the position of the X-direction is displayed at the position of X 2. When the address signal (A IN ) 6b is included in the range 3 (5C00
The range from H to 5 CFFH) and the position in the X direction are displayed at the position of X 3 . This makes it possible to observe the entire flow chart of the program and the detailed flow chart at the same time.

【0012】[0012]

【発明の効果】本発明によれば、リアルタイムにプログ
ラムの動作をフローチャート表示できるために、プログ
ラムが視覚的にわかりやすい。そのためプログラム解析
の効率が向上する。
According to the present invention, since the operation of the program can be displayed in a flow chart in real time, the program is easy to understand visually. Therefore, the efficiency of program analysis is improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】図1の動作を示すCRT表示画面の模式図。FIG. 2 is a schematic diagram of a CRT display screen showing the operation of FIG.

【図3】本発明の第2の実施例を示すブロック図。FIG. 3 is a block diagram showing a second embodiment of the present invention.

【図4】図3の動作を示すタイミングチャート。FIG. 4 is a timing chart showing the operation of FIG.

【図5】図3の動作を示すCRT表示画面の模式図。5 is a schematic diagram of a CRT display screen showing the operation of FIG.

【図6】本発明の第3の実施例を示すブロック図。FIG. 6 is a block diagram showing a third embodiment of the present invention.

【図7】図6の表示範囲拡大手段12の動作の説明図。7 is an explanatory diagram of an operation of the display range expanding means 12 of FIG.

【図8】図6の動作を示すCRT表示画面の模式図。FIG. 8 is a schematic view of a CRT display screen showing the operation of FIG.

【符号の説明】[Explanation of symbols]

1 被測定機器 2 マイクロコンピュータ 3 ROM(リード・オンリー・メモリ) 4 プログラム測定器 5,6 アドレスラッチ 7 引算器 8 遅延回路 9 X軸用D/Aコンバータ 10 Y軸用D/Aコンバータ 11 CRT表示器 12 表示範囲拡大手段 13 乗算器 14 加算器 15 表示範囲設定手段 1 device under test 2 microcomputer 3 ROM (read only memory) 4 program measuring device 5, 6 address latch 7 subtractor 8 delay circuit 9 X-axis D / A converter 10 Y-axis D / A converter 11 CRT Display 12 Display range expanding means 13 Multiplier 14 Adder 15 Display range setting means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの実行中のアドレスをモニタ
画面上の対応する縦軸位置に表示する際、そのアドレス
を実行する頻度に応じ、輝度、表示幅、色等のすくなく
とも1つを変更して表示することを特徴とするリアルタ
イムプログラム測定器。
1. When displaying an address during execution of a program at a corresponding vertical axis position on a monitor screen, at least one of brightness, display width, color, etc. is changed according to the frequency of executing the address. A real-time program measuring instrument characterized by displaying.
【請求項2】 請求項1において、現在のアドレスに対
応する縦軸の表示位置から、次のアドレスに対応する縦
軸の表示位置に表示が移動する時に、次のアドレス値と
現在のアドレス値との差に比例した量だけX軸方向の離
れた位置を経由する軌跡表示をすることを特徴とするリ
アルタイムプログラム測定器。
2. The next address value and the current address value according to claim 1, when the display moves from the display position on the vertical axis corresponding to the current address to the display position on the vertical axis corresponding to the next address. A real-time program measuring instrument characterized by displaying a locus passing through positions separated in the X-axis direction by an amount proportional to the difference between
【請求項3】 請求項2において、表示アドレスの一部
分を拡大した表示を横軸の表示位置を変えて表示するこ
とを特徴とするリアルタイムプログラム測定器。
3. The real-time program measuring device according to claim 2, wherein a display obtained by enlarging a part of the display address is displayed while changing the display position on the horizontal axis.
JP6012149A 1994-01-08 1994-01-08 Real time program measuring device Pending JPH07200364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6012149A JPH07200364A (en) 1994-01-08 1994-01-08 Real time program measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6012149A JPH07200364A (en) 1994-01-08 1994-01-08 Real time program measuring device

Publications (1)

Publication Number Publication Date
JPH07200364A true JPH07200364A (en) 1995-08-04

Family

ID=11797435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6012149A Pending JPH07200364A (en) 1994-01-08 1994-01-08 Real time program measuring device

Country Status (1)

Country Link
JP (1) JPH07200364A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008537222A (en) * 2005-04-15 2008-09-11 マイクロソフト コーポレーション Method and apparatus for performance analysis of software programs

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008537222A (en) * 2005-04-15 2008-09-11 マイクロソフト コーポレーション Method and apparatus for performance analysis of software programs

Similar Documents

Publication Publication Date Title
JP3342441B2 (en) Display method of measuring instrument and its control window
EP0463732A2 (en) Method and system for animating the execution of a computer program
US5892938A (en) Interactive interface system
JPH0361908B2 (en)
US5004975A (en) Adjustable electronic graticules for measuring waveform distortions
JPH07200364A (en) Real time program measuring device
US20040267470A1 (en) Systems and methods for performing multi-source measurements
US6907365B2 (en) Context sensitive toolbar
EP1640829A2 (en) Programmable controller
JPH10319050A (en) Measured data displaying method
JP3407667B2 (en) Data display method and measuring device using the same
JPS6118456Y2 (en)
JP2007171100A (en) Signal pattern creating device
JPH11326392A (en) Waveform measuring instrument
JP3246361B2 (en) Display device
JPS60241142A (en) Monitor for program running route
JPH04275643A (en) System for testing program
JP2793425B2 (en) Data processing device
JPS62175671A (en) Logic analyzer
JPH09318686A (en) Measuring instrument controller and its method
JP2005071117A (en) Method and device for displaying simulation condition setting screen, display execution program, and recording media with the program recorded thereon
JP2000147018A (en) Method for displaying menu hierarchy for oscilloscope and menu hierarchy indicating oscilloscope
JPH05313842A (en) Method and device for automatic visualization of test procedure
JPH01295173A (en) Assisting device for oscilloscope operation
JPH02247780A (en) Lsi design supporting system