JPS6216691Y2 - - Google Patents

Info

Publication number
JPS6216691Y2
JPS6216691Y2 JP12769581U JP12769581U JPS6216691Y2 JP S6216691 Y2 JPS6216691 Y2 JP S6216691Y2 JP 12769581 U JP12769581 U JP 12769581U JP 12769581 U JP12769581 U JP 12769581U JP S6216691 Y2 JPS6216691 Y2 JP S6216691Y2
Authority
JP
Japan
Prior art keywords
series
data
memory
address
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.)
Expired
Application number
JP12769581U
Other languages
Japanese (ja)
Other versions
JPS5832476U (en
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 filed Critical
Priority to JP12769581U priority Critical patent/JPS5832476U/en
Publication of JPS5832476U publication Critical patent/JPS5832476U/en
Application granted granted Critical
Publication of JPS6216691Y2 publication Critical patent/JPS6216691Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Description

【考案の詳細な説明】 本考案は、非同期に動作する2系列以上の動作
を時間的に関連づけて解析することができるマイ
クロプロセツサアナライザに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprocessor analyzer that can temporally correlate and analyze two or more series of operations that operate asynchronously.

近年、マイクロプロセツサ(以下単にμPと略
す)の普及に伴い、μPをその内部に組込んだμ
P応用機器が多数生産されるようになつてきてい
る。μPアナライザは、このようなμP応用機器
のソフトウエア及びハードウエア上の不具合を見
つけ出し解析するために用いられる。このような
μPアナライザとして、μPの動作と周辺回路の
動作を同時サンプリングすることができるものが
ある。この場合、μPの動作と周辺回路の動作は
同期がとれていてもよいしとれていなくてもよ
い。しかしながら、μPの動作と周辺回路の動作
が互いに非同期の場合、従来装置では両系列のメ
モリが独立なため、両系列の時間的なつながりに
関する情報が得られない。
In recent years, with the spread of microprocessors (hereinafter simply referred to as μP),
Many P-applied devices are being produced. The μP analyzer is used to find and analyze defects in the software and hardware of such μP application equipment. Some such μP analyzers are capable of simultaneously sampling the operation of the μP and the operation of peripheral circuits. In this case, the operation of μP and the operation of the peripheral circuits may or may not be synchronized. However, when the operation of the μP and the operation of the peripheral circuits are asynchronous with each other, in the conventional device, since the memories of both series are independent, information regarding the temporal connection between the two series cannot be obtained.

第1図は、従来装置の2系列のデータのサンプ
ル状態を示す図である。同図において、S1はμP
の動作系列、S2は周辺回路の動作系列を示す。
TP1,TP2はそれぞれ系列S1,S2のトリガポイン
トを示す。系列S1の場合は、TP1からある一定時
間遅れてプログラムデータがトレースされる。斜
線部Aはトレース領域である。系列S2の場合、
TP2の前後の一定時間幅内のプログラムデータが
トレースされる。斜線部Bはトレース領域であ
る。このように、2系列のプログラムデータが解
析できるμPアナライザにおいては、各系列ごと
にトリガポイントを設定することができる。しか
しながら、前述したようにトレース領域AとB間
には時間的なつながりがない。即ち、トリガポイ
ントの発生タイミングに関する情報が得られな
い。
FIG. 1 is a diagram showing sample states of two series of data in a conventional device. In the same figure, S 1 is μP
S2 shows the operation sequence of the peripheral circuit.
TP 1 and TP 2 indicate the trigger points of the series S 1 and S 2 , respectively. In the case of series S 1 , program data is traced after a certain fixed time delay from TP 1 . The shaded area A is the trace area. For series S 2 ,
Program data within a certain time width before and after TP 2 is traced. The shaded area B is the trace area. In this way, in the μP analyzer that can analyze two series of program data, a trigger point can be set for each series. However, as described above, there is no temporal connection between trace areas A and B. That is, information regarding the timing of occurrence of the trigger point cannot be obtained.

本考案は、このような点に鑑みてなされたもの
で、非同期に動作する2系列以上のデイジタルデ
ータを格納するメモリを各系列ごとに設け、かつ
少くとも1つの系列についてはメモリのアドレス
を記憶するアドレスカウンタを設けることにより
データ取込時に各系列間の時間的情報も併せて記
憶することができるようにして強力なデータ解折
能力をもたせたμPアナライザを実現したもので
ある。以下、図面を参照して本考案を詳細に説明
する。
The present invention was developed in view of these points, and includes providing a memory for each series to store two or more series of digital data that operate asynchronously, and storing the memory address for at least one series. By providing an address counter for data acquisition, temporal information between each series can also be stored at the time of data acquisition, thereby realizing a μP analyzer with powerful data analysis ability. Hereinafter, the present invention will be described in detail with reference to the drawings.

第2図は、本考案装置の動作原理を示す図であ
る。同図において、S1は第1の系列、S2は第2の
系列である。かつ、横軸は時系列である。ここ
で、S1系列としては前記したμPの動作に関する
系列、S2系列としては周辺回路の動作に関する系
列を考えることができる。各系列上に付した三角
記号はトリガポイントを示す。図に示すように、
S1系列とS2系列の動作は非同期である。従つて、
各系列ごとに独立にサンプリングすると、取込ん
だデータは各系列ごとに完全に独立したものとな
り時間的な情報が得られないことは前述したとお
りである。そこで、図に示すように、S1系列上の
任意の時刻T1におけるトリガポイントTP3でサン
プリングしたとき、S2系列のアドレスも同時に記
憶させる。このようにして、S1系列のメモリにS2
系列のサンプリング時におけるアドレスが記憶さ
れる。従つて、S1系列のデータとS2系列のデータ
間が時間的なつながりをもつことになる。即ち、
S1系列のデータとS2系列のデータを時間的に結び
つけて解析することが可能となる。
FIG. 2 is a diagram showing the operating principle of the device of the present invention. In the figure, S 1 is the first series, and S 2 is the second series. Moreover, the horizontal axis is a time series. Here, the S 1 series can be considered as a series related to the operation of the μP described above, and the S 2 series can be considered as a series related to the operation of the peripheral circuit. The triangular symbol above each series indicates a trigger point. As shown in the figure,
The operations of the S1 series and the S2 series are asynchronous. Therefore,
As mentioned above, if each series is sampled independently, the captured data will be completely independent for each series, and no temporal information will be obtained. Therefore, as shown in the figure, when sampling is performed at the trigger point TP 3 at an arbitrary time T 1 on the S 1 series, the address of the S 2 series is also stored at the same time. In this way, the memory of the S 1 series has S 2
The address at the time of sampling the series is stored. Therefore, there is a temporal connection between the S 1 series data and the S 2 series data. That is,
It becomes possible to temporally link and analyze the data of the S 1 series and the data of the S 2 series.

第3図は、本考案装置のメモリ格納部の一実施
例を示す電気的接続図である。同図において、1
は第1の系列のサンプリングデータを格納するメ
モリである。DB1は、該メモリへデータをのせる
データバスである。CP1は、メモリ1へのデータ
書込みパルスである。2は、第2の系列のサンプ
リングデータを格納するメモリである。DB2は、
該メモリへデータをのせるデータバスである。
CP2は、メモリ2へのデータ書込みパルスであ
る。3は、該書込みパルスを計数するアドレスカ
ウンタである。該カウンタの出力は、データとし
てメモリ1に入力する。このように構成された回
路の動作を以下に説明する。
FIG. 3 is an electrical connection diagram showing one embodiment of the memory storage section of the device of the present invention. In the same figure, 1
is a memory that stores the first series of sampling data. DB 1 is a data bus that carries data to the memory. CP 1 is a data write pulse to memory 1. 2 is a memory that stores the second series of sampling data. DB 2 is
This is a data bus that carries data to the memory.
CP 2 is a data write pulse to memory 2. 3 is an address counter that counts the write pulses. The output of the counter is input to the memory 1 as data. The operation of the circuit configured in this way will be explained below.

メモリ1には、第1の系列のデータと共にカウ
ンタ3の出力が入力している。従つて、書込みパ
ルスCP1がメモリ1に入力すると、該メモリには
データバスDB1上のデータとカウンタ3の出力が
格納される。ところで、カウンタ3の出力は第2
の系列の書込みパルスCP2の計数値である。従つ
て、カウンタ3の出力は、第2系列のメモリ2の
アドレスを示していることになる。即ち、第1の
系列であるトリガポイントでデータがサンプリン
グされたとき、メモリ1には当該データのみなら
ずサンプリング時点における第2系列のメモリの
アドレスが同時に格納される。
The output of the counter 3 is input to the memory 1 along with the first series of data. Therefore, when the write pulse CP 1 is input to the memory 1, the data on the data bus DB 1 and the output of the counter 3 are stored in the memory. By the way, the output of counter 3 is the second
is the count value of the series of write pulses CP 2 . Therefore, the output of the counter 3 indicates the address of the second series of memory 2. That is, when data is sampled at the first series of trigger points, the memory 1 stores not only the data but also the memory address of the second series at the time of sampling.

このように、第1の系列のメモリに第2系列の
メモリアドレスが記憶される結果、第1系列のデ
ータ解析時に必要に応じて第2系列の該当する時
点のデータを呼出すことができる。従つて、デー
タ解析能力が大幅に向上する。以上の説明では2
系列の場合について説明したが、2系列に限る必
要がないことはいうまでもない。3系列以上の系
列についても、同様に本考案を適用することがで
きる。この場合、カウンタの数を系列の数に応じ
て増やす必要がある。例えば4系列のシステムと
して構成すると、カウンタの数が3個必要にな
る。そして、これらカウンタ出力は、第1系列の
メモリ1に入力し、書込みパルスCP1で同時に当
該メモリに書込まれる。
As a result of storing the memory addresses of the second series in the memory of the first series in this manner, it is possible to recall the data at the corresponding point in time of the second series as needed when analyzing the data of the first series. Therefore, data analysis ability is greatly improved. In the above explanation, 2
Although the case of series has been explained, it goes without saying that it is not necessary to limit the number of series to two series. The present invention can be similarly applied to three or more series. In this case, it is necessary to increase the number of counters according to the number of series. For example, if the system is configured as a four-line system, three counters will be required. These counter outputs are then input to the first series of memories 1, and are simultaneously written into the memory by the write pulse CP1 .

以上、詳細に説明したように、本考案によれば
非同期に動作する2系列以上のデイジタルデータ
を格納するメモリを各系列ごとに設け、少くとも
1つの系列についてはメモリのアドレスを記憶す
るアドレスカウンタを設けることにより、データ
取込時に各系列間の時間的情報も併せて記憶する
ことができるようにして強力なデータ解折能力を
もたせたμPアナライザを実現することができ
る。
As explained above in detail, according to the present invention, a memory for storing two or more series of digital data that operates asynchronously is provided for each series, and an address counter that stores the address of the memory for at least one series is provided. By providing this, it is possible to realize a μP analyzer that can also store temporal information between each series at the time of data acquisition, and has a powerful data analysis ability.

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

第1図は、従来装置の動作を示す図、第2図は
本考案装置の動作原理を示す図である。第3図
は、本考案装置のメモリ格納部の一実施例を示す
電気的接続図である。 1,2……メモリ、3……アドレスカウンタ。
FIG. 1 is a diagram showing the operation of the conventional device, and FIG. 2 is a diagram showing the operating principle of the device of the present invention. FIG. 3 is an electrical connection diagram showing one embodiment of the memory storage section of the device of the present invention. 1, 2...Memory, 3...Address counter.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 非同期に動作する2系列以上のデイジタルデー
タを系列ごとに設けられたメモリに取込んで解析
するマイクロプロセツサアナライザにおいて、前
記系列のうち少くとも1つの系列についてはメモ
リのアドレスを記憶するアドレスカウンタを持
ち、別の系列でデイジタルデータをサンプリング
するに際し前記アドレスカウンタの内容を同時に
記憶するようにしたことを特徴とするマイクロプ
ロセツサアナライザ。
In a microprocessor analyzer that reads two or more series of digital data that operate asynchronously into a memory provided for each series and analyzes the data, an address counter for storing the address of the memory is provided for at least one of the series. 1. A microprocessor analyzer, characterized in that the contents of the address counter are simultaneously stored when sampling digital data in different series.
JP12769581U 1981-08-28 1981-08-28 microprocessor analyzer Granted JPS5832476U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12769581U JPS5832476U (en) 1981-08-28 1981-08-28 microprocessor analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12769581U JPS5832476U (en) 1981-08-28 1981-08-28 microprocessor analyzer

Publications (2)

Publication Number Publication Date
JPS5832476U JPS5832476U (en) 1983-03-03
JPS6216691Y2 true JPS6216691Y2 (en) 1987-04-27

Family

ID=29921416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12769581U Granted JPS5832476U (en) 1981-08-28 1981-08-28 microprocessor analyzer

Country Status (1)

Country Link
JP (1) JPS5832476U (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61244255A (en) * 1985-04-18 1986-10-30 Sumitomo Special Metals Co Ltd Linear motor of voice coil type

Also Published As

Publication number Publication date
JPS5832476U (en) 1983-03-03

Similar Documents

Publication Publication Date Title
JPH0635993B2 (en) Data acquisition device
US4338677A (en) Multi-clock data capture circuit
JPS6216691Y2 (en)
JPS6137082Y2 (en)
JPS6142186Y2 (en)
JP2894106B2 (en) Delay analysis method
JPH0581087A (en) Processor monitoring system
JPS6391750A (en) Branch address tracing device
US4748624A (en) System for determining occurrence sequence of sampled data
Tripp A ring traffic monitor
US5450602A (en) Two stage register for capturing asynchronous events and subsequently providing them to a processor without loss or duplication of the captured events
SU1108453A1 (en) Device for function-dynamic checking of logic circuits
JPH0799505B2 (en) Microprocessor analyzer
JPS6222900Y2 (en)
JPH02239349A (en) Circuit for detecting exception of virtual computer
JPS60250443A (en) Analyzer of computer program
JPH0645261Y2 (en) Logic analyzer
JPS63229559A (en) Logging device for shared memory
JPS6249936B2 (en)
JPH07111353B2 (en) Moving average device
JPH02242345A (en) Microprocessor/analyzer
Holy et al. Non-intrusive tool for software testing and debugging: an actual industrial application example
JPH02105945A (en) Microcomputer with trigger output
JPH0695913A (en) Debugging device
JPH03131926A (en) Data processing circuit