JPH02220163A - Selecting device for data transfer request - Google Patents

Selecting device for data transfer request

Info

Publication number
JPH02220163A
JPH02220163A JP4210789A JP4210789A JPH02220163A JP H02220163 A JPH02220163 A JP H02220163A JP 4210789 A JP4210789 A JP 4210789A JP 4210789 A JP4210789 A JP 4210789A JP H02220163 A JPH02220163 A JP H02220163A
Authority
JP
Japan
Prior art keywords
data transfer
transfer request
output
input
bit
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.)
Pending
Application number
JP4210789A
Other languages
Japanese (ja)
Inventor
Masaharu Fukushima
福島 正晴
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
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 filed Critical NEC Corp
Priority to JP4210789A priority Critical patent/JPH02220163A/en
Publication of JPH02220163A publication Critical patent/JPH02220163A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To simplify the circuit constitution and to cope with the increase of the number of input/output devices and to prevent a conflict fault due to an element delay from occurring by using a ROM and an address register in place of a gate circuit and an FF. CONSTITUTION:The data transfer requests given from the input/output devices 10-1n are selectively outputted to a data transfer processing circuit 2 via a data transfer request selector consisting of a ROM 3, an address register 4, and a register control circuit 5. Thus the circuit constitution is simplified with use of the ROM 3 and the register 4 in place of a gate circuit and an FF. Then it is possible to cope with the increase of the number of input/output devices just with increase of the number of bits and to prevent such a conven tional conflict fault which is caused by an element delay from occurring.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、優先順位が予め決められている入出力装置か
らのデータ転送要求が競合した場合、優先順位の最も高
い入出力装置からのデータ転送要求を選択し、データ転
送要求の競合がない場合、該データ転送要求を選択する
データ転送要求選択装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method for transferring data from the input/output device with the highest priority when there are competing data transfer requests from input/output devices with predetermined priorities. The present invention relates to a data transfer request selection device that selects a transfer request and selects the data transfer request if there is no conflict among the data transfer requests.

〔従来の技術〕[Conventional technology]

第4図はこの種のデータ転送要求選択装置の従来例のブ
ロック図である。
FIG. 4 is a block diagram of a conventional example of this type of data transfer request selection device.

このデータ転送要求選択装置は、5台の入出力装置11
o、Ill、112,113.11aからのデータ転送
要求を選択してデータ転送処理回路12に出力するもの
で、データ転送要求受信用FF13o〜134とゲート
回路140〜144とFFυIt11回路15とで構成
されている。
This data transfer request selection device has five input/output devices 11.
It selects the data transfer request from 112, 113. has been done.

入出力装置11o〜114のデータ転送要求の優先順位
は入出力装ff111oが最も低く、入出力V4置11
1  112.113.T14の順に高い。
The priority of data transfer requests of the input/output devices 11o to 114 is that the input/output device ff111o has the lowest priority, and the input/output device V4 device 11 has the lowest priority.
1 112.113. T14 is the highest.

データ転送要求受信用FF134はデータ転送要求WA
16ah’ら(7)入出力WAe11a f)7’−9
転送要求をFF制御回路15からのセットクロック18
により保持し、データ転送要求出力線204によりデー
タ転送処理回路12に出力するとともに、データ転送要
求応益線174によりデータ転送要求応答信号を入出力
装置114に出力する。
The data transfer request receiving FF 134 is the data transfer request WA.
16ah' et al. (7) Input/output WAe11a f) 7'-9
The transfer request is sent from the FF control circuit 15 to the set clock 18.
The data transfer request response signal is held by the data transfer request output line 204 and output to the data transfer processing circuit 12 via the data transfer request output line 204, and a data transfer request response signal is output to the input/output device 114 via the data transfer request response line 174.

ゲート回路143はデータ転送要求出力線164に入出
力装置114のデータ転送要求が出力されていないとき
に、データ転送要求出力線163に出力された入出力装
置113のデータ転送要求を出力する。データ転送要求
受信用FF133は、ゲート回路143から出力された
入出力装置113のデータ転送要求をセットクロック1
8により保持し、データ転送要求出力線203によりデ
ータ転送処理回路12に出力するとともに、データ転送
要求応答線173によりデータ転送要求応答信号を入出
力装置113に出力する。ゲート回路142は、データ
転送要求線16a、163にそれぞれ入出力装置111
4.113のデータ転送要求が出力されていないときに
、データ転送要求出力線162に出力された入出力装置
112のデータ転送要求を出力する。データ転送要求受
信用FF132は、ゲート回路142から出力された入
出力装置112のデータ転送要求をセットクロック18
により保持し、データ転送要求出力線202によりデー
タ転送処理回路12に出力するとともに、データ転送要
求応答1i1172によりデータ転送要求応答信号を入
出力装置112に出力する。ゲート回路141は、デー
タ転送要求線16a 、163.162にそれぞれ入出
力装置114.113.112からのデータ転送要求が
ないとき、データ転送要求ね161に出力された入出力
装ff111.1のデータ転送要求を出力する。
The gate circuit 143 outputs the data transfer request of the input/output device 113 that is output to the data transfer request output line 163 when the data transfer request of the input/output device 114 is not output to the data transfer request output line 164 . The data transfer request receiving FF 133 receives the data transfer request of the input/output device 113 output from the gate circuit 143 with a set clock 1.
8 and outputs it to the data transfer processing circuit 12 via the data transfer request output line 203, and outputs a data transfer request response signal to the input/output device 113 via the data transfer request response line 173. The gate circuit 142 connects the input/output device 111 to the data transfer request lines 16a and 163, respectively.
4. When the data transfer request of 113 is not output, the data transfer request of the input/output device 112 outputted to the data transfer request output line 162 is output. The data transfer request receiving FF 132 receives the data transfer request of the input/output device 112 output from the gate circuit 142 using a set clock 18.
It is held by the data transfer request output line 202 and output to the data transfer processing circuit 12, and a data transfer request response signal is output to the input/output device 112 by the data transfer request response 1i1172. When there is no data transfer request from the input/output device 114.113.112 on the data transfer request lines 16a and 163.162, the gate circuit 141 transmits the data of the input/output device ff111.1 output to the data transfer request line 161. Output a transfer request.

データ転送要求受信用FF131は、ゲート回路141
から出力された入出力装置5f11tのデータ転送要求
をセットクロック18により保持し、データ転送要求出
力11201によりデータ転送要求処理回路12IC出
力するとともに、データ転送要求応答線171によりデ
ータ転送要求応答信号を入出力装置111に出力する。
The data transfer request receiving FF 131 is a gate circuit 141.
The data transfer request from the input/output device 5f11t output from the input/output device 5f11t is held by the set clock 18, and the data transfer request output 11201 outputs the data transfer request processing circuit 12IC, and the data transfer request response line 171 inputs the data transfer request response signal. Output to the output device 111.

ゲート回路14゜はデータ転送要求線16a 、 16
3 、162 。
The gate circuit 14° connects data transfer request lines 16a, 16
3, 162.

161に入出力装置1a、13.12.11からのデー
タ転送要求がないとき、データ転送要求線16o IZ
比出力れた入出力装置ll 1oのデータ転送要求を出
力する。データ転送要求受信用FF13oは、ゲート回
路14oから出力された入出力装ff 11 oのデー
タ転送要求をセットクロック18により保持し、データ
転送要求出力IQ 20 。
When there is no data transfer request from input/output device 1a, 13.12.11 to 161, data transfer request line 16o IZ
Outputs the data transfer request of the input/output device ll1o that has output the specified output. The data transfer request receiving FF 13o holds the data transfer request of the input/output device ff11o output from the gate circuit 14o using the set clock 18, and outputs the data transfer request IQ20.

によりデータ転送要求処理回路12に出力するとともに
、データ転送要求応答線17oによりデータ転送要求応
答信号を入出力IIa11oに出力する。
A data transfer request response signal is output to the data transfer request processing circuit 12 through the data transfer request response line 17o, and a data transfer request response signal is output to the input/output IIa 11o.

なお、データ転送要求受信用FF13o〜134はF 
F、 ill I11回路15からのリセット信号19
によりリセットされる。
Note that FFs 13o to 134 for receiving data transfer requests are F.
F, ill I11 reset signal 19 from circuit 15
It is reset by .

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ転送要求選択装置は、入出力装置
対応にゲート回路とフリップフロップが必要であり、入
出力@置に対応でるゲート回路は入出力装置の数が多い
と優先順位が低下する程ハードウェアが増加し、それに
伴なって素子遅延による競合障害が発生し、その対策用
の回路が必要となり、そのため、さらにハードウェアが
増加して、回路構成が複雑化するという欠点がある。
The conventional data transfer request selection device described above requires a gate circuit and a flip-flop to correspond to the input/output devices, and the gate circuit that can correspond to the input/output @ position decreases the priority level as the number of input/output devices increases. As the amount of hardware increases, contention failures due to element delays occur, and a countermeasure circuit is required, which leads to the disadvantage that the amount of hardware increases further and the circuit configuration becomes more complex.

(課題を解決するための手段) 本発明のデータ転送要求選択装置は、 下位ビットから上位ビットへ順次優先順位が高くなるよ
うに、各ビットに1つの優先順位が対応して当該優先順
位の入出力装置からのデータ転送要求線が接続されてお
り、セットクロックによりデータ転送要求を記憶し、リ
セット信号によってクリアされるアドレスレジスタと、 前記セットクロックおよびリセット信号を出力する回路
と、 前記アドレスレジスタの出力をアドレスとし、データ出
力の各ビットが下位ビットから上位ビットへ順次優先順
位が高くなるように各入出力装置のデータ転送要求出力
線と接続されており、アドレスレジスタのデータ転送要
求を記憶しているビットのうちの最上位のビットに対応
するデータ転送要求出力線のみが有効になるようにデー
タが記憶されているROMとを有している。
(Means for Solving the Problems) The data transfer request selection device of the present invention has a priority level assigned to each bit, and inputs the priority level so that the priority level increases sequentially from the lower bits to the upper bits. an address register to which a data transfer request line from an output device is connected, which stores a data transfer request using a set clock and is cleared by a reset signal; a circuit that outputs the set clock and the reset signal; The output is used as an address, and each bit of the data output is connected to the data transfer request output line of each input/output device so that the priority increases from the lower bit to the upper bit, and the data transfer request of the address register is stored. The ROM has a ROM in which data is stored such that only the data transfer request output line corresponding to the most significant bit of the bits in the data transfer request output line is enabled.

〔作用〕[Effect]

ゲート回路とFFの代りにROMとアドレスレジスタを
用いることにより、回路構成が簡略化され、入出力装置
の数が増えてもビット数の増加だけで対処でき、従来の
ような素子遅延による競合障害の発生もない。
By using ROM and address registers instead of gate circuits and FFs, the circuit configuration is simplified, and even if the number of input/output devices increases, it can be handled simply by increasing the number of bits, eliminating contention problems caused by element delays as in the past. There was no occurrence of

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のデータ転送要求選択装置の一実施例の
ブロック図、第2図はROM a内のデータを示す図、
第3図は本実施例の動作を示すタイムチャートである。
FIG. 1 is a block diagram of an embodiment of the data transfer request selection device of the present invention, FIG. 2 is a diagram showing data in ROM a,
FIG. 3 is a time chart showing the operation of this embodiment.

本実施例は入出力装置1o 、11.12 、・・・1
nからのデータ転送要求を選択してデータ転送処理回路
2に出力するもので、ROM3とアドレスレジスタ4と
レジスタ制御回路5とからなっている。
In this embodiment, input/output devices 1o, 11.12, . . . 1
It selects a data transfer request from n and outputs it to the data transfer processing circuit 2, and consists of a ROM 3, an address register 4, and a register control circuit 5.

入出力装′r11 o〜1nのデータ転送要求の優先順
位は入出り装!11oが最も低く、入出hvtN11*
 12 *・・・の順に高く、入出力装[1nが最も高
い。アドレスレジスタ4は(n+1 )ビットで構成さ
れ、0ビツト、1ピツト、2ビツト、・・・nビットに
はそれぞれデータ入出力装置a 1 o 。
The priority of data transfer requests for input/output devices 'r11 o~1n is input/output device! 11o is the lowest, input/output hvtN11*
The input/output device [1n is the highest. The address register 4 is composed of (n+1) bits, and each of the 0 bit, 1 bit, 2 bit, . . . n bits has a data input/output device a 1 o.

11 12、・・・ 1nからのデータ転送要求線60
.61 62.・・・、6nが接続され、レジスタ制御
回路5からのセットクロック8によりデータ転送要求を
記憶しくセットされ)、リセット信号9によりクリヤ(
リセット)される。ROM3はアドレスレジスタ4の出
力をアドレスとし、データ出力は(n+i )ビットか
らなり、0ビツト、1ビツト、2ビツト、3ビツト、・
・・、nビットはそれぞれデータ転送要求出力線10o
11 12,... Data transfer request line 60 from 1n
.. 61 62. ..., 6n are connected, the data transfer request is set to be stored by the set clock 8 from the register control circuit 5), and cleared by the reset signal 9 (
reset). The ROM 3 uses the output of the address register 4 as an address, and the data output consists of (n+i) bits: 0 bit, 1 bit, 2 bit, 3 bit, .
..., n bits are each data transfer request output line 10o
.

101.102.103 、・・・、10nを介してデ
ータ転送要求処理回路2に接続されるとともに、転送要
求応答線7o、71.72.7s、・・・7nを介して
入出力装置1o、11.12.1a*・・・、Inに接
続されている。そして、このROM3には、第2図に示
すように、アドレスO〜1には2°ビツト、アドレス2
〜3には21ビツト、アドレス4〜7には22ビツト・
・・にのみ“1″が町込まれている。づなわら、アドレ
スレジスタ4に“1”が記憶されているビットのうち最
上位ビットに対応するデータ出力ビットにのみ“1″が
記憶されている。
101.102.103, . . . , 10n to the data transfer request processing circuit 2, and transfer request response lines 7o, 71.72.7s, . . . , 7n to the input/output devices 1o, 11.12.1a*..., connected to In. In this ROM 3, as shown in FIG.
~3 has 21 bits, and addresses 4~7 have 22 bits.
``1'' is included only in .... Of the bits in which "1" is stored in the address register 4, "1" is stored only in the data output bit corresponding to the most significant bit.

次に、本実施例の動作を第3図を参照して説明する。Next, the operation of this embodiment will be explained with reference to FIG.

時刻toにリセット信号9が出力されてアドレスレジス
タ4がリセットされた後、入出力装置12.10からそ
れぞれ時刻t、、t2にデータ転送要求が出力されたも
のとする。時刻t3にセットクロック8が出力されると
、アドレスレジスタ4の2ビツトおよび0ビツトにデー
タ転送要求が記憶される。この記憶によるアドレスレジ
スタ4のアドレスはrlolJ、すなわち十進値で「5
Jのため、ROM37)”3はrl 00J がH出さ
れデータ転送要求出力線102によりデータ転送要求処
理回路2ヘデータ転送要求が出力されるとともに、デー
タ転送要求応答線72により転送要求応答信号が入出力
装置12へ返信される。これにより、入出力装置12は
データ転送要求信号をオフし、データ転送を開始する。
It is assumed that after the reset signal 9 is output at time to and the address register 4 is reset, data transfer requests are output from the input/output devices 12, 10 at times t, t2, respectively. When the set clock 8 is output at time t3, a data transfer request is stored in 2 bits and 0 bits of the address register 4. The address of address register 4 based on this storage is rlolJ, that is, “5” in decimal value.
Therefore, rl 00J is output to H in the ROM 37)"3, a data transfer request is output to the data transfer request processing circuit 2 through the data transfer request output line 102, and a transfer request response signal is input through the data transfer request response line 72. It is sent back to the output device 12. As a result, the input/output device 12 turns off the data transfer request signal and starts data transfer.

一方、データ転送要求処理回路2は、入出力装置12の
データ転送処理が時刻t4に終ると、時刻t5にリセッ
ト信号9を出力してアドレスレジスタ4をリセットする
。時刻toに次のセットクロック8が出力されると、入
出力装置1oからはデータ転送要求線6oにデータ転送
要求が出力されているのでアドレスレジスタ4のビット
Oにデータ転送要求が記憶され、このとぎ他にデータ転
送要求が無いのでアドレスレジスタ4のアドレスは「・
・・001」となり、R,0M3からはアドレス「1」
のデータが読出され、データ転送要求出力II 10 
oによりデータ転送処理回路2ヘデータ転送要求が出力
されるとともに、データ転送要求応答[17oによりデ
ータ転送要求応答信号が入出力装置t!11oへ返信さ
れ、以後、上述した入出力装置12の場合と同様の処理
が行なわれる。
On the other hand, when the data transfer process of the input/output device 12 ends at time t4, the data transfer request processing circuit 2 outputs a reset signal 9 at time t5 to reset the address register 4. When the next set clock 8 is output at time to, since the data transfer request has been output from the input/output device 1o to the data transfer request line 6o, the data transfer request is stored in bit O of the address register 4, and this data transfer request is stored in bit O of the address register 4. Since there is no other data transfer request, the address of address register 4 is "・
...001", and address "1" from R,0M3
data is read and data transfer request output II 10
o outputs a data transfer request to the data transfer processing circuit 2, and a data transfer request response [17o outputs a data transfer request response signal to the input/output device t! 11o, and thereafter the same processing as in the case of the input/output device 12 described above is performed.

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

以上説明したように本発明は、ゲート回路とFFの代り
にROMとアドレスレジスタを用いることにより、回路
構成が簡略化され、入出力vt置の数が増えてもビット
数の増加だけで対処でき、素子遅延による競合障害の発
生も防止される効果がある。
As explained above, the present invention simplifies the circuit configuration by using ROM and address registers instead of gate circuits and FFs, and even if the number of input/output terminals increases, it can be handled simply by increasing the number of bits. This also has the effect of preventing contention failures due to element delays.

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

第1図は本発明のデータ転送要求選択装置の一実施例の
ブロック図、第2図は第1図のROMa内のデータを示
す図、第3図は本実施例の動作を示すタイムチャート、
第4図は従来のデータ転送要求選択装置のブロック図で
ある。 10〜1n・・・入出力装置、 2・・・データ転送要求処理回路、 3・・・ROM、4・・・アドレスレジスタ、5・・・
レジスタ制御回路、 60〜6n・・・データ転送要求線、 70〜7n・・・データ転送要求応答線、8・・・セッ
トクロック、 9・・・リセット信号、 10o〜10n・・・データ転送要求出力線。 特許出願人 [1本電気株式会社 代 理 人  弁理士 内厚  昔
FIG. 1 is a block diagram of an embodiment of the data transfer request selection device of the present invention, FIG. 2 is a diagram showing data in the ROMa of FIG. 1, and FIG. 3 is a time chart showing the operation of this embodiment.
FIG. 4 is a block diagram of a conventional data transfer request selection device. 10-1n...I/O device, 2...Data transfer request processing circuit, 3...ROM, 4...Address register, 5...
Register control circuit, 60-6n...Data transfer request line, 70-7n...Data transfer request response line, 8...Set clock, 9...Reset signal, 10o-10n...Data transfer request output line. Patent applicant [Ippon Denki Co., Ltd. Agent Patent attorney Atsushi Uchi

Claims (1)

【特許請求の範囲】 1、優先順位が予め決められている入出力装置からのデ
ータ転送要求が競合した場合、優先順位の最も高い入出
力装置からのデータ転送要求を選択し、データ転送要求
の競合がない場合、該データ転送要求を選択するデータ
転送要求選択装置であって、 下位ビットから上位ビットへ順次優先順位が高くなるよ
うに、各ビットに1つの優先順位が対応して当該優先順
位の入出力装置からのデータ転送要求線が接続されてお
り、セットクロックによりデータ転送要求を記憶し、リ
セット信号によってクリアされるアドレスレジスタと、 前記セットクロックおよびリセット信号を出力する回路
と、 前記アドレスレジスタの出力をアドレスとし、データ出
力の各ビットが下位ビットから上位ビットへ順次優先順
位が高くなるように各入出力装置のデータ転送要求出力
線と接続されており、アドレスレジスタのデータ転送要
求を記憶しているビットのうちの最上位のビットに対応
するデータ転送要求出力線のみが有効になるようにデー
タが記憶されているROMとを有するデータ転送要求選
択装置。
[Claims] 1. When data transfer requests from input/output devices with predetermined priorities conflict, the data transfer request from the input/output device with the highest priority is selected, and the data transfer request is If there is no conflict, the data transfer request selection device selects the data transfer request, and the data transfer request selection device selects the data transfer request with one priority corresponding to each bit so that the priority increases sequentially from the lower bit to the upper bit. an address register to which a data transfer request line from an input/output device is connected, which stores a data transfer request using a set clock and is cleared by a reset signal; a circuit that outputs the set clock and the reset signal; The output of the register is used as an address, and each bit of the data output is connected to the data transfer request output line of each input/output device so that the priority increases in order from the lower bit to the upper bit. A data transfer request selection device comprising a ROM in which data is stored such that only the data transfer request output line corresponding to the most significant bit of the stored bits is enabled.
JP4210789A 1989-02-21 1989-02-21 Selecting device for data transfer request Pending JPH02220163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4210789A JPH02220163A (en) 1989-02-21 1989-02-21 Selecting device for data transfer request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4210789A JPH02220163A (en) 1989-02-21 1989-02-21 Selecting device for data transfer request

Publications (1)

Publication Number Publication Date
JPH02220163A true JPH02220163A (en) 1990-09-03

Family

ID=12626741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4210789A Pending JPH02220163A (en) 1989-02-21 1989-02-21 Selecting device for data transfer request

Country Status (1)

Country Link
JP (1) JPH02220163A (en)

Similar Documents

Publication Publication Date Title
JP3241045B2 (en) Multiport shared memory interface and related methods
US5297242A (en) DMA controller performing data transfer by 2-bus cycle transfer manner
JPH0463430B2 (en)
JPH0784863A (en) Information processing apparatus and semiconductor memory device suitable for the same
EP0367995B1 (en) Vector data transfer controller
JPH02220163A (en) Selecting device for data transfer request
TW448361B (en) Data switching system and method using bandwidth management unit to reduce data traffic
JPS6361697B2 (en)
JP3909509B2 (en) Serial interface circuit
JPS63136395A (en) semiconductor storage device
JPH0444136A (en) Memory access controller
JPH0736819A (en) Dma data transfer device
JP4438276B2 (en) Data transfer device
JP2510268B2 (en) Data holding circuit
JPH0467661B2 (en)
JPH08249273A (en) Asynchronous transfer circuit with transfer speed switching function
US6721897B1 (en) Bus control circuit effecting timing control using cycle registers for respective cycles holding signal levels corresponding to bus control signals that are output by arrangement of signal level
JPS6079445A (en) Storage controller
JP2001297056A (en) Arbitration circuit and DMA controller
US20040252702A1 (en) Arbiter circuit
JPH0452749A (en) Bus arbitrating circuit
EP0171940A1 (en) A direct memory access device and a method of using the device in a data transfer system
JPS616746A (en) Partial writing control system
WO1989003565A1 (en) Selective receiver for each processor in a multiple processor system
JPH04274547A (en) Data transfer system