JPH0377144A - Detecting circuit for microprogram error - Google Patents

Detecting circuit for microprogram error

Info

Publication number
JPH0377144A
JPH0377144A JP1214343A JP21434389A JPH0377144A JP H0377144 A JPH0377144 A JP H0377144A JP 1214343 A JP1214343 A JP 1214343A JP 21434389 A JP21434389 A JP 21434389A JP H0377144 A JPH0377144 A JP H0377144A
Authority
JP
Japan
Prior art keywords
microprogram
information
mode
control signal
parity
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
JP1214343A
Other languages
Japanese (ja)
Inventor
Akira Yamagishi
山岸 陽
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 JP1214343A priority Critical patent/JPH0377144A/en
Publication of JPH0377144A publication Critical patent/JPH0377144A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect or correct the errors of a microprogram without extending the word length of a microprogram field by assigning the area of the microprogram field that is not used as a control signal to the parity information. CONSTITUTION:An area which is not used as a control signal in a microprogram field consisting of the mode designation information 1 and the control signal information 2 is assigned as a parity information area. This assignment is carried out individually at every mode, and the microprogram field is distributed to the information 2 and the parity information 3 and connected to a parity checking circuit 5 in accordance with each mode. Thus the microprogram field is distributed to both pieces of information 2 and 3 based on the information 1. Thus, the errors of a microprogram can be detected or corrected without extending the microprogram field.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、各種のモードを有するマイクロプログラム
制御方式の計算機におけるマイクロプログラムの誤りを
検知する技術に関するものである〔従来の技術〕 第3図は、従来のマイクロプログラムフィールドによっ
てマイクロプログラムの誤りを検知する回路の構成例、
第4図は、従来の計算機におけるパリティ情報を付加し
たマイクロプログラムフィールドの構成例である。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a technique for detecting errors in a microprogram in a microprogram control type computer having various modes [Prior Art] Fig. 3 is an example of the configuration of a circuit that detects microprogram errors using a conventional microprogram field.
FIG. 4 is an example of the configuration of a microprogram field to which parity information is added in a conventional computer.

第4図において、(1)は演算を実行するモード。In FIG. 4, (1) is a mode for executing calculations.

人出力制御を実行するモードおよび分岐制御を実行する
モードなどからなる各種のモードのうちのどれを選択す
るかを指定するモード指定情報、(2)は演算時やデー
タ操作時におけるオペランド、演算ファンクションおよ
びディスティネーションの指定と人出力制御時における
制御信号の設定と分岐制御時におけるアドレスおよび条
件判定項目の指定とフラグ制御および順序制御などを行
う制御信号情報、(3)はこれらの情報に対する1ビツ
トまたは複数ビットのパリティ情報である。パリティ情
報(3)は、モード指定情報(1)、制御信号情報(2
)とは別の領域に配置されている。
Mode specification information that specifies which mode to select from various modes such as a mode for executing human output control and a mode for executing branching control, (2) is the operand and arithmetic function during calculation and data manipulation. and control signal information for specifying destinations, setting control signals during human output control, specifying addresses and condition judgment items during branch control, flag control, order control, etc. (3) is 1 bit for these information. Or multiple bits of parity information. Parity information (3) includes mode designation information (1), control signal information (2)
) is located in a different area.

次に、第3図の動作について説明する。(4)はマイク
ロプログラムを格納するマイクロプログラムメモリ、(
5)はマイクロプログラムに発生した誤りを検出または
訂正するパリティチェック回路、(6)はパリティチェ
ック回路(5)から出力される誤りの訂正されたモード
指定情報、(7)はパリティチェック回路(5)から出
力される誤りの訂正された制御信号情報、(8)はマイ
クロプログラムを解読し。
Next, the operation shown in FIG. 3 will be explained. (4) is the microprogram memory that stores the microprogram, (
5) is a parity check circuit that detects or corrects errors occurring in the microprogram, (6) is error-corrected mode designation information output from the parity check circuit (5), and (7) is a parity check circuit (5). ) The error-corrected control signal information output from (8) decodes the microprogram.

計算機の各部を制御するマイクロプログラム解読器、(
9)はパリティチェック回路(5)から出力されるエラ
ー信号、 (10)は故障時の処理を行う故障検知回路
である。マイクロプログラムメモリ(4)から出力され
るモード指定情報(1)、制御信号情報(2)、パリテ
ィ情報(3)は、パリティチェック回路(5)に接続さ
れる。 ここから出力されるモード指定情報(6)と制
御信号情報(7)は、マイクロプログラム解読器(8)
に接続される。パリティチエ・ツク回路(5)で検出さ
れた誤りに関する情報は、エラー信号(9)として故障
検知回路(10)に接続され2発生した誤りに対するエ
ラー処理がここで行われる。
A microprogram decoder that controls each part of a computer (
9) is an error signal output from the parity check circuit (5), and (10) is a failure detection circuit that performs processing in the event of a failure. Mode designation information (1), control signal information (2), and parity information (3) output from the microprogram memory (4) are connected to a parity check circuit (5). The mode designation information (6) and control signal information (7) output from here are sent to the microprogram decoder (8).
connected to. Information regarding the error detected by the parity check circuit (5) is connected as an error signal (9) to the failure detection circuit (10), and error processing for the error that has occurred is performed here.

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

従来のマイクロプログラムフィールドおよびマイクロプ
ログラムの誤り検知回路は2以上のように構成されてい
るので、計算機の動作を制御するうえで制御信号として
直接使用することのないパリティ情報(3)のために、
マイクロプログラムの語長を拡張しなければならず、こ
れがマイクロプログラムメモリの部品点数を増やし、消
費電力の増大を招くという課題があった。
Since conventional microprogram field and microprogram error detection circuits are configured as two or more, parity information (3) which is not directly used as a control signal to control the operation of a computer,
There is a problem in that the word length of the microprogram must be expanded, which increases the number of parts in the microprogram memory, leading to an increase in power consumption.

この発明は、」二記のような課題を解消するためになさ
れたもので、モード指定情報(1)、制御信号情報(2
)から構成されるマイクロプログラムフィールド内に7
語長を拡張することなくパリティ情報(3)を割り当て
、マイクロプログラムに発生した誤りを訂正または検出
できるマイクロプログラム誤り検知回路を得ることを目
的とする。
This invention was made in order to solve the problems as described in 2.Mode designation information (1), control signal information (2)
) in the microprogram field consisting of 7
It is an object of the present invention to obtain a microprogram error detection circuit that can allocate parity information (3) without extending the word length and correct or detect errors occurring in a microprogram.

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

この発明に係るマイクロプログラム誤り検知回路は、モ
ード指定情報(1)、制御信号情報(2)から構成され
るマイクロプログラムフィールドのうち制御信号として
使用しない領域をパリティ情報領域として割り当て、こ
れを各モードごとに個別に構成し、モードに応じてマイ
クロプログラムフィールドを制御信号情報(2)とパリ
ティ情報(3)に振り分け、パリティチェック回路(5
)に接続させたものである。
The microprogram error detection circuit according to the present invention allocates an area that is not used as a control signal among the microprogram field consisting of mode designation information (1) and control signal information (2) as a parity information area, and assigns this area to each mode. The microprogram field is divided into control signal information (2) and parity information (3) according to the mode, and the parity check circuit (5
).

〔作用〕[Effect]

この発明における誤り検知回路は、マイクロプログラム
フィールドをモード指定情報(1)に基づいて制御信号
情報(2)とパリティ情報(3)に振り分けることによ
って、マイクロプログラムフィールドを拡張することな
くマイクロプログラムに発生した誤りを検出または訂正
できるように作用する〔発明の実施例〕 以下、この発明の実施例について説明する。第1図は、
実施例に係るマイクロプログラムフィールドによってマ
イクロプログラムの誤りを検知する回路の構成例、第2
図は、実施例に係るマイクロプログラムフィールドの構
成例である。図において(1)〜(10)は2従来技術
の例と共通であり、その作用、動作とも同一である。(
11)はマイクロプログラムのモードを解読するモード
解読器、(12a)(12b)・・・(+2n)はモー
ドによってマイクロプログラムフィールドを振り分ける
再配列回路、(1,3a)(13b)・・・(13n)
はマイクロプログラムのモードを示すモード信号、 (
14a)(14b)=114n)は再配列回路(12a
)(12b)・・・(12n)によって再配列された再
配列モード指定情報、 (15a)(15b)・(15
n)は再配列回路(12a)(12b)・・・(12n
)によって再配列された再配列制御信号情報、 (16
a)(16b)・・(16n)は再配列回路(12a)
(12b)・・・(12n)によって再配列された再配
列パリティ情報である。
The error detection circuit according to the present invention divides the microprogram field into control signal information (2) and parity information (3) based on the mode designation information (1), thereby making it possible to detect errors that occur in the microprogram without expanding the microprogram field. [Embodiments of the Invention] Embodiments of the invention will be described below. Figure 1 shows
Configuration example of a circuit for detecting errors in a microprogram using a microprogram field according to an embodiment, second example
The figure shows an example of the configuration of a microprogram field according to the embodiment. In the figure, (1) to (10) are common to the second prior art example, and their functions and operations are also the same. (
11) is a mode decoder that decodes the mode of the microprogram, (12a) (12b)...(+2n) is a rearrangement circuit that distributes the microprogram field according to the mode, (1, 3a) (13b)...( 13n)
is the mode signal indicating the microprogram mode, (
14a) (14b)=114n) is the rearrangement circuit (12a
) (12b) ... (12n), (15a) (15b) (15
n) are rearrangement circuits (12a) (12b)...(12n
) reordered control signal information, (16
a) (16b)...(16n) are rearrangement circuits (12a)
(12b)...This is rearranged parity information rearranged by (12n).

第2図においてマイクロプログラムフィールドのうち、
制御信号情報(2)の占有する領域は各モードごとに異
なり、かつ各モード中1制御信号情報(2)として使わ
れない領域が発生する。この未使用領域をそのモードの
パリティ情報(3)領域として割り当て、マイクロプロ
グラムフィールドの語長を拡張せずに誤り検出のできる
マイクロプログラムフィールドを構成する。パリティ情
報(3)は1ビツトでも複数ビットでもよく、また、パ
リティ情報(3)と制御信号情報(2)は、マイクロプ
ログラムフィールド内においてビット単位で分散してい
ても、ある領域に集中していてもよい。
In Figure 2, among the microprogram fields,
The area occupied by the control signal information (2) differs for each mode, and in each mode there is an area that is not used as the control signal information (2). This unused area is allocated as the parity information (3) area for that mode, thereby configuring a microprogram field that can detect errors without extending the word length of the microprogram field. Parity information (3) may be one bit or multiple bits, and even if parity information (3) and control signal information (2) are distributed bit by bit within the microprogram field, they are concentrated in a certain area. You can.

次に、第1図の動作について説明する。マイクロプログ
ラムメモリ(4)から出力されるモード指定情報(I)
、制御信号情報(2)、パリティ情報(3)はモードご
とにマイクロプログラムフィールドを制御信号情報(2
)とパリティ情報(3)に振り分ける再配列回路(12
a)(12b)・・・(12n)に接続され、モード指
定情報(1)はモード解読器(11)に対しても接続さ
れる。モード解読器(11)から出力される。モードの
番号を示すモード信号(13a)(13b)−(13n
)は、それぞれ再配列回路(12a)(12b)・・・
(12n)に接続されモードに応じた再配列回路(12
a)(12b)・・・(12n)を1つだけ選択する。
Next, the operation shown in FIG. 1 will be explained. Mode designation information (I) output from microprogram memory (4)
, control signal information (2), and parity information (3) are stored in the microprogram field for each mode.
) and parity information (3).
a) (12b)...(12n), and the mode designation information (1) is also connected to the mode decoder (11). It is output from the mode decoder (11). Mode signals (13a) (13b)-(13n) indicating mode numbers
) are the rearrangement circuits (12a) (12b), respectively.
(12n) and is connected to the rearrangement circuit (12n) according to the mode.
a) Select only one (12b)...(12n).

選択された再配列回路(12n)からは、再配列モード
指定情報(14a)(14b)・・・(14n)再配列
制御信号情報(15a)(15b)・・・(15n)、
再配列パリティ情報(16a)(16b)・・・(16
n)が出力される。選択されない再配列回路(12a)
(12b)・・・(12n)の出力は、高インピーダン
ス状態となり出力同士の競合を防ぐ。こうして、モード
によって異なる配列をとるマイクロプログラムフィール
ドは、パリティチェック回路(5)に接続され、ここか
ら出力されるモード指定情報(6)、制御信号情報(7
)がマイクロプログラム解読器(8)に接続される。パ
リティチェック回路(5)で検出された誤りに関する情
報はエラー信号(9)として故障検知回路(1o)に接
続され2発生した誤りに対するエラー処理がここで行わ
れる。
From the selected re-arrangement circuit (12n), re-arrangement mode designation information (14a) (14b)...(14n), re-arrangement control signal information (15a)(15b)...(15n),
Rearrangement parity information (16a) (16b)... (16
n) is output. Unselected reordering circuit (12a)
The outputs of (12b)...(12n) are in a high impedance state to prevent competition between the outputs. In this way, the microprogram fields, which have different arrangements depending on the mode, are connected to the parity check circuit (5), which outputs mode designation information (6) and control signal information (7).
) is connected to the microprogram decoder (8). Information regarding the error detected by the parity check circuit (5) is connected as an error signal (9) to the failure detection circuit (1o), and error processing for the error that has occurred is performed here.

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

以上のように、この発明によれば、モード指定情報(1
)、制御信号情報(2)から構成されるマイクロプログ
ラムフィールドのうち制御信号として使用しない領域を
パリティ情報(3)として割り当て再配列回路(12a
)(12b)・・・(12n)によって、モードに応じ
て再配列モード指定情報(14a)(14b)・・(1
4n)再配列制御信号情報(15a)(15b)・・・
(15n)、再配列パリティ情報(16a)(16b)
・・・(16n)に振り分け、パリティチェック回路(
5)に接続させたので、マイクロプログラムフィールド
の語長を拡張せずに、マイクロプログラムに発生した誤
りを訂正または検出できる効果がある。また、マイクロ
プログラムメモリの部品点数や消費電力を増大させない
効果がある。
As described above, according to the present invention, mode designation information (1
), a re-arrangement circuit (12a) allocates an area not used as a control signal among the microprogram field consisting of control signal information (2) as parity information (3).
)(12b)...(12n), rearrangement mode designation information (14a)(14b)...(1
4n) Rearrangement control signal information (15a) (15b)...
(15n), rearrangement parity information (16a) (16b)
...(16n), and the parity check circuit (
5), it is possible to correct or detect errors occurring in the microprogram without expanding the word length of the microprogram field. Further, there is an effect that the number of parts and power consumption of the microprogram memory are not increased.

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

第1図は、この発明の一実施例によるマイクロプログラ
ム誤り検知回路の構成を示す図、第2図は、この発明の
一実施例によるマイクロプログラムフィールドの構成を
示す図、第3図は、従来の計算機におけるマイクロプロ
グラム誤り検知回路の構成例を示す図、第4図は、従来
の計算機におけるパリティ情報を付加したマイクロプロ
グラムフィールドの構成例を示す図である。図において
(1)はモード指定情報、(2)は制御信号情報、(3
)はパリティ情報、(4)はマイクロプログラムメモリ
。 (5)はパリティチェック回路、(6)はモード指定情
報、(7)は制御信号情報、(8)はマイクロプログラ
ム解読器、(9)はエラー信号、 (10)は故障検知
回路。 (11)はモード解読器、 (12a)(12b)−(
12n)は再配列回路、 (13a)(13b)= (
13n)はモード信号(14a)(14b)・・・(1
4n)は再配列されたモード指定情報、 (15a)(
15b)・・・(15n)は再配列された制御信号情報
、(f6a)(16b)・・・(16n)は再配列され
たパリティ情報であるなお2図中同一符号は同一または
相当部分を示す。
FIG. 1 is a diagram showing the configuration of a microprogram error detection circuit according to an embodiment of the invention, FIG. 2 is a diagram showing the configuration of a microprogram field according to an embodiment of the invention, and FIG. 3 is a diagram showing the configuration of a microprogram error detection circuit according to an embodiment of the invention. FIG. 4 is a diagram showing an example of the configuration of a microprogram error detection circuit in a conventional computer. In the figure, (1) is mode designation information, (2) is control signal information, and (3
) is parity information, and (4) is microprogram memory. (5) is a parity check circuit, (6) is mode designation information, (7) is control signal information, (8) is a microprogram decoder, (9) is an error signal, and (10) is a failure detection circuit. (11) is a mode decoder, (12a) (12b) - (
12n) is a rearrangement circuit, (13a)(13b)=(
13n) are mode signals (14a) (14b)...(1
4n) is the rearranged mode specification information, (15a) (
15b)...(15n) is rearranged control signal information, (f6a) (16b)...(16n) is rearranged parity information. Note that the same reference numerals in the two figures indicate the same or equivalent parts. show.

Claims (1)

【特許請求の範囲】[Claims] 演算を実行するモード、入出力制御を実行するモード、
分岐制御を実行するモードなど、各種のモードから構成
されるマイクロプログラム制御方式の計算機において、
モードを解読するモード解読器と、モードに応じてマイ
クロプログラムフィールドをモード指定情報と制御信号
情報とパリテイ情報に振り分ける再配列回路と、モード
指定情報または制御信号情報またはパリテイ情報に発生
した誤りを訂正または検出するパリテイチェック回路か
ら構成され、マイクロプログラムフィールドのうち制御
信号として使用しない領域を制御信号情報のパリテイ情
報領域として割り当て、これを各モードごとに個別に構
成することにより、マイクロプログラムに発生した誤り
を訂正または検出できるマイクロプログラム誤り検知回
路。
Mode for executing calculations, mode for executing input/output control,
In a microprogram control type computer that consists of various modes such as a mode for executing branch control,
A mode decoder that decodes the mode, a rearrangement circuit that distributes the microprogram field into mode designation information, control signal information, and parity information according to the mode, and a correction circuit that corrects errors that occur in the mode designation information, control signal information, or parity information. or a parity check circuit that detects the parity information, and allocates an area of the microprogram field that is not used as a control signal as a parity information area for control signal information, and configures this separately for each mode. A microprogram error detection circuit that can correct or detect errors that occur.
JP1214343A 1989-08-21 1989-08-21 Detecting circuit for microprogram error Pending JPH0377144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1214343A JPH0377144A (en) 1989-08-21 1989-08-21 Detecting circuit for microprogram error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1214343A JPH0377144A (en) 1989-08-21 1989-08-21 Detecting circuit for microprogram error

Publications (1)

Publication Number Publication Date
JPH0377144A true JPH0377144A (en) 1991-04-02

Family

ID=16654193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1214343A Pending JPH0377144A (en) 1989-08-21 1989-08-21 Detecting circuit for microprogram error

Country Status (1)

Country Link
JP (1) JPH0377144A (en)

Similar Documents

Publication Publication Date Title
JP3865789B2 (en) Redundant circuit for programmable logic device with interleaved input circuit
JPS58123253A (en) Error correcting device
US20040193706A1 (en) Computing system fabric and routing configuration and description
JPH0377144A (en) Detecting circuit for microprogram error
JPH02242334A (en) Computer apparatus to be microprogrammed and addressing of microcode sequence memory
US7376811B2 (en) Method and apparatus for performing computations and operations on data using data steering
US5430852A (en) Control transfer method in system with multiple arithmetic units each with independent microprogram control by transferring start address and branch condition codes
JPS5853383B2 (en) Information transfer mechanism in data processing systems
US5894427A (en) Technique for concurrent detection of bit patterns
EP0284060B1 (en) Chip test condition selection apparatus
US6937061B1 (en) Address decoder for programmable logic device
JP2646551B2 (en) Micro computer
JPS62235663A (en) Memory device
JPS62151028A (en) Data converting device
JPH0562786B2 (en)
JPS61282946A (en) Programmable controller
JP2684995B2 (en) Instruction decoder circuit
SU1195353A1 (en) Parallel processor for sorting out information
JPH01142967A (en) Coprocessor control system
US20030056044A1 (en) Control register assembly
JPH02224041A (en) Cache memory control circuit
JPS6057447A (en) Memory access control system
JPS63276126A (en) Instruction decoding circuit
JPS63208942A (en) Microprogram memory circuit
JPH0248741A (en) Testing system for microcomputer