JPS6084655A - Priority processing method for information transfer control - Google Patents

Priority processing method for information transfer control

Info

Publication number
JPS6084655A
JPS6084655A JP17562783A JP17562783A JPS6084655A JP S6084655 A JPS6084655 A JP S6084655A JP 17562783 A JP17562783 A JP 17562783A JP 17562783 A JP17562783 A JP 17562783A JP S6084655 A JPS6084655 A JP S6084655A
Authority
JP
Japan
Prior art keywords
stack
input
priority
data
bus
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
JP17562783A
Other languages
Japanese (ja)
Other versions
JPS6248260B2 (en
Inventor
Osamu Wada
修 和田
Osamu Katakura
片倉 修
Hirotoshi Haida
灰田 博俊
Akihiro Ichijo
一条 昭博
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.)
Fujitsu Ltd
Panafacom Ltd
Original Assignee
Fujitsu Ltd
Panafacom 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 Fujitsu Ltd, Panafacom Ltd filed Critical Fujitsu Ltd
Priority to JP17562783A priority Critical patent/JPS6084655A/en
Publication of JPS6084655A publication Critical patent/JPS6084655A/en
Publication of JPS6248260B2 publication Critical patent/JPS6248260B2/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/14Handling requests for interconnection or transfer

Landscapes

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

Abstract

PURPOSE:To eliminate the need to giving priority levels to all of input/output devices, and reduce the amount of circuit by setting only the number corresponding to a specific input/output device among plural input/output devices in a priority register. CONSTITUTION:A clock is normally supplied to the priority register 29, whose contents are updated. If a request for registering the number of the specific input device in a stack is made while the stack is full, the stack request is permitted only when a registration request having the number set in the priority register 29 or a higher priority number is made; and the permission of stack registration requests from other input/output devices are inhibited.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、複数の入出力装置との間でデータ転送を行っ
て入出力装置からのデータ全データ・バッファに蓄積し
、スタックに主記憶装置へのデータ転送要求を登録し、
スタックの登録順に従って主記憶装置との間でデータ転
送を行うバス変換装置において、スタックを制御するス
タック制御部に優先レジスタと比較手段を設け、特定の
範囲の入出力装置についてのデータ転送要求がスタック
に登録できないときは、これ全優先レジスタにセットし
、登録を優先させるようにした情報転送制御の優先処理
方式に関するもので必る。
Detailed Description of the Invention [Technical Field of the Invention] The present invention transfers data between a plurality of input/output devices, accumulates all data from the input/output devices in a data buffer, and stores the main memory in a stack. Register a data transfer request to
In a bus conversion device that transfers data to and from the main memory according to the registration order of the stack, a priority register and comparison means are provided in the stack control unit that controls the stack, and data transfer requests for a specific range of input/output devices are processed. This is related to the priority processing method for information transfer control, which sets the all-priority register to give priority to registration when it cannot be registered in the stack.

〔従来技術と問題点〕[Prior art and problems]

第1図はデータ処理システムの構成を示す図1第2図は
データ・バッファの構成を説明する図、第3図はバス変
換装置の構成を示す図でろる。図において、1は中央処
理装置、2は主記憶装置、3はチャネル装置、4−0な
いし4− nは入出力装置、5は第1のバス制御部、6
は第2のバス制御部、7はスタック)8はデータ・バッ
ファ制御部、9はデータ・バッファ、10はセレクタ、
11はスタック制御部、BCはノ(ス変換装置金示す。
FIG. 1 is a diagram showing the configuration of a data processing system. FIG. 2 is a diagram explaining the configuration of a data buffer, and FIG. 3 is a diagram showing the configuration of a bus conversion device. In the figure, 1 is a central processing unit, 2 is a main storage device, 3 is a channel device, 4-0 to 4-n are input/output devices, 5 is a first bus control unit, and 6
is a second bus control unit, 7 is a stack) 8 is a data buffer control unit, 9 is a data buffer, 10 is a selector,
Reference numeral 11 indicates a stack control unit, and BC indicates a conversion device.

第1図において、第1のバスを使ってチャネル装置3と
主記憶装置2との間でデータ転送全行(・、第2のバス
を使ってチャネル装置3と複数の入出力装置4−0ない
し4− nとの間でデータ転送を行う。チャネル装置3
内の〕(ス変換装置BCは、2つのバスに接続され、各
入出力装置4−0な0し4−3から転送されてぎたデー
タを各入出力装置毎に一定量ずつ蓄積するデータ・)く
ツファBuffを持っている。
In FIG. 1, all rows of data are transferred between the channel device 3 and the main storage device 2 using the first bus (..., and the data is transferred between the channel device 3 and a plurality of input/output devices 4-0 using the second bus). to 4-n. Channel device 3
The conversion device BC is connected to two buses and is a data converter that stores a fixed amount of data transferred from each input/output device 4-0 to 4-3 for each input/output device. ) Has a Kutsufa Buff.

第1のバスでは例えば16ノくイト単位のデータ転送を
行い、第2のバスでは例えば2ノ(イト単位のデータ転
送を行うというように、第1の)(スと第2のバスとで
は1回のデータ転送に要する時間が異なる。この転送単
位に合わせて、データ・);ッファは、第2図に示すよ
うに、各入出力装置毎に16バイトの2つのノ(ツファ
AとB(i:持ち、交互に使用される。
For example, the first bus transfers data in units of 16 bits, and the second bus transfers data in units of 2 bits, for example. The time required for one data transfer is different.In accordance with this transfer unit, the data buffer is divided into two 16-byte nodes (data buffers A and B) for each input/output device, as shown in Figure 2. (i: Hold, used alternately.

各入出力装置4−0ないし4−3は、他の入出力装置と
非同期にデータ転送を行い、夫々に異なる番号「#0」
、「#1」、・・・・・・、「#ル」が割付ゆられる。
Each input/output device 4-0 to 4-3 transfers data asynchronously with other input/output devices, and each has a different number "#0".
, "#1", ..., "#ru" are assigned.

バス変換装置Beでは、この番号音もとに各入出力装置
4−0ないし4− nに対するデータ転送を行う。
The bus conversion device Be performs data transfer to each input/output device 4-0 to 4-n based on this number tone.

バス変換装置BCの構成金示したのが第3図である。第
3図において、第1のバス制御部5と第2のバス制御部
6との間にスタック7があり、第2のバス制御部6が主
記憶装置2とのデータ転送が必要と判断した入出力装置
に割付けられた番号がスタック7に登録される。第1の
バス制御部5は、スタック7から出力される番号に対応
した入出力装置のデータ・バッファ9と主記憶装置2と
の間でデータ転送を行う。そしてそのデータ転送が終了
するとスタック7がポツプされる。
FIG. 3 shows the configuration of the bus conversion device BC. In FIG. 3, there is a stack 7 between the first bus control unit 5 and the second bus control unit 6, and the second bus control unit 6 determines that data transfer with the main storage device 2 is necessary. The number assigned to the input/output device is registered in the stack 7. The first bus control unit 5 transfers data between the data buffer 9 of the input/output device corresponding to the number output from the stack 7 and the main storage device 2 . When the data transfer is completed, the stack 7 is popped.

従来、第2のバス全便って入出力装置4−0ないし4−
nとの間でデータ転送が行われたことにより、主記憶装
置2との間でデータ転送が必要となった場合、自動的に
第1のバスを使ったデータ転送が行われ、一定状態の場
合にのみ第1のバスを使ったデータ転送に優先処理が行
われる。以下にその例を説明する。
Conventionally, all second buses had input/output devices 4-0 or 4-.
If it becomes necessary to transfer data between the main storage device 2 and the main storage device 2 due to the data transfer performed with n, the data transfer using the first bus is automatically performed and the Priority processing is given to data transfer using the first bus only in this case. An example will be explained below.

今、#0の入出力装置4−〇からデータ・バッファ9の
BOl:アクセスしたとき、バッファAと主記憶装置2
とのデータ転送を行うべく番号をスタック7に登録しよ
うとする。このとき、スタック7が登録可能である場合
にはその番号全登録し1データ・バッファ9のBOと入
出力装置4−0との間でデータ転送を行う。その後、バ
ッファ9金アクセスしている間は主起憶装fi、2との
データ転送要求は行わ1よい。ところが、スタック7が
一杯で新たな番号が登録不可能な状態では、番号の登録
を行わず、データ・バッファ90BOと入出力装置4−
0との間でデータ転送を行う。次にデータ・バッファ9
のB 1 kアクセスしたとき、再びスタックしようと
する。このような制御方式において、スタック制御部1
1でスタックに登録でき7よかった入出力装置の番−号
が優先レジスタ(図示せず)にセットされる。次に他の
入出力装置が第2のバスからデータ・バッファ9金アク
セスしたとき、その入出力装置の番号が優先レジスタの
内容と比較され、その入出力装置の番号の方が大きいと
きにはスタック7に登録することが禁止され、小さいか
等しいときにはスタック7に登録することが許可される
。ここで、登録が禁止されると1優先レジスタにセット
されていた番号がスタック7に登録され、その入出力装
置の番号に優先レジスタの内容が書き替えられる。優先
レジスタにセットされている番号がスタック7に登録さ
れた時、又はスタック7が空になった時には、優先レジ
スタはリセットされ、全ての入出力装置の番号はスタッ
ク7に登録することが禁止されることはな(なる。この
ようにして優先処理が行われるが、これは高速の入出力
装置に対しては有効であり、この方式を採用した場合に
は1回路量が多(なるという問題がある。
Now, when the BOl of data buffer 9 is accessed from input/output device 4-0 of #0, buffer A and main storage device 2
An attempt is made to register a number in the stack 7 in order to perform data transfer with the . At this time, if the stack 7 can be registered, all its numbers are registered and data is transferred between the BO of one data buffer 9 and the input/output device 4-0. Thereafter, while the buffer 9 is being accessed, data transfer requests with the main storage device fi, 2 can be made. However, when the stack 7 is full and a new number cannot be registered, the number is not registered and the data buffer 90BO and input/output device 4-
Data is transferred to and from 0. Next, data buffer 9
When accessing B 1 k of , it tries to stack again. In such a control system, the stack control unit 1
The number of the input/output device that could be registered in the stack at 1 and 7 is set in a priority register (not shown). Next time another I/O device accesses the data buffer from the second bus, the number of that I/O device is compared with the contents of the priority register, and if the number of that I/O device is higher, the stack 7 Registration in the stack 7 is prohibited, and registration in the stack 7 is permitted when the values are smaller or equal. Here, when registration is prohibited, the number set in the 1 priority register is registered in the stack 7, and the contents of the priority register are rewritten to the number of the input/output device. When the number set in the priority register is registered in the stack 7 or when the stack 7 becomes empty, the priority register is reset and all input/output device numbers are prohibited from being registered in the stack 7. Priority processing is performed in this way, but this is effective for high-speed input/output devices, and when this method is adopted, the problem of one circuit being large is avoided. There is.

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

本発明は、上記の考察に基づ(ものであって、バスのデ
ータ転送能力には限界があるので、高速の入出力装置ば
かりが倒台も接続されることはなく、入出力装置の全て
に優先順位を付ける必要はない点に鑑み、優先処理を特
定の入出力装置に限定するようにして回路量を少なくし
た情報転送制御の優先処理方式を提供すること全目的と
するものである。
The present invention is based on the above consideration (because there is a limit to the data transfer capacity of the bus, not only high-speed input/output devices are connected, but all input/output devices are In view of the fact that there is no need to prioritize, the overall purpose of this invention is to provide a priority processing method for information transfer control that reduces the amount of circuitry by limiting priority processing to specific input/output devices.

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

そのために本発明の情報転送制御の優先処理方式は、主
記憶装置との間でのデータ転送に使用する第1のバス及
び複数の入出力装置との間でのデータ転送に使用する第
2のバスに接続され、複数の入出力装置の夫々に対応し
て送られてくるデータが一定量ずつ蓄積可能なデータ・
バッファ、データ・バッファ制御部、第1のバス制御部
、第2のバス制御部、該第2のバス制御部から送出され
る入出力装置の番号を登録するスタック、及びスタック
制御部全具備し、上記第2のバス制御部により上記複数
の入出力装置とのデータ転送を行って上記データ・バッ
ファにデータ全蓄積すると共に上記スタック制御部に当
該入出力装置の番号の登録全指示し、上記第1のバス制
御部により上記登録された番号に従って上記主記憶装置
とのデータ転送を行うバス変換装置においてt上記スタ
ック制御部は、優先レジスタと比較手段を有し、スタッ
クが一杯になり且つ特定の範囲の番号のスタック登録要
求があったことV+件として当該番号Th優先レジスタ
にセットしてスタック登録要求の許可を禁止し、上記優
先レジスタに番号がセットされた状態でスタック登録要
求があった場合には上記優先レジスタの番号とスタック
登録要求があった番号とを上記比較手段により比較し、
その結果、番号が同じか或いはスタック登録要求があっ
た番号がより優先度の高い番号でおること全条件に上記
スタック登録要求の許可の禁止を解除し、上記スタック
が一杯か否かにより上記優先レジスタの書き替え又はリ
セット全行い、上記スタックが空になったことを条件と
して上記優先レジスタのリセットを行うように構成され
たことを特徴とするものである。
To this end, the priority processing method for information transfer control of the present invention provides a first bus used for data transfer to and from the main storage device and a second bus used for data transfer to and from a plurality of input/output devices. Data that is connected to the bus and sent to each of multiple input/output devices can be stored in fixed amounts.
Equipped with a buffer, a data buffer control unit, a first bus control unit, a second bus control unit, a stack for registering the number of an input/output device sent from the second bus control unit, and a stack control unit. , the second bus control unit transfers data to and from the plurality of input/output devices, accumulates all the data in the data buffer, and instructs the stack control unit to register all the numbers of the input/output devices; In a bus conversion device that transfers data to and from the main storage device according to the registered number by a first bus control unit, the stack control unit has a priority register and comparison means, and when the stack becomes full and There was a stack registration request for a number in the range of In this case, the number of the priority register and the number of the stack registration request are compared by the comparison means,
As a result, the above prohibition on permission of stack registration requests will be lifted on all conditions that the numbers are the same or the number for which the stack registration request was made is a higher priority number, and the above priority will be given depending on whether the stack is full or not. The present invention is characterized in that the priority register is reset on the condition that all registers are rewritten or reset, and the stack becomes empty.

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

以下、不発明の実施例全図面全参照しつつ説明する。 Hereinafter, a non-inventive embodiment will be described with reference to all drawings.

第4図は本発明の1実施例構成金示す図である。FIG. 4 is a diagram showing the structure of one embodiment of the present invention.

第4図において、21ないし24はアンド・グー)、2
5Uナンド・ゲート、26と27はオア・ゲート、28
は比較器、29は優先レジスタを示す。なお、論理ゲー
トの入力端子のうち小さい丸が表示されている端子は反
転入力端子を示す連木発明は、優先レジスタにセットで
きる入出力装置の番号全特定し、その入出力装置の番号
に対してのみスタックに登録できなかつたときに優先レ
ジスタにセットできるようにするものである。
In Figure 4, 21 to 24 are and goo), 2
5U Nando Gate, 26 and 27 are Or Gate, 28
is a comparator, and 29 is a priority register. Furthermore, among the input terminals of the logic gate, the terminal with a small circle displayed is an inverted input terminal. It is possible to set it in the priority register when it cannot be registered in the stack.

本発明の1実施例として、入出力装置が32台接続され
、#0ないし#3の入出力装置を特定して優先させる場
合の構成を示したのが第4図である。
As an embodiment of the present invention, FIG. 4 shows a configuration in which 32 input/output devices are connected and input/output devices #0 to #3 are specified and prioritized.

第4図において、NOないしN4の信号で32台の入出
力装置の番号を表わし、NOの信号が最上位、N4の信
号が最下位のビットとする。従って、特定の入出力装置
の番号#0ないし#3は亀NOないしN2の信号が全て
60″になる。そのNOないしN2の信号はアンド・ゲ
ート21の反転入力端子に供給され)N3とN4の信号
は比較器28の一方の比較入力端子Aと優先レジスタ2
9のビットP1とP2のセット入力端子に供給される・
比較器28の他方の比較入力端子Bは優先レジスタ29
のビットP1とP2のセット出力端子に接続される。優
先レジスタ29は、ピッ)POとPlとP2からなり、
ビットPOvi−有効フラグとして使用し、ピッ)PI
とP2に入出力装置の番号#0ないし#3全格納するビ
ットとして使用する。優先レジスタ29のビットPOの
セット入力端子はアンド・ゲート22の出力端子に接続
され、ピッ)POのセット出力端子はオア・ゲート26
の一方の反転入力端子に接続される。アンド・ゲート2
2の一方の入力端子はアンド・ゲート21の出力端子と
ナンド・ゲート25の一方の入力端子に接続され、アン
ド・ゲート22の他方の入力端子にスタックが一杯であ
ることを示す信号が供給される。ナンド・ゲート25の
他方の入力端子は比較器28の出力端子に接続され、ナ
ンド・ゲート25の出力端子はオア・ゲート26の他方
の反転入力端子に接続される。オア・ゲート26の出力
端子はアンド・ゲート24の一方の入力端子に接続され
る。アンド・ゲート24の他方の入力端子には第2のバ
ス制御部から出力されスタック登録要求がおることを示
す信号(スタック登録要求信号1)が供給される。アン
ド・ゲート24の出力端子はオア・ゲート27の一方の
入力端子に接続されるとともにスタック制御部に対して
、スタック登録要求があることを示す信号(スタック登
録要求信号2)を送出する。オア・ゲート27の他方の
入力端子にはスタックが空であることを示す信号がスタ
ック制御部より供給される。そして、アンド・ゲート2
3の一方の入力端子にはクロックが供給され、他方の入
力端子にはオア・ゲート27の出力端子が接続され、ア
ンド・ゲート23の出力端子は優先レジスタ29のセッ
ト・クロック端子に接続される。なお、以上の回路は、
第3図に示すブロック図において、スタック制御部11
にあるものと考えてよい。又は、一部は第2のバス制御
部6にあるものと考えてもよい。
In FIG. 4, the numbers of the 32 input/output devices are represented by signals NO to N4, with the NO signal being the most significant bit and the N4 signal being the least significant bit. Therefore, for a particular input/output device number #0 to #3, the signals of the turtle NO to N2 are all 60''.The signals of the NO to N2 are supplied to the inverting input terminal of the AND gate 21) N3 and N4. The signal is between one comparison input terminal A of the comparator 28 and the priority register 2.
9 bits P1 and P2 are supplied to the set input terminals.
The other comparison input terminal B of the comparator 28 is connected to the priority register 29
is connected to the set output terminals of bits P1 and P2 of. The priority register 29 consists of PPO, Pl, and P2.
Bit POvi - used as valid flag, PI)
and P2 are used as bits to store all input/output device numbers #0 to #3. The set input terminal of bit PO of priority register 29 is connected to the output terminal of AND gate 22, and the set output terminal of bit PO is connected to OR gate 26.
is connected to one inverting input terminal of the and gate 2
One input terminal of the AND gate 22 is connected to the output terminal of the AND gate 21 and one input terminal of the NAND gate 25, and the other input terminal of the AND gate 22 is supplied with a signal indicating that the stack is full. Ru. The other input terminal of NAND gate 25 is connected to the output terminal of comparator 28, and the output terminal of NAND gate 25 is connected to the other inverting input terminal of OR gate 26. The output terminal of OR gate 26 is connected to one input terminal of AND gate 24. The other input terminal of the AND gate 24 is supplied with a signal (stack registration request signal 1) outputted from the second bus control unit and indicating that a stack registration request is received. The output terminal of the AND gate 24 is connected to one input terminal of the OR gate 27 and sends a signal (stack registration request signal 2) indicating that there is a stack registration request to the stack control section. The other input terminal of the OR gate 27 is supplied with a signal from the stack control section indicating that the stack is empty. And Gate 2
A clock is supplied to one input terminal of 3, the output terminal of the OR gate 27 is connected to the other input terminal, and the output terminal of the AND gate 23 is connected to the set clock terminal of the priority register 29. . Note that the above circuit is
In the block diagram shown in FIG.
You can think of it as being in . Alternatively, a part of it may be considered to be in the second bus control section 6.

次に動作を説明する。まず、通常状態について説明する
と、優先レジスタ290ビツトPoは論理「0」である
ので、ナンド・ゲート25の出力に関係な(、オア・ゲ
ート26の出力が論理rlJとなるから、スタック登録
要求lが論理「1」となると直ちにスタック登録要求2
がスタック制御部に出力される。又優先レジスタ29へ
のクロックが供給され、優先レジスタ29の内容は更新
される。
Next, the operation will be explained. First, to explain the normal state, since the priority register 290 bit Po is logic "0", it is not related to the output of the NAND gate 25 (, since the output of the OR gate 26 is logic rlJ, the stack registration request l As soon as becomes logic “1”, stack registration request 2 is issued.
is output to the stack control section. A clock is also supplied to the priority register 29, and the contents of the priority register 29 are updated.

ここで、スタックが一杯でない場合には、スタック制御
部はスタック一杯の信号音「0」としているので、優先
レジスタ29のピッ)POは論理「0」のままである。
Here, if the stack is not full, the stack control unit makes a signal tone "0" indicating that the stack is full, so the priority register 29 (P) PO remains at logic "0".

スタック一杯の場合には、スタック制御部はスタック一
杯の信号を「1」としており、スタックへの登録を行わ
ない。入出力装置の番号が#0ないし#3以外であれば
、アンド・ゲート21のアンド条件が成立せず、優先レ
ジスタ29のピッ)POは論理「0」に保たれる。他方
番号#0ないし#3のスタック登録要求があった場合に
は、アンド・ゲート21のアンド条件が成立し、優先レ
ジスタ29のピクトPOは論理「1」にセットされ、ビ
ットP1゜P2にはその時の番号(#0ないし#3)が
セットされる。次に優先レジスタ290ビツトPOが論
理「1」となりている時、スタック登録要求1が入力さ
れた場合を考える。
When the stack is full, the stack control unit sets the stack full signal to "1" and does not register to the stack. If the number of the input/output device is other than #0 to #3, the AND condition of the AND gate 21 is not satisfied, and the priority register 29 (P) PO is kept at logic "0". On the other hand, if there is a stack registration request with numbers #0 to #3, the AND condition of the AND gate 21 is satisfied, the pictograph PO of the priority register 29 is set to logic "1", and bits P1 and P2 are set to The number (#0 to #3) at that time is set. Next, consider the case where stack registration request 1 is input when priority register 290-bit PO is at logic "1".

番号#0ないし#3以外の登録要求がおりた場合には、
アンド・ゲート21のアンド条件が成立せず、オア自ゲ
ート26の出力は論理「0」であり、スタック登録要求
信号2はスタック制御部に出力されない。
If you receive a registration request for numbers other than #0 to #3,
The AND condition of the AND gate 21 is not satisfied, the output of the OR gate 26 is logic "0", and the stack registration request signal 2 is not output to the stack control section.

番号#0ないし#3の登録要求がおった場合には、アン
ド・ゲート21のアンド条件は成立する。
If a registration request with numbers #0 to #3 is received, the AND condition of the AND gate 21 is satisfied.

ここで優先レジスタ29に登録された番号と現在の要求
番号とが比較器28により比較され、現在の要求番号が
登録された番号と等しいか又はより小さゆればナンド・
ゲート25の出力が論理則になり、オア・ゲート26の
出力が論理「1」となるので、スタック登録要求信号2
がスタック制御部に出力される。又、優先レジスタ29
へのクロックが供給され、優先レジスタの内容は更新さ
れる。
Here, the number registered in the priority register 29 and the current request number are compared by the comparator 28, and if the current request number is equal to or smaller than the registered number, then
Since the output of the gate 25 becomes a logic rule and the output of the OR gate 26 becomes logic "1", the stack registration request signal 2
is output to the stack control section. Also, priority register 29
The contents of the priority register are updated.

ここでスタックが一杯でない場合には、スタック制御部
はスタック一杯信号を「0」としているので優先レジス
タ29のビットPOは「0」となる。スタックが一杯の
場合には、スタック一杯の信号は「1」であり、優先レ
ジスタ29のビットPOは依然として「1」であるが、
ビットP1゜P2は以前と同じか、より小さい番号に書
替えられる。
If the stack is not full, the stack control unit sets the stack full signal to "0", so the bit PO of the priority register 29 becomes "0". If the stack is full, the stack full signal is '1' and bit PO of priority register 29 is still '1', but
Bits P1 and P2 are rewritten to the same or smaller numbers as before.

また、スタック登録要求がないままに、主記憶装置との
間でデータ転送が行われ、スタックが空になりてしまり
た場合には、スタック制御部からのスタック空信号が論
理「1」となるので優先レジスタ29へのクロックが供
給され、優先レジスタ29はリセットされる。
Additionally, if data is transferred to and from the main memory without a stack registration request and the stack becomes empty, the stack empty signal from the stack control unit becomes logic "1". Therefore, a clock is supplied to the priority register 29, and the priority register 29 is reset.

以上に述べたように、スタックが一杯になった状態で特
定の入出力装置の番号のスタック登録要求があると、優
先レジスタがセットされ、それ以降性、優先レジスタに
セットされた番号若しくはそれよりも優先度の高い番号
の登録要求があった場合にのみスタック登録要求が許可
され、他の入出力装置の番号にはスタック登録要求の許
可が禁止される。
As mentioned above, when a stack registration request is made for a specific input/output device number when the stack is full, the priority register is set, and from then on, the number set in the priority register or higher A stack registration request is permitted only when there is a registration request for a number with a high priority, and permission of a stack registration request is prohibited for other input/output device numbers.

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

以上の説明から明らかなように、本発明によれば1複数
の入出力装置のうち特定の入出力装置に対応する番号の
みを優先レジスタにセットできるようにするので、入出
力装置の全てに優先順位上付ける必要がなく、回路量を
少なくすることができる。
As is clear from the above explanation, according to the present invention, only the number corresponding to a specific input/output device out of a plurality of input/output devices can be set in the priority register, so it takes priority over all input/output devices. There is no need to rank them higher, and the amount of circuitry can be reduced.

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

第1図はデータ処理システムの構成全示す図、第2図は
データ・バッファの宿成金説明する図、第3図はバス変
換装置の構成金示す図、第4図は本発明の1実施例構成
を示す図である・1・・・中央処理装置、2・・・主記
憶装置、3・・・チャネル装置、4−0ないし4−ル・
・・入出力装置、5・・・第1のバス制御部、6・・・
第2のバス制御部、7・・・スタック、8・・・データ
・バッファ制御部、9・・・データ・バッファ、10・
・・セレクタ、11・・・スタック制御部、21ないし
24・・・アンド・ゲート、25・・・ナンド−ゲート
、26と27・・・オア・ゲート、28・・・比較器、
29・・・優先レジスタ、BC・・・バス変換装置。 特許出願人 富士通株式会社(外1名)代理人弁理士 
京 谷 四 部 11 口
FIG. 1 is a diagram showing the entire configuration of a data processing system, FIG. 2 is a diagram explaining the structure of a data buffer, FIG. 3 is a diagram showing the configuration of a bus converter, and FIG. 4 is an embodiment of the present invention. It is a diagram showing the configuration: 1... Central processing unit, 2... Main storage device, 3... Channel device, 4-0 to 4-rule.
...I/O device, 5...first bus control unit, 6...
2nd bus control unit, 7... stack, 8... data buffer control unit, 9... data buffer, 10.
... Selector, 11... Stack control unit, 21 to 24... AND gate, 25... NAND gate, 26 and 27... OR gate, 28... Comparator,
29...priority register, BC...bus conversion device. Patent applicant Fujitsu Limited (1 other person) Representative patent attorney
Kyotani 4 part 11 mouth

Claims (1)

【特許請求の範囲】[Claims] 主記憶装置との間でのデータ転送に使用する第1のバス
及び複数の入出力装置との間でのデータ転送に使用する
第2のバスに接続され、複数の入出力装置の夫々に対応
して送られてくるデータが一定量ずつ蓄積可能なデータ
・バッファ、データ・バッファ制御部、第1のバス制御
部、第2のバス制御部、該第2のバス制御部から送出さ
れる入出力装置の番号を登録するスタック、及びスタッ
ク制御部を具備し、上記第2のバス制御部により上記複
数の入出力装置とのデータ転送を行って上記データ・バ
ッファにデータを蓄積すると共に上記スタック制御部に
当該入出力装置の番号の登録を指示し、上記第1のバス
制御部により上記登録された番号に従って上記主記憶装
置とのデータ転送全行うバス変換装置において、上記ス
タック制御部は、優先レジスタと比較手段を有し、スタ
ックが一杯になり且つ特定の範囲の番号のスタック登録
要求がめったこと全条件として当該番号を優先レジスタ
にセットしてスタック登録要求の許可全禁止し、上記優
先レジスタに番号がセットされた状態でスタック登録要
求があった場合には上記優先レジスタの番号とスタック
登録要求がめった番号とを上記比較手段により比較し、
その結果、番号が同じか或いはスタック登録要求がbり
た番号がより優先度の高い番号であることを条件に上記
スタック登録要求の許可の禁止を解除し1上記スタツク
が一杯か否かにより上記優先レジスタの書き替え又はリ
セットヲ行い、上記スタックが空になったことを条件と
して上記優先レジスタのリセットを行うように措成され
たこと全特徴とする情報転送制御の優先処理方式。
Connected to a first bus used for data transfer with the main storage device and a second bus used for data transfer between multiple input/output devices, and corresponding to each of the multiple input/output devices. A data buffer capable of storing a fixed amount of data sent as a data buffer, a data buffer control section, a first bus control section, a second bus control section, and an input signal sent from the second bus control section. The stack includes a stack for registering the number of the output device, and a stack control unit, and the second bus control unit transfers data to and from the plurality of input/output devices to accumulate data in the data buffer, and the stack In the bus conversion device that instructs a control unit to register a number of the input/output device, and performs all data transfer with the main storage device by the first bus control unit according to the registered number, the stack control unit: It has a priority register and comparison means, and if the stack is full and a stack registration request with a number in a specific range is rarely made, the number is set in the priority register as a condition, and the permission of stack registration requests is completely prohibited, and the above priority is set. If a stack registration request is made with a number set in the register, the comparison means compares the number of the priority register with the number where the stack registration request is rarely made;
As a result, the prohibition on permission of the stack registration request will be lifted on the condition that the numbers are the same or the number that received the stack registration request has a higher priority. A priority processing method for information transfer control, characterized in that the priority register is rewritten or reset, and the priority register is reset on the condition that the stack becomes empty.
JP17562783A 1983-09-21 1983-09-21 Priority processing method for information transfer control Granted JPS6084655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17562783A JPS6084655A (en) 1983-09-21 1983-09-21 Priority processing method for information transfer control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17562783A JPS6084655A (en) 1983-09-21 1983-09-21 Priority processing method for information transfer control

Publications (2)

Publication Number Publication Date
JPS6084655A true JPS6084655A (en) 1985-05-14
JPS6248260B2 JPS6248260B2 (en) 1987-10-13

Family

ID=15999386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17562783A Granted JPS6084655A (en) 1983-09-21 1983-09-21 Priority processing method for information transfer control

Country Status (1)

Country Link
JP (1) JPS6084655A (en)

Also Published As

Publication number Publication date
JPS6248260B2 (en) 1987-10-13

Similar Documents

Publication Publication Date Title
US4271466A (en) Direct memory access control system with byte/word control of data bus
JP3598321B2 (en) Buffering data exchanged between buses operating at different frequencies
US5083260A (en) Bus arbitration system for concurrent use of a system bus by more than one device
JPS6142306B2 (en)
EP0062431A1 (en) A one chip microcomputer
CA2478570A1 (en) Data processing apparatus and system and method for controlling memory access
JPS60142439A (en) Store buffer device
JPS6084655A (en) Priority processing method for information transfer control
JP3519205B2 (en) DMA controller
JPS6027976A (en) First-in first-out memory device
JPH04363748A (en) Priority control method and its circuit
JP3105554B2 (en) Interrupt controller
JP3293838B2 (en) Data transfer method
JPS6084657A (en) By-pass control system of data transfer request stack
JPH0554303B2 (en)
US20050071576A1 (en) Data processing apparatus and system and method for controlling memory access
JPS58200323A (en) Input and output processor
JPH0650720B2 (en) Pattern data transfer method for electron beam exposure apparatus
JPS60123954A (en) Stack processing system
JPS6126104B2 (en)
JPS6252342B2 (en)
JPS58166581A (en) Addressing system of memory
JPS6257050A (en) Common memory device
JPH0821018B2 (en) Data processing device
JPH0528746A (en) Fifo memory circuit