JPH04330533A - Central processing unit - Google Patents
Central processing unitInfo
- Publication number
- JPH04330533A JPH04330533A JP3006932A JP693291A JPH04330533A JP H04330533 A JPH04330533 A JP H04330533A JP 3006932 A JP3006932 A JP 3006932A JP 693291 A JP693291 A JP 693291A JP H04330533 A JPH04330533 A JP H04330533A
- Authority
- JP
- Japan
- Prior art keywords
- microprogram
- ras
- error
- test mode
- central processing
- 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.)
- Withdrawn
Links
- 238000012360 testing method Methods 0.000 claims abstract description 25
- 230000006870 function Effects 0.000 abstract description 44
- 238000001514 detection method Methods 0.000 abstract description 10
- 238000003745 diagnosis Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【0001】[発明の目的][Object of the invention]
【0002】0002
【産業上の利用分野】本発明は、情報処理システム等に
利用される中央処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central processing unit used in information processing systems and the like.
【0003】0003
【従来の技術】近年、中央処理装置(CPU)において
は、信頼性の向上を図るため、RAS(reliabi
lity,availability,service
ability )機能の充実が図られている。図2は
、このようなRAS機能部を有するマイクロプログラム
方式の従来の中央処理装置の構成を示すもので、図にお
いて、1は制御RAM、2は命令レジスタ、3はマイク
ロプログラムアドレス設定部、4はデコーダ、5はテス
トモードレジスタ、6はRAS機能部である。[Background Art] In recent years, in order to improve reliability in central processing units (CPUs), RAS (reliabi...
utility, availability, service
ability) Functions are being enhanced. FIG. 2 shows the configuration of a conventional microprogram central processing unit having such a RAS function section. In the figure, 1 is a control RAM, 2 is an instruction register, 3 is a microprogram address setting section, and 4 is a microprogram type central processing unit. 5 is a decoder, 5 is a test mode register, and 6 is a RAS function section.
【0004】制御RAM1は、マイクロプログラムを格
納しており、マイクロプログラムアドレス設定部3が示
す値をリードアドレスとして、命令レジスタ2にマイク
ロ命令がロードされる。命令レジスタ2にロードされた
マイクロ命令は、デコーダ4によってデコードされ、各
制御部を動作させる。The control RAM 1 stores a microprogram, and the microinstruction is loaded into the instruction register 2 using the value indicated by the microprogram address setting section 3 as a read address. The microinstructions loaded into the instruction register 2 are decoded by the decoder 4 and operate each control section.
【0005】また、RAS機能部6は各エラー検出を行
っており、エラーが検出されるとマイクロプログラムア
ドレス設定部3に対するエラー検出信号101をアクテ
ィブにする。そして、マイクロプログラムアドレス設定
部3は、RAS機能部6によってエラーが検出されると
、次に実行するマイクロ命令アドレスとしてエラー処理
ルーチンヘ分岐するアドレスを示し、マイクロ命令はそ
の後エラー処理ルーチンに分岐する。The RAS function section 6 also performs error detection, and when an error is detected, it activates an error detection signal 101 to the microprogram address setting section 3. When an error is detected by the RAS function section 6, the microprogram address setting section 3 indicates an address to branch to the error handling routine as the next microinstruction address to be executed, and the microinstruction then branches to the error handling routine.
【0006】上記構成の従来の中央処理装置において、
RAS機能部6のRAS機能を診断する場合、マイクロ
命令はまずテストモードレジスタ5にテストモードを示
す値をセットし、RAS機能部6のRAS機能を診断で
きる状態にする。(エラー検出回路において、エラーを
故意に発生させる状態にする。)その後、RAS機能が
働くマイクロ命令を実行すると、RAS機能部6はテス
トモード信号102がアクティブであることと、RAS
機能を動作させるマイクロ命令信号103がアクティブ
であることで、マイクロプロクラムアドレス設定部3へ
のエラー検出信号101をアクティブにする。[0006] In the conventional central processing unit having the above configuration,
When diagnosing the RAS function of the RAS function unit 6, the microinstruction first sets a value indicating a test mode in the test mode register 5, so that the RAS function of the RAS function unit 6 can be diagnosed. (In the error detection circuit, an error is intentionally generated.) After that, when a microinstruction that activates the RAS function is executed, the RAS function unit 6 detects that the test mode signal 102 is active and that the RAS
Since the microinstruction signal 103 for operating the function is active, the error detection signal 101 to the microprogram address setting unit 3 is activated.
【0007】マイクロプロクラムアドレス設定部3は、
エラー検出信号101がアクティブになったことでRA
S機能部6によるエラー検出を知り、次に実行するマイ
クロ命令のアドレスに、エラー処理ルーチンヘ分岐する
アドレスを示す。マイクロ命令はその後エラー処理ルー
チンに分岐し、テストモードであることとその対象とな
るステータスフラグをチェックすることでRAS機能の
診断を行う。[0007] The micro program address setting unit 3 is
When the error detection signal 101 becomes active, RA
Upon learning of the error detection by the S function section 6, the address of the next microinstruction to be executed indicates the address at which to branch to the error handling routine. The microinstruction then branches to an error handling routine and diagnoses the RAS function by checking the test mode and the target status flag.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上述し
た従来の中央処理装置では、複数のRAS機能を診断す
る場合、各々のRAS機能毎にエラー処理ルーチンヘ分
岐してしまい、マイクロプログラムが複雑で容量の大き
いものになる等の問題があった。However, in the above-mentioned conventional central processing unit, when diagnosing multiple RAS functions, it branches to an error handling routine for each RAS function, resulting in a complicated microprogram and a large capacity. There was a problem with it being too large.
【0009】本発明は、かかる従来の事情に対処してな
されたもので、複数のRAS機能を同時に継続して診断
することができ、診断ルーチンにおけるマイクロプログ
ラムの簡素化および小容量化を図ることのできる中央処
理装置を提供しようとするものである。The present invention has been made in response to the above-mentioned conventional circumstances, and has the object of being able to continuously diagnose a plurality of RAS functions at the same time, and simplifying and reducing the size of the microprogram in the diagnostic routine. The aim is to provide a central processing unit that can perform the following tasks.
【0010】[発明の構成][Configuration of the invention]
【0011】[0011]
【課題を解決するための手段】すなわち、本発明の中央
処理装置は、マイクロプログラムを格納する制御RAM
と、エラーの検出を行うRAS機能部と、マイクロ命令
シ−ケンスを制御し、前記RAS機能部でエラーが検出
されると前記マイクロプログラムをエラー処理ルーチン
に分岐させるマイクロプログラムアドレス設定部と、前
記RAS機能部のテストを実行するテストモードを設定
するためのテストモードレジスタと、前記テストモード
レジスタがテストモードとされている場合は、前記エラ
ー処理ルーチンへの分岐を禁止する手段とを具備したこ
とを特徴とする。[Means for Solving the Problems] That is, the central processing unit of the present invention has a control RAM that stores a microprogram.
a RAS function unit that detects errors; a microprogram address setting unit that controls a microinstruction sequence and branches the microprogram to an error handling routine when an error is detected in the RAS function unit; A test mode register for setting a test mode for testing the RAS functional unit, and means for prohibiting branching to the error handling routine when the test mode register is set to the test mode. It is characterized by
【0012】0012
【作用】上記構成の本発明の中央処理装置では、RAS
機能の診断時においては、RAS機能部でエラーが検出
されても、エラー処理ルーチンヘの分岐は行われない。
したがって、複数のRAS機能を同時に継続して診断す
ることができ、診断ルーチンにおけるマイクロプログラ
ムの簡素化および小容量化を図ることができる。[Operation] In the central processing unit of the present invention having the above configuration, the RAS
During function diagnosis, even if an error is detected in the RAS function section, a branch to the error handling routine is not performed. Therefore, a plurality of RAS functions can be continuously diagnosed simultaneously, and the microprogram in the diagnostic routine can be simplified and its capacity can be reduced.
【0013】[0013]
【実施例】以下、本発明の中央処理装置の一実施例を図
面を参照して説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the central processing unit of the present invention will be described below with reference to the drawings.
【0014】図1は、本発明の一実施例の中央処理装置
の構成を示すもので、図において、11は制御RAM、
12は命令レジスタ、13はマイクロプログラムアドレ
ス設定部、14はデコーダ、15はテストモードレジス
タ、16はRAS機能部、17はアンドゲートである。FIG. 1 shows the configuration of a central processing unit according to an embodiment of the present invention. In the figure, 11 is a control RAM;
12 is an instruction register, 13 is a microprogram address setting section, 14 is a decoder, 15 is a test mode register, 16 is a RAS function section, and 17 is an AND gate.
【0015】制御RAM11は、マイクロプログラムを
格納しており、マイクロプログラムアドレス設定部13
が示す値をリードアドレスとして、命令レジスタ12に
マイクロ命令がロードされる。命令レジスタ12にロー
ドされたマイクロ命令は、デコーダ14によってデコー
ドされ、各制御部を動作させる。The control RAM 11 stores a microprogram, and the microprogram address setting section 13
A microinstruction is loaded into the instruction register 12 using the value indicated by as a read address. The microinstructions loaded into the instruction register 12 are decoded by the decoder 14 and operate each control section.
【0016】また、RAS機能部16は各エラー検出を
行っており、エラーが検出されるとマイクロプログラム
アドレス設定部13に対するエラー検出信号201をア
クティブにする。そして、マイクロプログラムアドレス
設定部13は、RAS機能部16によってエラーが検出
されると、次に実行するマイクロ命令アドレスとしてエ
ラー処理ルーチンヘ分岐するアドレスを示し、マイクロ
命令はその後エラー処理ルーチンに分岐する。The RAS function section 16 also performs error detection, and when an error is detected, it activates an error detection signal 201 to the microprogram address setting section 13. When an error is detected by the RAS function section 16, the microprogram address setting section 13 indicates an address for branching to the error processing routine as the next microinstruction address to be executed, and the microinstruction then branches to the error processing routine.
【0017】また、RAS機能部16のRAS機能の診
断を行う際には、マイクロ命令はまずテストモードレジ
スタ15にテストモードを示す値をセットし、1 つの
RAS機能を診断できる状態(故意にエラー状態)にす
る。その後、そのRAS機能が働くマイクロ命令を実行
する。この時RAS機能部16内にはその対象となるス
テータスフラグがセットされる。Furthermore, when diagnosing the RAS function of the RAS function section 16, the microinstruction first sets a value indicating the test mode in the test mode register 15, so that one RAS function can be diagnosed (intentionally state). It then executes the microinstruction that activates that RAS function. At this time, the target status flag is set in the RAS function unit 16.
【0018】RAS機能部16は、テストモードを示す
テストモード信号202とRAS機能を動作させるマイ
クロ命令信号203がアクティブであることで、エラー
検出信号201をアクティブにする。しかしながら、こ
の時テストモード信号202もアクティブであるため、
アンドゲ−ト17の作用によりマイクロプログラムアド
レス設定部13に入力されるエラー分岐信号204は、
インアクティブのままとなる。このため、マイクロプロ
グラムアドレス設定部13は、エラー処理ルーチンヘ分
岐することなく、インクリメントした次のアドレスを示
す。The RAS function unit 16 activates the error detection signal 201 when the test mode signal 202 indicating the test mode and the microinstruction signal 203 for operating the RAS function are active. However, since the test mode signal 202 is also active at this time,
The error branch signal 204 input to the microprogram address setting section 13 by the action of the AND gate 17 is
It remains inactive. Therefore, the microprogram address setting unit 13 indicates the next incremented address without branching to the error handling routine.
【0019】次のマイクロ命令はテストモードレジスタ
15にテストモードを示す値をセットし、別のRAS機
能を診断できる状態(故意にエラー状態)にし、そのR
AS機能が働くマイクロ命令を実行する。以後、同様な
動作がRAS機能分繰返される。そして最終的にRAS
機能部16内にあるステータスフラグをチェックするこ
とで、全てのRAS機能の診断を行う。The next microinstruction sets a value indicating the test mode in the test mode register 15, puts another RAS function in a diagnostic state (intentionally puts it in an error state), and
Execute the microinstruction that activates the AS function. Thereafter, similar operations are repeated for each RAS function. and finally RAS
By checking the status flags in the functional unit 16, all RAS functions are diagnosed.
【0020】このように、本実施例の中央処理装置では
、RAS機能の診断時においては、RAS機能部16で
エラーが検出されても、エラー処理ルーチンヘの分岐は
行われない。したがって、複数のRAS機能を同時に継
続して診断することができ、診断ルーチンにおけるマイ
クロプログラムの簡素化および小容量化を図ることがで
きる。As described above, in the central processing unit of this embodiment, when diagnosing the RAS function, even if an error is detected in the RAS function section 16, a branch to the error processing routine is not performed. Therefore, a plurality of RAS functions can be continuously diagnosed simultaneously, and the microprogram in the diagnostic routine can be simplified and its capacity can be reduced.
【0021】[0021]
【発明の効果】以上説明したように、本発明の中央処理
装置によれば、複数のRAS機能を同時に継続して診断
することができ、診断ルーチンにおけるマイクロプログ
ラムの簡素化および小容量化を図ることができる。[Effects of the Invention] As explained above, according to the central processing unit of the present invention, multiple RAS functions can be continuously diagnosed simultaneously, and the microprogram in the diagnostic routine can be simplified and the capacity can be reduced. be able to.
【図面の簡単な説明】[Brief explanation of drawings]
【図1】本発明の一実施例の中央処理装置の構成を示す
図である。FIG. 1 is a diagram showing the configuration of a central processing unit according to an embodiment of the present invention.
【図2】従来の中央処理装置の構成を示す図である。FIG. 2 is a diagram showing the configuration of a conventional central processing unit.
11 制御RAM
12 命令レジスタ
13 マイクロプログラムアドレス設定部14 デ
コーダ
15 テストモードレジスタ
16 RAS機能部
17 アンドゲート11 Control RAM 12 Instruction register 13 Microprogram address setting section 14 Decoder 15 Test mode register 16 RAS function section 17 AND gate
Claims (1)
AMと、エラーの検出を行うRAS機能部と、マイクロ
命令シ−ケンスを制御し、前記RAS機能部でエラーが
検出されると前記マイクロプログラムをエラー処理ルー
チンに分岐させるマイクロプログラムアドレス設定部と
、前記RAS機能部のテストを実行するテストモードを
設定するためのテストモードレジスタと、前記テストモ
ードレジスタがテストモードとされている場合は、前記
エラー処理ルーチンへの分岐を禁止する手段とを具備し
たことを特徴とする中央処理装置。[Claim 1] A control R that stores a microprogram.
an AM, a RAS function unit that detects errors, a microprogram address setting unit that controls a microinstruction sequence and branches the microprogram to an error handling routine when an error is detected in the RAS function unit; A test mode register for setting a test mode for testing the RAS functional unit, and means for prohibiting branching to the error handling routine when the test mode register is set to the test mode. A central processing unit characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3006932A JPH04330533A (en) | 1991-01-24 | 1991-01-24 | Central processing unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3006932A JPH04330533A (en) | 1991-01-24 | 1991-01-24 | Central processing unit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04330533A true JPH04330533A (en) | 1992-11-18 |
Family
ID=11652026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3006932A Withdrawn JPH04330533A (en) | 1991-01-24 | 1991-01-24 | Central processing unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04330533A (en) |
-
1991
- 1991-01-24 JP JP3006932A patent/JPH04330533A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
IE842859L (en) | Self-testing of floating point accelerator processors | |
JPH031699B2 (en) | ||
JPH04330533A (en) | Central processing unit | |
JPS61131129A (en) | Initial diagnostic system | |
JPS5832422B2 (en) | Micro Shindan Houshiki | |
JPS5878233A (en) | Microprogram controller | |
JPH05165737A (en) | Memory test system | |
JPS638956A (en) | Memory diagnosing circuit | |
JPH01166140A (en) | Information processor diagnosing system | |
JPS62208136A (en) | Sequential control circuit test system | |
JPH02244232A (en) | information processing equipment | |
JPH0512005A (en) | Information processor | |
JPS62205445A (en) | Hardware initial diagnosis program executing system | |
JPH076103A (en) | Fault processing system for input/output channel | |
JPS63116243A (en) | Self-diagnosing system | |
JPH0498329A (en) | Fault recovery system | |
JPH0148563B2 (en) | ||
JPS63116244A (en) | Self-diagnosing system | |
JPH06139094A (en) | Information processor | |
JPS62187943A (en) | Data monitoring device | |
JPS59229658A (en) | Information processor | |
JPS63193241A (en) | Information processor | |
JPH011041A (en) | Early failure detection method | |
JPS62241034A (en) | Microprogram controller | |
JPH02136935A (en) | Self-diagnostic system for microprogram controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980514 |