JPH0623953B2 - Arithmetic control method - Google Patents

Arithmetic control method

Info

Publication number
JPH0623953B2
JPH0623953B2 JP57229500A JP22950082A JPH0623953B2 JP H0623953 B2 JPH0623953 B2 JP H0623953B2 JP 57229500 A JP57229500 A JP 57229500A JP 22950082 A JP22950082 A JP 22950082A JP H0623953 B2 JPH0623953 B2 JP H0623953B2
Authority
JP
Japan
Prior art keywords
cycle
microprogram
arithmetic
operation cycle
arithmetic unit
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.)
Expired - Lifetime
Application number
JP57229500A
Other languages
Japanese (ja)
Other versions
JPS59121540A (en
Inventor
正裕 栗山
聡 杉浦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57229500A priority Critical patent/JPH0623953B2/en
Publication of JPS59121540A publication Critical patent/JPS59121540A/en
Publication of JPH0623953B2 publication Critical patent/JPH0623953B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding 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)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は,マイクロプログラム制御による演算装置の制
御方式に関し,特にマイクロプログラムの途中のステッ
プで,制御情報にビツトエラー(マイクエラー)が検出
されたとき,無駄な遅延が生じないように,実行する演
算処理の特性に応じて演算サイクルの進行停止を制御す
る方式に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a control method for an arithmetic unit by microprogram control, and particularly when a bit error (microphone error) is detected in control information at a step in the middle of a microprogram. The present invention relates to a method for controlling the progress / stop of an arithmetic cycle according to the characteristics of the arithmetic processing to be executed so that unnecessary delay does not occur.

〔従来技術と問題点〕[Conventional technology and problems]

第1図は,一般的なマイクロプログラム制御による演算
装置の概略構成を示し,1はマイクロプログラム制御
部,2は演算制御部,3は演算部,4は制御メモリであ
る。マイクロプログラム制御部は,演算命令により起動
され,演算処理に必要な一連のマイクロ命令のステツプ
からなるマイクロプログラムを演算サイクルにしたがっ
て実行する。マイクロプログラム中のステップを進める
には,以前のステップのマイクロ命令の実行終了の確認
が必要な演算サイクルと,以前のステップのマイクロ命
令の実行終了をまたずに次のステップのマイクロ命令の
実行に入ってよい演算サイクルとがあり,前者の同期演
算サイクル,後者は非同期演算サイクルと呼ばれ,マイ
クロ命令の特性により定まる。つまり同期演算サイクル
は,たとえば演算サイクルCでマイクロプログラムの
マイクロ命令Xを実行しようとするとき,Cの次のサ
イクルCN+1に進むためには,マイクロ命令XがC
正しく実行されてから,次のステップのマイクロ命令X
+1への移行が行われる必要があってこれが守られない
と誤処理を生じる場合に採用される。他方,非同期演算
サイクルは,演算サイクル中で以前のステップのマイク
ロ命令の実行と次のステップのマイクロ命令の実行とは
処理上関係がなく,双方のマイクロ命令の実行間にずれ
が生じても誤処理とならない場合に採用される。
FIG. 1 shows a schematic structure of a general micro-program control arithmetic unit. 1 is a micro program control unit, 2 is an arithmetic control unit, 3 is an arithmetic unit, and 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 necessary for arithmetic processing in accordance with an arithmetic cycle. In order to advance the step in the microprogram, it is necessary to confirm the end of execution of the microinstruction of the previous step and the execution of the next step of microinstruction without ending the execution of the microinstruction of the previous step. There are operation cycles that can be entered. The former is a synchronous operation cycle, and the latter is an asynchronous operation cycle, which is determined by the characteristics of microinstructions. That synchronization operation cycle, for example when a user tries to execute a microinstruction X of the microprogram in the calculation cycle C N, to proceed to the next cycle C N + 1 of C N are microinstruction X is run correctly on C N And then the next step microinstruction X
This is used when a shift to +1 needs to be made and erroneous processing occurs if this is not observed. On the other hand, in the asynchronous operation cycle, there is no processing relationship between the execution of the microinstruction in the previous step and the execution of the microinstruction in the next step in the operation cycle. It is adopted when it is not processed.

演算制御部はマイクロ命令にしたがつて演算サイクルを
設定し,マイクロ命令と演算サイクルによつて演算部を
制御して,バスの転送ゲート制御,レジスタのセット,
メモリのリード/ライト,データチエツクなどの演算処
理動作を実行させる。そして全ての演算処理が終了する
と,マイクロプログラム制御部に通知し,演算を完了さ
せる。
The arithmetic control unit sets an arithmetic cycle according to the microinstruction, controls the arithmetic unit according to the microinstruction and the arithmetic cycle, controls the transfer gate of the bus, sets the register,
Performs arithmetic processing operations such as memory read / write and data check. When all the arithmetic processing is completed, the micro program controller is notified and the arithmetic is completed.

演算制御部には,マイクロプログラムの実行時の演算サ
イクルを制御するための演算サイクルカウンタが設けら
れており,マイクロプログラムの各ステツプは,演算サ
イクルと同期して歩進されるようにサイクル同期チエツ
クが行なわれている。そのため,マイクロプログラム制
御部が,制御メモリから読み出したマイクロ命令中に,
たとえばECCチエツクによりビツトエラーを検出して
実行不能となつたとき,エラー修正時間を確保するた
め,無条件に演算サイクルの進行を停止し,すなわち,
演算動作を停止して,エラー修正が終るたとえば1サイ
クル後に再開していた。
The arithmetic control unit is provided with an arithmetic cycle counter for controlling the arithmetic cycle during execution of the microprogram, and each step of the microprogram is cycle-synchronized check so as to step in synchronization with the arithmetic cycle. Is being carried out. Therefore, the micro program control unit reads
For example, when a bit error is detected by the ECC check and execution becomes impossible, in order to secure the error correction time, the operation cycle is unconditionally stopped, that is,
The arithmetic operation was stopped and restarted, for example, one cycle after the error correction was completed.

第2図(a)は,演算命令のマイクロプログラムの正常な
動作シーケンスの1例を示したものである。図示のマイ
クロプログラムは,A,B,C,D,E,Fの6ステッ
プからなり,演算サイクルは,全体でC乃至Cサイ
クルが使用される。この場合,マイクロプログラムの各
ステップのマイクロ命令は正常と実行されたとき1サイ
クルで終了する。ところで第2図(a)に例示されてい
る動作シーケンスの演算命令では,マイクロプログラム
がA〜Fの6ステップで構成されているため演算サイク
ルは2サイクル余ることになる。しかし演算部の動作に
は8サイクルが必要である。そこでマイクロプログラム
の最後のFステップではCの3サイクルでの演算部の
動作終了を待ち,これを検出したとき終了コードを設定
して演算を終了する。そのため,演算制御部は,演算サ
イクルカウンタがCをカウントしたとき,演算終了を
マイクロプログラム制御部に通知する。
FIG. 2A shows an example of a normal operation sequence of a microprogram of operation instructions. The illustrated microprogram is composed of 6 steps of A, B, C, D, E, and F, and C 1 to C 8 cycles are used as the entire operation cycle. In this case, the microinstruction in each step of the microprogram is completed in one cycle when it is executed normally. By the way, in the operation instruction of the operation sequence illustrated in FIG. 2 (a), since the microprogram is composed of 6 steps A to F, the operation cycle has two extra cycles. However, the operation of the arithmetic unit requires 8 cycles. Therefore wait for end of the operation of the arithmetic unit of the three cycles of C 8 in the last F step of the microprogram, and ends the operation to set the exit code when this is detected. Therefore, the arithmetic control unit notifies the microprogram control unit of the end of the arithmetic when the arithmetic cycle counter counts C 8 .

ところで,第2図(b)に示すように,CステツプのC
サイクルにおいて,マイクロプログラム制御部が制御メ
モリから読み出したマイクロ命令にエラーを検出した場
合,上述したように,演算サイクルは1サイクル停止さ
れ,次のCサイクルが遅延して発生される。そのた
め,CサイクルはCサイクルから数えて9サイクル
目に生じる。そしてCサイクルで演算終了が通知され
るため,第2図(a)の場合にくらべて,1サイクルだけ
演算終了が遅延するという問題があつた。
By the way, as shown in FIG. 2 (b), the C step C 3
In the cycle, when the micro program controller detects an error in the micro instruction read from the control memory, the operation cycle is stopped for one cycle and the next C 4 cycle is delayed, as described above. Therefore, the C 8 cycle occurs at the 9th cycle counting from the C 1 cycle. And since the calculation end in C 8 cycles is notified, as compared with the case of FIG. 2 (a), by one cycle operation end there has been a problem of delay.

〔発明の目的および構成〕[Object and Structure of Invention]

本発明の目的は,マイクロプログラム制御による演算装
置において,制御メモリから読み出したマイクロ命令に
エラーが検出されたときの,演算サイクルの遅延をでき
る限り少なくすることにある。
An object of the present invention is to reduce the delay of the operation cycle as much as possible when an error is detected in the microinstruction read from the control memory in the operation device under microprogram control.

本発明は,そのため,一連の演算サイクル中,マイクロ
プログラムと同期して動作するサイクル,すなわち以前
のステツプの演算サイクルの動作終了を確認して次のス
テツプの演算サイクルを開始しなければならないもの
と,非同期で動作するサイクル,すなわち以前の演算サ
イクルの動作終了をまたずに次のステツプの実行を開始
してよいものとがあることに着目し,上記したエラー
が,同期的な演算サイクルのもので起つたときに限り,
その演算サイクルを遅延させ,他方,非同期の演算サイ
クルのもので起つたときには,その演算サイクルを遅延
させることなく開始させることにより,上記目的を達成
するものである。
Therefore, according to the present invention, during a series of operation cycles, it is necessary to confirm the operation cycle of the microprogram, that is, the operation end of the operation cycle of the previous step, and start the operation cycle of the next step. , There is a cycle that operates asynchronously, that is, the execution of the next step may be started without ending the operation of the previous operation cycle. Only when it happens in
The object is achieved by delaying the operation cycle, and when the operation cycle is asynchronous, the operation cycle is started without delay.

そして本発明の構成は,マイクロプグラムが格納されて
いる制御メモリと,マイクロプログラム制御部と,演算
制御部と,演算部とを備えたマイクロプログラム制御に
よる演算装置において,マイクロプログラムと演算部の
実行のための一連の演算サイクルについて,マイクロプ
ログラムと同期して演算部が動作する演算サイクルと,
マイクロプログラムとは無関係に演算部が非同期で動作
する演算サイクルとをマイクロプログラムを規定する命
令のデコーダ出力によって識別する手段を設け,マイク
ロプログラム制御部がマイクロプログラムの実行に際し
て当該マイクロプログラムの各ステップのマイクロ命令
を,制御メモリから順次的に読み出したとき,該マイク
ロ命令の情報にビットエラーが検出された場合,その演
算サイクルが,上記したマイクロプログラムと同期する
演算サイクルであることが上記手段により識別された場
合に限り,演算サイクルの一時停止を行ないビットエラ
ー修正を行った後演算サイクルを再開し,他方,演算サ
イクルが上記したマイクロプログラムと非同期で動作す
る演算サイクルであることが上記手段により識別された
場合は,演算サイクルを停止せず,演算部の実行と並行
して,ビットエラーの修正を行うようにしたことを特徴
としている。
The configuration of the present invention is to execute a microprogram and an arithmetic unit in an arithmetic device by microprogram control including a control memory storing a microprogram, a microprogram controller, an arithmetic controller, and an arithmetic unit. For a series of operation cycles for, the operation cycle in which the operation unit operates in synchronization with the microprogram,
Means for identifying an operation cycle in which the arithmetic unit operates asynchronously regardless of the microprogram is provided by a decoder output of an instruction defining the microprogram, and the microprogram control unit executes each step of the microprogram when executing the microprogram. When a micro-instruction is sequentially read from the control memory and a bit error is detected in the information of the micro-instruction, it is identified by the above means that the operation cycle is an operation cycle synchronized with the above-mentioned micro program. Only when the operation cycle is temporarily stopped, the operation cycle is restarted after the bit error is corrected, and the operation cycle is identified by the above means as an operation cycle which operates asynchronously with the above microprogram. If the Without stopping the Le, in parallel with the execution of the computation unit, it is characterized in that so as to correct the bit errors.

〔発明の実施例〕Example of Invention

以下に,本発明を実施例にしたがって説明する。 Hereinafter, the present invention will be described according to examples.

第3図は,本発明実施例システムの構成図である。同図
において,参照番号1乃至4は,第1図に示したものと
共通である。そして,5は命令レジスタ,6はデコー
ダ,7はECC回路,8はマイクロ命令デコーダ,9は
演算サイクルカウンタ,10は同期/非同期サイクル種
別レジスタ,11は論理回路,Cは演算サイクル数,
X/Yは同期/非同期サイクル種別を表わす。
FIG. 3 is a block diagram of the system of the embodiment of the present invention. In the figure, reference numerals 1 to 4 are common to those shown in FIG. Then, 5 is an instruction register, 6 is a decoder, 7 is an ECC circuit, 8 is a micro instruction decoder, 9 is an operation cycle counter, 10 is a synchronous / asynchronous cycle type register, 11 is a logic circuit, C n is the number of operation cycles,
X / Y represents a synchronous / asynchronous cycle type.

命令レジスタ5の演算命令は,デコーダ6により解読さ
れ,マイクロ命令アドレスが,マイクロプログラム制御
部1を介して,制御メモリ4に与えられる。
The operation instruction of the instruction register 5 is decoded by the decoder 6, and the micro instruction address is given to the control memory 4 via the micro program control unit 1.

制御メモリ4から読み出されたマイクロ命令等の制御情
報は,ECC回路7でエラーチエツクされ,1ビツトエ
ラーが検出されれば自動訂正される。マイクロ命令は,
マイクロ命令デコーダ8に印加される。マイクロ命令デ
コーダ8の出力は,演算制御部2を介して,演算部3の
動作を制御するために使用される。
The control information such as microinstructions read from the control memory 4 is error-checked by the ECC circuit 7 and is automatically corrected if a 1-bit error is detected. Micro instructions are
It is applied to the micro instruction decoder 8. The output of the micro instruction decoder 8 is used to control the operation of the arithmetic unit 3 via the arithmetic control unit 2.

演算サイクル数Cは,演算命令毎に予め定められてお
り,デコーダ6とマイクロデコーダ8の制御情報によつ
て更新される。
The number of operation cycles C n is predetermined for each operation instruction and is updated by the control information of the decoder 6 and the microdecoder 8.

同期/非同期サイクル種別情報X/Yは,演算命令毎に
各演算サイクルと対応させて予め定められており,演算
サイクルカウンタ9の出力によりレジスタ10にセツト
され,論理回路11に印加される。
The synchronous / asynchronous cycle type information X / Y is predetermined for each operation instruction in association with each operation cycle, is set in the register 10 by the output of the operation cycle counter 9, and is applied to the logic circuit 11.

ECC回路7は,ECCCチエツクによりデータ中にエ
ラーを検出したとき,演算サイクル停止信号を論理回路
11に送り,演算サイクルが同期サイクルであれば(X
/Y=“1”),演算サイクルカウンタ9および演算制
御回路等へのクロツクの供給を禁止する。なお,ECC
回路7がエラー修正を終えると,演算サイクル停止信号
は解除され,その後のクロックは供給される。
When the ECC circuit 7 detects an error in the data by the ECCC check, it sends an operation cycle stop signal to the logic circuit 11, and if the operation cycle is a synchronous cycle (X
/ Y = "1"), the clock supply to the operation cycle counter 9 and the operation control circuit is prohibited. In addition, ECC
When the circuit 7 finishes the error correction, the operation cycle stop signal is released and the subsequent clock is supplied.

論理回路11は,演算サイクルが非同期サイクル(X/
Y=“0”)であれば,演算サイクル停止信号が加えら
れてもクロツクの供給禁止を行なわず,演算サイクルは
所定の順序で進められる。
In the logic circuit 11, the operation cycle is an asynchronous cycle (X /
If Y = “0”), the clock supply is not prohibited even if the operation cycle stop signal is applied, and the operation cycle is advanced in a predetermined order.

第4図は,マイクロプログラムのA,Fのステツプを同
期サイクルと定め,他のステツプは非同期サイクルとし
たときの,本発明実施例によるシーケンス図である。第
2図(b)の場合と同様に,Cサイクルでエラーが検出
されたものとすると,この場合にはC〜Cサイクル
が非同期サイクル(Y)であるため,演算サイクル停止
は行わずにCサイクルからCサイクルまでそのまま
マイクロプログラムのステップの実行を進めCの周期
サイクル(X)でCまでの動作の正常終了を確認して
演算を終了することにより,全体を8サイクルで規定通
り終了させることができ,第2図(b)の場合にくらべ
て,1サイクルだけ処理時間が短縮できる。つまりC
サイクルにおけるマイクロプログラムのCステップの実
行でエラーが検出されても,C〜Cサイクルが非同
期サイクルであることから,Cサイクルで検出された
エラーの修正によりマイクロプログラムのCステップの
実行終了が遅延してもそれを待たずに演算サイクルをC
,C…と進める。ここでCステップにCとC
2つの演算サイクルを要している点では第2図(b)の
場合と同じであるが,前述したように各マイクロ命令の
実行は正常に行われた場合1サイクル終了することか
ら,Fステップでの余分な待ち時間がサイクルだけ短縮
できることにより,全体の処理時間が遅延しないように
なっている。
FIG. 4 is a sequence diagram according to the embodiment of the present invention in which the steps A and F of the microprogram are defined as a synchronous cycle and the other steps are asynchronous cycles. As in the case of FIG. 2 (b), when the one error is detected by the C 3 cycle, for C 3 -C 7 cycles in this case is an asynchronous cycle (Y), operation cycle stops made Instead, the steps of the microprogram are directly executed from the C 3 cycle to the C 7 cycle, and in the cycle cycle (X) of C 8 , the normal end of the operation up to C 7 is confirmed and the operation is completed, so that the entire operation is completed. The processing can be completed in a cycle as specified, and the processing time can be shortened by one cycle as compared with the case of FIG. 2 (b). That is C 3
Even if errors are detected in the execution of the C step of the microprogram in the cycle, C 3 -C since 7 cycles are asynchronous cycle, completion of execution of C step of the microprogram by the error correction detected by the C 3 cycle Is delayed, the operation cycle is C without waiting for it.
4 , C 5 ... This is the same as the case of FIG. 2B in that the C step requires two operation cycles of C 3 and C 4 , but as described above, the execution of each microinstruction is normally performed. In this case, since one cycle is completed, the extra waiting time in the F step can be shortened by the cycle, so that the entire processing time is not delayed.

第5図は,演算部3の構成図であり,図中,A,Bは各
4ByteのオペランドOP1,C,Dは各4Byte
のオペランドOP2,ADDは加算器,Carryは桁
上げX,Yは各4Byteの演算結果のオペランドOP
1を表している。
FIG. 5 is a block diagram of the arithmetic unit 3, in which A and B are operands OP1, C, and D of 4 bytes each and 4 bytes each.
Operands OP2, ADD are adders, Carry is carry X, Y is operand 4 of operation result of each 4 bytes
Represents 1.

第6図は,第5図に示される演算部3を演算動作の具体
例の説明図である。この具体例は,各8Byteのオペ
ランドOP1,OP2とを加算してOP1のアドレスに
格納する演算命令についてのものである。
FIG. 6 is an explanatory diagram of a specific example of the arithmetic operation of the arithmetic unit 3 shown in FIG. This specific example relates to an arithmetic instruction for adding operands OP1 and OP2 of 8 bytes and storing the result at the address of OP1.

OP1(A+B)+OP2(C,D) →OP1(A,B) 第6図中の右欄はマイクロプログラムの構成を示し,S
〜Sの6ステップで構成される。ステップS
は,演算部を起動する制御を行い,ステップSでは,
オペランドOP1のデータをメモリからフェッチする。
ステップSではフェッチしたOP1のデータ値の範囲
の正常性を調べるデータ例外チェックを行い,ステップ
ではオペランドOP2をフェッチする。ステップS
ではフェッチしたOP2のデータ例外チェックを行
い,ステップSでは演算部の演算終了を監視し,終了
したとき演算結果の正常,オーバフロー,データ例外等
の状態を終了コードに設定する。
OP1 (A + B) + OP2 (C, D) → OP1 (A, B) The right column in FIG. 6 shows the structure of the microprogram, and S
It is composed of 6 steps of 1 to S 6 . In step S 1 , control for activating the arithmetic unit is performed, and in step S 2 ,
The data of the operand OP1 is fetched from the memory.
Step S 3 performs data exception check in examining the health of the range of data values OP1 fetched, fetching step S 4 the operand OP2. Step S
5 performs OP2 data exception checking fetched in monitors operation completion of the operation unit in step S 6, the operation result when successful, sets the overflow, the exit code states such as data exception.

第6図の左欄は,右欄のマイクロプログラムにより起動
される演算部の演算サイクルの内容を示す。演算サイク
ルはC〜Cの8サイクルからなり,CではOP1
の上位4ByteをAにセットし,CではOP1の下
位4ByteをBにセットし,CではOP2の上位4
ByteをCにセットし,CではOP2の下位4By
teをDにセットする。CではBとDにセットされた
OP1とOP2の各下位4Byte同士を加算してその
和と桁上げを,YとCarryにセットし,CではA
とCにセットされたOP1とOP2の各上位4Byte
とCarryの内容とを加算してその和と桁上げをXと
Carryにセットする。CとCでは,それぞれX
とYの上位は下位の各4ByteのデータをOP1の上
位の下位のデータとして転送する。
The left column of FIG. 6 shows the contents of the arithmetic cycle of the arithmetic unit activated by the microprogram in the right column. The operation cycle consists of 8 cycles of C 1 to C 8 , and OP 1 at C 1
Set the upper 4Byte to A, to set the lower 4Byte of C 2 in OP1 to B, the upper 4 of C 3 in the OP2
Set Byte to C, and in C 4 , lower 4 By of OP2
Set te to D. In C 5 , the lower 4 Bytes of OP1 and OP2 set in B and D are added, the sum and carry are set in Y and Carry, and in C 6 , A
Upper 4 bytes of OP1 and OP2 set to C and C
And the contents of Carry are added, and the sum and carry are set to X and Carry. For C 7 and C 8 , X
The upper 4 bits of Y and Y transfer the lower 4 bytes of data as the upper lower data of OP 1.

この演算サイクルではCとCが同期サイクル,その
他のC〜Cが非同期サイクルである。つまり,C
ではマイクロプログラムによって演算部が起動されるこ
とによって同期が行われ,Cではマイクロプログラム
が演算部の演算終了を待って終了コードをセットするた
めに同期が行われる。そしてその中間ではマイクロプロ
グラムは演算部の動作とは無関係にS〜SのOP
1,OP2のフェッチとデータ例外チェッチを行い,演
算部ではS〜Sの各ステップの終了確認を行わずに
〜Cの各サイクルとを順次実行する。ここでS
〜Sのステップのマイクロ命令の読み出しでビットエ
ラーが検出されても,C〜Cの演算サイクルは停止
されず,演算部の動作は進められる。
In this operation cycle, C 1 and C 8 are synchronous cycles, and the other C 2 to C 7 are asynchronous cycles. That is, C 1
In step 8 , synchronization is performed by activating the operation unit by the microprogram, and in C 8 , the microprogram waits for the end of the operation of the operation unit and sets the end code. And in the middle of it, the microprogram is OP of S 2 to S 5 regardless of the operation of the arithmetic unit.
1 performs OP2 fetch data exception Chetchi sequentially executes each cycle of C 2 -C 7 without confirmation of completion of each step of S 2 to S 5 in the arithmetic unit. Where S 2
Even bit errors are detected by the reading of the microinstruction steps to S 8, operation cycles of the C 2 -C 7 can not be stopped, operation of the arithmetic unit is advanced.

〔発明の効果〕 以上のように,本発明によれば,プログラム制御による
演算装置は,制御情報中のエラー検出時に,従来のよう
に無条件に演算サイクルを遅延させることをせず,非同
期サイクルについては,そのまま演算動作を進行させる
ようにしているため演算時間が短縮される。
[Effects of the Invention] As described above, according to the present invention, an arithmetic unit under program control does not unconditionally delay the arithmetic cycle when an error in control information is detected, but an asynchronous cycle. With respect to, the calculation time is shortened because the calculation operation is allowed to proceed as it is.

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

第1図は一般的なマイクロプログラム制御による演算装
置の構成図,第2図(a),(b)は制御シーケンスの
例を示す図,第3図は実施例システムの構成図,第4図
は実施例システムにおける制御シーケンスの1例を示す
図,第5図は実施例システムの演算部の構成図,第6図
は演算動作の具体例の説明図である。 図中,1はマイクロプログラム制御部,2は演算制御
部,3は演算部,4は制御メモリ,7はECC回路,8
はマイクロデコーダ,9は演算サイクルカウンタ,10
は同期/非同期サイクル種別レジスタ,11は論理ゲー
トを表わす。
FIG. 1 is a block diagram of an arithmetic unit under general microprogram control, FIGS. 2A and 2B are diagrams showing an example of a control sequence, FIG. 3 is a block diagram of an embodiment system, and FIG. FIG. 5 is a diagram showing an example of a control sequence in the embodiment system, FIG. 5 is a block diagram of an arithmetic unit of the embodiment system, and FIG. 6 is an explanatory diagram of a concrete example of the arithmetic operation. In the figure, 1 is a micro program control unit, 2 is an arithmetic control unit, 3 is an arithmetic unit, 4 is a control memory, 7 is an ECC circuit, 8
Is a microdecoder, 9 is an operation cycle counter, 10
Represents a synchronous / asynchronous cycle type register, and 11 represents a logic gate.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マイクロプグラムが格納されている制御メ
モリと,マイクロプログラム制御部と,演算制御部と,
演算部とを備えたマイクロプログラム制御による演算装
置において,マイクロプログラムと演算部の実行のため
の一連の演算サイクルについて,マイクロプログラムと
同期して演算部が動作する演算サイクルと,マイクロプ
ログラムとは無関係に演算部が非同期で動作する演算サ
イクルとをマイクロプログラムを規定する命令のデコー
ダ出力によって識別する手段を設け,マイクロプログラ
ム制御部がマイクロプログラムの実行に際して当該マイ
クロプログラムの各ステップのマイクロ命令を,制御メ
モリから順次的に読み出したとき,該マイクロ命令の情
報にビットエラーが検出された場合,その演算サイクル
が,上記したマイクロプログラムと同期する演算サイク
ルであることが上記手段により識別された場合に限り,
演算サイクルの一時停止を行ないビットエラー修正を行
った後演算サイクルを再開し,他方,演算サイクルが上
記したマイクロプログラムと非同期で動作する演算サイ
クルであることが上記手段により識別された場合は,演
算サイクルを停止せず,演算部の実行と並行して,ビッ
トエラーの修正を行うようにしたことを特徴とする演算
制御方式。
1. A control memory in which a microprogram is stored, a microprogram control section, an arithmetic control section,
In an arithmetic unit controlled by a micro program including an arithmetic unit, regarding a series of arithmetic cycles for executing the micro program and the arithmetic unit, the arithmetic cycle in which the arithmetic unit operates in synchronization with the micro program is independent of the micro program. Is provided with means for identifying the operation cycle in which the arithmetic unit operates asynchronously by the decoder output of the instruction defining the microprogram, and the microprogram control unit controls the microinstruction at each step of the microprogram when executing the microprogram. When a bit error is detected in the information of the microinstruction when sequentially read from the memory, and only when the operation cycle is identified by the above means as the operation cycle synchronized with the above microprogram. ,
If the above-mentioned means identifies that the operation cycle is an operation cycle that operates asynchronously with the above microprogram, the operation cycle is restarted after the operation cycle is temporarily stopped and the bit error is corrected. An arithmetic control method characterized in that bit errors are corrected in parallel with the execution of the arithmetic unit without stopping the cycle.
JP57229500A 1982-12-28 1982-12-28 Arithmetic control method Expired - Lifetime JPH0623953B2 (en)

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 JPS59121540A (en) 1984-07-13
JPH0623953B2 true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0797326B2 (en) * 1988-11-24 1995-10-18 日本電気株式会社 Information processing equipment
JP2552029B2 (en) * 1990-08-29 1996-11-06 日本電気アイシーマイコンシステム株式会社 Arithmetic circuit device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
JPS59121540A (en) 1984-07-13

Similar Documents

Publication Publication Date Title
US5093908A (en) Method and apparatus for executing instructions in a single sequential instruction stream in a main processor and a coprocessor
JP2848606B2 (en) Method and apparatus for modifying microinstructions using a macroinstruction pipeline
JPS592143A (en) Operation controlling system
US4791555A (en) Vector processing unit
JPH1021074A (en) Interruption control system, processor, and computer system
EP0141232B1 (en) Vector processing unit
JPH0623953B2 (en) Arithmetic control method
EP0573071A2 (en) A microprocessor
JPH0758460B2 (en) Floating-point arithmetic normalization control method
JPH0147818B2 (en)
JPS6134188B2 (en)
JP2814800B2 (en) Microcomputer
JP2758624B2 (en) Speed control method of micro program
JPS595354A (en) Data processing device
JPH0561660B2 (en)
JP2504263B2 (en) Data processing device
JPH03103924A (en) Data processor
JPH0317135B2 (en)
JPH03164945A (en) Data processor
JPH0635716A (en) Microprocessor
JPS6221130B2 (en)
JPS5924347A (en) Executing and controlling method of microinstruction
JPH059817B2 (en)
JPS60128533A (en) Data processing unit
JPH0333929A (en) Microprogram controller