JPS59121540A - Operation control system - Google Patents
Operation control systemInfo
- Publication number
- JPS59121540A JPS59121540A JP57229500A JP22950082A JPS59121540A JP S59121540 A JPS59121540 A JP S59121540A JP 57229500 A JP57229500 A JP 57229500A JP 22950082 A JP22950082 A JP 22950082A JP S59121540 A JPS59121540 A JP S59121540A
- Authority
- JP
- Japan
- Prior art keywords
- arithmetic
- cycle
- microprogram
- control
- cycles
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
- Executing Machine-Instructions (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔発明の技鼾分野 〕
本発明は、マイクロプログラム制御による演算装置の制
御方式に関し、 !ffにマイクロプログラムの途中の
ステップで、制御情報にビットエラー(マイクロエラー
)が検出されたとき、無駄な遅延が生じないよう(−1
実行する演算処理の特性に応じて演算サイクルの進行停
止を制御する方式に関する。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a control method for an arithmetic unit using microprogram control. When a bit error (micro error) is detected in the control information at a step in the middle of the micro program in ff, to avoid unnecessary delay (-1
The present invention relates to a method for controlling the progress and stop of an arithmetic cycle according to the characteristics of the arithmetic processing to be executed.
第1図は、一般的なマイクロプログラム制御による演算
装置の概略構成を示し、1はマイクロプログラム制御部
、2は一演算制御部、3は演算部。FIG. 1 shows a schematic configuration of a general microprogram control arithmetic device, in which 1 is a microprogram control section, 2 is one arithmetic control section, and 3 is an arithmetic section.
4は制御メモリである。マイクロプログラム゛制御部は
、演算命令により起動され、演算処理(二必要す一連の
マイクロ命令のステップからなるマイクロプログラムを
実行する。マイクロプログラム中のステップを進めるに
は、以前のステップの動作終了の確認が必要なものと、
以前のステップの動作終了をまたず(二次のステップの
実行に入ってよいものとがあり、マイクロ命令の特性に
より定まるO
演算制御部はマイクロ命令にしたがって演算サイクルを
設定し、マイクロ命令と演算サイクル(二上って演算部
を制御して、バスの転送ゲート制御。4 is a control memory. The microprogram control unit is activated by an arithmetic instruction and executes a microprogram consisting of a series of microinstruction steps that require arithmetic processing (two steps). What needs to be confirmed and
The operation control unit sets the operation cycle according to the microinstruction, and the operation control unit sets the operation cycle according to the microinstruction. Cycle (second cycle) controls the arithmetic unit and controls the bus transfer gate.
レジスタのセット、メモリのり−ド/ライト、データチ
ェックなどの演算処理動作を実行させる。Executes arithmetic processing operations such as setting registers, reading/writing memory, and checking data.
そして全ての演算処理が終了すると、マイクロプログラ
ム制御部に通知し、演算を完了させる。When all calculation processing is completed, the microprogram control unit is notified and the calculation is completed.
演算制御部には、マイクロプログラムの実行時の演算サ
イクルを制御するための演算サイクルカウンタが設けら
れており、マイクロプログラムの各ステップは、演算サ
イクルと同期して歩進されるようにサイクル同期チェッ
クが行なわれている。The arithmetic control section is equipped with an arithmetic cycle counter for controlling the arithmetic cycle when the microprogram is executed, and a cycle synchronization check is performed to ensure that each step of the microprogram is advanced in synchronization with the arithmetic cycle. is being carried out.
そのため、マイクロプログラム制御部が、側層メモリか
ら読み出したマイクロ命令中に、たとえばECCチェッ
クによりビットエラーを検出して実行不能となったとき
、エラー修正時間を確保するため、無条件(二演算サイ
クルの進行を停止し、ずなわち、演算動作を停止して、
エラー修正が終るたとえば1サイクル後に再開していた
。Therefore, when the microprogram control unit detects a bit error during the microinstruction read from the side memory and becomes unexecutable due to an ECC check, for example, the microprogram control unit unconditionally (two operation cycle stop the progress of , that is, stop the calculation operation,
It restarted after, for example, one cycle after the error correction was completed.
第2図(α)は、演算命令のマイクロプログラムの正常
な動作シーケンスの1例を示したものである。FIG. 2(α) shows an example of a normal operation sequence of a microprogram of arithmetic instructions.
図示のマイクロプログラムは、A、B、C,I)。The illustrated microprograms are A, B, C, and I).
E、Fの6ステツプからなり、演算サイクルは。The calculation cycle consists of 6 steps, E and F.
全体でC1乃至C8の8サイクルが使用される。そのた
め、演算制御部は、演算サイクルカウンタが08をカウ
ントしたとき、演算終了をマイクロプログラム制御部(
=通知する0
ところで、第2図(h)(=示すように、Cステップの
C,サイクルにおいて、マイクロプログラム制御部が制
御メモリから読み出したマイクロ命令にエラーを検出し
た場合、上述したように、演算サイクルは1サイクル停
止され9次のC4サイクルガ遅延して発生される。その
ため、C8サイクルはC1サイクルから数えて9サイク
ル目に生じる。セしてC8サイクルで演算終了が通知さ
れるため、第2図(αンの場合にくらべて、1サイクル
だ(す演算終了が遅延するという問題があった。A total of 8 cycles from C1 to C8 are used. Therefore, when the arithmetic cycle counter counts 08, the arithmetic control unit determines the end of the arithmetic operation by the microprogram control unit (
= Notify 0 By the way, as shown in FIG. 2 (h) (=, if the microprogram control unit detects an error in the microinstruction read from the control memory in the C cycle of the C step, as described above, The calculation cycle is stopped by one cycle and is generated with a delay of 9th C4 cycle. Therefore, the C8 cycle occurs at the 9th cycle counting from the C1 cycle. Since the completion of the calculation is notified in the C8 cycle, Figure 2 (Compared to the case of α, there was a problem that the end of the calculation was delayed by one cycle).
本発明の目的は、マイクロプログラム制御による演算装
置において、制御メモリから読み出したマイクロ命令に
エラーが検出されたときの、演算サイクルの遅延をでき
る限り少なくすることにある。An object of the present invention is to minimize the delay in arithmetic cycles when an error is detected in a microinstruction read from a control memory in an arithmetic device controlled by a microprogram.
本発明は、そのため、一連の演算サイクル中。The present invention therefore provides a solution during a series of computational cycles.
マイクロプログラムと同期して動作するサイクル。A cycle that operates in synchronization with a microprogram.
すなわち以前のステップの演算サイクルの動作終了を確
認して次のステップの演算サイクルを開始しなければな
らないものと、非同期で動作するサイクル、すなわち以
前の演算サイクルの動作終了をまたずに次のステップの
実行を開始してよいものとがあることに着目し、上記し
たエラーが、同期的な演算サイクルのもので起ったとき
(二限り。In other words, there are those in which the calculation cycle of the next step must be started after confirming the completion of the calculation cycle of the previous step, and cycles that operate asynchronously, that is, the next step without crossing the completion of the calculation cycle of the previous step. Focusing on the fact that there are certain things that are allowed to start execution, when the above error occurs in a synchronous operation cycle (limited to two)
その演算サイクルを遅延させ、他方、非同型の演算サイ
クルのもので起ったときには、その演算サイクルを遅延
させることなく開始させることにより、上記目的を達成
するものである。The above object is achieved by delaying the arithmetic cycle and, on the other hand, starting the arithmetic cycle without delay when the arithmetic cycle occurs in a non-isomorphic arithmetic cycle.
そして本発明の構成は、それにより、マイクロプログラ
ム制御による演算装置において、マイクロプログラムの
一連の演算サイクルについて、マイクロプログラムと同
期する演算サイクルと、マイクロプログラムに対して非
同期の演算サイクルとを識別する手段をそなえ、マイク
ロプログラムの実行に際して当該マイクロプログラムの
各ステップのマイクロ命令を、制御メモリから順次的に
読み出したとき、該制御情報にビットエラーが検出され
た場合、その演算サイクルが、上記したマイクロプログ
ラムと同期する演算サイクルである場合に限り、演算サ
イクルの一時停止を行なうことを特徴としている。The configuration of the present invention provides means for identifying, in a microprogram-controlled arithmetic device, a series of arithmetic cycles of a microprogram, arithmetic cycles that are synchronized with the microprogram, and arithmetic cycles that are asynchronous with respect to the microprogram. If a bit error is detected in the control information when the microinstructions for each step of the microprogram are sequentially read from the control memory when the microprogram is executed, the operation cycle is The feature is that the calculation cycle is temporarily stopped only when the calculation cycle is synchronized with the calculation cycle.
以下に9本発明を実施例にしたがって説明する。 The present invention will be explained below based on nine examples.
第3図は1本発明実施例システムの構成図′である。同
図において、参照番号1乃至4は、第1図に示したもの
と共通である。そして、5は命令レジスタ、6はデコー
ダ、7はFCC回路、8はマイクロ命令デコーダ、9は
演算サイクルカウンタ。FIG. 3 is a block diagram of a system according to an embodiment of the present invention. In the figure, reference numbers 1 to 4 are the same as those shown in FIG. Further, 5 is an instruction register, 6 is a decoder, 7 is an FCC circuit, 8 is a microinstruction decoder, and 9 is an operation cycle counter.
10は同期/非同期サイクル種別レジスタ、11は論理
回路、Cn、は演算サイクル数、X/Yは同期/非同期
サイクル種別を表わす。10 is a synchronous/asynchronous cycle type register, 11 is a logic circuit, Cn is the number of arithmetic cycles, and X/Y is a synchronous/asynchronous cycle type.
命令レジスタ5の演算命令は、デコーダ6(二より解読
され、マイクロ命令アドレスが、マイクロプログラム制
御部1を介して、制御メモリ4に与えられる。The operation instruction in the instruction register 5 is decoded by a decoder 6 (2), and the microinstruction address is given to the control memory 4 via the microprogram control section 1.
制御メモリ4から読み出されたマイクロ命令等の制御情
報は、ECC回路7でエラーチェックされ、1とットエ
ラーが検出されれば自動訂正される。マイクロ命令は、
マイクロ命令デコーダ8に印加される。マイクロ命令デ
コーダ8の出方は。Control information such as microinstructions read from the control memory 4 is checked for errors in the ECC circuit 7, and if a 1-set error is detected, it is automatically corrected. Micro instructions are
Applied to microinstruction decoder 8. How does the microinstruction decoder 8 come out?
演算制御部2を介して、演算部3の動作を制御するため
(=使用される。It is used to control the operation of the calculation unit 3 via the calculation control unit 2.
演算サイクル数Cnは、演算命令毎に予め定められてお
り、デコーダ6とマイクロデコーダ8の制御情報によっ
て更新される。The number of calculation cycles Cn is predetermined for each calculation instruction, and is updated by the control information of the decoder 6 and microdecoder 8.
同期/非同期サイクル種別情報X/Yは、演算命令毎に
各演算サイクルと対応させて予め定められており、演算
サイクルカウンタ9の出力によりレジスタ]0にセット
され、論理回路11(二印加される。Synchronous/asynchronous cycle type information .
ECC回路7は、BCCチェックによりデータ中(=エ
ラーを検出したとき、演算サイクル停止信号を論理回路
1](−送り、演算サイクルが同期サイクルであれば(
X/Y= ’1’ )、 演算サイクルカウンタ9お
よび演算制御回路等へのクロックの供給を禁止する。な
お、ECC回路7がエラー修正を終えると、演算サイク
ル停止信号は解除され。When the ECC circuit 7 detects an error in the data by checking the BCC, it sends an arithmetic cycle stop signal to the logic circuit 1](-, and if the arithmetic cycle is a synchronous cycle (
X/Y='1'), the supply of clocks to the arithmetic cycle counter 9, arithmetic control circuit, etc. is prohibited. Note that when the ECC circuit 7 completes error correction, the arithmetic cycle stop signal is released.
その後のクロックは供給される。Subsequent clocks are provided.
論理回路11は、演算サイクルが非同期サイクル(X/
Y==″10“)であれば、演算サイクル停止信号が加
えられてもクロックの供給禁止を行なわず、演算サイク
ルは所定の順序で進められる。In the logic circuit 11, the operation cycle is an asynchronous cycle (X/
If Y=="10"), even if an arithmetic cycle stop signal is applied, the clock supply is not inhibited and the arithmetic cycles proceed in a predetermined order.
第4図は、マイクロプログラムのA、Fのステップを同
期サイクルと定め、他のステップは・非同期サイクルと
したときの9本発明実施例によるシーケンス図である。FIG. 4 is a sequence diagram according to nine embodiments of the present invention when steps A and F of the microprogram are defined as synchronous cycles, and the other steps are defined as asynchronous cycles.
第2図(h)の場合と同様に+03サイクルでエラーが
検出されたものとすると、この場合には非同期サイクル
(Y)であるため、演算サイクル停止は行なわれず、全
体を8サイクルで終了させることができ、第2図(勾の
場合にくらべて、1サイクルだけ処理時間が短縮できる
。Assuming that an error is detected in +03 cycles as in the case of Fig. 2 (h), in this case, since it is an asynchronous cycle (Y), the operation cycle is not stopped and the entire operation is completed in 8 cycles. The processing time can be reduced by one cycle compared to the case shown in FIG.
以上のように1本発明によれば、プログラム制御(二よ
る演算装置は、制御情報中のエラー検出時に、従来のよ
うに無条件に演算サイクルを遅延させることなせず、非
同期サイクルについては、そのまま演算動作を進行させ
るようにしているため。As described above, (1) according to the present invention, when an error is detected in control information, an arithmetic unit based on program control (2) does not unconditionally delay the arithmetic cycle as in the past; This is because the calculation operation is progressing.
演算時間が短縮される。Computation time is reduced.
第1図は一般的なマイクロプログラム制御(=よる演算
装置の構成図、第2図(α)、 (A)は制御シーケン
スの例を示す図、第3図は実施例システムの構成図、第
4図は実施例システムにおける制御゛シーケンスの1例
を示す図である。
図中、1はマイクロプログラム制御部、2は演算制御部
、3は演算部、4は制御メモリ、7はECC回路、8は
マイクロデコーダ、9は演算サイクルカウンタ、10は
同期/非同期サイクル種別レジスタ、11は論理ゲート
を表わす。
”l’z図
才4−図Fig. 1 is a block diagram of an arithmetic unit based on general microprogram control (= Fig. 2 (α)), (A) is a diagram showing an example of a control sequence, and Fig. 3 is a block diagram of an example system. Figure 4 is a diagram showing an example of a control sequence in the embodiment system. In the figure, 1 is a microprogram control section, 2 is an arithmetic control section, 3 is an arithmetic section, 4 is a control memory, 7 is an ECC circuit, 8 represents a micro decoder, 9 represents an operation cycle counter, 10 represents a synchronous/asynchronous cycle type register, and 11 represents a logic gate.
Claims (1)
イクロプログラムの一連の演算サイクルについて、マイ
クロプログラムと同期する演算サイクルと、マイクロプ
ログラムに対して非同期の演算サイクルとを識別する手
段をそなえ、マイクロプログラムの実行に際して当該マ
イクロプログラムの各ステップのマイクロ命令を、制御
メモリがら順次的に読み出したとき、該制御情報(二ビ
ットエラーが検出された場合、その演算サイクルが。 上記したマイクロプログラムと同期する演算サイクルで
ある場合(二限り、演算サイクルの一時停止を行なうこ
とを特徴とする演算制御方式。[Scope of Claims] Microprogram control (in a two-based arithmetic unit, means for identifying a series of arithmetic cycles of a microprogram into arithmetic cycles that are synchronized with the microprogram and arithmetic cycles that are asynchronous with respect to the microprogram) , when the microinstructions of each step of the microprogram are read out sequentially from the control memory when the microprogram is executed, the control information (if a two-bit error is detected, the calculation cycle is An arithmetic control method characterized by temporarily stopping the arithmetic cycle when the arithmetic cycle is synchronized.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57229500A JPH0623953B2 (en) | 1982-12-28 | 1982-12-28 | Arithmetic control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57229500A JPH0623953B2 (en) | 1982-12-28 | 1982-12-28 | Arithmetic control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59121540A true JPS59121540A (en) | 1984-07-13 |
| JPH0623953B2 JPH0623953B2 (en) | 1994-03-30 |
Family
ID=16893141
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57229500A Expired - Lifetime JPH0623953B2 (en) | 1982-12-28 | 1982-12-28 | Arithmetic control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0623953B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02141833A (en) * | 1988-11-24 | 1990-05-31 | Nec Corp | Information processor |
| JPH04107729A (en) * | 1990-08-29 | 1992-04-09 | Nec Ic Microcomput Syst Ltd | Arithmetic circuit device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5477546A (en) * | 1977-12-02 | 1979-06-21 | Nec Corp | Microprogram control unit |
| JPS5485649A (en) * | 1977-12-20 | 1979-07-07 | Nec Corp | Microprogram control unit |
-
1982
- 1982-12-28 JP JP57229500A patent/JPH0623953B2/en not_active Expired - Lifetime
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5477546A (en) * | 1977-12-02 | 1979-06-21 | Nec Corp | Microprogram control unit |
| JPS5485649A (en) * | 1977-12-20 | 1979-07-07 | Nec Corp | Microprogram control unit |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02141833A (en) * | 1988-11-24 | 1990-05-31 | Nec Corp | Information processor |
| JPH04107729A (en) * | 1990-08-29 | 1992-04-09 | Nec Ic Microcomput Syst Ltd | Arithmetic circuit device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0623953B2 (en) | 1994-03-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH02257219A (en) | Pipeline processing apparatus and method | |
| JPS59114641A (en) | Interrupt processor | |
| JPS6243764A (en) | Bus state control circuit | |
| US4566103A (en) | Method for recovering from error in a microprogram-controlled unit | |
| JPH0348537B2 (en) | ||
| JPS6286449A (en) | Method for resuming page fault execution in data processing equipment | |
| JPS6218057B2 (en) | ||
| JPS58182758A (en) | Arithmetic controller | |
| JPH0810437B2 (en) | Guest execution control method for virtual machine system | |
| US3618042A (en) | Error detection and instruction reexecution device in a data-processing apparatus | |
| JPS59121540A (en) | Operation control system | |
| JPS59739A (en) | Time assurance system in microprogram processor | |
| JPS63226764A (en) | Fast floating point arithmetic system | |
| JP2758624B2 (en) | Speed control method of micro program | |
| JPS60214044A (en) | Microcomputer | |
| JP2814800B2 (en) | Microcomputer | |
| JPH01125633A (en) | System for debugging multi-processing system | |
| JPS60214043A (en) | Pipeline control circuit | |
| JPS63142449A (en) | Patrol check system for control memory | |
| JPH04181331A (en) | Instruction retry system | |
| JPS595354A (en) | Data processing device | |
| JPH0147818B2 (en) | ||
| JPS5924347A (en) | Microinstruction execution control method | |
| JPS6221130B2 (en) | ||
| JPS59178547A (en) | Instruction retry system |