JPH0883242A - Arbiter circuit - Google Patents

Arbiter circuit

Info

Publication number
JPH0883242A
JPH0883242A JP21840094A JP21840094A JPH0883242A JP H0883242 A JPH0883242 A JP H0883242A JP 21840094 A JP21840094 A JP 21840094A JP 21840094 A JP21840094 A JP 21840094A JP H0883242 A JPH0883242 A JP H0883242A
Authority
JP
Japan
Prior art keywords
gate
input
flip
output
supplied
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
JP21840094A
Other languages
Japanese (ja)
Inventor
Naoto Kii
直人 紀伊
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electronics 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 Matsushita Electronics Corp filed Critical Matsushita Electronics Corp
Priority to JP21840094A priority Critical patent/JPH0883242A/en
Publication of JPH0883242A publication Critical patent/JPH0883242A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE: To provide an arbiter circuit which adjusts a conflict 4 between >=2 request signals with a smaller circuit scale by constituting a circuit which adjust a conflict among plural input signals without using a delay circuit. CONSTITUTION: This circuit is provided with a gate means 1, a gate control means 2, and a gate fixing means 3. The gate means 1 consists of plural gate elements which are supplied with plural request signals A to D respectively. The gate control means 2 controls the ON and OFF states of the gate elements so that the gate elements turn ON and OFF cyclically. The gate fixing means 3 supplies a gate fixation signal (e) to the gate control means 2 when one of the output signals of the gate elements, i.e., one of acceptance signals (a) to (d) becomes significant to hold the ON and OFF states of the gate elements, and stops supplying the gate fixation signal (e) when none of the output signals of the gate elements is significant.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、半導体回路装置にて
おいて使用されるアービタ回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arbiter circuit used in a semiconductor circuit device.

【0002】[0002]

【従来の技術】アービタ回路とは、同期あるいは非同期
に入力される2つ以上の要求信号に対して、それぞれの
競合を調整しいずれか一方を選択するための回路であ
り、例えば、半導体メモリに対する書き込み要求と読み
出し要求、さらにリフレッシュ要求の競合を調整し、半
導体メモリの誤動作やデータの破壊を防止するために用
いられる。
2. Description of the Related Art An arbiter circuit is a circuit for adjusting the competition of two or more request signals input synchronously or asynchronously and selecting one of them, and for example, for a semiconductor memory. It is used for adjusting the conflict between the write request, the read request, and the refresh request, and preventing malfunction of the semiconductor memory and data destruction.

【0003】従来のアービタ回路に用いられるセット入
力(以降、S入力と略する)1端子・リセット入力(以
降、R入力と略する)3端子以上を有するRSフリップ
・フロップ(以降、3R−RSフリップフロップと略す
る)を図7に示す。図7において、101は2入力否定
論理和ゲート、102は4入力否定論理和ゲートであ
る。
An RS flip-flop (hereinafter 3R-RS) having a set input (hereinafter abbreviated as S input) 1 terminal and a reset input (hereinafter abbreviated as R input) 3 terminals used in a conventional arbiter circuit. FIG. 7 shows a flip-flop (abbreviation). In FIG. 7, 101 is a 2-input NOR gate, and 102 is a 4-input NOR gate.

【0004】つぎに、上記の3R−RSフリップフロッ
プを用いて4つの要求信号の競合を調整するアービタ回
路を構成した一例を図6に示す。このアービタ回路は、
図6に示すように、2入力論理積ゲート111〜114
と、3R−RSフリップフロップ115〜118と、遅
延素子119〜122と、2入力論理和ゲート123,
124と、4入力否定論理和ゲート125とによって構
成されている。
Next, FIG. 6 shows an example in which an arbiter circuit for adjusting the competition of four request signals is constructed by using the above 3R-RS flip-flop. This arbiter circuit
As shown in FIG. 6, 2-input AND gates 111 to 114
, 3R-RS flip-flops 115 to 118, delay elements 119 to 122, a 2-input OR gate 123,
And a 4-input NOR gate 125.

【0005】具体的には、要求信号Aを2入力論理積ゲ
ート111の一方の入力端子に供給し、2入力論理積ゲ
ート111の出力を3R−RSフリップフロップ115
のS入力に接続し、3R−RSフリップフロップ115
のNQ出力(Q出力の反転)を遅延素子119を介して
3R−RSフリップフロップ115のR1入力に供給す
ることによって第1のラッチ回路を構成している。
Specifically, the request signal A is supplied to one input terminal of the 2-input AND gate 111, and the output of the 2-input AND gate 111 is supplied to the 3R-RS flip-flop 115.
Connected to the S input of the 3R-RS flip-flop 115
The first latch circuit is configured by supplying the NQ output (inversion of the Q output) of 1 to the R1 input of the 3R-RS flip-flop 115 via the delay element 119.

【0006】要求信号B〜Dについても、同様にして、
2入力論理積ゲート112〜114と、3R−RSフリ
ップフロップ116〜118と、遅延素子120〜12
2によって、第2ないし第4のラッチ回路を構成してい
る。なお、遅延素子119〜122は、それぞれ例えば
多数個のバッファの縦続接続回路、もしくは多数個のバ
ッファと容量の縦続接続回路からなり、遅延時間の大き
さに応じてその個数が決められる。また、遅延素子11
9〜122の遅延時間は同じに設定される。
Similarly for the request signals B to D,
2-input AND gates 112 to 114, 3R-RS flip-flops 116 to 118, and delay elements 120 to 12
2 constitutes a second to a fourth latch circuit. Each of the delay elements 119 to 122 is composed of, for example, a cascade connection circuit of a large number of buffers, or a cascade connection circuit of a large number of buffers and capacitors, and the number thereof is determined according to the magnitude of the delay time. In addition, the delay element 11
The delay times of 9 to 122 are set to be the same.

【0007】そして、第1ないし第4のラッチ回路のQ
出力を4入力否定論理和ゲート125の4つの入力端子
に供給し、2入力否定論理和ゲート125の出力を2入
力論理積ゲート111〜114の他方の入力端子にそれ
ぞれ供給している。また、第4のラッチ回路の3R−R
Sフリップフロップ118のR2入力を接地し(ローレ
ベルに固定し)、第4のラッチ回路の3R−RSフリッ
プフロップ118のQ出力を第3のラッチ回路の3R−
RSフリップフロップ117のR2入力に供給し、第3
のラッチ回路の3R−RSフリップフロップ117のQ
出力と第4のラッチ回路の3R−RSフリップフロップ
118のQ出力とを2入力論理和ゲート124に供給
し、2入力論理和ゲート124の出力を第2のラッチ回
路の3R−RSフリップフロップ116のR2入力に供
給し、第2のラッチ回路の3R−RSフリップフロップ
116のQ出力と2入力論理和ゲート124の出力とを
2入力論理和ゲート123に供給し、2入力論理和ゲー
ト123の出力を第1のラッチ回路の3R−RSフリッ
プフロップ115のR2入力に供給し、第1ないし第4
のラッチ回路の3R−RSフリップフロップ115〜1
18のR3入力に外部より共通信号(リクエスト−リセ
ット信号)を供給する構成となっている。
The Q of the first to fourth latch circuits
The output is supplied to the four input terminals of the 4-input NOR gate 125, and the output of the 2-input NOR gate 125 is supplied to the other input terminals of the 2-input AND gates 111 to 114, respectively. In addition, 3R-R of the fourth latch circuit
The R2 input of the S flip-flop 118 is grounded (fixed at a low level), and the Q output of the third latch circuit 3R-RS of the fourth latch circuit is connected to the 3R- of the third latch circuit.
The R2 input of the RS flip-flop 117 is supplied to the third
Of the 3R-RS flip-flop 117 of the latch circuit of
The output and the Q output of the 3R-RS flip-flop 118 of the fourth latch circuit are supplied to the 2-input OR gate 124, and the output of the 2-input OR gate 124 is supplied to the 3R-RS flip-flop 116 of the second latch circuit. Of the 3R-RS flip-flop 116 of the second latch circuit and the output of the 2-input OR gate 124 are supplied to the 2-input OR gate 123. The output is supplied to the R2 input of the 3R-RS flip-flop 115 of the first latch circuit, and the first to fourth
Latch circuit 3R-RS flip-flops 115-1
A common signal (request-reset signal) is externally supplied to the R3 input of 18.

【0008】最後に、3R−RSフリップフロップ11
5〜118のQ出力より受付信号a〜dがそれぞれ出力
される。ここで、図6のアービタ回路の動作を説明す
る。要求信号A〜Dのすべてが“L”である場合には、
受付信号a〜dのすべてが“L”であるので、4入力否
定論理和ゲート125の出力信号が“H”であり、4つ
の2入力論理積ゲート111〜114は開いている。こ
の状態で例えば、要求信号Aが“H”となると、3R−
RSフリップフロップ115へS入力が供給され、その
Q出力、つまり受付信号aが“H”となる。また、受付
信号aが“H”となることで、4入力否定論理和ゲート
125の出力信号が“L”となり、4つの2入力論理積
ゲート111〜114は閉じて3R−RSフリップフロ
ップ115へのS入力の供給は停止するが、要求信号A
が“H”となったことは3R−RSフリップフロップ1
15がセット状態となることで保持されており、この状
態では、その後他の要求信号B〜Dの何れかが“H”と
なっても2入力論理積ゲート112〜114が閉じてい
るので、3R−RSフリップフロップ116〜118へ
はS入力が供給されず、受付信号b〜dは“H”とはな
らない。その後、要求信号Aが“L”に戻ったときは、
リクエスト−リセット信号を一時的に“H”にして3R
−RSフリップフロップ115にR3入力を供給し、3
R−RSフリップフロップ115をリセット状態に戻
す。その他の要求信号B〜Dが“H”となったときに
も、上記と同様に動作する。
Finally, the 3R-RS flip-flop 11
The acceptance signals a to d are output from the Q outputs of 5 to 118, respectively. Here, the operation of the arbiter circuit of FIG. 6 will be described. When all the request signals A to D are “L”,
Since all of the reception signals a to d are "L", the output signal of the 4-input NOR gate 125 is "H", and the four 2-input AND gates 111 to 114 are open. In this state, for example, when the request signal A becomes "H", 3R-
The S input is supplied to the RS flip-flop 115, and its Q output, that is, the acceptance signal a becomes "H". Further, since the reception signal a becomes “H”, the output signal of the 4-input NOR gate 125 becomes “L”, and the four 2-input AND gates 111 to 114 are closed to the 3R-RS flip-flop 115. Supply of S input of is stopped, but request signal A
Has changed to "H" because 3R-RS flip-flop 1
15 is held in the set state, and in this state, the 2-input AND gates 112 to 114 are closed even if any of the other request signals B to D subsequently becomes “H”. The S input is not supplied to the 3R-RS flip-flops 116 to 118, and the acceptance signals b to d do not become "H". After that, when the request signal A returns to "L",
Request-Reset signal is temporarily set to "H" and 3R
-Supply R3 input to RS flip-flop 115, and
The R-RS flip-flop 115 is returned to the reset state. Even when the other request signals B to D become “H”, the same operation as described above is performed.

【0009】つぎに、要求信号A,Bが同時に“H”と
なった場合、3R−RSフリップフロップ115,11
6の両方がセットされ、それらのQ出力、つまり受付信
号a,bが“H”となる。また、受付信号a,bが
“H”となることで、4入力否定論理和ゲート125の
出力信号が“L”となり、4つの2入力論理積ゲート1
11〜114は閉じて、3R−RSフリップフロップ1
15,116のセット入力の供給は停止するが、要求信
号Bが“H”となったことは3R−RSフリップフロッ
プ116がセット状態となることで保持されている。一
方、3R−RSフリップフロップ115については、3
R−RSフリップフロップ116のQ出力が“H”とな
るので、そのQ出力が2入力論理和ゲート123を通し
てR2入力として供給されていることから、すぐにリセ
ット状態に戻る。この回路では、要求信号Bが要求信号
Aより優先される。この状態では、その後他の要求信号
C,Dの何れかが“H”となっても2入力論理積ゲート
113,114が閉じているので、3R−RSフリップ
フロップ117,118へはS入力が供給されず、受付
信号c,dは“H”とはならない。その後、要求信号B
が“L”に戻ったときは、リクエスト−リセット信号を
一時的に“H”にして3R−RSフリップフロップ11
6にR3入力を供給し、3R−RSフリップフロップ1
16をリセット状態に戻す。このとき、要求信号Aがま
だ“H”となっていると、上記と同様にして3R−RS
フリップフロップ115がセット状態となって、受付信
号aが“H”となる。その後、要求信号Aが“L”に戻
ったときは、リクエスト−リセット信号を一時的に
“H”にして3R−RSフリップフロップ115にR3
入力を供給し、3R−RSフリップフロップ115をリ
セット状態に戻す。
Next, when the request signals A and B simultaneously become "H", the 3R-RS flip-flops 115 and 11 are connected.
Both 6 are set, and their Q outputs, that is, the reception signals a and b become "H". Further, since the reception signals a and b become "H", the output signal of the 4-input NOR gate 125 becomes "L", and the four 2-input AND gates 1
11 to 114 are closed, and 3R-RS flip-flop 1
Although the supply of the set inputs of 15 and 116 is stopped, the fact that the request signal B becomes "H" is held by the 3R-RS flip-flop 116 being in the set state. On the other hand, regarding the 3R-RS flip-flop 115,
Since the Q output of the R-RS flip-flop 116 becomes "H", the Q output is supplied as the R2 input through the 2-input logical sum gate 123, and therefore the reset state is immediately returned. In this circuit, the request signal B has priority over the request signal A. In this state, since the two-input AND gates 113 and 114 are closed even if either of the other request signals C and D subsequently becomes “H”, the S input to the 3R-RS flip-flops 117 and 118 does not occur. It is not supplied and the acceptance signals c and d do not become "H". After that, the request signal B
When it returns to "L", the request-reset signal is temporarily set to "H" and the 3R-RS flip-flop 11
6 is supplied with R3 input, and 3R-RS flip-flop 1
16 is reset. At this time, if the request signal A is still "H", the 3R-RS is processed in the same manner as above.
The flip-flop 115 enters the set state, and the acceptance signal a becomes "H". After that, when the request signal A returns to “L”, the request-reset signal is temporarily set to “H” and the R3 is input to the 3R-RS flip-flop 115.
Supply input and return 3R-RS flip-flop 115 to reset state.

【0010】つぎに、要求信号Aが“H”となり、3R
−RSフリップフロップ115のQ出力が“H”とな
り、4入力否定論理和ゲート125の出力信号が“L”
になる直前に要求信号Bが“H”となった場合、2入力
論理和ゲート112の出力はパルス状の出力となるが、
遅延素子120の遅延時間を3R−RSフリップフロッ
プ116内におけるS入力から出力をチッチするまでの
遅延時間よりも長く設定することにより、前記パルス状
の入力によって、3R−RSフリップフロップ116の
R1入力とNQ出力が同時に“L”になることがないた
め、前記パルス状の入力による受付信号bの発振を生じ
ることなく正常に動作する。
Next, the request signal A becomes "H", and the 3R
-The Q output of the RS flip-flop 115 becomes "H", and the output signal of the 4-input NOR gate 125 becomes "L".
If the request signal B becomes "H" immediately before, the output of the 2-input OR gate 112 becomes a pulsed output.
By setting the delay time of the delay element 120 to be longer than the delay time from the S input to the output being latched in the 3R-RS flip-flop 116, the pulse-shaped input causes the R1 input of the 3R-RS flip-flop 116. Since the NQ output and the NQ output do not become "L" at the same time, the reception signal b does not oscillate due to the pulsed input and operates normally.

【0011】要求信号A〜Dで上記以外の組合せで、2
つ以上が同時に“H”となったときにも、上記と同様に
動作する。この場合、優先順位はD,C,B,Aの順で
ある。
When the request signals A to D are combined other than the above, 2
The same operation is performed when two or more simultaneously become "H". In this case, the order of priority is D, C, B, A.

【0012】[0012]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では、回路の発振等を防ぐために、多数個のバ
ッファもしくは多数個のバッファおよび容量からなる遅
延素子119〜122等を用いたことにより、回路規模
が大きくなってしまう。この発明は、従来例に比べて、
より小さい回路規模で、複数の要求信号の競合を調整す
ることを可能とするアービタ回路を提供することを目的
とする。
However, in the above-mentioned conventional configuration, in order to prevent the oscillation of the circuit, the delay elements 119 to 122 composed of a large number of buffers or a large number of buffers and capacitors are used. The circuit scale becomes large. This invention, compared to the conventional example,
An object of the present invention is to provide an arbiter circuit capable of adjusting the competition of a plurality of request signals with a smaller circuit scale.

【0013】[0013]

【課題を解決するための手段】請求項1記載のアービタ
回路は、複数の入力信号がそれぞれ供給される複数のゲ
ート素子からなるゲート手段と、複数のゲート素子が一
つずつサイクリックに導通するように複数のゲート素子
の導通・遮断を制御するゲート制御手段と、複数のゲー
ト素子の何れかの出力信号が有意となったときにゲート
制御手段にゲート固定信号を与えて複数のゲート素子の
導通・遮断状態を保持させるとともに複数のゲート素子
の何れの出力信号も有意でなくなったときにゲート固定
信号の供給を停止するゲート固定手段とを備えている。
According to a first aspect of the present invention, there is provided an arbiter circuit in which a plurality of gate elements each of which is supplied with a plurality of input signals and a plurality of gate elements are cyclically conducted one by one. As described above, gate control means for controlling conduction / interruption of a plurality of gate elements, and when any one of the output signals of the plurality of gate elements becomes significant, a gate fixed signal is given to the gate control means to output a plurality of gate elements. And a gate fixing means for holding the conductive / interrupted state and stopping the supply of the gate fixing signal when any output signal of the plurality of gate elements becomes insignificant.

【0014】請求項2記載のアービタ回路は、請求項1
のアービタ回路において、ゲート手段が、第1ないし第
4の入力信号が一方の入力端子に供給される第1ないし
第4の2入力論理積ゲートからなる。また、ゲート固定
手段が、第1ないし第4の2入力論理積ゲートの出力信
号が4つの入力端子にそれぞれ供給される4入力否定論
理和ゲートと、この4入力否定論理和ゲートの出力信号
が一方の入力端子に供給される排他的論理和ゲートと、
この排他的論理和ゲートの出力信号がD入力端子に供給
されQ出力が排他的論理和ゲートの他方の入力端子に供
給され外部クロック信号がクロック端子に供給される第
1のDフリップフロップとからなる。
The arbiter circuit according to a second aspect of the present invention is the first aspect.
In the arbiter circuit, the gate means comprises first to fourth two-input AND gates to which the first to fourth input signals are supplied to one input terminal. Further, the gate fixing means outputs a 4-input NOR gate to which the output signals of the first to fourth 2-input AND gates are respectively supplied to the four input terminals, and an output signal of the 4-input NOR gate. An exclusive OR gate supplied to one input terminal,
The output signal of the exclusive OR gate is supplied to the D input terminal, the Q output is supplied to the other input terminal of the exclusive OR gate, and the external clock signal is supplied to the clock terminal. Become.

【0015】さらに、ゲート制御手段が、第1のDフリ
ップフロップのQ出力がクロック端子に供給される第2
のDフリップフロップと、この第2のDフリップフロッ
プのQ出力がD入力端子に供給されるとともに第1のD
フリップフロップのQ出力がクロック端子に供給される
第3のフリップフロップと、この第3のフリップフロッ
プのQ出力がD入力端子に供給されるとともに第1のD
フリップフロップのQ出力がクロック端子に供給されQ
出力が第1のDフリップフロップのD入力端子に供給さ
れる第4のフリップフロップと、第2,第3および第4
のDフリップフロップのNQ出力が3つの入力端子にそ
れぞれ供給され出力信号が第1の2入力論理積ゲートの
他方の入力端子に供給される第1の3入力論理積ゲート
と、第2のDフリップフロップのQ出力および第3およ
び第4のDフリップフロップのNQ出力が3つの入力端
子にそれぞれ供給され出力信号が第2の2入力論理積ゲ
ートの他方の入力端子に供給される第2の3入力論理積
ゲートと、第2および第3のDフリップフロップのQ出
力および第4のDフリップフロップのNQ出力が3つの
入力端子にそれぞれ供給され出力信号が第3の2入力論
理積ゲートの他方の入力端子に供給される第3の3入力
論理積ゲートと、第2,第3および第4のDフリップフ
ロップのQ出力が3つの入力端子にそれぞれ供給され出
力信号が第4の2入力論理積ゲートの他方の入力端子に
供給される第4の3入力論理積ゲートとからなる。
Further, the gate control means includes a second D-flip-flop whose Q output is supplied to a clock terminal.
And the Q output of the second D flip-flop is supplied to the D input terminal and the first D
A third flip-flop to which the Q output of the flip-flop is supplied to the clock terminal, and a Q output of the third flip-flop to the D input terminal and the first D
The Q output of the flip-flop is supplied to the clock terminal and Q
A fourth flip-flop whose output is supplied to the D input terminal of the first D flip-flop; and second, third and fourth flip-flops.
And a second 3-input AND gate whose NQ output of each D flip-flop is supplied to each of three input terminals and whose output signal is supplied to the other input terminal of the first 2-input AND gate; The Q output of the flip-flop and the NQ outputs of the third and fourth D flip-flops are respectively supplied to the three input terminals, and the output signal is supplied to the other input terminal of the second 2-input AND gate. The 3-input AND gate, the Q outputs of the second and third D flip-flops, and the NQ outputs of the fourth D flip-flops are respectively supplied to the three input terminals, and the output signals are supplied to the third 2-input AND gate. The third 3-input AND gate supplied to the other input terminal and the Q outputs of the second, third, and fourth D flip-flops are supplied to the three input terminals, respectively, and the output signal thereof is the second 2 Consisting of the fourth three-input AND gate which is supplied to the other input terminal of the power AND gate.

【0016】[0016]

【作用】この発明の構成によれば、ゲート手段において
複数の入力信号がそれぞれ供給される複数のゲート素子
が一つずつサイクリックに導通することになり、複数の
入力信号の何れかが有意(例えば“H”レベル)となる
と、その入力信号が供給されるゲート素子が導通するタ
イミングでそのゲート素子の出力信号が有意となる。こ
の結果、ゲート固定手段からゲート制御手段へゲート固
定信号が供給され、そのときの複数のゲート素子の導通
・遮断状態がゲート制御手段によって保持されることに
なる。このとき、他の入力信号が有意となっても、この
他の信号に対応したゲート素子は導通せず、したがって
そのゲート素子の出力信号が有意となることはなく、2
つ以上のゲート素子の出力信号が同時に有意となること
はない。
According to the structure of the present invention, the plurality of gate elements, to which the plurality of input signals are respectively supplied in the gate means, are made conductive one by one, and any one of the plurality of input signals is significant ( For example, when it becomes "H" level, the output signal of the gate element becomes significant at the timing when the gate element to which the input signal is supplied becomes conductive. As a result, a gate fixing signal is supplied from the gate fixing means to the gate control means, and the conduction / interruption state of the plurality of gate elements at that time is held by the gate control means. At this time, even if the other input signal becomes significant, the gate element corresponding to the other signal does not become conductive, so that the output signal of the gate element does not become significant and 2
The output signals of more than one gate element are never significant at the same time.

【0017】上記有意となった入力信号がその後有意で
なくなったときにゲート固定信号の供給が停止され、ゲ
ート制御手段によって複数のゲート素子が再び一つずつ
サイクリックに導通することになり、他の入力信号に対
応したゲート素子を導通させて、そのゲート素子の出力
信号を有意にしたり、あるいはつぎに複数の入力信号の
何れかが有意となるのを待つこととなる。
When the significant input signal becomes insignificant thereafter, the supply of the gate fixing signal is stopped, and the plurality of gate elements are cyclically turned on again one by one by the gate control means. The gate element corresponding to the input signal is turned on to make the output signal of the gate element significant, or next, it waits for any of the plurality of input signals to become significant.

【0018】また、複数の入力信号のうちの2以上が同
時に有意となると、その後先に導通する方のゲート素子
が導通するタイミングでそのゲート素子の出力信号が有
意となる。この結果、ゲート固定手段からゲート制御手
段へゲート固定信号が供給され、そのときの複数のゲー
ト素子の導通・遮断状態がゲート制御手段によって保持
されることになる。このとき、同時に有意となった他の
入力信号があっても、この他の信号に対応したゲート素
子は導通せず、したがってそのゲート素子の出力信号が
有意となることはなく、2つ以上のゲート素子の出力信
号が同時に有意となることはない。
Further, when two or more of the plurality of input signals become significant at the same time, the output signal of the gate element becomes significant at the timing at which the gate element which conducts first thereafter becomes conductive. As a result, a gate fixing signal is supplied from the gate fixing means to the gate control means, and the conduction / interruption state of the plurality of gate elements at that time is held by the gate control means. At this time, even if there is another input signal that becomes significant at the same time, the gate element corresponding to this other signal does not conduct, and therefore the output signal of that gate element does not become significant, and two or more The output signals of the gate elements are never significant at the same time.

【0019】上記先に導通したゲート素子に対応した入
力信号がその後有意でなくなったときにゲート固定信号
の供給が停止され、ゲート制御手段によって複数のゲー
ト素子が再び一つずつサイクリックに導通することにな
り、同時に有意となった他の入力信号に対応したゲート
素子を導通させて、そのゲート素子の出力信号を有意に
することになる。
When the input signal corresponding to the previously conducted gate element becomes insignificant thereafter, the supply of the gate fixing signal is stopped, and the plurality of gate elements are cyclically conducted one by one again by the gate control means. Therefore, at the same time, the gate element corresponding to the other significant input signal is rendered conductive, and the output signal of the gate element becomes significant.

【0020】[0020]

【実施例】以下、この発明の実施例のアービタ回路につ
いて、図面を参照しながら説明する。図1はこの発明の
一実施例のアービタ回路のブロック図である。図1にお
いて、1は第1ないし第4の要求信号(入力信号)A〜
Dがそれぞれ供給される4個のゲート素子からなるゲー
ト手段であり、第1ないし第4の受付信号(出力信号)
a〜dが取り出される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An arbiter circuit according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an arbiter circuit according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes first to fourth request signals (input signals) A to
D is a gate means composed of four gate elements, each of which is supplied with first to fourth acceptance signals (output signals).
a to d are taken out.

【0021】2は4個のゲート素子が一つずつサイクリ
ックに導通するように4個のゲート素子の導通・遮断を
制御するゲート制御手段であり、カウンタ2aとデコー
ダ2bとで構成される。3は4個のゲート素子の何れか
の出力信号が有意(“H”)となったときにゲート制御
手段2にゲート固定信号eを与えて4個のゲート素子の
導通・遮断状態を保持させるとともに4個のゲート素子
の何れの出力信号も有意(“H”)でなくなったときに
ゲート固定信号eの供給を停止するゲート固定手段であ
る。
Reference numeral 2 is a gate control means for controlling conduction / interruption of the four gate elements so that the four gate elements are cyclically conducted one by one, and is composed of a counter 2a and a decoder 2b. Reference numeral 3 gives a gate fixing signal e to the gate control means 2 when any of the output signals of the four gate elements becomes significant (“H”), and holds the conduction / interruption state of the four gate elements. In addition, the gate fixing means stops the supply of the gate fixing signal e when the output signals of all the four gate elements are no longer significant (“H”).

【0022】ここで、図1のアービタ回路の動作を説明
する。このアービタ回路では、ゲート手段1において複
数の要求信号A〜Dがそれぞれ供給される複数のゲート
素子が一つずつサイクリックに導通することになり、複
数の要求信号A〜Dの何れか、例えば要求信号Aが有意
(例えば“H”レベル)となると、その要求信号Aが供
給されるゲート素子が導通するタイミングでそのゲート
素子の出力信号、つまり受付信号aが有意となる。この
結果、ゲート固定手段3からゲート制御手段2へゲート
固定信号eが供給され、そのときの複数のゲート素子の
導通・遮断状態がゲート制御手段2によって保持される
ことになる。このとき、他の要求信号B〜Dが有意とな
っても、この他の要求信号B〜Dに対応したゲート素子
は導通せず、したがってそのゲート素子の出力信号、つ
まり受付信号b〜dが有意となることはなく、2つ以上
のゲート素子の出力信号が同時に有意となることはな
い。
The operation of the arbiter circuit shown in FIG. 1 will be described. In this arbiter circuit, the plurality of gate elements to which the plurality of request signals A to D are respectively supplied in the gate means 1 are made to be conductive one by one, and any one of the plurality of request signals A to D, for example, When the request signal A becomes significant (for example, “H” level), the output signal of the gate element, that is, the acceptance signal a becomes significant at the timing when the gate element to which the request signal A is supplied becomes conductive. As a result, the gate fixing signal e is supplied from the gate fixing means 3 to the gate control means 2, and the conduction / interruption state of the plurality of gate elements at that time is held by the gate control means 2. At this time, even if the other request signals B to D become significant, the gate element corresponding to the other request signals B to D does not conduct, and therefore the output signal of the gate element, that is, the acceptance signals b to d It is never significant, and the output signals of two or more gate elements are never significant at the same time.

【0023】上記有意となった要求信号Aがその後有意
でなくなったときにゲート固定信号eの供給が停止さ
れ、ゲート制御手段2によって複数のゲート素子が再び
一つずつサイクリックに導通することになり、他の要求
信号B〜Dに対応したゲート素子を導通させて、そのゲ
ート素子の出力信号、つまり受付信号b〜dを有意にし
たり、あるいはつぎに複数の要求信号A〜Dの何れかが
有意となるのを待つこととなる。
When the above-mentioned significant request signal A becomes less significant thereafter, the supply of the gate fixing signal e is stopped, and the gate control means 2 makes the plurality of gate elements cyclically conduct one by one again. Then, the gate element corresponding to the other request signals B to D is made conductive to make the output signal of the gate element, that is, the acceptance signals b to d significant, or one of the plurality of request signals A to D. We will wait until is significant.

【0024】また、複数の要求信号A〜Dのうちの2以
上、例えば要求信号A,Bが同時に有意となると、その
後先に導通する方のゲート素子が導通するタイミングで
そのゲート素子の出力信号、例えば受付信号bが有意と
なる。この結果、ゲート固定手段3からゲート制御手段
2へゲート固定信号eが供給され、そのときの複数のゲ
ート素子の導通・遮断状態がゲート制御手段2によって
保持されることになる。このとき、同時に有意となった
他の要求信号Aがあっても、この他の要求信号Aに対応
したゲート素子は導通せず、したがってそのゲート素子
の出力信号、つまり受付信号aが有意となることはな
く、2つ以上のゲート素子の出力信号が同時に有意とな
ることはない。
Further, when two or more of the plurality of request signals A to D, for example, the request signals A and B become significant at the same time, the output signal of the gate element which is turned on first is turned on. For example, the reception signal b becomes significant. As a result, the gate fixing signal e is supplied from the gate fixing means 3 to the gate control means 2, and the conduction / interruption state of the plurality of gate elements at that time is held by the gate control means 2. At this time, even if there is another request signal A that becomes significant at the same time, the gate element corresponding to this other request signal A does not conduct, and therefore the output signal of that gate element, that is, the acceptance signal a becomes significant. And the output signals of more than one gate element are never significant at the same time.

【0025】上記先に導通したゲート素子に対応した要
求信号Bがその後有意でなくなったときにゲート固定信
号eの供給が停止され、ゲート制御手段2によって複数
のゲート素子が再び一つずつサイクリックに導通するこ
とになり、同時に有意となった他の要求信号Aに対応し
たゲート素子を導通させて、そのゲート素子の出力信
号、つまり受付信号bを有意にすることになる。
When the request signal B corresponding to the previously conducted gate element becomes insignificant thereafter, the supply of the gate fixing signal e is stopped, and the gate control means 2 causes the plurality of gate elements to be cyclically again one by one. The gate element corresponding to another request signal A that has become significant at the same time is made conductive, and the output signal of the gate element, that is, the acceptance signal b becomes significant.

【0026】図2は図1のアービタ回路の具体的な回路
構成の一例を示す回路図である。図2において、ゲート
手段1は、第1ないし第4の要求信号A〜Dが一方の入
力端子に供給される第1ないし第4の2入力論理積ゲー
ト11〜14からなる。また、ゲート固定手段3は、第
1ないし第4の2入力論理積ゲート11〜14の出力が
4つの入力端子にそれぞれ供給される4入力否定論理和
ゲート19と、この4入力否定論理和ゲート19の出力
が一方の入力端子に供給される排他的論理和ゲート20
と、この排他的論理和ゲート20の出力がD入力端子に
供給されQ出力が排他的論理和ゲート20の他方の入力
端子に供給され外部クロック信号OSCがクロック端子
に供給される第1のDフリップフロップ21とからな
る。
FIG. 2 is a circuit diagram showing an example of a concrete circuit configuration of the arbiter circuit of FIG. In FIG. 2, the gate means 1 comprises first to fourth 2-input AND gates 11 to 14 to which the first to fourth request signals A to D are supplied to one input terminal. Further, the gate fixing means 3 includes a 4-input NOR gate 19 to which the outputs of the first to fourth 2-input AND gates 11 to 14 are respectively supplied to the four input terminals, and the 4-input NOR gate. An exclusive OR gate 20 whose output is supplied to one input terminal
And the output of the exclusive OR gate 20 is supplied to the D input terminal, the Q output is supplied to the other input terminal of the exclusive OR gate 20, and the external clock signal OSC is supplied to the clock terminal. And a flip-flop 21.

【0027】さらに、ゲート制御手段2は、第1のDフ
リップフロップ21のQ出力がクロック端子に供給され
る第2のDフリップフロップ22と、この第2のDフリ
ップフロップ22のQ出力がD入力端子に供給されると
ともに第1のDフリップフロップ21のQ出力がクロッ
ク端子に供給される第3のフリップフロップ23と、こ
の第3のフリップフロップ23のQ出力がD入力端子に
供給されるとともに第1のDフリップフロップ21のQ
出力がクロック端子に供給されQ出力が第1のDフリッ
プフロップ21のD入力端子に供給される第4のフリッ
プフロップ24と、第2,第3および第4のDフリップ
フロップ22,23,24のNQ出力が3つの入力端子
にそれぞれ供給され出力が第1の2入力論理積ゲート1
1の他方の入力端子に供給される第1の3入力論理積ゲ
ート15と、第2のDフリップフロップ22のQ出力お
よび第3および第4のDフリップフロップ23,24の
NQ出力が3つの入力端子にそれぞれ供給され出力が第
2の2入力論理積ゲート12の他方の入力端子に供給さ
れる第2の3入力論理積ゲート16と、第2および第3
のDフリップフロップ22,23のQ出力および第4の
Dフリップフロップ24のNQ出力が3つの入力端子に
それぞれ供給され出力が第3の2入力論理積ゲート13
の他方の入力端子に供給される第3の3入力論理積ゲー
ト17と、第2,第3および第4のDフリップフロップ
22,23,24のQ出力が3つの入力端子にそれぞれ
供給され出力が第4の2入力論理積ゲート14の他方の
入力端子に供給される第4の3入力論理積ゲート18と
からなる。
Further, the gate control means 2 includes a second D flip-flop 22 to which the Q output of the first D flip-flop 21 is supplied to the clock terminal and a Q output of the second D flip-flop 22. The third flip-flop 23 is supplied to the input terminal and the Q output of the first D flip-flop 21 is supplied to the clock terminal, and the Q output of the third flip-flop 23 is supplied to the D input terminal. Together with the Q of the first D flip-flop 21
A fourth flip-flop 24, whose output is supplied to the clock terminal and whose Q output is supplied to the D input terminal of the first D flip-flop 21, and second, third and fourth D flip-flops 22, 23, 24. NQ output is supplied to each of the three input terminals, and the output is the first 2-input AND gate 1
The first 3-input AND gate 15 supplied to the other input terminal of 1 and the Q output of the second D flip-flop 22 and the NQ outputs of the third and fourth D flip-flops 23 and 24 are three. A second 3-input AND gate 16 which is supplied to each of the input terminals and whose output is supplied to the other input terminal of the second 2-input AND gate 12, and second and third
The Q outputs of the D flip-flops 22 and 23 and the NQ output of the fourth D flip-flop 24 are respectively supplied to the three input terminals, and the outputs are output to the third 2-input AND gate 13.
Of the third 3-input AND gate 17 supplied to the other input terminal of the above and the Q outputs of the second, third and fourth D flip-flops 22, 23 and 24 are supplied to the three input terminals and output. Is provided to the other input terminal of the fourth 2-input AND gate 14, and the fourth 3-input AND gate 18 is supplied.

【0028】上記の第2,第3および第4のDフリップ
フロップ22,23,24は、ゲート固定手段3により
カウントが制御されるカウンタ2aを構成し、第1,第
2,第3および第4の3入力論理積ゲート18はカウン
タ2aの出力をデコードするデコーダ2bを構成してい
る。図3、図4および図5はこの発明の実施例のアービ
タ回路の動作を示すタイミングチャートである。図3は
要求信号が入力されていない場合のタイミングチャート
で、図4は2つ以上の要求信号がアービタ回路に同時に
入力されない場合のタイミングチャートで、図5は2つ
の要求信号がアービタ回路に同時に入力された場合のタ
イミングチャートである。
The above-mentioned second, third and fourth D flip-flops 22, 23, 24 constitute a counter 2a whose count is controlled by the gate fixing means 3, and the first, second, third and fourth counters are provided. The 4-input 3-input AND gate 18 constitutes a decoder 2b for decoding the output of the counter 2a. 3, 4 and 5 are timing charts showing the operation of the arbiter circuit according to the embodiment of the present invention. 3 is a timing chart when no request signal is input, FIG. 4 is a timing chart when two or more request signals are not input to the arbiter circuit at the same time, and FIG. 5 is two timing signals when the request signals are simultaneously input to the arbiter circuit. It is a timing chart at the time of being input.

【0029】まず、図3のタイミングチャートについて
説明する。要求信号A〜Dのすべてが有意でない
(“L”)状態では、4入力否定論理和ゲート19の出
力信号A1は“H”であり、2入力排他的論理和ゲート
20の出力信号A2およびDフリップフロップ21のQ
出力A3は、外部クロック信号OSCの1/2の周波数
で互いに逆相で“H”と“L”とを交互に繰り返してい
る。このとき、Dフリップフロップ22のQ出力B1
は、Dフリップフロップ21のQ出力A3の3周期間
“H”でつぎの3周期間“L”の繰り返しとなる。Dフ
リップフロップ23のQ出力B2は、Dフリップフロッ
プ22のQ出力B1をDフリップフロップ21のQ出力
A3の1周期分遅延させた波形となり、Dフリップフロ
ップ24のQ出力B3はDフリップフロップ23のQ出
力B2をDフリップフロップ21のQ出力A3の1周期
分遅延させた波形となる。
First, the timing chart of FIG. 3 will be described. In a state where all the request signals A to D are insignificant (“L”), the output signal A1 of the 4-input NOR gate 19 is “H”, and the output signals A2 and D of the 2-input exclusive OR gate 20. Q of flip-flop 21
The output A3 alternately repeats "H" and "L" in opposite phases at a frequency of 1/2 of the external clock signal OSC. At this time, the Q output B1 of the D flip-flop 22
Is "H" for three cycles of the Q output A3 of the D flip-flop 21 and "L" is repeated for the next three cycles. The Q output B2 of the D flip-flop 23 has a waveform obtained by delaying the Q output B1 of the D flip-flop 22 by one cycle of the Q output A3 of the D flip-flop 21, and the Q output B3 of the D flip-flop 24 is the D output of the D flip-flop 23. Q output B2 is delayed by one cycle of Q output A3 of D flip-flop 21.

【0030】3入力論理積ゲート15の出力信号D1は
Dフリップフロップ21のQ出力A3の6周期毎にDフ
リップフロップ21のQ出力A3の1周期だけ“H”と
なり残りの5周期は“L”となる波形となる。3入力論
理積ゲート16〜18の出力信号D2〜D4は、3入力
論理積ゲート15の出力信号D1の波形に対して、それ
ぞれ順次Dフリップフロップ21のQ出力A3の1周期
ずつずれた波形となる。受付信号a〜dはすべて“L”
である。
The output signal D1 of the 3-input AND gate 15 becomes "H" for one cycle of the Q output A3 of the D flip-flop 21 for every 6 cycles of the Q output A3 of the D flip-flop 21, and "L" for the remaining 5 cycles. The waveform becomes The output signals D2 to D4 of the 3-input AND gates 16 to 18 have waveforms that are sequentially shifted from the waveform of the output signal D1 of the 3-input AND gate 15 by one cycle of the Q output A3 of the D flip-flop 21, respectively. Become. Reception signals a to d are all "L"
Is.

【0031】つぎに、2つ以上の要求信号が同時に有意
(“H”)にならない場合、例えば要求信号Aが単独で
有意(“H”)になる場合について、図4のタイミング
チャートについて説明する。2入力論理積ゲート11に
入力される要求信号Aが“H”となり、3入力論理積ゲ
ート15の出力信号D1が“H”になると、2入力論理
積ゲート11の出力信号である受付信号aは“H”とな
り、4入力否定論理和ゲート19の出力信号A1は
“L”となり、2入力排他的論理和ゲート20の一方の
入力が“L”となるため、2入力排他的論理和ゲート2
0の出力信号A2は、Dフリップフロップ21のQ出力
A3に等しくなり、外部クロック信号OSCの立ち上が
りエッジがDフリップフロップ21のクロック端子に入
力されても、Dフリップフロップ21のQ出力A3は前
サイクルのQ出力の結果を保持することで、Dフリップ
フロップ22〜24の出力状態は、前サイクルの結果を
保持するので、3入力論理積ゲート15〜18の出力結
果も前サイクルの状態、つまり3入力論理積ゲート15
の出力信号D1のみが“H”となって、受付信号aは
“H”となり、要求信号Aが受け付けられたことにな
る。これは、要求信号B,C,Dの場合でも同様の動作
である。
Next, the timing chart of FIG. 4 will be described when two or more request signals do not become significant ("H") at the same time, for example, when the request signal A becomes significant ("H") alone. . When the request signal A input to the 2-input AND gate 11 becomes "H" and the output signal D1 of the 3-input AND gate 15 becomes "H", the acceptance signal a which is the output signal of the 2-input AND gate 11 Becomes "H", the output signal A1 of the 4-input NOR gate 19 becomes "L", and one input of the 2-input exclusive OR gate 20 becomes "L", so that the 2-input exclusive OR gate Two
The output signal A2 of 0 becomes equal to the Q output A3 of the D flip-flop 21, and even if the rising edge of the external clock signal OSC is input to the clock terminal of the D flip-flop 21, the Q output A3 of the D flip-flop 21 is By holding the result of the Q output of the cycle, the output state of the D flip-flops 22 to 24 holds the result of the previous cycle. Therefore, the output result of the 3-input AND gates 15 to 18 is also the state of the previous cycle, that is, 3-input AND gate 15
Only the output signal D1 of "1" becomes "H", the acceptance signal a becomes "H", and the request signal A is accepted. This is the same operation for the request signals B, C, and D.

【0032】つぎに、2つの要求信号A,Bが同時に有
意(“H”)となった場合について、図5のタイミング
チャートについて説明する。アービタ回路に入力される
要求信号Aと要求信号Bが同時に“H”となったとき、
3入力論理積ゲート15の出力信号D1が“L”であ
り、3入力論理積ゲート16の出力信号D2が“H”で
あり、3入力論理積ゲート17,18の出力信号D3,
D4が“L”であるとき、2入力論理積ゲート11,1
3,14の出力信号である受付信号a,c,dは“L”
となり、2入力論理積ゲート12の出力信号である受付
信号bは“H”となり、4入力否定論理和ゲート19の
出力信号A1は“L”となる。2入力排他的論理和ゲー
ト20の一方の入力が“L”となるため、2入力排他的
論理和ゲート20の出力信号A2は、Dフリップフロッ
プ21のQ出力A3に等しくなり、外部クロック信号O
SCの立ち上がりエッジがDフリップフロップ21のク
ロック端子に入力されても、Dフリップフロップ21の
Q出力A3は前サイクルのQ出力の結果を保持し、Dフ
リップフロップ22〜24の出力状態は、前サイクルの
結果を保持するので、3入力論理積ゲート15〜18の
出力結果も前サイクルの状態、つまり3入力論理積ゲー
ト16の出力信号D2のみが、“H”となり、受付信号
bが“H”となって、要求信号Bが受け付けられたこと
になる。その後、要求信号Bが“L”になると、2入力
論理積ゲート12の出力信号が“L”になり、4入力否
定論理和ゲート19の出力信号A1が“H”となり、2
入力排他的論理和ゲート20の出力信号A2は、Dフリ
ップフロップ21のQ出力A3の反転信号となり、外部
クロック信号OSCの立ち上がりエッジがDフリップフ
ロップ21のクロック端子に入力されると、Dフリップ
フロップ21のQ出力A3は前サイクルのQ出力の反転
信号となり、Dフリップフロップ21のQ出力A3が
“L”から“H”を繰り返すと、Dフリップフロップ2
2〜24の出力状態が遷移し続け、その後3入力論理積
ゲート15の出力信号D1が“H”となった時、2入力
論理積ゲート11の出力信号である受付信号aが“H”
となり、4入力否定論理和ゲート19の出力信号A1は
“L”となる。2入力排他的論理和ゲート19の1入力
が“L”となるため、4入力排他的論理和ゲート21の
出力信号A2は、Dフリップフロップ21のQ出力A3
に等しくなり、外部クロック信号OSCの立ち上がりエ
ッジがDフリップフロップ21のクロック端子に入力さ
れても、Dフリップフロップ21のQ出力A3は前サイ
クルのQ出力の結果を保持し、Dフリップフロップ22
〜24の出力状態は、前サイクルの結果を保持するの
で、3入力論理積ゲート15〜18の出力結果も前サイ
クルの状態、つまり3入力論理積ゲート15の出力信号
D1のみが、“H”となり、受付信号aが“H”となっ
て、要求信号Aが受け付けられたことになる。以下、3
つ以上の要求信号が同時に入力されても同様の動作であ
る。
Next, the timing chart of FIG. 5 will be described for the case where the two request signals A and B simultaneously become significant ("H"). When the request signal A and the request signal B input to the arbiter circuit simultaneously become “H”,
The output signal D1 of the 3-input AND gate 15 is "L", the output signal D2 of the 3-input AND gate 16 is "H", and the output signals D3 of the 3-input AND gates 17 and 18 are
When D4 is "L", 2-input AND gates 11 and 1
The acceptance signals a, c, d which are the output signals of 3, 14 are "L".
Therefore, the acceptance signal b, which is the output signal of the 2-input AND gate 12, becomes "H", and the output signal A1 of the 4-input NOR gate 19 becomes "L". Since one input of the 2-input exclusive OR gate 20 becomes "L", the output signal A2 of the 2-input exclusive OR gate 20 becomes equal to the Q output A3 of the D flip-flop 21, and the external clock signal O
Even if the rising edge of SC is input to the clock terminal of the D flip-flop 21, the Q output A3 of the D flip-flop 21 holds the result of the Q output of the previous cycle, and the output states of the D flip-flops 22 to 24 are Since the result of the cycle is held, the output results of the 3-input AND gates 15 to 18 are also in the state of the previous cycle, that is, only the output signal D2 of the 3-input AND gate 16 becomes "H" and the acceptance signal b becomes "H". ", Which means that the request signal B has been accepted. After that, when the request signal B becomes "L", the output signal of the 2-input AND gate 12 becomes "L", and the output signal A1 of the 4-input NOR gate 19 becomes "H".
The output signal A2 of the input exclusive OR gate 20 becomes an inverted signal of the Q output A3 of the D flip-flop 21, and when the rising edge of the external clock signal OSC is input to the clock terminal of the D flip-flop 21, The Q output A3 of 21 becomes an inverted signal of the Q output of the previous cycle, and when the Q output A3 of the D flip-flop 21 repeats from "L" to "H", the D flip-flop 2
When the output states of 2 to 24 continue to transition and then the output signal D1 of the 3-input AND gate 15 becomes "H", the acceptance signal a which is the output signal of the 2-input AND gate 11 is "H".
Therefore, the output signal A1 of the 4-input NOR gate 19 becomes "L". Since one input of the 2-input exclusive OR gate 19 becomes "L", the output signal A2 of the 4-input exclusive OR gate 21 is the Q output A3 of the D flip-flop 21.
Even if the rising edge of the external clock signal OSC is input to the clock terminal of the D flip-flop 21, the Q output A3 of the D flip-flop 21 holds the result of the Q output of the previous cycle, and the D flip-flop 22
Since the output states of ~ 24 hold the result of the previous cycle, the output results of the 3-input AND gates 15-18 are also in the state of the previous cycle, that is, only the output signal D1 of the 3-input AND gate 15 is "H". The acceptance signal a becomes "H", and the request signal A is accepted. Below 3
The same operation is performed even if one or more request signals are input at the same time.

【0033】これにより、競合する2つ以上の要求信号
A〜Dを調整し、いずれか一つの要求信号を選択すると
いうアービタ回路としての仕様を満足する。なお、上記
実施例では、4つの要求信号を調整するアービタ回路の
実施例について説明したが、調整の対象となる要求信号
の数は4つに限らず、アービタ回路の具体的な回路構成
は調整の対象となる要求信号の数に応じて適宜変更され
る。
As a result, the specifications of the arbiter circuit of adjusting two or more competing request signals A to D and selecting any one of the request signals are satisfied. In the above embodiment, the embodiment of the arbiter circuit that adjusts four request signals has been described. However, the number of request signals to be adjusted is not limited to four, and the specific circuit configuration of the arbiter circuit is adjusted. The number is appropriately changed according to the number of request signals to be processed.

【0034】[0034]

【発明の効果】この発明のアービタ回路によれば、複数
の入力信号がそれぞれ供給される複数のゲート素子から
なるゲート手段を設け、複数のゲート素子が一つずつサ
イクリックに導通するように複数のゲート素子の導通・
遮断を制御するゲート制御手段を設け、複数のゲート素
子の何れかの出力信号が有意となったときにゲート制御
手段にゲート固定信号を与えて複数のゲート素子の導通
・遮断状態を保持させるとともに複数のゲート素子の何
れの出力信号も有意でなくなったときにゲート固定信号
の供給を停止するゲート固定手段を設けたので、遅延回
路を使用せずに複数の入力信号の競合を調整する回路を
構成でき、したがってより小さい回路規模で、2つ以上
の要求信号の競合を調整することを可能である。
According to the arbiter circuit of the present invention, the gate means including the plurality of gate elements to which the plurality of input signals are respectively supplied is provided, and the plurality of gate elements are cyclically conducted one by one. Conduction of the gate element of
A gate control means for controlling interruption is provided, and when the output signal of any of the plurality of gate elements becomes significant, a gate fixing signal is given to the gate control means to maintain the conduction / interruption state of the plurality of gate elements. Since the gate fixing means for stopping the supply of the gate fixing signal when any output signal of the plurality of gate elements becomes insignificant is provided, a circuit for adjusting the competition of the plurality of input signals without using the delay circuit is provided. It is possible to configure, and thus it is possible to adjust the competition of two or more request signals with a smaller circuit scale.

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

【図1】この発明の一実施例のアービタ回路の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of an arbiter circuit according to an embodiment of the present invention.

【図2】図1のアービタ回路の具体的な構成を示す回路
図である。
FIG. 2 is a circuit diagram showing a specific configuration of the arbiter circuit shown in FIG.

【図3】図2の動作を示すタイミングチャートである。FIG. 3 is a timing chart showing the operation of FIG.

【図4】図2の動作を示すタイミングチャートである。FIG. 4 is a timing chart showing the operation of FIG.

【図5】図2の動作を示すタイミングチャートである。FIG. 5 is a timing chart showing the operation of FIG.

【図6】従来のアービタ回路の構成を示すブロック図で
ある。
FIG. 6 is a block diagram showing a configuration of a conventional arbiter circuit.

【図7】従来のアービタ回路に用いられる3R−RSフ
リップフロップの構成を示す回路図である。
FIG. 7 is a circuit diagram showing a configuration of a 3R-RS flip-flop used in a conventional arbiter circuit.

【符号の説明】[Explanation of symbols]

1 ゲート手段 2 ゲート制御手段 3 ゲート固定手段 11〜14 2入力論理積ゲート 15〜18 3入力論理積ゲート 19 4入力否定論理和ゲート 20 2入力排他的論理和ゲート 21〜24 Dフリップフロップ 101 2入力否定論理和ゲート 102 4入力否定論理和ゲート 111〜114 2入力論理積ゲート 115〜118 3R−RSフリップフロップ 119〜122 遅延素子 123,124 2入力論理和ゲート 125 4入力否定論理和ゲート 1 Gate Means 2 Gate Control Means 3 Gate Fixing Means 11 to 14 2 Input AND Gates 15 to 18 3 Input AND Gates 19 4 Input NOR Gates 20 2 Input Exclusive OR Gates 21 to 24 D Flip-Flops 10 12 Input NOR gate 102 4-input NOR gate 111-114 2-input AND gate 115-118 3R-RS flip-flop 119-122 Delay element 123,124 2-input OR gate 125 4-input NOR gate

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の入力信号がそれぞれ供給される複
数のゲート素子からなるゲート手段と、 前記複数のゲート素子が一つずつサイクリックに導通す
るように前記複数のゲート素子の導通・遮断を制御する
ゲート制御手段と、 前記複数のゲート素子の何れかの出力信号が有意となっ
たときに前記ゲート制御手段にゲート固定信号を与えて
前記複数のゲート素子の導通・遮断状態を保持させると
ともに前記複数のゲート素子の何れの出力信号も有意で
なくなったときに前記ゲート固定信号の供給を停止する
ゲート固定手段とを備えたアービタ回路。
1. A gate means composed of a plurality of gate elements to which a plurality of input signals are respectively supplied, and conduction / interruption of the plurality of gate elements so that the plurality of gate elements are cyclically conducted one by one. Gate control means for controlling, and when the output signal of any of the plurality of gate elements becomes significant, a gate fixing signal is given to the gate control means to maintain the conduction / interruption state of the plurality of gate elements. An arbiter circuit comprising: gate fixing means for stopping the supply of the gate fixing signal when any output signal of the plurality of gate elements becomes insignificant.
【請求項2】 ゲート手段が、第1ないし第4の入力信
号が一方の入力端子に供給される第1ないし第4の2入
力論理積ゲートからなり、 ゲート固定手段が、前記第1ないし第4の2入力論理積
ゲートの出力信号が4つの入力端子にそれぞれ供給され
る4入力否定論理和ゲートと、この4入力否定論理和ゲ
ートの出力信号が一方の入力端子に供給される排他的論
理和ゲートと、この排他的論理和ゲートの出力信号がD
入力端子に供給されQ出力が前記排他的論理和ゲートの
他方の入力端子に供給され外部クロック信号がクロック
端子に供給される第1のDフリップフロップとからな
り、 ゲート制御手段が、前記第1のDフリップフロップのQ
出力がクロック端子に供給される第2のDフリップフロ
ップと、この第2のDフリップフロップのQ出力がD入
力端子に供給されるとともに前記第1のDフリップフロ
ップのQ出力がクロック端子に供給される第3のフリッ
プフロップと、この第3のフリップフロップのQ出力が
D入力端子に供給されるとともに前記第1のDフリップ
フロップのQ出力がクロック端子に供給されQ出力が前
記第1のDフリップフロップのD入力端子に供給される
第4のフリップフロップと、前記第2,第3および第4
のDフリップフロップのNQ出力(Q出力の反転を意味
する)が3つの入力端子にそれぞれ供給され出力信号が
前記第1の2入力論理積ゲートの他方の入力端子に供給
される第1の3入力論理積ゲートと、前記第2のDフリ
ップフロップのQ出力および前記第3および第4のDフ
リップフロップのNQ出力が3つの入力端子にそれぞれ
供給され出力信号が前記第2の2入力論理積ゲートの他
方の入力端子に供給される第2の3入力論理積ゲート
と、前記第2および第3のDフリップフロップのQ出力
および前記第4のDフリップフロップのNQ出力が3つ
の入力端子にそれぞれ供給され出力信号が前記第3の2
入力論理積ゲートの他方の入力端子に供給される第3の
3入力論理積ゲートと、前記第2,第3および第4のD
フリップフロップのQ出力が3つの入力端子にそれぞれ
供給され出力信号が前記第4の2入力論理積ゲートの他
方の入力端子に供給される第4の3入力論理積ゲートと
からなる請求項1記載のアービタ回路。
2. The gate means comprises first to fourth two-input AND gates to which one of the first to fourth input signals is supplied to one input terminal, and the gate fixing means comprises the first to fourth input gates. A 4-input NOR gate to which the output signal of the 4-input 2-AND gate is supplied to four input terminals respectively, and an exclusive logic in which the output signal of the 4-input NOR gate is supplied to one input terminal The output signal of the OR gate and this exclusive OR gate is D
A first D flip-flop which is supplied to the input terminal, whose Q output is supplied to the other input terminal of the exclusive OR gate, and whose external clock signal is supplied to the clock terminal; Q of D flip-flop
A second D flip-flop whose output is supplied to the clock terminal, and a Q output of the second D flip-flop is supplied to the D input terminal and a Q output of the first D flip-flop is supplied to the clock terminal. And a Q output of the third flip-flop is supplied to a D input terminal, a Q output of the first D flip-flop is supplied to a clock terminal, and a Q output is supplied to the first flip-flop. A fourth flip-flop supplied to the D input terminal of the D flip-flop, and the second, third and fourth flip-flops.
The NQ output (meaning the inversion of the Q output) of the D flip-flop is supplied to each of the three input terminals, and the output signal is supplied to the other input terminal of the first two-input AND gate. An input AND gate, the Q output of the second D flip-flop and the NQ outputs of the third and fourth D flip-flops are supplied to three input terminals, respectively, and the output signal is the second 2-input AND. A second 3-input AND gate supplied to the other input terminal of the gate, Q outputs of the second and third D flip-flops, and NQ outputs of the fourth D flip-flop are provided at three input terminals. The output signal supplied to each of the third two
A third three-input AND gate supplied to the other input terminal of the input AND gate, and the second, third and fourth D
2. A fourth 3-input AND gate, wherein the Q output of the flip-flop is supplied to each of the three input terminals, and the output signal is supplied to the other input terminal of the fourth 2-input AND gate. Arbiter circuit.
JP21840094A 1994-09-13 1994-09-13 Arbiter circuit Pending JPH0883242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21840094A JPH0883242A (en) 1994-09-13 1994-09-13 Arbiter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21840094A JPH0883242A (en) 1994-09-13 1994-09-13 Arbiter circuit

Publications (1)

Publication Number Publication Date
JPH0883242A true JPH0883242A (en) 1996-03-26

Family

ID=16719320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21840094A Pending JPH0883242A (en) 1994-09-13 1994-09-13 Arbiter circuit

Country Status (1)

Country Link
JP (1) JPH0883242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211775A (en) * 2020-01-14 2020-05-29 西安电子科技大学 Three-input average arbitration circuit for dynamic vision sensor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211775A (en) * 2020-01-14 2020-05-29 西安电子科技大学 Three-input average arbitration circuit for dynamic vision sensor
CN111211775B (en) * 2020-01-14 2023-05-30 西安电子科技大学 Three-input average arbitration circuit for dynamic vision sensor

Similar Documents

Publication Publication Date Title
JP2614345B2 (en) Scan flip-flop
JPH01155711A (en) Logic circuit
JP2011180736A (en) Clock control signal generation circuit, clock selector and data processing device
JP2576366B2 (en) Variable delay buffer circuit
JP2003015762A (en) Clock control circuit
US6472909B1 (en) Clock routing circuit with fast glitchless switching
JPS6340412A (en) Limited state mechanical circuit
US6049236A (en) Divide-by-one or divide-by-two qualified clock driver with glitch-free transitions between operating frequencies
US5535376A (en) Data processor having a timer circuit for performing a buffered pulse width modulation function and method therefor
JPH0883242A (en) Arbiter circuit
JP4204655B2 (en) Microcomputer with pulse output function
JPH0834417B2 (en) Input control circuit
JP2003188692A (en) Flip-flop circuit
JP2642566B2 (en) System controller clock regeneration circuit
KR100433933B1 (en) Clock noise reduction circuit
JP2545986B2 (en) Logical path multiplexing method
JPS62239257A (en) Microprocessor
JPH09145803A (en) Test mode setting circuit
JPH1185306A (en) Clock switch circuit
JP2754654B2 (en) Microcomputer output control circuit
JPH04183017A (en) Flip-flop circuit
JP2002318637A (en) Timer control circuit
JPH01134556A (en) Function selection control circuit
JPH04349515A (en) Data processor
JPH0728662A (en) Microcomputer