JPS6275866A - Transfer control system - Google Patents

Transfer control system

Info

Publication number
JPS6275866A
JPS6275866A JP21509485A JP21509485A JPS6275866A JP S6275866 A JPS6275866 A JP S6275866A JP 21509485 A JP21509485 A JP 21509485A JP 21509485 A JP21509485 A JP 21509485A JP S6275866 A JPS6275866 A JP S6275866A
Authority
JP
Japan
Prior art keywords
transfer
register
processor
priority
acceptance
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
JP21509485A
Other languages
Japanese (ja)
Other versions
JPH0792786B2 (en
Inventor
Tetsuya Ando
安藤 哲哉
Takashi Hanazawa
花澤 隆
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
Nippon Telegraph and Telephone Corp
Original Assignee
Hitachi Ltd
Nippon Telegraph and Telephone Corp
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, Nippon Telegraph and Telephone Corp filed Critical Hitachi Ltd
Priority to JP60215094A priority Critical patent/JPH0792786B2/en
Publication of JPS6275866A publication Critical patent/JPS6275866A/en
Publication of JPH0792786B2 publication Critical patent/JPH0792786B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To attain the transfer of data with priority and also with no priority without having a long waiting time by arranging the registers on two stages at the side of the highest priority and making the registers set on the rear stage accept data by the AND conditions between the output of the front stage side and the scan end information on the rear stage side. CONSTITUTION:A scan circuit 6 first checks the presence or absence of acceptance for transfer request with a register 3b and then connects a processor 1 at the priority side to a processor 8 via a switching circuit for transfer of data with the processor 1 if the acceptance of the transfer request is confirmed. While the circuit 6 transmits the gate signal to an AND gate 5 when no acceptance is confirmed. The acceptance transfer request of a register 3a is taken over by a register 3b by said gate signal. Then the acceptance of a transfer request is checked with a register 4. When this acceptance is confirmed, a processor 2 is connected to the processor 8 via the circuit 7 for transfer of data with the processor 2 only when the output of the register 3b is delivered in a period corresponding to a break of the processor 1.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、2種類の処理装置からのデータ転送要求の競
合動作を制御する転送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a transfer control method for controlling competing operations of data transfer requests from two types of processing devices.

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

2種類の処理装置からのアクセス要求の競合動作の制御
方法に関するものには、例えば特開昭53−72532
号公報が挙げられる。本例では、非優先側からのアクセ
スに対してはアクセス要求信号を遅らせる方法が採られ
ている。この方法は2種類のアクセス要求が同時に発生
した場合にのみ有効であり、ランダムに発生するアクセ
ス要求に対しては効果がない。
Regarding a method for controlling competing operations of access requests from two types of processing devices, for example, Japanese Patent Laid-Open No. 53-72532
Publication No. In this example, a method is adopted in which the access request signal is delayed for access from the non-priority side. This method is effective only when two types of access requests occur simultaneously, and is ineffective against access requests that occur randomly.

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

本発明の目的は、ランダムにデータ転送要求の発生する
2種類の処理装置からの転送要求に対しても優先側の処
理装置からの転送要求を優先的に行える転送制御方式を
提供するにある。
An object of the present invention is to provide a transfer control method that allows a transfer request from a priority processing device to be given priority among transfer requests from two types of processing devices that randomly generate data transfer requests.

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

本発明においては、転送要求の有無の走査を優先側から
行うこととし、優先側の転送要求がないときのみ非優先
側の転送要求の実行全可能とするものである。ただし、
この場合、優先側の転送要求が連続して出るとその間の
非優先側の転送要求は実行されずに待たされるので、優
先側の転送動作の終了時には必ず1回非優先側の転送要
求の実行を可能とするものである。
In the present invention, the presence or absence of a transfer request is scanned from the priority side, and transfer requests on the non-priority side can be fully executed only when there is no transfer request on the priority side. however,
In this case, if transfer requests from the priority side are issued consecutively, the transfer requests from the non-priority side in between are not executed and are kept waiting, so the transfer request from the non-priority side is always executed once when the transfer operation on the priority side ends. This makes it possible to

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

第1図は本発明を適用するシステムの構成図を示すブロ
ック図である。第1図において、1および2はデータ転
送要求を発生する処理装置であり、処理装置1側を高優
先度側とする。また、3aと3bは処理装置1の転送要
求を受付ける2段のレジスタであり、6aが前段側、3
bが後段前1である。4は処理装置2の転送要求を受付
けるレジスタであり、5はアンドゲート、6はレジスタ
3bと4の要求受付けの有無のチェックおよび、レジス
タ3bのチェック後にアンドゲート5へのゲート信号を
送出する走査回路、7は処理装置1,2からのデータ線
を走査回路6の桔東により切替を行う切替回路、8は処
理装置1または2との転送動作を行う処理装置である。
FIG. 1 is a block diagram showing the configuration of a system to which the present invention is applied. In FIG. 1, 1 and 2 are processing devices that generate data transfer requests, and the processing device 1 side is the high priority side. Further, 3a and 3b are two-stage registers that accept transfer requests from the processing device 1, 6a is on the previous stage side, 3
b is the rear stage front 1. 4 is a register that accepts a transfer request from the processing device 2, 5 is an AND gate, and 6 is a scan that checks whether or not registers 3b and 4 have accepted a request, and sends a gate signal to the AND gate 5 after checking register 3b. A switching circuit 7 switches the data lines from the processing devices 1 and 2 by a switch of the scanning circuit 6, and a processing device 8 performs a transfer operation with the processing device 1 or 2.

第2図は第1図の動作フローを示す。以下、第1図の動
作を第2図を用いて詳細に説明する。
FIG. 2 shows the operation flow of FIG. 1. Hereinafter, the operation shown in FIG. 1 will be explained in detail using FIG. 2.

走査回路6により、最初にレジスタ3bの転送要求受付
の有無をチェックする(ステップ101)。
The scanning circuit 6 first checks whether the register 3b has received a transfer request (step 101).

もし、受付けがあれば切替回路7により処理装置1を処
理装置8へ接続して処理装置1のデータ転送動作全実行
する(102)、実行後は再びレジスタ3bのチェック
動作に戻る。また、受付けがない場合はアンドゲート5
へのゲート信号を送出する( 105 )。このゲート
信号によりレジスタ5aでの転送要求を受付けている場
合はレジスタ3bへ転送要求が引継がれる。
If there is an acceptance, the processing device 1 is connected to the processing device 8 by the switching circuit 7 and all data transfer operations of the processing device 1 are executed (102). After execution, the process returns to the check operation of the register 3b. Also, if there is no reception, please use ANDGATE 5.
A gate signal is sent to (105). If the transfer request is accepted by the register 5a by this gate signal, the transfer request is taken over by the register 3b.

次に、レジスタ4の転送要求受付けの有無のチェックを
する(104)、ここで受付けがあれば切替回路7によ
り処理装置2を処理装置8へ接続して処理装置2のデー
タ転送動作を実行する(1OS)、実行後は再びレジス
タ3bのチェック動作に戻る。また受付けがない場合も
レジスタ3bのチェック動作に戻る。
Next, it is checked whether or not the transfer request is accepted in the register 4 (104). If there is an acceptance here, the switching circuit 7 connects the processing device 2 to the processing device 8 and executes the data transfer operation of the processing device 2. (1OS) After execution, the operation returns to checking the register 3b. Also, if there is no reception, the process returns to the check operation of the register 3b.

第1図において、優先側の転送要求受付はレジスタを3
a 、 3bの2段にした目的について説明する。1段
構成の場合の欠点は、常に走査回路6は優先側のレジス
タから先にチェックするため、優先側からの転送要求の
頻度が大きいと、優先側のみの転送動作が実行され、非
優先側の処理装置2は長時間待たされ続けてしまう。そ
こで、優先側の処理装置1の転送動作の切れ目において
1回のみ非優先側の転送を実行可能とするため、優先側
の転送要求受付けのレジスタ全2段構成とした。その動
作を第1図の動作説明図である第3図を用いて説明する
。第3図で1.2はそれぞれ処理装置1.2の動作状態
を示し、5a 、 3b 、 4はそれぞれレジスタ5
a、5b。
In Figure 1, transfer request reception on the priority side uses register 3.
The purpose of having two stages, a and 3b, will be explained. The disadvantage of the one-stage configuration is that the scanning circuit 6 always checks the registers on the priority side first, so if the frequency of transfer requests from the priority side is high, the transfer operation only on the priority side will be executed, and the transfer operation on the non-priority side will be executed. The processing device 2 continues to wait for a long time. Therefore, in order to be able to perform non-priority transfer only once at the break in the transfer operation of the priority-side processing device 1, the registers for receiving transfer requests on the priority side are configured in two stages. The operation will be explained using FIG. 3, which is an explanatory diagram of the operation of FIG. 1. In FIG. 3, 1.2 indicates the operating state of the processing device 1.2, and 5a, 3b, and 4 indicate the register 5, respectively.
a, 5b.

4の転送要求の受付状態を示し、tは時間を示し、t、
〜t、4は状態の変化点の時間を示す。第5図の例は処
理装置1からの転送要求がt、、tBであり、α理装置
2からの転送要求が16の位置にあった場合の転送動作
の実行状況を示す。
4 indicates the acceptance status of the transfer request, t indicates time, t,
~t,4 indicates the time of the state change point. The example in FIG. 5 shows the execution status of the transfer operation when the transfer request from the processing device 1 is at t, tB and the transfer request from the alpha processing device 2 is at position 16.

時間t、〜”14までの説明を以下に示す。The explanation for time t to "14" is shown below.

tl;1の転送要求i3aに受付ける。The transfer request i3a of tl;1 is accepted.

t2;3bの受付はチェックするも受付けなし。I checked the reception for t2; 3b, but there was no reception.

t3;アンドゲート5を開き3aの状態を31〕へ引継
ぐ(3bも受付は状態となる)。
t3: AND gate 5 is opened and the state of 3a is taken over to 31] (3b is also in the reception state).

t4;4の受付はチェックするも受付けなし。t4; I checked the reception on 4, but there was no reception.

t5i 5bの受付けありで1の転送動作開始。t5i 1 transfer operation starts when 5b is accepted.

t6;2の転送要求ft4で受付る。Receive the transfer request ft4 at t6;2.

tl;1の転送動作終了で3a 、 3bもリセット。3a and 3b are also reset when the transfer operation of tl;1 is completed.

tB;1の転送要求がすぐ発生し、3aで受付ける。tB; A transfer request of 1 occurs immediately and is accepted at 3a.

t、i 3bの受付はチェックするも受付けなし。I checked the reception of t, i 3b, but there was no reception.

t、。;アンドゲート5を開き3aの状態Q3bへ引継
ぐ(3bも受付は状態となる)。
T. ;Opens the AND gate 5 and takes over to the state Q3b of 3a (3b is also in the reception state).

t、1; 4の受付はチェックし、2の転送動作を開始
する。
t, 1; The reception of 4 is checked and the transfer operation of 2 is started.

t1□;2の転送動作が終了で、4もリセット。t1□; Transfer operation of 2 is completed and 4 is also reset.

”+s i 5bの受付けあシで1の転送動作開始。”+s i 1 transfer operation starts at the reception leg of 5b.

t、4;1の転送動作終了で、3a、3bもリセット。t, 4; When the transfer operation of 1 is completed, 3a and 3b are also reset.

第6図の動作例のように優先側の処理装置1の転送要求
が連続して続いた場合でも、その間の非優先側の処理装
置2からの転送要求も処理できることが判る。
It can be seen that even if the transfer requests from the processing device 1 on the priority side continue in succession as in the operation example shown in FIG. 6, the transfer requests from the processing device 2 on the non-priority side can also be processed.

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

本発明によれば、ランダムに発生する2種類の処理装置
からのデータ転送要求に対しても、優先側からの転送要
求を優先的に実行でき、かつ、非優先側からの転送要求
も長時間待たされることがない転送制御方式が実現でき
る。
According to the present invention, even when data transfer requests are randomly generated from two types of processing devices, the transfer request from the priority side can be executed preferentially, and the transfer request from the non-priority side can also be executed for a long time. A transfer control method that does not require waiting can be realized.

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

第1図は本発明の1実施例に係るブロック図、第2図は
第1図の動作フローチャート、第3図は第1図の動作を
説明するための図である。 符号の説明 1.2.8・・・処理装置
FIG. 1 is a block diagram according to an embodiment of the present invention, FIG. 2 is an operation flowchart of FIG. 1, and FIG. 3 is a diagram for explaining the operation of FIG. 1. Explanation of symbols 1.2.8...Processing device

Claims (1)

【特許請求の範囲】[Claims] 2種類の処理装置からのデータ転送要求を保持するレジ
スタを各処理装置毎に有し、該レジスタ出力を優先度の
高い方から順に走査し、転送要求のあった処理装置につ
いてデータ転送を行う方式において、高優先度側のレジ
スタを2段構成とし、その前段側で処理装置からのデー
タ転送要求を受付け、後段側は前段側の出力と後段側の
走査終了情報とのアンド条件によって受付け、高優先度
側からの転送要求の有無の判定は後段側のレジスタで行
うことを特徴とする転送制御方式。
A method in which each processing device has a register that holds data transfer requests from two types of processing devices, scans the register output in order of priority, and transfers data to the processing device that made the transfer request. In this case, the register on the high-priority side has a two-stage configuration, and the first stage accepts data transfer requests from the processing device, and the second stage accepts data transfer requests based on the AND condition of the output of the first stage and the scan end information of the second stage. A transfer control method characterized in that the determination of the presence or absence of a transfer request from the priority side is performed by a register on the subsequent stage.
JP60215094A 1985-09-30 1985-09-30 Data transfer control method Expired - Lifetime JPH0792786B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60215094A JPH0792786B2 (en) 1985-09-30 1985-09-30 Data transfer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60215094A JPH0792786B2 (en) 1985-09-30 1985-09-30 Data transfer control method

Publications (2)

Publication Number Publication Date
JPS6275866A true JPS6275866A (en) 1987-04-07
JPH0792786B2 JPH0792786B2 (en) 1995-10-09

Family

ID=16666652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60215094A Expired - Lifetime JPH0792786B2 (en) 1985-09-30 1985-09-30 Data transfer control method

Country Status (1)

Country Link
JP (1) JPH0792786B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58175041A (en) * 1982-04-07 1983-10-14 Mitsubishi Electric Corp Sequence controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58175041A (en) * 1982-04-07 1983-10-14 Mitsubishi Electric Corp Sequence controller

Also Published As

Publication number Publication date
JPH0792786B2 (en) 1995-10-09

Similar Documents

Publication Publication Date Title
RU2182356C2 (en) Method and device for maintaining sequencing of transactions and solving conflict situations in bridge circuit of buses
US5309567A (en) Structure and method for an asynchronous communication protocol between master and slave processors
US5812875A (en) Apparatus using a state device and a latching circuit to generate an acknowledgement signal in close proximity to the request signal for enhancing input/output controller operations
US5081701A (en) System for controlling data transfer using transfer handshake protocol using transfer complete and transfer inhibit signals
US5987552A (en) Bus protocol for atomic transactions
US5805841A (en) Symmetric parallel multi-processing bus architeture
JPS6275866A (en) Transfer control system
US5303345A (en) Method for controlling data sending and receiving operations of a microprocessor
EP0288191B1 (en) Method and apparatus for data transfer handshake pipelining
JPS58178468A (en) Interruption system of data processing system
JP2806771B2 (en) Bus arbitration circuit
JPS615361A (en) Communication interface circuit
KR100199029B1 (en) Interrupt controller for pentium processor
JP2734992B2 (en) Information processing device
JPS60168240A (en) Interrupt processing circuit
JPS6327942A (en) Message input device
KR100223983B1 (en) Collision protecting circuit
JP2615504B2 (en) Microcontroller
JP2508979B2 (en) Bus controller
JPH0934727A (en) Interruption control system
JP2929832B2 (en) Statistical packet multiplexing method
JP3050131B2 (en) Arbitration method
JPH02222059A (en) Multiprocessor system
JPH0367350A (en) Network interface device
JPH05173949A (en) Microprocessor device