JPH01161459A - Bus debugger device - Google Patents

Bus debugger device

Info

Publication number
JPH01161459A
JPH01161459A JP62319704A JP31970487A JPH01161459A JP H01161459 A JPH01161459 A JP H01161459A JP 62319704 A JP62319704 A JP 62319704A JP 31970487 A JP31970487 A JP 31970487A JP H01161459 A JPH01161459 A JP H01161459A
Authority
JP
Japan
Prior art keywords
bus
memory
microprocessor
data
movement
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
JP62319704A
Other languages
Japanese (ja)
Inventor
Kaoru Abe
薫 阿部
Masao Ono
正夫 小野
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 JP62319704A priority Critical patent/JPH01161459A/en
Publication of JPH01161459A publication Critical patent/JPH01161459A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To remarkably facilitate the simulation and the monitor of the signal of a bus by allowing a memory to store the movement of the signal of the bus with the aid of a sequensor, reading the data of the memory to the outside and monitoring it when the request of the bus is simulated with the aid of a microprocessor. CONSTITUTION:The microprocessor 1 controlled by the program of a local memory 9 executes access for the data bus part 4 and the address bus part 5 of an exclusive bus in an exclusive bus cycle through an interface 6 and simulates the request of the leased bus. On the other hand, the movement of the signal of the data bus part 4 and the address bus part 5 of the exclusive bus is stored in a First In and First Out system in the memory group 7 by the sequence 8. Therefore, when the data of the memory group 7 is successively read by returning to the old one and simultaneously displayed on an external display device through an input/output mechanism 10 or printed out, the movement of the exclusive bus can be recognized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、計算機のバスを監視するバスデバッガ装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a bus debugger device that monitors a computer bus.

(従来の技術) 計算機のバスを監視するには、デバイスとやり取りする
信号を観測したり、バスに適当な電圧を与えたりする必
要がある。従来、信号の観測にはバスのビン、多くはバ
ックボードのビンに論理解析器を接続し、トリガ状の波
形を観測していた。
(Prior Art) To monitor a computer bus, it is necessary to observe signals exchanged with devices and to apply an appropriate voltage to the bus. Conventionally, signals were observed by connecting a logic analyzer to a bus bin, often a backboard bin, and observing the trigger-like waveform.

また、バスに適当な電圧を与えるには、直流?汀の陽極
を接続したり、接地点に接続したりして、いわゆるスタ
ティックに行っていた。
Also, to give the appropriate voltage to the bus, is it direct current? It was done statically by connecting the anode on the shore or connecting it to the ground point.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のバス監視に用いる論理解析器のチャネル
数がバスの信号線の本数に比べて格段に少ないがために
、同様な動作を何回も繰返さなければならないという問
題点があった。
Since the number of channels of the above-mentioned conventional logic analyzer used for bus monitoring is much smaller than the number of signal lines of the bus, there is a problem in that the same operation must be repeated many times.

また、バスの信号の変化をダイナミックにシミュレート
することができないため、バススレーブ単体での試験が
できないという問題点もあった。
Another problem is that it is not possible to dynamically simulate changes in bus signals, making it impossible to test the bus slave alone.

この発明は上記の問題点を解決するためになされたもの
で、バスの信号のシミュレートおよびモニタを容易に行
うことができ、しかも、バススレーブ単体の試験が可能
なバスデバッガ装置を得ることを目的とする。
The present invention was made in order to solve the above problems, and aims to provide a bus debugger device that can easily simulate and monitor bus signals, and can also test a single bus slave. purpose.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るバスデバッガ装置は、バスに信号を送り
込むことのできるマイクロプロセッサと、このマイクロ
プロセッサおよびバスの両方からアクセスすることので
きるメモリと、バスの信号の動きをメモリに記憶させる
シーケンサとを備えたものである。
A bus debugger device according to the present invention includes a microprocessor that can send signals to a bus, a memory that can be accessed from both the microprocessor and the bus, and a sequencer that stores the movement of signals on the bus in the memory. It is prepared.

(作用) この発明においては、マイクロプロセッサによりバスの
リクエストをシミュレートすると共に、このバスの信号
の動きをメモリに記憶させ、このメモリのデータを外部
に読出してモニタするようになっているため、バスの信
号の動きのシミュレートおよびモニタが著しく容易化さ
れ、しかも、パススレーブ単体の試験も可能となる。
(Function) In this invention, a bus request is simulated by a microprocessor, the movement of this bus signal is stored in a memory, and the data in this memory is read out to the outside for monitoring. Simulating and monitoring bus signal behavior is significantly facilitated, and testing of individual pass slaves is also possible.

(実施例) 以下、この発明の一実施例を図について説明する。図に
おいて(1)は汎用のマイクロプロセッサ、(2)はこ
のマイクロプロセッサのデータバス、(3)は同じくこ
のマイクロプロセッサのアドレスバス、(4)はデバッ
グ対象としての計算機の専用パスのデータバス部、(5
)はこの専用バスのアドレスバス部、(6)はマイクロ
プロセッサ(1)のデータバス(2) およびアドレス
バス(3) と、専用バスのデータバス部(4) およ
びアドレスバス部(5)との間に設けられたインタフェ
ース、(7)は専用バスとマイクロプロセッサ(1) 
 との両方からアクセスすることのできるメモリ群、(
8) は専用バスのサイクルで制御されるシーケンサ、
(9) はマイクロプロセッサ(1)のみからアクセス
されるローカルメモリ、(10)はマイクロプロセッサ
(1)の入出力機構である。なお、これらの装置は専用
バスのスロットに直接実装できるように専用バスのサイ
ズのカード1枚に装着されている。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. In the figure, (1) is a general-purpose microprocessor, (2) is the data bus of this microprocessor, (3) is the address bus of this microprocessor, and (4) is the data bus section of the dedicated path of the computer to be debugged. ,(5
) is the address bus part of this dedicated bus, (6) is the data bus part (2) and address bus (3) of the microprocessor (1), and the data bus part (4) and address bus part (5) of the dedicated bus. The interface (7) provided between the dedicated bus and the microprocessor (1)
A memory group that can be accessed from both (
8) is a sequencer controlled by cycles of a dedicated bus,
(9) is a local memory accessed only by the microprocessor (1), and (10) is the input/output mechanism of the microprocessor (1). Note that these devices are attached to a single card of the size of the dedicated bus so that they can be directly mounted in the slot of the dedicated bus.

上記のように構成された本実施例の動作を以下に説明す
る。
The operation of this embodiment configured as described above will be explained below.

ローカルメモリ(9)のプログラムによって制御される
マイクロプロセッサ(1)が専用バスのデータバス部(
4)およびアドレスバス部(5)へ、インタフェース(
6)を介して、専用パスサイクルでアクセスし、専用バ
スのリクエストをシミュレートする。
A microprocessor (1) controlled by a program in a local memory (9) runs a data bus section (
4) and address bus section (5), to the interface (
6) to access in a dedicated path cycle and simulate a dedicated bus request.

一方、専用バスのデータバス部(4)およびアドレスバ
ス部(5)の信号の動きはシーケンサ(8) により先
入れ 、先出しくFirst In、 First 0
ut)方式でメモリ群(7)に記憶される。
On the other hand, the movement of signals in the data bus section (4) and address bus section (5) of the dedicated bus is controlled by the sequencer (8) as follows: First In, First 0.
ut) method in the memory group (7).

従って、マイクロプロセッサ(1)を用いて、メモリ群
(7)のデータを順に古い方へ遡って読出すと共に、入
出力機構(10)を介して外部の表示装置に表示したり
、プリントアウトしたりすれば専用バスの動きを把握す
ることができる。
Therefore, using the microprocessor (1), the data in the memory group (7) is read out in order from the oldest to the oldest, and the data is displayed on an external display device or printed out via the input/output mechanism (10). You can understand the movements of private buses by looking at the following information.

ここで、これらの装置は専用バスのサイズのカード1枚
に装着されているので、扱いが非常に便利であり、また
、この装置は汎用のマイクロプロセッサを用いているの
で、その制御用プログラムを財産として蓄積することが
できる。
Since these devices are installed on a single card the size of a dedicated bus, handling is very convenient, and since this device uses a general-purpose microprocessor, its control program can be run easily. It can be accumulated as an asset.

なお、上記実施例ではマイクロプロセッサのバスおよび
専用バスが共に、アドレス用とデータ用とに分離された
、いわゆる分離型のバスの監視について説明したが本発
明はこれに限定されるものではなく、共用型のバスでも
プロトコル制御によって上述したと同様のシミュレート
およびモニタが可能である。
In the above embodiment, the microprocessor bus and the dedicated bus are both separated into addresses and data, which is the so-called separated bus monitoring. However, the present invention is not limited to this. Even with a shared bus, the same simulation and monitoring as described above is possible through protocol control.

(発明の効果) 以上の説明によって明らかなように、この発明によれば
、マイクロプロセッサによりバスのリクエストをシミュ
レートすると、シーケンサがこのバスの信号の動きをメ
モリに記憶させ、このメモリのデータを外部に読出して
モニタすることができるので、バスの信号のシミュレー
トおよび千二夕が著しく容易化され、しかも、パススレ
ーブ単体の試験も可能になるという効果がある。
(Effects of the Invention) As is clear from the above explanation, according to the present invention, when a bus request is simulated by a microprocessor, the sequencer stores the movement of signals on the bus in memory, and stores the data in this memory. Since it can be read out and monitored externally, bus signal simulation and control are greatly facilitated, and furthermore, it is possible to test a single pass slave.

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

図はこの発明の一実施例の構成を示すブロック図である
。 (1):マイクロプロセッサ (4):専用バスのデータバス部 (5) : 専用バスのアドレスバス部(7):メモリ
群 (8):シーケンサ (9):ローカルメモリ
The figure is a block diagram showing the configuration of an embodiment of the present invention. (1): Microprocessor (4): Data bus section of dedicated bus (5): Address bus section of dedicated bus (7): Memory group (8): Sequencer (9): Local memory

Claims (1)

【特許請求の範囲】[Claims] バスにて伝送される信号の動きをシミュレートおよびモ
ニタをするバスデバッガ装置において、前記バスに信号
を送り込むマイクロプロセッサと、このマイクロプロセ
ッサおよび前記バスの両方からアクセスすることのでき
るメモリと、前記バスの信号の動きを前記メモリに記憶
させるシーケンサとを備え、前記マイクロプロセッサに
より前記バスのリクエストをシミュレートすると共に、
前記シーケンサにより前記バスの信号の動きを前記メモ
リに記憶させ、このメモリのデータを外部に読出してモ
ニタすることを特徴とするバスデバッガ装置。
A bus debugger device for simulating and monitoring the movement of signals transmitted on a bus, comprising: a microprocessor that sends signals to the bus; a memory that can be accessed by both the microprocessor and the bus; a sequencer for storing signal movements in the memory, and simulating requests on the bus by the microprocessor;
A bus debugger device characterized in that the sequencer causes the movement of signals on the bus to be stored in the memory, and the data in the memory is read out to the outside for monitoring.
JP62319704A 1987-12-17 1987-12-17 Bus debugger device Pending JPH01161459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62319704A JPH01161459A (en) 1987-12-17 1987-12-17 Bus debugger device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62319704A JPH01161459A (en) 1987-12-17 1987-12-17 Bus debugger device

Publications (1)

Publication Number Publication Date
JPH01161459A true JPH01161459A (en) 1989-06-26

Family

ID=18113248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62319704A Pending JPH01161459A (en) 1987-12-17 1987-12-17 Bus debugger device

Country Status (1)

Country Link
JP (1) JPH01161459A (en)

Similar Documents

Publication Publication Date Title
US5850512A (en) Bus analyzer and method for testing internal data paths thereof
EP0077147A2 (en) Monitor unit for data processor
JPH0434110B2 (en)
JPH0775013B2 (en) Data event recorder and OEMI channel activity monitor
US5115502A (en) Method and apparatus for determining internal status of a processor using simulation guided by acquired data
JPH035626B2 (en)
US4070705A (en) Simulation apparatus
US6311303B1 (en) Monitor port with selectable trace support
EP0062978A2 (en) Apparatus for assisting fault-finding in data processing systems
CN105183954A (en) PXI based serial bus health monitoring platform
JPH01161459A (en) Bus debugger device
JPH02121039A (en) Load prediction simulation system for computer system
JPS59202547A (en) Debugging device
JP2765659B2 (en) Self-test method for data processing equipment
JPH0447857B2 (en)
JPH03163635A (en) Computer operating state display device
JPS6180070A (en) Ic tester
JPS62212739A (en) Large scale integrated circuit
JPH0368037A (en) Program developing device
JPS63244240A (en) Information processor
JPH01162947A (en) Trace controller
JPS6212541B2 (en)
JPH05250278A (en) System for inspecting input/output device control program
GB2198563A (en) Testing real-time target systems
JPS6134635A (en) Testing system of program control type device