JPH05113903A - Address coincidence detecting circuit - Google Patents

Address coincidence detecting circuit

Info

Publication number
JPH05113903A
JPH05113903A JP3275934A JP27593491A JPH05113903A JP H05113903 A JPH05113903 A JP H05113903A JP 3275934 A JP3275934 A JP 3275934A JP 27593491 A JP27593491 A JP 27593491A JP H05113903 A JPH05113903 A JP H05113903A
Authority
JP
Japan
Prior art keywords
address
comparison
signal
register
circuit
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
JP3275934A
Other languages
Japanese (ja)
Inventor
Takumi Yamazaki
琢己 山崎
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.)
NEC Ibaraki Ltd
Original Assignee
NEC Ibaraki Ltd
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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP3275934A priority Critical patent/JPH05113903A/en
Publication of JPH05113903A publication Critical patent/JPH05113903A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To report the detection of the coincidence of addresses when an event showing the designated address coincidence event generating frequency occurs or an event exceeding said event generating frequency occurs. CONSTITUTION:A comparator 3 compares the address stored in an address register 1 with the value of a comparison address register 2. Then the comparator 3 outputs a comparison signal 4 when the coincidence is confirmed through the comparison. An address coincidence signal generating circuit 7 compares the value of a frequency designating register 6 with the output of a counter circuit 5 after the signals 4 are counted by the circuit 5. Then a coincidence signal 8 is outputted when the coincidence is confirmed through the comparison of the circuit 7. At the same time, a flip-flop 9 is set. If a mode register 10 is set in a mode where the OR is secured between both signals 4 and 8, the detection of address coincidence is reported every time an event occurs thereafter (signal 4 is valid).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明のアドレス一致検出回路、
特に情報処理装置のデバッグにおける主記憶アドレスあ
るいはマイクロプログラムアドレスのアドレス一致検出
回路に関する。
BACKGROUND OF THE INVENTION Address coincidence detection circuit of the present invention,
In particular, the present invention relates to an address match detection circuit for a main memory address or a microprogram address in debugging an information processing device.

【0002】[0002]

【従来の技術】従来のこの種のアドレス一致検出回路
は、バスのトレース回路、マイクロプログラムの実行ト
レース回路、主記憶アクセス時のアドレス(以下単に主
記憶アドレスと記す)あるいはマイクロプログラムの実
行アドレス(以下単にマイクロアドレスと記す)と目的
とする事象発生時のアドレス(以下比較アドレス)とを
比較し、その結果が一致した場合には、実行中のソフト
ウェア命令の終了後、あるいはマイクロプログラム命令
の実行終了後に割込み等を発生させることにより、目的
とする事象の発生を検出するようにしている。
2. Description of the Related Art A conventional address match detection circuit of this type is a bus trace circuit, a microprogram execution trace circuit, an address at the time of main memory access (hereinafter simply referred to as main memory address) or a microprogram execution address ( Below, simply referred to as a micro address) and the address at the time of the target event (hereinafter referred to as comparison address) are compared. If the results match, after the end of the software instruction being executed, or the execution of the micro program instruction. By generating an interrupt or the like after the end, the occurrence of a target event is detected.

【0003】[0003]

【発明が解決しようとする課題】この従来のアドレス一
致検出回路では、主記憶アドレスあるいはマイクロアド
レスと比較アドレスの一致を検出すると、直にアドレス
一致信号を出力し、事象の発生を報告していた。しか
し、目的とする事象は最初に発生したアドレス一致の時
の事象とは限らない場合もある。この為、目的とする事
象が発生するまでに何回もアドレス一致検出による事象
発生の報告が行われるので、評価あるいは障害解析時の
効率が悪いという問題点がある。
In this conventional address match detection circuit, when a match between the main memory address or the micro address and the comparison address is detected, an address match signal is directly output to report the occurrence of the event. .. However, the target event may not always be the event at the time of the first address match. Therefore, the occurrence of an event is reported many times before the occurrence of the intended event, so that there is a problem that the efficiency at the time of evaluation or failure analysis is low.

【0004】[0004]

【課題を解決するための手段】本発明の回路は、情報処
理装置の評価あるいは障害解析の一手段であるアドレス
一致検出回路において、主記憶アドレスあるいはマイク
ロプログラムアドレスを格納するアドレスレジスタと、
前記主記憶アドレスあるいはマイクロプログラムアドレ
スと比較するアドレスを格納する比較アドレスレジスタ
と、前記比較の結果により、一致した時に比較信号を出
力する比較回路と、前記比較信号をカウントするカウン
ト回路と、前記比較信号の発生回数を指定する回数指定
レジスタと、前記カウント回路の出力及び前記回数指定
レジスタの値が一致した時にアドレス一致信号を生成す
るアドレス一致信号生成回路とを有することを特徴とす
る。
SUMMARY OF THE INVENTION The circuit of the present invention comprises an address register for storing a main memory address or a microprogram address in an address coincidence detection circuit which is one means for evaluating or fault analysis of an information processing device,
A comparison address register that stores an address to be compared with the main memory address or the microprogram address, a comparison circuit that outputs a comparison signal when the comparison results in a match, a count circuit that counts the comparison signal, and the comparison It is characterized by comprising a number-of-times designation register for designating the number of times of signal generation, and an address-match signal generation circuit for generating an address-match signal when the output of the count circuit and the value of the number-of-times register match.

【0005】[0005]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0006】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0007】図1において、1は主記憶アドレスあるい
はマイクロアドレスを格納するアドレスレジスタであ
り、どちらのアドレスを格納するかは任意である。2は
事象発生時の主記憶アドレスあるいはマイクロアドレス
と比較するアドレスを格納する比較アドレスレジスタ、
3はアドレスレジスタ1と比較アドレスレジスタ2に格
納されたアドレスを比較する比較回路であり、比較結果
が一致した時に比較信号4を有効とする。
In FIG. 1, reference numeral 1 is an address register for storing a main memory address or a micro address, and which address is to be stored is arbitrary. 2 is a comparison address register for storing an address to be compared with the main memory address or the micro address when an event occurs,
Reference numeral 3 is a comparison circuit for comparing the addresses stored in the address register 1 and the comparison address register 2, and validates the comparison signal 4 when the comparison results match.

【0008】5は比較信号4をカウントするカウント回
路、6はカウント回路5のカウント回数を指定する回数
指定レジスタ、7はカウント回路5の出力と回数指定レ
ジスタ6の値が一致した時に、アドレス一致信号8を生
成し、更にフリップフロップ9をセットするアドレス一
致信号生成回路である。
Reference numeral 5 is a count circuit for counting the comparison signal 4, 6 is a count designation register for designating the number of counts of the count circuit 5, and 7 is an address match when the output of the count circuit 5 and the value of the count designation register 6 match. This is an address coincidence signal generation circuit for generating the signal 8 and further setting the flip-flop 9.

【0009】10はフリップフロップ9がセットされて
いると比較信号4をアドレス一致信号8に論理和するか
否かを指定するモードレジスタ、11はANDゲート、
12はORゲート、13はアドレス一致を報告するアド
レス一致報告信号である。
Reference numeral 10 is a mode register for designating whether or not the comparison signal 4 is logically ORed with the address coincidence signal 8 when the flip-flop 9 is set, 11 is an AND gate,
Reference numeral 12 is an OR gate, and reference numeral 13 is an address match report signal for reporting address match.

【0010】次に本発明の動作について説明する。Next, the operation of the present invention will be described.

【0011】評価あるいは障害解析の際に、事象発生時
の主記憶アドレスあるいばマイクロアドレスを比較アド
レスレジスタ2にセットし、目的とする事象は何回目の
事象発生の時なのか、あるいは何回目以降の事象発生な
のかにより、その回数を回数指定レジスタ6にセットし
ておく。更に、必要ならカウント回路5及びフリップフ
ロップ9の初期化とモードレジスタ10に値をセットす
る。
At the time of evaluation or failure analysis, the main memory address at the time of event occurrence, ie, the micro address, is set in the comparison address register 2, and the target event is at what time of event occurrence or at what time of event occurrence. The number of times is set in the number-of-times designation register 6 depending on whether the subsequent event occurs. Further, if necessary, the count circuit 5 and the flip-flop 9 are initialized and values are set in the mode register 10.

【0012】次に、ソフトウェア命令等の実行を開始す
る。今、主記憶アドレスによるアドレス一致の検出を行
うものとすると、主記憶アクセス時に主記憶アドレスが
アドレスレジスタ1にセットされ、比較回路3で比較ア
ドレスレジスタ2と比較される。比較結果が一致ならば
比較信号4が有効となり、カウント回路5に入力されて
カウントされる。
Next, execution of software instructions and the like is started. Now, assuming that the address match is detected by the main memory address, the main memory address is set in the address register 1 at the time of accessing the main memory, and is compared with the comparison address register 2 in the comparison circuit 3. If the comparison result is a match, the comparison signal 4 becomes valid, is input to the counting circuit 5, and is counted.

【0013】そして、アドレス一致信号生成回路7によ
り、カウント回路5と回数指定レジスタ6が比較され、
カウント回路5が回数指定レジスタ6にセットされてい
る回数をカウントしたならアドレス一致信号8が有効と
なり、同時に、フリップフロップ9がセットされる。
Then, the address match signal generation circuit 7 compares the count circuit 5 with the number of times designation register 6,
When the count circuit 5 counts the number of times set in the number-of-times specifying register 6, the address match signal 8 becomes valid, and at the same time, the flip-flop 9 is set.

【0014】アドレス一致信号8はORゲート12を介
してアドレス一致報告信号13となる。そして、モード
レジスタ10が比較信号4をアドレス一致信号に論理和
する様にセットされていると、次の事象発生時に比較信
号4とフリップフロップ9の値とモードレジスタ10の
値がANDゲート11で論理積され、ORゲート12で
アドレス一致信号8に論理和され、アドレス一致報告信
号13となる。これにより、回数指定以降の事象発生で
もアドレス一致の報告が可能となる。
The address match signal 8 becomes an address match report signal 13 via the OR gate 12. Then, when the mode register 10 is set to logically add the comparison signal 4 to the address coincidence signal, the comparison signal 4 and the value of the flip-flop 9 and the value of the mode register 10 are combined by the AND gate 11 when the next event occurs. It is logically ANDed, and is ORed with the address match signal 8 by the OR gate 12, and becomes the address match report signal 13. As a result, it is possible to report the address match even if an event occurs after the number of times is specified.

【0015】[0015]

【発明の効果】以上説明したように本発明は、主記憶ア
ドレスあるいはマイクロアドレスと比較アドレスが一致
した時に出力される比較信号をカウントするカウント回
路と、比較信号の発生回数を指定する回数指定レジスタ
を設け、カウント回路での比較信号のカウント回数が回
数指定レジスタの値と一致した時にアドレス一致信号を
有効とすることにより、目的とする事象発生を容易に検
出できる。
As described above, according to the present invention, the counting circuit for counting the comparison signal output when the main memory address or the micro address and the comparison address match, and the number designation register for designating the number of generations of the comparison signal. The target event occurrence can be easily detected by providing the address match signal when the count number of the comparison signal in the count circuit matches the value of the number designation register.

【0016】また、カウント回路と回数指定レジスタが
一致した時にセットされるフリップフロップと、比較信
号をアドレス一致信号に論理和するが否かが指定できる
モードレジスタを設けることにより、目的とする事象発
生以降のアドレス一致も容易に報告できるという効果を
有する。
Further, by providing a flip-flop set when the count circuit and the number-of-times designating register match, and a mode register capable of designating whether or not the comparison signal is logically ORed with the address matching signal, a target event occurrence occurs. The subsequent address coincidence can be easily reported.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 アドレスレジスタ 2 比較アドレスレジスタ 3 比較回路 4 比較信号 5 カウント回路 6 回数指定レジスタ 7 アドレス一致信号生成回路 8 アドレス一致信号 9 フリップフロップ 10 モードレジスタ 11 ANDゲート 12 ORゲート 13 アドレス一致報告信号 1 address register 2 comparison address register 3 comparison circuit 4 comparison signal 5 count circuit 6 number designation register 7 address match signal generation circuit 8 address match signal 9 flip-flop 10 mode register 11 AND gate 12 OR gate 13 address match report signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 情報処理装置の評価あるいは障害解析の
一手段であるアドレス一致検出回路において、 主記憶アドレスあるいはマイクロプログラムアドレスを
格納するアドレスレジスタと、 前記主記憶アドレスあるいはマイクロプログラムアドレ
スと比較するアドレスを格納する比較アドレスレジスタ
と、 前記比較の結果により、一致した時に比較信号を出力す
る比較回路と、 前記比較信号をカウントするカウント回路と、 前記比較信号の発生回数を指定する回数指定レジスタ
と、 前記カウント回路の出力及び前記回数指定レジスタの値
が一致した時にアドレス一致信号を生成するアドレス一
致信号生成回路とを有することを特徴とするアドレス一
致検出回路。
1. An address register for storing a main memory address or a microprogram address, and an address for comparing the main memory address or the microprogram address in an address coincidence detection circuit, which is one of means for evaluating or fault analysis of an information processing device. A comparison address register that stores the comparison signal, a comparison circuit that outputs a comparison signal when the results of the comparison match, a count circuit that counts the comparison signal, a number designation register that designates the number of times the comparison signal is generated, An address match detection circuit, comprising: an address match signal generation circuit that generates an address match signal when the output of the count circuit and the value of the number-of-times designating register match.
【請求項2】 前記アドレス一致信号生成回路は、前記
カウント回路の出力及び前記回数指定レジスタの値が一
致した時にアドレス一致信号を生成するとともに、フリ
ップフロップをセットするように動作し、 また、該フリップフロップのセット後に発生する前記比
較信号をアドレス一致信号に論理和するか否かが指定で
きるモードレジスタを設けたことを特徴とする請求項1
記載のアドレス一致検出回路。
2. The address coincidence signal generation circuit operates so as to generate an address coincidence signal and set a flip-flop when the output of the count circuit and the value of the number-of-times designating register coincide with each other, 2. A mode register capable of designating whether or not the comparison signal generated after setting a flip-flop is logically ORed with an address coincidence signal is provided.
Address match detection circuit described.
JP3275934A 1991-10-24 1991-10-24 Address coincidence detecting circuit Pending JPH05113903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3275934A JPH05113903A (en) 1991-10-24 1991-10-24 Address coincidence detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3275934A JPH05113903A (en) 1991-10-24 1991-10-24 Address coincidence detecting circuit

Publications (1)

Publication Number Publication Date
JPH05113903A true JPH05113903A (en) 1993-05-07

Family

ID=17562467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3275934A Pending JPH05113903A (en) 1991-10-24 1991-10-24 Address coincidence detecting circuit

Country Status (1)

Country Link
JP (1) JPH05113903A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62102340A (en) * 1985-10-29 1987-05-12 Toshiba Corp Coincidence detection circuit
JPS63238636A (en) * 1987-03-26 1988-10-04 Nec Corp Breakpoint system
JPS6486251A (en) * 1987-09-29 1989-03-30 Toshiba Corp Interrupting device in computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62102340A (en) * 1985-10-29 1987-05-12 Toshiba Corp Coincidence detection circuit
JPS63238636A (en) * 1987-03-26 1988-10-04 Nec Corp Breakpoint system
JPS6486251A (en) * 1987-09-29 1989-03-30 Toshiba Corp Interrupting device in computer

Similar Documents

Publication Publication Date Title
US5383192A (en) Minimizing the likelihood of slip between the instant a candidate for a break event is generated and the instant a microprocessor is instructed to perform a break, without missing breakpoints
US5717851A (en) Breakpoint detection circuit in a data processor and method therefor
US6052801A (en) Method and apparatus for providing breakpoints on a selectable address range
JPH05113903A (en) Address coincidence detecting circuit
JP2734234B2 (en) Information processing device
JPH03157739A (en) Performance measuring system for epu
JPH04145544A (en) Debugging device
JP2658342B2 (en) Data processing device
JPS59183443A (en) Debug device
JPH06202907A (en) Debug support device
JPS6051141B2 (en) Program runaway detection method
JPH02284238A (en) Program debugging device
JPS6270947A (en) Control system for debug interruption
JPH0736735A (en) Debugging device
JPH06195245A (en) Monitor timer device
JPH0844588A (en) Software development supporting device
JPH04225432A (en) Interruption processing time control system for one-chip microcomputer
JPH01175046A (en) Operation history storage device
JPH02234240A (en) Information processor
JPH0365739A (en) Control device
JPS60126740A (en) Prevention device of cpu runaway
JPH086821A (en) Microprocessor
JPH0258135A (en) Information processor
JPH05158747A (en) Microprogram controller
JPS6282439A (en) False trouble generating system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980303