JPH0296846A - Logic analyzer - Google Patents

Logic analyzer

Info

Publication number
JPH0296846A
JPH0296846A JP63247515A JP24751588A JPH0296846A JP H0296846 A JPH0296846 A JP H0296846A JP 63247515 A JP63247515 A JP 63247515A JP 24751588 A JP24751588 A JP 24751588A JP H0296846 A JPH0296846 A JP H0296846A
Authority
JP
Japan
Prior art keywords
channels
memory
data
logic analyzer
digital information
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
JP63247515A
Other languages
Japanese (ja)
Inventor
Kenji Tanshige
丹重 憲治
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 JP63247515A priority Critical patent/JPH0296846A/en
Publication of JPH0296846A publication Critical patent/JPH0296846A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To effectively utilize a logic analyzer by varying the data memory capacity of the logic analyzer by means of the number of use channels. CONSTITUTION:A use channel number setting means 9 sets the number of the channels of digital information which require writing. A selector 10 sequentially writes digital information having the set number of the channels into the memory 5 of the channels which correspond to or which do not correspond to the number of the channels. Thus, the memory capacity can be enlarged when the number of the channels of digital information is small, and the logic analyzer can effectively be utilized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マイクロプロセラf′すどの解析対象装置
の動作状態をトレースして解析するロジックアナライザ
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a logic analyzer that traces and analyzes the operating state of a device to be analyzed, such as a microprocessor f'.

〔従来の技術〕[Conventional technology]

第2図は例えば電子雑誌「エレクトロニクス」第27巻
12号1177〜1188頁に示された従来のロジック
アナライザを示すブロック接続図でお夛、図において、
1は解析対象装置で、動作履歴がトレースされ、かつ解
析されるマイクロプロセッサなどである。2はコンパレ
ータで、解析対象装置1から一例としてアドレス情報、
データ情報。
FIG. 2 is a block connection diagram showing a conventional logic analyzer shown in, for example, the electronic magazine "Electronics" Vol. 27, No. 12, pages 1177-1188.
Reference numeral 1 denotes a device to be analyzed, such as a microprocessor whose operation history is traced and analyzed. 2 is a comparator that receives, for example, address information from the analysis target device 1;
Data information.

コントロール信号、ステータス信号、工5−tHtaな
どを入力データS1として取込む。このコンパレータ2
は上記のように取込んだ入力データS1の論理レベル、
即ち1″か”0″かを判定し、たとえばアドレス情報及
びデータ情報を論理レベル入力データS2として、コン
トロール信号、ステータス信号及びエラー情報を論理レ
ベル制御信号S3としてそれぞれバッファメモリ3及び
クロックジェネレータ4へ出力する。3はバッファメモ
リで、これがコンパレータ2からの論理レベル入力デー
タS2を一時的に蓄えてバッファメモリ出力データS5
としてデータメモリ5及びトリガジェネレータ6へ出力
する。4はクロックジェネレータで、これはコンパレー
タ2からの論理レベル制御信号83に基づいて、バック
アメモリ制御信号S4データメモリ制御信号S6.タイ
ミング信号としてのトリガジェネレータ制御信号S7を
生成し、それぞれバックアメモリ3.データメモリ5及
びトリガジェネレータ6へ出力する。このトリガジェネ
レータ6はバク7アメモリ3から与えられるバッファメ
モリ出力データS5及びクロックジェネレータ4から与
えられるトリガジェネレータ制御信号S7に基づいてト
リガ及びトレース条件、即ちデータメモリ5からのデー
タの出力のタイミングあるいはどのようなデータをどの
ような条件で選択するか等の設定及び判定を行い、トリ
ガ信号S8を生成してデータメモリ5に与える。
Control signals, status signals, 5-tHta, etc. are taken in as input data S1. This comparator 2
is the logic level of the input data S1 imported as above,
That is, it is determined whether it is 1" or "0", and for example, address information and data information are sent as logic level input data S2, and control signals, status signals, and error information are sent as logic level control signals S3 to the buffer memory 3 and clock generator 4, respectively. 3 is a buffer memory, which temporarily stores the logic level input data S2 from the comparator 2 and outputs the buffer memory output data S5.
It is output to the data memory 5 and trigger generator 6 as 4 is a clock generator which generates backup memory control signals S4 data memory control signals S6 . A trigger generator control signal S7 as a timing signal is generated, and each backup memory 3. Output to data memory 5 and trigger generator 6. This trigger generator 6 determines the trigger and trace conditions based on buffer memory output data S5 given from the buffer memory 3 and trigger generator control signal S7 given from the clock generator 4, that is, the timing of data output from the data memory 5, or The trigger signal S8 is generated and given to the data memory 5 after making settings and determinations such as under what conditions such data should be selected.

データメモリ5はバックアメモリ3から出力されるバッ
ファメモリ出力データS5をデータメモリ制御信号S6
に従って時系列的に蓄え、また蓄えたデータを上述のト
リガジェネレータ6から与えられるトリガ信号S8に従
ってデータメモリ出力データS9として出力する。7は
表示ジェネレータでこれがデータメモリ5から出力され
るデータメモリ出力データS9を表示データSIOに変
換して出力する。8はCRTデイスプレィで、これが表
示データS10に従って解析結果の表示を行う。
The data memory 5 transfers the buffer memory output data S5 output from the backup memory 3 to the data memory control signal S6.
Accordingly, the stored data is stored in time series according to the trigger signal S8 given from the trigger generator 6 described above as data memory output data S9. 7 is a display generator which converts the data memory output data S9 outputted from the data memory 5 into display data SIO and outputs the same. 8 is a CRT display, which displays the analysis results in accordance with display data S10.

このように構成された従来のロジックアナライザの動作
は以下の如くである。
The operation of the conventional logic analyzer configured in this way is as follows.

解析対象装置1からロジックアナライザに取込まれる入
力データS1.即ちアドレス情報、データ情報、コント
ロール信号、ステータス信号、エラー情報等はコンパレ
ータ2により論理レベルが判定されて”1″またはO”
の2値デイジタル情報に変換される。
Input data S1. taken in from the analysis target device 1 to the logic analyzer. In other words, the logic level of address information, data information, control signals, status signals, error information, etc. is determined by the comparator 2 and is set to "1" or O.
is converted into binary digital information.

コンパレータ2からバッファメモリ3へはアドレス情報
、データ情報が論理レベル入力データS2としてバッフ
ァメモリ3に与えられる。またクロックジェネレータ4
へはコントロール信号、ステータス信号、エラー情報が
論理レベル制御信号S3として与えられ、これによシク
ロツクジェネレータ4はバッファメモリ制御信号S4を
生成してバッファメモリ3へ与える。バッファメモリ3
はバッファメモリ制御信号S4に従ってコンパレータ2
から解析対象装置1に同期して論理レベル入力データS
2のデータを取込み、蓄える。
Address information and data information are supplied from the comparator 2 to the buffer memory 3 as logic level input data S2. Also clock generator 4
A control signal, a status signal, and error information are given to the buffer memory 3 as a logic level control signal S3, and the cyclic generator 4 generates a buffer memory control signal S4 and supplies it to the buffer memory 3. buffer memory 3
is the comparator 2 according to the buffer memory control signal S4.
Logical level input data S is synchronized with the analysis target device 1 from
Capture and store the data from step 2.

バックアメモリ3に蓄えれたデータは、りσツクジェネ
レータ4からデータメモリ5に与えられるデータメモリ
制御信号S6に従って順次データメモリ5が続出し、格
納する。
The data stored in the backup memory 3 is sequentially transferred to the data memory 5 and stored therein in accordance with the data memory control signal S6 given to the data memory 5 from the stock sigma generator 4.

このデータメモリ5への格納について、8g3図で説明
する。この第3図は4チヤンネルのロジックアナライザ
を例として示している。これによれば1チヤンネルに対
し決ったメモリ容!−(ここでは、IKビット)のメモ
リを固定して使用し、IKビット容量のこのメモリがい
りばいになると、またこのメモリの始めのメモリアドレ
スから格納する。そしてトリガジェネレータ6からの信
号によってメモリへの書込みを禁止し、表示ジェネレー
タ7を通してCRTデイスプレィ8ヘデータヲ表示する
This storage in the data memory 5 will be explained with reference to Figure 8g3. FIG. 3 shows a four-channel logic analyzer as an example. According to this, the memory capacity is determined for one channel! - (in this case, IK bits) memory is fixedly used, and when this memory with IK bit capacity becomes full, data is stored again from the first memory address of this memory. Then, writing to the memory is inhibited by a signal from the trigger generator 6, and the data is displayed on the CRT display 8 through the display generator 7.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のロジックアナライザは以上のように構成されてい
るので、1チヤンネル当シのデータメモリ5の容量が固
定されていることによシ、その容量以上のデータを解析
することは不可能であるほか、使用していないチャンネ
ルのデータメモリ5を有効に使用していない場合がある
などの問題点があった。
Since the conventional logic analyzer is configured as described above, since the capacity of the data memory 5 per channel is fixed, it is impossible to analyze data exceeding that capacity. However, there are problems in that the data memory 5 of unused channels may not be used effectively.

この発明は上記のような問題点を解消するため罠なされ
たもので、使用チャンネル数によってデータメモリの容
量を可変とすることKよってデータメモリを有効に使用
できるロジックアナライザを得ることを目的とする。
This invention was made to solve the above-mentioned problems, and an object of the present invention is to provide a logic analyzer that can effectively use the data memory by making the capacity of the data memory variable depending on the number of channels used. .

〔課題を解決するだめの手段〕[Failure to solve the problem]

この発明に係るロジックアナライザは、書込みを必要と
するディジタル情報のチャンネル数を使用チャンネル数
設定手段によシ設定し、この設定したチャンネル数のデ
ィジタル情報を、セレクタによってこのチャンネル数に
対応しおよび対応しないチャンネルの上記メモリに順次
書き込ませるようにしたものである。
In the logic analyzer according to the present invention, the number of channels of digital information that needs to be written is set by the number of channels to be used setting means, and the digital information of the set number of channels is set by the selector to correspond to and correspond to the number of channels. In this configuration, data is sequentially written to the memory of the channels that are not used.

〔作用〕[Effect]

この発明におけるセレクタは、設定した特定チャンネル
のディジタル情報を、この特定チャンネルに対応するチ
ャンネルのデータメモリ上のメモリのほか、その特定チ
ャンネルに対応しないチャンネルのメモリにも、順次書
込みを行えるようKし、これによってディジタル情報の
チャンネル数が少ない場合に、メモリ容量を拡大できる
ようにする。
The selector of the present invention is designed to sequentially write the digital information of a set specific channel into the memory on the data memory of the channel corresponding to this specific channel, as well as into the memory of a channel that does not correspond to the specific channel. This makes it possible to expand the memory capacity when the number of digital information channels is small.

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図において、2は解析対象装置から取込んだデータを論
理レベル変換してディジタル情報として出力するコンパ
レータ、3は一旦そのディジタル情報を蓄えるバッファ
メモリ、5はディジタル情報を蓄える1チャンネル当、
91にビットのメモリを備えたデータメモリ(ここでは
4チヤンネル)、S9はデータメモリ5の出力データ、
Iは出力データS9をジェネレートして表示装置へ出力
するための表示ジェネレータ、6は従来技術で説明した
トリガジェネレータ、4はデータメモリ5への書込みを
コントロールするクロックジェネレータ、9は使用チャ
ンネル数設定手段としての使用チャンネル数設定スイッ
チ、10は4チヤンネルのディジタル情報から1チヤン
ネルのディジタル情報をセレクトするセレクタである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, 2 is a comparator that converts the logic level of data taken in from the device to be analyzed and outputs it as digital information, 3 is a buffer memory that temporarily stores the digital information, and 5 is a per-channel unit that stores digital information.
91 is a data memory with bit memory (here, 4 channels), S9 is the output data of data memory 5,
I is a display generator for generating the output data S9 and outputting it to the display device, 6 is the trigger generator explained in the prior art, 4 is a clock generator that controls writing to the data memory 5, and 9 is a setting for the number of channels used. A switch 10 for setting the number of channels to be used is a selector for selecting one channel of digital information from four channels of digital information.

また、11〜14は4つのセレクタ10とともにデータ
メモリ5の各チャンネルご七のメモリに対する書込み制
御信号を出力するロジック、15はデータメモリからの
検出信号を受けてロジック11〜14にセレクタ動作信
号を出力するロジック制御回路である。
Further, 11 to 14 are logics that output a write control signal for each channel of the data memory 5 together with the four selectors 10, and 15 is a logic that outputs a selector operation signal to the logics 11 to 14 in response to a detection signal from the data memory. This is a logic control circuit that outputs.

次に動作を説明する。まず、ディジタル情報の使用チャ
ンネル数を使用チャンネル数設定用スイッチ9で設定す
る。このチャンネル数はスイッチSt 、Soのオン、
オフ状態を選択することにより、第1表に示すように設
定される。
Next, the operation will be explained. First, the number of channels to be used for digital information is set using the switch 9 for setting the number of channels to be used. This number of channels is when switches St and So are on,
By selecting the off state, settings are made as shown in Table 1.

第1表 ここで、例えば使用チャンネル数を、S、をOFF。Table 1 Here, for example, turn off the number of channels used, S.

SoをONにして1チヤンネルとする。Turn on So to set channel 1.

すると、セレクタ10によりデータメモリ5へのディジ
タル情報はすべて1チヤンネルのデータライン上のもの
が選択される。また、データメモリ5への書込みを許可
するデータメモリ5への書込み制御信号C8は、各セレ
クタ10とロジック11〜UKより第2表のようにIK
ビット毎に順次セレクトされる。
Then, the selector 10 selects all the digital information to be sent to the data memory 5 on the data line of one channel. Further, a write control signal C8 to the data memory 5 that permits writing to the data memory 5 is sent to IK from each selector 10 and logic 11 to UK as shown in Table 2.
Each bit is selected sequentially.

したがって、1チヤンネルのディジタル情報がIKビッ
ト書き込まれると、そのメモリはそのまま保持し、その
ディジタル情報の続く部分を次のチャンネルのメモリへ
唇き込み開始する。このようにして、1チャンネル使用
時は4にビットtでのディジタル情報を次々に蓄えるこ
とが可能になる。
Therefore, once the IK bits of digital information for one channel are written, that memory is held as is, and the next portion of the digital information begins to be written into the memory of the next channel. In this way, when one channel is used, digital information at bit t can be stored one after another in 4 bits.

なお、上記実施例では4チヤンネルのロジックアナライ
ザについて説明したが、これよシ多いチャンネル数のロ
ジックアナライザでも同様の回路形式にて同様の効果か
得られる。
In the above embodiment, a four-channel logic analyzer has been described, but the same effect can be obtained with a logic analyzer having a larger number of channels using the same circuit type.

また、上記実施例では使用チャンネル数設定手段として
使用チャンネル数設定スイッチ9を用いたものを示した
が、他の設定装置または設定部品を使用してもよい。
Further, in the above embodiment, the channel number setting switch 9 is used as the channel number setting means, but other setting devices or setting parts may be used.

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

以上のように、この発明によればロジックアナライザの
データメモリ容量を使用チャンネル数によ)可変とする
ように構成したので、多チヤンネル小容量のロジックア
ナライザを、小チャンネル多容量のロジックアナライザ
に変えて使用することが可能となシ、ロジックアナライ
ザの有効利用を図れるほか、用途によりて従来2台のロ
ジックアナライザを準備しておく必要があったものを、
1台のロジックアナライザにて、大容量のディジタル情
報を蓄えておくことができるものが得られる効果がある
As described above, according to the present invention, the data memory capacity of the logic analyzer is configured to be variable (depending on the number of channels used), so a multi-channel, small-capacity logic analyzer can be changed to a small-channel, multi-capacity logic analyzer. In addition to making effective use of the logic analyzer, it is possible to use the logic analyzer effectively, and depending on the application, it is possible to use two logic analyzers instead of the conventional one.
This has the advantage that a single logic analyzer can store a large amount of digital information.

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

第1図はこの発明の一実施例によるロジックアナライザ
を示すブロック接続図、第2図は従来のロジックアナラ
イザを示すブロック接続図、第3図は従来のロジックア
ナライザにおけるデータメモリの詳細を示すブロック接
続図である。 1は解析対象装置、2はコンパレータ、9は使用チャン
ネル数設定手段(使用チャンネル数設定スイッチ)、1
0はセレクタ。 なお、図中、同一符号は同一、又は相当部分を示す。 特許出願人 三菱電機株式会社。 代理人 弁理士 1) 澤 博 昭 (外2名) [1
FIG. 1 is a block connection diagram showing a logic analyzer according to an embodiment of the present invention, FIG. 2 is a block connection diagram showing a conventional logic analyzer, and FIG. 3 is a block connection diagram showing details of data memory in a conventional logic analyzer. It is a diagram. 1 is a device to be analyzed, 2 is a comparator, 9 is a means for setting the number of used channels (number of used channels setting switch), 1
0 is a selector. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant Mitsubishi Electric Corporation. Agent Patent attorney 1) Hiroshi Sawa (2 others) [1

Claims (1)

【特許請求の範囲】[Claims] 解析対象装置から取込んだデータを論理レベル変換して
ディジタル情報として出力するコンパレータと、このコ
ンパレータが出力する複数チャンネルのディジタル情報
を蓄えるとともに、これらの各チャンネルに対応するメ
モリを持ったデータメモリとを備えたロジックアナライ
ザにおいて、書込みを必要とする上記ディジタル情報の
チャンネル数を設定する使用チャンネル数設定手段と、
この設定したチャンネル数のディジタル情報を、このチ
ャンネル数に対応しおよび対応しないチャンネルの上記
メモリに順次書込ませるセレクタとを設けたことを特徴
とするロジックアナライザ。
A comparator that converts the logic level of the data taken in from the device to be analyzed and outputs it as digital information, and a data memory that stores the digital information of multiple channels output by this comparator and has memory corresponding to each of these channels. In a logic analyzer equipped with a logic analyzer, a number of channels to be used setting means for setting the number of channels of the digital information that requires writing;
A logic analyzer comprising a selector for sequentially writing digital information of the set number of channels into the memory of channels corresponding to and not corresponding to the set number of channels.
JP63247515A 1988-10-03 1988-10-03 Logic analyzer Pending JPH0296846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63247515A JPH0296846A (en) 1988-10-03 1988-10-03 Logic analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63247515A JPH0296846A (en) 1988-10-03 1988-10-03 Logic analyzer

Publications (1)

Publication Number Publication Date
JPH0296846A true JPH0296846A (en) 1990-04-09

Family

ID=17164631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63247515A Pending JPH0296846A (en) 1988-10-03 1988-10-03 Logic analyzer

Country Status (1)

Country Link
JP (1) JPH0296846A (en)

Similar Documents

Publication Publication Date Title
US4931723A (en) Automatic test system having a "true tester-per-pin" architecture
US4994732A (en) Automatic test system having a "true tester-per-pin" architecture
US4835675A (en) Memory unit for data tracing
US5481671A (en) Memory testing device for multiported DRAMs
EP0228332B1 (en) Automatic test system having a "true tester-per-pin" architecture
JPH11328995A (en) Memory testing device
US5559994A (en) Memory control apparatus permitting concurrent access by compressing addressing time window and multiplexing
JPH0296846A (en) Logic analyzer
US7246017B2 (en) Waveform measuring apparatus for measuring waveform data and writing measurement data to acquisition memory
JPS5990139A (en) Converting circuit of plural data
JP2595992B2 (en) Electronic musical instrument
JP3126535B2 (en) LSI test equipment
JPH0337886A (en) Memory write control circuit
JP3271155B2 (en) Data controller
JP2932627B2 (en) Display device
JPS59218544A (en) X-y recorder
JP3281898B2 (en) Memory mounted semiconductor device and memory test method
JPH0392027A (en) Time slot replacing circuit
JPH02153615A (en) Pattern generation circuit
JPH08237084A (en) Timing signal generating circuit
JPS61235956A (en) Event recording system
JPH05298194A (en) Inspection circuit of memory ic having plural pairs of data input/output terminals
JPH01296168A (en) Logic analyzer
JPH07234882A (en) Waveform measuring instrument
JPS6063653A (en) State history storage system of channel controller