JPH04333947A - I/o access control system for dual bus system - Google Patents
I/o access control system for dual bus systemInfo
- Publication number
- JPH04333947A JPH04333947A JP10531391A JP10531391A JPH04333947A JP H04333947 A JPH04333947 A JP H04333947A JP 10531391 A JP10531391 A JP 10531391A JP 10531391 A JP10531391 A JP 10531391A JP H04333947 A JPH04333947 A JP H04333947A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- access
- shared
- same
- shared buses
- 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
Links
- 230000009977 dual effect Effects 0.000 title claims abstract description 10
- 238000012544 monitoring process Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Bus Control (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、マイクロプロセサから
なるシステムに関し、特に複数のマイクロプロセサと複
数の共有バスとからなるデュアルバスシステムにおける
I/Oアクセス制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system comprising a microprocessor, and more particularly to an I/O access control method in a dual bus system comprising a plurality of microprocessors and a plurality of shared buses.
【0002】0002
【従来の技術】従来のデュアルバスシステムにおけるI
/Oアクセス制御方式では、I/O(入出力部)をデュ
アルバスのどちらか一方のバスにだけに接続するか、I
/Oにデュアルバスのどちらのバスに接続するかの切り
替え回路を接続しておき、プロセサ部からどちらかのバ
スに接続するかを指示することによりアクセス制御して
いる。[Prior Art] I in a conventional dual bus system
In the /O access control method, the I/O (input/output unit) is connected to only one of the dual buses, or the I/O
A switching circuit for connecting to either of the dual buses is connected to /O, and access is controlled by instructing which bus to connect to from the processor section.
【0003】0003
【発明が解決しようとする課題】従来のデュアルバスシ
ステムにおけるI/Oアクセス制御方式では、2台のバ
スマスタがそれぞれ違ったI/Oをアクセスしようとし
ても、バスが他のバスマスタによって占有されていてア
クセス出来なかったり、各バスマスタがI/Oをアクセ
スする度にI/Oをどのバスに接続するか指示する必要
がるという欠点がある。[Problem to be Solved by the Invention] In the conventional I/O access control method in a dual bus system, even if two bus masters attempt to access different I/Os, the bus is occupied by another bus master. There are disadvantages in that access is not possible, and each bus master must instruct which bus to connect the I/O to each time it accesses the I/O.
【0004】0004
【課題を解決するための手段】本発明の方式は、2本の
共有バスと、各前記共有バスにそれぞれ接続された複数
台の入出力部(I/O)と、各前記共有バスにアクセス
可能な複数台のバスマスタとを有するデュアルバスシス
テムにおけるI/Oアクセス制御方式において、各前記
バスマスタは、プロセサ部と、このプロセサ部がアクセ
スしようとしている前記I/Oと現在前記共有バスを通
してアクセスされている前記I/Oとが同一か否かを比
較する監視回路と、この監視回路によって開閉制御され
るバスアクセス要求信号用の2つのゲート回路とを有し
、前記監視回路の前記比較結果が同一の時には前記ゲー
ト回路を閉じ、前記比較結果が同一でない時には前記ゲ
ート回路を開けることを特徴とする。[Means for Solving the Problems] The system of the present invention includes two shared buses, a plurality of input/output units (I/O) connected to each of the shared buses, and access to each of the shared buses. In an I/O access control scheme in a dual bus system having a plurality of possible bus masters, each said bus master has a processor section and said I/O that this processor section is trying to access and that is currently being accessed through said shared bus. a monitoring circuit for comparing whether or not the I/Os are the same, and two gate circuits for bus access request signals whose opening/closing is controlled by the monitoring circuit, and the comparison result of the monitoring circuit is The gate circuit is closed when the comparison results are the same, and the gate circuit is opened when the comparison results are not the same.
【0005】[0005]
【実施例】次に本発明について図面を参照して説明する
。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.
【0006】図1は本発明の一実施例のブロック図であ
る。同図において、共有バスB1,B2には、バスマス
タ1−1,1−2と、I/O6−1,6−2とが接続さ
れており、バスマスタ1−1,1−2はそれぞれ、バス
要求信号用のゲート回路4−1,4−2,5−1,5−
2、監視回路3−1,3−2、プロセサ部(CPU)2
−1,2−2を有する。例えば、プロセサ部2−1が共
有バスB1を通してI/O6−1にアクセスしている最
中に、プロセサ部2−2がI/O6−2をアクセスしよ
うとした場合、監視回路3−2は、プロセサ部2−2の
指定I/Oアドレスと共有バスB1,B2上のアドレス
とを比較し、両者が同一アドレスでなければ、ゲート回
路4−2,5−2を開けてプロセサ部2−2のバス要求
信号を共有バスB1,B2に接続させ、共有バスB2が
使用されていなければプロセサ部2−2は、共有バスB
2を通してI/O6−2にアクセスできる。また、プロ
セサ部2−2がI/O6−1をアクセスしようとした場
合、監視回路3−2は、指定I/Oアドレスと共有バス
B1,B2のアドレスとを比較し、両者が同一アドレス
であれば、他のプロセサ部がアクセス中である事を認識
しゲート回路4−2,5−2を閉じて、プロセサ部2−
2のバス要求信号が共有バスB1,B2に接続されない
ようにする。この後、プロセサ部2−1がI/O6−1
のアクセスを終了したら、ゲート回路4−2,5−2を
開けて、プロセサ部2−2のバス要求信号を共有バスB
1,B2に接続させ、共有バスB1,B2のどちらかを
通してプロセサ部2−2は、I/O6−1にアクセスで
きる。FIG. 1 is a block diagram of one embodiment of the present invention. In the figure, bus masters 1-1, 1-2 and I/Os 6-1, 6-2 are connected to shared buses B1, B2, and bus masters 1-1, 1-2 are connected to bus masters 1-1, 1-2, respectively. Gate circuits 4-1, 4-2, 5-1, 5- for request signals
2. Monitoring circuit 3-1, 3-2, processor unit (CPU) 2
-1, 2-2. For example, if the processor section 2-2 attempts to access the I/O 6-2 while the processor section 2-1 is accessing the I/O 6-1 through the shared bus B1, the monitoring circuit 3-2 , compares the specified I/O address of the processor section 2-2 with the addresses on the shared buses B1 and B2, and if they are not the same address, opens the gate circuits 4-2 and 5-2 and transfers the address to the processor section 2-2. 2 is connected to the shared buses B1 and B2, and if the shared bus B2 is not used, the processor unit 2-2
I/O 6-2 can be accessed through I/O 2. Furthermore, when the processor unit 2-2 attempts to access the I/O 6-1, the monitoring circuit 3-2 compares the specified I/O address with the addresses of the shared buses B1 and B2, and determines whether they are the same address. If there is, it recognizes that another processor section is accessing, closes the gate circuits 4-2 and 5-2, and accesses the processor section 2-2.
The second bus request signal is prevented from being connected to the shared buses B1 and B2. After this, the processor section 2-1
After accessing the shared bus B, open the gate circuits 4-2 and 5-2 and transfer the bus request signal from the processor section 2-2 to the shared bus B.
1 and B2, and the processor section 2-2 can access the I/O 6-1 through either the shared bus B1 or B2.
【0007】[0007]
【発明の効果】以上説明したように本発明によれば、各
バスマスタがアクセスしようとするI/Oを他のバスマ
スタがアクセス使用中でないか、また使用中でない場合
にどちらかのバスに接続されているかを判別し、もしそ
のバスが使用できない場合にはI/Oの接続を他方のバ
スに切り替える等の煩雑な制御を不要にして、各バスマ
スタが効率的にI/Oをアクセスできる。[Effects of the Invention] As explained above, according to the present invention, the I/O that each bus master attempts to access can be accessed by another bus master, or if the I/O is not in use, it can be connected to either bus. Each bus master can efficiently access I/O without the need for complicated control such as determining whether the bus is available or switching the I/O connection to another bus if the bus cannot be used.
【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
B1,B2 共有バス
1−1,1−2 バスマスタ
4−1,4−2,5−1,5−2 ゲート回路3
−1,3−2 監視回路
2−1,2−2 プロセサ部(CPU)6−1,
6−2 I/OB1, B2 Shared bus 1-1, 1-2 Bus master 4-1, 4-2, 5-1, 5-2 Gate circuit 3
-1, 3-2 Monitoring circuit 2-1, 2-2 Processor section (CPU) 6-1,
6-2 I/O
Claims (1)
それぞれ接続された複数台の入出力部(I/O)と、各
前記共有バスにアクセス可能な複数台のバスマスタとを
有するデュアルバスシステムにおけるI/Oアクセス制
御方式において、各前記バスマスタは、プロセサ部と、
このプロセサ部がアクセスしようとしている前記I/O
と現在前記共有バスを通してアクセスされている前記I
/Oとが同一か否かを比較する監視回路と、この監視回
路によって開閉制御されるバスアクセス要求信号用の2
つのゲート回路とを有し、前記監視回路の前記比較結果
が同一の時には前記ゲート回路を閉じ、前記比較結果が
同一でない時には前記ゲート回路を開けることを特徴と
するデュアルバスシステムにおけるI/Oアクセス制御
方式。1. A dual bus comprising two shared buses, a plurality of input/output units (I/O) connected to each of the shared buses, and a plurality of bus masters that can access each of the shared buses. In an I/O access control method in a bus system, each of the bus masters includes a processor unit;
The I/O that this processor section is trying to access
and the I currently being accessed through the shared bus.
/O and 2 for bus access request signals, which are controlled to open and close by this monitoring circuit.
I/O access in a dual bus system, characterized in that the gate circuit is closed when the comparison results of the monitoring circuits are the same, and the gate circuit is opened when the comparison results are not the same. control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10531391A JPH04333947A (en) | 1991-05-10 | 1991-05-10 | I/o access control system for dual bus system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10531391A JPH04333947A (en) | 1991-05-10 | 1991-05-10 | I/o access control system for dual bus system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04333947A true JPH04333947A (en) | 1992-11-20 |
Family
ID=14404218
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10531391A Pending JPH04333947A (en) | 1991-05-10 | 1991-05-10 | I/o access control system for dual bus system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04333947A (en) |
-
1991
- 1991-05-10 JP JP10531391A patent/JPH04333947A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5958033A (en) | On- the-fly partitionable computer bus for enhanced operation with varying bus clock frequencies | |
| US5754865A (en) | Logical address bus architecture for multiple processor systems | |
| US7043570B2 (en) | Dynamic PCI device identification redirection on a configuration space access conflict | |
| US5574869A (en) | Bus bridge circuit having configuration space enable register for controlling transition between various modes by writing the bridge identifier into CSE register | |
| US6023735A (en) | Expansion module including programmable chip selects | |
| US7130953B2 (en) | Bus architecture techniques employing busses with different complexities | |
| JPS5833766A (en) | Multi-microcomputer | |
| US6370593B1 (en) | Apparatus for multiplexing bus interfaces on a computer expansion | |
| JPS5864528A (en) | Data transfer system of plural microprocessors | |
| JPH0363750A (en) | Interface unit used for multidrop access system | |
| JPH09237242A (en) | Port expansion method and port expansion method | |
| JPH01293418A (en) | Semiconductor integrated circuit | |
| JPS61165172A (en) | Memory access controlling system | |
| JPH05250310A (en) | Data processor | |
| JPH04137165A (en) | Multiprocessor system | |
| JP2610971B2 (en) | Direct memory access method between central processing units | |
| US20050080960A1 (en) | Bus configuration circuit | |
| JPS6224347A (en) | bus controller | |
| JP2531080B2 (en) | Bus adapter switching method | |
| JPS6217878Y2 (en) | ||
| JPH03167651A (en) | Bus control system | |
| JPH04236651A (en) | Bus control system | |
| JPH05189364A (en) | Bus control system | |
| JPS62127962A (en) | Microcomputer | |
| JPH0375958A (en) | Bus arbitration processing system |