JPS6028022B2 - input/output processing unit - Google Patents

input/output processing unit

Info

Publication number
JPS6028022B2
JPS6028022B2 JP6945381A JP6945381A JPS6028022B2 JP S6028022 B2 JPS6028022 B2 JP S6028022B2 JP 6945381 A JP6945381 A JP 6945381A JP 6945381 A JP6945381 A JP 6945381A JP S6028022 B2 JPS6028022 B2 JP S6028022B2
Authority
JP
Japan
Prior art keywords
input
access request
channel
access
output
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
Application number
JP6945381A
Other languages
Japanese (ja)
Other versions
JPS57185527A (en
Inventor
裕也 奥田
孝 森川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP6945381A priority Critical patent/JPS6028022B2/en
Publication of JPS57185527A publication Critical patent/JPS57185527A/en
Publication of JPS6028022B2 publication Critical patent/JPS6028022B2/en
Expired 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/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus

Landscapes

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

Description

【発明の詳細な説明】 本発明は入出力チャンネルを介して入出力装置と主メモ
リとの間のデータ転送を制御する入出力処理装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output processing device that controls data transfer between an input/output device and a main memory via an input/output channel.

集中制御方式の入出力チャンネルにおいては、データバ
ッファ、コントロール情報を貯蔵するレジスタはRAM
等でハードウェア的に集中して構成しており、これをア
クセスするのに、パイプライン方式が探られることが多
い。
In a centralized control input/output channel, the data buffer and registers for storing control information are RAM.
etc., and are configured in a concentrated manner in terms of hardware, and a pipeline method is often sought to access this.

かっこのデータバッファ等は、チャンネル(入出力イン
ターフェース制御部)側と、メモリデータ転送制御部側
の双方からアクセスされるため、一方の制御部からのア
クセスが発生した時は、他方からのアクセスを一定期間
禁止する必要がある。従来はメモリデータ転送制御部か
らのアクセス要求が生じた場合、チャンネル側からのア
クセス要求の受付けを全面的に禁止し、パイプラインの
流れを一端止める方式となっている。これでは、アクセ
スの処理サイクルに空時間が生じ、見方を変えれば、チ
ャンネルからのアクセス要求待ち時間が増加して、処理
装置の処理能力を低下させる要因となっている。本発明
の目的は前記データバッファ等のアクセスのパイプライ
ン方式の流れを止めることなく、アクセスサイクルの空
時間を可能な限り少なくすることによって、装置全体の
処理能力を高める入出力処理装置を提供することにある
The data buffers etc. in parentheses are accessed from both the channel (input/output interface control unit) side and the memory data transfer control unit side, so when access from one control unit occurs, access from the other side is disabled. It needs to be banned for a certain period of time. Conventionally, when an access request is issued from a memory data transfer control unit, acceptance of the access request from the channel side is completely prohibited, and the flow of the pipeline is temporarily stopped. This creates idle time in the access processing cycle, which increases the waiting time for access requests from the channel, which is a factor that reduces the processing capacity of the processing device. An object of the present invention is to provide an input/output processing device that increases the processing capacity of the entire device by reducing the idle time of access cycles as much as possible without stopping the flow of pipeline access to the data buffer, etc. There is a particular thing.

本発明は、前記データバッファ、制御レジス夕等複数の
チャンネルに対応した情報を貯えるレジスタメモリをパ
イプライン方式でアクセスし、かっこのレジスタをアク
セスする一方の制御部(例えばメモリとのデータ転送を
制御する回路)からのアクセス要求が生じた時に、他の
複数のチャンネルからのアクセス要求のうち、該当する
(前記一方の制御部がアクセスしようとしている)チャ
ンネルのアクセス要求のみを一定期間禁止し、他のチャ
ンネルからのアクセス要求は受付ることを特徴とする。
The present invention accesses the register memory that stores information corresponding to a plurality of channels, such as the data buffer and the control register, in a pipeline manner, and accesses the register in parentheses (for example, controls data transfer with the memory). When an access request occurs from a circuit that controls the control unit, out of the access requests from multiple other channels, only the access request for the corresponding channel (which one of the control units is trying to access) is prohibited for a certain period of time, and the other It is characterized by accepting access requests from channels.

第1図は、入出力処理装置のうち本発明に関連する部分
を示すブロック図である。1は本入出力処理装置と主メ
モリとの間のデータ転送を制御するメモリデータ転送制
御部である。
FIG. 1 is a block diagram showing a portion of the input/output processing device related to the present invention. Reference numeral 1 denotes a memory data transfer control unit that controls data transfer between the input/output processing device and the main memory.

2〜5は入出力インターフェースを介して入出力装置と
のデータ転送を制御する入出力チャンネルである。
2 to 5 are input/output channels that control data transfer with input/output devices via input/output interfaces.

これ等入出力チャンネルからは、制御情報レジスタ15
に対してアクセス要求が、アクセス要求信号101〜1
04を‘11”にすることによって送出される。アクセ
ス要求信号101〜104はアクセス許可ゲート10〜
13を介してチャンネルアクセス選択回路14へ与えら
れ、制御情報レジスタ15をアクセスする。制御情報レ
ジスタ15には、各チャンネル対応に、データ転送の制
御に必要な情報が格納されている。その中に例えば図示
されないデータバッファ内の有効データの数が含まれる
。チャンネルは、データバッファと入出力装置との間で
データの転送を行う毎に、制御情報レジスタ15をアク
セスして、対応した情報も読出し、前記有効データ数を
必要な数だけ(データ転送した数だけ)増減して、再び
書込む必要がある。この制御レジスタ15は一般にRA
M等で構成されており、アクセス速度を上げる為にパイ
プライン制御によってアクセスされる。第2図はこのパ
イプライン方式の時間関係を示したもので、この実施例
では、読出しサイクル(READ)、変更サイクル(M
○DびYサイクル、MODサイクル)、書込みサイクル
(WRITEサイクル)の3種のサイクルに別けられ、
これ等のサイクルがパイプライン方式で流れて、アクセ
ス要求は1サイクル毎に処理される。第2図中、チャン
ネルAからのアクセス要求の処理が始まると、READ
、Aサイクルで、第1図の情報レジスタ15からチャン
ネルAに対応する情報が謙出され、議出しレジスター6
に一迫セットされる。次のMOD、Aのサイクルで読出
しレジスタ16の内容は修飾回路17によって必要に応
じて変更される。更に次のWRITE、Aのサイクルで
変更された情報は再び情報レジスタ15の対応するフィ
ール日こ格納される。後続の他のチャンネルからのアク
セス要求も1サイクル毎に処理されてゆき、1つのアク
セスは3サイクルで処理れるが、各々のサイクルは切れ
目なく処理されるため、全体としては1サイクルに1つ
のアクセス要求の処理が可能である。さて、第1図のメ
モリデータ転送制御部1も情報レジスタ15をアクセス
する必要がある。例えば、主メモリとデータバッファと
のデータ転送が終了した時には、前記有効データ数を増
減する必要がある。このアクセス要求は、メモリ制御部
アクセス信号105によって指示される。このメモリデ
ータ転送制御部1からのアクセス要求が生じた場合は、
チャンネルからのアクセス要求の処理を一坦中断する必
要がある。理由の1つは、情報レジスター5のアクセス
は1サイクルに1個しか処理できないから、当然少くと
も1サイクルは全チャンネルのアクセス要求の処理を中
断して、パイプラインの流れの中に、メモリデータ転送
制御部1のアクセス要求の処理を1サイクル挿入してや
る必要がある。他の理由は情報レジスタの内容の変化の
時間的順序性を保証する必要があることである。第2図
において、メモリデータ転送制御部1からのアクセス要
求がサイクル番号4から開始されたREADDMODD
、WRITE ○の各サイクルで処理されているとする
。このアクセス要求では、チャンネルDに対応するフィ
ールドの内容が読み出され変更されている。この場合、
例えばサイクル番号2で入出力チャンネル5からのチャ
ンネルDのアクセス要求の処理を始めることは出来ない
。何故ならば仮にサイクル番号2で入出力チヤンネル5
からのチャンネルDのREADサイクルを実施すると、
サイクル番号4でWRITEサイクルを実施することに
なり、メモリデータ転送制御部1からのアクセス要求の
READサイクルと重なることになる。これは、書込中
の情報を読み出すことになり、情報の順序性が減れるこ
とになる。またサイクル番号6でも、チャンネルDの入
出力チャンネル5からのアクセス要求を開始してはなら
ない。この場合、チャンネルDによる情報の論出しとメ
モリデータ転送制御部1からのアクセス要求による同フ
ィールドへの書込みが重なることになる。即ち、サイク
ル番号2から6までの期間は、チャンネルDからのアク
セス要求は処理を禁止する必要があり、逆に他のチャン
ネルの処理は行うべきである。第2図の109で示す波
形はサイクル番号2から6までの期間、チャンネルDか
らのアクセス要求を禁止していることがわかる。第1図
にもどって、6〜9はチャンネル別アクセス要求許可フ
リップフロツプで、これ等フリップフロップは、メモリ
データ転送制御部1によってセットリセットされる。
From these input/output channels, control information register 15
When an access request is made to the access request signal 101-1
04 to '11'.Access request signals 101 to 104 are sent to access permission gates 10 to 104.
13 to the channel access selection circuit 14 and accesses the control information register 15. The control information register 15 stores information necessary for controlling data transfer for each channel. This includes, for example, the number of valid data in a data buffer (not shown). Every time data is transferred between the data buffer and the input/output device, the channel accesses the control information register 15, reads the corresponding information, and sets the number of valid data to the required number (the number of transferred data). ) and then write it again. This control register 15 is generally RA
M, etc., and is accessed by pipeline control to increase access speed. FIG. 2 shows the time relationship of this pipeline system. In this embodiment, the read cycle (READ), the modification cycle (M
○It is divided into three types of cycles: D and Y cycle, MOD cycle), and write cycle (WRITE cycle).
These cycles flow in a pipeline manner, and access requests are processed one cycle at a time. In Figure 2, when processing of an access request from channel A begins, READ
, A cycle, information corresponding to channel A is extracted from the information register 15 in FIG.
is immediately set. In the next MOD, A cycle, the contents of the read register 16 are changed by the modification circuit 17 as necessary. Further, the information changed in the next WRITE, A cycle is stored again in the corresponding field of the information register 15. Subsequent access requests from other channels are also processed cycle by cycle, and one access is processed in three cycles, but each cycle is processed seamlessly, so in total only one access is processed per cycle. The request can be processed. Now, the memory data transfer control unit 1 in FIG. 1 also needs to access the information register 15. For example, when data transfer between the main memory and the data buffer is completed, it is necessary to increase or decrease the number of valid data. This access request is instructed by the memory control unit access signal 105. When an access request occurs from this memory data transfer control unit 1,
It is necessary to temporarily suspend the processing of access requests from the channel. One reason is that only one access to the information register 5 can be processed per cycle, so naturally the processing of access requests for all channels is interrupted for at least one cycle, and memory data is not processed in the flow of the pipeline. It is necessary to insert one cycle for processing the access request of the transfer control unit 1. Another reason is the need to guarantee the temporal ordering of changes in the contents of the information registers. In FIG. 2, the access request from the memory data transfer control unit 1 is started from cycle number 4.
, WRITE ○ are processed in each cycle. In this access request, the contents of the field corresponding to channel D are read and changed. in this case,
For example, it is not possible to start processing an access request for channel D from input/output channel 5 in cycle number 2. This is because if cycle number 2 and input/output channel 5
When performing a READ cycle for channel D from
The WRITE cycle is executed in cycle number 4, which overlaps with the READ cycle of the access request from the memory data transfer control unit 1. This means that the information being written is read out, and the order of the information is reduced. Also, in cycle number 6, an access request from input/output channel 5 of channel D must not be started. In this case, the output of information by channel D and the writing to the same field by an access request from memory data transfer control unit 1 overlap. That is, during the period from cycle numbers 2 to 6, it is necessary to prohibit processing of access requests from channel D, and conversely, processing of other channels should be performed. It can be seen that the waveform indicated by 109 in FIG. 2 prohibits access requests from channel D during the period from cycle numbers 2 to 6. Returning to FIG. 1, reference numerals 6 to 9 are channel-based access request permission flip-flops, and these flip-flops are set and reset by the memory data transfer control section 1.

前述の例では、チャンネルDに対応したフリップフロツ
プである9は、サイクル番号2〜6の期間リセットされ
ている。フリツプフロツプ6〜9の出力は、チャンネル
別アクセス許可信号106〜109として、対応するチ
ャンネルアクセス許可ゲート10〜13に各々送られる
。メモリデータ制御部1からは、更にチャンネルアクセ
ス許可信号110が送出される。
In the above example, the flip-flop 9 corresponding to channel D is reset during cycle numbers 2-6. The outputs of flip-flops 6-9 are sent as channel-specific access permission signals 106-109 to corresponding channel access permission gates 10-13, respectively. The memory data control unit 1 further sends out a channel access permission signal 110.

これは、メモリデータ制御部1自身がアクセスを行うた
めに、全チャンネルのアクセスを禁止する信号であって
、第2図中、110で示す波形はサイクル番号4の間だ
け“0”となる。この信号は、前記アクセス許可ゲート
10〜13すべてに送られる。各チャンネルからのアク
セス要求信号101〜I04は、アクセス許可ゲート1
0〜13で論理積をとられ、その出力信号はチャンネル
アクセス選択回路14に送られる。チャンネルアクセス
選択回路14では、これら4個のアクセス要求のうちの
1個を1サイクル毎に選択して、情報レジスタ15をア
クセスする。本発明によれば、RAM等で構成された複
数のチャンネルに対応する情報を貯蔵するレジスタを、
パイプライン方式で、複数のチャンネルと他の制御部か
らアクセスする場合に必要な情報の変化の順序性を保証
し、かつ、切れ目なくしジスタをアクセス可能とするこ
とにより、入出力処理装置の性能を向上させる。
This is a signal that prohibits access to all channels since the memory data control unit 1 itself accesses it, and the waveform indicated by 110 in FIG. 2 becomes "0" only during cycle number 4. This signal is sent to all of the access permission gates 10-13. Access request signals 101 to I04 from each channel are transmitted to access permission gate 1.
0 to 13 are ANDed, and the output signal is sent to the channel access selection circuit 14. The channel access selection circuit 14 selects one of these four access requests every cycle to access the information register 15. According to the present invention, a register that stores information corresponding to a plurality of channels constituted by a RAM, etc.
The pipeline system guarantees the order of changes in information required when accessing from multiple channels and other control units, and also improves the performance of the input/output processing device by making registers accessible without breaks. Improve.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図を説明するタイムチャートである。 1・・・・・・メモリデータ転送制御部、2〜5・・・
・・・入出力チャンネル、6〜9……チャンネル別アク
セス要求許可フリツプフロツプ、10〜13・・・・・
・アクセス許可ゲート、14・・・・・・チャンネルア
クセス選択回路、15・…・・情報レジスタ群、16・
・・・・・議出しジスタ、17・・・・・・修飾回路。 第1図第2図
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a time chart explaining FIG. 1. 1...Memory data transfer control unit, 2-5...
...Input/output channels, 6 to 9...Channel-specific access request permission flip-flops, 10 to 13...
- Access permission gate, 14... Channel access selection circuit, 15... Information register group, 16.
...Proposal register, 17...Modification circuit. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1 入出力チヤンネルを介して入出力装置と主メモリと
の間のデータ転送を制御する入出力処理装置において、
各チヤンネルのための情報を貯え、読出し、変更、書込
みの各サイクルをパイプライン方式にて実行するレジス
タ群手段と、入出力装置との間のデータ転送に基く上記
レジスタ群手段へのアクセス要求を制御する第1の制御
手段と、主メモリとの間のデータ転送に基く上記レジス
タ群手段へのアクセス要求を制御する第2の制御手段と
、上記第2の制御手段において入出力チヤンネルに関し
ての情報のアクセス要求が発生した時、該入出力チヤン
ネルに関しての上記第1の制御手段からのアクセス要求
による上記読出し、変更、書込みの各サイクルが上記第
2の制御手段による上記読出し、変更、書込みのサイク
ルと重ならないように該入出力チヤンネルに関しての上
記第1の制御手段からのアクセス要求を所定サイクルの
間禁止すると共に、上記第2の制御手段による上記読出
しサイクルの間全入出力チヤンネルに関しての上記第1
の制御手段からのアクセス要求を禁止する手段とを有す
ることを特徴とする入出力処理装置。
1. In an input/output processing device that controls data transfer between an input/output device and main memory via an input/output channel,
A register group means that stores information for each channel and executes read, change, and write cycles in a pipeline manner, and an access request to the register group means based on data transfer between the input/output device and the input/output device. a first control means for controlling; a second control means for controlling an access request to the register group means based on data transfer with the main memory; and information regarding an input/output channel in the second control means. When an access request for the input/output channel occurs, each of the read, change, and write cycles due to the access request from the first control means regarding the input/output channel is the read, change, and write cycle by the second control means. The access request from the first control means regarding the input/output channel is prohibited for a predetermined cycle so as not to overlap with the access request from the first control means regarding the input/output channel, and the access request regarding the entire input/output channel is prohibited during the read cycle by the second control means. 1
1. An input/output processing device comprising: means for prohibiting access requests from a control means.
JP6945381A 1981-05-11 1981-05-11 input/output processing unit Expired JPS6028022B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6945381A JPS6028022B2 (en) 1981-05-11 1981-05-11 input/output processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6945381A JPS6028022B2 (en) 1981-05-11 1981-05-11 input/output processing unit

Publications (2)

Publication Number Publication Date
JPS57185527A JPS57185527A (en) 1982-11-15
JPS6028022B2 true JPS6028022B2 (en) 1985-07-02

Family

ID=13403073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6945381A Expired JPS6028022B2 (en) 1981-05-11 1981-05-11 input/output processing unit

Country Status (1)

Country Link
JP (1) JPS6028022B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6283488U (en) * 1985-11-15 1987-05-28

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0934647A (en) * 1995-07-14 1997-02-07 Nec Corp Magnetic disk processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6283488U (en) * 1985-11-15 1987-05-28

Also Published As

Publication number Publication date
JPS57185527A (en) 1982-11-15

Similar Documents

Publication Publication Date Title
US5506967A (en) Storage queue with adjustable level thresholds for cache invalidation systems in cache oriented computer architectures
EP0032559B1 (en) Virtual storage data processing apparatus including i/o
US5253346A (en) Method and apparatus for data transfer between processor elements
JPH0670773B2 (en) Advance control method
KR920008448B1 (en) Data processor
US4974143A (en) Information processing apparatus wherein address path is used for continuous data transfer
KR100288177B1 (en) Memory access control circuit
EP0220990B1 (en) Buffer storage control system
JPS6028022B2 (en) input/output processing unit
JPH0727488B2 (en) Memory access control method
JPS6136845A (en) single chip microcomputer
JP3205992B2 (en) Direct memory access transfer controller
JPS60159956A (en) Interface control device
JPS592051B2 (en) Mutual exclusion request selection device
JPS6333185B2 (en)
JPH03232052A (en) Exclusive access system for shared data
JP3063501B2 (en) Memory access control method
JP2533958B2 (en) Data preceding set device
JP3259095B2 (en) Data transfer method
JPH0424733B2 (en)
JPH03204743A (en) Data processor
JPS622349B2 (en)
JPS6126703B2 (en)
JPH0673128B2 (en) Memory control method
JPH0525133B2 (en)