JPS5843776B2 - Microprocessor operating status monitoring device - Google Patents

Microprocessor operating status monitoring device

Info

Publication number
JPS5843776B2
JPS5843776B2 JP56153590A JP15359081A JPS5843776B2 JP S5843776 B2 JPS5843776 B2 JP S5843776B2 JP 56153590 A JP56153590 A JP 56153590A JP 15359081 A JP15359081 A JP 15359081A JP S5843776 B2 JPS5843776 B2 JP S5843776B2
Authority
JP
Japan
Prior art keywords
microprocessor
circuit
monitoring device
output
contents
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.)
Expired
Application number
JP56153590A
Other languages
Japanese (ja)
Other versions
JPS5794860A (en
Inventor
利彦 松田
力 大前
利夫 鈴木
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 Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP56153590A priority Critical patent/JPS5843776B2/en
Publication of JPS5794860A publication Critical patent/JPS5794860A/en
Publication of JPS5843776B2 publication Critical patent/JPS5843776B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

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

Description

【発明の詳細な説明】 本発明はマイクロプロセッサを用いた制御装置の動作−
F7m−’に%、祝するマイクロプロセッサの動作状態
監視装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention describes the operation of a control device using a microprocessor.
This invention relates to an operating state monitoring device for a microprocessor.

マイクロプロセッサは、そのディジタル的な演算処理機
能lこより、各種制御装置の中枢として用いられている
Microprocessors are used as the core of various control devices because of their digital arithmetic processing functions.

この場合には、従来のアナログ制御回路で行っていた制
御の補償演算をマイクロプロセッサのソフトウェアlこ
よって実行する。
In this case, the microprocessor software executes control compensation calculations that were performed by conventional analog control circuits.

このような装置では、従来のように制御回路の一部のデ
ータを記録計に出力して、制御性能を監視したり調整し
たりすることが難しい。
In such a device, it is difficult to monitor or adjust control performance by outputting part of the data of the control circuit to a recorder as in the past.

すなわち、このことを可能とするためlこプログラムの
一部Iこ途中の演算結果を出力するような構成lこする
と、プログラムが長くなり、処理時間が問題となるシス
テムでは採用できない。
In other words, in order to make this possible, a configuration in which part of the program is outputted as a partial calculation result would result in a long program, which cannot be adopted in a system where processing time is an issue.

又、入出力回路としても余分なハードウェアが必要とな
り、装置が高価となる。
Furthermore, extra hardware is required as an input/output circuit, making the device expensive.

本発明の目的は、マイクロプロセッサの制御動作を乱す
ことなく、動作状態を監視できるマイクロプロセッサの
動作状態監視装置を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an operating state monitoring device for a microprocessor that can monitor the operating state without disturbing the control operations of the microprocessor.

本発明はアドレスを指定する入力手段を有し、その内容
とマイクロプロセッサのアドレスが一致した時点のデー
タバスの内容をアナログ値に変換して出力するようlこ
したものである。
The present invention has input means for specifying an address, and the contents of the data bus at the time when the contents match the address of the microprocessor are converted into an analog value and output.

以下、本発明の実施例を図により説明する。Embodiments of the present invention will be described below with reference to the drawings.

図はマイクロプロセッサ2、ROM3゜ RAM4を主とした構成要素とする制御装置1に本発明
を適用した場合の実施例である。
The figure shows an embodiment in which the present invention is applied to a control device 1 whose main components are a microprocessor 2, ROM 3, and RAM 4.

動作状態監視装置は、マイクロプロセッサ2のアドレス
バスABUS、データバスDBUS、及びデータバスの
内容をROM3 、RAM4、又はその他の外部機器に
書き込むか、又は読み出すかを制御する信号R/W、及
び同期信号となるクロックパルス信号φを取り込んで増
幅するバッファ回路5、アドレスバスのビット数と同じ
個数のスイッチロ、一致回路7、アンド回路8、ラッチ
回路9、ディジタル値をアナログ値lこ変換するDA変
換器10、表示回路11より構成される。
The operating state monitoring device includes an address bus ABUS of the microprocessor 2, a data bus DBUS, a signal R/W for controlling whether to write or read the contents of the data bus into the ROM 3, RAM 4, or other external equipment, and a synchronization signal R/W. A buffer circuit 5 that takes in and amplifies the clock pulse signal φ as a signal, a switch circuit of the same number as the number of bits of the address bus, a coincidence circuit 7, an AND circuit 8, a latch circuit 9, and a DA that converts a digital value into an analog value. It is composed of a converter 10 and a display circuit 11.

今、マイクロプロセッサ2はROM3に入っている内容
に応じて動作し、演算その他の処理を実行し、制御装置
1としての機能をはたす。
Now, the microprocessor 2 operates according to the contents stored in the ROM 3, performs calculations and other processing, and functions as the control device 1.

このような動作中lこおいては、演算途中の結果をRA
M4#こ記憶したり、読み出したりする。
During such an operation, the result of the operation is sent to RA.
M4# is stored or read.

この操作5′iエクゼキユーシヨンと称されている。This operation is called 5'i execution.

エクゼキューション時のアドレスバスABUSの内容が
αのときに、偏差εをデータバスDBUSを介してRA
M4)こ5醍する命令がROM3に入っているとする。
When the content of the address bus ABUS during execution is α, the deviation ε is sent to RA via the data bus DBUS.
M4) Assume that the following command is stored in ROM3.

父、スイッチ6の出力Asはαの値を示しているとする
It is assumed that the output As of the switch 6 indicates the value of α.

こうすると、マイクロプロセッサ2が制御動作を実行し
ている途中に、アドレスバスABUSがαになった時点
で、バッファ回路5の出力ABとスイッチ6の出力As
とが等しくなったことを一致回路γで検出する。
In this way, when the address bus ABUS reaches α while the microprocessor 2 is executing a control operation, the output AB of the buffer circuit 5 and the output As of the switch 6
The matching circuit γ detects that the values are equal to each other.

この結果、一致回路γの出力C0UTがルベルとなりア
ンド回路8の入力となる。
As a result, the output C0UT of the coincidence circuit γ becomes a level and becomes an input to the AND circuit 8.

一方バツファ回路5からは、マイクロプロセッサ2がR
AM4に書き込むときの信号Wと、クロックパルス信号
φがアンド回路8の入力となり、全てがルベルになった
とき、アンド回路8の出力TSがルベルとなる。
On the other hand, from the buffer circuit 5, the microprocessor 2
The signal W for writing to AM4 and the clock pulse signal φ are input to the AND circuit 8, and when all become the level, the output TS of the AND circuit 8 becomes the level.

このTSがルベルとなったタイミングで、その時点のデ
ータバスDBUSをバッファ回路5を通した出力DBを
ラッチ回路9に記憶する。
At the timing when this TS becomes the level, the output DB from the data bus DBUS at that time passed through the buffer circuit 5 is stored in the latch circuit 9.

そして、ラッチ回路9の出力LOUTはDA変換器10
1こよりアナログ値に変換され出力XとなるとともIこ
、表示回路11にテイジクル的lこ表示される。
The output LOUT of the latch circuit 9 is then transferred to the DA converter 10.
The signal is then converted into an analog value and becomes the output X, which is then displayed on the display circuit 11 in a visual manner.

このように、偏差εをRAM4に記憶する動作をマイク
ロプロセッサ2が実行するたびに、その偏差εの値をア
ナログ値X)こ出力できる。
In this way, each time the microprocessor 2 executes the operation of storing the deviation ε in the RAM 4, the value of the deviation ε can be outputted as an analog value X).

この結果、偏差εの動きを記録計に出力し、監視できる
とともに、数値をも監視できる。
As a result, the movement of the deviation ε can be output to the recorder and monitored, and the numerical value can also be monitored.

又、マイクロプロセッサ2の諸動作は、アドレスバスラ
イン、データバスライン及び制御信号のみを取り出して
くるだけで、ハーバウェア、ソフトウェアとも変更する
ことなく諸状態が監視できる。
Furthermore, various operations of the microprocessor 2 can be monitored by simply extracting address bus lines, data bus lines, and control signals, without changing any hardware or software.

さらに、スイッチ6の内容を変更する操作だけで別の演
算結果をアナログ値として簡単に得られる効果を有する
Furthermore, another calculation result can be easily obtained as an analog value simply by changing the contents of the switch 6.

なお、本発明は1個所の情報のみを監視する場合につい
てのみ示したが、複数ケ所の情報を得るためには図の回
路を必要な組数だけ用いれば実行できることは明白であ
り、又、DA変換器部分を共用しても実現できることは
明らかである。
Although the present invention has been described only for the case where information from one location is monitored, it is clear that obtaining information from multiple locations can be carried out by using the necessary number of circuits shown in the figure. It is clear that this can also be realized by sharing the converter section.

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

図は本発明の一実施例を示すブロック図である。 1・・・制御装置、2・・・マイクロプロセッサ、3・
・・ROM、4・・・RAM、5・・・バッファ回路、
6・・・スイッチ、7・・・一致回路、8・・・アンド
回路、9・・・ラッチ回路、10・・・DA変換器、1
1・・・表示回路。
The figure is a block diagram showing one embodiment of the present invention. DESCRIPTION OF SYMBOLS 1...Control device, 2...Microprocessor, 3.
...ROM, 4...RAM, 5...buffer circuit,
6... Switch, 7... Matching circuit, 8... AND circuit, 9... Latch circuit, 10... DA converter, 1
1...Display circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 マイクロプロセッサのアドレスバス、データバス、
制御信号、クロック信号を入力する第1の入力手段と、
アドレスを指定する第2の入力手段とを有し、前記第2
の入力手段の内容と前記第1の入力手段とから得られる
マイクロプロセッサのエクゼキューション時のアドレス
バスとの内容が一致し、かつ前記制御信号とクロック信
号が所定状態となった時点のデータバスの内容をアナロ
グ値に変換して出力することを特徴とするマイクロプロ
セッサの動作状態監視装置。
1 Microprocessor address bus, data bus,
a first input means for inputting a control signal and a clock signal;
a second input means for specifying an address;
the data bus at the time when the contents of the input means match the contents of the address bus obtained from the first input means at the time of execution of the microprocessor, and the control signal and the clock signal are in a predetermined state; An operating state monitoring device for a microprocessor, characterized in that the contents of the microprocessor are converted into analog values and output.
JP56153590A 1981-09-30 1981-09-30 Microprocessor operating status monitoring device Expired JPS5843776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56153590A JPS5843776B2 (en) 1981-09-30 1981-09-30 Microprocessor operating status monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56153590A JPS5843776B2 (en) 1981-09-30 1981-09-30 Microprocessor operating status monitoring device

Publications (2)

Publication Number Publication Date
JPS5794860A JPS5794860A (en) 1982-06-12
JPS5843776B2 true JPS5843776B2 (en) 1983-09-29

Family

ID=15565810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56153590A Expired JPS5843776B2 (en) 1981-09-30 1981-09-30 Microprocessor operating status monitoring device

Country Status (1)

Country Link
JP (1) JPS5843776B2 (en)

Also Published As

Publication number Publication date
JPS5794860A (en) 1982-06-12

Similar Documents

Publication Publication Date Title
JPS5843776B2 (en) Microprocessor operating status monitoring device
JP2752619B2 (en) PMC signal trace controller
JP3221003B2 (en) I / O port
JPS6313558Y2 (en)
JPH0256697B2 (en)
JPS6232509B2 (en)
JPS62241041A (en) Information processor
JPS6017140B2 (en) Execution order control method for microprograms in data processing equipment
JPH05108748A (en) Logic circuit simulation system
JPS62121567A (en) Data processor
JPH05298266A (en) Inter-processor communication system for multiprocessor
JPS5936838A (en) Controlling method of interface
JPS63121959A (en) Storage device
JPH03152644A (en) Misoutput preventing circuit
JPS6316329A (en) Data sending circuit for arithmetic unit
JPS6113345A (en) Processor of tagged data
JPS60168259A (en) Data transfer control circuit
JPS636889B2 (en)
JPS59133670A (en) Digital operating device
JPH0573484A (en) Information processing system
JPH05281290A (en) Data transfer circuit of ic tester sharing storage circuit
JPS5850090B2 (en) Screen display control method for power system centralized control
JPS6367604A (en) Process signal converter
JPS6356739A (en) History memory control system
JPH07112186B2 (en) Synchronous processing LSI interface method