JPH09114695A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH09114695A JPH09114695A JP7272790A JP27279095A JPH09114695A JP H09114695 A JPH09114695 A JP H09114695A JP 7272790 A JP7272790 A JP 7272790A JP 27279095 A JP27279095 A JP 27279095A JP H09114695 A JPH09114695 A JP H09114695A
- Authority
- JP
- Japan
- Prior art keywords
- trace
- master
- slave
- information
- tracer
- 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
Links
- 239000000700 radioactive tracer Substances 0.000 claims abstract description 38
- 230000015654 memory Effects 0.000 claims abstract description 32
- 230000010365 information processing Effects 0.000 claims description 13
- 238000000034 method Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 2
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は二重化チェック方式
(FRM)を採用した情報処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus which adopts a duplication check method (FRM).
【0002】[0002]
【従来の技術】従来のこの種の情報処理装置におけるト
レースは、FRMの対象となる各プロセッサのトレーサ
メモリに共に同じ内部情報をトレースしたり、マスタ/
スレーブ交互にトレーサメモリに内部情報をトレースす
るなどの制御によって行っている。2. Description of the Related Art In a conventional information processing apparatus of this type, the same internal information is traced in the tracer memory of each processor which is the target of FRM, and the master / master
The slaves are alternately controlled by tracing internal information in the tracer memory.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の情報処
理装置におけるトレース制御では、各プロセッサが同じ
内部情報をトレースする場合、またマスタ/スレーブ交
互にトレースした場合にもトレースメモリの容量に限度
があり、トレーサメモリの容量以上の内部情報を必要と
する障害が発生した場合には、障害解析が困難になると
いう問題点がある。In the trace control in the above-mentioned conventional information processing apparatus, the capacity of the trace memory is limited even when each processor traces the same internal information or when the master / slave is traced alternately. However, there is a problem that failure analysis becomes difficult when a failure occurs that requires more internal information than the capacity of the tracer memory.
【0004】[0004]
【課題を解決するための手段】本発明の情報処理装置
は、同構成の2つのプロセッサが、通常動作時には、内
部情報のトレースメモリへのトレースをも含めて同じ態
様で動作するが、所定の場合には、前記2つのプロセッ
サにおいて前記トレースが相互に異なる態様となること
を特徴とする。According to the information processing apparatus of the present invention, two processors having the same configuration operate in the same manner including the trace of internal information to the trace memory during normal operation. In this case, the traces in the two processors are different from each other.
【0005】[0005]
【発明の実施の形態】次に、本発明について図面を参照
して説明する。Next, the present invention will be described with reference to the drawings.
【0006】図1は本発明の一実施例のブロック図であ
り、2つのプロセッサ5及び10を有し、各プロセッサ
5,10はFRM機構をも含めて全く同じ構造で同じ動
作を行う。マスタ/スレーブ制御回路1は、プロセッサ
5及びプロセッサ10に対しマスタあるいはスレーブを
指示するマスタ/スレーブ制御信号2を出力する。トレ
ーサ制御回路3は、各プロセッサ5,10に対し、トレ
ース情報7,12について、通常の書き込み又は分岐命
令のみの書き込みを指示するモード及びマイクロプログ
ラムの書き込み制御を指示するトレーサ制御信号4を出
力する。FIG. 1 is a block diagram of an embodiment of the present invention, which has two processors 5 and 10, and each processor 5 and 10 performs the same operation with the same structure including the FRM mechanism. The master / slave control circuit 1 outputs a master / slave control signal 2 for instructing a master or a slave to the processors 5 and 10. The tracer control circuit 3 outputs, to the processors 5 and 10, a tracer control signal 4 for instructing the write control of the microprogram and the mode for instructing the normal write or the write of only the branch instruction for the trace information 7, 12. .
【0007】プロセッサ5のトレース部6は、トレース
書き込み回路8及びトレーサメモリA9で構成されてお
り、プロセッサ10のトレース部11はトレース書き込
み回路13及びトレースメモリ14で構成されている。
前述したように、プロセッサ5及びプロセッサ10は全
く同じ構造であるため、まとめて説明する。The trace unit 6 of the processor 5 is composed of a trace write circuit 8 and a tracer memory A9, and the trace unit 11 of the processor 10 is composed of a trace write circuit 13 and a trace memory 14.
As described above, since the processor 5 and the processor 10 have exactly the same structure, they will be collectively described.
【0008】トレーサメモリ9,トレーサメモリ14
は、それぞれトレース書き込み回路8,トレース書き込
み回路13によって編集されたトレース情報7,12を
保持する。なお、トレース情報7,12は、各プロセッ
サ5,10内のマイクロプログラムの命令単位の動作履
歴であり、全く同じデータである。トレース書き込み回
路8,13は、マスタ/スレーブ制御信号2,4によ
り、それぞれトレースメモリ9及びトレーサメモリ14
への書き込み制御を行う。Tracer memory 9 and tracer memory 14
Holds the trace information 7 and 12 edited by the trace writing circuit 8 and the trace writing circuit 13, respectively. The trace information 7 and 12 are operation histories of instruction units of microprograms in the processors 5 and 10, and are exactly the same data. The trace write circuits 8 and 13 receive the trace memory 9 and the tracer memory 14 respectively according to the master / slave control signals 2 and 4.
Write control to.
【0009】各トレーサ書き込み回路8,13は、マス
タ/スレーブ制御信号2によってマスタに指示された場
合は、トレーサ制御信号4に関係なくマイクロプログラ
ムの指示通りに自トレース情報7,12を自トレースメ
モリ9,14へ書き込む。また、スレーブに指定された
場合は、トレーサ制御信号4が分岐命令のみのトレース
情報の書き込みを指示した場合にのみ、自トレース情報
7又は12中の分岐命令のみを抽出して自トレースメモ
リ9又は14に書き込む。When the master is instructed by the master / slave control signal 2, the tracer write circuits 8 and 13 store their own trace information 7 and 12 according to the instructions of the microprogram regardless of the tracer control signal 4. Write to 9 and 14. Further, when the slave is designated, only when the tracer control signal 4 instructs the writing of the trace information of only the branch instruction, only the branch instruction in the own trace information 7 or 12 is extracted and the own trace memory 9 or Write to 14.
【0010】次に、本実施例の動作について説明する。
ここで、プロセッサ5がマスタ、プロセッサ10がスレ
ーブであるとして、以下に説明する。Next, the operation of this embodiment will be described.
Here, description will be given below assuming that the processor 5 is a master and the processor 10 is a slave.
【0011】この場合、マスタ/スレーブ制御回路1は
プロセッサ5のトレース書き込み回路8に対しマスタ
を、プロセッサ10のトレース書き込み回路13に対し
スレーブを指示するマスタ/スレーブ制御信号2を出力
している。トレーサ制御回路3は該情報処理装置の通常
動作時(運用時)に於いては、書き込み回路8及びトレ
ース書き込み回路13に対し通常の書き込みを指示する
モード及びマイクロプログラムの書き込み制御を指示す
るトレーサ制御信号4を出力する。よって、トレーサ書
き込み回路8及びトレーサ書き込み回路13は、マスタ
/スレーブ制御信号2に関係なく、それぞれトレーサ制
御信号4によって指示された通りのトレース情報7,1
2を各トレーサメモリ9,14に書き込む。従って、こ
のときの各トレースメモリの内容は同一となり、両者の
つき合せ照合により二重チェックが行なえる。In this case, the master / slave control circuit 1 outputs a master / slave control signal 2 instructing the trace writing circuit 8 of the processor 5 to be the master and the trace writing circuit 13 of the processor 10 to be the slave. The tracer control circuit 3, during normal operation (operation) of the information processing device, is a mode for instructing the write circuit 8 and the trace write circuit 13 to perform normal writing and a tracer control for instructing write control of the microprogram. The signal 4 is output. Therefore, the tracer write circuit 8 and the tracer write circuit 13 are irrespective of the master / slave control signal 2 and trace information 7, 1 as instructed by the tracer control signal 4, respectively.
2 is written in each tracer memory 9, 14. Therefore, the contents of each trace memory at this time are the same, and a double check can be performed by collating and matching the two.
【0012】次に、該情報処理装置のデバック時や障害
発生時には、トレーサ制御回路3が書き込み回路8及び
トレース書き込み回路13に対し分岐命令のみの書き込
み制御を指示するモード及びマイクロプログラムの書き
込み制御を指示するトレーサ制御信号4を出力する。ト
レーサ書き込み回路8はマスタであるためトレーサ制御
信号4の分岐命令のみの書き込みを指示するモードに関
係なく、通常のマイクロプログラムで指示されたトレー
ス情報7をトレーサメモリ9に書き込む。一方、トレー
サ書き込み回路13はスレーブであるため、トレーサ制
御信号4による分岐命令のみの書き込みを指示するモー
ド通りにトレーサ情報12の中の分岐命令のみを抽出し
てトレーサメモリ14に書き込む。なお、この場合はト
レーサ制御信号4によるマイクロプログラムの書き込み
の制御は無効となる。Next, when the information processing apparatus is debugged or a failure occurs, the tracer control circuit 3 instructs the write circuit 8 and the trace write circuit 13 to perform write control of only branch instructions and write control of the microprogram. The tracer control signal 4 for instructing is output. Since the tracer writing circuit 8 is the master, it writes the trace information 7 instructed by the normal microprogram into the tracer memory 9 regardless of the mode in which only the branch instruction of the tracer control signal 4 is instructed. On the other hand, since the tracer writing circuit 13 is a slave, only the branch instruction in the tracer information 12 is extracted and written in the tracer memory 14 according to the mode instructing the writing of only the branch instruction by the tracer control signal 4. In this case, the control of writing the microprogram by the tracer control signal 4 is invalid.
【0013】以上のようにして、トレースメモリ9に通
常のトレース情報を保持し、またトレースメモリ14に
はトレースメモリへの書き込みが抑止されるトレース情
報を含めた分岐命令のみのトレース情報を保持できる。As described above, the trace memory 9 can hold the normal trace information, and the trace memory 14 can hold the trace information of only the branch instruction including the trace information in which the writing to the trace memory is suppressed. .
【0014】本実施例では、マスタ側で保持でるトレー
サメモリの容量以上のトレース情報を必要とする障害が
発生した場合や、サプルーチン等でマスタ側がトレース
メモリへの書き込みを抑止しているトレース情報を必要
とする障害が発生した場合に、スレーブ側で分岐命令単
位のトレース情報を保持しておくことにより、より多く
のトレース情報が保持でき、障害の解析が非常に容易に
なる。また、通常の障害解析、特に初期解析においても
動作の概要を把握する為に有効である。In this embodiment, when a failure occurs that requires more trace information than the capacity of the tracer memory that can be held on the master side, or trace information that the master side inhibits writing to the trace memory by a sub routine or the like. When the required failure occurs, the slave side holds the trace information for each branch instruction, so that more trace information can be held and the failure analysis becomes very easy. Also, it is effective for grasping the outline of the operation even in the normal failure analysis, especially in the initial analysis.
【0015】なお、以上の実施例における分岐命令の代
りに他の命令を用いてトレース態様の切り替えを行って
もよい。It should be noted that instead of the branch instruction in the above embodiments, another instruction may be used to switch the trace mode.
【0016】また、以上の実施例においては、トレーサ
制御信号4によって、分岐命令のみの書き込み制御を指
示するようにしているが、これに代って、他の態様、例
えば、マスタ側は通常動作時と同一の態様でトレースを
続行し、スレーブ側では障害発生時でトレースを停止
し、その時のトレース情報を保持するようにしてもよ
い。このような実施例では、マスタ側ではデバッグ時に
おけるトレース情報が得られる一方、スレーブ側には障
害発生時点までのトレース情報が残置されるので、障害
解析に便宜である。Further, in the above embodiment, the tracer control signal 4 is used to instruct the write control of only the branch instruction, but instead of this, another mode, for example, the master side is the normal operation. It is also possible to continue the tracing in the same manner as at the time, stop the tracing at the occurrence of a failure on the slave side, and retain the trace information at that time. In such an embodiment, while the trace information at the time of debugging is obtained on the master side, the trace information up to the point of failure occurrence remains on the slave side, which is convenient for failure analysis.
【0017】さらに、マスタ側とスレーブ側の如何を問
わず、交互に一方のプロセッサのみがトレースを行い、
他のプロセッサは待機しているような実施例も容易に考
えられる。トレースの引継ぎは、トレースメモリの容量
のオーバーフロー時とするのが良い。Further, irrespective of the master side and the slave side, only one processor alternately performs tracing,
Embodiments in which other processors are waiting are readily conceivable. It is good to take over the trace when the capacity of the trace memory overflows.
【0018】この実施例は、2つのトレースメモリにま
たがって、トレース情報をトレースしていくので、トレ
ースメモリの容量を超える長大なトレース情報の記録に
好適である。Since this embodiment traces trace information over two trace memories, it is suitable for recording long trace information that exceeds the capacity of the trace memory.
【0019】[0019]
【発明の効果】本発明は、通常動作時には各プロセッサ
で同じトレース情報をトレースして二重チェックを行う
一方、デバック時ないしは障害発生時には2つのプロセ
ッサで異なる態様でのトレースを実行することにより、
障害解析等の目的内容に応じたトレース情報を得ること
ができるという効果を有する。According to the present invention, the same trace information is traced by each processor during the normal operation to perform double check, while the traces in different modes are executed by the two processors at the time of debugging or when a failure occurs.
This has the effect of being able to obtain trace information according to the purpose of the failure analysis.
【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
1 マスタ/スレーブ制御回路 2 マスタ/スレーブ制御信号 3 トレース制御回路 4 トレース制御信号 5 プロセッサ 6 トレース部 7 トレース情報 8 トレーサ書き込み回路 9 トレーサメモリ 10 プロセッサ 11 トレース部 12 トレース情報 13 トレーサ書き込み回路 14 トレーサメモリ。 1 Master / Slave Control Circuit 2 Master / Slave Control Signal 3 Trace Control Circuit 4 Trace Control Signal 5 Processor 6 Trace Section 7 Trace Information 8 Tracer Writing Circuit 9 Tracer Memory 10 Processor 11 Trace Section 12 Trace Information 13 Tracer Writing Circuit 14 Tracer Memory .
Claims (6)
時には、内部情報のトレースメモリへのトレースをも含
めて同じ態様で動作するが、所定の場合には、前記2つ
のプロセッサにおいて前記トレースが相互に異なる態様
となることを特徴とする二重化チェック方式を採用した
情報処理装置。1. Two processors having the same configuration operate in the same manner including a trace of internal information to a trace memory at the time of normal operation, but in a predetermined case, the trace is performed by the two processors. An information processing apparatus adopting a duplication check method, which is characterized by mutually different modes.
デバック時ないしは障害発生時であることを特徴とする
請求項1記載の情報処理装置。2. The information processing apparatus according to claim 1, wherein the predetermined case is when the information processing apparatus is debugged or when a failure occurs.
けるトレースと同様のトレースの続行と、前記通常動作
におけるトレースの停止であることを特徴とする請求項
1記載の情報処理装置。3. The information processing apparatus according to claim 1, wherein the different mode is continuation of a trace similar to the trace during the normal operation and stop of the trace during the normal operation.
けるトレースと同様のトレースの続行と、該トレースに
よる当該トレースメモリのオーバーフローの待機および
前記続行の引継ぎであって、前記2つのプロセッサが交
互に、前記通常動作時におけるトレースを実行すること
を特徴とする請求項1記載の情報処理装置。4. The different aspect is the continuation of a trace similar to the trace during the normal operation, the waiting of the trace memory overflow by the trace, and the takeover of the continuation, wherein the two processors are alternately arranged. The information processing apparatus according to claim 1, wherein the trace is executed during the normal operation.
ブの関係にあり、 マスタ/スレーブの切り換えを指示するマスタ/スレー
ブ制御信号を出力するマスタ/スレーブ制御回路と、前
記各プロセッサに対し前記態様を指定するように、トレ
ースの動作を制御するトレース制御信号を出力するトレ
ーサ制御回路と、前記マスタ/スレーブ制御信号と前記
トレース制御信号により、2つのプロセッサが同じトレ
ース情報を前記トレースメモリに書き込み、又はスレー
ブプロセッサでは、トレース情報のうちの所定の命令に
対応するトレース情報のみを前記トレースメモリへ書き
込みを行うトレース書き込み回路を設けたことを特徴と
するトレース制御装置を有する請求項1記載の情報処理
装置。5. A master / slave control circuit for outputting a master / slave control signal for instructing master / slave switching, wherein the two processors are in a master / slave relationship, and the mode is designated for each processor. As described above, the tracer control circuit for outputting the trace control signal for controlling the operation of the trace and the master / slave control signal and the trace control signal allow two processors to write the same trace information to the trace memory, or a slave. The information processing apparatus according to claim 1, wherein the processor includes a trace writing circuit that writes only the trace information corresponding to a predetermined instruction of the trace information to the trace memory.
特徴とする請求項5記載の情報処理装置。6. The information processing apparatus according to claim 5, wherein the predetermined instruction is a branch instruction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7272790A JPH09114695A (en) | 1995-10-20 | 1995-10-20 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7272790A JPH09114695A (en) | 1995-10-20 | 1995-10-20 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09114695A true JPH09114695A (en) | 1997-05-02 |
Family
ID=17518783
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7272790A Pending JPH09114695A (en) | 1995-10-20 | 1995-10-20 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09114695A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8364930B2 (en) | 2008-03-07 | 2013-01-29 | Kabushiki Kaisha Toshiba | Information processing apparatus and storage drive adapted to perform fault analysis by maintenance of tracing information |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS51118351A (en) * | 1975-04-11 | 1976-10-18 | Hitachi Ltd | Operation history output systum in duplex system computer |
| JPS55129851A (en) * | 1979-03-29 | 1980-10-08 | Nippon Signal Co Ltd:The | Leading method of central processing unit |
| JPS5844544A (en) * | 1981-09-09 | 1983-03-15 | Anritsu Corp | Multiprocessor tracing circuit |
| JPS6224337A (en) * | 1985-07-24 | 1987-02-02 | Mitsubishi Electric Corp | Signal tracking device |
| JPH01125633A (en) * | 1987-11-11 | 1989-05-18 | Fujitsu Ltd | System for debugging multi-processing system |
| JPH02146640A (en) * | 1988-11-29 | 1990-06-05 | Fujitsu Ltd | Monitor system for system constitution |
| JPH05165681A (en) * | 1991-12-13 | 1993-07-02 | Nec Corp | State history device |
-
1995
- 1995-10-20 JP JP7272790A patent/JPH09114695A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS51118351A (en) * | 1975-04-11 | 1976-10-18 | Hitachi Ltd | Operation history output systum in duplex system computer |
| JPS55129851A (en) * | 1979-03-29 | 1980-10-08 | Nippon Signal Co Ltd:The | Leading method of central processing unit |
| JPS5844544A (en) * | 1981-09-09 | 1983-03-15 | Anritsu Corp | Multiprocessor tracing circuit |
| JPS6224337A (en) * | 1985-07-24 | 1987-02-02 | Mitsubishi Electric Corp | Signal tracking device |
| JPH01125633A (en) * | 1987-11-11 | 1989-05-18 | Fujitsu Ltd | System for debugging multi-processing system |
| JPH02146640A (en) * | 1988-11-29 | 1990-06-05 | Fujitsu Ltd | Monitor system for system constitution |
| JPH05165681A (en) * | 1991-12-13 | 1993-07-02 | Nec Corp | State history device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8364930B2 (en) | 2008-03-07 | 2013-01-29 | Kabushiki Kaisha Toshiba | Information processing apparatus and storage drive adapted to perform fault analysis by maintenance of tracing information |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH09114695A (en) | Information processor | |
| JPS6265147A (en) | Bus tracing system | |
| JPS6041150A (en) | Storage device control system | |
| JPS62130437A (en) | Lsi tracing system | |
| JPS62293452A (en) | Memory ic diagnosing circuit | |
| JPH0277946A (en) | Microprogram coverage measurement method | |
| JPS6292042A (en) | Memory device | |
| JPH04155454A (en) | Information processor | |
| JPH04263333A (en) | Memory duplication system | |
| JPS60549A (en) | Memory testing system | |
| JPH05241911A (en) | Hardware control instruction tracing circuit | |
| JPS59167764A (en) | Memory access system | |
| JPH01274252A (en) | Activity history memory | |
| JPS63106840A (en) | data processing equipment | |
| JPS5994160A (en) | Data equalizing system of composite electronic computer system | |
| JP2001273167A (en) | Hardware break circuit | |
| JPH01217645A (en) | Generating system for pseudo malfunction of microprocessor | |
| JPH01154259A (en) | Data trace system | |
| JPS63111547A (en) | Memory control system | |
| JPS6247766A (en) | Input/output control device for multi-computer system | |
| JPS6367646A (en) | Information processing system with faulty area separating function | |
| JPH0250740A (en) | Address tracer | |
| JPS59127172A (en) | Vector data processor | |
| JPS645343B2 (en) | ||
| JPS62290943A (en) | Information processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19980707 |