JPS59177628A - Bus control circuit - Google Patents

Bus control circuit

Info

Publication number
JPS59177628A
JPS59177628A JP5219883A JP5219883A JPS59177628A JP S59177628 A JPS59177628 A JP S59177628A JP 5219883 A JP5219883 A JP 5219883A JP 5219883 A JP5219883 A JP 5219883A JP S59177628 A JPS59177628 A JP S59177628A
Authority
JP
Japan
Prior art keywords
output
signal
circuit
time width
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5219883A
Other languages
Japanese (ja)
Inventor
Hirotsugu Kudo
工藤 裕嗣
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
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP5219883A priority Critical patent/JPS59177628A/en
Publication of JPS59177628A publication Critical patent/JPS59177628A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To enhance the processing speed by setting a bus use permission time to various values in accordance with the access time of a device, which requests the use of a bus, in the system of a multiprocessor constitution where access times of peripheral devices are different from one another, DMA control, or the like. CONSTITUTION:When a bus use request signal BRQ is inputted, this signal is encoded by a priority encoder 11, and its output is latched in a latch circuit 13. When the output of a terminal 4Q of the latch circuit 13 becomes logical ''1'', a flip-flop FF1 is driven through a gate 21, and a counter 16 as a circuit which determines the time width of a bus use permission signal is operated. The input of the priority encoder 11 is inhibitied for a certain time, and the output of the latch circuit 13 is decoded by a decoder 14 and is outputted as a bus use permission signal. When one signal having the time width is terminated, new input data is latched in the latch circuit 13, and the output of the decoder 14 is stopped.

Description

【発明の詳細な説明】 この発明はマルチプロセッサ又はDMA転送等を実現す
るために必要なバス制御回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a bus control circuit necessary for realizing multiprocessors, DMA transfer, etc.

〈従来技術〉 従来のバス制御回路を第1図に示す。第1図においてバ
スの使用を要求する信号BRQOE〜BRQ7(ハ)の
うちどれかが入力されると、これはプライオリティエン
コーダ11でエンコード(符号化)され、制御回路12
で作られるラッチタイミングで前記エンコード結果がカ
ッド・デ・タイプフリップフロップのラッチ回路13に
ラッチされる。そのラッチ結果はデコーダ14によりデ
コード(解読)されバス使用許可信号BENO(→〜B
EN7(→として出力される。第1図の回路における各
部の入出力タイミングを第2図に示す。この第2図に示
すように要求信号BRQ(→が入力されると所定の時間
幅で許可信号BEN(ハ)が出力される。
<Prior Art> A conventional bus control circuit is shown in FIG. In FIG. 1, when any of the signals BRQOE to BRQ7 (c) requesting the use of the bus is input, it is encoded by the priority encoder 11, and the control circuit 12
The encoded result is latched into the latch circuit 13 of the quad type flip-flop at the latch timing created by . The latch result is decoded (deciphered) by the decoder 14 and the bus use permission signal BENO (→~B
EN7 (→ is output. The input/output timing of each part in the circuit of FIG. 1 is shown in FIG. 2. As shown in FIG. A signal BEN (c) is output.

この従来の回路においてはバスの使用を許可する信号B
 E N i全て同一の時間幅でしか出力できなかった
。バスを使用する周辺機器の中にはアクセス時間が短い
もの長いものがあり、まちまちである。従ってこれらア
クセス時間のうち一番長いものに合せて許可信号BEN
の時間幅が決められており、システム全体の処理時間が
長くなるという欠点があった。
In this conventional circuit, a signal B that permits the use of the bus is used.
E N i could only be output in the same time width. Access times vary among peripheral devices that use the bus, with some having short access times and others having long access times. Therefore, the permission signal BEN is set according to the longest of these access times.
The time width is fixed, which has the disadvantage that the processing time of the entire system becomes long.

〈発明の目的〉 この発明の目的はバス便用を要求する信号の種類に応じ
て、バス使用を許可する信号の時間幅を変えることがで
きるバス制御回路を提供することにある。
<Object of the Invention> An object of the present invention is to provide a bus control circuit that can change the time width of a signal for permitting bus use depending on the type of signal requesting bus use.

〈発明の概要〉 バス使用要求信号が入力されると、その要求信号はプラ
イオリティエンコーダによジエンコードされ、そのエン
コード出力はラッチ回路にラッチされる。そしてバス使
用許可信号の時間幅を決める回路としてのカウンタが作
動し、プライオリティエンコーダの入力を一定時間禁土
するとともに、前記ラッチ出力はデコーダによりデコー
ドされてバス使用許可信号として出力される。時間幅を
決める回路においては時間幅の拡張を要求する信号によ
り前記カウンタの出力が選択され、つまり互に時間幅を
異にする複数の時間幅信号がカウンタの異なる端子から
出力され、その一つが時間幅拡張要求信号により選択さ
れ、その選択された時間幅信号が終了するとラッチ回路
に新たな入力データがラッチされ、先に出力されている
デコーダの出力(はイ亭止される。
<Summary of the Invention> When a bus use request signal is input, the request signal is encoded by a priority encoder, and the encoded output is latched in a latch circuit. Then, a counter as a circuit that determines the time width of the bus use permission signal is activated, and the input of the priority encoder is disabled for a certain period of time, and the latch output is decoded by a decoder and outputted as a bus use permission signal. In the circuit that determines the time width, the output of the counter is selected by a signal requesting expansion of the time width.In other words, a plurality of time width signals having different time widths are output from different terminals of the counter, and one of the signals is output from different terminals of the counter. It is selected by the time width extension request signal, and when the selected time width signal ends, new input data is latched into the latch circuit, and the previously outputted decoder output (is stopped).

以上の原理によりバス使用許可信号の時間幅拡張要求信
号が入力されれば、許可信号は時間幅が長く出力され拡
張要求信号の入力がなければ許可信号の時間幅は短くな
る。
According to the above principle, if the time width extension request signal of the bus use permission signal is input, the time width of the permission signal is outputted long, and if the extension request signal is not input, the time width of the permission signal is shortened.

〈実施例〉 この発明の実施例を第3図に示す。第3図の各部の入出
力のタイミングチャートを第4図に示す。
<Example> An example of the present invention is shown in FIG. FIG. 4 shows a timing chart of input/output of each part in FIG. 3.

第4図はバス使用要求信号BRQO〜7(→の内、信号
B RQ 7 (→が入力されたときはバス使用許可信
号BENO〜7(→の内の信号BEN7(へ)の時間幅
を拡張する場合の例を示している。
Figure 4 shows the time width of the bus use request signals BRQO~7 (in →), the signal BRQ7 (in →), and when the bus use permission signal BENO~7 (in →), the time width of the signal BEN7 (in →) is extended. An example is shown below.

第3図においてバス使用要求信号BRQが入力されると
プライオリティエンコーダ11でエンコードされ、その
エンコード出力はラッチ回路13にラッチされる。ラッ
チ回路13の4Q出力が論理1になると、この論理1は
ゲート21を通じてフリップフロップFF、のデータ端
子りに入力される。制御回路15内でフリップフロップ
FF、〜FF3によυカウンタ16が構成され、このカ
ウンタ16は入力クロック信号CLKに合せて動作し5
フリツプフロヅプp F、 、 F’ p2. F p
3の各Q出力に論理1が出る。そのとき時間幅拡張信号
EXP(→がなければNAND回路17でフリップフロ
ップFF2のQ出力が選択される。時間幅拡張信号EX
P(→はインバータ18を通じてNAND回路19にも
入力されており、時間幅拡張信号EXP(ハ)があれば
NA、ND回路19でフリップフロップFF3のQ出力
が選択される。つま9フリップフロップFF2.FF3
の各Q出力は通常は論理0であり、NAND回路1.7
 、19の出力はAND回路22に入力され、その出力
はゲート21へ与えられている。従ってゲート21は常
時は開らかれている。
In FIG. 3, when the bus use request signal BRQ is input, it is encoded by the priority encoder 11, and the encoded output is latched by the latch circuit 13. When the 4Q output of the latch circuit 13 becomes logic 1, this logic 1 is inputted to the data terminal of the flip-flop FF through the gate 21. In the control circuit 15, a υ counter 16 is configured by flip-flops FF and FF3, and this counter 16 operates in accordance with the input clock signal CLK.
Flip Flopp F, , F' p2. F p
A logic 1 appears on each Q output of 3. At that time, if there is no time width extension signal EXP (→, the NAND circuit 17 selects the Q output of the flip-flop FF2. Time width extension signal EXP
P(→ is also input to the NAND circuit 19 through the inverter 18, and if the time width expansion signal EXP (c) is present, the Q output of the flip-flop FF3 is selected by the NA and ND circuit 19. .FF3
Each Q output of is normally a logic 0, and the NAND circuit 1.7
, 19 are input to an AND circuit 22, and its output is given to a gate 21. Therefore, the gate 21 is always open.

何れかのバス使用要求信号が入力されるとエンコーダ1
1のGS出力がその間論理Oとなり、そのバス使用要求
信号はラッチ回路13にラッチされ、その4Q出力が論
理1になると、これがゲート21を」mじてフリップフ
ロップFF、に与えられる。その後クロック信号CLK
が2個入力されるとフリップフロップFF2のQ出力が
論理1になり、その時時間幅拡張要求信号EXP(→が
入力されてなく、信号EXPEが論理1であればNAN
D回路17の出力が論理Oとなり、これがAND回路2
1を通じてゲート21に与えられてカウンタ16の入力
は論理0となり、クロック信号CL、にごとにフリップ
フロップFF、、FF2.FF3の各Q出力は順次論理
0となる。また時間幅拡張要求信号EXP(→が入力さ
れている場合は信号EX P (−)は論理】となって
いるためフリップフロップFF3のQ出力が論理1にな
るとNAND回路19の出力が論理0になってカウンタ
16の内容は順次論班IOとなる。つまりソリツブフロ
ップFF2・FF3の各Q出力から異なる時間幅信号が
出力され、これらがNAND回路17.19において、
晴間幅拡張により選択される。
When any bus use request signal is input, encoder 1
During this period, the GS output of 1 becomes logic O, and its bus use request signal is latched by the latch circuit 13, and when its 4Q output becomes logic 1, it is applied to the flip-flop FF through the gate 21. Then the clock signal CLK
When two are input, the Q output of flip-flop FF2 becomes logic 1, and at that time, the time width expansion request signal EXP (→ is not input and if the signal EXPE is logic 1, NAN
The output of the D circuit 17 becomes logic O, which is the output of the AND circuit 2.
1 to the gate 21, the input of the counter 16 becomes a logic 0, and the flip-flops FF, FF2 . Each Q output of FF3 becomes logic 0 in sequence. Also, since the time width expansion request signal EXP (if → is input, the signal EX P (-) is logic), when the Q output of flip-flop FF3 becomes logic 1, the output of NAND circuit 19 becomes logic 0. Therefore, the contents of the counter 16 become sequentially logical IO.In other words, different time width signals are output from each Q output of the solver flops FF2 and FF3, and these are outputted in the NAND circuit 17.19.
Selected by clear day width expansion.

A N I)回路21の出力か論理1の間はその出力が
オア回路23へ人力され、その間クロック信号CL K
によるオア回路23を通じるラッチ回路■3に対するラ
ッチが阻止される。フリップフロップFF、のQ出力が
論理0になるとエンコーダ11がディスイネーブルのま
ま、ラッチ回路13が働きデコーダ14の出力が停止す
る。
A N I) While the output of the circuit 21 is logic 1, the output is input to the OR circuit 23, and during that time the clock signal CL K
The latching of the latch circuit 3 through the OR circuit 23 is prevented. When the Q output of the flip-flop FF becomes logic 0, the latch circuit 13 operates and the output of the decoder 14 is stopped while the encoder 11 remains disabled.

以上の動作により第4図に示すようにバス使用要求信号
BRQO〜6(ハ)が時点t1に入力され、その時時間
幅拡張要求信号E 、X Pが入力されてなく、その論
理が1の場合はバス使用許可信号BENO〜6(へ)は
時点t2に示すように次のクロックから3クロック分出
力される。一方時点t3にバス使用要求信号BRQ7(
へ)が入力されると、時点t4に示すように次のクロッ
クからバス使用許可信号BEN7(@が出力され、この
時時点t5に示すように時間幅拡張要求信号E X P
 (−)が入力されてその論理が0となり、このためバ
ス使用許可信号B E N 7 (→は4クロック分出
力される。
As a result of the above operation, as shown in FIG. 4, bus use request signals BRQO~6 (c) are input at time t1, and at that time, time width extension request signals E and XP are not input and their logic is 1. The bus use permission signals BENO-6 (to) are output for three clocks from the next clock as shown at time t2. On the other hand, at time t3, bus use request signal BRQ7 (
) is input, the bus use permission signal BEN7 (@) is output from the next clock as shown at time t4, and at this time, the time width extension request signal EXP is output as shown at time t5.
(-) is input and its logic becomes 0, so that the bus use permission signal B E N 7 (→ is output for 4 clocks).

〈効 果〉 この発明のバス制御回路を用いれば周辺機器のアクセス
時間が異なるマルチプロセッサ構成やD M A 制御
等を行うシステムにおいてバスイネーブルにする時間を
アクセス時間が一番長い周辺機器に合せる必要がなく、
そのバスを要求している機器のアクセス時間に応じてバ
ス使用許可時間を各種設定できるため、システム全体の
処理速度を大幅に向上させることが可能となる。
<Effects> If the bus control circuit of the present invention is used, it is not necessary to adjust the bus enable time to the peripheral device with the longest access time in a multiprocessor configuration or a system that performs DMA control, etc., where peripheral devices have different access times. There is no
Since various bus use permission times can be set depending on the access time of the device requesting the bus, the processing speed of the entire system can be significantly improved.

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

第1図は従来のバス制御回路を示す回路図、第2図は第
1図に示した回路の入出力のタイミングチャート、第3
図はこの発明の実施例を示す回路図、第4図は第3図に
示した回路の入出力のタイミンクチャートである。 11ニブライオリテイエンコーダ、13:カツド°デ°
タイプフリップフロップのラッチ回路、14:デコーダ
、15:バス使用許可信号BENO〜7の時間幅を決め
る制御回路、16:カウンタ、17,19:カウンタ1
6の出力を選択するためのナントゲート。 特許出願人  [ヨ本電気株式会社
Figure 1 is a circuit diagram showing a conventional bus control circuit, Figure 2 is an input/output timing chart of the circuit shown in Figure 1, and Figure 3 is a circuit diagram showing a conventional bus control circuit.
The figure is a circuit diagram showing an embodiment of the invention, and FIG. 4 is a timing chart of input and output of the circuit shown in FIG. 3. 11 nib quality encoder, 13: cut ° de °
Latch circuit of type flip-flop, 14: Decoder, 15: Control circuit that determines the time width of bus use permission signals BENO~7, 16: Counter, 17, 19: Counter 1
Nantes gate for selecting 6 outputs. Patent applicant [Yomoto Electric Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] (])ハス使用要求信号がプライオリティエンコーダに
入力され、そのプライオリティエンコーダの出力はラッ
チ回路に、制御回路からのラッチ指令によシラツチされ
、ラッチ回路にバス使用要求信号と対応するエンコーダ
出力がラッチされると、そのラッチ回路の出力はデコー
ダによりデコードされてバス吠用許可信号を出力すると
共に、そのラッチ回路の出力が上記制御回路に入力され
て時間幅決定回路から所定の時間幅信号を出力し、その
時間幅信号によシ上記ラッチ回路に対するランチ指令の
発生を禁止すると共に上記プライオリティエンコーダを
動作禁山し、かつこの制御回路にクロック信号が入力さ
れており、所定の時間幅のバス使用許可信号を出力する
バス制御回路において、上記時間幅決定回路は上記ラツ
、チ回路の出力が入す1斎れると、互に異なる複数の所
定時間の時間幅信号を発生するように構成され、その複
数の出力の一つが時間幅拡張要求信号に応じて選択回路
によシ選択されてこれに応じてバス使用許可信号を出力
することを特徴とするバス制御回路。
(]) The bus use request signal is input to the priority encoder, the output of the priority encoder is latched by a latch command from the control circuit, and the encoder output corresponding to the bus use request signal is latched by the latch circuit. Then, the output of the latch circuit is decoded by a decoder to output a bus enable signal, and the output of the latch circuit is input to the control circuit, which outputs a predetermined time width signal from the time width determination circuit. According to the time width signal, the generation of a launch command to the latch circuit is prohibited, and the priority encoder is prohibited from operating, and a clock signal is input to this control circuit, and bus use is permitted for a predetermined time width. In the bus control circuit that outputs a signal, the time width determining circuit is configured to generate time width signals of a plurality of predetermined times different from each other when the output of the latch and check circuits is input. A bus control circuit characterized in that one of the plurality of outputs is selected by a selection circuit in response to a time width extension request signal and outputs a bus use permission signal in response.
JP5219883A 1983-03-28 1983-03-28 Bus control circuit Pending JPS59177628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5219883A JPS59177628A (en) 1983-03-28 1983-03-28 Bus control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5219883A JPS59177628A (en) 1983-03-28 1983-03-28 Bus control circuit

Publications (1)

Publication Number Publication Date
JPS59177628A true JPS59177628A (en) 1984-10-08

Family

ID=12908083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5219883A Pending JPS59177628A (en) 1983-03-28 1983-03-28 Bus control circuit

Country Status (1)

Country Link
JP (1) JPS59177628A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621054A (en) * 1985-06-13 1987-01-07 Fujitsu Ltd Bus control system
JPH03224053A (en) * 1990-01-30 1991-10-03 Pfu Ltd Bus control system for dual processor
JPH0418653A (en) * 1990-02-02 1992-01-22 Internatl Business Mach Corp <Ibm> Computer-monitoring-system of additional device
JPH0782476B2 (en) * 1987-05-01 1995-09-06 ディジタル イクイプメント コーポレーション A system that controls access to the reservation bus by multiple nodes

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621054A (en) * 1985-06-13 1987-01-07 Fujitsu Ltd Bus control system
JPH0462097B2 (en) * 1985-06-13 1992-10-05 Fujitsu Ltd
JPH0782476B2 (en) * 1987-05-01 1995-09-06 ディジタル イクイプメント コーポレーション A system that controls access to the reservation bus by multiple nodes
JPH03224053A (en) * 1990-01-30 1991-10-03 Pfu Ltd Bus control system for dual processor
JPH0418653A (en) * 1990-02-02 1992-01-22 Internatl Business Mach Corp <Ibm> Computer-monitoring-system of additional device

Similar Documents

Publication Publication Date Title
KR0144022B1 (en) Arbiter by lru
KR960008543A (en) Integrated circuit microprocessor with programmable memory access interface type and associated method
JPS6134182B2 (en)
JPH01134558A (en) Arbiter circuit
JPH07152586A (en) Cyclic priority-level encoder
JPS59177628A (en) Bus control circuit
JPS594733B2 (en) Kyoutsuba Seigiyo Cairo
CA1187616A (en) Single chip microcomputer
JPS6252336B2 (en)
JP3540359B2 (en) Integrated circuit test circuit
JPH04250553A (en) Programmable controller
JPH0644182A (en) Bus arbiter for electronic equipment
JPH0452952A (en) Arbitrating system between devices using shared resource
JPS5979331A (en) Controlling system for using bus
JPS6355656A (en) Bus control circuit
JPH0589039A (en) Input/output control element
JPH0696003A (en) Input/output switching circuit
JPH02181950A (en) System of setting operation mode of semiconductor integrated circuit
JPH0635845A (en) Access control circuit device
JPS6349962A (en) Device for designating lsi operation mode
JPH02141858A (en) Dma controller
JPS58223924A (en) Up-down counter
JPS58178467A (en) Data transfer device
JPH01226063A (en) Bus priority control method and bus arbiter for executing the method
JPS6244667B2 (en)