JPS60122450A - Microprocessor - Google Patents

Microprocessor

Info

Publication number
JPS60122450A
JPS60122450A JP22953783A JP22953783A JPS60122450A JP S60122450 A JPS60122450 A JP S60122450A JP 22953783 A JP22953783 A JP 22953783A JP 22953783 A JP22953783 A JP 22953783A JP S60122450 A JPS60122450 A JP S60122450A
Authority
JP
Japan
Prior art keywords
address
signal
circuit
processing
control
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
Application number
JP22953783A
Other languages
Japanese (ja)
Other versions
JPH0123812B2 (en
Inventor
Kiyoshi Kuno
久野 潔
Kenji Kubota
窪田 憲治
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 JP22953783A priority Critical patent/JPS60122450A/en
Publication of JPS60122450A publication Critical patent/JPS60122450A/en
Publication of JPH0123812B2 publication Critical patent/JPH0123812B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To execute plural microprograms in parallel by using plural address registers as the address of a control memory in time division in machine clock unit. CONSTITUTION:Address registers 6, 7 have an address of an instruction to be read next from a control memory 10, its content is set by an operation control circuit 9 and which of them used as the next address is decided by a signal from control lines 18, 19. When ''1'' is transmitted via a signal line 18, for example, an AND circuit 11 is gated and the content of the register 6 goes to the address of the memory 10 via an OR circuit 13. Then an address control switching circuit 8 receives a control signal via signal lines 14, 15 via the circuit 9 and also receives an external signal via signal lines 16, 17 and transmits the signal to the signal lines 18, 19.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、マイクロ・プロセッサに関し、特に割込み発
生後、マイクロプログラムによる並列処理が可能なマイ
クロ・プロセッサに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a microprocessor, and more particularly to a microprocessor capable of parallel processing using a microprogram after an interrupt occurs.

〔発明の背景〕[Background of the invention]

近年のコンピュータ・システムにおいて、周辺装置のデ
ータ転送速度の高速化は著しく、特にディスク駆動装置
は3 M B / secの高速度でデータ転送が可能
となったが、これは従来の2.5倍の速度である。これ
らの周辺装置と接続されている中央処理装置内のチャネ
ル装置の中には上記高速のデータ転送を処理できないも
のがあり、システム構成上のネックとなっている。
In recent computer systems, the data transfer speed of peripheral devices has increased significantly, and disk drives in particular are now able to transfer data at a high speed of 3 MB/sec, which is 2.5 times faster than before. The speed is Some of the channel devices in the central processing unit connected to these peripheral devices cannot handle the above-mentioned high-speed data transfer, which poses a bottleneck in system configuration.

そこで、その対策として、チャネル装置(CHL)とデ
ィスク駆動装置(DKU)との間に存在して、データ転
送その他を制御するディスク制御装置(DKC)内に大
容量のバッファ・メモリを設置し、上記低/中速度のチ
ャネル装置と高速度のディスク駆動装置間の速度の差を
吸収させることにより、高速度ディスク駆動装置を低/
中速度チャネル装置に接続している。
Therefore, as a countermeasure, a large-capacity buffer memory is installed in the disk controller (DKC) that exists between the channel unit (CHL) and the disk drive unit (DKU) and controls data transfer and other operations. By absorbing the speed difference between the low/medium speed channel device and the high speed disk drive, the high speed disk drive
Connected to a medium speed channel device.

第1図は、大容量のバッファ・メモリを搭載したディス
ク制御装置のブロック図である。
FIG. 1 is a block diagram of a disk controller equipped with a large capacity buffer memory.

1はディスク制御装置、2はマイクロ・プロセッサ、3
はチャネル・インタフェース制御部、牛はバッファ・メ
モリ、5はディスク・インタフェース制御部である。マ
イクロ・プロセッサ2はディスク制御装置l全体を制御
し、チャネル・インタフェース制御部3はチャネル装置
(CHL)との間でデータの転送およびコマンド情報、
状態情報等の授受を行い、バッファ・メモリ牛は転送さ
れたデータの緩衝用のメモリであって、リード・データ
、ライト・データはすべてこのメモリ牛を通過する。デ
ィスク・インタフェース制御部5は、ディスク駆動装置
(DKU)との間でデータの転送およびディスク駆動装
置への動作指示、その他の制御を行う。
1 is a disk controller, 2 is a microprocessor, 3 is a
is a channel interface control section, numeral 5 is a buffer memory, and 5 is a disk interface control section. The microprocessor 2 controls the entire disk controller l, and the channel interface controller 3 transfers data and command information to and from the channel device (CHL).
Status information and the like are exchanged, and the buffer memory is a memory for buffering transferred data, and all read data and write data pass through this memory. The disk interface control unit 5 transfers data to and from the disk drive unit (DKU), instructs the disk drive unit to operate, and performs other controls.

ところで、第1図に示すディスク制御装置1においては
、対チャネルの処理と、対ディスク駆動装置の処理を同
時並行して行う必要がある。
By the way, in the disk control device 1 shown in FIG. 1, it is necessary to simultaneously perform processing for channels and processing for disk drives.

第2図は、第1図におけるディスク制御装置の動作シー
ケンス・チャートである。
FIG. 2 is an operation sequence chart of the disk control device in FIG. 1.

第2図では、リード処理の例を示しており、またチャネ
ル装置とディスク駆動装置のデータ転送速度の比は1:
2である。
FIG. 2 shows an example of read processing, and the data transfer rate ratio of the channel device and disk drive device is 1:
It is 2.

もし、チャネル装置とディスク駆動装置のデータ転送速
度が等しいならば、対チャネルと対ディスク駆動装置の
データ転送処理は同期して処理することができ、さらに
コマンド・チェーン処理とギャップ処理も同期して処理
できるため、1つのマイクロプログラムにより処理する
ことができる。
If the data transfer rates of the channel device and the disk drive are equal, the data transfer process between the channel and the disk drive can be performed synchronously, and the command chain processing and gap processing can also be performed synchronously. Since it can be processed, it can be processed by one microprogram.

しかし、チャネル装置のデータ転送速度と、ディスク駆
動装置のデータ転送速度に差がある場合には、対チャネ
ルと対ディスク駆動装置の処理を同期して処理すること
はできない。
However, if there is a difference between the data transfer speed of the channel device and the data transfer speed of the disk drive device, processing for the channel and for the disk drive device cannot be performed synchronously.

第2図においては、上方から下方に向ってチャネル(C
HL)側とディスク制御装置とディスク駆動装置(DK
U)側が示されており、ディスク制御装置では対チャネ
ル(CHL)処理と対ディスク駆動装置(DKU)処理
が左側から右側に向って時系列に配置されている。
In Figure 2, the channel (C
HL) side, disk control device, and disk drive device (DK)
The U) side is shown, and in the disk control device, channel-to-channel (CHL) processing and disk-drive unit (DKU) processing are arranged in chronological order from left to right.

第2図のディスク制御装置の対CHL処理と対DKU処
理において初期設定の後、ディスク駆動装置(DKU)
から読み出されたレコード(R1)をバッファ・メモリ
4に転送し終った時点では、バッファ・メモリ生からチ
ャネル装置(CHL )にレコード(R1)を転送して
いる途中である。したがって、対DKU処理では、レコ
ード(R1)のリード後、次のレコード(R2)を処理
するためのディスク駆動装置(DKU)に対する指示を
行う(これをギャップ処理と呼ぶ)。対DKU処理でギ
ャップ処理を行っている間、チャネル装置(CHL)に
対してはレコード(R1)のデータ転送処理を行う。チ
ャネル装置(CHL)へのレコード(R1)の転送処理
が終了した時点では、対DKU処理はレコード(R2)
のリード動作を行っており、したがってチャネル装置(
CHL)に対しては次のコマンド・チェーン処理を実行
する必要がある。コマンド・チェーン処理とは、次に実
行すべきチャネル・コマンドとの関係をチャネル・メモ
リで指示しておくことである。
After the initial settings in the disk control device CHL processing and DKU processing shown in Figure 2, the disk drive unit (DKU)
At the time when the record (R1) read from the buffer memory 4 has been transferred to the buffer memory 4, the record (R1) is being transferred from the buffer memory source to the channel device (CHL). Therefore, in the DKU processing, after reading the record (R1), an instruction is given to the disk drive unit (DKU) to process the next record (R2) (this is called gap processing). While gap processing is being performed for the DKU, record (R1) data transfer processing is performed for the channel device (CHL). When the transfer process of the record (R1) to the channel device (CHL) is completed, the process for the DKU is to transfer the record (R2).
is performing a read operation, and therefore the channel device (
CHL), it is necessary to perform the following command chain processing. Command chain processing means specifying the relationship with the next channel command to be executed in the channel memory.

このように、対CHL処理と対DKU処理のデータ転送
速度が異なるディスク制御装置では、対CHL処理と対
DKU処理を独立して実行する必要がある。したがって
、マイクロ・プロセッサ2はチャネル・インタフェース
制御部3およびディスク・インタフェース制御部5をそ
れぞれ独立に制御するために、並列処理の機能を備えて
いなければならない。
As described above, in a disk control device in which the data transfer speeds of CHL processing and DKU processing are different, it is necessary to independently execute CHL processing and DKU processing. Therefore, the microprocessor 2 must have a parallel processing function in order to independently control the channel interface control section 3 and the disk interface control section 5.

このような場合、従来の方法としては、(1)2つのマ
イクロ・プロセッサを設け、互いに連携をもったマイク
ロプログラムで処理する方法と、(11)1つのマイク
ロ・プロセッサで処理するが、割込み機能を持たせ、割
込みにより2つのマイクロ・プログラムを交互に切換え
て走行させる方法の2つがある。しかし、上記(1)の
方法では、1つのマイクロ・プロセッサのみの場合に比
べて、ハードウェア量が倍となり、しかも2つのマイク
ロ・プロセッサ間の情報授受が必要となるので、その分
のハードウェアも増加し、必ずしも有利な方法とは言え
ない。また、上記(11)の方法では、2つのマイクロ
プログラムを各処理単位で切換えて走行させるため、第
2図に示すように、同時に2つの処理を行う必要がある
場合には適さない。すなわち、第2図に示すディスク制
御装置では、例えば対CI(L処理でデータ転送を行っ
ているとき、同時に対D K Ll処理でギャップ処理
を行う等の並列処理が必要であるが、従来の割込み処理
では上記並列処理は不可能である。
In such cases, the conventional methods are (1) providing two microprocessors and processing using microprograms that cooperate with each other, and (11) processing using one microprocessor, but with no interrupt function. There are two ways to run the microprograms by alternately switching between them using interrupts. However, in method (1) above, the amount of hardware is doubled compared to the case of using only one microprocessor, and information needs to be exchanged between the two microprocessors. This is not necessarily an advantageous method. Further, in the method (11) above, two microprograms are switched and run for each processing unit, and therefore, as shown in FIG. 2, it is not suitable when two processings need to be performed at the same time. That is, in the disk control device shown in FIG. 2, parallel processing is required, for example, when data is transferred in the CI (L process), gap processing is simultaneously performed in the D K Ll process. The above parallel processing is not possible in interrupt processing.

また、従来、第3図に示すように、複数個のレジスタ・
アレイを用いてマルチプログラムの並列処理を行うマイ
クロ・プロセッサが提案されている(特開昭56−99
546号公報参照)。第3図においては、レジスタ・ア
レイ27の内容を複数個記憶するレジスタ・アレイ退避
用RAM29と、RA M 29の中のレジスタ・アレ
イを選択すルレジスタ・アレイ選択回路30を設け、レ
ジスタ・アレイ27にはアキュムレータ(ACC)とレ
ジスタとプログラム・カウンタ(pc)を格納しておく
。レジスタ・アレイ選択回路30は、タイミング制御回
路25からのクロック信号と、これに同期して一定期間
信号レベルをII L IIにする命令実行り・アレイ
読取り、書込み信号を生成し、1命令実行ごとにレジス
タ・アレイ27の内容を1’(AM29の選択された領
域と順次入れ換える。これによって、複数のプログラム
を並列に実行することができる。なお、バス・ドライバ
26,2δは、内部バス20を管理し、命令レジスタ2
2は読み出された命令を格納し、デコーダ・エンコーダ
23は命令をデコードするとともに、マシンサイクルを
エンコードする。演算回路21は、デコードの結果によ
り生成された制御信号により動作し、命令レジスタ22
の一部内容をもとにしてレジスタ選択回路24で選択し
たレジスタOからのデータを、バス20を介して演算回
路21に入力させ、演算結果を再びレジスタOに格納す
る。
In addition, conventionally, as shown in FIG.
A microprocessor that performs parallel processing of multi-programs using an array has been proposed (Japanese Patent Application Laid-Open No. 56-99
(See Publication No. 546). In FIG. 3, a register array saving RAM 29 for storing a plurality of contents of the register array 27 and a register array selection circuit 30 for selecting a register array in the RAM 29 are provided. stores an accumulator (ACC), a register, and a program counter (pc). The register/array selection circuit 30 generates an instruction execution/array read/write signal that sets the signal level to II L II for a certain period of time in synchronization with the clock signal from the timing control circuit 25, and performs each instruction execution every instruction execution. The contents of the register array 27 are sequentially replaced with the selected area of 1' (AM29). This allows multiple programs to be executed in parallel. Note that the bus drivers 26 and 2δ Manage and command register 2
2 stores the read instructions, and the decoder/encoder 23 decodes the instructions and encodes the machine cycle. The arithmetic circuit 21 operates according to the control signal generated by the decoding result, and the instruction register 22
The data from the register O selected by the register selection circuit 24 based on a portion of the contents of is input to the arithmetic circuit 21 via the bus 20, and the arithmetic result is stored in the register O again.

第3図のマイクロ・プロセッサでは、RAM29に記憶
されたレジスタ・アレイ数と等しい数のプログラムを、
プログラム・カウンタ、レジスタ、アキュムレータを切
換えることによって、複数個を並行して実行するが、前
記(11)の方法と同じように、同時に2つの処理を行
う必要がある場合には適さない。
In the microprocessor shown in FIG. 3, a number of programs equal to the number of register arrays stored in the RAM 29 are stored.
A plurality of programs can be executed in parallel by switching the program counter, register, and accumulator, but like the method (11) above, this method is not suitable when two processes need to be performed at the same time.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、これら従来の欠点を改善し、対CHL
処理と対DKU処理のような異なった処理を同時に実行
でき、かつ・・−ドウエア量を増加することがないマイ
クロ・プロセッサを提供することにある。
The purpose of the present invention is to improve these conventional drawbacks and to
It is an object of the present invention to provide a microprocessor that can simultaneously execute different processes such as processing and DKU processing without increasing the amount of hardware.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、本発明のマイクロ・プロセッ
サは、マイクロプログラムを格納する制御用メモリと、
該制御用メモリに対するアドレスを格納する複数個のア
ドレス・レジスタと、演算制御部を備えたマイクロ・プ
ロセッサにおいて、前記演算制御部からの指定信号ある
いは所定の外部割込み信号を受付けて、前記複数個のア
ドレス・レジスタのうちの任意のものを有効にするアド
レス切換制御手段を有し、前記複数個のアドレス・レジ
スタをマシン・クロック単位で時分割的に制御用メモリ
のアドレスとして用いることにより、複数のマイクロプ
ログラムを並行して実行することに特徴がある。
In order to achieve the above object, the microprocessor of the present invention includes a control memory that stores a microprogram;
In a microprocessor equipped with a plurality of address registers for storing addresses for the control memory and an arithmetic control section, a specified signal from the arithmetic control section or a predetermined external interrupt signal is received, and the plurality of address registers are It has an address switching control means for enabling any one of the address registers, and uses the plurality of address registers as addresses of the control memory in a time-sharing manner in units of machine clocks. The feature is that microprograms are executed in parallel.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を、図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第4図は、本発明の一実施例を示すマイクロ・プロセッ
サのブロック図である。
FIG. 4 is a block diagram of a microprocessor illustrating one embodiment of the present invention.

第4図において、6はマイクロプログラムのアドレスを
格納するアドレス・レジスタであって、対CHL処理用
のマイクロプログラムに用いるものであり、また7はレ
ジスタ6とは独立したアドレス・レジスタであって、対
1) K U処理用のマイクロプログラムに用いる。8
はアドレス切換制御回路、9は演算制御回路、10は制
御用メモIJ(C8)、11.12はAND回路、13
はOR回路である。また、信号線14.15は、演算制
御回路9から出力されるアドレス切換用信号であり、信
号線16.17は外部から入力されるアドレス切換用信
号である。信号線、18.19は、アドレス切換制御回
路8の出力であり、それぞれAND回路11および12
に入力される。
In FIG. 4, 6 is an address register that stores the address of the microprogram, and is used for the microprogram for CHL processing, and 7 is an address register independent of register 6, Versus 1) Used in microprograms for KU processing. 8
1 is an address switching control circuit, 9 is an arithmetic control circuit, 10 is a control memo IJ (C8), 11.12 is an AND circuit, 13
is an OR circuit. Further, signal lines 14 and 15 are address switching signals output from the arithmetic control circuit 9, and signal lines 16 and 17 are address switching signals input from the outside. Signal lines 18 and 19 are outputs of the address switching control circuit 8, and are connected to AND circuits 11 and 12, respectively.
is input.

次に、このマイクロ・プロセッサの動作を述べる。Next, the operation of this microprocessor will be described.

演算制御回路9は、マイクロ命令レジスタ・デコーダ、
演算回路、タイミング制御回路等を含み、制御用メモリ
10から読み出したマイクロ命令をデコードして、演算
その他を実行し、マイクロ・プロセッサ全体を制御する
。アドレス・レジスタ6および7は、ともに制御用レジ
スタ10から次に読み出すべき命令のアドレスとなるが
、その内容は演算制御回路9により設定される。また、
アドレス・レジスタ6と7のいずれが、制御用メモリ1
00次のアドレスとなるかは、(Lli18゜19から
の信号によって決定される。すなわち、信号線18を介
して1″が送出されたときには、AND回路11がゲー
トされ、アドレス・レジスタ6の内容がOR回路13を
経て制御用メモIJIOのアドレスとなる。逆に信号線
19を介して“1′′が送出されたときには、AND回
路12がゲートサレ、アドレス・レジスタ7の内容がO
FL回路14を経て制御用メモリ10のアドレスとなる
The arithmetic control circuit 9 includes a microinstruction register/decoder,
It includes an arithmetic circuit, a timing control circuit, etc., decodes microinstructions read from the control memory 10, executes arithmetic operations, etc., and controls the entire microprocessor. Address registers 6 and 7 both serve as the address of the next instruction to be read from control register 10, and their contents are set by arithmetic control circuit 9. Also,
Which address register 6 or 7 is the control memory 1
Whether it is the 00th order address is determined by the signal from Lli 18゜19. That is, when 1'' is sent through the signal line 18, the AND circuit 11 is gated and the contents of the address register 6 are becomes the address of the control memory IJIO via the OR circuit 13. Conversely, when "1" is sent out via the signal line 19, the AND circuit 12 gate-sales and the contents of the address register 7 become O.
It becomes the address of the control memory 10 via the FL circuit 14.

アドレス切換制御回路8は、演算制御回路9から信号線
14.15を介して制御信号を受けるとともに、信号!
16,1.7を介して外部信号を受けることにより、信
号線18.19に信号を送出する。
The address switching control circuit 8 receives control signals from the arithmetic control circuit 9 via signal lines 14 and 15, and also receives the signal !
By receiving external signals via lines 16 and 1.7, signals are sent to signal lines 18 and 19.

第5図は、第4図におけるアドレス切換制御回路の詳細
論理回路図である。
FIG. 5 is a detailed logic circuit diagram of the address switching control circuit in FIG. 4.

信号線14.16および信号線15.17の各信号は、
各々OR回路80.81で論理和がとられ、AND回路
82はOR,回路80と81の各出力が両方とも“1″
”であるときに“1″を出力する。
Each signal on signal line 14.16 and signal line 15.17 is
The OR circuits 80 and 81 perform a logical sum, and the AND circuit 82 performs an OR operation, and the outputs of the circuits 80 and 81 are both "1".
”, outputs “1”.

ここで、信号線14.16はアドレス・レジスタ6を有
効にする信号を伝送し、信号線15.17はアドレス・
レジスタ7を有効にする信号を伝送する。いま、OR回
路80の出力のみがIf I ++で、OR,回路81
の出力は“○″の場合を考える。この場合には、アドレ
ス・レジスタ6のみが有効になる。AND回路82の出
力は“O“′となり、否定回路83の出力が′1”とな
るため、AND回路84の出力は′1″となり、フリッ
プ・フロップ87のセット入力が°“1″となることに
より、セット出力が++ 1 ++となって信号m18
を介して送出される。
Here, signal line 14.16 carries a signal that enables the address register 6, and signal line 15.17 carries the address register 6.
Transmits a signal to enable register 7. Now, only the output of the OR circuit 80 is If I ++, and the OR circuit 81
Consider the case where the output is “○”. In this case, only address register 6 is valid. The output of the AND circuit 82 becomes "O", and the output of the NOT circuit 83 becomes "1", so the output of the AND circuit 84 becomes "1", and the set input of the flip-flop 87 becomes "1". As a result, the set output becomes ++ 1 ++ and the signal m18
Sent via .

これにより、アドレス・レジスタ6が制御用メモリ10
のアドレスとして有効となる。
This causes the address register 6 to be set to the control memory 10.
It is valid as an address.

次に、OR回路80 、8 ]−の出力が、ともに“1
″′の場合を考える。
Next, the outputs of the OR circuits 80, 8]- are both “1”
Consider the case of ″′.

このとき、AND回路82の出力が1″となり、否定回
路83の出力は“0″となるため、フリップ・フロップ
870セツト入力(S)およびリセット入力(R)はと
もに“○″となる。これに対し、AND回路85は、一
方の入力であるクロックTが1111+となる度に出力
が1″となり、フリップ・フロップ87の状態は反転し
て、以後クロックTがIt I ITとなる度に状態を
反転する。すなわち、クロックTを所定のマシン・サイ
クルに同期したものとすれば、7リツプ・70ツブ87
は各サイクルごとに状態を変えるととになり、したがっ
て信号線18゜19には交互に°′l″と○″の値が送
出されるので、アドレス・レジスタ6.7が交互に制御
用メモリ10のアドレスとして用いられることになる。
At this time, the output of the AND circuit 82 becomes 1" and the output of the NOT circuit 83 becomes "0", so both the set input (S) and reset input (R) of the flip-flop 870 become "○". On the other hand, the output of the AND circuit 85 becomes 1'' every time the clock T, which is one of the inputs, becomes 1111+, and the state of the flip-flop 87 is inverted, and from then on, the state changes every time the clock T becomes It I IT. Invert. In other words, if the clock T is synchronized with a predetermined machine cycle, 7 lip/70 tube 87
changes state every cycle, and therefore the values of °'l'' and ○'' are sent alternately to the signal lines 18 and 19, so that the address registers 6 and 7 are alternately sent to the control memory. It will be used as 10 addresses.

このように、本発明は、従来のマルチラン機能と割込み
機能の両方を組み合わせることにより、それぞれの長所
を生かしたもので、ハードウェアの割込み信号を受付け
た後、複数のアドレス・レジスタ6.7を有効にして、
マイクロプログラムを複数並列に動作させるようにする
。複数のアドレス・レジスタ6.7のうち、通常は1つ
のアドレス・レジスタのみを有効とし、外部信号線16
゜17による割込みが発生したとき、他のアドレス・レ
ジスタも有効として、以後マシン・サイクルごとに時分
割で複数のアドレス・レジスタを有効にすることにより
、複数のマイクロ・プログラムを同時に走行させる。
In this way, the present invention takes advantage of the strengths of both the conventional multi-run function and interrupt function by combining them, and after accepting a hardware interrupt signal, multiple address registers 6. Enable it and
Make multiple microprograms run in parallel. Of the multiple address registers 6.7, normally only one address register is enabled, and the external signal line 16
When an interrupt occurs by .17, other address registers are also enabled, and thereafter, a plurality of address registers are enabled in a time-sharing manner every machine cycle, thereby allowing a plurality of microprograms to run simultaneously.

第6図は、本発明の一実施例を示すディスク制御装置の
並行処理シーケンス・チャートである。
FIG. 6 is a parallel processing sequence chart of a disk control device showing one embodiment of the present invention.

第6図では、第4図のアドレス・レジスタ6゜7を交互
に用いて、対CHL処理と対DKU処理を行う場合を示
している。1oはマシン・サイクル、T1はデータ転送
前処理期間、T2はデータ転送後処理期間、t5はディ
スク駆動装置とのデータ転送量始時点、tPはディスク
駆動装置とのデータ転送終了時点である。
FIG. 6 shows a case where the address registers 6.7 of FIG. 4 are used alternately to perform CHL processing and DKU processing. 1o is a machine cycle, T1 is a data transfer pre-processing period, T2 is a data transfer post-processing period, t5 is the start time of data transfer with the disk drive, and tP is the end of data transfer with the disk drive.

第6図において、最初は演算制御回路9からの信号14
’、15’がいずれも1″であり、割込み信号16’ 
+ 17’カいずれもol+であるため、マシン・サイ
クルt。ごとにアドレス・レジスタ(IAI(I )6
と(IAR,n)7とを交互に有効にして、対CHI・
処理と対D K U処理を行い、それぞれ初期設定の後
、チャネル装置へのデータ転送とディスク駆動装置との
データ転送の前処理を開始する。前処理期間T1が経過
すると、ディスク駆動装置に対するデータ転送開始時点
tsでは、アドレス・レジスタ(IAR,1T)7はも
はや不要となるため、信号15′が“6′′に変り、ア
ドレス・レジスタ(IARI)6のみで動作するモード
になる。これは、たとえチャネル装置とのデータ転送中
であっても、チャネル装置からのデータ転送停止指示ま
たはインタフェース切離し指示を受付ける可能性があり
、対CHL処理のマイクロプログラムはチャネル装置か
らの指示の有無をチェックする必要があるためである。
In FIG. 6, the signal 14 from the arithmetic control circuit 9 is initially
', 15' are both 1'', and the interrupt signal 16'
+17' are all ol+, so the machine cycle t. Address register (IAI(I)6)
and (IAR,n)7 are enabled alternately, and
Processing and DKU processing are performed, and after initialization, preprocessing for data transfer to the channel device and data transfer to the disk drive device is started. After the preprocessing period T1 has elapsed, the address register (IAR, 1T) 7 is no longer needed at the data transfer start time ts to the disk drive, so the signal 15' changes to "6" and the address register (IAR, 1T) 7 is no longer needed. IARI) 6 only.This means that even if data is being transferred with the channel device, there is a possibility that a data transfer stop instruction or interface disconnection instruction will be accepted from the channel device, and the CHL processing This is because the microprogram needs to check whether there is an instruction from the channel device.

次に、ディスク駆動装置とのデータ転送終了時点 ip
では、外部信号1ゲが1″”となるため、アドレス・レ
ジスタ(IAR,IT)7を再び有効とし、アドレス・
レジスタ(IAR,I)6と(IARTI)7とが交互
に有効となるモードに移る。このように、通常は、アド
レス・レジスタ(I A、 R,I ) 6 、つまり
対Cl−(L処理のマイクロプログラムを継続して実行
し、対I) K [J処理のマイクロプログラムは外部
信号17′によりアドレス・レジスタ(IARII)7
を有効にしたときのみ実行する。例えば、外部信号17
′はディスク駆動装置からの起動信号、外部信号16′
はチャネル装置からの起動信号とすることができる。
Next, at the end of data transfer with the disk drive device ip
Now, since the external signal 1 becomes 1'', the address register (IAR, IT) 7 is enabled again and the address register (IAR, IT) 7 is enabled again.
The mode shifts to a mode in which registers (IAR, I) 6 and (IARTI) 7 are alternately enabled. In this way, normally, the address register (I A, R, I) 6, that is, the pair Cl-(L processing microprogram continues to be executed, and the pair I) K[J processing microprogram receives an external signal. 17' allows address register (IARII) 7
Executes only when enabled. For example, external signal 17
' is a start signal from the disk drive device, external signal 16'
can be an activation signal from the channel device.

また、オンラインの合い間をぬって、ディスク制御装置
とディスク駆動装置のサブシステムにおける故障診断を
行うことは、一般に行われているが(これをインライン
診断と呼ぶ)、この場合でも、ディスク制御装置がイン
ライン診断を行っているときには、アドレス・レジスタ
(rARn)7のみ動作し、(IARI)6は停止して
おり、チャネル装置から起動を受けると外部信号16′
がパ1′″となって、アドレス・レジスタ(IARI)
6と(IARII)7が並行して動作するようになる。
In addition, it is common practice to perform fault diagnosis on the subsystems of the disk control unit and disk drive during online intervals (this is called inline diagnosis), but even in this case, the disk control unit When the is performing inline diagnosis, only the address register (rARn) 7 is operating, (IARI) 6 is stopped, and when activated by the channel device, the external signal 16' is activated.
becomes the address register (IARI)
6 and (IARII) 7 will now operate in parallel.

第6図に示すように、データ転送の処理は、初期設定お
よび終了時のチェックを必要とするが、データ転送それ
自体はハードウェアで実行するため、マイクロプログラ
ムは単にデータ転送の終了を待つのみでよく、この間は
他の処理に専念できる。
As shown in Figure 6, the data transfer process requires initial settings and a check at the end, but since the data transfer itself is executed by hardware, the microprogram simply waits for the data transfer to end. You can concentrate on other processing during this time.

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

以上説明したように、本発明によれば、割込み発生後は
、複数のアドレス・レジスタが有効となるため、マイク
ロプログラムの並列処理能力が向上し、マイクロプロセ
ッサの性能を上げることができる。また、複数のマイク
ロプロセッサを設置する場合に比べると、ハードウェア
量を大幅に減少させることが可能である。
As described above, according to the present invention, a plurality of address registers become valid after an interrupt occurs, so that the parallel processing ability of a microprogram is improved and the performance of a microprocessor can be improved. Furthermore, compared to the case where multiple microprocessors are installed, the amount of hardware can be significantly reduced.

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

第1図は大容量バッファ・メモリを有するディスク制御
装置のブロック図、第2図は第1図におけるディスク制
御装置の動作シーケンス・チャート、第3図は従来の複
数アドレス・レジスタを備えたマイクロ・プロセッサの
ブロック図、84図は本発明の実施例を示すマイクロ・
プロセッサのブロック図、第5図は第4図におけるアド
レス切換制御回路の論理回路図、第6図は本発明の実施
例を示すディスク制御装置の並行処理シーケンス・チャ
ートである。 1:ディスク制御装置、2:マイクロ・プロセッサ、3
=チヤネル・インタフェース制御部、4:バツ7ア・メ
モリ、5:ディスク・インタフェース制御部、6,7:
アドレス・レジスタ、8ニアドレス切換制御回路、9:
演算制御回路、1゜:制御用メモリ、87:クリップ・
フロップ。 特許出願人 株式会社日立製作所 。 、オ A−、Pつ工、オ、イウ竹・パ
FIG. 1 is a block diagram of a disk controller with a large capacity buffer memory, FIG. 2 is an operation sequence chart of the disk controller in FIG. The block diagram of the processor, FIG.
FIG. 5 is a block diagram of the processor, FIG. 5 is a logic circuit diagram of the address switching control circuit in FIG. 4, and FIG. 6 is a parallel processing sequence chart of a disk control device showing an embodiment of the present invention. 1: Disk controller, 2: Microprocessor, 3
= Channel interface control unit, 4: x7a memory, 5: Disk interface control unit, 6,7:
Address register, 8 near address switching control circuit, 9:
Arithmetic control circuit, 1゜: Control memory, 87: Clip/
Flop. Patent applicant: Hitachi, Ltd. , O A-, P Tsuko, O, Iu Take-P

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラムを格納する制御用メモリと、
該制御用メモリに対するアドレスを格納する複数個のア
ドレス・レジスタと、演算制御部を備えたマイクロ・プ
ロセッサにおいて、前記演算制御部からの指定信号ある
いは所定の外部割込み信号を受付けて、前記複数個のア
ドレス・レジスタのうちの任意のアドレス・レジスタを
有効にするアドレス切換制御手段を有し、前記複数個の
アドレス・レジスタをマシン・クロック単位で時分割的
に前記制御用メモリのアドレスとして用いることにより
、複数のマイクロプログラムを並行して実行することを
特徴とするマイクロ・プロセッサ。
(1) A control memory that stores a microprogram;
In a microprocessor equipped with a plurality of address registers for storing addresses for the control memory and an arithmetic control section, a specified signal from the arithmetic control section or a predetermined external interrupt signal is received, and the plurality of address registers are By having an address switching control means for enabling any address register among the address registers, and using the plurality of address registers as addresses of the control memory in a time-sharing manner in units of machine clocks. , a microprocessor characterized by executing multiple microprograms in parallel.
JP22953783A 1983-12-05 1983-12-05 Microprocessor Granted JPS60122450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22953783A JPS60122450A (en) 1983-12-05 1983-12-05 Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22953783A JPS60122450A (en) 1983-12-05 1983-12-05 Microprocessor

Publications (2)

Publication Number Publication Date
JPS60122450A true JPS60122450A (en) 1985-06-29
JPH0123812B2 JPH0123812B2 (en) 1989-05-09

Family

ID=16893722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22953783A Granted JPS60122450A (en) 1983-12-05 1983-12-05 Microprocessor

Country Status (1)

Country Link
JP (1) JPS60122450A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63307566A (en) * 1987-06-09 1988-12-15 Fujitsu Ltd Channel device
JPH02226457A (en) * 1989-01-10 1990-09-10 Bull Hn Inf Syst Inc Multi-processor controller having common control storage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49131649A (en) * 1973-04-20 1974-12-17
JPS52101936A (en) * 1976-02-24 1977-08-26 Nippon Telegr & Teleph Corp <Ntt> Data channel device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49131649A (en) * 1973-04-20 1974-12-17
JPS52101936A (en) * 1976-02-24 1977-08-26 Nippon Telegr & Teleph Corp <Ntt> Data channel device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63307566A (en) * 1987-06-09 1988-12-15 Fujitsu Ltd Channel device
JPH0525335B2 (en) * 1987-06-09 1993-04-12 Fujitsu Ltd
JPH02226457A (en) * 1989-01-10 1990-09-10 Bull Hn Inf Syst Inc Multi-processor controller having common control storage

Also Published As

Publication number Publication date
JPH0123812B2 (en) 1989-05-09

Similar Documents

Publication Publication Date Title
DK169492B1 (en) Data processing apparatus with selective advance retrieval of instructions and methods of operation of such data processing apparatus
US4873629A (en) Instruction processing unit for computer
US6952749B2 (en) Multiprocessor interrupt handling system and method
KR0160193B1 (en) Dma control apparatus
JPH0743697B2 (en) Digital computer system
JPH0658631B2 (en) Data processing device
US5261105A (en) System for transferring blocks of data among diverse units having cycle identifier signals to identify different phase of data transfer operations
DK165202B (en) CENTRAL PROCESSING UNIT WITH MULTIPLE DATA WAYS FOR A DATA PROCESSING PLANT
KR930001584B1 (en) Microcomputer system
US5978878A (en) Selective latency reduction in bridge circuit between two busses
JPH07104842B2 (en) External storage interrupt control method
US7647485B2 (en) Data processing system for debugging utilizing halts in a parallel device
JPS58222363A (en) Distributor for common memory
JPS60122450A (en) Microprocessor
JP2003196246A (en) Data processing system, array type processor, data processor, computer program and information storage medium
JP2754825B2 (en) Microprocessor
CN114168199B (en) Read-write operation multi-data request decoupling circuit structure and read-write method
US4740892A (en) Microcomputer having peripheral functions
JP3861898B2 (en) Data processing system, array type processor, data processing apparatus, computer program, information storage medium
JPS6315628B2 (en)
JPS6119065B2 (en)
EP0305527A1 (en) High-speed floating point arithmetic unit
JPS62145432A (en) Data processor
JPS6097459A (en) Synchronization of data processing system
EP1193606B1 (en) Apparatus and method for a host port interface unit in a digital signal processing unit