JPH05134901A - Analyzer - Google Patents

Analyzer

Info

Publication number
JPH05134901A
JPH05134901A JP3294157A JP29415791A JPH05134901A JP H05134901 A JPH05134901 A JP H05134901A JP 3294157 A JP3294157 A JP 3294157A JP 29415791 A JP29415791 A JP 29415791A JP H05134901 A JPH05134901 A JP H05134901A
Authority
JP
Japan
Prior art keywords
signal
data
address
output
counter
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
JP3294157A
Other languages
Japanese (ja)
Inventor
Yuichi Watanabe
祐一 渡辺
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3294157A priority Critical patent/JPH05134901A/en
Publication of JPH05134901A publication Critical patent/JPH05134901A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To debug the hardware and the software in a short time by displaying externally the using frequency of the address where the optional data is set in a processing mode of a device and also the using frequency of the data regardless of the operation of the device. CONSTITUTION:When a power supply is applied to a device containing an analyzer, a BSRST signal 17 is outputted. Then a counter 16 is reset and a display device 10a shows 0. Under such conditions, the desired data to be monitored are set at a data setting part 7. When the device starts its processing, an address signal 5 is outputted together with a data signal 6 and a WTC signal 13. A comparator 8 outputs an EQ signet 14 when the set data are coincident with the signal 5. At the same time, the signal 13 is outputted from the device together with a TC signal 15. A register 9 latches the signal 15 with output of the signal, 15, and the counter 16 adds 1 to the display data. The display devices 10a and 10b show the outputs of the register 9 and the counter 16 to the outside.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は装着した装置の制御装置
より、制御信号、アドレス信号、データ信号を受信する
事により、装着した装置の動作中の任意に設定したデー
タに対するアドレス及び使用回数を装着した装置の動作
に関係なく外部に表示できる解析器に関する物である。
BACKGROUND OF THE INVENTION The present invention receives the control signal, address signal and data signal from the control device of the mounted device to determine the address and the number of times of use for the arbitrarily set data during the operation of the mounted device. It relates to an analyzer that can be displayed externally regardless of the operation of the attached device.

【0002】[0002]

【従来の技術】図2は、解析器のない従来の装置を示す
構成図である。図において、1はある所定の記憶装置に
格納されている命令を実行する際、制御信号でアドレス
信号とデータ信号を入出力する中央演算処理部、2は中
央演算処理部の出力する制御信号に基づき指定された外
部機器とデータのやりとりを行う外部入出力部、3は中
央演算処理部の出力する制御信号に基づき指定されたア
ドレスに所定のデータを格納したり指定されたアドレス
のデータを出力する記憶装置部、4は各装置を制御する
制御信号、5はアドレスデータを示すアドレス信号、6
は転送データを送るデータ信号である。
2. Description of the Related Art FIG. 2 is a block diagram showing a conventional apparatus without an analyzer. In the figure, 1 is a central processing unit that inputs / outputs an address signal and a data signal by a control signal when executing an instruction stored in a predetermined storage device, and 2 is a control signal output from the central processing unit. An external input / output unit 3 for exchanging data with an external device specified based on the data is stored in an address specified based on a control signal output from the central processing unit, or outputs data at a specified address. Storage device section, 4 is a control signal for controlling each device, 5 is an address signal indicating address data, 6
Is a data signal for transmitting transfer data.

【0003】次に動作について説明する。このような装
置において、中央演算処理部1がある一連の動作を行う
際、中央演算処理部1は記憶装置部3にデータ信号6及
びアドレス信号5、制御信号4を用いて中央演算処理部
1が実行するプログラム(外部入出力部2から入力され
るデータ)を書き込む。書き込みが終了し外部入出力部
2から処理開始の制御信号4を受信すると中央演算処理
部1は記憶装置部3に格納されているプログラムデータ
に基づき、データ信号6及びアドレス信号5、制御信号
4を用いて処理を行う。この処理中は、処理を中断せず
に中央演算装置1が行っている処理を外部から監視する
事は不可能である。一連の処理が終了すると中央演算処
理部1は結果及び終了を外部入力部2を介して外部へ伝
達する。
Next, the operation will be described. In such a device, when the central processing unit 1 performs a series of operations, the central processing unit 1 uses the data signal 6, the address signal 5, and the control signal 4 in the storage unit 3 to perform the central processing unit 1. Write the program executed by (the data input from the external input / output unit 2). When the writing is completed and the control signal 4 for starting the processing is received from the external input / output unit 2, the central processing unit 1 based on the program data stored in the storage unit 3, the data signal 6, the address signal 5, and the control signal 4 Is used for processing. During this process, it is impossible to externally monitor the process performed by the central processing unit 1 without interrupting the process. When the series of processing is completed, the central processing unit 1 transmits the result and the completion to the outside through the external input unit 2.

【0004】[0004]

【発明が解決しようとする課題】以上のような装置の場
合、一度処理を開始してしまうと処理を中断しない限り
中央演算処理部が入出力しているデータのアドレスやデ
ータの使用回数が把握できないのでソフトウェアやハー
ドウェアのデバッグ作業が時間を要し簡単にできない等
の問題点があった。
In the case of the above apparatus, once the processing is started, the address of the data input / output by the central processing unit and the number of times the data is used can be grasped unless the processing is interrupted. Since it is not possible, there is a problem that debugging work of software and hardware takes time and cannot be performed easily.

【0005】この発明は上記のような課題を解決するた
めになされたもので、装着する装置がある処理を実行し
ている際、任意に設定したあるデータを装着する装置が
入出力したアドレス及びそのデータを使用した回数を装
着する装置に関係なく表示できる解析器を得る事を目的
とする。
The present invention has been made to solve the above problems, and when an apparatus to be mounted is executing a process, an address input / output by an apparatus to be mounted with certain data set arbitrarily and It is an object of the present invention to obtain an analyzer that can display the number of times the data is used, regardless of the device to be mounted.

【0006】[0006]

【課題を解決するための手段】装着した装置において解
析したいデータを任意に設定できるデータ設定部と、デ
ータ設定部で設定したデータと装着した装置が出力した
データとが一致したときに信号を出力する比較器と、装
着した装置が出力したアドレスを必要な時にラッチでき
るレジスタと、レジスタ及びカウンタの出力データを表
示できる表示器と、装着した装置からの信号を受信する
ためのバッファーと、装着した装置が出力するアドレス
のラッチタイミング及びカウンタのカウントクロックの
信号を生成するORゲートと、データ設定部で設定した
データの使用回数を数えるカウンタを設け、装着した装
置の一連の動作のなかで任意のデータに対応したアドレ
ス及び任意のデータの使用回数を装着した装置の動作に
無関係に外部に表示できるようにした。
[Means for Solving the Problems] A signal is output when a data setting unit capable of arbitrarily setting data to be analyzed in a mounted device and the data set by the data setting unit and the data output by the mounted device match. Equipped with a comparator, a register that can latch the address output by the attached device when necessary, an indicator that can display the output data of the register and counter, and a buffer for receiving the signal from the attached device. An OR gate for generating a latch timing of an address output from the device and a signal of a count clock of the counter, and a counter for counting the number of times of use of the data set by the data setting unit are provided, and an arbitrary operation is performed in a series of operations of the attached device. The address corresponding to the data and the number of times of using the arbitrary data are externally displayed regardless of the operation of the mounted device. And it can be so.

【0007】[0007]

【作用】この発明においては、装着した装置が処理中に
設定した任意のデータを入出力したアドレス及びデータ
の使用回数を装着した装置の動作に無関係に外部に表示
する。
According to the present invention, the address at which the mounted device inputs / outputs arbitrary data set during processing and the number of times the data is used are externally displayed regardless of the operation of the mounted device.

【0008】[0008]

【実施例】【Example】

実施例1.図1はこの発明による記憶初期化装置の一実
施例である。図1において、5、6は上記従来技術と同
様、7は装着した装置において解析したデータを任意に
設定できるデータ設定部、8はデータ設定部7で設定し
たデータと装着した装置が出力しデータ信号6とが一致
したときにEQ信号14を出力する比較器、9は装着し
た装置が出力したアドレスをTC信号15のトリガでラ
ッチするレジスタ、10a、10bはレジスタ9及びカ
ウンタ16の出力データを表示できる表示器、11a〜
11dは装着した装置からの信号を受信するためのバッ
ファー、12は装着した装置が出力するデータの書き込
み信号であるWTC信号13と比較器が出力するEQ信
号14とからアドレス信号5をラッチするタイミングを
示すTC信号15を生成するORゲート、13は装着し
た装置がデータをアドレスに書き込むときに出力する制
御信号の一つであるWTC信号、14はデータ設定部7
で設定したデータと装着した装置が出力したデータ信号
5とが一致したときに比較器8から出力されるEQ信
号、15はアドレスをレジスタ9に取り込む時及びカウ
ンタ16がカウントするときにORゲート12から出力
されるTC信号、16はTC信号15の数を数えるカウ
ンタ、17は装着する装置の電源印加時に装着する装置
から出力される制御信号の一つであるBSRST信号で
ある。
Example 1. FIG. 1 shows an embodiment of a storage initialization device according to the present invention. In FIG. 1, 5 and 6 are the same as in the above-mentioned conventional technique, 7 is a data setting unit that can arbitrarily set the analyzed data in the mounted device, 8 is data set by the data setting unit 7 and data output by the mounted device. A comparator that outputs an EQ signal 14 when the signal 6 matches, a register 9 that latches the address output by the mounted device by a trigger of the TC signal 15, and 10a and 10b that output data from the register 9 and the counter 16. Display that can be displayed, 11a-
11d is a buffer for receiving a signal from the mounted device, 12 is a timing for latching the address signal 5 from the WTC signal 13 which is a data write signal output from the mounted device and the EQ signal 14 output from the comparator. An OR gate that generates a TC signal 15 that indicates that, 13 is a WTC signal that is one of the control signals that the mounted device outputs when writing data to an address, and 14 is a data setting unit 7.
The EQ signal output from the comparator 8 when the data set in 1 and the data signal 5 output from the mounted device match, 15 is the OR gate 12 when the address is taken into the register 9 and when the counter 16 counts. TC signal 16 is a counter for counting the number of TC signals 15, and 17 is a BSRST signal which is one of the control signals output from the device to be mounted when the power of the device to be mounted is applied.

【0009】上記に記載された解析器の動作を図1を用
いて説明する。解析器を装着した装置に電源が印加され
ると装着した装置からBSRST信号17が出力されカ
ウンタ16がリセットされ表示器10aの表示が0を示
す。ここで監視したいデータをデータ設定部7で設定す
る。装着した装置が処理を開始すると、アドレス信号
5、データ信号6、制御信号の一つであるWTC信号1
3が出力される。ここでデータ設定部7で設定したデー
タとデータ信号5が一致すると比較器8よりEQ信号1
4が出力される。このときWTC信号13が装着した装
置から出力されるのでTC信号15が出力される。TC
信号15の出力よりレジスタ9ではアドレス信号5をラ
ッチしカウンタ16では表示データに1が加算される。
表示器10a、10bではレジスタ9の内容、カウンタ
16の出力が外部に表示される。
The operation of the analyzer described above will be described with reference to FIG. When power is applied to the device equipped with the analyzer, the installed device outputs the BSRST signal 17, the counter 16 is reset, and the display on the display 10a shows 0. Here, the data to be monitored is set by the data setting unit 7. When the mounted device starts processing, the address signal 5, the data signal 6, and the WTC signal 1 which is one of the control signals
3 is output. When the data set by the data setting unit 7 and the data signal 5 match, the comparator 8 outputs the EQ signal 1
4 is output. At this time, since the WTC signal 13 is output from the mounted device, the TC signal 15 is output. TC
From the output of the signal 15, the register 9 latches the address signal 5 and the counter 16 adds 1 to the display data.
The contents of the register 9 and the output of the counter 16 are externally displayed on the display devices 10a and 10b.

【0010】[0010]

【発明の効果】以上のようなこの発明によれば、装着装
置の処理中の監視すべきデータを書き込んだアドレス及
び回数を外部に表示し一目で分かるようにしたので、ハ
ードウェア及びソフトウェアのデバッグが短時間で簡単
に実施できる効果がある。
As described above, according to the present invention, the address and the number of times of writing the data to be monitored during the processing of the mounting device are displayed on the outside so that they can be seen at a glance. There is an effect that can be easily implemented in a short time.

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

【図1】この発明による解析器の一実施例である。FIG. 1 is an embodiment of an analyzer according to the present invention.

【図2】この発明による解析器のない従来の装置の一例
である。
FIG. 2 is an example of a conventional device without an analyzer according to the present invention.

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

4 制御信号 5 アドレス信号 6 データ信号 11 バッファー 12 ORゲート 13 WTC信号 14 EQ信号 15 TC信号 17 BSRST信号 4 control signal 5 address signal 6 data signal 11 buffer 12 OR gate 13 WTC signal 14 EQ signal 15 TC signal 17 BSRST signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 装着した装置において解析したいデータ
を任意に設定できるデータ設定部と、データ設定部で設
定したデータと装着した装置が出力したデータとが一致
したときに信号を出力する比較器と、装着した装置が出
力したアドレスを必要な時にラッチできるレジスタと、
レジスタ及びカウンタの出力データを表示できる表示器
と、装着した装置からの信号を受信するためのバッファ
ーと、装着した装置が出力するアドレスのラッチタイミ
ング及びカウンタのカウントクロックの信号を生成する
ORゲートと、データ設定部で設定したデータの使用回
数を数えるカウンタを有する事により、装着した装置の
一連の動作のなかで任意のデータに対するアドレス及び
任意のデータの使用回数を装着した装置の動作に無関係
に外部に表示できる事を特徴とする解析器。
1. A data setting unit capable of arbitrarily setting data to be analyzed in a mounted device, and a comparator which outputs a signal when the data set in the data setting unit and the data output from the mounted device match. , A register that can latch the address output by the attached device when needed,
A display capable of displaying output data of a register and a counter, a buffer for receiving a signal from a mounted device, an OR gate for generating a latch timing of an address output by the mounted device and a signal of a count clock of the counter. By having a counter that counts the number of times of use of the data set in the data setting unit, the address for arbitrary data and the number of times of use of arbitrary data in the series of operations of the attached device are independent of the operation of the attached device. An analyzer that can be displayed externally.
JP3294157A 1991-11-11 1991-11-11 Analyzer Pending JPH05134901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3294157A JPH05134901A (en) 1991-11-11 1991-11-11 Analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3294157A JPH05134901A (en) 1991-11-11 1991-11-11 Analyzer

Publications (1)

Publication Number Publication Date
JPH05134901A true JPH05134901A (en) 1993-06-01

Family

ID=17804054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3294157A Pending JPH05134901A (en) 1991-11-11 1991-11-11 Analyzer

Country Status (1)

Country Link
JP (1) JPH05134901A (en)

Similar Documents

Publication Publication Date Title
US5345580A (en) Microprocessor device and emulator device thereof
US4538235A (en) Microcomputer retriggerable interval counter
EP0113393B1 (en) A self-clocked signature analyser
CN111274132A (en) Method and device for testing reliability of data cleaning function of device driver
JPH05134901A (en) Analyzer
JPH05143399A (en) Analyzer
JP3002341B2 (en) Logic analyzer
JP3158425B2 (en) Microcomputer
KR100228337B1 (en) Test apparatus amd method of asynchronous type
JPH07271632A (en) Program debugging device
SU1275452A1 (en) Device for debugging programs
JPH0368039A (en) Program passage address tracing device
JPH01243140A (en) Controller
SU660053A1 (en) Microprocessor checking arrangement
JP3621539B2 (en) Real-time data buffer device
SU1179336A1 (en) Control unit
JPH01173203A (en) Measuring method for processing time of sequence controller
JPS5933079Y2 (en) Data event measurement device
JPH05189277A (en) Program execution time measuring instrument for programmable controller
JPS5942342B2 (en) Computer hardware usage status monitoring device
JPH04130544A (en) Microcomputer
JPS63241622A (en) Data processor
JPH04310138A (en) Debugging method for data transmitter
JPH0619752A (en) Microcomputer
JPH01137340A (en) Microcomputer