JPS648385B2 - - Google Patents
Info
- Publication number
- JPS648385B2 JPS648385B2 JP22561583A JP22561583A JPS648385B2 JP S648385 B2 JPS648385 B2 JP S648385B2 JP 22561583 A JP22561583 A JP 22561583A JP 22561583 A JP22561583 A JP 22561583A JP S648385 B2 JPS648385 B2 JP S648385B2
- Authority
- JP
- Japan
- Prior art keywords
- bus
- line
- tag
- circuit
- bus request
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
- G06F13/362—Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
- G06F13/364—Handling 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)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明はバス制御方式、特にバスに接続された
各種装置の優先順位に応じてバスの制御手段を簡
素化し得るようにしたバス制御方式に関するもの
である。[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention relates to a bus control system, and particularly to a bus control system that can simplify bus control means according to the priorities of various devices connected to the bus. It is something.
(2) 従来技術と問題点
従来この種のバス制御方式を実施するバスとし
て同期式の双方向バスを挙げると、その構成例と
しては例えば第1図に示すようなものがある。こ
の双方向バスは、アドレスとデータとを時分割で
転送するバス線1と、バス線1を使つて転送され
ている情報がアドレスであるのか、データである
のかを識別するためのタグ線2と、バスリクエス
ト線3とから成り、この双方向バスには、マスタ
機能とスレーブ機能とを有し、バスを経由して相
互にデータの転送を行なう複数の装置D0,D
1,…Dnが接続されている。バスリクエスト線
3はそれぞれの装置D0,D1,…Dnに対応し
て複数本設けられ、各装置D0,D1,…Dnか
らのバスリクエスト信号が各々対応したバスリク
エスト線BR0,BR1,…BRnに発送される。
装置D0,D1,…Dnには、例えばプリンタ、
デイスプレイ、デイスク、メモリ制御装置等があ
り、各装置D0,D1,…Dnが同様にバスリク
エストしたとしてもバス使用に関しては装置間で
優先順位があり、プライオリテイの高い装置から
順にバスの使用が許されるのが一般的である。第
1図においては、装置D0として、各種装置の中
では最もバス使用の優先順位が高いとされてい
る、メモリ(MEM)6へのデータの書込み、読
出しを制御するメモリ制御装置(MAC)の一例
が挙げてある。このメモリ制御装置D0は、バス
リクエスト線3に接続されたバス制御回路4と、
タグ線2に接続されてバス線1に載せられた情報
を識別するタグ回路7と、バス線1に接続された
データ送受信回路8と、バス制御回路4、タグ回
路7、データ送受信回路8からの信号に基づいて
メモリ6の制御を行なうメモリ制御回路5とから
成る。バス制御回路4は、メモリ制御装置D0が
マスタとして作動する時、この装置に対応するバ
スリクエスト線BR0に向けてバスリクエスト信
号を発送する信号線11と、メモリ制御装置D0
がスレーブとして作動する時、バスリクエスト線
BR0以外にバスリクエスト線BR1,…BRnを
通して他の装置D1,…Dnからのバスリクエス
ト信号を得る信号線12とを有する。(2) Prior Art and Problems Conventionally, a synchronous bidirectional bus is used as a bus for implementing this type of bus control system. An example of its configuration is shown in FIG. 1, for example. This bidirectional bus consists of a bus line 1 that transfers addresses and data in a time-sharing manner, and a tag line 2 that identifies whether the information being transferred using bus line 1 is an address or data. and a bus request line 3, and this bidirectional bus has a master function and a slave function, and a plurality of devices D0 and D that mutually transfer data via the bus.
1,...Dn is connected. A plurality of bus request lines 3 are provided corresponding to the respective devices D0, D1,...Dn, and bus request signals from each device D0, D1,...Dn are sent to the corresponding bus request lines BR0, BR1,...BRn, respectively. Will be shipped.
For example, the devices D0, D1,...Dn include a printer,
There are displays, disks, memory control devices, etc., and even if each device D0, D1,...Dn requests the bus in the same way, there is a priority among the devices regarding bus use, and the bus is used in order from the device with the highest priority. It is generally allowed. In FIG. 1, device D0 is a memory control device (MAC) that controls writing and reading of data to memory (MEM) 6, which has the highest bus usage priority among various devices. An example is given. This memory control device D0 includes a bus control circuit 4 connected to a bus request line 3,
A tag circuit 7 connected to the tag line 2 to identify information carried on the bus line 1, a data transmitting/receiving circuit 8 connected to the bus line 1, a bus control circuit 4, a tag circuit 7, and a data transmitting/receiving circuit 8. and a memory control circuit 5 that controls the memory 6 based on the signal. The bus control circuit 4 includes a signal line 11 that sends a bus request signal to a bus request line BR0 corresponding to the memory control device D0 when the memory control device D0 operates as a master, and a signal line 11 that sends a bus request signal to the bus request line BR0 corresponding to the memory control device D0.
When operating as a slave, the bus request line
In addition to BR0, it has a signal line 12 for receiving bus request signals from other devices D1, . . . Dn through bus request lines BR1, . . . BRn.
他の装置D1,…Dnはバスの使用に関しては
メモリ制御装置D0よりも優先順位が低いとされ
ている装置である。これらの装置D1,…Dnは
いずれもほぼ同様な構成を有し、マスタとして作
動する時、各装置D1,…Dnに対応するバスリ
クエスト線BR1,…BRnにバスリクエスト信号
を発送するバスリクエスト回路9と、このバスリ
クエスト信号が別の装置からも発送されていた場
合、自己の装置と上記別の装置との間における優
先順位を検知するバスアービトレーシヨン回路1
0と、タグ線2に接続されたタグ回路7と、バス
線1に接続され当該バス線1との間で情報のやり
とりを行なうデータ送受信回路8とから成る。バ
スアービトレーシヨン回路10は、装置(例えば
D1)がマスタとして作動する時は上記の如くそ
の装置D1の優先順位を検知する一方、当該装置
D1がスレーブとして作動する時はバスリクエス
ト線BR1以外のバスリクエスト線BR0,BR
1,…BRnを通して他の装置D0,D2,…Dn
からのバスリクエスト信号を受信する機能をも有
する。 The other devices D1, . . . Dn are devices that have a lower priority than the memory control device D0 in terms of bus use. These devices D1, ...Dn all have almost the same configuration, and when operating as a master, a bus request circuit sends a bus request signal to the bus request lines BR1, ...BRn corresponding to each device D1, ...Dn. 9, and if this bus request signal is also sent from another device, a bus arbitration circuit 1 detects the priority between the own device and the other device.
0, a tag circuit 7 connected to the tag line 2, and a data transmitting/receiving circuit 8 connected to the bus line 1 and exchanging information with the bus line 1. The bus arbitration circuit 10 detects the priority of the device D1 as described above when the device (for example, D1) operates as a master, and detects the priority of the device D1 as described above, while detecting the priority of the device D1 when the device D1 operates as a slave. Bus request line BR0, BR
1,...BRn to other devices D0, D2,...Dn
It also has the function of receiving bus request signals from.
即ち、メモリ制御装置D0は各種装置D0,…
Dnの中で最も優先順位が高く、バスリクエスト
信号を発送すれば直ちにバスの使用が可能である
ため、スレーブ作動時のみバスリクエスト線3を
監視すればよいのに対し、他の装置D1,…Dn
は優先順位が第2位以下であるため、マスタ作動
時及びスレーブ作動時の両方でバスリクエスト線
3に監視を行なわなければならず、そのためバス
制御回路4とバスアービトレーシヨン回路10と
は互いに異なつた機能を有している。 That is, the memory control device D0 is connected to various devices D0,...
It has the highest priority among Dn, and the bus can be used immediately after sending a bus request signal, so it is only necessary to monitor the bus request line 3 when the slave is activated, whereas other devices D1,... Dn
Since the priority level is lower than second, the bus request line 3 must be monitored both during master operation and slave operation, and therefore the bus control circuit 4 and bus arbitration circuit 10 are They have different functions.
しかしながら、このような従来のバス制御方式
において、メモリ制御装置D0についてみると、
バス制御回路4は、メモリ制御装置D0がスレー
ブとして作動する時にバスリクエスト線3を監視
するためにのみバスリクエスト線BR1,…BRn
に接続された信号線12を備えなければならず、
機造上無駄であるという不具合があつた。また、
このような事態は部品のLSI化を目ざす近年の傾
向に逆行するものである。 However, in such a conventional bus control system, when looking at the memory control device D0,
The bus control circuit 4 uses bus request lines BR1,...BRn only to monitor the bus request line 3 when the memory control device D0 operates as a slave.
It must be provided with a signal line 12 connected to
The problem was that it was mechanically useless. Also,
This situation runs counter to the recent trend toward LSI components.
(3) 発明の目的
本発明は、このような従来の本題点に着目して
なされたもので、その目的は、メモリ制御装置の
ような優先順位の高い装置に対してはバスリクエ
スト線に対する監視を簡単は構成で行なえるよう
なバス制御方式を提供することにより、上記従来
の問題点を解決することである。(3) Purpose of the Invention The present invention has been made by focusing on the main problem of the prior art, and its purpose is to monitor the bus request line for high-priority devices such as memory control devices. The purpose of the present invention is to solve the above-mentioned conventional problems by providing a bus control system that can be easily configured.
(4) 発明の構成
本発明は、上記目的を達成するために、マスタ
機能とスレーブ機能とを有する複数の装置間で、
アドレスとデータとを時分割で転送するバス線
と、転送されている情報を識別するためのタグ線
と、各装置に対応して設けられ、それぞれの装置
からのバスリクエスト信号が送給されるバスリク
エスト線とを有する同期式の双方向バスにおい
て、マスタ又はスレーブとして作動する上記複数
の装置のうち、バス使用に関して最も優先順位の
高い装置は、当該装置に対応するバスリクエスト
線に接続されたバス制御回路と、タグ線に接続さ
れたタグ回路とを有し、マスタとしての作動する
時はバス制御回路から対応するバスリクエスト線
に対してリクエスト信号を発する一方、スレーブ
としての作動時はタグ回路によつてタグ線を通じ
て他の装置のバスリクエスト状態を監視するよう
にしたことを要旨とするものである。以下、本発
明の実施例を添付の図面を参照にして説明する。(4) Structure of the Invention In order to achieve the above object, the present invention provides a
A bus line that transfers addresses and data in a time-sharing manner, a tag line that identifies the information being transferred, and a bus line that corresponds to each device, and bus request signals from each device are sent. In a synchronous bidirectional bus having a bus request line, the device with the highest priority in terms of bus usage among the above multiple devices operating as a master or slave is connected to the bus request line corresponding to the device. It has a bus control circuit and a tag circuit connected to the tag line.When operating as a master, the bus control circuit issues a request signal to the corresponding bus request line, while when operating as a slave, the tag circuit issues a request signal to the corresponding bus request line. The gist of this system is to use a circuit to monitor the bus request status of other devices through tag lines. Embodiments of the present invention will be described below with reference to the accompanying drawings.
(5) 発明の実施例
第2図及び第3図は、本発明の一実施例に係る
バス制御方式を実施するための制御回路を示すも
のである。このうち第2図はバス制御回路の全体
構成図、第3図は本発明の要部であるタグ回路の
構成図である。(5) Embodiment of the Invention FIGS. 2 and 3 show a control circuit for implementing a bus control system according to an embodiment of the present invention. Of these, FIG. 2 is an overall configuration diagram of the bus control circuit, and FIG. 3 is a configuration diagram of the tag circuit, which is the main part of the present invention.
第2図において、双方向バスは、アドレス及び
データを時分割で転送するバス線1と、バス線1
を使つて転送される情報を識別するためのタグ線
2と、バスリクエスト線3とから成り、この双方
向バスにはマスタ機能とスレーブ機能とを有し、
バスを経由して相互にデータの転送を行なう複数
の装置D0,D1,…Dnが接続されている点は
上記従来例に係るバス制御回路と基本的に同様の
構成を有する。しかし、メモリ制御装置(バス使
用に関する優先順位が最も高い装置)D0は従来
と異なり、バスリクエスト線3のうち特定のバス
リクエスト線BR0にのみ接続され、このバスリ
クエスト線BR0に向けてバスリクエスト信号を
発送するバス制御回路14と、信号線18によつ
てタグ線2に接続されてバス線1に載せられた情
報を識別する一方、このタグ線2を用いて他の装
置D1,…Dnからの呼出し指令が発せられてい
るか否かを検知するタグ回路17とを有してい
る。即ち、この制御回路において、メモリ制御装
置D0のバス制御回路14は、マスタ作動用にバ
スリクエスト線BR0に接続された信号線11を
有するのみで、スレーブ作動用の信号線(第1図
中符号12に相当)は省略されている。またタグ
回路17はメモリ制御装置D0がマスタとして作
動する時タグ線2に向けてタグ信号を発送すると
いう、他の装置D1,…Dnにおけるタグ回路1
7と同様の機能を有すると共に、メモリ制御装置
D0がスレーブとして作動する時タグ線2を通し
て呼出し指令の有無を検知する構成となつてい
る。このタグ回路17は、タグ線2から信号線1
8を通して入力された信号を反転するナンドゲー
ト19と、ナンドゲート19及びバス制御回路1
4からの信号をセレクトするマルチプレクサ20
と、マルチプレクサからの出力を保持するタグレ
ジスタ21と、タグレジスタに保持された出力を
検知するバス要求監視回路22と、メモリ制御装
置D0がマスタ作動をする際に、バス制御回路1
4からの指令に基づいてタグ線2上に識別情報を
送り出すドライバー23とから成る。なおタグ線
2にはその終端回路Eとして抵抗器24が接続さ
れ、バスが使用されていない時は信号“11”をタ
グ線2の上に発送している。 In FIG. 2, the bidirectional bus includes bus line 1, which transfers addresses and data in a time-division manner, and bus line 1.
It consists of a tag line 2 for identifying information transferred using the bus, and a bus request line 3, and this bidirectional bus has a master function and a slave function.
The configuration is basically the same as that of the bus control circuit according to the conventional example described above in that a plurality of devices D0, D1, . . . Dn that mutually transfer data via a bus are connected. However, unlike before, the memory control device (device with the highest priority regarding bus use) D0 is connected only to a specific bus request line BR0 among the bus request lines 3, and the bus request signal is sent to this bus request line BR0. The bus control circuit 14 is connected to the tag line 2 by a signal line 18 to identify the information carried on the bus line 1, while using this tag line 2 to transmit information from other devices D1,...Dn. The tag circuit 17 detects whether a calling command has been issued. That is, in this control circuit, the bus control circuit 14 of the memory control device D0 only has a signal line 11 connected to the bus request line BR0 for master operation, and a signal line (reference numeral in FIG. 1) for slave operation. 12) are omitted. Further, the tag circuit 17 sends a tag signal to the tag line 2 when the memory control device D0 operates as a master.
7, and is configured to detect the presence or absence of a call command through the tag line 2 when the memory control device D0 operates as a slave. This tag circuit 17 runs from the tag line 2 to the signal line 1.
a NAND gate 19 that inverts a signal input through 8; and a NAND gate 19 and bus control circuit 1;
A multiplexer 20 that selects signals from 4
, a tag register 21 that holds the output from the multiplexer, a bus request monitoring circuit 22 that detects the output held in the tag register, and a bus control circuit 1 when the memory control device D0 performs master operation.
A driver 23 sends identification information onto the tag line 2 based on a command from the tag line 2. A resistor 24 is connected to the tag line 2 as its termination circuit E, and a signal "11" is sent onto the tag line 2 when the bus is not in use.
かかる構成を有するバス制御回路を使い、n番
目の装置Dnがメモリ6へデータを書込む場合を
例にとつて説明する。その時のタイムチヤートが
第4図に示してある。 An example will be explained in which the n-th device Dn writes data to the memory 6 using a bus control circuit having such a configuration. The time chart at that time is shown in Figure 4.
(1) クロツクタイミングT0における動作
先ず装置Dnはバスの使用権を得るため、最
初のクロツクタイミングT0において、バスリ
クエスト線BRnに向けたバスリクエスト信号
を発送すると共に、他の優先順位の高い装置が
バス使用を要求していないかチエツクする。こ
のタイミングT0においては装置D0,…Dn
のうちのいずれもがバスを使用していないた
め、バス線1及びタグ線2はHizの状態になつ
ている。またタグレジスタ21はT0の一クロ
ツク前の状態が保持されているが、その時のタ
グ線2の状態(信号は何ら出されていない)が
“00”として保持されている。さらにデータレ
ジスタ(DTR:バス線上のデータを受けるレ
ジスタ)においては、未だデータがバス線1上
に載せられていないから、当該データレジスタ
(DTR)は無効となつている。(1) Operation at clock timing T0 First, in order to obtain the right to use the bus, the device Dn sends a bus request signal to the bus request line BRn at the first clock timing T0, and also transmits a bus request signal to the bus request line BRn. Check to see if any devices are requesting bus use. At this timing T0, devices D0,...Dn
Since none of them are using the bus, bus line 1 and tag line 2 are in the Hiz state. The tag register 21 holds the state one clock before T0, and the state of the tag line 2 at that time (no signal is output) is held as "00". Further, in the data register (DTR: a register that receives data on the bus line), since no data has been placed on the bus line 1 yet, the data register (DTR) is invalid.
(2) クロツクタイミングT1における動作
装置Dnは、バスアービトレーシヨン回路1
0の作動によつてバスの使用権確保を認識する
と、バス線1上にアドレス及びコマンド情報を
発送すると共にタグ線2上にこのアドレス・コ
マンド情報を識別するためのタグ信号“01”を
発送する。タグレジスタ21にはタイミングt
0におけるタグ線の状態(即ちHiz状態)が
“00”として保持されている。データレジスタ
(DRT)は、タイミングT0におけるバス線1
の状態がHiz状態にあり、データがバス線1上
に載せられていないから、無効となつている。(2) Operation at clock timing T1 Device Dn is bus arbitration circuit 1.
When it recognizes that the right to use the bus is secured by the operation of 0, it sends address and command information on bus line 1 and also sends a tag signal "01" on tag line 2 to identify this address and command information. do. The tag register 21 has timing t.
The state of the tag line at 0 (ie, Hiz state) is held as "00". The data register (DRT) is the bus line 1 at timing T0.
is in the Hiz state and no data is placed on bus line 1, so it is invalid.
(3) クロツクタイミングT2における動作
装置Dnはバス線1上にライトデータを発送
すると共にこのライトデータを識別するための
タグ信号“10”をタグ線2上に発送する。この
タイミングT2において、タグレジスタ21に
はタイミングT1におけるタグ線2上の信号
“01”がナンドゲート19において反転され、
信号“10”として保持される。またデータレジ
スタ(DTR)には、タイミングT1において
バス線1上にアドレス・コマンド情報が載せら
れたのを受けて、このアドレス・コマンド情報
が保持されている。(3) Operation at clock timing T2 The device Dn sends write data onto the bus line 1 and also sends a tag signal "10" onto the tag line 2 for identifying this write data. At this timing T2, the signal "01" on the tag line 2 at timing T1 is inverted at the NAND gate 19, and the tag register 21 receives the signal "01" on the tag line 2 at timing T1.
The signal is held as “10”. Further, the data register (DTR) holds address/command information after it is placed on the bus line 1 at timing T1.
なお、上記一連のクロツクタイミングT0,
T1,T2において、メモリ制御装置D0のタ
グ回路7内ではバス要求監視回路22がタグレ
ジスタ21の状態を常時検知することにより、
他の装置D1,…Dnによるバスの要求の有無
を監視している。どの装置もバスを使つていな
い場合、タグ線2はHiz状態になつているが、
最終端回路24により論理“11”が出力されて
いるため、この信号はナンドゲート19で反転
されタグレジスタ21には信号“00”がセツト
される(T0及びT1のタイミング)。 Note that the above series of clock timings T0,
At T1 and T2, the bus request monitoring circuit 22 in the tag circuit 7 of the memory control device D0 constantly detects the state of the tag register 21.
It monitors the presence or absence of bus requests from other devices D1, . . . Dn. If no device is using the bus, tag line 2 is in the Hiz state, but
Since the logic "11" is outputted by the final end circuit 24, this signal is inverted by the NAND gate 19 and the signal "00" is set in the tag register 21 (timing of T0 and T1).
そして、このタイミングT2において、タグ
レジスタ21には“10”がセツトされるから、
メモリ制御装置D0はバス要求が存在すること
を認識する。そしてバスの内容を保持したデー
タレジスタ(DTR)の内容(メモリライトの
コマンドやメモリアドレスが保持されている)
に従いメモリ6を起動させる。 Then, at this timing T2, "10" is set in the tag register 21, so
Memory controller D0 recognizes that a bus request exists. And the contents of the data register (DTR) that holds the contents of the bus (memory write commands and memory addresses are held)
Activate the memory 6 according to the following.
(4) クロツクタイミングT3における動作
前のタイミングT2においてライトデータが
バス線1上に発送されてしまつたから、バス線
1及びタグ線2はこの操作の開始前と同様Hiz
状態となり、装置Dnはメモリ6へのライト操
作完了の応答を持つ。一方、タグレジスタ21
にはタイミングT2におけるタグ線2上の信号
“01”がナンドゲート19で反転され、信号
“01”として保持される。またデータレジスタ
(DRT)には、タイミングT2のおいてバス線
1上にライトデータが載せられたのを受けて、
このライトデータが保持される。(4) Operation at clock timing T3 Since the write data was sent onto bus line 1 at the previous timing T2, bus line 1 and tag line 2 are at Hiz as before the start of this operation.
state, and the device Dn receives a response indicating that the write operation to the memory 6 has been completed. On the other hand, tag register 21
At timing T2, the signal "01" on the tag line 2 is inverted by the NAND gate 19 and held as the signal "01". In addition, in response to the write data being placed on the bus line 1 at timing T2, the data register (DRT)
This write data is retained.
さらにメモリ制御装置D0についてみると、
このメモリ制御装置D0はこのタイミングT3
においてタグレジスタ21を検知することによ
りライトデータが送られて来たことを確認し、
メモリ6にそのデータを書込む。 Furthermore, looking at the memory control device D0,
This memory control device D0 is at this timing T3.
Confirm that the write data has been sent by detecting the tag register 21 at
Write the data to memory 6.
(5) クロツクタイミングT4における動作
バス線1及びタグ線2は前のタイミングT3
のときと同様、Hiz状態となつている。タグレ
ジスタ21にはタイミングT3におけるタグ線
2のHiz状態を受けて信号“00”が保持され
る。また、データレジスタ(DTR)はタイミ
ングT3におけるバス線1のHiz状態を受けて
無効となる。(5) Operation at clock timing T4 Bus line 1 and tag line 2 are operated at the previous timing T3.
As in the case of , it is in Hiz state. The signal "00" is held in the tag register 21 in response to the Hiz state of the tag line 2 at timing T3. Further, the data register (DTR) becomes invalid in response to the Hiz state of the bus line 1 at timing T3.
一方、メモリ制御装置D0はバスリクエスト
線BR0に向けてバスリクエスト信号を発信し
た後、バス線1を使つて装置Dnにメモリ6へ
のデータ書込動作が完了したことを通知する。 On the other hand, the memory control device D0 sends a bus request signal to the bus request line BR0, and then uses the bus line 1 to notify the device Dn that the data write operation to the memory 6 has been completed.
以上で装置Dnがメモリ6へデータを書込む操
作が終了する。 This completes the operation of the device Dn to write data into the memory 6.
このように、本発明では、優先順位の最も高い
装置はスレーブとして作動する場合タグ線2を監
視することによりバス要求の有無をチエツクする
ようにしたため、従来のバス制御装置に比較して
信号線の数を大幅に減らすことができる。 In this way, in the present invention, when the device with the highest priority operates as a slave, it checks whether there is a bus request by monitoring the tag line 2. Therefore, compared to the conventional bus control device, the signal line is can be significantly reduced.
なお、この実施例においては、優先順位の最も
低い装置(仮に装置Dnとする)ではバスリクエ
スト回路9を省略してしまい、バスリクエスト信
号は発送しない様にしている。そして、この装置
DnはT0のタイミングで他の全ての装置D0,
…Dn−1のバスリクエスト信号をチエツクし、
上記他の装置のいずれもがバスリクエストを出し
ていなければバスの使用権があるものと判断し、
次のタイミングT1でアドレス・コマンド情報を
バス線1に向けて発送すると共にタグ信号をタグ
線2に向けて発送する。その後の動作は上記タイ
ミングごとに説明した動作と同様である。 In this embodiment, the bus request circuit 9 is omitted for the device with the lowest priority (temporarily referred to as device Dn), so that no bus request signal is sent. And this device
Dn is all other devices D0 at the timing of T0,
...Check the Dn-1 bus request signal,
If none of the other devices listed above has issued a bus request, it is determined that they have the right to use the bus,
At the next timing T1, the address/command information is sent to the bus line 1 and the tag signal is sent to the tag line 2. The subsequent operations are similar to those described for each timing above.
(6) 発明の効果
以上説明したように、本発明によれば、マスタ
機能とスレーブ機能とを有しバスに接続された装
置のうち、最も優先順位の高い装置には当該装置
に対応するバスリクエスト線に接続されたバス制
御回路と、タグ線に接続されたタグ回路とを備
え、スレーブ作動時にはタグ線を監視することに
よつて他の装置によるバスリクエストの有無をチ
エツクするようにしたため、信号線及び信号ピン
の削減を図ることが可能となり、LSI化といつた
要請にも充分に対応することができる等、種々の
効果が得られる。(6) Effects of the Invention As explained above, according to the present invention, among devices connected to a bus and having a master function and a slave function, the device with the highest priority is assigned a bus corresponding to the device. It is equipped with a bus control circuit connected to the request line and a tag circuit connected to the tag line, and when the slave is activated, the tag line is monitored to check whether there is a bus request from another device. Various effects can be obtained, including the ability to reduce the number of signal lines and signal pins, and to fully meet demands such as LSI.
第1図は従来のバス制御方式を実施するための
回路を示す図、第2図は本発明のバス制御方式を
実施するための制御回路の一実施例を示す図、第
3図は第2図の制御回路に用いられるタグ回路の
一構成例を示す図、第4図は第2図の制御回路の
一使用例におけるタイムチヤートを示す図であ
る。
1……バス線、2……タグ線、3……バスリク
エスト線、4,14……バス制御回路、5……メ
モリ制御回路、6……メモリ、7,17……タグ
回路、8……データ送受信回路、9……バスリク
エスト回路、10……バスアービトレーシヨン回
路、19……ナンドゲート部、21……タグレジ
スタ、22……バス要求監視回路、23……ドラ
イバー、D0,D1,…Dn……(マスタ、スレ
ーブ)。
FIG. 1 is a diagram showing a circuit for implementing a conventional bus control method, FIG. 2 is a diagram showing an embodiment of a control circuit for implementing the bus control method of the present invention, and FIG. 3 is a diagram showing a circuit for implementing a conventional bus control method. FIG. 4 is a diagram showing a configuration example of a tag circuit used in the control circuit shown in the figure, and FIG. 4 is a diagram showing a time chart in an example of use of the control circuit shown in FIG. 1... Bus line, 2... Tag line, 3... Bus request line, 4, 14... Bus control circuit, 5... Memory control circuit, 6... Memory, 7, 17... Tag circuit, 8... ...Data transmission/reception circuit, 9...Bus request circuit, 10...Bus arbitration circuit, 19...NAND gate section, 21...Tag register, 22...Bus request monitoring circuit, 23...Driver, D0, D1, …Dn……(master, slave).
Claims (1)
装置間で、アドレスとデータとを時分割で転送す
るバス線と、転送されている情報を識別するため
のタグ線と、各装置に対応して設けられそれぞれ
の装置からのバスリクエスト信号が送給されるバ
スリクエスト線とを有する同期式の双方向バスに
おいて、マスタ又はスレーブとして択一的に作動
する上記複数の装置のうちバス使用に関して最も
優先順位の高い装置は、当該装置に対応するバス
リクエスト線に接続されたバス制御回路と、タグ
線に接続されたタグ回路とを有し、マスタとして
の作動時はバス制御回路から対応するバスリクエ
スト線に対してリクエスト信号を発する一方、ス
レーブとしての作動時はタグ回路によつてタグ線
を通じて他の装置のバスリクエスト状態を監視す
るようにしたことを特徴とするバス制御方式。1 A bus line for time-sharing transfer of addresses and data between multiple devices having master and slave functions, a tag line for identifying the information being transferred, and a bus line for each device. In a synchronous bidirectional bus having a bus request line and a bus request line to which bus request signals from each device are sent, the device that has the highest priority in terms of bus use among the plurality of devices described above that selectively operate as master or slave. A device with a high value has a bus control circuit connected to the bus request line corresponding to the device and a tag circuit connected to the tag line, and when operating as a master, the device has a bus control circuit connected to the bus request line corresponding to the device, and a tag circuit connected to the tag line. A bus control system characterized in that, while operating as a slave, a tag circuit monitors the bus request status of other devices through a tag line.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22561583A JPS60117362A (en) | 1983-11-30 | 1983-11-30 | Bus controlling system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22561583A JPS60117362A (en) | 1983-11-30 | 1983-11-30 | Bus controlling system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60117362A JPS60117362A (en) | 1985-06-24 |
| JPS648385B2 true JPS648385B2 (en) | 1989-02-14 |
Family
ID=16832091
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22561583A Granted JPS60117362A (en) | 1983-11-30 | 1983-11-30 | Bus controlling system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60117362A (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5057347A (en) * | 1973-09-19 | 1975-05-19 | ||
| JPS5463634A (en) * | 1977-10-03 | 1979-05-22 | Nec Corp | Bus controller |
| JPS56140458A (en) * | 1980-04-02 | 1981-11-02 | Fuji Electric Co Ltd | Control system for priority order for common bus use |
| JPS5856124A (en) * | 1981-09-30 | 1983-04-02 | Toshiba Corp | Control system for priority of bus occupation |
-
1983
- 1983-11-30 JP JP22561583A patent/JPS60117362A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60117362A (en) | 1985-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1179069A (en) | Data transmission apparatus for a multiprocessor system | |
| US5469435A (en) | Bus deadlock avoidance during master split-transactions | |
| JPS61109164A (en) | Bus control | |
| EP0872799A2 (en) | PCI bus System | |
| JP2996440B2 (en) | Diagnosis method of data processing system | |
| KR100644596B1 (en) | Bus system and its bus arbitration method | |
| EP0030978B1 (en) | Data-transfer controlling system | |
| JP3952226B2 (en) | Bus communication system | |
| US7062588B2 (en) | Data processing device accessing a memory in response to a request made by an external bus master | |
| US7203781B2 (en) | Bus architecture with primary bus and secondary or slave bus wherein transfer via DMA is in single transfer phase engagement of primary bus | |
| JPS621057A (en) | Transfer controller | |
| US7130946B2 (en) | Configuration and method having a first device and a second device connected to the first device through a cross bar | |
| US4827471A (en) | Method for bus access for data transmission through a multiprocessor bus | |
| JPS648385B2 (en) | ||
| JP4928683B2 (en) | Data processing device | |
| JPH10307788A (en) | Bus bridge | |
| JPS61166647A (en) | Accessing for reading out information microprocessor and addressable memory | |
| US4630197A (en) | Anti-mutilation circuit for protecting dynamic memory | |
| JPH0562384B2 (en) | ||
| JP2800764B2 (en) | Data transfer control method | |
| JP2906197B2 (en) | Duplex bus device | |
| JP3947223B2 (en) | Method and apparatus for reducing waiting time on an interface by overlapping transmission packets | |
| JPS593775B2 (en) | Bus request processing unit | |
| JPS6155704B2 (en) | ||
| JP2573790B2 (en) | Transfer control device |