JPS61854A - Input and output controller - Google Patents

Input and output controller

Info

Publication number
JPS61854A
JPS61854A JP12225484A JP12225484A JPS61854A JP S61854 A JPS61854 A JP S61854A JP 12225484 A JP12225484 A JP 12225484A JP 12225484 A JP12225484 A JP 12225484A JP S61854 A JPS61854 A JP S61854A
Authority
JP
Japan
Prior art keywords
buffer memory
data
register
buffer
registers
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
JP12225484A
Other languages
Japanese (ja)
Other versions
JPH0252298B2 (en
Inventor
Hosaku Nakamura
中村 法作
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP12225484A priority Critical patent/JPS61854A/en
Publication of JPS61854A publication Critical patent/JPS61854A/en
Publication of JPH0252298B2 publication Critical patent/JPH0252298B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To attain the independent actions or coupled actions according to the length of a single record unit of a controller by providing the 1st and 2nd buffer memories, a buffer memory address register and a buffer memory control register. CONSTITUTION:A CPU40 is connected to a ROM42, a RAM41, address buffer registers 21 and 31 and buffer memory control registers 22 and 32 respectively via a bus 50. Then the CPU40 can perform read and write to registers 21 and 31 as well as 22 and 32. The 1st buffer memory 20 is connected to the registers 21 and 22, a write data selector 44 and a read data buffer register 23. While the 2nd buffer memory 30 is connected to the registers 31 and 32, the selector 44 and a read data buffer register 33. A selector 43 supplies registers 23 and 33 and transmits the data of both registers 23 and 33 to a magnetic tape device 5 via a bus 11 as well as to a channel device 1 via a bus 10. The selector 44 selects buses 10 and 11 and sends the data of these buses to memories 20 and 30.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は入出力制御装置、特にバッファメモリ制御方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to an input/output control device, and particularly to a buffer memory control method.

〔従来技術〕[Prior art]

入出力制御装置は一般にその内部にバッファメモリを備
えるが、そのバッファメモリの容量は制御対象機器の1
記録率位長に対応したものでなければならない。このた
めバッファメモリの容量は制御対象機器の5ちで最大の
1記録率位長の亀のであるが、もしそれ以下の容量であ
れば複数個のバッファメモリを必要とする。しかし最大
の1記録率位長に合わせたものであれば、それ以下の単
位長の機器を制御する場合使用しないものが生じて一般
に無駄であるし、また時間的なロスも大きい。また複数
個用いるとき、従来のものは転送時間内に高速度で切替
えて使用する必要があり、切替え回路等の経済的負担と
ともに、技術的にも複雑なものとなっていた。
An input/output control device generally has a buffer memory inside it, but the capacity of the buffer memory is limited to one of the devices to be controlled.
It must correspond to the recording rate position length. Therefore, the capacity of the buffer memory is the maximum length of one recording rate among the five devices to be controlled, but if the capacity is less than that, a plurality of buffer memories will be required. However, if the length is adjusted to the maximum length of one recording rate, there will be parts that are not used when controlling equipment with a unit length smaller than that, which is generally wasteful and also causes a large loss of time. In addition, when using a plurality of devices, the conventional method requires switching at high speed within the transfer time, which is not only an economic burden due to switching circuits, but also technically complex.

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

本発明は上記従来例の問題点に鑑み提案されたものであ
り、制御機器の1記録率位長の大きさに応じて咎々独立
に、又は連結して動作可能とする複数のバッファメモリ
を備えた入出力制御装置の提供を目的とする。
The present invention has been proposed in view of the above-mentioned problems of the conventional example, and provides a plurality of buffer memories that can be operated independently or in combination depending on the length of one recording rate of a control device. The purpose is to provide an input/output control device with

〔発明の構成〕[Structure of the invention]

本発明は、第1のバッファメモリと、第1のバッファメ
モリの記憶アドレスを示す第10ノ(ソファメモリアド
レスレジスタと、第1のバッファメモリを制御する制御
情報を保持する第1の)(ソファメモリ制御レジスメと
、第2のバッファメモリと、第2のバッフアメそりの記
憶アドレスを示す第2のバッファメモリアドレスレジス
タと、第2のバッファメモリを制御する制御情報な保持
する第2のバッファメモリ制御レジスタとを有し、前記
第1のバッファメモリ制御レジスタと前記第1のバッフ
ァメモリアドレスレジスター条件により、前記第1のバ
ッファメモリ制御レジスタの情報な前記M2のバッファ
メモリ制御レジスタに転送し、かつ前記第1のバッファ
メモリ制御レジスタに特定情報を書き込むととにより前
記第1のバッファメモリと前記第2のバッファメモリを
連結して動作するか、又はそれぞれ独立に動作可能とす
ることを特徴とする。
The present invention includes a first buffer memory, a tenth register (sofa memory address register) indicating a storage address of the first buffer memory, and a first register (sofa memory address register) that holds control information for controlling the first buffer memory. a memory control register, a second buffer memory, a second buffer memory address register indicating a storage address of the second buffer memory, and a second buffer memory control holding control information for controlling the second buffer memory. a register, and according to the first buffer memory control register and the first buffer memory address register conditions, the information in the first buffer memory control register is transferred to the buffer memory control register of M2, and the The first buffer memory and the second buffer memory can be operated in a connected manner or can be operated independently by writing specific information to the first buffer memory control register.

〔実施例〕〔Example〕

以下図面な参照して本発明の詳細な説明する。 The present invention will be described in detail below with reference to the drawings.

第1図は本発明の実施例に係る人出力制御装置を含むシ
ステムの概略構成図である。チャネル装置lは、バス線
10を介し入出力制御装置4,6に接続されている。入
出力制御装f4は磁気テープ制御装置であり、パス線1
1を介し磁気テープ装[5(以下MTUと略す)を制御
する。また入出力制御装置6はラインプリンタ制御装置
であり、ラインプリンタ7な制御する。中央処理装置2
は主記憶装置3に記憶されている命令を取り出し解読し
実行する。すなわち命令が入出力命令ならナヤネル装置
11k起動し、起動されたチャネル装置lは主記憶装置
3内のコマンドを取り出し、特定の入出力制御装置に送
出する。その後チャネル装置1は核入出力制御装置との
間でデータ転送を開始する。
FIG. 1 is a schematic configuration diagram of a system including a human output control device according to an embodiment of the present invention. The channel device l is connected to the input/output control devices 4 and 6 via a bus line 10. The input/output control device f4 is a magnetic tape control device, and the path line 1
1, a magnetic tape unit [5 (hereinafter abbreviated as MTU) is controlled. The input/output control device 6 is a line printer control device and controls the line printer 7. Central processing unit 2
extracts, decodes, and executes instructions stored in the main memory 3. That is, if the command is an input/output command, the Nayanel device 11k is activated, and the activated channel device 1 retrieves the command from the main storage device 3 and sends it to a specific input/output control device. Thereafter, the channel device 1 starts data transfer with the nuclear input/output control device.

以下入出力制御装置4を例に説明する。第2図は入出力
制御装置4のデータバス関係のブロック図である。マイ
クロプロセッサ−40はCPUパス50を介し、リード
オンリーメモリ42.リードライトメモリ41 、バッ
ファメモリアドレスレジスター21,31.バッファメ
モリ制御レジスタ22.32に接続している。マイクロ
プロセラ?−4oはバッファメモリアドレスレジスター
21.31およびバッファメモリ制御レジスタ22゜3
2に対し、読み出すことも、書き込むことも可能である
。第1のバッファメモリ20は、バッファメモリアドレ
スレジスター21.バッファメモリ制御レジスタ22.
ライトデータセレクター44およびリードデータバラ2
アレジスタ23と接mされている。第2のバッファメモ
リ30は、バッファメモリアドレスレジスター31.バ
ッファメモリ制御レジスタ32.ライトデータセレクタ
ー44およびリードデータバッファレジスタ33と接続
されている。リードデータセレクタ43はリードデータ
バッファレジスタ23.31を入カシ、そのデータをバ
ス線11を介し、MTU5へ、またパス#!10を介し
チャネル装置1に送出する。
The input/output control device 4 will be explained below as an example. FIG. 2 is a block diagram of the data bus relationship of the input/output control device 4. Microprocessor 40 is connected via CPU path 50 to read-only memory 42 . Read/write memory 41, buffer memory address registers 21, 31 . Connected to buffer memory control register 22.32. MicroProcera? -4o is buffer memory address register 21.31 and buffer memory control register 22゜3
2, it is possible to read and write. The first buffer memory 20 has a buffer memory address register 21 . Buffer memory control register 22.
Write data selector 44 and read data rose 2
It is connected to the register 23. The second buffer memory 30 has a buffer memory address register 31 . Buffer memory control register 32. It is connected to the write data selector 44 and the read data buffer register 33. The read data selector 43 inputs the read data buffer registers 23 and 31, and sends the data to the MTU 5 via the bus line 11 and passes #! 10 to the channel device 1.

ライトデータセレクタ44はバス線10またはバス線1
1を選択し、パス上のデータをバッフアメそり20.3
0に送出する。第3図は第2図の入出力制御装置のさら
に詳しいブロック図である。
The write data selector 44 is set to bus line 10 or bus line 1.
Select 1 and buffer the data on the path 20.3
Send to 0. FIG. 3 is a more detailed block diagram of the input/output control device shown in FIG. 2.

まず第1のバッファメモリ20を説明する。チャネルか
らのバッファメモリリード要求保持フリップフロップ3
00は、信号線304を介しAND回路104.204
と接続される。チャネルからのバッファメモリライト要
求保持フリップフロップ301は、信号1i1305を
介しライトデータセレクタ44゜AND回路105,2
05と接続されている。MTUからのバッファメモリリ
ード要求保持フリップフロップ302は、信号線306
を介しAND(2)路106.206と接続されている
。MTUからのバッファメモリライト要求保持クリップ
フロッグ303は、信号線307を介しライトデータセ
レクタ44゜AND回路107,207と接続される。
First, the first buffer memory 20 will be explained. Buffer memory read request holding flip-flop 3 from channel
00 is connected to the AND circuit 104.204 via the signal line 304.
connected to. The buffer memory write request holding flip-flop 301 from the channel connects the write data selector 44° to the AND circuit 105, 2 via the signal 1i1305.
It is connected to 05. The buffer memory read request holding flip-flop 302 from the MTU is connected to the signal line 306.
It is connected to AND(2) path 106.206 via. A buffer memory write request holding clip frog 303 from the MTU is connected to a write data selector 44° AND circuit 107, 207 via a signal line 307.

セレクタ109はCPUパス50からのデータまたは固
定データのどちらかを選択し、バッツアメモリ制御レジ
スタ22にデータをセットする。制御レジスタ22はフ
リップフロップ(以下FFと略す)320゜111.1
12,113,114 からなる。F F 320はバ
ッファメモリ20,30の連結制御信号を出力するもの
であり、信号線309な介しAND回路321に接続さ
れる。FFIIIはチャネル装置1のリード制御信号を
出力するものであり、信号線152を介しAND回路1
04.セレクタ209に接続される。FF112はチャ
ネル装置のライト制御信号を出力するものであり、信号
線153を介しAND回路105.セレクタ209に接
続される。
The selector 109 selects either data from the CPU path 50 or fixed data, and sets the data in the Batzer memory control register 22. The control register 22 is a flip-flop (hereinafter abbreviated as FF) 320°111.1
It consists of 12, 113, 114. F F 320 outputs a connection control signal for the buffer memories 20 and 30, and is connected to the AND circuit 321 via the signal line 309. FFIII outputs a read control signal for the channel device 1, and is connected to the AND circuit 1 via the signal line 152.
04. Connected to selector 209. The FF 112 outputs a write control signal for the channel device, and is connected to the AND circuit 105 . Connected to selector 209.

FF 113はMTU5からのリード制御信号を出力す
るものであり、信号線154ik介しAND回路106
、セレクタ209に接続される。FF114はMTU5
からのライト制御信号を出力するものであり、信号線1
55を介しAND回路107.セレクタ209に接続さ
れる。AND回路104は信号線156を介しOR回路
102に接続される。AND回%105は信号m158
を介LOFt回N103 KIl、続される。AND回
路106は信号線157を介しORti1Mio2Kt
i続される。AND回路107は信号線159を介しO
R回路103に接続される。
The FF 113 outputs a read control signal from the MTU 5, and is connected to the AND circuit 106 via a signal line 154ik.
, are connected to the selector 209. FF114 is MTU5
This outputs the write control signal from the signal line 1.
AND circuit 107 . Connected to selector 209. AND circuit 104 is connected to OR circuit 102 via signal line 156. AND times %105 is signal m158
Continued through LOFt times N103 KIl. The AND circuit 106 connects ORti1Mio2Kt via the signal line 157.
i will be continued. AND circuit 107 connects O via signal line 159.
Connected to R circuit 103.

OR回路102は信号線160を介しバッファメモリ制
御回路100.AND回路101.リードデータセレク
タ43に接続される。OR回路103は信号線161を
介し、バッファメモリ制御回路100に接続される。バ
ツファメモリアドレスレンスタ21はバッファメモリ2
0内に記憶されているデータのアドレスを示す歩進レジ
スターであり、CPtJパス50によりデータ設定可能
である。また信号線150をアドレス情報をバッファメ
モリ制御回路100に送出する。また歩進の結果キャリ
ーが発生すると、信号線310を介しAND回路321
に信号を送出する。バッファメモリ制御回路100はバ
ッファメモリ20の制御を行なう。信号線151を介し
アドレス情報を、また信号111j162を介しライト
指示信号をバッファメモリ20に送出する。またリード
動作の時はり一ドデータのラッチタイミング信号を、信
号線163を介しAND回路101に送出する。更に第
3図には示していないがフリップフロップ300,30
1,302,303  のリセット信号など各種の制御
信号も作られ、必要に応じ分配されている。バッファメ
モリ20はチャネル装置1からMTU5にデータを転送
したり、MTU5からのデータをチャネル装置1に転送
する時の一時的なデータ記憶部である。バッファメモリ
20から読み出されたデータは、信号i 164な介し
リードデータバッファレジスタ23で保持される。AN
D回路101は信号線165を介しリードデータバッフ
ァレジスタ23に接続される。
The OR circuit 102 is connected to the buffer memory control circuit 100 . AND circuit 101. It is connected to the read data selector 43. OR circuit 103 is connected to buffer memory control circuit 100 via signal line 161. The buffer memory address register 21 is the buffer memory 2
This is an increment register indicating the address of data stored in 0, and data can be set by the CPtJ pass 50. Further, address information is sent to the buffer memory control circuit 100 through a signal line 150. Furthermore, when a carry occurs as a result of stepping, the AND circuit 321
send a signal to. Buffer memory control circuit 100 controls buffer memory 20. Address information is sent to the buffer memory 20 via the signal line 151, and a write instruction signal is sent via the signal 111j162. Also, during a read operation, a latch timing signal for single-read data is sent to the AND circuit 101 via the signal line 163. Furthermore, although not shown in FIG. 3, flip-flops 300, 30
Various control signals such as 1, 302, and 303 reset signals are also generated and distributed as necessary. The buffer memory 20 is a temporary data storage unit when data is transferred from the channel device 1 to the MTU 5 or when data from the MTU 5 is transferred to the channel device 1. Data read from buffer memory 20 is held in read data buffer register 23 via signal i 164. AN
D circuit 101 is connected to read data buffer register 23 via signal line 165.

信号@165は信号線164上のデータをバッファレジ
スタ23にラッチするものである。リードデータバッフ
ァレジスタ23は、信号線166を介しリードデータセ
レクタ43に接続される。リードデータセレクタ43は
信号線160または信号線260により、信号線166
上のデータか信号線266上のデータかの選択を行なう
。選択されたデータはバス線10を介しチャネル装置1
に送られるか、バス線11を介しMTU5に送られる。
Signal @165 is for latching data on signal line 164 into buffer register 23. Read data buffer register 23 is connected to read data selector 43 via signal line 166. The read data selector 43 is connected to the signal line 166 by the signal line 160 or the signal line 260.
The data on the signal line 266 or the data on the signal line 266 is selected. The selected data is transferred to the channel device 1 via the bus line 10.
or to the MTU 5 via the bus line 11.

ライトデータセレクタ44は信号線305 および信号
線307により、バス線10上のデータかバス線11上
のデータを選択する。選択されたデータは信号線311
な介しバッフアメそり20.30に送られる。AND回
路321は信号線308な介しバッフアメそり制御レジ
スタ22 、32 、セレクタ109.209  に接
続される。AND回路321 が成立すると、バッファ
メモリ制御レジスタ22内のデータはバッツァメモリ制
御レジスタ32にセットされ、その後バッファメモリ制
御レジスタ22には固定データ(実施例ではセロ)がセ
ットされる。
The write data selector 44 selects data on the bus line 10 or data on the bus line 11 using the signal line 305 and the signal line 307. The selected data is on the signal line 311
Sent to Nasuke Buff Amezori 20.30. The AND circuit 321 is connected to the buffer memory control registers 22, 32 and the selectors 109 and 209 through the signal line 308. When the AND circuit 321 is established, the data in the buffer memory control register 22 is set in the Batza memory control register 32, and then fixed data (cello in the embodiment) is set in the buffer memory control register 22.

第2のバッファメモリの構成は、FF329 とAND
回路321を除き同じであり、前記第1のバッファメモ
リの説明中の1×を2×に、あるいはIXXを2××に
読みかえることにより、まったく同様な説明が可能であ
る。
The configuration of the second buffer memory is FF329 and AND
They are the same except for the circuit 321, and a completely similar explanation can be made by replacing 1× with 2× or IXX with 2×× in the explanation of the first buffer memory.

次に本実施例に係る入出力制御装置のチャネル装置1か
らMTU5にライトする場合の動作について説明する。
Next, the operation when writing from the channel device 1 to the MTU 5 of the input/output control device according to this embodiment will be explained.

一般的なデータ長の場合、一般的なデータ長のライトで
あるというコマンドを入出力制御装置4が受信する。す
るとM2図に示すマイクロプロセッサ−40は、CPU
バス5oを介し1s3図中のFF112をセットし、F
F320゜111.113,114.211〜214 
をリセットする。
In the case of a general data length, the input/output control device 4 receives a command for writing a general data length. Then, the microprocessor-40 shown in figure M2 is the CPU
Set FF112 in the 1s3 diagram via bus 5o, and
F320゜111.113, 114.211~214
Reset.

またバッファメモリアドレスレジスタ21と31もリセ
ットする。その後チャネルからのバッファメモリライト
要求FF301がセットされると信号線305iCより
バス線lo上のデータを選択してAND回路105を成
立させ、バッファメモリ制御回路100を起動する。バ
ッファメモリ制御回路100はバッファメモリアドレス
レジスタ21に示された番地に従い信号線311上のデ
ータをバッファメモリ20内に格納する。その後バッフ
ァメモリアドレスレジスタ21を歩進する。こうして1
記録長のデータがバッファメモリ2oに入ル。するとプ
ロセッサー40はFF113とFF212  をセット
し、FF320.111.1!2,114,211゜2
13.214  をリセットする。またバッファメモリ
アドレスレジスタ21.31をリセットすると同時にM
TU5に起動をかける。チャネルからのバッファメモリ
ライト要求FF301がセットされても今度はバッファ
メモリ2oにはデータを格納せず、前記と同様にしてバ
ッファメモリ3oにチャネルからのデータを格納する。
The buffer memory address registers 21 and 31 are also reset. After that, when the buffer memory write request FF 301 from the channel is set, the data on the bus line lo is selected from the signal line 305iC, the AND circuit 105 is established, and the buffer memory control circuit 100 is activated. The buffer memory control circuit 100 stores the data on the signal line 311 in the buffer memory 20 according to the address indicated in the buffer memory address register 21. Thereafter, the buffer memory address register 21 is incremented. Thus 1
The record length data is input into the buffer memory 2o. Then, the processor 40 sets FF113 and FF212, and sets FF320.111.1!2,114,211°2.
13.214 Reset. Also, at the same time as resetting the buffer memory address registers 21 and 31, M
Start up TU5. Even if the buffer memory write request FF 301 from the channel is set, data is not stored in the buffer memory 2o this time, but data from the channel is stored in the buffer memory 3o in the same manner as described above.

またMTU5からのリード要求FF302がセットされ
るとAND回路106が成立し、従ってOR@路102
 を成立させバッファメモリ制御回路100を起動する
Furthermore, when the read request FF 302 from the MTU 5 is set, the AND circuit 106 is established, and therefore the OR@ path 102
is established and the buffer memory control circuit 100 is activated.

バッファメモリ制御回路100は、バッファメモリアド
レスレジスタ21で示されたアドレスに従いバッファメ
モリ2oからデータを読み出す。そしてその読み出し時
間内に信号線163に信号を送出してAND回路101
を成立させ、バッファメモリ20からの読み出しデータ
をリードデータバッファレジスタ23にセットする。そ
の後バッファメモリアドレスレジスタ21を歩進する。
The buffer memory control circuit 100 reads data from the buffer memory 2o according to the address indicated by the buffer memory address register 21. Then, within the read time, a signal is sent to the signal line 163 and the AND circuit 101
is established, and the read data from the buffer memory 20 is set in the read data buffer register 23. Thereafter, the buffer memory address register 21 is incremented.

セレクタ43は、信号線160により信号#166上の
データをバス線11を介しMTU5に送出し、テープ上
に記録する。これらバッファメモリ3oにデータを格納
する動作と、バッファメモリ2oからデータを読み出す
動作は並列に行なわれてデータ転送が高速に処理される
。バッファメモ1J20が空になりバッファメモリ30
に1記録長のデータが格納されると、今度はバッファメ
モリ30からデータを読み出してMTU5に送出し、バ
ッファメモリ20にチャネル装置からのデータを格納す
る。
The selector 43 sends the data on the signal #166 via the bus line 11 to the MTU 5 using the signal line 160, and records it on the tape. The operation of storing data in the buffer memory 3o and the operation of reading data from the buffer memory 2o are performed in parallel, so that data transfer is processed at high speed. Buffer memory 1J20 becomes empty and buffer memory 30
When one record length of data is stored in , the data is read from the buffer memory 30 and sent to the MTU 5, and the data from the channel device is stored in the buffer memory 20.

最大記録長の書きこみの場合、最大記録長のライトであ
るというコマンドを入出力制御装置5が受信する。マイ
クロプロセッサ−40はCPUバス50を介し第3図中
のFF320 とFF112を−にットし、FF111
.113,114,211〜214をリセットする。ま
たバッファメモリアドレスレジスタ21.31もリセッ
トする。その後チャネルからのバッファメモリライト要
求FF301がセットされると、一般的なデータ長のラ
イト動作と同様にしてチャネル装置からのデータをバッ
ファメモリ20に格納する。しかし1記録長をバッファ
メモリ20に格納し終る以前にバッファメモリレジスタ
21からキャリーが発生する。このキャリーが発生する
とANDli路321が成立し、信号線308によりバ
ラ2アメモリ制御レジスタ22内の情報をバッファメモ
リ制御レジスタ32にセットする。その後バッファメモ
リ制御レジスタ22に、固定データゼロをセットする。
In the case of writing with the maximum recording length, the input/output control device 5 receives a command indicating that the writing is with the maximum recording length. The microprocessor 40 sets FF320 and FF112 in FIG.
.. 113, 114, 211-214 are reset. It also resets the buffer memory address registers 21.31. After that, when the buffer memory write request FF 301 from the channel is set, data from the channel device is stored in the buffer memory 20 in the same manner as a general data length write operation. However, before one recording length is completely stored in the buffer memory 20, a carry occurs from the buffer memory register 21. When this carry occurs, the ANDli path 321 is established, and the information in the rose 2 memory control register 22 is set in the buffer memory control register 32 via the signal line 308. Thereafter, fixed data zero is set in the buffer memory control register 22.

すなわち制御レジスタ22をクリヤーする。その後チャ
ネルからのバッファメモリライト要求FF301がセッ
トされると、バッファメモリ20に連続したデータをバ
ッファメモリ30に格納する。1記録長のデータの格納
が終了するとFF320とFF113をセットし、FF
111,112,114,211〜214をリセットス
る。バッファメモリアドレスレジスタ21゜31をリセ
ットし、MT05に起動をかける。
That is, the control register 22 is cleared. After that, when the buffer memory write request FF 301 from the channel is set, continuous data in the buffer memory 20 is stored in the buffer memory 30. When the storage of data for one record length is completed, set FF320 and FF113, and
111, 112, 114, 211-214. The buffer memory address register 21.31 is reset and MT05 is activated.

MTU5からのリード要求FF302がセットされると
バッファメモリ2oからデータが読み出され、MTU5
に送られる。バッファメモリアドレスレジスタ21から
キャリーが出るとAND回路321が成立し、バッファ
メモリ制御レジスタ22内のデータがバッファメモリ制
御レジスタ32にセットされ、バッファメモリ制御レジ
スタ22はクリヤーされる。以後バッフアメ篭り30内
のデータがMTU5に送られる。
When the read request FF302 from the MTU5 is set, data is read from the buffer memory 2o, and the MTU5
sent to. When a carry is output from the buffer memory address register 21, the AND circuit 321 is established, the data in the buffer memory control register 22 is set in the buffer memory control register 32, and the buffer memory control register 22 is cleared. Thereafter, the data in the buffer candy 30 is sent to the MTU 5.

以上チャネル装置1からMTU5にライトする場合の動
作を述べたが、MTυ5からリードしチャネル装置jt
1にデータな転送する動作についても同様に動作できる
ことは自明である。また第1のバッファメモリ20から
第2のバッファメモリ30に移行する時バッファメモリ
アト)/スレラスタ21からのキャリーを使用したが、
別の条件でも実現できることも自明である。またバッフ
ァメモリ制御レジスタ22のデータをバッファメモリ制
御レジスタ32にセット後、バッファメモリ制御レジス
タ22に特定パターン、例えば移行フラグビットのセッ
トなどが行えることも自明である。また実施例ではバッ
ファメモリ2りの場合について説明したが、最大記録長
が一般的な記録長の3倍。
The operation when writing from channel device 1 to MTU5 has been described above, but reading from MTυ5 and writing to channel device jt
It is obvious that the operation of transferring data to 1 can be performed in the same manner. Also, when transferring from the first buffer memory 20 to the second buffer memory 30, carry from the buffer memory at)/threster 21 is used, but
It is obvious that this can be realized under other conditions as well. It is also obvious that after the data in the buffer memory control register 22 is set in the buffer memory control register 32, a specific pattern, such as a transition flag bit, can be set in the buffer memory control register 22. Furthermore, in the embodiment, the case where there are two buffer memories has been described, but the maximum recording length is three times the general recording length.

4倍の長さなら第1のバッファメモリと同等なものを2
ヶ、3ヶ設けて縦続接続な行ない、第2のバッファメモ
リと同等なものを最後に接続することにより実現できる
ことも自明である。
If it is 4 times as long as the first buffer memory, use 2
It is also obvious that this can be realized by providing three buffer memories, cascading them, and connecting one equivalent to the second buffer memory last.

本発明は以上説明したように、使用頻度の少ない最大記
録長の場合のみ第1のバッファメモリと第2のバッファ
メモリを連結し、使用頻度の多い記録長の場合は第1の
バッファメモリと第2のバッファメモリをおのおの独立
に動作出来るので最大記録長を持つ大きなバッファメモ
リを持つ必要がなくなり経済的である。また2個の容量
の少ないバッファメモリを転送単位時間内に高速に切り
替えるための技術的に複雑な制御も不用となり、さらに
バッファメモリな切り替えるための回路も不要となり、
入出力制御装置の設計を容易にかつ経済的に実施できる
効果がある。
As explained above, the present invention connects the first buffer memory and the second buffer memory only when the maximum recording length is rarely used, and connects the first buffer memory and the second buffer memory when the recording length is frequently used. Since the two buffer memories can each operate independently, there is no need to have a large buffer memory with a maximum recording length, which is economical. In addition, technically complex control to switch between two low-capacity buffer memories at high speed within a transfer unit time is no longer required, and a circuit for switching between buffer memories is also no longer required.
This has the effect of making it possible to design an input/output control device easily and economically.

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

gt図は本発明の実施例に係る入出力制御装置を含むシ
ステムの概略構成図、第2図は本発明の実施例に係る入
出力制御装置のデータバス関係のブロック図、第3図は
本発明の実施例に係る入出力制御装置の詳細なブロック
図である。 1・・・チャネル装置 2・・・中央処理装置 3・・・主記憶装置 4.6・・・入出力制御装置 5・・・磁気テープ装置 7・・・ラインプリンタ 20.30・・・バッファメモリ 21.31・・・バッファメモリアドレスレジスタ22
.32・・・バッファメモリ制御レジスタ23.24・
・・バッファレジスタ 43、IO2,209・・・セレクタ 44・・・ライトデータセレクタ 111〜114,211〜214.300−303・・
・フリップフロップ。
gt diagram is a schematic configuration diagram of a system including an input/output control device according to an embodiment of the present invention, FIG. 2 is a block diagram related to a data bus of the input/output control device according to an embodiment of the present invention, and FIG. FIG. 2 is a detailed block diagram of an input/output control device according to an embodiment of the invention. 1...Channel device 2...Central processing unit 3...Main storage device 4.6...I/O control device 5...Magnetic tape device 7...Line printer 20.30...Buffer Memory 21.31...Buffer memory address register 22
.. 32...Buffer memory control register 23.24.
...Buffer register 43, IO2, 209...Selector 44...Write data selector 111-114,211-214.300-303...
·flip flop.

Claims (1)

【特許請求の範囲】 第1のバッファメモリと、第1のバッファメモリの記憶
アドレスを示す第1のバッファメモリアドレスレジスタ
と、第1のバッファメモリを制御する制御情報を保持す
る第1のバッファメモリ制御レジスタと、第2のバッフ
ァメモリと、第2のバッファメモリの記憶アドレスを示
す第2のバッファメモリアドレスレジスタと、第2のバ
ッファメモリを制御する制御情報を保持する第2のバッ
ファメモリ制御レジスタとを有し、 前記第1のバッファメモリ制御レジスタと前記第1のバ
ッファメモリアドレスレジスタの条件により、前記第1
のバッファメモリ制御レジスタの情報を前記第2のバッ
ファメモリ制御レジスタに転送し、かつ前記第1のバッ
ファメモリ制御レジスタに特定情報を書き込むととによ
り前記第1のバッファメモリと前記第2のバッファメモ
リを連結して動作するか、又はそれぞれ独立に動作可能
とする入出力制御装置。
[Claims] A first buffer memory, a first buffer memory address register indicating a storage address of the first buffer memory, and a first buffer memory holding control information for controlling the first buffer memory. a control register, a second buffer memory, a second buffer memory address register indicating a storage address of the second buffer memory, and a second buffer memory control register holding control information for controlling the second buffer memory. and according to the conditions of the first buffer memory control register and the first buffer memory address register, the first
transfer the information in the buffer memory control register to the second buffer memory control register, and write specific information to the first buffer memory control register, thereby controlling the first buffer memory and the second buffer memory. An input/output control device that can operate in conjunction with each other or independently.
JP12225484A 1984-06-14 1984-06-14 Input and output controller Granted JPS61854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12225484A JPS61854A (en) 1984-06-14 1984-06-14 Input and output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12225484A JPS61854A (en) 1984-06-14 1984-06-14 Input and output controller

Publications (2)

Publication Number Publication Date
JPS61854A true JPS61854A (en) 1986-01-06
JPH0252298B2 JPH0252298B2 (en) 1990-11-13

Family

ID=14831397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12225484A Granted JPS61854A (en) 1984-06-14 1984-06-14 Input and output controller

Country Status (1)

Country Link
JP (1) JPS61854A (en)

Also Published As

Publication number Publication date
JPH0252298B2 (en) 1990-11-13

Similar Documents

Publication Publication Date Title
WO1995006284B1 (en) Ata interface architecture employing state machines
CA1178378A (en) High-speed external memory system
JPH0264839A (en) Channel device
JPS61854A (en) Input and output controller
JP2800280B2 (en) Printer server
JPH0642227B2 (en) Data transfer device
JPS6162961A (en) Input/ouput device
JPS6349809B2 (en)
JPS63168720A (en) Memory buffer device
JP2826780B2 (en) Data transfer method
JP2821176B2 (en) Information processing device
JP2552025B2 (en) Data transfer method
JPS63213053A (en) Data transfer system
JP2551184B2 (en) Disk controller
JPS5816824B2 (en) Store and forward method
JPS59117653A (en) External storage controller
JPH05204830A (en) Input/output controller
JPH04318650A (en) I/o processing unit
JPS58133068A (en) Communication controller
JPH0621984B2 (en) Micro program load method
JPH0122655B2 (en)
JPS61262870A (en) Bus control method
JPS61187029A (en) Magnetic tape subsystem
JPS6168641A (en) information processing equipment
JPH0219926A (en) Microprogram storing system