JPS63116260A - Priority order determining circuit - Google Patents

Priority order determining circuit

Info

Publication number
JPS63116260A
JPS63116260A JP26204286A JP26204286A JPS63116260A JP S63116260 A JPS63116260 A JP S63116260A JP 26204286 A JP26204286 A JP 26204286A JP 26204286 A JP26204286 A JP 26204286A JP S63116260 A JPS63116260 A JP S63116260A
Authority
JP
Japan
Prior art keywords
bus
terminal
logic
circuit
signal
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
JP26204286A
Other languages
Japanese (ja)
Inventor
Toshihiko Sato
敏彦 佐藤
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 JP26204286A priority Critical patent/JPS63116260A/en
Priority to AU80668/87A priority patent/AU595074B2/en
Publication of JPS63116260A publication Critical patent/JPS63116260A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines

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 provide a chance for acquiring a fair bus using right by storing plural bus requests temporarily, resetting the requests at the time of starting the use of the bus and inhibiting the input of a new bus using request until all the bus using requests in respective storage parts are completely reset. CONSTITUTION:The storage parts 11-14 store bus using requests from respective bus masters. Bus request signals R1-R4 are inputted to REQ terminals of respective storage parts 11-14. The reset signal, the inverse of RST is inputted to RST terminals of the storage parts 11-14, and positive logical signals are outputted from respective RQ terminals and connected to a fixed priority order determining circuit 16 and a NOR gate 17. A signal indicating a bus request empty state is inputted from the gate 17 to EMP terminals of the storage parts 11-14. An OR gate 15 ORs the PD signals outputted from the storage parts 11-14 to indicate that a bus request is held in any one of the storage part. The output terminals A1-A4 of the circuit 16 are connected to the PRN input terminals of respective storage parts 11-14.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバス使用権の優先順位決定回路に関し、特に複
数のバス使用要求lが単一のバスを共有する際のバス使
用権の調停方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a bus usage right priority determining circuit, and in particular to an arbitration system for bus usage rights when a plurality of bus usage requests share a single bus. Regarding.

〔従来の技術〕[Conventional technology]

従来から優先順位決定回路として、固定優先順位決定回
路と回転優先順位決定回路との2種類の優先順位決定回
路が知ら扛でいる。
Conventionally, two types of priority determining circuits have been known: a fixed priority determining circuit and a rotating priority determining circuit.

固定優先順位決定回路は、複数のバス使用要求に対し一
義的に(予め定めらnた順序で)優先順位を与える回路
である。例えば、4つのバス使用要求R1,R2,R3
,R4の優先順位を考えると、こnら4つの要求に対す
る優先順位をR1>R2>R3>R4,とする。即ち、
R1を最優先とし、この固定優先順位決定回路は第7図
のように機能する。第7図において、バス使用要求R1
,R2,R3及びR4がそnぞnバス使用権獲得AI、
A2.A5及びA4に対応する。バス使用要求で、1は
ハス使用要求が存在することを、@o”hバス使用要求
がないことを、X”はバス使用要求があると無い場合の
どちらか一方の状態であることを示す(即ち9機能的に
は1.0に無関係であることを意味する)。一方。
The fixed priority determination circuit is a circuit that uniquely (in a predetermined order) gives priority to a plurality of bus usage requests. For example, four bus usage requests R1, R2, R3
, R4, the priority order for these four requests is set as R1>R2>R3>R4. That is,
This fixed priority determining circuit functions as shown in FIG. 7, with R1 given the highest priority. In FIG. 7, bus use request R1
, R2, R3, and R4 each acquire the right to use the n bus,
A2. Compatible with A5 and A4. For bus use requests, 1 indicates that there is a bus use request, @o"h indicates that there is no bus use request, and X indicates that there is either a bus use request or no bus use request. (That means 9 is functionally unrelated to 1.0). on the other hand.

バス使用権獲得で、“1″はバス使用権を獲得している
ことを、“0”はバス使用権を獲得していないことを示
す。
In acquiring the right to use the bus, "1" indicates that the right to use the bus has been acquired, and "0" indicates that the right to use the bus has not been acquired.

回転優先順位決定回路は複数のバス使用要求に対して、
優先順位を動的に変えている。例えば、4つのバス使用
要求R1,R2,R3,R4の優先順位を考えると、こ
扛らバス使用要求の優と同様の意味をもつ。
The rotation priority determination circuit responds to multiple bus usage requests.
Dynamically changing priorities. For example, considering the priority order of the four bus use requests R1, R2, R3, and R4, these have the same meaning as the priority of the bus use requests.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、固定優先順位決定回路の場合、他の回路、即
ち1回転優先順位決定回路に比べて簡単なハードウェア
で実現できるというメリットがある反面、第5図に示す
ように優先度の高示 いバス使用要求者(例えば、R1)が頻繁にバスを使用
する場合、そn以上の要求)−(R2゜R3,R4)、
特にR4がバス使用権を獲得できないという問題点があ
る。一方9回転優先順位決定回路の場合、すべてのバス
使用要求者に対し必ずバス使用権獲得の機会を与える反
面優先順位決定がバス切換えの直前に行なわ扛るため1
例えば第6図に示すようにR4がR3よりも早くバス使
用要求信号?出力していたにも関わらすR6の方がR4
よシも早くバス使用権を獲得するということが起こる。
By the way, in the case of a fixed priority determination circuit, it has the advantage that it can be realized with simpler hardware than other circuits, that is, one-rotation priority determination circuit, but on the other hand, as shown in Fig. If a bus requester (for example, R1) frequently uses the bus, n or more requests) - (R2°R3, R4),
In particular, there is a problem that R4 cannot acquire the right to use the bus. On the other hand, in the case of the 9-rotation priority determination circuit, all bus requesters are guaranteed the opportunity to acquire the right to use the bus, but on the other hand, priority determination is performed immediately before bus switching.
For example, as shown in FIG. 6, does R4 signal a bus use request earlier than R3? Even though it was outputting, R6 is better than R4
It happens that Yoshi also acquires the right to use the bus quickly.

このため回転優位決定回路ではすべてのバス使用要求者
に対する公平な機会を与えることができないという問題
点がある。
For this reason, there is a problem in that the rotational superiority determination circuit cannot give a fair opportunity to all requesters to use the bus.

本発明の目的は、すべてのバス使用要求に対し公平なバ
ス使用権獲得の機会を与える回路を提供することにあり
、さらに、バス使用要求順にバス使用権を与えることの
できる優先順位決定回路を提供することにある。
An object of the present invention is to provide a circuit that gives all bus usage requests a fair opportunity to acquire bus usage rights, and furthermore, to provide a priority determining circuit that can grant bus usage rights in the order of bus usage requests. It is about providing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の優先順位決定回路は、バス使用要求を一時的に
記憶する記憶回路と、この記憶回路にいかなるバス使用
要求も記憶さfていないこと、すなわち空であることを
検出する第1の検出回路と、バス使用要求が記憶回路に
保留されていることを検出する第2の検出回路と、バス
の使用を許可された要求元がバスの便用を開始したこと
を示す開始信号によりその要求元に対要求がすべてリセ
ットさ扛、記憶回路が空になると、新たなバス使用要求
を記憶するようにしたことを特徴としている。
The priority determination circuit of the present invention includes a storage circuit that temporarily stores bus usage requests, and a first detection circuit that detects that the storage circuit does not store any bus usage requests, that is, is empty. a second detection circuit for detecting that a request to use the bus is pending in the storage circuit; The feature is that when all the original requests are reset and the storage circuit becomes empty, a new bus use request is stored.

〔実施例〕〔Example〕

次に本発明について実施例によ、って説明する。 Next, the present invention will be explained with reference to examples.

第1図は本発明の一実施例を示すブロック図である。な
お、第1図では4つのバス使用要求元(以下バスマスタ
と呼ぶ)ヲ考える。第1図を参照して、1〜4はバスマ
スター示し、5け優先順位決定回路?示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, four bus use request sources (hereinafter referred to as bus masters) are considered. Referring to FIG. 1, 1 to 4 indicate bus masters, and 5 indicates a priority order determining circuit. show.

バスマスター1のバス使用要求端子Rは優先順位決定回
路5の端子R1に接続さ扛、そのバス使用許可信号端子
Aid優先順位決定回路5の端子A1に接続さnている
。同様にして、バスマスター2のバス使用要求端子Rと
バス使用許可信号端子Aはそnぞn優先順位決定回路5
の端子R2と端子A2に、バスマスター3のバス使用要
求端子Rとバス使用許可信号端子Aけそnぞn優先順位
決定回路5の端子R3と端子A6に、バスマスター4の
バス使用要求端子Rトハス使用許可信号端子Aidそn
ぞn優先順位決定回路5の端子R3と端子A3に接続さ
nている。
The bus use request terminal R of the bus master 1 is connected to the terminal R1 of the priority order determination circuit 5, and its bus use permission signal terminal Aid is connected to the terminal A1 of the priority order determination circuit 5. Similarly, the bus use request terminal R and the bus use permission signal terminal A of the bus master 2 are connected to the priority order determining circuit 5.
The bus use request terminal R and the bus use permission signal terminal A of the bus master 3 are connected to the terminal R2 and the terminal A2 of the bus master 3, and the bus use request terminal R of the bus master 4 is connected to the terminal R3 and the terminal A6 of the priority determination circuit 5. Tohas use permission signal terminal Aidson
It is connected to the terminal R3 and the terminal A3 of the priority order determining circuit 5.

バスマスター1〜4の端子百からはバス使用中を示すビ
ジー信号を送出し、各バスマスター1〜4はバスの使用
を開始する時ビジー信号をActive (0”)にし
、終了した時にビジー信号を工nactivθ(−″)
にする。なおバスの使用を終了した時はバス使用要求R
も同時に1n−active (なお、バス使用要求R
は正論理であるためこの場合(工nactiVθ)は0
″)になる。そして、バスマスター1〜4の端子百と優
先順位決定回路5の端子BUSYとが接続さnる。
A busy signal indicating that the bus is in use is sent from the terminals of bus masters 1 to 4, and each bus master 1 to 4 sets the busy signal to Active (0'') when it starts using the bus, and when it ends, it outputs the busy signal. nactiveθ(-″)
Make it. Furthermore, when you finish using the bus, request R to use the bus.
is also 1n-active (in addition, the bus use request R
is positive logic, so in this case (nactiVθ) is 0
Then, the terminals of the bus masters 1 to 4 and the terminal BUSY of the priority determining circuit 5 are connected.

クロック信号CLKがバスマスター1〜4の端子Cと優
先順位決定回路5の端子CLKに接続さnる。リセット
信号R8Tは電源投入後所定の期間Active (1
0″)になシ、各バスマスター1〜4と優先順位決定回
路5とを初期化する。その後リセット信号RS T f
3 Inactive(11”)になる。リセット信号
R8Tはバスマスター1〜4及び優先順位決定回路5の
端子R6Tに接続される。
A clock signal CLK is connected to the terminals C of the bus masters 1 to 4 and the terminal CLK of the priority order determining circuit 5. The reset signal R8T remains active (1
0''), initializes each bus master 1 to 4 and the priority determination circuit 5. Then, the reset signal RS T f
3 becomes Inactive (11''). The reset signal R8T is connected to the bus masters 1 to 4 and the terminal R6T of the priority order determining circuit 5.

第2図に優先順位決定回路5の構成を示す。FIG. 2 shows the configuration of the priority order determining circuit 5.

第2図を参照して、記憶部11〜14はそ扛ぞnバスマ
スター1〜4のバス使用要求(以下バスリクエストと言
う)を記憶する。この記憶部は各バスリクエスト毎、即
ち、バスマスターに対応して存在する。正論理のバスリ
クエスト信号R1〜R4uそnぞn記憶部11〜140
REQ。
Referring to FIG. 2, storage units 11-14 store bus use requests (hereinafter referred to as bus requests) from bus masters 1-4. This storage unit exists for each bus request, that is, for each bus master. Positive logic bus request signals R1 to R4u storage units 11 to 140
REQ.

端子に入力さnる。クロック信号CLKが記憶部11〜
14の0LOf:!に端子及びウィンド生成回路(WI
NDOW生成回路)18に入力さ扛る。
input to the terminal. The clock signal CLK is sent to the storage unit 11~
14 of 0LOf:! terminal and window generation circuit (WI
(NDOW generation circuit) 18.

前述のリセット信号R8Tlj記憶部11〜14のR8
T端子に入力さnる。記憶部11〜14のRQ、端子か
らは後述のように正論理の信号が出力さnる。このRQ
、端子は固定優先順位決定回路16及びノアゲート(N
ORゲート)17に接続さnる。NORゲート7からは
エンプティ(EMPTY)信号が出力さn、このEMP
TY信号は記憶部11〜14のいず扛にもバスリクエス
トが存在しない場合、論理“1”となる。即ち、とのE
MPTY信号はバスリクエストが空の状態を示す信号で
あり、記憶部11〜14のKMP端子に入力さ扛る。
The above-mentioned reset signal R8Tlj R8 of the storage units 11 to 14
Input to T terminal. Positive logic signals are output from the RQ terminals of the storage units 11 to 14 as described later. This RQ
, the terminals are connected to the fixed priority determination circuit 16 and the NOR gate (N
(OR gate) 17. An empty (EMPTY) signal is output from the NOR gate 7, and this EMP
The TY signal becomes logic "1" when there is no bus request in any of the storage units 11-14. That is, E with
The MPTY signal is a signal indicating that the bus request is empty, and is input to the KMP terminals of the storage units 11 to 14.

記憶部11〜14のFD端子からは、バスリクエストが
存在し、かつバス使用許可信号のない状態において、論
理11″の信号が出力さnる。即ち、バスリクエストが
保留されていることを示すリクエストベンディング(R
FiQ、UESTP]lf:ND工NG)信号が出力さ
n、この信号はオアゲート(ORゲート)15に入力さ
nる。
The FD terminals of the storage units 11 to 14 output a logic 11'' signal when a bus request exists and there is no bus use permission signal. That is, it indicates that the bus request is pending. Request bending (R
FiQ, UESTP]lf: ND engineering NG) signal is output, and this signal is input to the OR gate (OR gate) 15.

ORゲート15は記憶部11〜14から出力さnるPD
倍信号論理和をとり、その出力によって記憶部11〜1
4のいすnかにバスリクエストが保留さnていることが
示さnる。そしてORゲート15の出力信号は記憶部1
1〜140FEND入力端子とWINDOW生成回路1
8に入力さnる。固定優先順位決定回路の出力端子A1
〜A4uそnぞn記憶部11〜14のPRN入力端子に
接続さnる。なお、BUSY端子はWINDOW生成回
路18に接続さn、一方。
The OR gate 15 outputs PDs from the storage units 11 to 14.
The logical sum of the double signals is taken, and the output is used in the storage units 11 to 1.
This indicates that a bus request is pending in chair No. 4. The output signal of the OR gate 15 is then
1 to 140 FEND input terminal and WINDOW generation circuit 1
Enter 8. Output terminal A1 of fixed priority determination circuit
-A4u are connected to the PRN input terminals of the storage units 11-14. Note that the BUSY terminal is connected to the WINDOW generation circuit 18.

WINDOW生成回路18の出力は記憶部11〜14の
W工ND入力端子に入力さnる。
The output of the WINDOW generation circuit 18 is input to the W input terminals of the storage units 11 to 14.

第6図にバスリクエスト記憶部の構成を示す。FIG. 6 shows the configuration of the bus request storage section.

第6図を参照して、RKQ端子はアンドゲート(AND
ゲート)LO2及び104に接続さnている。EMP端
子はANDゲート102に接続さ扛ている。FIND端
子はANDゲート102に接続されている。W工ND端
子はANDゲート103に接続さnている。PRN端子
u ANDゲート103とインバータ101に接続さn
ている。インバータ101の出力1jANDゲート10
4に入力さnる。ANDゲート102の出力は、T−に
フリップフロップ(以下フリップフロップをF/Fとい
う。)105のJ端子に入力される。ANDゲート10
6の出力は、T−KF/F105のに端子とDF’/F
’10<SのD端子に入力さnる。DF/F106の出
力はアクティブロウ(Activerow )のマスク
(MASK)信号であ5.ANDゲート102に入力さ
扛る。
Referring to FIG. 6, the RKQ terminal is connected to an AND gate (AND
(gate) connected to LO2 and 104. The EMP terminal is connected to an AND gate 102. The FIND terminal is connected to AND gate 102. The ND terminal of W is connected to AND gate 103. PRN terminal u connected to AND gate 103 and inverter 101 n
ing. Output 1j of inverter 101 AND gate 10
Enter 4. The output of the AND gate 102 is input to the J terminal of a flip-flop (hereinafter referred to as F/F) 105 at T-. AND gate 10
The output of 6 is connected to the terminal of T-KF/F105 and DF'/F.
'10<S input to D terminal. The output of the DF/F 106 is an active low mask (MASK) signal.5. The signal is input to AND gate 102.

C1ock端子は、T−K F/F 105及びD F
’/F106のcp端子に接続さnる。また、R8T端
子はJ−K F/F 105及びDF/F106   
、のR8T端子に接続さnる。ANDゲート104はP
D端子に接続さ3.  、T−K F/F’ 105は
PQ端子に接続さnている。
C1ock terminal is T-K F/F 105 and D F
' / Connect to the cp terminal of F106. Also, the R8T terminal is J-K F/F 105 and DF/F106
, is connected to the R8T terminal of . AND gate 104 is P
Connected to D terminal 3. , TK F/F' 105 are connected to the PQ terminal.

、T−K F’/F 105及びDF’/F10(Sは
R8T信号によシ論理60″に初期化される。
, T-K F'/F 105 and DF'/F10 (S is initialized to logic 60'' by the R8T signal.

即ち、R8T信号によりRQ、端子は論理″0′となる
。この場合、記憶部11〜14のRQ、端子から論理″
0”が出力さnるため、NORゲート17からのKMP
TY信号が論理″1″となる。また、固定優先順位決定
回路16の出力端子A1〜A4から論理“0″が出力さ
n、その結果、記憶部11〜140PRN端子Kti論
理11011が入力さ扛、ANDゲート104の一方の
入力端子に論理61”が供給さし、また。
That is, the RQ terminal becomes logic "0" due to the R8T signal. In this case, the RQ terminal of the storage units 11 to 14 becomes logic "0".
0" is output, the KMP from NOR gate 17
The TY signal becomes logic "1". In addition, logic "0" is output from the output terminals A1 to A4 of the fixed priority order determining circuit 16, and as a result, the memory units 11 to 140 PRN terminals Kti logic 11011 are inputted to one input terminal of the AND gate 104. Logic 61'' is also supplied.

J−K F/F 105のに端子とDF/F106のD
端子に論理”0”が供給さ扛る。さらに。
J-K F/F 105's terminal and DF/F106's D
A logic "0" is supplied to the terminal. moreover.

記憶部11〜14のREQ、端子が論理″0”である場
合、ANDゲート102の出力、即ち。
When the REQ terminal of the storage units 11 to 14 is at logic "0", the output of the AND gate 102, ie.

J−K F/F 105のJ端子入力と、ANDゲ−)
C04の出力、即ち、FD端子出力は論理″0”となる
J-K F/F 105 J terminal input and AND game)
The output of C04, that is, the FD terminal output becomes logic "0".

次に、第4図も参照して2本発明による優先順位決定回
路の動作を説明する。なお、この場合、バスマスター1
及び6が同時にバスリクエストを出力し、その後にバス
マスター2及び4がバスリクエストを出力するものとす
る。優先順位決定回路5の端子R1とR6に論理゛1″
が入力されると、記憶部11と16のREQ端子に論理
”1”が入力される。REQ、端子に論理”1″が入力
されると、ANDゲート104から。
Next, the operation of the priority determining circuit according to the present invention will be explained with reference to FIG. In addition, in this case, bus master 1
and 6 output bus requests at the same time, and then bus masters 2 and 4 output bus requests. Logic “1” is applied to terminals R1 and R6 of the priority order determining circuit 5.
When this is input, logic "1" is input to the REQ terminals of the storage units 11 and 16. When logic "1" is input to the REQ terminal, the AND gate 104 outputs the logic "1".

即ち、FD端子から論理“1″が出力される。That is, logic "1" is output from the FD terminal.

その結果ORゲート15より論理”1”が出力され、P
END端子に論理“1”が入力され。
As a result, logic "1" is output from the OR gate 15, and P
Logic “1” is input to the END terminal.

ANDゲート102のすべての入力が論理″1”となる
。従って、ANDゲート102の出力。
All inputs of AND gate 102 are logic "1". Therefore, the output of AND gate 102.

即ち、  J−K F/F 105のJ端子入力が論理
″1”となり、、T−K F/F 105の出力端子P
Qからの信号はクロック信号CLKの変化点■で論理゛
O”から論理“1”に変化する。そφ の後、NORゲートからのヂEMPTY信号が論理“0
′となる。従って、記憶部11〜14のJ−K F/F
’ 105のJ端子入力は論理“0″となる。一方、固
定優先順位決定回路16は優先順位を決定し、出力端子
A1から論理”1nを出力する。その結果、記憶部11
のPRN端子に論理″1”が入力さ:jL、PD端子出
力が論理″0”となる。一方、バスマスター1は出力端
子A1からの論理″1″によって、優位順位決定回路の
端子BUSYに論理”0”を入力し。
That is, the J terminal input of the J-K F/F 105 becomes logic "1", and the output terminal P of the T-K F/F 105
The signal from Q changes from logic "O" to logic "1" at the change point () of clock signal CLK. After that, the DEMPTY signal from the NOR gate changes to logic "0".
'. Therefore, the J-K F/F of storage units 11 to 14
' The J terminal input of 105 becomes logic "0". On the other hand, the fixed priority determining circuit 16 determines the priority and outputs the logic "1n" from the output terminal A1.As a result, the storage unit 11
Logic "1" is input to the PRN terminal of jL, and the PD terminal output becomes logic "0". On the other hand, the bus master 1 inputs a logic "0" to the terminal BUSY of the priority order determining circuit in response to the logic "1" from the output terminal A1.

バスマスター1はバスの使用を開始する。Bus master 1 begins using the bus.

WINDOW生成回路18はBUSY端子からの信号が
論理″ONであり、かつREQUESTPEND工NG
信号が論理″1”であるから、クロツク信号0LKO1
クロツク周期の間(■と■の間)論理”1”を出力する
。従って記憶部11のANDNOゲート17出力が論理
″1”となり、J−K F/F 105のに端子とD 
F/F’106のD端子から論理”1”が出力さnる。
In the WINDOW generation circuit 18, the signal from the BUSY terminal is logic "ON" and the REQUEST PEND operation is NG.
Since the signal is logic "1", the clock signal 0LKO1
Outputs logic "1" during the clock cycle (between ■ and ■). Therefore, the ANDNO gate 17 output of the storage unit 11 becomes logic "1", and the terminal and D
Logic "1" is output from the D terminal of F/F'106.

そしてクロック信号CLKの次の変化点で、T−KF/
F105の出力、即ち、記憶部11のRQ。
Then, at the next change point of the clock signal CLK, T-KF/
Output of F105, ie, RQ of storage section 11.

端子から論理”0″が出力さn、D F/F 1o6の
出力、即ち、MARK信号は論理″D”となる。
Logic "0" is output from the terminal n, and the output of D F/F 1o6, that is, the MARK signal becomes logic "D".

そしてW工NDOW信号はクロック信号C’LKの1ク
ロック周期後再び論理“0″になるから。
Then, the W_NDOW signal becomes logic "0" again after one clock cycle of the clock signal C'LK.

MASK信号もクロック信号CI、にの1クロック後、
再び論理″1”となる。
The MASK signal also occurs one clock after the clock signal CI,
The logic becomes "1" again.

この結果、固定優先順位決定回路16は端子A1に論理
10”を出力し、−刃端子A6に論理″′1″を出力す
る。従って、記憶部11のPRN端子に論理゛0”が入
力さ扛て、再びPD端子から論理”1″が出力さnる。
As a result, the fixed priority determination circuit 16 outputs a logic 10'' to the terminal A1 and a logic ``1'' to the -blade terminal A6. Therefore, a logic ``0'' is input to the PRN terminal of the storage unit 11. Then, logic "1" is output from the PD terminal again.

ところが。However.

この場合、EMP信号が論理”0″であるため。In this case, the EMP signal is at logic "0".

J−K F/F 1 D 5 C7)J端子ICf’i
論理″Onが入力さn、さらにPRN端子及びW工ND
端子に論理″0”が入力さ扛ているから、  J−KF
/F105のに端子に論理“0”が入力さnる。よって
記憶部11のRQ、端子の出力は論理”O”の状態に保
持さ扛る。また記憶部16の、T−K F/F 1Q5
のJ端子及びに端子とも論理″0”が入力さ牡、記憶部
13のRQ、端子の出力は論理″′1″の状態に保持さ
nる。
J-K F/F 1 D 5 C7) J terminal ICf'i
Logic "On" is input n, and further PRN terminal and W terminal
Since logic "0" is input to the terminal, J-KF
Logic "0" is input to the terminal of /F105. Therefore, the output of the RQ terminal of the storage unit 11 is held at the logic "O" state. Also, T-K F/F 1Q5 in the storage unit 16
When a logic "0" is input to both the J terminal and the terminal, the output of the RQ terminal of the storage section 13 is held at a logic "1" state.

ここで、クロック信号CLKの2クロツク後O■でバス
マスター2の端子R2及びバスマスター4の端子R4か
ら論理”1”が出力されたとすると、この時点ではEM
PTY信号が論理“0″であるから記憶部12及び14
0J−KF/F105のJ端子入力は論理″0″の状態
であり、従って記憶部12のRQ、端子及び記憶部14
のRQ、端子からの出力は論理″′0”の状態である。
Here, if logic "1" is output from the terminal R2 of the bus master 2 and the terminal R4 of the bus master 4 at O2 after two clocks of the clock signal CLK, at this point, the EM
Since the PTY signal is logic "0", the storage units 12 and 14
The J terminal input of 0J-KF/F105 is in the state of logic "0", therefore, the RQ of the storage section 12, the terminal and the storage section 14
The output from the RQ terminal is in the logic "0" state.

第4図に示す■において、バスマスター1はバスの使用
を終了して、端子R1から論理10″を出力し、さらに
優先順位決定回路5のBUSY端子に論理111+1を
入力する。バスマスター3はBUEIY端子″1”であ
ることを認識した後、バスの使用状態にせん移し、BU
SY端子に論理″0″を入力する(第4図に示す■)。
4, the bus master 1 finishes using the bus, outputs the logic 10'' from the terminal R1, and further inputs the logic 111+1 to the BUSY terminal of the priority determination circuit 5.The bus master 3 After recognizing that the BUEIY terminal is "1", move to the bus usage state and turn the BU
Input logic "0" to the SY terminal (■ shown in FIG. 4).

一方、WINDOW生成回路18はRFiQ、UKST
PEND工NG状態であり、かつBUSYに論理111
11が入力されたから、即ち、 Activeになった
ことで、第4図に示す■〜■の1クロック周期の間WI
NDOW信号を出力する。この時。
On the other hand, the WINDOW generation circuit 18 is RFiQ, UKST
PEND operation is in NG state and logic 111 is set to BUSY.
Since 11 was input, that is, it became Active, WI was activated for one clock period from ■ to ■ shown in Figure 4.
Outputs NDOW signal. At this time.

固定優先順位決定回路16のA3端子から論理11″が
出力されているから、記憶部16のJ−K F/F 1
05のに端子入力は論!”1”となり、第4図に示す■
において、記憶部16のRQ、端子から論理゛0”が出
力さnる。この結果、記憶部11〜14のRQ、端子か
らの信号が論理″0”となり、EMPTY信号が論理″
1”になる。また記憶部13のDF/F106の出力で
あるMASK信号が第4図に示す■〜■の1クロック周
期の間論理”0”になる。
Since the logic 11'' is output from the A3 terminal of the fixed priority determination circuit 16, the J-K F/F 1 of the storage section 16
05 has no terminal input! becomes “1”, and ■ as shown in Figure 4.
At this time, a logic "0" is output from the RQ terminal of the storage unit 16. As a result, the signal from the RQ terminal of the storage units 11 to 14 becomes a logic "0", and the EMPTY signal becomes a logic "0".
The MASK signal, which is the output of the DF/F 106 of the storage unit 13, becomes logic "0" during one clock cycle from (1) to (4) shown in FIG.

EMPTY信号が論理″1”になると、記憶部12及び
14のANDゲート1o2はその入力がすべて論理″1
”となるため、  J−K F/F105のJ端子入力
に論理″1″が供給さnる。
When the EMPTY signal becomes logic "1", the AND gates 1o2 of the storage units 12 and 14 all have their inputs logic "1".
”, so the logic “1” is supplied to the J terminal input of the J-K F/F 105.

一方、記憶部16に関しては、MASK信号が論理″0
”であるので、そのANDゲート1o2の出力は論理″
0″に保持さする。そしてクロック信号CLKの次の変
化点■で記憶部12及び14 ノJ−K F/F 10
5の出力は論理”o″から”1″に変化する。一方、記
憶部13のJ−K F/F 105の出力は論理”0”
のままである。この結果、EMPTY信号が再び論理″
0”となり、記憶部11〜14のJ−KF/F105の
状態変化が禁止される。固定優先順位決定回路16は記
憶部12のRQ端子からの信 4号、即ち、バスマスタ
ー2と記憶部14のRQ。
On the other hand, regarding the storage unit 16, the MASK signal is at logic "0".
", so the output of the AND gate 1o2 is logic"
0''. Then, at the next change point (3) of the clock signal CLK, the memory sections 12 and 14 are held at the J-K F/F 10.
The output of 5 changes from logic "o" to "1". On the other hand, the output of the J-K F/F 105 of the storage unit 13 is logic "0"
It remains as it is. As a result, the EMPTY signal becomes logic again.
0'', and the state change of the J-KF/F 105 in the storage units 11 to 14 is prohibited.The fixed priority order determining circuit 16 receives the signal from the RQ terminal of the storage unit 12, that is, the bus master 2 and the storage unit. 14 RQs.

端子からの信号、即ち、バスマスター4との優先順位を
決定し出力端子A2の出力を論理“1″とする。そして
、以後同様にバス使用権が切り換えらnる。
The signal from the terminal, that is, the priority order with respect to the bus master 4 is determined, and the output of the output terminal A2 is set to logic "1". Thereafter, the right to use the bus is switched in the same manner.

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

以上説明したように本発晶先順位決定回路バスリクエス
トヲリセットして、記憶部のすべてのバスリクエストの
リセットが完了するまで新たなバス使用要求を取り込ま
ないようにしているから、すべてのバス使用要求元に対
し公平なバス使用権獲得の機会を与えることができると
ともに、早くバス使用要求を出力した要求元が先にバス
使用権?獲得することができるという効果がある。
As explained above, this crystallization priority order determining circuit bus request is reset and new bus usage requests are not taken in until all bus requests in the storage section are reset, so all bus usage It is possible to give requesters a fair opportunity to acquire the right to use the bus, and the requester who outputs the bus use request early gets the right to use the bus first. It has the effect of being able to be acquired.

以下余日Remaining days below

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

第1図は本発明の優先順位決定回路を用いた装置を示す
ブロック図、第2図は本発明の優先順位決定回路のブロ
ック図、第3図は記憶部を詳細に示すブロック図、第4
図は本発明の優先順位決定回路の動作を説明するための
タイムチャート、第5図は固定優先順位決定回路の動作
を説明するためのタイムチャート、第6図は回転優先順
位決定回路の動作を説明するためのタイムチャート、第
7図は固定優先順位決定回路の真理値表を示す図、第8
図は回転優先順位決定回路の真理値表を示す図である。 1〜4・・・バスマスター5・・・優先順位決定回路。 11〜14・・・バスリクエスト記憶部、15・・・O
Rゲート、16・・・固定優先順位決定回路、17・・
・NORゲート、15−w工NDOW生成回路、1o1
−NOT’7’  −)、   102 〜104  
・  AND  ゲ − ト 。 105・・・J−にフリップフロップ、1o6・・・D
フリップフロップ。 第1図 第3図 隼5図 第6図
FIG. 1 is a block diagram showing a device using the priority determining circuit of the present invention, FIG. 2 is a block diagram of the priority determining circuit of the present invention, FIG. 3 is a block diagram showing the storage section in detail, and FIG.
The figure is a time chart for explaining the operation of the priority order determining circuit of the present invention, FIG. 5 is a time chart for explaining the operation of the fixed priority order determining circuit, and FIG. 6 is a time chart for explaining the operation of the rotating priority order determining circuit. A time chart for explanation, Figure 7 is a diagram showing the truth table of the fixed priority determination circuit, and Figure 8 is a diagram showing the truth table of the fixed priority determination circuit.
The figure is a diagram showing a truth table of the rotation priority order determining circuit. 1 to 4...Bus master 5...Priority determining circuit. 11-14...Bus request storage section, 15...O
R gate, 16... fixed priority determination circuit, 17...
・NOR gate, 15-w NDOW generation circuit, 1o1
-NOT'7'-), 102 to 104
・AND gate. 105...Flip-flop to J-, 1o6...D
flip flop. Figure 1 Figure 3 Hayabusa Figure 6

Claims (1)

【特許請求の範囲】[Claims] 1、複数のバス使用要求信号の優先順位を決定し、共通
バスの使用許可信号を出力する優先順位決定回路におい
て、前記バス使用要求信号を一時的に記憶する記憶回路
と、該記憶回路が空であることを検出する第1の検出回
路と、前記バス使用要求信号が前記記憶回路に保留され
ていることを検出する第2の検出回路と、前記共通バス
の使用が開始されたことを示す開始信号により、前記記
憶回路に記憶された共通バスの使用が許可されたバス使
用要求信号をリセットするリセット回路とを有し、前記
記憶回路に記憶されたバス使用要求信号がすべてリセッ
トされ、前記記憶回路が空になると、新たなバス使用要
求信号を前記記憶回路に記憶するようにしたことを特徴
とする優先順位決定回路。
1. In a priority determination circuit that determines the priority order of a plurality of bus use request signals and outputs a common bus use permission signal, there is a memory circuit that temporarily stores the bus use request signal, and a memory circuit that is empty. a first detection circuit for detecting that the bus use request signal is pending in the storage circuit; and a second detection circuit for indicating that the common bus has started to be used. a reset circuit configured to reset, in response to a start signal, a bus use request signal stored in the storage circuit that permits use of the common bus; all bus use request signals stored in the storage circuit are reset; 1. A priority determination circuit, wherein a new bus use request signal is stored in the storage circuit when the storage circuit becomes empty.
JP26204286A 1986-11-05 1986-11-05 Priority order determining circuit Pending JPS63116260A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP26204286A JPS63116260A (en) 1986-11-05 1986-11-05 Priority order determining circuit
AU80668/87A AU595074B2 (en) 1986-11-05 1987-11-04 Bus priority assignment control with a lockout circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26204286A JPS63116260A (en) 1986-11-05 1986-11-05 Priority order determining circuit

Publications (1)

Publication Number Publication Date
JPS63116260A true JPS63116260A (en) 1988-05-20

Family

ID=17370220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26204286A Pending JPS63116260A (en) 1986-11-05 1986-11-05 Priority order determining circuit

Country Status (2)

Country Link
JP (1) JPS63116260A (en)
AU (1) AU595074B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269418B1 (en) 1997-07-14 2001-07-31 Nec Corporation Priority-based shared bus request signal mediating circuit
US6859614B1 (en) 1996-06-24 2005-02-22 Samsung Electronics Co., Ltd. Apparatus and method for controlling priority order of access to memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53146550A (en) * 1977-05-27 1978-12-20 Nippon Telegr & Teleph Corp <Ntt> Conflict circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53146550A (en) * 1977-05-27 1978-12-20 Nippon Telegr & Teleph Corp <Ntt> Conflict circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6859614B1 (en) 1996-06-24 2005-02-22 Samsung Electronics Co., Ltd. Apparatus and method for controlling priority order of access to memory
US6269418B1 (en) 1997-07-14 2001-07-31 Nec Corporation Priority-based shared bus request signal mediating circuit

Also Published As

Publication number Publication date
AU8066887A (en) 1988-05-12
AU595074B2 (en) 1990-03-22

Similar Documents

Publication Publication Date Title
US4698753A (en) Multiprocessor interface device
JPH0210979B2 (en)
CA1306068C (en) Apparatus and method for servicing interrupts utilizing a pended bus
US4789926A (en) Digital data processing arbitration system
JPH02293959A (en) Interface apparatus
WO1988008577A2 (en) Node for servicing interrupt request messages on a pended bus
JP2007058881A (en) Method and apparatus for determining status of shared resource
JP2661222B2 (en) Pulse output device
US4612542A (en) Apparatus for arbitrating between a plurality of requestor elements
EP0520837A2 (en) Efficient arbiter
JPS63116260A (en) Priority order determining circuit
JPS5836381B2 (en) shared memory controller
EP0211119B1 (en) Digital data processing arbitration system
JP3072168B2 (en) Memory operation arbitration circuit
JP2714163B2 (en) Bus control method
JPH10326253A (en) Bus arbitration circuit
JP2742135B2 (en) Bus arbitration equipment
JP2000187639A (en) Bus arbitrating device
JPH11203253A (en) Exclusive access control method for shared resource
JPH0435540A (en) Bus arbitrating device
JPH023221B2 (en)
JPS58163031A (en) Bus allotment controlling system
JPH0358261A (en) Arbiter circuit
JPH07239832A (en) Information processor
JPH03194639A (en) Parallel priority judgement device