JPS60108946A - Bus monitoring device - Google Patents

Bus monitoring device

Info

Publication number
JPS60108946A
JPS60108946A JP58216352A JP21635283A JPS60108946A JP S60108946 A JPS60108946 A JP S60108946A JP 58216352 A JP58216352 A JP 58216352A JP 21635283 A JP21635283 A JP 21635283A JP S60108946 A JPS60108946 A JP S60108946A
Authority
JP
Japan
Prior art keywords
data
bus
address
circuit
analog
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
JP58216352A
Other languages
Japanese (ja)
Inventor
Hiroo Kikuchihara
菊地原 博夫
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 JP58216352A priority Critical patent/JPS60108946A/en
Publication of JPS60108946A publication Critical patent/JPS60108946A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • G06F11/364Software debugging by tracing the execution of the program tracing values on a bus

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

PURPOSE:To make the change of a program and the spare of an analog output unnecessary and to monitor optional data ccessed by a CPU by utilizing the bus access timing of the CPU to monitor the contents accessed by the CPU. CONSTITUTION:A bus monitoring device 5 is connected to a bus B connected to the CPU1 and data from the CPU1 are inputted to the device 5 and outputted as an analog data to a data decoder 4. An interface 5b in the device 5 reads data from the bus B and separates the bus B from the main body 5a of the device 5. Conversion gain to memory data stored in an address necessary for monitoring and the output terminal number of the data are inputted from an operation panel 6 to a converting circuit 7. A detecting circuit 8 detects the coincidence of the set address with an address from the bus 5 and the data from the bus 5 are stored in a storage circuit on the basis of a coincidence detecting signal from the circuit 8. The conversion circuit 7 controls respective parts and the output of the conversion circuit 7 is converted into an analog value by a D/A conversion circuit 10 to output the analog signal.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、中央処理装置(CPU)のノくスアクセス
時のデータをモニタする、バスモニタ装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a bus monitor device that monitors data when a central processing unit (CPU) accesses a node.

〔従来技術〕[Prior art]

従来、CPUがアクセスするアドレスによって指定され
るメモリの内容をリアルタイムでモニタする装置として
第1図に示す装置のものがあった。
2. Description of the Related Art Conventionally, there has been a device shown in FIG. 1 as a device for monitoring in real time the contents of a memory specified by an address accessed by a CPU.

第1図において、符号1は、中央処理i置(CPU)、
2はCPU1をコントロールするプログラムを格納する
プログラムメモリ、3はCPU1が出力するデータをア
ナログ信号に変換するアナログ出力部(カード)、4は
アナログ出力部3からのアナログ信号を記録するデータ
レコーダ、Bはアドレス及びデータを転送するバスであ
る。
In FIG. 1, reference numeral 1 indicates a central processing unit (CPU);
2 is a program memory that stores a program to control the CPU 1; 3 is an analog output section (card) that converts data output by the CPU 1 into an analog signal; 4 is a data recorder that records the analog signal from the analog output section 3; B is a bus that transfers addresses and data.

次に第1図を用いて動作について説明する。CPU1が
アクセスしている図示なしメモリのアドレスのデータは
、バスB及びアナログ出力部3を経由してデータレコー
ダ4に出力することによりモニタされる。これを実現す
るモニタプログラムは、プログラムメモリ2に記憶され
ている。同様に複数個同時に表示する場合には、その個
数分圧対応したモニタプログラムがプログラムメモリ2
に追加される。
Next, the operation will be explained using FIG. Data at an address in a memory (not shown) that the CPU 1 is accessing is monitored by being output to the data recorder 4 via the bus B and the analog output section 3. A monitor program for realizing this is stored in the program memory 2. Similarly, when displaying multiple partial pressures at the same time, the monitor program corresponding to the number of partial pressures is stored in the program memory 2.
will be added to.

このようなモニタプログラムをプログラムメモリ2に格
納するためKは、CPUIが実行中の本来の処理を一旦
停止させてそのプ四グラムを追加する必要がある。しか
し、オンラインでCPUIが連続稼動〜中の場合は、C
PUIを停止させることは許容されないことがあり、同
様にアナログ出力部3にモニタ出力用の予備がない場合
も不可能となる。
In order to store such a monitor program in the program memory 2, K needs to temporarily stop the original processing being executed by the CPU and add the program. However, if the CPUI is running continuously online, the C
It may not be permissible to stop the PUI, and it is also impossible if the analog output section 3 does not have a spare monitor output.

また、モニタすべきデータの点数、即ちモニタ点数を多
くすると、そのモニタプログラムのために、本来の処理
によるデータのサンプリング時間と適応がとれなくなる
という欠点もあった。
Furthermore, when the number of data points to be monitored, that is, the number of monitor points is increased, there is also a drawback that the monitoring program cannot adapt to the sampling time of data by the original processing.

〔発明の概要〕 本発明は、このような従来の装置の持つ欠点を除去する
ためになされたもので、CPUのバスアクセス時に得ら
れる信号によって、CPUがアクセスするデータのモニ
タを可能としたバスモニタ装置を提供することを目的と
する。
[Summary of the Invention] The present invention has been made in order to eliminate the drawbacks of such conventional devices. The purpose is to provide a monitoring device.

〔実施例の説明〕[Explanation of Examples]

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

第2図において、5はCPU1のバスアクセスの信号に
基づき、CPUIのアドレスのデータをバスBを介して
取り込み、データレコーダ4にアナログ出力するこの発
明によるバスモニタ装置であり、第3図に示すような構
成を有する。第3図において、5aはアドレスによって
指定されたデータの取込みとアナログ変換を行なうバス
モニタ装置50本体、5bはバスBから、本体5aが必
要とするアドレス及びデータを読み込み、かつバスBと
本体5aとを切離すためのインターフェイスである。6
はインターフェイス5aにおいて、モニタに必要なデー
タを設定するキー及び設定されたデータを表示する表示
器を有する操作パネル、7は操作パネル6の制御、本体
5aの管理、及びモニタされるデータの係数変換を行な
う処理回路、8はアドレスを記憶するn列のレジスタを
有し、また操作パネル6により指定されたアドレスとバ
スBのアドレスとを比較し、一致が得られたときにアド
レス一致信号を発生する検出回路、9は検出回路8より
出力されたアドレス一致信号によってCPU1から出力
されたバスB中のデータを記憶し、かつ指定アドレスが
ビット指示を持っている時にはそのビット指示を記憶す
る記憶回路、10は処理回路7によって係数変換後ホー
ルドされているデータをアナログ変換するデジタルアナ
ログ変換回路であり、番号により指定される複数の出力
端子を有する。
In FIG. 2, reference numeral 5 denotes a bus monitor device according to the present invention that takes in data at the CPUI address via bus B based on the bus access signal of CPU 1, and outputs it in analog form to data recorder 4, as shown in FIG. It has a configuration like this. In FIG. 3, 5a is a main body of a bus monitor device 50 that takes in data specified by an address and performs analog conversion, and 5b reads addresses and data required by the main body 5a from a bus B, and connects the bus B and the main body 5a. This is an interface for separating the two. 6
In the interface 5a, 7 is an operation panel having keys for setting data necessary for the monitor and a display for displaying the set data, and 7 is for controlling the operation panel 6, managing the main body 5a, and converting coefficients of monitored data. A processing circuit 8 has n columns of registers for storing addresses, and also compares the address specified by the operation panel 6 with the address on bus B, and generates an address match signal when a match is obtained. 9 is a storage circuit that stores the data on the bus B output from the CPU 1 in response to the address match signal output from the detection circuit 8, and stores the bit instruction when the designated address has a bit instruction. , 10 is a digital-to-analog conversion circuit for analog-converting data held after coefficient conversion by the processing circuit 7, and has a plurality of output terminals designated by numbers.

次−に第3図を用いて動作を説明する。モニタしたいア
ドレス、そのアドレスに記憶されているメモリ(図示な
し)のデータに対する変換ゲイン及びそのデータの出力
端子の番号を操作パネル6を介して処理回路71C入力
する。これによって入力されたアドレスは検出回路8に
転送されてデータを出力すべき出力端子の番号に対応す
る列iのレジスタに記憶され、また出力端子の番号とデ
ータ、の変換ゲインは処理回路7に記憶される。さらに
%ニタしたいデータのうち七ット指示がある場合は、記
憶回路9にビット抽出が転送され、記憶される。
Next, the operation will be explained using FIG. The address to be monitored, the conversion gain for data in a memory (not shown) stored at that address, and the number of the output terminal for that data are input to the processing circuit 71C via the operation panel 6. The input address is transferred to the detection circuit 8 and stored in the register in column i corresponding to the number of the output terminal that should output data, and the conversion gain between the output terminal number and the data is transferred to the processing circuit 7. be remembered. Further, if there is a seven bit instruction among the data to be monitored, the bit extraction is transferred to the storage circuit 9 and stored.

次に検出回路8のi列のレジスタの内容とインターフェ
イス5bからのアドレスとの一致を検出すると、i列対
応のアドレス一致信号を出力する。
Next, when the detection circuit 8 detects a match between the contents of the i-column register and the address from the interface 5b, it outputs an address match signal corresponding to the i-column.

言?憶回路9は、バスB上のデータをこのアドレス一致
信号によって指定されるメモリ位置に記憶する。処理回
路Tは、記憶回路9のデータを読み出し、出力端子の番
号毎に記憶しているデータ変換ゲインにもとづいてデー
タ変換を行ない、出力端子の番号に対応するその内部レ
ジスタに記憶する。
Word? Storage circuit 9 stores the data on bus B in the memory location specified by this address match signal. The processing circuit T reads data from the storage circuit 9, performs data conversion based on the data conversion gain stored for each output terminal number, and stores it in its internal register corresponding to the output terminal number.

データがビット抽出されたものであるときには、”1”
又は′0”対応の値に変換して内部レジスタに記憶する
。処理回路7の内部レジスタ中に記憶されたデータは、
デジタルアナログ変換回路10によってアナログ信号に
変換され、データレコーダ4に供給される。
“1” if the data is bit-extracted
Or convert it into a value corresponding to '0' and store it in the internal register.The data stored in the internal register of the processing circuit 7 is as follows.
The signal is converted into an analog signal by the digital-to-analog conversion circuit 10 and supplied to the data recorder 4.

ナオ、本体5a−とバスBとの間のインターフェイス処
理が特定のCPUを対象とするものであるならば、イン
ターフェイス5bを取り除いてもよ(ゝD ま°た、操作パネル6は、本体5a上に設ける必要はな
く、外部のCRTターミナルやシステムタイプライタを
利用できる。またアナログ変換の対象となるデータの記
憶用のレジスタを処理回路7ではなくディジタル・アナ
ログ変換回路10に含めることも可能である。
Nao, if the interface processing between the main body 5a and the bus B is for a specific CPU, the interface 5b may be removed. It is not necessary to provide an external CRT terminal or a system typewriter.It is also possible to include a register for storing data to be converted to analog in the digital-to-analog conversion circuit 10 instead of in the processing circuit 7. .

〔発明の効果〕〔Effect of the invention〕

以上のよう釦、本発明によれば、CPUのバスアクセス
タイミングを利用してCPUがアクセスするアドレスの
内容をモニタする構成としたために、プログラムを変更
する必要もなく、またアナログ出力の予備の必要性もな
く、さらにプログラムのサンプリング時間に影響を与え
ることなく、CPUがアクセスする任意のデータをモニ
タすることが可能となる効果がある。
As described above, according to the present invention, since the content of the address accessed by the CPU is monitored using the CPU bus access timing, there is no need to change the program, and there is no need for a backup analog output. This has the effect of making it possible to monitor any data accessed by the CPU without affecting the sampling time of the program.

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

第1図は従来のバスモニタ装置のブロック図1、事2図
は本発明の一実施例によるバスモニタ装置のブロック図
、第3図は第2図に示すバスモニタ装置の詳細を示すブ
ロック図である。 1・・・CPU、2・・・プログラムメモリ、6・・・
操作パネル、7・・・変換回路、8−・・検出回路、9
・・・記憶回路、10・・・デジタル・アナログ変換回
路。 なお、図中、同一符号は同一部分または相当部分を示す
。 特許出願人 三菱電機株式会社 手続補正書(自発) ↑、1“許庁長宮殿 1、事件の表示 特願昭 58−216352号2、発
明の名称 バスモニタ装置 :3.補正をする者 代表者片山仁へ部 4、代 理 人 郵便番号 105 住 所 東京都港区西新橋1丁目4番10号翫 補正の
対象 明細書の発明の詳細な説明の欄 収 補正の内容 明細書をっぎのとおり訂正する。
FIG. 1 is a block diagram of a conventional bus monitor device, FIG. 2 is a block diagram of a bus monitor device according to an embodiment of the present invention, and FIG. 3 is a block diagram showing details of the bus monitor device shown in FIG. It is. 1...CPU, 2...Program memory, 6...
Operation panel, 7... Conversion circuit, 8-... Detection circuit, 9
...Memory circuit, 10...Digital-to-analog conversion circuit. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant: Mitsubishi Electric Co., Ltd. Procedural amendment (voluntary) ↑, 1. Indication of the case: Japanese Patent Application No. 58-216352 2. Name of the invention: bus monitor device: 3. Representative of the person making the amendment Hitoshi Katayama Department 4, Agent Postal code: 105 Address: 1-4-10 Nishi-Shinbashi, Minato-ku, Tokyo Column for detailed explanation of the invention in the specification to be amended Details of the contents of the amendment as shown below correct.

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置より送出されるアドレス、このアドレスに
よりアクセスされるメモリのデータに対する変換ゲイン
及びこのデータを出力する出力端子の番号を指定する操
作パネルと、上記中央処理装置がバスを介して送出する
アドレスと上記操作パネルにより設定されたアドレスと
の一致を検出する検出回路と、この検出回路より出力さ
れるアドレス一致信号に基づき上記バスのデータを記・
憶する記憶回路と、当該記憶回路に記憶されたデータを
設定された変換ゲインによりゲイン変換処理及び上記操
作パネル及び記憶回路を含む各部の制御を行なう処理回
路と、この処理回路圧よりゲイン変換されたデータをア
ナログ信号に変換して上記番号の出力端子圧出力するデ
ジタルアナログ変換回鮎とを備えたバスモニタ装置。
An operation panel that specifies the address sent from the central processing unit, the conversion gain for the memory data accessed by this address, and the number of the output terminal that outputs this data, and the address sent by the central processing unit via the bus. and a detection circuit that detects a match between the address and the address set by the operation panel, and the data on the bus is recorded based on the address match signal output from this detection circuit.
a processing circuit that performs gain conversion processing of the data stored in the storage circuit using a set conversion gain and control of various parts including the operation panel and the storage circuit; A bus monitor device comprising a digital-to-analog conversion circuit that converts the data into an analog signal and outputs the signal from the output terminal of the number mentioned above.
JP58216352A 1983-11-18 1983-11-18 Bus monitoring device Pending JPS60108946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58216352A JPS60108946A (en) 1983-11-18 1983-11-18 Bus monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58216352A JPS60108946A (en) 1983-11-18 1983-11-18 Bus monitoring device

Publications (1)

Publication Number Publication Date
JPS60108946A true JPS60108946A (en) 1985-06-14

Family

ID=16687205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58216352A Pending JPS60108946A (en) 1983-11-18 1983-11-18 Bus monitoring device

Country Status (1)

Country Link
JP (1) JPS60108946A (en)

Similar Documents

Publication Publication Date Title
JPS58500384A (en) multiplex digital equipment system
JPS60108946A (en) Bus monitoring device
JP2578182B2 (en) Data processing device and data processing system
JPH0114616B2 (en)
JPS586570A (en) Buffer memory device
JPS59231625A (en) Address setting system
JPS6020779B2 (en) Composite computer system
JPH01128143A (en) Microcomputer system
JP2586074B2 (en) Data processing device
JPS6346558A (en) Protecting system for multi-byte data in stand-by ram
JPS6111493B2 (en)
JPS6397146U (en)
JPH0226252B2 (en)
JPS622337A (en) Memory extending system
JPH0133848B2 (en)
JPS5819965A (en) Recording device
JPH01111234A (en) Parity check system
JPH064469A (en) Input/output device control system
JPH01121965A (en) Microprocessor
JPH0341849B2 (en)
JPS63223859A (en) Address converter
JPS59117651A (en) Memory extension circuit of single-chip microcomputer
JPH10312352A (en) Memory mapped i/o port system
JPS5960481A (en) Crt controller
JPS62123551A (en) Memory device