JPH05143399A - Analyzer - Google Patents

Analyzer

Info

Publication number
JPH05143399A
JPH05143399A JP3300489A JP30048991A JPH05143399A JP H05143399 A JPH05143399 A JP H05143399A JP 3300489 A JP3300489 A JP 3300489A JP 30048991 A JP30048991 A JP 30048991A JP H05143399 A JPH05143399 A JP H05143399A
Authority
JP
Japan
Prior art keywords
address
signal
data
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
JP3300489A
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 JP3300489A priority Critical patent/JPH05143399A/en
Publication of JPH05143399A publication Critical patent/JPH05143399A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To provide an analyzer capable of displaying the data of an optional address and the using frequency of the optional address on an external display in a series of operation of a loaded device independently of the operation of the device. CONSTITUTION:The analyzer is provided with an address setting part 7 capable of optionally setting up an address to be analyzed in a loaded device, a comparator 8 for outputting a signal when the address set up by the setting part 7 coincides with an address outputted from the loaded device, a register 9 capable of latching the data outputted from the loaded data when necessary, a display device 10a for displaying the output data of the register 9 and a counter 16, a buffer 11 for receiving the signal from the loaded device, an OR gate 12 for forming the latch timing of the data outputted from the loaded device and a counting clock signal of the counter 16, and the counter 16 for counting up the using frequency of the address set up by the setting part 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は装着した装置の制御装置
より、制御信号、アドレス信号、データ信号を受信する
事により、装着した装置の動作中の任意に設定したアド
レスに対するデータ及び使用回数を装着した装置の動作
に関係なく外部に表示できる解析器に関する物である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention receives a control signal, an address signal and a data signal from a control device of a mounted device, so that the data and the number of times of use for an arbitrarily set address during the operation of the mounted device can be obtained. 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-mentioned device, once the processing is started, the data input / output to / from a certain address of the central processing unit and the number of times it has been used unless the processing is interrupted. Since it can be grasped, there is a problem that it is difficult and easy to debug software and hardware.

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

【0006】[0006]

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

【0007】[0007]

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

【0008】[0008]

【実施例】【Example】

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

【0009】上記に記載された解析器の動作を図1を用
いて説明する。解析器を装着した装置に電源が印加され
ると装着した装置からBSRST信号17が出力されカ
ウンタ16がリセットされ表示器10aの表示が0を示
す。ここで監視したいアドレスをアドレス設定部7で設
定する。装着した装置が処理を開始すると、アドレス信
号5、データ信号6、制御信号の一つであるWTC信号
13が出力される。ここでアドレス設定部7で設定した
アドレスとアドレス信号5が一致すると比較器8よりE
Q信号14が出力される。このときWTC信号13が装
着した装置から出力されるのでTC信号15が出力され
る。TC信号15の出力よりレジスタ9ではデータ信号
6をラッチしカウンタ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 address to be monitored is set by the address setting unit 7. When the mounted device starts processing, the address signal 5, the data signal 6, and the WTC signal 13 which is one of the control signals are output. If the address set by the address setting unit 7 and the address signal 5 match, the comparator 8 outputs E
The Q signal 14 is output. At this time, since the WTC signal 13 is output from the mounted device, the TC signal 15 is output. From the output of the TC signal 15, the data signal 6 is latched in the register 9 and 1 is added to the data in the counter 16. 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 write data to the address to be monitored and the number of times during the processing of the mounting device are displayed externally and can be seen at a glance, so that the hardware and software can be debugged. 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. An address setting unit capable of arbitrarily setting an address to be analyzed in a mounted device, and a comparator which outputs a signal when the address set in the address setting unit and the address output by the mounted device match. , A register that can latch the data output by the attached device when necessary, an indicator that can display the output data of the register and counter, a buffer for receiving a signal from the attached device, and an output by the attached device By having an OR gate that generates a signal of a data latch timing and a count clock of the counter, and a counter that counts the number of times of use of the address set by the address setting unit, it is possible to perform an arbitrary address in a series of operations of the mounted device. External use of data and the number of times of use of any address regardless of the operation of the installed device An analyzer characterized by being able to be displayed on.
JP3300489A 1991-11-15 1991-11-15 Analyzer Pending JPH05143399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3300489A JPH05143399A (en) 1991-11-15 1991-11-15 Analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3300489A JPH05143399A (en) 1991-11-15 1991-11-15 Analyzer

Publications (1)

Publication Number Publication Date
JPH05143399A true JPH05143399A (en) 1993-06-11

Family

ID=17885428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3300489A Pending JPH05143399A (en) 1991-11-15 1991-11-15 Analyzer

Country Status (1)

Country Link
JP (1) JPH05143399A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07191882A (en) * 1993-12-27 1995-07-28 Nec Corp Memory access frequency measuring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07191882A (en) * 1993-12-27 1995-07-28 Nec Corp Memory access frequency measuring system

Similar Documents

Publication Publication Date Title
US5345580A (en) Microprocessor device and emulator device thereof
US4538235A (en) Microcomputer retriggerable interval counter
JPH11282713A (en) Microcomputer, electronic equipment and debug system
US5572667A (en) Interrupt processing device for controlling the timing of an interrupt signal initiated by a debugging break point in an instruction code
US5533037A (en) Latency error detection circuit for a measurement system
JPH05143399A (en) Analyzer
US6928532B2 (en) Logic integrated circuit, and recording medium readable by a computer, which stores a source of CPU core on said logic integrated circuit
JP2005222446A (en) On-board debugging apparatus and semiconductor circuit apparatus
JPH05134901A (en) Analyzer
US4566062A (en) Timing control system in data processor
JPH1195864A (en) Timer device
JP2716166B2 (en) Information processing device
JP3002341B2 (en) Logic analyzer
JP3158425B2 (en) Microcomputer
JPH0231247A (en) Data processor
JP3621539B2 (en) Real-time data buffer device
JP2001092692A (en) Circuit and method for measuring time
JPH11102306A (en) Emulator
JPS5942342B2 (en) Computer hardware usage status monitoring device
JPH05189277A (en) Program execution time measuring instrument for programmable controller
JPH048821B2 (en)
JP2775830B2 (en) Instruction frequency measurement method
JPS5933079Y2 (en) Data event measurement device
JP3443215B2 (en) Serial input and output device
JPH01243140A (en) Controller