JPS6042976B2 - data processing equipment - Google Patents
data processing equipmentInfo
- Publication number
- JPS6042976B2 JPS6042976B2 JP52027386A JP2738677A JPS6042976B2 JP S6042976 B2 JPS6042976 B2 JP S6042976B2 JP 52027386 A JP52027386 A JP 52027386A JP 2738677 A JP2738677 A JP 2738677A JP S6042976 B2 JPS6042976 B2 JP S6042976B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- signal
- transfer
- output
- data
- 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
Links
- 230000006870 function Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 description 81
- 238000010586 diagram Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 15
- 230000004913 activation Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 101150090341 dst1 gene Proteins 0.000 description 2
- 229910052573 porcelain Inorganic materials 0.000 description 2
- 102100038387 Cystatin-SN Human genes 0.000 description 1
- 101000884768 Homo sapiens Cystatin-SN Proteins 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Landscapes
- Bus Control (AREA)
- Microcomputers (AREA)
Description
【発明の詳細な説明】
この発明は中央制御装置に接続されている1組の入出力
バスに、入出力制御装置と記憶装置とを接続し、その入
出力制御装置と記憶装置との間で大量のデータ転送を、
上記中央制御装置の制御により可能とするデータ処理装
置に関するものである。DETAILED DESCRIPTION OF THE INVENTION This invention connects an input/output control device and a storage device to a set of input/output buses connected to a central control device, and communicates between the input/output control device and the storage device. large amount of data transfer,
The present invention relates to a data processing device that can be controlled by the central control device.
データ処理において入出力装置と主記憶装置との間でデ
ータ転送が行なわれるが、外部からの大量のデータを主
記憶装置に蓄積する場合主記憶装置の容量が、1)デー
タ幅によるメモリアドレスの制限(16ビットの場合な
ら64KW(ワード)までしかアクセスできない。Data is transferred between the input/output device and the main memory during data processing, but when storing a large amount of external data in the main memory, the capacity of the main memory is Restrictions (In the case of 16 bits, you can only access up to 64KW (words).
)(2)主記憶装置−中央制御装置間インタフェースの
物理的制限等により、主記憶装置の容量が制限されてい
た。) (2) The capacity of the main storage device is limited due to physical limitations of the interface between the main storage device and the central control device.
そこで、主記憶装置の代りに外部記憶装置、例えば磁器
ドラム等を入出力バスに接続して磁器ドラムなどの入出
力装置1と他の一般の入出力装置2との間のデータ転送
をすることがある。しカルこの場合は(1)応答時間が
遅くなる、(2)主記憶装置、中央制御装置を介さずに
、入出力装置1及び入出力装置2間で、データ転送を行
うと両方の制御装置の金物量が大きくなる、(3) 主
記憶装置、中央制御装置を介して、入出力装置1−中央
制御装置−主記憶装置及び主記憶装置−中央制御装置−
入出力装置2の各データ転送により、主記憶装置を中継
する場合は2つの入出力命令が必要となり、入出力命令
を出すまでのデータの準備も考えると、入出力装置1及
び入出力装置2間のデータ転送速度は非常に遅くなる、
等の欠点があつた。Therefore, instead of the main storage device, an external storage device such as a porcelain drum is connected to the input/output bus to transfer data between the input/output device 1 such as the porcelain drum and other general input/output devices 2. There is. In this case, (1) the response time will be slow; (2) if data is transferred between I/O device 1 and I/O device 2 without going through the main memory or central control device, both control devices will (3) Through the main memory and the central control unit, the input/output device 1 - the central control unit - the main memory and the main memory - the central control unit -
For each data transfer of I/O device 2, two I/O commands are required when relaying the main storage device, and considering the data preparation before issuing the I/O command, I/O device 1 and I/O device 2 are required. The data transfer speed between
There were other drawbacks.
この発明の目的は入出力バスに主記憶装置のメモリ素子
と同様のメモリ素子よりなる記憶装置を複数個接続し、
入出力装置及び記憶装置間のデータ転送を主記憶装置を
介さずに行うことにより、記憶容量が多く、1入出力命
令で実行でき、データ転送速度が速いデータ処理装置を
提供することにある。An object of the present invention is to connect a plurality of memory devices each having a memory element similar to the memory element of the main memory device to an input/output bus;
An object of the present invention is to provide a data processing device that has a large storage capacity, can be executed with one input/output command, and has a high data transfer speed by transferring data between an input/output device and a storage device without going through a main storage device.
即ち記憶容量は入出力バスに接続可能な記憶装置台数倍
となる。In other words, the storage capacity is multiplied by the number of storage devices that can be connected to the input/output bus.
例えば10アドレス8ビットの場合は入出力バスに接続
可能な記憶装置の台数は255台であり、データ幅を1
6ビットとすると16MW(64KW×255台)の記
憶容量が得られる。したがつて、データ幅やインタフェ
ースの物理的制限による記憶容量の限界を大きく打破で
きる。更に入出力装置及び記憶装置間のデータ転送を主
記憶装置を介さずに1入出力命令で実行するので、転送
速度は上る。また入出力装置及び入出力装置間のデータ
転送に比べ入出力装置及び記憶装置間のデータ転送は記
憶装置の応答時間が速いので後者の方が転送速度が上る
。更に入出力装置及び記憶装置間のデータ転送を中央制
御装置の制御のもとに、中央制御装置のレジスタ、演算
回路一等の回路を使用して実行され、それだけ入出力制
御装置、記憶装置の金物量を削減することができる。こ
の発明のデータ処理装置によれば、主記憶装置MMと、
チャネル機能内臓中央制御装置と、入出力装置と、その
入出力装置のデータ転送を制御する入出力制御装置と、
主記憶装置のメモリ素子と同様なメモリ素子よりなる複
数個の記憶装置10Mと、上記中央制御装置、入出力制
御装置、記憶装置を接続する入出力バスとから構成され
−る。For example, in the case of 10 addresses 8 bits, the number of storage devices that can be connected to the input/output bus is 255, and the data width is 1
If it is 6 bits, a storage capacity of 16 MW (64 kW x 255 units) can be obtained. Therefore, it is possible to greatly overcome the limitations of storage capacity due to physical limitations on data width and interfaces. Furthermore, since data transfer between the input/output device and the storage device is performed with one input/output instruction without going through the main storage device, the transfer speed is increased. Furthermore, since the response time of the storage device is faster in data transfer between an input/output device and a storage device than in data transfer between an input/output device and an input/output device, the latter has a higher transfer speed. Furthermore, data transfer between input/output devices and storage devices is carried out under the control of the central control unit using registers, arithmetic circuits, and other circuits of the central control unit. The amount of gold can be reduced. According to the data processing device of the present invention, the main memory device MM;
A central control device with a built-in channel function, an input/output device, and an input/output control device that controls data transfer of the input/output device,
It is composed of a plurality of storage devices 10M made of memory elements similar to those of the main storage device, and an input/output bus connecting the central control device, input/output control device, and storage devices.
主記憶装置中に記憶されたデータ転送を制御するチャネ
ル制御語中に、入出力制御装置と主記憶装置MM又は記
憶装置10Mとの何れとのデータ転送かを識別する情報
を設ける。主記憶装置及び入出力制御装置間のデータ転
送は主記憶装置MM内にあるチャネル制御語に従つて制
御装置により入出力バスを介して実行される。In a channel control word that controls data transfer stored in the main memory, information is provided to identify whether the data is being transferred between the input/output control device and the main memory MM or the memory 10M. Data transfer between the main memory device and the input/output control device is performed by the control device via the input/output bus according to the channel control word in the main memory device MM.
入出力制御装置及び記憶装置10M間のデータ転送は、
チャネル制御語中にある識別情報により中央制御装置が
、入出力制御装置の転送の相手が主記憶装置MMではな
く、記憶装置10Mであることを知つて中央制御装置が
、主記憶装置MMを経由するのではなく、中央制御装置
及び入出力制御装置間、また中央制御装置及び記憶装置
10M内のデータ転送を行い、つまり中央制御装置を介
して行ない、その結果入出力制御装置10C及び記憶装
置10M間のデータ転送が1命令で実行可能される。更
に記憶装置10Mから入出力制御装置へのデータ転送の
場合には、次の三つの手段によることができる。Data transfer between the input/output control device and the storage device 10M is
Based on the identification information in the channel control word, the central controller learns that the destination of the input/output controller's transfer is not the main memory MM but the storage device 10M, and the central controller transfers data via the main memory MM. Rather, data transfer between the central controller and the input/output controller and within the central controller and the storage device 10M is performed, that is, via the central controller, so that the data transfer between the central controller and the input/output controller 10C and the storage device 10M is performed. Data transfer between can be executed with one instruction. Furthermore, in the case of data transfer from the storage device 10M to the input/output control device, the following three methods can be used.
(1)中央制御装置が記憶装置10Mからのデータ転送
であることを知ると、入出力制御装置に対してその装置
からのデータ転送信号を1時保留させるための指令を出
すと同時に前記記憶装置10Mからデータを読込む指令
をその記憶装置に出す。(1) When the central control unit learns that the data transfer is from the storage device 10M, it issues a command to the input/output control device to temporarily suspend the data transfer signal from the storage device 10M, and at the same time A command to read data from 10M is issued to the storage device.
入出力制御装置は中央制御装置からの前記保留指令受け
ると、データ転送信号を入出力バス上に出すのに禁止す
る。中央制御装置は記憶装置10Mからデータを受取る
と、入出力制御装置に対してデータ転送信号送出保留を
解除すると共に記憶装置10Mから受取つたデータをそ
の入出力制御装置に送出し、入出力制御装置はそのデー
タを受取る。以上の手順により記憶装置10Mから入出
力制御装置へのデータ転送が可能になる。(2)中央制
御装置が記憶装置10Mからのデータ転送であることを
知ると、中央制御装置はその記憶装置10Mにデータを
読込む指令を出す。When the input/output control device receives the suspension command from the central control device, it prohibits outputting the data transfer signal onto the input/output bus. When the central control unit receives data from the storage device 10M, it releases the data transfer signal transmission hold for the input/output control device, sends the data received from the storage device 10M to the input/output control device, and sends the data to the input/output control device. receives the data. The above procedure enables data transfer from the storage device 10M to the input/output control device. (2) When the central controller learns that the data is to be transferred from the storage device 10M, the central controller issues a command to read data into the storage device 10M.
その記憶装置10Mはこれを受けて記憶装置10M用の
データ転送信号でデータを返送する。中央制御装置はこ
のデータを受取り、それを今度は入出力制御装置に送出
し、その入出力制御装置はそのデータを受取る。以上の
手順により記憶装置10Mからの入出力制御装置へのデ
ータ転送が可能となる。(3)中央制御装置が入出力制
御装置に起動をかける時、入出力制御装置のデータ転送
相手が記憶装置10Mであることを識別すると、すぐそ
の記憶装置10Mからデータを受取り、中央制御装置内
の入出力制御装置バッファレジスタにデータを格納して
おき、入出力制御装置から転送要求があると、既に格納
されてあるデータをその入出力制御装置に転送し、その
後に記憶装置10Mに対して次のデータを先取りするた
めに読込みと行つておく。The storage device 10M receives this and sends back the data using a data transfer signal for the storage device 10M. The central controller receives this data and sends it to the I/O controller, which in turn receives the data. The above procedure enables data transfer from the storage device 10M to the input/output control device. (3) When the central controller activates the input/output controller, if it identifies that the data transfer destination of the input/output controller is the storage device 10M, it immediately receives data from the storage device 10M and stores it within the central controller. Data is stored in the input/output controller buffer register of , and when there is a transfer request from the input/output controller, the already stored data is transferred to the input/output controller, and then the data is transferred to the storage device 10M. Read in order to pre-fetch the next data.
以上の手順で記憶装置■0Mから入出力制御装置へのデ
ータ転送が可能になる。次に図面を参照してこの発明に
よるデータ処理装置の実施例を説明しよう。The above procedure enables data transfer from the storage device 0M to the input/output control device. Next, an embodiment of a data processing apparatus according to the present invention will be described with reference to the drawings.
主記憶装置M■はメモリバス(データバス、アドレスバ
ス、制御バスをもつ)を通じて中央制御装置CC2に接
続され、この中央制御装置CC2に前記メモリバスとは
別個に入出力バスIOB3(データバス、アドレスバス
、制御バスをもつ)が接続される。入出力バスIOB3
にはn個の入出力制御装置10Ci4(1は1〜nの何
れかの数を示す)が接続され、これ等入出力制御装置1
0C,4にはそれぞれこれによりデータ転送が制御され
る入出力装置1Q5が接続される。入出力バスIOB3
には更にm個の記憶装置10M,6(jは1〜mの何れ
かの数を示す)が接続され、この記憶装置10Mjは磁
気ドラムなどのいわゆる大容量の外部記憶装置とは異な
り、高速度に動作するものであづて、主記憶装置MMl
のメモリ素子と同様なメモリ素子にて構成される。第1
図に示すように、中央制御装置2の一部に主記憶装置1
とのデータの受授のために主記憶制御部MMCOが設け
られている。また入出力制御装置10qは互に接続され
たバスインタフェイス部10BCiと、装置インタフェ
イス部10DCIとよりなり、バスインタフェイス部1
0Bqは入出力バス10Bに接続され、装置インタフェ
イス部10DCIは入出力装置101に接続されている
。記憶装置10M,は通常の記憶装置部10MUjと1
0B,インタフェイス部10MCから構成されている。The main storage device M■ is connected to the central control unit CC2 through a memory bus (having a data bus, an address bus, and a control bus), and is connected to the central control unit CC2 through an input/output bus IOB3 (a data bus, (with address bus and control bus) are connected. Input/output bus IOB3
n input/output control devices 10Ci4 (1 indicates any number from 1 to n) are connected to the input/output control devices 1
An input/output device 1Q5 whose data transfer is controlled by these is connected to 0C and 4, respectively. Input/output bus IOB3
is further connected to m storage devices 10M, 6 (j indicates any number from 1 to m), and unlike so-called large-capacity external storage devices such as magnetic drums, this storage device 10Mj has a high capacity. The main memory MMl is designed to operate at high speed.
It is composed of a memory element similar to the memory element of . 1st
As shown in the figure, a main storage device 1 is included in a part of the central control device 2.
A main memory control unit MMCO is provided for exchanging data with. The input/output control device 10q includes a bus interface section 10BCi and a device interface section 10DCI that are connected to each other.
0Bq is connected to the input/output bus 10B, and the device interface section 10DCI is connected to the input/output device 101. The storage device 10M is a normal storage device unit 10MUj and 1
0B, and an interface section 10MC.
記憶装置部10MUjは例えば文献DlO形自動交換機
第4部中央制御装置及び主記憶装置田本電信電話公社編
、電気通信共済会、昭和4咋4月5日発行)21頂に示
されているような通常の記憶装置を用いることができる
。IOBインタフェイス部10MCは互に接続されたバ
スインタフェイス部10Bqと記憶インタフェイス部M
MCjとよりなりバスインタフェイス部10Bqはバス
IOBに接続され、入出力制御部10qの中のバスイン
タフェイス部10Bqと同一構成であつて記憶インタフ
ェイス部MMC,は記憶装置■0M,に接続され、中央
制御装置CCの主記憶制御部MMCOと同一構成である
。各装置間のデータ転送を具体的に説明したが、この発
明の構成及び動作を明らかにする。まず、データ幅やイ
ンタフェースの物理的制限による記憶容量の限界を打破
するアドレス指定方式の原理を以下に説明する。主記憶
容量の拡大のため、本発明では、主記憶装置MMの延長
を入出力バスIOB3に記憶装置10M1〜IOMrl
を接続している。The storage unit 10MUj is, for example, as shown in the document DlO type automatic switchboard, Part 4, Central control unit and main storage device (edited by Tamoto Telegraph and Telephone Public Corporation, Telecommunications Mutual Aid Association, published on April 5, 1939), at the top of 21. Any ordinary storage device can be used. The IOB interface section 10MC has a bus interface section 10Bq and a storage interface section M connected to each other.
The bus interface unit 10Bq is connected to the bus IOB and has the same configuration as the bus interface unit 10Bq in the input/output control unit 10q, and the storage interface unit MMC is connected to the storage device 0M. , has the same configuration as the main memory control unit MMCO of the central control unit CC. Although data transfer between each device has been specifically explained, the configuration and operation of the present invention will be explained. First, the principle of an addressing method that overcomes the limitations of storage capacity due to physical limitations on data width and interfaces will be explained below. In order to expand the main memory capacity, the present invention extends the main memory device MM to the input/output bus IOB3.
are connected.
このときn=255とすると、アドレス容量(空間)は
第26図を参照すれば、主記憶装置MMが64KWまで
、記憶装置10M1が128KW(64KW×2)まで
、記憶装置10M255が16MWとなる。このように
構成されたアドレス空間において、0〜16MW内の任
意のAjなるアドレスを指定する場合を説明する。In this case, if n=255, the address capacity (space) is, referring to FIG. 26, up to 64KW for the main memory device MM, up to 128KW (64KW×2) for the storage device 10M1, and 16MW for the storage device 10M255. In the address space configured in this way, a case will be described in which an arbitrary address Aj within 0 to 16 MW is specified.
いま、アドレスAjが64KWと等しいかそれよりも小
さい場合は、第26図に示すように主記憶装置MM内を
指定しており、中央処理装置CC2と主記憶装置MMを
結ぶバスを介して直接指定できる。Now, if the address Aj is equal to or smaller than 64KW, it is specified in the main memory device MM as shown in FIG. Can be specified.
次にアドレスAjが64KWより大きく、16MWと等
しいかそれよりも小さいときは、そのアドレスAjはで
表わせる。Next, when the address Aj is larger than 64KW and equal to or smaller than 16MW, the address Aj can be expressed as.
ここでjは記憶装置10Mの装置アドレス、αjは記憶
装置10M,内のアドレスである。すなわち、アドレス
Ajは記憶装置10Miの指定とその記憶装置10M,
内のアドレスαjとで決定される。Here, j is the device address of the storage device 10M, and αj is an address within the storage device 10M. That is, the address Aj specifies the storage device 10Mi and the storage device 10M,
It is determined by the address αj within.
次にこれらの指定方法について説明する。第1図におい
て中央制御装置CC2から記憶装置10Mjおよびその
装置内アドレスαjを指定するためには、中央制御装置
QC2から入出バス■0B3上に後述する第17図に示
す手順で情報を送出する。すなわち、入出力装置アドレ
ス信号10A0UT(8ビット)上に記憶装置10M,
アドレス、DATAOUT(16ビット)上に装置内ア
ドレスαjを指定できる。なお、■0A0UTは8ビッ
トなので、記憶装置10M,アドレスは0〜255、D
ATAOUTは16ビットなろで、装置内アドレスαj
は0〜64KWとなる。Next, the method of specifying these will be explained. In FIG. 1, in order to specify the storage device 10Mj and its internal address αj from the central controller CC2, information is sent from the central controller QC2 onto the input/output bus 0B3 in accordance with the procedure shown in FIG. 17, which will be described later. That is, the memory device 10M,
An internal device address αj can be specified on the address DATAOUT (16 bits). Note that ■0A0UT is 8 bits, so storage device 10M, address 0-255, D
ATAOUT is 16 bits and is the internal address αj of the device.
is 0 to 64KW.
また、ここでは記憶装置10M,からの読み出し動作を
、第17図を参照して説明したが、書き込み動作(第1
5図)の場合も同様である。Furthermore, although the read operation from the storage device 10M has been explained here with reference to FIG. 17, the write operation (first
The same applies to the case shown in Fig. 5).
さらに、IOAOUT8ビットでIOB3上のすべての
IOC牡およびIOM6を指定するので、となる。Furthermore, since all IOCs on IOB3 and IOM6 are specified by IOAOUT8 bits, the following is obtained.
記憶装置10M,内の64KWのアドレスの管理は、第
1図に示すように、IOBインタフェイス部10Mq末
の記憶インタフェイス部MMqで行なつている。As shown in FIG. 1, the management of the 64KW address in the storage device 10M is performed by the storage interface section MMq at the end of the IOB interface section 10Mq.
これは中央制御装置CC2が主記憶装置MMの64KW
の管理を主記憶装置部MMCOで行なつているのと全く
同様である。次に入出力制御装置10q及び主記憶装置
MMの間の通常のデータ転送の手順を述べる。This is because the central controller CC2 has 64KW of main memory MM.
This is exactly the same as the management of MMCO being performed by the main memory unit MMCO. Next, a normal data transfer procedure between the input/output control device 10q and the main memory device MM will be described.
データ転送は通常、起動、転送、終結の3つのフェーズ
に分けられる。起動時における中央制御装置2及び入出
力制御装置10q間の入出力バス3上でのデータ転送手
順は第7図に示すようにされる。即ち中央制御装置は入
出力制御装置10C、に対し、入出力装置アドレス信号
(以降10A0UT信号と称す。)により入出力装置の
アドレス(以降10Aと称す。)を指定し、コマンド指
令信号(以降CNTOUT信号と称す。)により動作を
し(起動の場合は書込指定。)、データ転送信号(以降
SRVOUT信号と称す)を送出すると、入出力制御側
では、目個の入出力装置アドレスとの照合をとり、一致
すれば自個の入出力制御装置へのアクセスであることを
知り、コマンド指令CNTOUT信号を読取り、自個の
装置アドレスIOAをIOAIN信号により入出力装置
の状態(以降DSTと称す。)をDATAOUT信号に
より、コマンドの実行を引き受けたことを入出力制御装
置からのデータ転送信号(以降SRVIN信号と称す)
によりそれぞれ通知して起動手順を終了する。中央制御
装置のこのチャネル機能はマイクロプログラムにより制
御している。Data transfer is typically divided into three phases: startup, transfer, and termination. The data transfer procedure on the input/output bus 3 between the central control unit 2 and the input/output control unit 10q at the time of startup is as shown in FIG. That is, the central control device specifies the address of the input/output device (hereinafter referred to as 10A) to the input/output control device 10C using an input/output device address signal (hereinafter referred to as 10A0UT signal), and sends a command command signal (hereinafter referred to as CNTOUT signal). When the data transfer signal (hereinafter referred to as the SRVOUT signal) is activated (in the case of activation, a write instruction is specified) and a data transfer signal (hereinafter referred to as the SRVOUT signal) is sent, the input/output control side checks the address of the input/output device. If they match, it knows that it is an access to its own input/output control device, reads the command command CNTOUT signal, and inputs its own device address IOA with the IOAIN signal to indicate the state of the input/output device (hereinafter referred to as DST). ) is a data transfer signal (hereinafter referred to as SRVIN signal) from the input/output control device that indicates that the command has been executed by the DATAOUT signal.
The startup procedure is terminated with each notification. This channel function of the central controller is controlled by a microprogram.
第8図にそのマイクロプログラムフローを示す。即ち、
プログラムでデータ転送命令(以降CHC命令)を出す
と、マイクロプログラムでどの入出力装置に対して起動
をかけるべきか知るために、プログラムで予め用意して
いるチャネル制御語CCWをチャネルアドレス語CAW
から持つてくる(801)。チャネルアドレス語CAW
は第2図に示すように主記憶装置MMのシステムエリア
内にあり、チャネル制御語CCWの格納してあるアドレ
スを示す。チャネル制御語CCWは第3図に示すように
CCWO〜CCW2の3語にて構成され、主記憶装置■
とデータ転送を行う相手を入出力装置アドレスIOAで
、転送方向(読む/書く)等をコマンド指令コードCM
Cで、転送語数をワードカウンタWCで、転送開始アド
レスをデータアドレスDAでそれぞれ示している。この
チャネル制御語CCWから第8図に示すようにチャネル
語CHWを作成する(802)。FIG. 8 shows the microprogram flow. That is,
When a program issues a data transfer command (hereinafter referred to as a CHC command), in order to know which input/output device should be activated in the microprogram, the channel control word CCW prepared in advance by the program is changed to the channel address word CAW.
Bring it from (801). Channel address word CAW
is located in the system area of the main memory device MM as shown in FIG. 2, and indicates the address where the channel control word CCW is stored. The channel control word CCW is composed of three words CCWO to CCW2 as shown in FIG.
The input/output device address IOA is used to specify the other party for data transfer, and the command code CM is used to specify the transfer direction (read/write), etc.
In C, the number of words to be transferred is indicated by a word counter WC, and the transfer start address is indicated by a data address DA. A channel word CHW is created from this channel control word CCW as shown in FIG. 8 (802).
チャネル語QHWは第2図かれもわかるように、主記憶
装置MMのシステムエリアに入出力装置アドレス10A
により固定に割付けられている。いつたんこのチャネル
語CHWを作成すれば入出力装置からデータ転送要求が
あれば、そのアドレスIOAから容易にチャネル謎)傳
を見い出し、転送を制御できる。チャネル語CHWの構
成は第4図に示すようにCHWO〜CHW2の3語より
構成され、転送語数WCl転送データアドレスDAl転
送方向(読み/書き)R/W1チャネルステイタスCS
T等からできている。次に第8図において入出力装置ア
ドレスIOAからIOAOUT信号を、転送方向R/W
よりDATAOUT信号を、又起動であることよりコマ
ンド指冷CNTOUT信号を設定して、入出力制御装置
に対してデータ転送SRVOUT信号を送出する(80
3)。これにより第7図からも明らかなように起動手順
が開始される。次に入出力制御装置がDATAIN信号
に入出力装置の状態DSTを返送してくる。The channel word QHW is stored in the system area of the main memory MM at the input/output device address 10A as shown in FIG.
It is fixedly assigned. Once this channel word CHW is created, if there is a data transfer request from an input/output device, the channel code can be easily found from the address IOA and the transfer can be controlled. As shown in Figure 4, the channel word CHW is composed of three words CHWO to CHW2, number of transfer words WCl transfer data address DAl transfer direction (read/write) R/W1 channel status CS
It is made up of T etc. Next, in FIG. 8, the IOAOUT signal is transferred from the input/output device address IOA to the transfer direction R/W.
The data transfer SRVOUT signal is sent to the input/output control device by setting the DATAOUT signal and the command cold CNTOUT signal due to activation (80
3). As a result, the startup procedure is started, as is clear from FIG. Next, the input/output control device returns the status DST of the input/output device in the DATAIN signal.
マイクロプログラムはその状態DST及びチャネルの状
態CSTをチェックする(804)。結果がよければ起
動が有効であつたことを示すためにコンデイシヨンコー
ドCDCをOに設定する。(805)。このコードの”
CDCは2ビットで構成されていて、プログラムから見
ることができ、入出力装置系の命令が正常に実行された
か否かを判別することにも使われる。もし、入出力装置
の状態CSTlチャネルの状態DSTにエラー表示があ
れば、その内容をチャネルステータス語CSW(起動時
はCSWAl終結時はCSWB)に格納する(806)
。チャネルステータス語CSWAは第2図からも明らか
なように主記憶装置MMのシステムエリアに固定的に割
付けられている。チャネルステータス語CSWAの・構
成は第5図に示すうにチヤネルス状態CST、入出力装
置状態DSTl入出力装置状態DSTl入出力装置アド
レスIOAからできている。チャネルステータス語CS
WAに格納した後、コンデシヨンコードCDCを2に設
定する(807)。次に転送時における中央制御装置及
び入出力制御装置10Ci間の入出力バスIOB上での
データ転送手順は第9図に示すようになる。即ち入出力
制御装置10q側よりデータ転送要求REQIN信号が
送出されると中央制御装置側はデータ転送要求受付RE
QOUT信号を出す。入出力制御装置側は優先回路によ
り、入出力バス上にデータ転送要求REQIN信号を出
している入出力制御装置のみが、この信号を受信できる
ように構成されている。転送受付REQOUT信号を受
信した入出力制御装置は、自分のアドレスIOAをIO
AIN信号に、入出力制御装置から主記憶装置へのデー
タ転送の時は、読込みデータをDATAIN信号にそれ
ぞれ設定してデータ転送SRVIN信号を中央制御装置
側に送出する。中央制御装置側はこのSR■囚信号を受
けて転送相手のアドレスをIOAOUT信号に設定し、
主記憶装置から入出力制御装置けのデータ転送の場合に
はチャネル語CHWにより指定された主記憶装置MMの
内容を1語DATAOUT信号に設定してデータ転送S
RVOUT信号を送出してデータ転送手順は終了する。
中央制御装置のこのチャネル機能はマイクロプログラム
で制御している。The microprogram checks its state DST and the channel's state CST (804). If the result is good, the condition code CDC is set to O to indicate that the activation was valid. (805). of this code”
The CDC consists of 2 bits, can be viewed from the program, and is also used to determine whether input/output device instructions have been executed normally. If there is an error indication in the input/output device status CST or the channel status DST, its contents are stored in the channel status word CSW (CSWAl at startup, CSWB at termination) (806)
. As is clear from FIG. 2, channel status word CSWA is fixedly allocated to the system area of main memory MM. As shown in FIG. 5, the structure of the channel status word CSWA is made up of channel status CST, input/output device status DST1, input/output device status DST1, and input/output device address IOA. Channel status word CS
After storing it in WA, the condition code CDC is set to 2 (807). Next, the data transfer procedure on the input/output bus IOB between the central control unit and the input/output control unit 10Ci during transfer is as shown in FIG. That is, when the data transfer request REQIN signal is sent from the input/output control device 10q side, the central control device side receives the data transfer request reception RE.
Issue QOUT signal. The input/output control device side is configured by a priority circuit so that only the input/output control device issuing the data transfer request REQIN signal on the input/output bus can receive this signal. The input/output control device that received the transfer acceptance REQOUT signal transfers its own address IOA to IO.
When transferring data from the input/output control device to the main storage device, read data is set in the AIN signal and the DATAIN signal, respectively, and a data transfer SRVIN signal is sent to the central control device side. The central controller side receives this SR ■ prisoner signal and sets the address of the transfer destination in the IOAOUT signal,
In the case of data transfer from the main memory device to the input/output control device, the contents of the main memory device MM specified by the channel word CHW are set in the one-word DATAOUT signal, and the data transfer S
The data transfer procedure ends by sending the RVOUT signal.
This channel function of the central controller is controlled by a microprogram.
第10図にそのマイクロプログラムフローを示す。即ち
入出力制御装置側からデータ転送要求REQIN信号が
送出されると中央制御装置側では割込まれてマイクロプ
ログラムの転送手順処理に入ると同時に、金物制御によ
り転送要求受付REQOUT信号を返す。転送要求RE
QIN信号を出した入出力制御装置はこの信号を受ける
と自分のアドレスをIOAIN信号にデータ読込み時に
は読込みデータをDATAIN信号にそれぞれ設定して
転?RVIN信号を送出する。中央制御装置側はこのS
RVIN信号を受取ると、そのIOAIN信号より入出
力装置アドレス10Aを知り(1001)、そのアドレ
スIOAに対応するチャネル語CHWを主記憶装置MM
のシステムエリアより読出してくる(1002)。その
チャネル語CHWののワードカウンタWCより最終の転
送か否か(WC=1のとき最終転送)を判定し(100
3)、転送を続行する場合は、データ転送処理に移る(
1004)。この処理では転送相手のアドレスIOAを
IOAIN信号からIOAOUT信号に、データ書込み
時にはチャネル訃色HWの指定に従つて主記憶装置MM
の内容を1語DATAOUT信号にそれぞれ設定して、
データ転送SRVOUT信号を送出する。最終転送か否
かの判定時に最終転送と判定された場合は中央制御装置
側はコマンド指令CNTOUTを111にして入出力制
御装置側に終結指示を行い(1009)、上記の転送処
理(1004)に移る。FIG. 10 shows the microprogram flow. That is, when a data transfer request REQIN signal is sent from the input/output control device side, the central control device side is interrupted and starts processing the microprogram transfer procedure, and at the same time, the hardware control returns a transfer request acceptance REQOUT signal. Transfer request RE
When the input/output control device that issued the QIN signal receives this signal, it sets its own address to the IOAIN signal and, when reading data, sets the read data to the DATAIN signal and transfers it. Send RVIN signal. This S on the central controller side
When the RVIN signal is received, the input/output device address 10A is learned from the IOAIN signal (1001), and the channel word CHW corresponding to that address IOA is stored in the main memory MM.
The data is read from the system area (1002). It is determined from the word counter WC of the channel word CHW whether it is the final transfer (if WC = 1, it is the final transfer) (100
3) If you want to continue the transfer, proceed to the data transfer process (
1004). In this process, the address IOA of the transfer destination is changed from the IOAIN signal to the IOAOUT signal, and when writing data, the address IOA of the transfer destination is transferred to the main memory MM according to the specification of the channel color HW.
Set the contents of each to the one-word DATAOUT signal,
Send data transfer SRVOUT signal. If it is determined that the transfer is the final transfer, the central control unit sets the command command CNTOUT to 111 to instruct the input/output control unit to terminate (1009), and performs the above transfer process (1004). Move.
転送処理(1004)が終ると、転送開始アドレスDA
を+1し(1005)、ワードカウンタWCを−1し(
1006)、その結果を主記憶装置MMのチャネル語C
HWエリアに格納しておく(1007)。When the transfer process (1004) is completed, the transfer start address DA
is +1 (1005), word counter WC is -1 (
1006), the result is stored in the channel word C of the main memory MM.
It is stored in the HW area (1007).
次に転送要求REQIN信号が出ていなければ、転送手
順は終了する。REQIN信号が出ている場合(パース
ト・モードの場合)は、また転送シーケンスを繰返す。
(1008)。次に終結時における入出力制御装置及び
中央制御装置間の入出力バスIOB上でのデータ転送手
順を第11図に示す。Next, if the transfer request REQIN signal is not issued, the transfer procedure ends. If the REQIN signal is output (in the case of burst mode), the transfer sequence is repeated again.
(1008). Next, FIG. 11 shows the data transfer procedure on the input/output bus IOB between the input/output control unit and the central control unit at the time of termination.
即ち、入出力制御装置側より終結要求信号STPINが
送出されると、中央制御装置側では終結要求受付信号S
TPOUTを出す。入出力側制御装置側は優先回路によ
り入出力バス上に終結要求STPIN信号を出している
入出力制御装置のみがこのSTPOUT信号を受信でき
るように構成されている。STPOUT信号を受信した
入出力制御装置は自分のアドレスをIOAIN信号に、
装置状態DSTをDATAIN信号にそれぞれ設定して
データ転?RVIN信号を中央制御装置側に送出する。
中央制御装置側はSRVIN信号を受けて、IOAIN
信号をIOAO■゛信号に設定してSRVOUT信号を
送出して終結手順を終了する。中央制御装置のこのチャ
ネル機能はマイクロプログラムで制御している。第12
図にそのマイクロプログラムフローを示す。即ち入出力
制御装置側から終結要求STPIN信号が送出されると
中央制御装置側では割込まれてマイクロプログラムの終
結シーケンス処理に入ると同時に金物制御で終結要求受
付STPOUT信号を返す。終結要求STP囚信号を出
した入出力制御装置はこの信号を受けると、自分のアド
レスをIOAIN信号に、入出・力装置の状態DSTを
DATAIN信号にそれぞれ設定してデータ転?RVI
N信号を送出する。中央制御装置はこの転?RVIN信
号を受取ると、そのIOAIN信号より入出力装置アド
レスを知り(1201)、そのアドレスに対応するチャ
ネル語CHWを主記憶装置MMのシステムエリア読出し
てくる(1202)。そのチャネル語CHWのコンデイ
シヨンコードCSTに終結表示を立て主記憶装置MMの
システムエリアに又格納する(1203)。次にコンデ
イシヨンコードCSTl状態DSTの内容(DSTはD
ATAINの内容)をシステムエリアのチャネルステー
タス語CSWBO,CSWBl(第2図参照)に格納す
る。チャネルステータス語CSWBO,CSWBlの内
容は第6図に示すようにCST,IOA及びDSTより
なる。最後に割込源ISl4を設定して終結手順を終了
する。割込源1S14が設定されるとプログラムに割込
み、そのプログラムはデータ転送動作が終了したことを
知る。以上説明した起動、転送、終結手順はデータ転送
手順として既によく知られたものである。That is, when the termination request signal STPIN is sent from the input/output control device side, the termination request acceptance signal S is sent from the central control device side.
Issue TPOUT. The input/output side control device side is configured by a priority circuit so that only the input/output control device issuing the termination request STPIN signal on the input/output bus can receive this STPOUT signal. The input/output control device that receives the STPOUT signal sets its own address as the IOAIN signal.
Set the device status DST to the DATAIN signal and transfer the data? Send the RVIN signal to the central controller side.
The central controller side receives the SRVIN signal and sends the IOAIN signal.
The termination procedure is completed by setting the signal to the IOAO signal and sending the SRVOUT signal. This channel function of the central controller is controlled by a microprogram. 12th
The figure shows the microprogram flow. That is, when the termination request STPIN signal is sent from the input/output control device side, the central control device side is interrupted and starts microprogram termination sequence processing, and at the same time, the hardware control returns the termination request acceptance STPOUT signal. When the input/output control device that issued the termination request STP signal receives this signal, it sets its own address to the IOAIN signal and the status DST of the input/output/output device to the DATAIN signal, and transfers the data? RVI
Send N signal. Is this the central control unit? When receiving the RVIN signal, it learns the input/output device address from the IOAIN signal (1201), and reads out the channel word CHW corresponding to that address from the system area of the main memory MM (1202). A termination indication is set in the condition code CST of the channel word CHW and stored in the system area of the main memory MM (1203). Next, the contents of condition code CST1 status DST (DST is D
The contents of ATAIN) are stored in the channel status words CSWBO, CSWBl (see FIG. 2) in the system area. The contents of channel status words CSWBO and CSWBl consist of CST, IOA and DST as shown in FIG. Finally, the interrupt source ISl4 is set to complete the termination procedure. When interrupt source 1S14 is set, it interrupts the program and the program knows that the data transfer operation is complete. The activation, transfer, and termination procedures described above are already well known as data transfer procedures.
次にこの発明によりデータ処理装置の要部である入出力
制御装置10Cと入出力バスに接続された記憶装置10
Mとの間のデータ転送について述べる。このIOC−1
0M間のデータ転送も可能にするため、従来のチャネル
制御語CCWlチャネル語CI(Wの構成に1部追加し
て、第13,第14図に太枠として示すようにして入出
力制御装置10Cの転送先が主記憶装置MMか記憶装置
10Mかの識別情報を付ける。Next, according to the present invention, the storage device 10 connected to the input/output control device 10C, which is a main part of the data processing device, and the input/output bus.
Data transfer to and from M will be described. This IOC-1
In order to enable data transfer between 0M and 0M, one part is added to the configuration of the conventional channel control word CCWl channel word CI (W), and the input/output control device 10C is changed as shown by the bold frame in FIGS. Identification information indicating whether the transfer destination is the main storage device MM or the storage device 10M is attached.
即ちチャネル制御語CCWはCCWlの最上位ビットに
IOMビットを設け、10M=1のときはIOC−10
M転送とし、IOM=0のときはIOC−MM転送とす
る。又さらにCCW3を新規に追加してIOM−10A
を設ける。IOM=1のときCCW3のIOM−10A
を記憶装置10Mの装置アドレスとする。又チャネル語
CHWもチャネル制御語CCWに応じて変更する。即ち
CHWOの上から2ビット目にIOMビットを設け、I
OM=1のときIOC−10M転送とし、IOM=0の
とき10C−MM転送とし、又ClIW2の上位8ビッ
トにIOM●IOAを設け、IOM=1のとき、IOM
●10Aは記憶装置10Mの装置アドレスとする。チャ
ネル制御語CCWlチャネル語CHWがこのように構成
されてあるため、プログラムでデータ転遜?HC命令が
発生されると、起動時にチャネル制御語中のCCWlの
最上位ビットIOMを判定することによりIOC−MM
のデータ転送かIOC−10Mのデータ転送かが容易に
判定される。そしてIOM=1の時は当然転送すべき記
憶装置10Mの装置アドレスIOM−■0AがIOC−
MM間のデータ転送に比べて余分に必要となつてくる。
次に入出力装置Kqから記憶装置10MJへのデータ転
送につき詳述する。That is, the channel control word CCW has an IOM bit in the most significant bit of CCWl, and when 10M=1, IOC-10
M transfer is assumed, and when IOM=0, IOC-MM transfer is assumed. Furthermore, CCW3 is newly added and IOM-10A
will be established. IOM-10A of CCW3 when IOM=1
Let be the device address of the storage device 10M. The channel word CHW is also changed according to the channel control word CCW. That is, the IOM bit is provided in the second bit from the top of CHWO, and
When OM=1, it is IOC-10M transfer, when IOM=0, it is 10C-MM transfer, and IOM●IOA is provided in the upper 8 bits of ClIW2, and when IOM=1, IOM
●10A is the device address of the storage device 10M. Since the channel control word CCWl channel word CHW is structured like this, is it possible to change the data in the program? When an HC instruction is issued, the IOC-MM is
It is easily determined whether the data transfer is the data transfer of the IOC-10M or the data transfer of the IOC-10M. And when IOM=1, of course the device address IOM-■0A of the storage device 10M to be transferred is IOC-
This becomes more necessary than data transfer between MMs.
Next, data transfer from the input/output device Kq to the storage device 10MJ will be explained in detail.
起動時におけるその起動手順及びその入出力バス上のデ
ータ転送手順もマイクロプログラム制御フローは第8図
及び第9図と同一になる。即ちチャネルアドレス語CA
Wよりチャネル制御CCWを読取り、チャネル語CHW
を作成し、入出力制御装置1αコに対してコマンドを送
出し、プログラムに対してはコンデイシヨンコードCD
Cを返す。転送時におけるその入出力バス上のデータ転
送手順は第15図に示すようになり、その転送手順マイ
クロプログラム制御フローを第16図に示す。即ち入出
力制御装置10qより受信したアドレスIOAより(1
601)、該当チャネル語CHWを読出し(1602)
そのCHWO中のIOMビットが1のときは(1603
)、IOM・FLAG=1とする(1614)、CHW
Oの最上位ビットR/Wが書込み指定になつている時は
(1604)、書込処理を行い(1615)、(後述す
る)、読込み指定になつている時は、ワードカウンタW
Cが1は否かを調べ(1605)、1の時は最終転送デ
ータだからコマンドCNTOUTを終結指示してデータ
転送読込み処理に進む(1615)。The microprogram control flow for the startup procedure at startup and the data transfer procedure on the input/output bus is the same as in FIGS. 8 and 9. That is, the channel address word CA
Read channel control CCW from W, channel word CHW
Create a command, send a command to the input/output control device 1α, and send a condition code CD to the program.
Return C. The data transfer procedure on the input/output bus during transfer is as shown in FIG. 15, and the microprogram control flow of the transfer procedure is shown in FIG. That is, from the address IOA received from the input/output control device 10q (1
601), read the corresponding channel word CHW (1602)
If the IOM bit in the CHWO is 1 (1603
), IOM・FLAG=1 (1614), CHW
When the most significant bit R/W of O is designated for writing (1604), write processing is performed (1615) (described later), and when it is designated for reading, the word counter W is
It is checked whether C is 1 or not (1605), and if it is 1, it is the final transfer data, so the command CNTOUT is given a termination instruction and the process proceeds to data transfer read processing (1615).
データ転送読込処理では入出力制御装置10C1からの
読込みデータをDATAlN信号から受取り入出力制御
装置10qのアドレスIOAをIOAOUT信号に設定
して転送SRVOUT信号を出す”(1606)。次に
チャネル語中のCHWlの転送開始アドレスDAを+1
とし、CHWOのワードカウンタWCを−1して主記憶
装置MMのチャネル語CHW固定エリアに格納しておく
(1607)〜(1609)。In the data transfer read process, the read data from the input/output control device 10C1 is received from the DATAIN signal, the address IOA of the input/output control device 10q is set to the IOAOUT signal, and the transfer SRVOUT signal is issued (1606). Add 1 to transfer start address DA of CHWl
Then, the word counter WC of CHWO is decremented by 1 and stored in the channel word CHW fixed area of the main memory MM (1607) to (1609).
最後に入出力制御装置10C,から読込んだデータを記
憶装置10M,に書く。このため先ずアドレスIOAO
UT信号をIOM,アドレスに、DATAOUT信号に
書込アドレスをそれぞれ設定し、コマンド指令CNTO
UT信号を書込指定にして転送JSRVOUT信号を送
出する。その後アドレスIOAOUT信号に同じくIO
M,アドレスを、DATAOUT信号にIOqから読込
んだデータをそれぞれ設定して再度転送SRVOUT信
号を送出して(1611)、送出手順は終了する。最後
に終結時は起動時と同じく、その入出力バスのデータ転
送手順も起動手順マイクロプログラム制御フローも第1
1及び12図と同様である。このようにして10q−+
IOM,のデータ転送が可能となる。次に記憶装置10
M,より入出力制御装置10Ciへのデータ転送につき
詳述する。これは上記(1)〜(3)の場合があり、先
ず(1)の場合につき述べる。起動時はその入出力バス
上のデータ転送手順も起動手順マイクロプログラム制御
フローも通常の転送の場合と同じで第7図及び8図に示
した通りである。転送時はデータ転送手順、転送手順マ
イクロプログラム制御フローを第16及び18図にそれ
ぞれ示す。即ち第16図の判定1604において10M
,→IOqのデータ転送であると判明すると第16図の
書込処理(1615)に移る。この書込処理では第18
図に示す通り入出力制御装置10qに対して転送SRV
IN信号の保留指定をコマンド指令CNTOUT(=0
11)に、入出力制御装置のアドレスをアドレスIOA
OUT信号にそれぞれ設定して転送SR■0UT信号を
送出する(1803)。入出力制御装置10Ci側は保
留指定を受けると第19図に示すようにコマンド指令C
NTOUTがデコードされ、その出力により保留用フリ
ップフロップ12がセットされ、その出力が禁止ゲート
13が制御されて、転??RVIN信号発生回路14の
出力がHIBバス15へ供給されるのが禁止され、よつ
てSRVIN信号が入出力バス上に出ることが禁止され
る。次に中央制御装置は記憶装置10M,のアドレスを
アドレスIOAIN信号に、記憶装置10M,内の読出
しアドレスをDATAOUT信号に、読込み指定をコマ
ンドCNTOUT信号にそれぞれ設定して記憶装置10
M,に転送SRVOUT信号を送出する(1804)。Finally, the data read from the input/output control device 10C is written to the storage device 10M. For this reason, first address IOAO
Set the UT signal to the IOM address, set the write address to the DATAOUT signal, and issue the command command CNTO.
Sends the transfer JSRVOUT signal with the UT signal as a write designation. After that, the same IO is sent to the address IOAOUT signal.
The data read from IOq is set in the M address and the DATAOUT signal, respectively, and the transfer SRVOUT signal is sent out again (1611), and the sending procedure ends. Finally, at the time of termination, the data transfer procedure of the input/output bus and the startup procedure microprogram control flow are the same as at the time of startup.
Similar to Figures 1 and 12. In this way, 10q−+
IOM, data transfer becomes possible. Next, the storage device 10
The data transfer from M, to the input/output control device 10Ci will be explained in detail. This may be the case (1) to (3) above, and the case (1) will be described first. At startup, the data transfer procedure on the input/output bus, the startup procedure, and the microprogram control flow are the same as in the case of normal transfer, as shown in FIGS. 7 and 8. At the time of transfer, the data transfer procedure and transfer procedure microprogram control flow are shown in FIGS. 16 and 18, respectively. That is, in determination 1604 in FIG.
,→IOq, the process moves to write processing (1615) in FIG. 16. In this writing process, the 18th
As shown in the figure, the SRV is transferred to the input/output control device 10q.
Command command CNTOUT (=0
11), set the address of the input/output control device to address IOA
The transfer SR 0UT signal is sent by setting each to the OUT signal (1803). When the input/output control device 10Ci side receives the reservation designation, it issues a command command C as shown in FIG.
NTOUT is decoded, its output sets the holding flip-flop 12, and its output is controlled by the inhibit gate 13 to be turned on? ? The output of RVIN signal generation circuit 14 is prohibited from being supplied to HIB bus 15, and therefore the SRVIN signal is prohibited from appearing on the input/output bus. Next, the central controller sets the address of the storage device 10M to the address IOAIN signal, the read address in the storage device 10M to the DATAOUT signal, and the read designation to the command CNTOUT signal, and then sends the storage device 10M to the address IOAIN signal.
A transfer SRVOUT signal is sent to M (1804).
記憶装置10Mj側はこの信号を受けて自分のアドレス
をIOAIN信号に、読出しデータをDATAIN信号
にそれぞれ設定して送出SRVIN信号を返送する。更
にワードカウンタWCより最終転送でないことがわかれ
ば(1805)、入出力制御装置10Ciに対して今記
憶装置10M,から読出したデータ(DATAIN)を
DATAOUT信号に設定して書込み動作を実行する(
1806)。The storage device 10Mj receives this signal, sets its own address in the IOAIN signal, sets the read data in the DATAIN signal, and sends back the sent SRVIN signal. Furthermore, if it is determined from the word counter WC that it is not the final transfer (1805), the data (DATAIN) just read from the storage device 10M is set to the DATAOUT signal for the input/output control device 10Ci, and a write operation is executed (
1806).
この時、コマンド指令CNTOUTを101に設定して
上記入出力制御装置側の1時保留で解除する指令を行う
。ワードカウンタWCの判定結果が最終転送の場合は上
記書込み指定の時に終結指示をコマンド指令CNTOU
T信号で指定する(1814)。次にチャネル語CHW
の転送開始アドレスDAを+1、ワードカウンタWCを
−1して主記憶装置MMの固定エリアに格納する(18
07)〜(1809)。一方通常のIOq−MM送出の
場合は、チャネル語CHWで指定された主記憶装置MM
の内容を1語読出し(1812)、入出力制御装置10
C,に対して読出したデータをDATAOUT信号に設
定して転送SRVOUT信号を送出する(1813)。At this time, the command command CNTOUT is set to 101 to issue a command to release the temporary hold on the input/output control device side. If the judgment result of the word counter WC is the final transfer, the command command CNTOU instructs the termination at the time of the above writing specification.
Specify with T signal (1814). Next, the channel word CHW
Transfer start address DA is +1, word counter WC is -1, and stored in the fixed area of main memory MM (18
07)-(1809). On the other hand, in the case of normal IOq-MM transmission, the main memory MM specified by the channel word CHW
Reads one word of the content (1812), input/output control device 10
The data read for C is set in the DATAOUT signal and the transfer SRVOUT signal is sent out (1813).
更に入出力制御装置10qから記憶装置10M,への転
送の場合と同じように転送開始アドレスDAlワードカ
ウンタWCの処理をする。以上で転送処理は終了する。
終結時はその入出力バス上のデータ転送手順も、終結マ
イクロプログラム制御フローも通常の転送の場合、即ち
第11及び12図の場合と同じである。以上の処理によ
りIOM,→IOqのデータ転送が行なわれる。(2)
の場合
起動時はその入出力バス上のデータ転送手順も起動手順
マイクロプログラム制御フローも、通常の転送の場合、
即ち第7図及び8図と同様である。Furthermore, the transfer start address DAl word counter WC is processed in the same way as in the case of transfer from the input/output control device 10q to the storage device 10M. With this, the transfer process ends.
At the time of termination, the data transfer procedure on the input/output bus and the termination microprogram control flow are the same as in the case of normal transfer, that is, in the case of FIGS. 11 and 12. Through the above processing, data transfer from IOM to IOq is performed. (2)
In the case of startup, the data transfer procedure on the input/output bus and the startup procedure microprogram control flow are normal transfers.
That is, it is similar to FIGS. 7 and 8.
転送時におけるデータ転送手順及び転送手順マイクロプ
ログラム制御フローを第20及び21図にそれぞれ示す
。即ち、入出力制御装置10q側からのデータ転送要求
REQIN信号により第16図のIOq←IOMj転送
手順に入り、入出力制御装置10qへの書込み指定と判
定された後、第21図の書込み処理に進む。書込み処理
では記憶装置10Mjからデータを読込むために、記憶
装置10M,のアドレスをIOAOUT信号に、読込み
アドレスをDATAOUT信号に、読込み指定をコマン
ド指令CNTOUT信号にそれぞれ設定し、転送SRV
OUT信号を出す。The data transfer procedure and transfer procedure microprogram control flow at the time of transfer are shown in FIGS. 20 and 21, respectively. That is, the data transfer request REQIN signal from the input/output control device 10q enters the IOq←IOMj transfer procedure shown in FIG. move on. In the write process, in order to read data from the storage device 10Mj, the address of the storage device 10Mj is set to the IOAOUT signal, the read address is set to the DATAOUT signal, and the read specification is set to the command command CNTOUT signal, and the transfer SRV
Gives an OUT signal.
一方記憶装置10M,側はこの信号を受けると、読取り
データをDATAIN信号に設定し、記憶装置10M用
のデータ転送MSRVOUT信号を送出る(2103)
。最終転送てない時(2104)は中央制御側”はこの
読込みデータを入出力制御装置10qに書込むために、
その入出力制御装置のアドレスを10A0UT信号に、
書込データをDATAOUT信号にそれぞれ設定した転
送SRVOUT信号を出す。(2105)。最終転送の
場合にはコマンド指令CNTOUTを001に設定して
上記の処理に移る(2113)。又10M,→IOqで
はなく、通常のMM−10qのデータ転送の場合はすで
に述べたので省略する(2109)〜(2112)。On the other hand, when the storage device 10M receives this signal, it sets the read data to the DATAIN signal and sends out the data transfer MSRVOUT signal for the storage device 10M (2103).
. When the final transfer has not been made (2104), the central control side" writes this read data to the input/output control device 10q,
Set the address of the input/output control device to the 10A0UT signal,
A transfer SRVOUT signal is output in which the write data is set to the DATAOUT signal. (2105). In the case of final transfer, the command command CNTOUT is set to 001 and the process proceeds to the above processing (2113). Also, the case of normal MM-10q data transfer instead of 10M,→IOq has already been described, so a description thereof will be omitted (2109) to (2112).
入出力制御装置10C1にデータ転送(書込み指定)の
後、転送開始アドレスDAlワードカウンタWCをそれ
ぞれ更新してチャネル語CHWを主記憶装置MMの固定
エリアに格納して(2106)〜(2108)、書込み
処理を終了して第16図に戻り転送手順は終了する。After data transfer (write designation) to the input/output control device 10C1, the transfer start address DAl word counter WC is updated, and the channel word CHW is stored in a fixed area of the main memory device MM (2106) to (2108). After the write process is completed, the process returns to FIG. 16 and the transfer procedure ends.
終結時は、通常のIOCi−MMのデータ転送と同一で
ある。以上の手順により10M,→Iαコの間のデータ
転送が行なわれる。(3)の場合起動時はその入出力バ
ス上のデータ転送手順を第22図に起動手順マイクロプ
ログラム制御フローを第23図にそれぞれ示す。The termination time is the same as normal IOCi-MM data transfer. Data transfer between 10M and Iα is performed by the above procedure. In case (3), the data transfer procedure on the input/output bus at startup is shown in FIG. 22, and the startup procedure microprogram control flow is shown in FIG. 23, respectively.
即ちCHW−10M=0のとき、つまり入出力制御装置
10q及び主記憶装置MM間のデータ転送が指定されて
いる場合は通常のIOCi−MMの転送と全く同一であ
る。CHW−10M=1の時は第23図より入出力制御
装置10qに起動をかけるまでは、IOq−MM転送の
時と全く同一(2301)〜(2303)である。次に
記憶装置10M,から入出力制御装置10qへのデータ
転送の時は(2304)、起動時に記憶装置10Mjよ
り1語データを予め読込んでおく必要がある。そこで記
憶装置10M,のアドレスをIOAOUT信号に設定し
、記憶装置10MのアドレスをDATAOUT信号に、
読込み指定をCNTOUT信号にそれぞれ設定して転迷
重VOUT信号を送出する(2305)。記憶装置10
M,側はこの信号を受けて読込みデータをDATAIN
信号に設定し、転送SRVIN信号を返送する。中央制
御装置側はこのデータを読取り、入出力制御装置10C
に割付けられたバッファレジスタに格納しておく(23
06)。この後、CST,DSTによりチャネル語状態
、入出力装置の状態をそれぞれチェックして(2307
)、コンデシヨンコードCDCをそのチェック結果に応
じて設定する(2308)(2310)。That is, when CHW-10M=0, that is, when data transfer between the input/output control device 10q and the main memory device MM is specified, the transfer is exactly the same as the normal IOCi-MM transfer. When CHW-10M=1, as shown in FIG. 23, the process is exactly the same as the IOq-MM transfer (2301) to (2303) until the input/output control device 10q is activated. Next, when data is transferred from the storage device 10M to the input/output control device 10q (2304), it is necessary to read one word of data from the storage device 10Mj in advance at startup. Therefore, the address of the storage device 10M is set to the IOAOUT signal, and the address of the storage device 10M is set to the DATAOUT signal.
A reading designation is set for each CNTOUT signal, and a rolling VOUT signal is sent out (2305). Storage device 10
M, side receives this signal and reads the read data as DATAIN.
signal and sends back the transfer SRVIN signal. The central controller side reads this data and sends it to the input/output controller 10C.
Store it in the buffer register assigned to (23
06). After this, the channel word status and input/output device status are checked by CST and DST (2307
), and sets the condition code CDC according to the check result (2308) (2310).
エラーの時はCST,DSTの内容をチャネルステータ
ス語CSWAにて主記憶装置MMの固定エリアに格納す
る(2309)。以上が起動時の動作である。次に転送
時は入出力バス上のデータ転送手順及び転送手順マイク
ロプログラム制御フローを第24図及び25図にそれぞ
れ示す。図より明らかなように入出力制御装置10Cは
りデータ転送要求があると、既に先読みしていたデータ
を入出力制御装置10qに送り、その後記憶装置10M
,より次のデータを読取り格納しておく。図に従つて説
明すると入出力制御装置10qからの転送要求REQ囚
信号によりマイクロプログラムの転送手順に入つてくる
。中央制御装置は金物制御により転送求受付REQOU
T信号をすぐ返送する。入出力制御装置10q側は自分
のアドレスをIOAIN信号に設定して転送SRVIN
信号を出す。中央制御装置はIOAIN信号によりチャ
ネル語CHWを主データ装置MMより読出し(2501
),(2502)、起動又は前回の転送手順でバッファ
レジスタに既に格納しておいた記憶装置10M,からの
データをDATAOUT信号に設定し、入出力制御装置
10qのアドレスIOAOUT信号に設定して、SRV
OUT信号を送出する(2504)。その後今度は記憶
装置10MJのアドレスをIOAOUT信号に記憶装置
10M,内のアドレスをDATAOUT信号に読込み指
定をCNTOUT信号にそれぞれ設定し、SRVOUT
信号を送出する(2506)。これを受けて記憶装置1
0Mjは指定されたアドレスからデータを1語読出し、
DATAIN信号に読込みデータを、自分のアドレスを
IOAIN信号にそれぞれ設定し、SRVへ信号を送出
する。中央制御装置側はこのデータを次の転送要求のと
きのために中央制御装置の入出力制御装置別に用意して
あるバッファレジスタに格納しておく(2507)。最
終転送の場合は(2505)、上記2つの処理(250
6)(2507)は省略する。次に転送開始アドレスD
AlワードカウンタWCを各々更新してチャネル語CH
Wを主記憶装置MMの固定エリアに格納する(2508
)〜(2510)。かくして転送手順は終了する。終結
時は入出力バス上のデータ転送手順及び終結手順マイク
ロプログラム制御フローは通常の10q−MMの場合と
同一であり、第11及び12図に示してある。以上の手
順にてIOMj−+IOCiのデータ転送が行なわれる
。In the event of an error, the contents of CST and DST are stored in a fixed area of the main memory MM as a channel status word CSWA (2309). The above is the operation at startup. Next, at the time of transfer, the data transfer procedure on the input/output bus and the transfer procedure microprogram control flow are shown in FIGS. 24 and 25, respectively. As is clear from the figure, when the input/output control device 10C receives a data transfer request, the data that has already been read ahead is sent to the input/output control device 10q, and then the data is transferred to the storage device 10M.
, the next data is read and stored. To explain with reference to the figure, a microprogram transfer procedure is started in response to a transfer request REQ signal from the input/output control device 10q. The central control device accepts transfer requests via hardware control.
Immediately send back the T signal. The input/output control device 10q side sets its own address in the IOAIN signal and transfers SRVIN.
give a signal. The central control unit reads the channel word CHW from the main data unit MM using the IOAIN signal (2501
), (2502), sets the data from the storage device 10M, which has already been stored in the buffer register during startup or the previous transfer procedure, to the DATAOUT signal, sets it to the address IOAOUT signal of the input/output control device 10q, SRV
Sends an OUT signal (2504). After that, the address of the storage device 10MJ is read into the IOAOUT signal, the address in the storage device 10M is read into the DATAOUT signal, the designation is set into the CNTOUT signal, and the SRVOUT signal is read.
Send a signal (2506). In response to this, storage device 1
0Mj reads one word of data from the specified address,
Set read data to the DATAIN signal, set its own address to the IOAIN signal, and send the signal to the SRV. The central control unit stores this data in a buffer register prepared for each input/output control device of the central control unit for the next transfer request (2507). In the case of final transfer (2505), the above two processes (250
6) (2507) is omitted. Next, transfer start address D
Al word counter WC is updated respectively and the channel word CH
Store W in the fixed area of main memory MM (2508
) ~ (2510). The transfer procedure is thus completed. At termination, the data transfer procedure on the I/O bus and the termination procedure microprogram control flow are the same as in the conventional 10q-MM case and are shown in FIGS. 11 and 12. Data transfer of IOMj-+IOCi is performed through the above procedure.
上述では中央制御装置に内臓のチャネル機能をマイクロ
プログラム制御にて実行したが、金物制御としてもよい
。In the above description, the channel function built into the central controller is executed by microprogram control, but hardware control may also be used.
以上説明たように記憶装置10Mを入出力バスに接続し
、また記憶装置10M及び入出力制御装置間のデータ転
送であることを示す情報チャネル語に付加することによ
り、記憶容量を飛躍的に拡大し、入出力制御装置及び記
憶装置10M間において大量のデータ転送を可能とし、
しかも主記憶装置を介することなく、高速度でかつ1命
令で転送処理を行うことができ、本データ処理システム
外からのデータ入力の蓄積を高速に処理し、中央制御装
置のレジスタなどのリリースを共通に使用することによ
り、入出力制御装置の金物量を増大する必要がない。As explained above, by connecting the storage device 10M to the input/output bus and adding it to the information channel word indicating data transfer between the storage device 10M and the input/output control device, the storage capacity can be dramatically expanded. and enables large amounts of data to be transferred between the input/output control device and the storage device 10M,
Furthermore, transfer processing can be performed at high speed with a single instruction without going through the main memory, and the accumulation of data input from outside this data processing system can be processed at high speed, allowing the release of registers in the central control unit. By using them in common, there is no need to increase the amount of hardware in the input/output control device.
第1図はこの発明によるデータ処理装置の構成を示すブ
ロック図、第2図は主記憶装置内のシステムエリアマッ
プを示す図、第3図はチャネル制御晶?CWの構成を示
す図、第4図はチャネル語CHWの構成を示す図、第5
図は入出力動作起動時のチャネルステータス語CSWA
O,lの構成を示す図、第6図は入出力動作終結時のチ
ャネルステータス語のCBWBO,lの構成を示す図、
第7図はMM−10q転送時の起動手順を示す図、第8
図はMM−10q起動手順のマイクロプログラム制御フ
ローを示す図、第9図はMM−10q転送時の転送手順
を示す図、第10図はMM−10q転送手順のマイクロ
プログラム制御フローを示す図、第11図はMM−Kq
転送時の終結手順を示す図、第12図はMM−10q終
結手順のマイクロプログラム制御フローを示す図、第1
3図はIOM−IOC転送時のチャネル制御語CCWl
,CCW3の構成を示す図、第14図はIOM−10C
転送時のチャネル語CHWO,CHW2の構成を示す図
、第15図はIOq−10Mj転送時の転送手順を示す
図、第16図はIOqeIOM,転送手順のマイクロプ
ログラム制御フローを示す図、第17図は10M,→I
OC,転送の転送手順の(1)の場合を示す図、第18
図はIOMj+IOq転送手順の(1)の場合の書込処
理マイクロプログラム制御フローを示す図、第19図は
入出力制御装置内のSRVIN信号1時保留回路を示す
図、第20図はIOM,→IOq転送の転送手順(2)
の場合を示す図、第21図は10M,→IOq転送手順
(2)の場合の書込み処理マイクロプログラム制御フロ
ーを示す図、第22図は10M,→IOC、転送の起動
手順を示す図、第23図はIOM,→IOq起動手順マ
イクロプログラム制御フローを示す図、第24図はIO
Mj−+IOCl転送の転送手順(3)の場合を示す図
、第25図はIOM,→10q転送手順(3)の場合の
マイクロプログラム制御フローを示す図、第26図は本
発明におけるアドレス指定方法を説明するためのアドレ
ス空間を示す図である。
1:主記憶装置、2:中央制御装置、3:入出力バス、
4:入出力制御装置、5:入出力装置、6:記憶装置。FIG. 1 is a block diagram showing the configuration of a data processing device according to the present invention, FIG. 2 is a diagram showing a system area map in the main memory, and FIG. 3 is a channel control crystal? Figure 4 shows the configuration of CW, Figure 4 shows the configuration of channel word CHW, Figure 5 shows the configuration of channel word CHW.
The figure shows the channel status word CSWA when input/output operation starts.
6 is a diagram showing the structure of the channel status word CBWBO,l at the end of input/output operation,
Figure 7 is a diagram showing the startup procedure during MM-10q transfer, Figure 8
The figure shows the microprogram control flow of the MM-10q startup procedure, FIG. 9 shows the transfer procedure during MM-10q transfer, and FIG. 10 shows the microprogram control flow of the MM-10q transfer procedure. Figure 11 shows MM-Kq
Figure 12 is a diagram showing the termination procedure during transfer, and Figure 12 is a diagram depicting the microprogram control flow of the MM-10q termination procedure.
Figure 3 shows the channel control word CCWl during IOM-IOC transfer.
, A diagram showing the configuration of CCW3, Figure 14 is IOM-10C
FIG. 15 is a diagram showing the configuration of channel words CHWO and CHW2 during transfer. FIG. 15 is a diagram showing the transfer procedure during IOq-10Mj transfer. FIG. 16 is a diagram showing the microprogram control flow of the IOqeIOM and transfer procedure. FIG. 17 is 10M, →I
Diagram showing case (1) of transfer procedure of OC, transfer, No. 18
The figure shows the write processing microprogram control flow in case (1) of the IOMj+IOq transfer procedure, Figure 19 shows the SRVIN signal 1 time hold circuit in the input/output control device, and Figure 20 shows the IOM, → Transfer procedure for IOq transfer (2)
FIG. 21 is a diagram showing the write processing microprogram control flow in case of 10M, → IOq transfer procedure (2), FIG. 22 is a diagram showing the startup procedure of 10M, → IOC, transfer. Figure 23 is a diagram showing the IOM,→IOq startup procedure microprogram control flow, and Figure 24 is a diagram showing the IOq startup procedure microprogram control flow.
FIG. 25 is a diagram showing the microprogram control flow in the case of IOM,→10q transfer procedure (3), and FIG. 26 is the addressing method in the present invention. FIG. 2 is a diagram showing an address space for explaining. 1: Main memory, 2: Central control unit, 3: Input/output bus,
4: input/output control device, 5: input/output device, 6: storage device.
Claims (1)
するデータ転送を制御する入出力制御装置と、前記主制
御装置と前記入出力制御装置との間のデータ転送を制御
するチャネル機能を内臓する中央制御装置と、中央制御
装置及び主記憶装置間を接続する第1バス(アドレスバ
ス、データバス、制御バス)と、中央制御装置及び入出
力制御装置を接続する第2バス(アドレスバス、データ
バス、制御バス)とを備えるデータ処理装置において、
前記第2バスに前記主記憶装置の記憶素子と同様の記憶
素子にて構成された複数の記憶装置を接続し、前記主記
憶装置中に記憶されたデータ転送を制御するチャネル制
御語中に入出力制御装置と主記憶装置とのデータ転送か
、入出力制御装置と記憶装置とのデータ転送かの識別情
報を設け、前記中央制御装置は前記識別情報を識別して
、前記入出力制御装置と前記記憶装置との間のデータ転
送を中央制御装置を介して1命令で実行することを特徴
とするデータ処理装置。1 Built-in main storage device, an input/output device, an input/output control device that controls data transfer to the input/output device, and a channel function that controls data transfer between the main control device and the input/output control device. a first bus (address bus, data bus, control bus) that connects the central controller and the main memory, and a second bus (address bus, In a data processing device equipped with a data bus, a control bus),
A plurality of storage devices configured with storage elements similar to the storage elements of the main storage device are connected to the second bus, and a channel control word that controls data transfer stored in the main storage device is connected to the second bus. Identification information for data transfer between the output control device and the main storage device or data transfer between the input/output control device and the storage device is provided, and the central control device identifies the identification information and transfers the data to the input/output control device. A data processing device characterized in that data transfer to and from the storage device is executed by one instruction via a central control unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52027386A JPS6042976B2 (en) | 1977-03-11 | 1977-03-11 | data processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP52027386A JPS6042976B2 (en) | 1977-03-11 | 1977-03-11 | data processing equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS53112041A JPS53112041A (en) | 1978-09-30 |
| JPS6042976B2 true JPS6042976B2 (en) | 1985-09-26 |
Family
ID=12219604
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP52027386A Expired JPS6042976B2 (en) | 1977-03-11 | 1977-03-11 | data processing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6042976B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4027491A1 (en) | 2021-01-07 | 2022-07-13 | Toyota Jidosha Kabushiki Kaisha | Rotor for rotating eletric machine |
-
1977
- 1977-03-11 JP JP52027386A patent/JPS6042976B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4027491A1 (en) | 2021-01-07 | 2022-07-13 | Toyota Jidosha Kabushiki Kaisha | Rotor for rotating eletric machine |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS53112041A (en) | 1978-09-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH1083372A (en) | Circuit for moving data between remote memories, and computer including such a circuit | |
| JP2591502B2 (en) | Information processing system and its bus arbitration system | |
| EP0261947A1 (en) | Computer system | |
| JPS6042976B2 (en) | data processing equipment | |
| JPH11232213A (en) | Data transfer system for input/output device | |
| JPS61217858A (en) | Data transmitting device | |
| JPH01125644A (en) | Data transfer equipment | |
| JPS592058B2 (en) | Storage device | |
| JP2522412B2 (en) | Communication method between programmable controller and input / output device | |
| JPH064401A (en) | Memory access circuit | |
| JP3057754B2 (en) | Memory circuit and distributed processing system | |
| JPH03296105A (en) | Information transfer method for programmable controller | |
| JP2589205B2 (en) | Communication control system | |
| JP2980163B2 (en) | Data transfer method | |
| JPH02301851A (en) | System bus accessing system | |
| JPS6383854A (en) | Data transfer circuit | |
| JPS63259746A (en) | Data transfer method between bank memories | |
| JPH02211571A (en) | Information processor | |
| JPS60114927A (en) | Film memory access control system | |
| JPH0370816B2 (en) | ||
| JPH0160864B2 (en) | ||
| JPH0120460B2 (en) | ||
| JPS5854478A (en) | Controlling method of main storage | |
| JPH0424733B2 (en) | ||
| JPH02168342A (en) | Inter-processor shared memory control device |