JPH02146650A - Bus analyzer - Google Patents

Bus analyzer

Info

Publication number
JPH02146650A
JPH02146650A JP63301686A JP30168688A JPH02146650A JP H02146650 A JPH02146650 A JP H02146650A JP 63301686 A JP63301686 A JP 63301686A JP 30168688 A JP30168688 A JP 30168688A JP H02146650 A JPH02146650 A JP H02146650A
Authority
JP
Japan
Prior art keywords
address
memory
data
value
transfer
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
JP63301686A
Other languages
Japanese (ja)
Inventor
Masahiro Ito
正博 伊藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63301686A priority Critical patent/JPH02146650A/en
Publication of JPH02146650A publication Critical patent/JPH02146650A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To attain a simple and compact constitution of a bus analyzer by monitoring the address value of a transfer cycle, setting a corresponding bit when an address equal to the preceding one or an address following the preceding one is decided and storing the data on the transfer cycle. CONSTITUTION:The present data is stored in a memory 6 together with the present address when the present transfer address is different from the preceding transfer address and the value produced by an internal adder 4. When the present address is coincident with the preceding address, the same address bit is set and the present data is stored in the memory 6. While the next address bit is set and the present data is stored in the memory 6 when the present address is coincident with the value produced by the adder 4 contained in a bus analyzer. Thus it is not required to store the address data on all transfer cycles into the memory 6. As a result, the memory area can be reduced and a simple and compact bus analyzer is obtained.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、計算機システムに設りられてシステムの挙動
の解析に用いられるバス・アナライザに関するものであ
り、特に装置内の記憶領域の削減を図るものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a bus analyzer installed in a computer system and used for analyzing the behavior of the system. This is what we aim to do.

〈従来の技術〉 計算機システムには、動作の正常または異常を解析する
ため、バス・アナライザが用いられることがある。
<Prior Art> A bus analyzer is sometimes used in a computer system to analyze whether the operation is normal or abnormal.

このバス・アナライザはシステム・バス」二に送出され
るアドレス、データを転送サイクル毎に逐一メモリに記
憶し、オペレータはこのメモリを参照することにより、
システム動作を点検することができる。
This bus analyzer stores addresses and data sent to the system bus in memory one by one for each transfer cycle, and the operator can refer to this memory to
System operation can be checked.

〈発明か解決しようとする課題〉 最近は、システム・バスにおcする7゛ドレス、データ
幅が増大する傾向があり、バス・アナライザもこれに対
応してメモリ領域を増やさな(Jればならない。しかし
、メモリ領域を増やすためにはメモリ素子の個数を従来
の2倍、3倍も用意して設置しなりればならず、メモリ
の実装スペース、メモリ制御部等、バス・アナライザ自
身が大型になり、その構成も複雑になるという問題があ
った。
<Problem to be solved by the invention> Recently, there has been a tendency to increase the address and data width of the system bus, and the bus analyzer also needs to increase its memory area in response to this. However, in order to increase the memory area, it is necessary to prepare and install twice or even three times as many memory elements as before, and the bus analyzer itself has to deal with memory mounting space, memory control section, etc. There were problems in that it became large and its configuration became complicated.

本発明は、以上のような問題を解決するものであり、構
成簡単、小形なバス・アナライザを実現することをLI
的とする。
The present invention solves the above-mentioned problems, and aims to realize a bus analyzer with a simple configuration and a small size.
target

〈課題を解決するだめの手段〉 本発明は、転送アドレスを監視して前回アドレスと一致
するがどうが、内部で生成したアドレス値と一致するが
どうかをみてそれぞれ対応ビットを設定してその転送→
フーイクルのデータを格納するようにしたものであり、
その構成は次の通りである。
<Means for Solving the Problem> The present invention monitors the transfer address, checks whether it matches the previous address, and whether it matches the address value generated internally, sets corresponding bits, and transfers the address. →
It is designed to store Fuikuru data,
Its composition is as follows.

即ち、本発明は、前回の転送におけるアドレス値を保持
するレジスタと、このレジスタに保持された値と今回の
転送におけるアドレス値とを比較する第1の比較器と、
前記レジスタに保持された値にデータ・ハスの大きさに
応した値を加算する加算器と、この加算器の出力値と今
回アドレス値とを比較する第2の比較器と、メモリとを
(Iiiiえ、前記第1の比較器及び前記第2の比較器
で不−゛救出力がなされた場合に今回転送アドレス値及
び今回転送データを前記メモリに格納し、前記第1の比
較器から一致出力がなされた場合に同一アドレス・ビッ
トを設定して今回データを前記メモリに格納し、前記第
2の比較器から一致出力がなされた場合に次アドレス・
ビットを設定して今回データを前記メモリに格納する制
御手段を設けたことを特徴とするバス・アナライザであ
る。
That is, the present invention includes: a register that holds the address value in the previous transfer; a first comparator that compares the value held in this register with the address value in the current transfer;
An adder that adds a value corresponding to the size of the data lotus to the value held in the register, a second comparator that compares the output value of this adder with the current address value, and a memory ( Iiii, if the first comparator and the second comparator fail to rescue the current transfer address value and the current transfer data, the current transfer address value and the current transfer data are stored in the memory, and a match is detected from the first comparator. When an output is made, the same address bit is set and the current data is stored in the memory, and when a match is output from the second comparator, the next address bit is set.
The bus analyzer is characterized in that it is provided with a control means for setting a bit and storing current data in the memory.

く作 用〉 本発明のバス・アナライザは、転送サイクルにおけるア
ドレス、データについて、次の(イ〉(ロン、(ハ)の
ように動作する。
Functions The bus analyzer of the present invention operates as shown in the following (a) and (c) regarding addresses and data in a transfer cycle.

(イン今回転送アドレスか前回転送アドレス及び内部の
加算器で生成した値と異なる場合は、今回アドレスとと
もに今回データをメモリに格納する。
(If the current transfer address is different from the previous transfer address and the value generated by the internal adder, the current data is stored in the memory along with the current address.

(ロ)今回アドレスか前回アドレスと一致する場合は、
同一アドレス・ピッ1〜を設定して今回データをメモリ
に格納する。
(b) If the current address matches the previous address,
Set the same address pin 1~ and store the data this time in the memory.

(ハ)今回アドレスがハス・アナライザ自身の加算器で
生成した値に一致する場合は次アドレス・ヒラ1へを設
定して今回データをメモリに格納する。
(c) If the current address matches the value generated by the adder of the Hass analyzer itself, set the next address to Hira 1 and store the current data in the memory.

〈実施例〉 第1図は本発明を実施したバス・アナライザの構成ブロ
ック図である。
<Embodiment> FIG. 1 is a block diagram of a bus analyzer embodying the present invention.

この1ン1において、1はアドレス1データの転送に関
与するシステム・バス、2はシステム・バス1」二のア
ドレス値を保持するレジスタ、3はレジスタ2内の値と
今回転送アドレス値とを比較する第1の比較器、4はレ
ジスタ2内の値に転送するデータ幅に対応した値を加算
する加算器、5は加算器4の出力値と今回転送アドレス
値とを比較する第2の比較器、6はメモリである。
In this 1-in-1, 1 is the system bus involved in the transfer of address 1 data, 2 is the register that holds the address value of system bus 1, and 3 is the register that holds the value in register 2 and the current transfer address value. 4 is an adder that adds a value corresponding to the data width to be transferred to the value in register 2; 5 is a second comparator that compares the output value of adder 4 with the current transfer address value. Comparator 6 is memory.

ここで、加算器4は、レジスタ2に保持されるアドレス
値の次の転送アドレスを生成するように構成する。即ち
、転送するデータ幅か16ビツトの場合はレジスタ2内
の値を+2加算し、データ幅が32ピツトの場合は+4
加算する。尚、転送するデータは1バイ1〜く8ピツI
〜)単位であり、転送アドレスは常に転送データの先頭
バイトに対応する。
Here, the adder 4 is configured to generate the next transfer address for the address value held in the register 2. That is, if the data width to be transferred is 16 bits, add +2 to the value in register 2, and if the data width is 32 bits, add +4.
to add. In addition, the data to be transferred is 1 by 1 to 8 bits I.
~) unit, and the transfer address always corresponds to the first byte of the transfer data.

次にメモリ6の内部構成を第2図に示す。Next, the internal configuration of the memory 6 is shown in FIG.

メモリ6は、同一アドレス・ピッl−頭域121次アド
レス・ビット領域F2、記憶領域Xが割り当てられる。
The memory 6 is allocated with the same address, bit area, 121st address bit area F2, and storage area X.

さて、このように構成された本発明のバス・アナライザ
の動作を次に説明する。
Now, the operation of the bus analyzer of the present invention configured as described above will be explained next.

はじめの転送サイクル(イ)にあっては、転送アドレス
a1、転送データd1ともそのままメモリ6の記憶領域
Xに格納される。このとき同一アドレス・ビット領域1
−″I9次アドレス・ピッ1へ領域F2には′0″か設
定される。
In the first transfer cycle (a), both the transfer address a1 and the transfer data d1 are stored in the storage area X of the memory 6 as they are. At this time, the same address bit area 1
-''I9th address pin 1 '0'' is set in area F2.

次の転送サイクル(ロ)では、システム・パスI上に送
出された今回アドレスa2がレジスタ2に保持されてい
る前回のアドレスm a、 ]と第1の比較器3にて比
較される。
In the next transfer cycle (b), the current address a2 sent on the system path I is compared with the previous address m a, ] held in the register 2 in the first comparator 3.

この動作と同時に、レジスタ2内の値a1は加算器4に
てデータ幅に対1,6する値が加算され、この加算器4
の出力値a1*とシステム・バス1トに送出された今回
アドレスa2とか第2の比較器5にて比較される。
Simultaneously with this operation, the value a1 in the register 2 is added with a value that is 1,6 times the data width in the adder 4, and the adder 4
The second comparator 5 compares the output value a1* with the current address a2 sent to the system bus 1.

今回アドレスa、 2がレジスタ2内に保持されている
前回アドレスa1と一致する場合は、第1の比較器3の
一致出力により、メモリ6に同一アドレス・ビットド1
”]’”か設定され、このときのデータd2が同時に格
納される。次アドレス・ビットIパ2は“′0°′のま
まである。
If the current address a, 2 matches the previous address a1 held in the register 2, the matching output of the first comparator 3 causes the same address bit 1 to be stored in the memory 6.
"]'" is set, and the data d2 at this time is stored at the same time. The next address bit I/2 remains at "'0°".

次の転送サイクル(ハ)では、新たに転送アドレスa3
.データd3が送出されたとする。
In the next transfer cycle (c), a new transfer address a3 is added.
.. Assume that data d3 is sent.

前回の転送サイクル<17)と同様にして、第1の比軸
器3では、今回アドレスa3とレジスタ2の前回アドレ
ス値a、2とを比較する。第2の比較器5では今回アド
レスa、 3と、加算器4の出力値a2*とを比較する
In the same manner as in the previous transfer cycle (<17), the first axis ratio device 3 compares the current address a3 with the previous address values a and 2 of the register 2. The second comparator 5 compares the current address a,3 with the output value a2* of the adder 4.

そして、第1の比較器3からは不一致出力、第2の比較
器5からは一致出力がなされると、メモリ6において、
同一アドレス・ピッ1〜F1は“0パが設定され、次ア
ドレス・ピッl−F2は“1′″か設定される。そして
、このとき送出されたデータd3か領域Xに格納される
Then, when the first comparator 3 outputs a mismatch and the second comparator 5 outputs a match, the memory 6 stores
The same address pins 1-F1 are set to "0", and the next address pins I-F2 are set to "1'".Then, the data d3 sent out at this time is stored in area X.

次の転送サイクル(ニ)で転送されるアドレスa4につ
いて、第1.第2の比較器3.5のいずれの出力も不一
致であれば、同一アドレス・ピッ1−Fl’″0″、次
アドレス・ビットYS2とも0′。
Regarding the address a4 transferred in the next transfer cycle (d), the first . If both outputs of the second comparator 3.5 do not match, the same address bit 1-Fl'''0'' and the next address bit YS2 are both 0'.

か設定されてアドレスa4.データd4かメモリ6に格
納される。
or address a4. The data d4 is stored in the memory 6.

以下、同様な動作か繰り返される。Thereafter, the same operation is repeated.

このように、本発明のバス・アナライ→ノ“は、システ
ム・バスに送出されたアドレス値が前回と−致した時に
同一アドレス・ビットを設定し、内部で生成した加算値
に一致した時に次アドレス・ビットを設定し、前回アド
レス及び加算値に一致しなかっなときは当該アドレス、
データの両方をメモリに書き込む。
In this way, the bus analyzer of the present invention sets the same address bit when the address value sent to the system bus matches the previous address value, and sets the next address bit when it matches the internally generated addition value. Set the address bit, and if it does not match the previous address and the added value, the corresponding address,
Write both data to memory.

最後に、システムの挙動を解析する場合は、メモリ6を
参照し、同一アドレス・ビット2次アドレス・ピッ1〜
の両者とも設定されていなりれば、データ、アドレスと
もにメモリから読み出し、同一アドレス・ビットか設定
されていれば、前回サイクルと同一のアドレスに対応す
るデータか格納されているとみなし、次アドレス・ピッ
1〜が設定されていれは、前回サイクルのアドレスの次
のアドレスに対応するデータが格納されているとみなし
、システム解析操作を行う。
Finally, when analyzing the behavior of the system, refer to memory 6 and select the same address bits secondary address bits 1 to 2.
If both are set, both the data and address are read from the memory, and if the same address bit is set, it is assumed that data corresponding to the same address as the previous cycle is stored, and the next address is read. If P1~ is set, it is assumed that data corresponding to the address next to the address of the previous cycle is stored, and a system analysis operation is performed.

〈発明の効果〉 本発明のバス・アナライザによれば、転送サイクルにお
けるアドレス値を監視し、前回アドレスと同一または前
回アドレスの次アドレスと判断した時は、同一アドレス
・ビットまたは次アドレス・ビットを設定してその時の
データのみを記憶するので、全ての転送サイクルにおけ
るアドレス、データをメモリに格納する必要はなく、そ
の分メモリ領域を削減することができる。従って、構成
か簡単となり、小型なバス・アナライザが得られる。
<Effects of the Invention> According to the bus analyzer of the present invention, the address value in the transfer cycle is monitored, and when it is determined that the address is the same as the previous address or the next address of the previous address, the same address bit or the next address bit is Since it is set and only the data at that time is stored, there is no need to store addresses and data for all transfer cycles in the memory, and the memory area can be reduced accordingly. Therefore, the configuration is simple and a compact bus analyzer can be obtained.

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

第1図は本発明を実施したバス・アナライザの構成ブロ
ック図、第2図は本発明のバス・アナライザに設置され
るメモリの内部構成を表わす図である。 1・・・システム・バス、2・・・レジスタ、3・・・
第1の比較器、4・・・加算器、5・・・第2の比較器
、6・・・メモリ。
FIG. 1 is a block diagram of the configuration of a bus analyzer embodying the present invention, and FIG. 2 is a diagram showing the internal configuration of a memory installed in the bus analyzer of the present invention. 1...System bus, 2...Register, 3...
First comparator, 4... Adder, 5... Second comparator, 6... Memory.

Claims (1)

【特許請求の範囲】[Claims] (1)前回の転送におけるアドレス値を保持するレジス
タと、このレジスタに保持された値と今回の転送におけ
るアドレス値とを比較する第1の比較器と、前記レジス
タに保持された値にデータ・バスの大きさに応じた値を
加算する加算器と、この加算器の出力値と今回アドレス
値とを比較する第2の比較器と、メモリとを備え、前記
第1の比較器及び前記第2の比較器で不一致出力がなさ
れた場合に今回転送アドレス値及び今回転送データを前
記メモリに格納し、前記第1の比較器から一致出力がな
された場合に同一アドレス・ビットを設定して今回デー
タを前記メモリに格納し、前記第2の比較器から一致出
力がなされた場合に次アドレス・ビットを設定して今回
データを前記メモリに格納する制御手段を設けたことを
特徴とするバス・アナライザ。
(1) A register that holds the address value in the previous transfer; a first comparator that compares the value held in this register with the address value in the current transfer; The first comparator includes an adder that adds a value according to the size of the bus, a second comparator that compares the output value of the adder with the current address value, and a memory. When the second comparator outputs a mismatch, the current transfer address value and the current transfer data are stored in the memory, and when the first comparator outputs a match, the same address bit is set and the current transfer data is stored in the memory. A bus characterized in that it is provided with a control means for storing data in the memory, and setting a next address bit when a match is output from the second comparator to store the current data in the memory. analyzer.
JP63301686A 1988-11-29 1988-11-29 Bus analyzer Pending JPH02146650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63301686A JPH02146650A (en) 1988-11-29 1988-11-29 Bus analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63301686A JPH02146650A (en) 1988-11-29 1988-11-29 Bus analyzer

Publications (1)

Publication Number Publication Date
JPH02146650A true JPH02146650A (en) 1990-06-05

Family

ID=17899920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63301686A Pending JPH02146650A (en) 1988-11-29 1988-11-29 Bus analyzer

Country Status (1)

Country Link
JP (1) JPH02146650A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6286442A (en) * 1985-10-14 1987-04-20 Hitachi Ltd Data processor
JPS62109140A (en) * 1985-11-08 1987-05-20 Nec Corp Tracing circuit for program processor
JPS63123140A (en) * 1986-11-12 1988-05-26 Nec Corp History information storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6286442A (en) * 1985-10-14 1987-04-20 Hitachi Ltd Data processor
JPS62109140A (en) * 1985-11-08 1987-05-20 Nec Corp Tracing circuit for program processor
JPS63123140A (en) * 1986-11-12 1988-05-26 Nec Corp History information storage device

Similar Documents

Publication Publication Date Title
US20050257102A1 (en) Masking within a data processing system having applicability for a development interface
JPH02146650A (en) Bus analyzer
TWI819976B (en) Packet identifying system and packet identifying method
JPH0844621A (en) Processing unit and method for generation of memory access cycle at inside of processing unit
JPS6270947A (en) Control system for debug interruption
JPH0773115A (en) Test method of memory of computer system
JPH01297746A (en) Memory diagnosing system
JPS61292756A (en) Program debug auxiliary circuit
JPH02168314A (en) Memory control system in semiconductor disk device
JPH07154257A (en) A/d converter circuit
JP2658342B2 (en) Data processing device
JP2754786B2 (en) Information processing device
KR100261080B1 (en) Circuit and method for controlling communication between PCI bus and ISA bus
JPH10161940A (en) Checking method for memory
JPH0266668A (en) Data tracing method for multi-processor bus
JPH0573437A (en) Memory parity circuit
JPH03276357A (en) I/o address conversion system
JPH05216779A (en) Memory monitor circuit
JPH04112251A (en) Microcomputer
JPS63123140A (en) History information storage device
JPS61262945A (en) Storage device
JPS59211149A (en) Comparison stopping system
JPH04359326A (en) History information recording system
JPH0362142A (en) Integrated circuit for controlling cache memory
WO2012137599A1 (en) Semiconductor device