JPS58161040A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPS58161040A
JPS58161040A JP4261482A JP4261482A JPS58161040A JP S58161040 A JPS58161040 A JP S58161040A JP 4261482 A JP4261482 A JP 4261482A JP 4261482 A JP4261482 A JP 4261482A JP S58161040 A JPS58161040 A JP S58161040A
Authority
JP
Japan
Prior art keywords
clock
data
error
microprogram
controls
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
JP4261482A
Other languages
Japanese (ja)
Inventor
Shinya Suzumura
鈴村 信也
Takayuki Morioka
隆行 森岡
Ryoichi Takamatsu
良一 高松
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4261482A priority Critical patent/JPS58161040A/en
Publication of JPS58161040A publication Critical patent/JPS58161040A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/22Microcontrol or microprogram arrangements
    • G06F9/223Execution means for microinstructions irrespective of the microinstruction function, e.g. decoding of microinstructions and nanoinstructions; timing of microinstructions; programmable logic arrays; delays and fan-out problems

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To perform efficiently the microprogram address transition by separating a control clock to a clock for a sequencer system and a clock for a data system and controlling these two clocks independently of each other. CONSTITUTION:A clock controlling part 2 which controls a clock DATA-P103 for the data system, which controls data systems 9 and 10, and a clock SEQ- P104 for the sequencer system which controls a microprogram sequencer system 5 makes both clocks effective when no error is generated in data systems and the sequencer system; and when an error is generated, the controlling part 2 makes the clock SEQ-P104 effective and makes the clock DATA-P103 ineffective and restores both clocks to the effective state in the next machine cycle. When the error is detected, the clock for the data system is made ineffective to set the no-operation state though a micro instruction register MIR 5 jumps to the next address, and the control is jumped to an error processing in the next cycle, and therefore, the internal state for generation of the error is held, and thus, the microprogram address transition is performed efficiently.

Description

【発明の詳細な説明】 プログラムアドレス遷移を効率良く行なわせるデータ処
理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device that efficiently performs program address transition.

従来のデータ処理装置では、第1図に示すように、ステ
ップ1のマシンサイクルでエラーが発生した時、マイク
ロプログラムを格納するマイクロインストラクションレ
ジスタMIRの内容を書き込み可能な制御記憶装置WC
8のアドレスAの内容とすれば、エラー発生より、エラ
ー処理に移行、即ちMIRの内容をWO2のTRAPア
ドレスの内容にするまでに、エラー発生を認識し、Vv
csアドレスを書き換える為の時間を要する。特に上記
アドレスAの内容が、算術演算の場合、演算の結果オー
バーフロー発生したというような演算トラップの発生は
、ステップ1のマシンサイクルの終端で検出され、ステ
ップ2を経てステップ3のマシンサイクルより、トラッ
プ処理に入ることになる。ステップ2のマシンサイクル
でMIRの内容は、アドレスA+1の内容を示しており
、その内容の示す動作が実行される。特に命令終了マシ
ンサイクルにて、演算トラップが検出される場合、次の
命令にジャンプし、その命令の最初のステップを実行後
、トラップ処理にジャンプするので、演算トラップ発生
時の装置の内部状態が保存されないという問題があり、
従来は、エラー発生を認識後エラー処理に入るまで、M
IRの内容を強制的にゝ全てゼロ#(即ち、ノーオペレ
ーション)とする方式であった。この方式では、1全て
ゼロIとする制御信号を必要とし、MIRをクリア端子
材のレジスタとする必要があり、ノ・−ド物量が大にな
る欠点があった。
In a conventional data processing device, as shown in FIG. 1, when an error occurs in the machine cycle of step 1, a control storage device WC that can write the contents of a microinstruction register MIR that stores a microprogram is used.
If the contents of address A of 8 are the contents of address A, the error occurrence is recognized and the Vv
It takes time to rewrite the cs address. In particular, when the content of the address A is an arithmetic operation, the occurrence of an operation trap such as an overflow as a result of the operation is detected at the end of the machine cycle of step 1, and then from the machine cycle of step 3 through step 2. It will enter trap processing. In the machine cycle of step 2, the contents of MIR indicate the contents of address A+1, and the operation indicated by the contents is executed. In particular, when an arithmetic trap is detected at the end of an instruction machine cycle, the system jumps to the next instruction, executes the first step of that instruction, and then jumps to trap processing, so the internal state of the device at the time the arithmetic trap occurs is There is a problem that it is not saved,
Conventionally, after recognizing the occurrence of an error, the M
The method was to forcibly set the contents of the IR to all zeros (that is, no operation). This method requires a control signal that sets all 1's to zero I, and requires the MIR to be a resistor made of clear terminal material, which has the drawback of increasing the amount of node material.

本発明の目的は、マイクロプログラムアドレス遷移を効
率良く行なわせるデータ処理装置を提供することにある
SUMMARY OF THE INVENTION An object of the present invention is to provide a data processing device that can efficiently perform microprogram address transitions.

本発明の特徴は、データ処理装置内の制御クロックを、
マイクロプログラムアドレスを格納するレジスタを制御
するクロック(以後シーケンサ系クロックと呼ぶ)と、
それ以外の部分を制御するクロック(以後データ系クロ
ックと呼ぶ)に分離し、その2つを独立に制御すること
によりマイクロプログラムアドレス遷移を行なわせるこ
とにある。
A feature of the present invention is that the control clock in the data processing device is
A clock that controls the register that stores the microprogram address (hereinafter referred to as the sequencer system clock),
The purpose is to separate the clocks (hereinafter referred to as data system clocks) that control the other parts and to perform microprogram address transitions by controlling the two independently.

以下、本発明の一実施例を第2図により説明する。An embodiment of the present invention will be described below with reference to FIG.

図は、データ系9.10のエラー検出を行なうエラー検
出器1.データ系9.10を制御するデータ系クロック
DATA−P103.マイクロプログラムシーケンサ系
5を制御するシーケンサ系クロック5EQ−P2O3の
夫々を、クロック制御部2によシ生成し格納する制御R
EG3.制御REG3をクリアする制御信号()RIO
I、エラー検出器lからの信号により、エラー処理のア
ドレスを生成するエラーアドレス11マイクロプログラ
ムを格納する書き込み可能な制御配憶装置WC814,
WC814のアドレス制御を行なうコントロールストレ
イシアトレスC3A13.C3A130制御信号を生成
するデコーダDEC12゜WC814の出力を格納する
マイクロインストラクションレジスタMIR5,データ
系のレジスタ群REGA9.REGBIO,データ系の
制御信号を生成するデコーダDEC6,及び7,89本
装置全体を制御する信号5Y8CLOCK102を備え
たデータ処理装置である。
The figure shows an error detector 1.1 that detects errors in the data system 9.10. Data system clock DATA-P103. that controls data system 9.10. A control R that causes the clock control unit 2 to generate and store each of the sequencer system clocks 5EQ-P2O3 that control the microprogram sequencer system 5.
EG3. Control signal ()RIO to clear control REG3
I, a writable control storage device WC814 that stores an error address 11 microprogram that generates an address for error processing according to a signal from an error detector I;
Control Stracia Torres C3A13. which performs address control of WC814. A decoder DEC12° that generates a C3A130 control signal; a microinstruction register MIR5 that stores the output of the WC814; and a data system register group REGA9. REGBIO, a decoder DEC6 that generates data system control signals, and a signal 5Y8CLOCK102 that controls the entire device.

DATA−P2O3,5EQ−P2O3を制御するクロ
ック制御部は、DATA−P2O3,5EQ−P2O3
共に有効でエラーが発生していない時、常に、DATA
−P2O3,8EQ−P2O3を有効にし、エラー発生
時には、DA TA−P2O3を無効 5EQ−P2O
3を有効にし、次のマシンサイクルでは、r)ATA−
P2O3゜8EQ−P2O3共に有効な状態に復帰させ
る働きをする。
The clock control unit that controls DATA-P2O3, 5EQ-P2O3 is
When both are valid and no error occurs, DATA
-P2O3, 8EQ-P2O3 is enabled, and when an error occurs, DA TA-P2O3 is disabled 5EQ-P2O
3 and in the next machine cycle, r) ATA-
Both P2O3°8EQ and P2O3 function to return to a valid state.

本実施例によれば、エラー検出された場合、MIR5が
次のアドレスにジャンプしても、データ系クロックを無
効にすることにより、ノーオペレーションの状態にさせ
、次のマシンサイクルで、エラー処理にジャンプするの
で、エラー発生時の装置の内部状態は保存できる。
According to this embodiment, when an error is detected, even if the MIR5 jumps to the next address, the data system clock is disabled to put it in a no-operation state, and error processing is performed in the next machine cycle. Since the process jumps, the internal state of the device at the time of the error can be saved.

このように本発明によれば、シーケンサ系クロックとデ
ータ系クロックを独立制御できるので、エラー発生時に
は不用の命令の実行を止め、ノーオペレーションとし、
エラー発生時の装置内の内部状態を保存することが可能
となり、マイクロプログラムアドレス遷移を効率良く、
比較的簡単な構成で実現できる。
As described above, according to the present invention, since the sequencer system clock and the data system clock can be controlled independently, when an error occurs, execution of unnecessary instructions is stopped and no operation is performed.
It is now possible to save the internal state of the device when an error occurs, making microprogram address transitions more efficient.
This can be achieved with a relatively simple configuration.

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

第11<は、一般的なデータ処理装置のエラー発生時の
装置の状態推移を示す図、第2図は本発明・の一実施例
回路図である。 1・・・エラー検出器、2・・・クロック信号制御部、
3・・・制御レジスタ、5・・・マイクロインストラク
ションレジスタ(MIR)、9.10・・・データ系の
レジスタ群、103・・・データ系クロック信号、第 
7 口 芽′□ 1
11 is a diagram showing the state transition of a general data processing device when an error occurs, and FIG. 2 is a circuit diagram of an embodiment of the present invention. 1...Error detector, 2...Clock signal control section,
3... Control register, 5... Micro instruction register (MIR), 9.10... Data system register group, 103... Data system clock signal, No.
7 Mouth bud′□ 1

Claims (1)

【特許請求の範囲】[Claims] 1、 マイクロプログラムで制御されるデータ処理装置
に於て、マイクロプログラムアドレスを格納するレジス
タを制御する第1のクロックと、データ処理装置内のそ
れ以外の部分を制御する第2のクロックを有し、該2つ
のクロックのオンオフを制御する為の各々に対応した第
3及び第゛4の信号線と、該2つの信号線に出力し、そ
の状態をマシンサイクル毎に入力により変化させるレジ
スタを有し、各マシンサイクル毎に、前記第1及び第2
のクロックを独立に制御することにより、マイクロプロ
グラムの実行及びアドレス遷移を行わせることを特徴と
するデータ処理装置。
1. A data processing device controlled by a microprogram has a first clock that controls a register that stores a microprogram address and a second clock that controls other parts of the data processing device. , has third and fourth signal lines corresponding to each for controlling on/off of the two clocks, and a register that outputs to the two signal lines and changes the state by inputting each machine cycle. and for each machine cycle, the first and second
1. A data processing device that executes a microprogram and performs address transition by independently controlling a clock of the device.
JP4261482A 1982-03-19 1982-03-19 Data processing device Pending JPS58161040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4261482A JPS58161040A (en) 1982-03-19 1982-03-19 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4261482A JPS58161040A (en) 1982-03-19 1982-03-19 Data processing device

Publications (1)

Publication Number Publication Date
JPS58161040A true JPS58161040A (en) 1983-09-24

Family

ID=12640893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4261482A Pending JPS58161040A (en) 1982-03-19 1982-03-19 Data processing device

Country Status (1)

Country Link
JP (1) JPS58161040A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5434646A (en) * 1977-08-23 1979-03-14 Hitachi Ltd Electronic computer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5434646A (en) * 1977-08-23 1979-03-14 Hitachi Ltd Electronic computer

Similar Documents

Publication Publication Date Title
JPS58161040A (en) Data processing device
JP2758624B2 (en) Speed control method of micro program
JPS60124746A (en) Data processing unit
JPS6242301B2 (en)
JPS6211920A (en) Command recovery system
JPS607540A (en) Interruption control circuit
JPH0443307B2 (en)
JP2574918B2 (en) Interrupt return processing method
JPH1165829A (en) Address conversion circuit
JP2979918B2 (en) Interrupt detection circuit
JPS60221829A (en) Data processor
JPS6012656B2 (en) Retry control method
JPH0148562B2 (en)
JPS5817585A (en) Virtual storage processor
JPH0259829A (en) Microcomputer
JPH05204680A (en) Malfunction preventing system for information processor
JPS6252331B2 (en)
JPH0623953B2 (en) Arithmetic control method
JPS629932B2 (en)
JPS6182238A (en) Condition branch controlling system of instruction
JPS6148181B2 (en)
JPH01274254A (en) Data processor
JPH05108384A (en) Microprocessor
JPH02105945A (en) Microcomputer with trigger output
JPS59154553A (en) Debugging interruption system