JP2000227899A - Resource dividing method and bus connecting mechanism in bus system - Google Patents

Resource dividing method and bus connecting mechanism in bus system

Info

Publication number
JP2000227899A
JP2000227899A JP11030497A JP3049799A JP2000227899A JP 2000227899 A JP2000227899 A JP 2000227899A JP 11030497 A JP11030497 A JP 11030497A JP 3049799 A JP3049799 A JP 3049799A JP 2000227899 A JP2000227899 A JP 2000227899A
Authority
JP
Japan
Prior art keywords
bus
signal
cpu
connection mechanism
circuit
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.)
Withdrawn
Application number
JP11030497A
Other languages
Japanese (ja)
Inventor
Kouji Fukamizu
幸滋 深水
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP11030497A priority Critical patent/JP2000227899A/en
Publication of JP2000227899A publication Critical patent/JP2000227899A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a resource dividing method and a bus connecting device which do not need a register for system resource allocation, are of simple hardware constitution and facilitates system extension. SOLUTION: When response signals are returned from plural I/O systems 8-12 with time lag at an access request made by a CPU 1, I/O buses 3 and 4 which are connected with bus connection devices 5 and 6 of the I/O system having quickly responded are validated and the I/O buses which are connected with the other bus connection devices are invalidated. When the response signals are returned at the same time, the bus connecting device of some I/O system outputs a data validation signal to a CPU bus 2 and other bus connecting devices outputs CPU interruption signals. The CPU detects inconsistency being generated in an I/O cycle by receiving a contrary signal and when the response signal is not returned from any I/O system, a timer 7 sends time-out signals to the respective bus connecting devices make all the I/O buses ineffective.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CPUに接続され
たCPUバスと、任意の数のI/Oシステムに接続され
た複数のI/Oバスとを備え、CPUバスと各I/Oバ
スとの間に各々バス接続機構を備えたバスシステムにお
ける資源分割方法とバス接続機構に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention comprises a CPU bus connected to a CPU, and a plurality of I / O buses connected to an arbitrary number of I / O systems. And a bus connection mechanism in a bus system having a bus connection mechanism between the two.

【0002】[0002]

【従来の技術】従来のバス(BUS)接続機構における
資源分割方式は、アドレスの重複等が発生した場合に、
1つのアクセス要求に対して同時に2つの資源(I/O
空間、メモリ等のI/Oシステム)が重複して起動され
ることがないようにするために、各BUS接続機構毎に
各々が制御するI/Oバスに割り当てられた資源をレジ
スタ等に記憶しておき、このレジスタの内容を参照する
ことによって、アクセス要求が自分の制御するI/Oバ
スに接続された資源に対するものである場合にのみ、I
/Oバスを制御してCPUに応答を返すようにしてい
た。
2. Description of the Related Art In a conventional resource dividing method in a bus (BUS) connection mechanism, when an address duplication or the like occurs,
For one access request, two resources (I / O
In order to prevent redundant activation of the I / O system such as a space and a memory, resources allocated to the I / O buses controlled by each BUS connection mechanism are stored in a register or the like. By referring to the contents of this register, the I / O request can be made only when the access request is for a resource connected to the I / O bus controlled by the access request.
The I / O bus is controlled to return a response to the CPU.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記し
た従来方式の場合、システムの初期化時に初期化プログ
ラムによってすべての資源を調べ、各BUS制御機構に
割り当てられる資源を計算した上で、各々のBUS制御
機構内のレジスタに資源の内容を記録しなければなら
ず、システムの初期化プログラムが複雑なものになって
しまうという問題があった。また、I/Oバスに接続さ
れるI/Oシステムの数だけ、BUS接続機構内にレジ
スタが必要になり、ハードウェア構成が複雑で、大型化
してしまうという問題があった。さらに、システム拡張
に際してはレジスタを増設しなければならず、システム
拡張が容易でないという問題もあった。
However, in the case of the above-mentioned conventional system, when the system is initialized, all resources are checked by an initialization program, the resources allocated to each BUS control mechanism are calculated, and then each BUS control mechanism is calculated. The contents of the resources must be recorded in the register in the control mechanism, which causes a problem that the system initialization program becomes complicated. Also, registers are required in the BUS connection mechanism by the number of I / O systems connected to the I / O bus, and there is a problem that the hardware configuration is complicated and the size is increased. Further, when the system is expanded, it is necessary to add a register, and there is a problem that the system expansion is not easy.

【0004】そこで、本発明は上記問題に鑑みてなされ
たものであって、資源分割の処理方法を工夫することに
より、従来、BUS接続機構内に各々用意していたシス
テム資源割り当て用のレジスタを不要とし、ハードウェ
ア構成が簡素で、しかも、システム拡張も容易に行なう
ことができるバスシステムにおける資源分割方法とバス
接続機構を提供することを目的とする。
Therefore, the present invention has been made in view of the above problem, and by devising a method of processing resource division, a register for system resource allocation conventionally provided in each BUS connection mechanism is provided. It is an object of the present invention to provide a resource dividing method and a bus connection mechanism in a bus system, which is unnecessary, has a simple hardware configuration, and can be easily expanded.

【0005】[0005]

【課題を解決するための手段】本発明の資源分割方法
は、CPUに接続されたCPUバスと、任意の数のI/
Oシステムに接続された複数のI/Oバスとを備え、C
PUバスと各I/Oバスとの間に各々BUS接続機構を
設けたバスシステムにおいて、CPUによるアクセス要
求に対して複数のI/Oシステムから時間的なずれをも
って応答信号が返ってきた場合には、応答の速かったI
/OシステムのBUS接続機構に接続されたI/Oバス
を有効にするとともに、該応答の速かったI/Oシステ
ムのBUS接続機構から他のBUS接続機構に対してI
/Oバス中断信号を出力して他のBUS接続機構に接続
されたI/Oバスを無効とし、CPUによるアクセス要
求に対して複数のI/Oシステムから同時に応答信号が
返ってきた場合には、いずれかのI/OシステムのBU
S接続機構からCPUバスに対してデータ有効信号を出
力するとともに、他のI/OシステムのBUS接続機構
からはCPUバスに対してCPU中断信号を出力し、C
PUは相反する信号を受信することによってI/Oサイ
クルに矛盾が発生したこと検知し、CPUによるアクセ
ス要求に対していずれのI/Oシステムからも応答信号
が返ってこない場合には、規定時間をカウントするタイ
マーから時間切れ信号を各BUS接続機構に送り、すべ
てのI/Oバスを無効にするようにしたものである。
The resource dividing method of the present invention comprises a CPU bus connected to a CPU, and an arbitrary number of I / Os.
A plurality of I / O buses connected to the O system;
In a bus system in which a BUS connection mechanism is provided between a PU bus and each I / O bus, when a response signal is returned with a time lag from a plurality of I / O systems to an access request by a CPU. Is the response I
The I / O bus connected to the BUS connection mechanism of the I / O system is enabled, and the BUS connection mechanism of the I / O system that has responded quickly responds to the other BUS connection mechanism.
When an I / O bus interruption signal is output to invalidate an I / O bus connected to another BUS connection mechanism, and a response signal is returned simultaneously from a plurality of I / O systems to an access request from the CPU, , BU of any I / O system
A data valid signal is output from the S connection mechanism to the CPU bus, and a CPU interrupt signal is output from the BUS connection mechanism of another I / O system to the CPU bus.
The PU detects the occurrence of inconsistency in the I / O cycle by receiving the contradictory signal, and if no response signal is returned from any of the I / O systems in response to the access request by the CPU, the specified time is reached. Is sent to each BUS connection mechanism from a timer that counts the number of buses, and all I / O buses are invalidated.

【0006】上記資源分割方法を実現するための本発明
の第1のBUS接続機構は、CPUバスからアドレス有
効信号とアドレス/コマンド信号を受けて、I/Oのタ
イミングに合わせてI/OバスへI/Oサイクルスター
ト信号とアドレス/コマンド信号を出力するアドレスタ
イミング生成回路と、I/Oシステムからの応答信号を
受けてCPUバスに対してデータ有効信号を出力し、処
理がI/Oシステムからのデータ読み取りであった場合
には、CPUバスにデータを流すデータタイミング生成
回路と、他方の側のBUS接続機構から制御信号線を介
して入力されるI/Oバス停止指令信号を監視して該信
号が有効になったときにI/OバスにI/Oバス中断信
号を出力するとともに、I/Oバスから受けた応答信号
を基に制御信号線を通じて他方のBUS接続機構へI/
Oバス停止指令信号を出力するI/Oバスストップタイ
ミング生成回路と、I/Oバスからの応答信号とI/O
バス停止指令信号の論理積を行なう回路と、該論理積回
路からの出力とタイマーからの時間切れ信号との論理和
を行なう回路と、該論理和回路からの出力を基にCPU
バスに対してCPUバスの転送サイクルの中断を指示す
るCPUバス中断信号を出力するCPUバスストップタ
イミング生成回路とから構成したものである。
A first BUS connection mechanism of the present invention for realizing the above resource dividing method receives an address valid signal and an address / command signal from a CPU bus, and adjusts the I / O bus in accordance with I / O timing. An address timing generation circuit for outputting an I / O cycle start signal and an address / command signal, and receiving a response signal from the I / O system, outputting a data valid signal to the CPU bus, and processing the I / O system. When the data is read from the CPU, a data timing generation circuit for flowing data to the CPU bus and an I / O bus stop command signal input via a control signal line from the other BUS connection mechanism are monitored. And outputs an I / O bus interruption signal to the I / O bus when the signal becomes valid, and a control signal line based on a response signal received from the I / O bus. Through and to the other BUS connection mechanism I /
An I / O bus stop timing generation circuit for outputting an O bus stop command signal, a response signal from the I / O bus, and an I / O bus
A circuit for performing a logical product of the bus stop command signal, a circuit for performing a logical sum of an output from the logical product circuit and a time-out signal from a timer, and a CPU based on the output from the logical sum circuit
And a CPU bus stop timing generation circuit for outputting a CPU bus interruption signal for instructing the bus to interrupt the transfer cycle of the CPU bus.

【0007】上記資源分割方法を実現するための本発明
の第2のBUS接続機構は、CPUバスからのアドレス
信号とアドレス/コマンド信号を受けて、I/Oバスの
タイミングに合わせてI/Oバスのサイクルスタート信
号とアドレス/コマンド信号(A/C)を出力するアド
レスタイミング生成回路と、I/Oシステムからの応答
信号を受けてCPUバスに対してデータ有効信号を出力
し、I/Oシステムからの読み取りであった場合には、
CPUバスにデータを流すデータタイミング生成回路
と、他方のBUS接続機構から制御信号線を通じて入力
されるI/Oバスの応答信号を監視して該信号が有効に
なったときにI/OバスにI/Oバス中断信号を出力す
るとともに、I/Oバスから受けた応答信号を信号線に
よって他方のBUS接続機構へ出力するI/Oバススト
ップタイミング生成回路と、I/Oバスからの応答信号
と他方のBUS接続機構からの応答信号の論理積を行な
う回路と、該論理積回路からの出力とタイマーからの時
間切れ信号との論理和を行なう回路と、該論理和回路か
らの出力を基にCPUバスに対してCPUバスの転送サ
イクルの中断を指示するCPUバス中断信号を出力する
CPUバスストップタイミング生成回路とから構成した
ものである。
A second BUS connection mechanism of the present invention for realizing the above resource dividing method receives an address signal and an address / command signal from a CPU bus, and receives an I / O signal in accordance with the timing of the I / O bus. An address timing generation circuit that outputs a bus cycle start signal and an address / command signal (A / C); and a data valid signal that is output to the CPU bus in response to a response signal from the I / O system. If it was read from the system,
A data timing generation circuit for flowing data to the CPU bus and a response signal of the I / O bus input from the other BUS connection mechanism through a control signal line are monitored, and when the signal becomes valid, the signal is transmitted to the I / O bus. An I / O bus stop timing generation circuit that outputs an I / O bus interruption signal and outputs a response signal received from the I / O bus to the other BUS connection mechanism via a signal line, and a response signal from the I / O bus A circuit for performing an AND operation on a response signal from the other BUS connection mechanism, a circuit for performing an OR operation on an output from the AND circuit and a time-out signal from a timer, and a circuit based on an output from the OR circuit. And a CPU bus stop timing generation circuit for outputting a CPU bus interruption signal for instructing the CPU bus to interrupt the transfer cycle of the CPU bus.

【0008】そして、上記構成になる資源分割方法とB
US接続機構を用いた場合には、I/Oやメモリ等の資
源割り当て用のレジスタを設けなくとも、複数のI/O
バスを有するバスシステムのI/Oシステムに対するア
クセスを制御できるとともに、アドレス重複等が発生し
た場合のシステム凍結を回避することができる。
Then, the resource dividing method having the above configuration and B
When the US connection mechanism is used, a plurality of I / Os can be provided without providing a register for allocating resources such as I / Os and memories.
The access to the I / O system of the bus system having the bus can be controlled, and the system can be prevented from being frozen when the address is duplicated.

【0009】さらに、第2のBUS接続機構の場合に
は、BUS接続機構から出力される制御信号線の本数を
減らすことができ、BUS接続機構をより簡潔に構成す
ることが可能となる。
Further, in the case of the second BUS connection mechanism, the number of control signal lines output from the BUS connection mechanism can be reduced, and the BUS connection mechanism can be configured more simply.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施の形態の具体
例について図面を参照しながら説明する。図1及び図2
は本発明の一実施例を示すもので、図1は本発明を適用
して構成したバスシステムの全体構成を示すブロック
図、図2は図1中のBUS接続機構の構成を示すブロッ
ク図である。
Next, a specific example of an embodiment of the present invention will be described with reference to the drawings. 1 and 2
FIG. 1 shows an embodiment of the present invention. FIG. 1 is a block diagram showing an entire configuration of a bus system to which the present invention is applied, and FIG. 2 is a block diagram showing a configuration of a BUS connection mechanism in FIG. is there.

【0011】図示例のバスシステムは、図1にその全体
構成を示すように、CPU1と、CPUバス2と、第1
及び第2の二つのI/Oバス3、4と、CPUバス2と
第1のI/Oバス3との間を接続する第1のBUS接続
機構5と、CPUバス2と第2のI/Oバス4との間を
接続する第2のBUS接続機構6と、タイマー7と、第
1及び第2のI/Oバス3、4の各々に接続された複数
個のI/Oシステム8〜12とで構成されている。
As shown in FIG. 1, the bus system shown in FIG. 1 has a CPU 1, a CPU bus 2, and a first bus system.
A first BUS connection mechanism 5 for connecting the CPU bus 2 to the first I / O bus 3; a second BUS connection mechanism 5 for connecting the CPU bus 2 to the first I / O bus 3; A second BUS connection mechanism 6 for connecting with the I / O bus 4, a timer 7, and a plurality of I / O systems 8 connected to each of the first and second I / O buses 3, 4 ~ 12.

【0012】BUS接続機構5、6は、CPU1から送
られてくるI/Oシステム8〜12中の任意の一つに対
するアクセス要求を受け、第1または第2のI/Oバス
3、4に対して必要な信号を出力するものである。これ
により、CPU1からのデータをI/Oシステム8〜1
2中の任意の一つに書き込んだり、I/Oシステム8〜
12中の任意の一つからのデータをCPU1に送ったり
することができる。また、BUS接続機構5、6は、制
御信号線13を通じて他方の側のBUS接続機構5、6
からI/Oサイクル中断要求を受けることにより、I/
Oサイクルを中断する。
The BUS connection mechanisms 5 and 6 receive an access request to any one of the I / O systems 8 to 12 sent from the CPU 1 and send the access request to the first or second I / O bus 3 or 4. It outputs necessary signals. Thereby, the data from the CPU 1 is transferred to the I / O systems 8 to 1
2 to any one of the I / O systems 8 to
12 can be sent to the CPU 1. The BUS connection mechanisms 5 and 6 are connected via the control signal line 13 to the BUS connection mechanisms 5 and 6 on the other side.
By receiving an I / O cycle interrupt request from
Interrupt the O cycle.

【0013】タイマー7は、第1のI/Oバス3または
第2のI/Oバス4上でデータの転送サイクルが始まっ
た時にスタートスイッチが入り、規定時間内にI/Oバ
ス上の転送が終了しない場合に、時間切れを知らせる時
間切れ信号を信号線を通じて各BUS接続機構5、6に
対して出力するものである。
The timer 7 is turned on when a data transfer cycle on the first I / O bus 3 or the second I / O bus 4 is started, and the timer 7 transfers data on the I / O bus within a specified time. Is not completed, a time-out signal notifying the time-out is output to each of the BUS connection mechanisms 5 and 6 through a signal line.

【0014】I/Oシステム8〜12の各々には、アド
レスが個別に割り振られている。このアドレスは、CP
U1からの特殊な命令によって変更可能である。各I/
Oシステム8〜12は独立しており、他のI/Oシステ
ムと同じアドレスを持つことも可能である。
Addresses are individually assigned to each of the I / O systems 8-12. This address is
It can be changed by a special instruction from U1. Each I /
The O systems 8 to 12 are independent and can have the same address as other I / O systems.

【0015】図2に、第1及び第2のBUS接続機構
5、6の回路例を示す。この第1及び第2のBUS接続
機構5、6は同じ回路構成になり、各々、アドレスタイ
ミング生成回路101、データタイミング生成回路10
2、I/Oバスストップタイミング生成回路103、論
理積回路104、論理和回路105、CPUバスストッ
プタイミング生成回路106から構成されている。
FIG. 2 shows a circuit example of the first and second BUS connection mechanisms 5 and 6. The first and second BUS connection mechanisms 5 and 6 have the same circuit configuration, and include an address timing generation circuit 101 and a data timing generation circuit 10 respectively.
2. It comprises an I / O bus stop timing generation circuit 103, an AND circuit 104, an OR circuit 105, and a CPU bus stop timing generation circuit 106.

【0016】アドレスタイミング生成回路101は、C
PUバス1からアドレス有効信号(ADS)とアドレス
/コマンド信号(A/C)を受けて、I/Oバス3、4
のタイミングに合わせてI/Oバス3、4へI/Oサイ
クルスタート信号(CST)とアドレス/コマンド信号
(A/C)の出力を行なう回路である。
The address timing generation circuit 101
Upon receiving an address valid signal (ADS) and an address / command signal (A / C) from the PU bus 1, the I / O buses 3, 4
Is a circuit for outputting an I / O cycle start signal (CST) and an address / command signal (A / C) to the I / O buses 3 and 4 at the same timing.

【0017】データタイミング生成回路102は、I/
Oシステム8〜12からの応答信号(ACK)を受けて
CPUバス2に対してデータ有効信号(D−ACT)を
出力し、処理がI/Oシステム8〜12からのデータ読
み取りであった場合には、CPUバス2にデータを流す
機能を有する回路である。
The data timing generation circuit 102 has an I / O
When a response signal (ACK) from the O system 8 to 12 is received and a data valid signal (D-ACT) is output to the CPU bus 2, and the processing is data reading from the I / O system 8 to 12 Is a circuit having a function of flowing data to the CPU bus 2.

【0018】I/Oバスストップタイミング生成回路1
03は、他方の側のBUS接続機構から制御信号線13
Aを介して入力されるI/Oバス停止指令信号(STO
PRQ−IN)を監視して該信号が有効になったときに
I/OバスにI/Oバス中断信号(STOP)を出力す
る機能と、I/Oバス3、4から受けた応答信号(AC
K)を基に、制御信号線13bを通じて他方のBUS接
続機構へI/Oバス停止指令信号(STOPRQ−OU
T)を出力する機能を有する回路である。
I / O bus stop timing generation circuit 1
03 is a control signal line 13 from the BUS connection mechanism on the other side.
A / I bus stop command signal (STO
PRQ-IN) and a function of outputting an I / O bus interruption signal (STOP) to the I / O bus when the signal becomes valid, and a response signal ( AC
K), the I / O bus stop command signal (STOPRQ-OU) is sent to the other BUS connection mechanism through the control signal line 13b.
T) is a circuit having a function of outputting T).

【0019】論理積回路104は、I/Oバス3、4か
らの応答信号(ACK)とI/Oバス停止指令信号(S
TOPRQ−IN)の論理積を行なう回路である。
The AND circuit 104 receives a response signal (ACK) from the I / O buses 3 and 4 and an I / O bus stop command signal (S
TOPRQ-IN).

【0020】論理和回路105は、前記論理積回路10
4からの出力とタイマー7からの時間切れ信号(T−O
UT)との論理和を行なう回路である。
The OR circuit 105 is connected to the AND circuit 10.
4 and the time-out signal (TO) from the timer 7
UT).

【0021】CPUバスストップタイミング生成回路1
06は、前記論理和回路105からの出力を基に、CP
Uバス2に対してCPUバス2の転送サイクルの中断を
指示するCPUバス中断信号(STOP)を出力する機
能を有する回路である。
CPU bus stop timing generation circuit 1
06 is a CP based on the output from the OR circuit 105.
This circuit has a function of outputting a CPU bus interruption signal (STOP) for instructing the U bus 2 to interrupt the transfer cycle of the CPU bus 2.

【0022】CPUバス2からI/Oバス3、4へのア
クセス要求は、アドレスタイミング生成回路101によ
って、I/Oバスの転送サイクルとして起動され、I/
Oデバイスからの応答信号(ACK)によって、データ
タイミング回路102によって、CPUバス2にデータ
(DATA)とデータ有効信号(D−ACT)を出力
し、CPUからI/Oシステムへのデータの送受信を行
なうことができる。
An access request from the CPU bus 2 to the I / O buses 3 and 4 is activated by the address timing generation circuit 101 as a transfer cycle of the I / O bus, and
In response to a response signal (ACK) from the O device, the data timing circuit 102 outputs data (DATA) and a data valid signal (D-ACT) to the CPU bus 2 to transmit and receive data from the CPU to the I / O system. Can do it.

【0023】また、他方のBUS接続機構から制御信号
線13aを介して送られてくるI/Oバス停止指令信号
(STOPRQ−IN)に基づいて、I/Oバスストッ
プタイミング生成回路103が制御信号線13aを通じ
て他方のBUS接続機構へI/Oバス停止指令信号(S
TOPRQ−OUT)を出力することにより、I/Oバ
スの中断を行なうことができる。
Further, based on an I / O bus stop command signal (STOPRQ-IN) sent from the other BUS connection mechanism via the control signal line 13a, the I / O bus stop timing generation circuit 103 generates a control signal. The I / O bus stop command signal (S
By outputting (TOPRQ-OUT), the I / O bus can be interrupted.

【0024】さらに、I/Oサイクルの時間切れを表す
時間切れ信号(T−OUT)か、または、外部からのI
/Oサイクル中断要求が有り、かつ接続されているI/
Oバスの応答信号(ACK)が有効であった場合に、C
PUバス2に対して、CPUバスサイクルの中断を指示
するCPUバス中断信号(STOP)を出力することが
できる。
Further, a time-out signal (T-OUT) indicating a time-out of an I / O cycle or an external I / O cycle
I / O cycle interrupt request and connected I / O
If the response signal (ACK) of the O bus is valid,
A CPU bus interrupt signal (STOP) for instructing the CPU bus cycle to be interrupted can be output to the PU bus 2.

【0025】次に、上記構成を有するバスシステムの動
作を説明する。まず最初に、CPUからI/Oシステム
に対する通常の読み取り動作について、図3のタイミン
グチャートを参照しながら説明する。なお、図3のタイ
ミングチャートの各制御信号は、Lレベルが信号有効を
示すものである。
Next, the operation of the bus system having the above configuration will be described. First, a normal reading operation from the CPU to the I / O system will be described with reference to the timing chart of FIG. Note that the L level of each control signal in the timing chart of FIG. 3 indicates that the signal is valid.

【0026】CPU1は、まず転送サイクルの始まりを
示すアドレス信号(ADS)をCPUバス2に出力す
る。また、同時にアドレス/コマンド信号(A/C)も
出力する。
The CPU 1 first outputs an address signal (ADS) indicating the start of a transfer cycle to the CPU bus 2. At the same time, it outputs an address / command signal (A / C).

【0027】各BUS接続機構5、6は、各々のアドレ
スタイミング生成回路101によって生成されたI/O
サイクル開始を示すサイクルスタート信号(CST)と
アドレス/コマンド信号(A/C)を各I/Oバス3、
4に出力する。
Each of the BUS connection mechanisms 5 and 6 has an I / O generated by each address timing generation circuit 101.
A cycle start signal (CST) indicating a cycle start and an address / command signal (A / C) are transmitted to each I / O bus 3,
4 is output.

【0028】ここで、第1のI/Oバス3にアドレスに
対応したI/Oシステム8が接続されており、第2のI
/Oバス4にアドレスに対応したI/Oシステムが接続
されていない場合には、第1のI/Oバス3に接続され
たI/Oシステム8のみが、第1のI/Oバス3上に応
答信号(ACK)とアドレスに対応したデータ(DAT
A)を出力する。この時、第2のI/Oバス4には、対
応するI/Oシステムが存在しないため、何も変化は起
きない。
Here, the I / O system 8 corresponding to the address is connected to the first I / O bus 3 and the second I / O bus 3 is connected to the first I / O bus 3.
When the I / O system corresponding to the address is not connected to the I / O bus 4, only the I / O system 8 connected to the first I / O bus 3 controls the first I / O bus 3. The response signal (ACK) and the data corresponding to the address (DAT
A) is output. At this time, since there is no corresponding I / O system on the second I / O bus 4, no change occurs.

【0029】第1のI/Oバス3に接続されているBU
S接続機構5は、BUS接続機構5内のI/Oバススト
ップタイミング生成回路103により、I/Oバス停止
指令信号(STOPRQ−OUT)を有効にする。
BU connected to first I / O bus 3
The S connection mechanism 5 makes the I / O bus stop command signal (STOPRQ-OUT) valid by the I / O bus stop timing generation circuit 103 in the BUS connection mechanism 5.

【0030】第2のI/Oバス4に接続されているBU
S接続機構6では、BUS接続機構6内のI/Oバスス
トップタイミング生成回路103により、第2のI/O
バス4にI/Oバス中断信号(STOP)を送り、第2
のI/Oバス4の転送サイクルが強制的に終了されたこ
とを通知する。
BU connected to second I / O bus 4
In the S connection mechanism 6, the I / O bus stop timing generation circuit 103 in the BUS connection mechanism 6 causes the second I / O
An I / O bus interruption signal (STOP) is sent to the bus 4 and the second
Of the transfer cycle of the I / O bus 4 is forcibly terminated.

【0031】また、BUS接続機構5では、内部のデー
タタイミング生成回路102により、I/Oシステム8
からのデータ(DATA)をCPUバス2上に出力する
とともに、データが有効であることを示すデータ有効信
号(D−ACT)を出力し、CPU1からI/Oシステ
ム8に対する通常の読み取り動作を終了する。
In the BUS connection mechanism 5, the internal data timing generation circuit 102 controls the I / O system 8
And outputs a data valid signal (D-ACT) indicating that the data is valid, and terminates the normal reading operation from the CPU 1 to the I / O system 8. I do.

【0032】次に、CPUからI/Oシステムに対する
通常の書き込み動作について、図4のタイミングチャー
トを参照して説明する。CPU1は、まず転送サイクル
の始まりを示すアドレス信号(ADS)をCPUバス2
に出力する。また、これと同時にアドレス/コマンド信
号(A/C)とデータ(DATA)も出力する。
Next, a normal write operation from the CPU to the I / O system will be described with reference to the timing chart of FIG. The CPU 1 first sends an address signal (ADS) indicating the start of a transfer cycle to the CPU bus 2.
Output to At the same time, an address / command signal (A / C) and data (DATA) are output.

【0033】各BUS接続機構5、6は、各々のアドレ
スタイミング生成回路101によって生成されたI/O
サイクル開始を示すサイクルスタート信号(CST)と
アドレス/コマンド信号(A/C)と、データタイミン
グ生成回路102によって生成されたデータ(DAT
A)を各I/Oバス3、4に出力する。
Each of the BUS connection mechanisms 5 and 6 has an I / O generated by each address timing generation circuit 101.
A cycle start signal (CST) indicating a cycle start, an address / command signal (A / C), and data (DAT) generated by the data timing generation circuit 102
A) is output to each I / O bus 3, 4.

【0034】ここで、第1のI/Oバス3にアドレスに
対応したI/Oシステム8が接続されており、第2のI
/Oバス4にアドレスに対応したI/Oシステムが接続
されていない場合には、第1のI/Oバス3に接続され
たI/Oシステム8のみが、第1のI/Oバス3上に応
答信号(ACK)とアドレスに対応したデータ(DAT
A)を出力する。この時、第2のI/Oバス4には、対
応するI/Oシステムが存在しないため、何も変化は起
きない。
Here, the I / O system 8 corresponding to the address is connected to the first I / O bus 3 and the second I / O bus 3 is connected to the first I / O bus 3.
When the I / O system corresponding to the address is not connected to the I / O bus 4, only the I / O system 8 connected to the first I / O bus 3 controls the first I / O bus 3. The response signal (ACK) and the data corresponding to the address (DAT
A) is output. At this time, since there is no corresponding I / O system on the second I / O bus 4, no change occurs.

【0035】第1のI/Oバス3に接続されているBU
S接続機構5は、BUS接続機構5内のI/Oバススト
ップタイミング生成回路103により、I/Oバス停止
指令信号(STOPRQ−OUT)を有効にする。
BU connected to the first I / O bus 3
The S connection mechanism 5 makes the I / O bus stop command signal (STOPRQ-OUT) valid by the I / O bus stop timing generation circuit 103 in the BUS connection mechanism 5.

【0036】第2のI/Oバス4に接続されているBU
S接続機構6では、BUS接続機構6内のI/Oバスス
トップタイミング生成回路103により、第2のI/O
バス4にI/Oバス中断信号(STOP)を送り、第2
のI/Oバス4の転送サイクルが強制的に終了されたこ
とを通知するとともに、第2のI/Oバス4上に出力し
ているデータ(DATA)も出力を終了する。
BU connected to second I / O bus 4
In the S connection mechanism 6, the I / O bus stop timing generation circuit 103 in the BUS connection mechanism 6 causes the second I / O
An I / O bus interruption signal (STOP) is sent to the bus 4 and the second
Of the transfer cycle of the I / O bus 4 is forcibly terminated, and the output of the data (DATA) output on the second I / O bus 4 is also terminated.

【0037】また、BUS接続機構5では、I/Oシス
テム8からの応答信号(ACK)を基にデータが有効で
あることを示すデータ有効信号(D−ACT)をCPU
バス2に出力し、CPU1からI/Oシステム8に対す
る通常の書き込み動作を終了する。
In the BUS connection mechanism 5, a data valid signal (D-ACT) indicating that data is valid based on a response signal (ACK) from the I / O system 8 is transmitted to the CPU.
The data is output to the bus 2 and the normal write operation from the CPU 1 to the I / O system 8 ends.

【0038】次に、CPUからI/Oシステムに対して
アクセスを行った場合に、応答するI/Oシステムが全
く存在しない場合の動作について、図5のタイミングチ
ャートを参照して説明する。
Next, the operation in the case where no I / O system responds when the CPU accesses the I / O system will be described with reference to the timing chart of FIG.

【0039】CPU1は、まず転送サイクルの始まりを
示すアドレス信号(ADS)をCPUバス2に出力す
る。また、これと同時にアドレス/コマンド信号(A/
C)も出力する。各BUS接続機構5、6は、各々のア
ドレスタイミング生成回路101によって生成されたI
/Oサイクル開始を示すサイクルスタート信号(CS
T)とアドレス/コマンド信号(A/C)を、各I/O
バス3、4に出力する。
The CPU 1 first outputs an address signal (ADS) indicating the start of a transfer cycle to the CPU bus 2. At the same time, the address / command signal (A /
C) is also output. Each of the BUS connection mechanisms 5 and 6 outputs the I
/ O cycle start signal (CS)
T) and an address / command signal (A / C) are transmitted to each I / O
Output to buses 3 and 4.

【0040】ここで、各I/Oシステム8〜12は前記
アドレスに対応していないため、全く応答信号(AC
K)を返さない。
Here, since each of the I / O systems 8 to 12 does not correspond to the address, a response signal (AC
Do not return K).

【0041】規定時間を経過すると、BUS接続機構
5、6に接続されているタイマー7が時間切れを検出
し、時間切れ信号(T−OUT)を信号線14を通じて
各BUS接続機構5、6に通知する。
When the specified time has elapsed, the timer 7 connected to the BUS connection mechanisms 5 and 6 detects a time-out, and a time-out signal (T-OUT) is sent to each BUS connection mechanism 5 and 6 through the signal line 14. Notice.

【0042】各々のBUS接続機構5、6の内部では、
時間切れ信号(T−OUT)をI/Oバスストップタイ
ミング生成回路103が受け取り、接続されているI/
Oバス3、4に対して、I/Oサイクルの中断を表すI
/Oバス中断信号(STOP)を出力する。
In each of the BUS connection mechanisms 5 and 6,
The I / O bus stop timing generation circuit 103 receives the time-out signal (T-OUT), and
For the O buses 3 and 4, I representing the interruption of the I / O cycle
/ O bus interrupt signal (STOP) is output.

【0043】これにより、I/Oバスのサイクルは中断
される。さらに、時間切れ信号(T−OUT)信号によ
り、BUS接続機構5、6内のCPUバスストップタイ
ミング生成回路では、CPUバス2に対してCPUバス
中断信号(STOP)を出力し、CPUバス2のサイク
ルを中断する。これにより、CPU1はI/Oサイクル
が失敗したことを知ることができる。
Thus, the cycle of the I / O bus is interrupted. Further, the CPU bus stop timing generation circuits in the BUS connection mechanisms 5 and 6 output a CPU bus interruption signal (STOP) to the CPU bus 2 in response to the time-out signal (T-OUT) signal. Break the cycle. Thus, the CPU 1 can know that the I / O cycle has failed.

【0044】次に、CPUから、I/Oシステムに対し
てのアクセスを行った場合に、複数のI/Oシステムが
応答してしまった場合について説明する。
Next, a case where a plurality of I / O systems respond when the CPU accesses the I / O system will be described.

【0045】まず、複数のI/Oシステムの応答が時間
的にずれている場合について述べる。例えば、第2のI
/Oバス4に接続されるI/Oシステム10が、第1の
I/Oバス3に接続されるI/Oシステム8よりも応答
が遅かった場合には、先に転送サイクルを終了させる第
1のI/Oバス3のBUS接続機構5が制御信号線13
を経由して第2のI/Oバス4のBUS接続機構6に対
して中断要求を通知するため、応答の遅い方が無視され
てしまい、CPUバス2上に矛盾のある転送サイクルが
発生することはない。
First, a case where the responses of a plurality of I / O systems are shifted in time will be described. For example, the second I
If the I / O system 10 connected to the I / O bus 4 has a slower response than the I / O system 8 connected to the first I / O bus 3, the I / O system 10 terminates the transfer cycle first. BUS connection mechanism 5 of the I / O bus 3 is connected to the control signal line 13
, The interrupt request is notified to the BUS connection mechanism 6 of the second I / O bus 4, the slower response is ignored, and a contradictory transfer cycle occurs on the CPU bus 2. Never.

【0046】次に、第1のI/Oバス3に接続されるI
/Oシステム8と、第2のI/Oバス4に接続されるI
/Oシステム10が同時に応答信号(ACK)を返した
場合の動作について、図6のタイミングチャートを参照
して説明する。
Next, the I / O connected to the first I / O bus 3
/ O system 8 and an I / O system connected to the second I / O bus 4
The operation when the / O system 10 simultaneously returns the response signal (ACK) will be described with reference to the timing chart of FIG.

【0047】CPU1は、まず転送サイクルの始まりを
示すアドレス信号(ADS)をCPUバス2に出力す
る。また、これと同時にアドレス/コマンド信号(A/
C)も出力する。
First, the CPU 1 outputs an address signal (ADS) indicating the start of a transfer cycle to the CPU bus 2. At the same time, the address / command signal (A /
C) is also output.

【0048】そして、第1のI/Oバス3に接続される
I/Oシステム8と第2のI/Oバス4に接続されるI
/Oシステム10は、そのアドレスに対して応答可能で
あるため、同時に応答信号(ACK)を返す。この時、
BUS接続機構5は、他のBUS接続機構6に対して中
断要求を制御信号線13を通じて通知する。
Then, an I / O system 8 connected to the first I / O bus 3 and an I / O system connected to the second I / O bus 4
Since the / O system 10 can respond to the address, it returns an acknowledgment signal (ACK) at the same time. At this time,
The BUS connection mechanism 5 notifies the other BUS connection mechanisms 6 of the interruption request through the control signal line 13.

【0049】ところが、BUS接続機構6では、自分の
管理する第2のI/Oバス4でも同時に応答信号(AC
K)が返されているために、論理積回路104にて、第
2のI/Oバス4からの応答信号(ACK)とBUS接
続機構5からのI/Oバス停止指令信号(STOPRQ
−IN)の論理積が取られ、論理和回路105を通じて
CPUバスストップタイミング生成回路106に送ら
れ、CPUバスストップタイミング生成回路106から
CPUバス中断信号(STOP)をCPUバス2に出力
する。
However, in the BUS connection mechanism 6, the response signal (AC) is simultaneously sent to the second I / O bus 4 managed by the BUS connection mechanism 6.
K) is returned, the AND circuit 104 causes the response signal (ACK) from the second I / O bus 4 and the I / O bus stop command signal (STOPRQ) from the BUS connection mechanism 5 to be output.
−IN) is taken, sent to the CPU bus stop timing generation circuit 106 through the OR circuit 105, and outputs a CPU bus interruption signal (STOP) to the CPU bus 2 from the CPU bus stop timing generation circuit 106.

【0050】また、これと同時に、BUS接続機構5の
内部では、データタイミング生成回路102が、第1の
I/Oバス3からの応答信号(ACK)によりデータが
有効であることを示すデータ有効信号(D−ACT)を
CPUバス2に出力する。
At the same time, inside the BUS connection mechanism 5, the data timing generation circuit 102 uses the response signal (ACK) from the first I / O bus 3 to indicate that the data is valid. A signal (D-ACT) is output to the CPU bus 2.

【0051】従って、CPUバス2上には、データ有効
信号(D−ACT)とCPUバス中断信号(STOP)
両方の信号が同時に出力されることになり、これによっ
てCPU1はI/Oサイクルに矛盾が生じたことを知る
ことができる。
Therefore, a data valid signal (D-ACT) and a CPU bus interruption signal (STOP) are provided on the CPU bus 2.
Both signals are output at the same time, whereby the CPU 1 can know that an inconsistency has occurred in the I / O cycle.

【0052】図7に、BUS接続機構5、6の他の構成
例を示す。この図7の例は、他方の側のBUS制御機構
に中断要求を送る部分を更に工夫し、図2に示したBU
S接続機構中の二本の制御信号線13a、13bのうち
の一方の制御信号線13bを不要とし、BUS接続機構
5、6から出力される制御信号線の数をより少なくした
ものである。
FIG. 7 shows another configuration example of the BUS connection mechanisms 5 and 6. In the example of FIG. 7, the part for sending the interruption request to the BUS control mechanism on the other side is further devised, and the BU shown in FIG.
One of the two control signal lines 13a and 13b in the S connection mechanism is not required, and the number of control signal lines output from the BUS connection mechanisms 5 and 6 is reduced.

【0053】この図7のBUS接続機構5、6は、各
々、アドレスタイミング生成回路201と、データタイ
ミング生成回路202と、I/Oバスストップタイミン
グ生成回路203と、論理積回路204と、論理和回路
205と、CPUバスストップタイミング生成回路20
6とで構成されている。
The BUS connection mechanisms 5 and 6 in FIG. 7 respectively include an address timing generation circuit 201, a data timing generation circuit 202, an I / O bus stop timing generation circuit 203, a logical product circuit 204, and a logical sum. Circuit 205 and CPU bus stop timing generation circuit 20
6.

【0054】アドレスタイミング生成回路201は、C
PUバスからのアドレス信号(ADS)とアドレス/コ
マンド信号(A/C)を受けて、I/Oバス3、4のタ
イミングに合わせて、I/Oバス3、4のサイクルスタ
ート信号(CST)とアドレス/コマンド信号(A/
C)の出力を行なう回路である。
The address timing generation circuit 201
Upon receiving an address signal (ADS) and an address / command signal (A / C) from the PU bus, the cycle start signal (CST) of the I / O buses 3 and 4 is synchronized with the timing of the I / O buses 3 and 4. And the address / command signal (A /
C) is a circuit for performing the output.

【0055】データタイミング生成回路202は、I/
Oシステム8〜12からの応答信号(ACK)を受けて
CPUバス2に対してデータ有効信号(D−ACT)を
出力し、I/Oシステム8〜12からの読み取りであっ
た場合には、CPUバス2にデータ(DATA)を流す
機能を有する回路である。
The data timing generation circuit 202 generates the I /
Upon receiving a response signal (ACK) from the O system 8 to 12, it outputs a data valid signal (D-ACT) to the CPU bus 2, and in the case of reading from the I / O system 8 to 12, This is a circuit having a function of flowing data (DATA) to the CPU bus 2.

【0056】I/Oバスストップタイミング生成回路2
03は、他方のBUS接続機構から制御信号線13aを
通じて入力されるI/Oバスの応答信号(ACK−I
N)と、該応答信号を監視して該信号が有効になったと
きにI/OバスにI/Oバス中断信号(STOP)を出
力する機能と、I/Oバス3、4から受けた応答信号
(ACK−OUT)を信号線207によって他方のBU
S接続機構へ出力する機能を有する回路である。
I / O bus stop timing generation circuit 2
03 is a response signal (ACK-I) of the I / O bus input from the other BUS connection mechanism through the control signal line 13a.
N), a function of monitoring the response signal and outputting an I / O bus interruption signal (STOP) to the I / O bus when the signal becomes valid, and receiving the signal from the I / O buses 3 and 4. The response signal (ACK-OUT) is transmitted through the signal line 207 to the other BU.
This is a circuit having a function of outputting to the S connection mechanism.

【0057】論理積回路204は、I/Oバスからの応
答信号(ACK)と他方のBUS接続機構からの応答信
号(ACK−IN)の論理積を行なう回路である。
The logical product circuit 204 is a circuit that performs a logical product of the response signal (ACK) from the I / O bus and the response signal (ACK-IN) from the other BUS connection mechanism.

【0058】論理和回路205は、前記論理積回路20
4からの出力とタイマー7からの時間切れ信号(T−O
UT)との論理和を行なう回路である。
The OR circuit 205 is provided for the AND circuit 20.
4 and the time-out signal (TO) from the timer 7
UT).

【0059】CPUバスストップタイミング生成回路2
06は、前記論理和回路205からの出力を基に、CP
Uバス2に対してCPUバスの転送サイクルの中断を指
示するCPUバス中断信号(STOP)を出力する機能
を有する回路である。
CPU bus stop timing generation circuit 2
06 is a CP based on the output from the OR circuit 205.
This circuit has a function of outputting a CPU bus interruption signal (STOP) for instructing the U bus 2 to interrupt the transfer cycle of the CPU bus.

【0060】上記構成になるBUS接続機構5、6は、
図8にその動作のタイミングチャートを示すように、C
PUバス2からI/Oバス3、4へのアクセス要求は、
アドレスタイミング生成回路201によってI/Oバス
の転送サイクルとして起動され、I/Oバス3、4から
の応答信号(ACK)によって、データタイミング生成
回路202からCPUバス2にデータ(DATA)とデ
ータ有効信号(D−ACT)を出力することにより、C
PU1からI/Oシステム8〜12へのデータの送受信
を行なうことができる。
The BUS connection mechanisms 5 and 6 having the above configuration are
As shown in a timing chart of the operation in FIG.
An access request from the PU bus 2 to the I / O buses 3 and 4 is:
It is started as a transfer cycle of the I / O bus by the address timing generation circuit 201, and data (DATA) and data are valid from the data timing generation circuit 202 to the CPU bus 2 by a response signal (ACK) from the I / O buses 3 and 4. By outputting a signal (D-ACT), C
Data can be transmitted and received from the PU 1 to the I / O systems 8 to 12.

【0061】また、他方のBUS接続機構から制御信号
線13aを通じて与えられる他方のI/Oバスの応答信
号(ACK−IN)を受けて、I/Oバスストップタイ
ミング生成回路103がI/OバスにI/Oバス中断信
号(STOP)を出力することにより、I/Oバスの中
断を行うことができる。
Further, upon receiving a response signal (ACK-IN) of the other I / O bus given from the other BUS connection mechanism through the control signal line 13a, the I / O bus stop timing generation circuit 103 causes the I / O bus By outputting an I / O bus interruption signal (STOP) to the I / O bus, the I / O bus can be interrupted.

【0062】さらに、信号線14を通じてタイマー7か
らI/Oサイクルの時間切れ信号(T−OUT)か、ま
たは、制御信号線13aを介して他方のBUS接続機構
からI/Oサイクル中断要求(ACK−IN)が有り、
かつ、I/Oバスに接続されているI/Oバスの応答信
号(ACK)が有効であった場合には、CPUバススト
ップタイミング生成回路106からCPUバス2に対し
てCPUバスサイクルの中断を指示するCPUバス中断
信号(STOP)を出力する。
Further, an I / O cycle time-out signal (T-OUT) from the timer 7 via the signal line 14 or an I / O cycle interruption request (ACK) from the other BUS connection mechanism via the control signal line 13a. −IN),
If the response signal (ACK) of the I / O bus connected to the I / O bus is valid, the CPU bus stop timing generation circuit 106 interrupts the CPU bus cycle to the CPU bus 2. The CPU bus interruption signal (STOP) to be instructed is output.

【0063】このように、図8のBUS接続機構を用い
た場合には、図2に示したBUS接続機構中の二本の制
御信号線13a、13bのうちの一方の制御信号線13
bを不要とし、制御信号線の数を減らすことができるの
で、装置の構成をより簡素化することができる。
As described above, when the BUS connection mechanism of FIG. 8 is used, one of the two control signal lines 13a and 13b in the BUS connection mechanism shown in FIG. 2 is used.
Since b is unnecessary and the number of control signal lines can be reduced, the configuration of the device can be further simplified.

【0064】[0064]

【発明の効果】以上説明したように、本発明方法と装置
によれば、バス(BUS)接続機構にI/Oやメモリ等
のシステム資源割り当て用のレジスタを設けずに、複数
のI/Oバスを持つシステムが、I/Oシステムに対す
るアクセスを制御できるとともに、アドレスの重複等が
発生した場合のシステムの凍結を回避できるという効果
が得られる。
As described above, according to the method and apparatus of the present invention, a plurality of I / Os can be provided without providing a register for allocating system resources such as I / O and memory in a bus (BUS) connection mechanism. A system having a bus can control access to the I / O system, and can avoid freezing of the system in the event of address duplication or the like.

【0065】また、I/Oシステム同士が同じアドレス
を持った場合でも、CPUバス上の矛盾が発生してCP
Uのバスサイクルが凍結してしまうような事態を避ける
ことができるようになる。
Even when the I / O systems have the same address, a contradiction on the CPU bus occurs and the
A situation in which the U bus cycle freezes can be avoided.

【0066】さらに、システムを初期化するシステム初
期化プログラムにおいても、BUS接続機構のレジスタ
を省略することができるので、より簡単な初期化プログ
ラムでシステムを初期化することが可能となる。
Further, in the system initialization program for initializing the system, since the register of the BUS connection mechanism can be omitted, the system can be initialized with a simpler initialization program.

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

【図1】本発明を適用して構成したバスシステムの全体
構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a bus system configured by applying the present invention.

【図2】図1中のBUS接続機構の構成を示すブロック
図である。
FIG. 2 is a block diagram illustrating a configuration of a BUS connection mechanism in FIG. 1;

【図3】CPUからI/Oシステムに対する通常の読み
取り動作のタイミングチャートである。
FIG. 3 is a timing chart of a normal reading operation from a CPU to an I / O system.

【図4】CPUからI/Oシステムに対する通常の書き
込み動作のタイミングチャートである。
FIG. 4 is a timing chart of a normal write operation from the CPU to the I / O system.

【図5】応答するI/Oシステムが全く存在しない場合
の動作のタイミングチャートである。
FIG. 5 is a timing chart of an operation when no responding I / O system exists.

【図6】異なるI/Oバスに接続されたI/Oシステム
から同時に応答信号が返ってきた場合の動作のタイミン
グチャートである。
FIG. 6 is a timing chart of an operation when response signals are returned simultaneously from I / O systems connected to different I / O buses.

【図7】BUS接続機構の他の構成例を示すブロック図
である。
FIG. 7 is a block diagram showing another configuration example of the BUS connection mechanism.

【図8】図7のBUS接続機構の動作を示すタイミング
チャートである。
FIG. 8 is a timing chart showing the operation of the BUS connection mechanism of FIG. 7;

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

1 CPU 2 CPUバス 3 第1のI/Oバス 4 第2のI/Oバス 5 第1のBUS接続機構 6 第2のBUS接続機構 7 タイマー 8〜12 I/Oシステム 14 信号線 13 制御信号線 101 アドレスタイミング生成回路 102 データタイミング生成回路 103 I/Oバスストップタイミング生成回路 104 論理積回路 105 論理和回路 106 CPUバスストップタイミング生成回路 201 アドレスタイミング生成回路 202 データタイミング生成回路 203 I/Oバスストップタイミング生成回路 204 論理積回路 205 論理和回路 206 CPUバスストップタイミング生成回路 DESCRIPTION OF SYMBOLS 1 CPU 2 CPU bus 3 1st I / O bus 4 2nd I / O bus 5 1st BUS connection mechanism 6 2nd BUS connection mechanism 7 Timer 8-12 I / O system 14 Signal line 13 Control signal Line 101 Address timing generation circuit 102 Data timing generation circuit 103 I / O bus stop timing generation circuit 104 Logical product circuit 105 Logical OR circuit 106 CPU bus stop timing generation circuit 201 Address timing generation circuit 202 Data timing generation circuit 203 I / O bus Stop timing generation circuit 204 logical product circuit 205 logical sum circuit 206 CPU bus stop timing generation circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 CPUに接続されたCPUバスと、任意
の数のI/Oシステムに接続された複数のI/Oバスと
を備え、CPUバスと各I/Oバスとの間に各々バス接
続機構を設けたバスシステムにおいて、 CPUによるアクセス要求に対して複数のI/Oシステ
ムから時間的なずれをもって応答信号が返ってきた場合
には、応答の速かったI/Oシステムのバス接続機構に
接続されたI/Oバスを有効にするとともに、該応答の
速かったI/Oシステムのバス接続機構から他のバス接
続機構に対してI/Oバス中断信号を出力して他のバス
接続機構に接続されたI/Oバスを無効とし、 CPUによるアクセス要求に対して複数のI/Oシステ
ムから同時に応答信号が返ってきた場合には、いずれか
のI/Oシステムのバス接続機構からCPUバスに対し
てデータ有効信号を出力するとともに、他のI/Oシス
テムのバス接続機構からはCPUバスに対してCPU中
断信号を出力し、CPUは相反する信号を受信すること
によってI/Oサイクルに矛盾が発生したことを検知
し、 CPUによるアクセス要求に対していずれのI/Oシス
テムからも応答信号が返ってこない場合には、規定時間
をカウントするタイマーから時間切れ信号を各バス接続
機構に送り、すべてのI/Oバスを無効にすることを特
徴とするバスシステムにおける資源分割方法。
1. A system comprising: a CPU bus connected to a CPU; and a plurality of I / O buses connected to an arbitrary number of I / O systems, each having a bus between the CPU bus and each I / O bus. In a bus system provided with a connection mechanism, when a response signal is returned with a time lag from a plurality of I / O systems in response to an access request from a CPU, the bus connection mechanism of the I / O system which has a quick response. The I / O bus connected to the I / O bus is enabled, and an I / O bus interruption signal is output from the bus connection mechanism of the I / O system that has responded quickly to the other bus connection mechanism, thereby enabling another bus connection. If the I / O bus connected to the mechanism is invalidated and response signals are returned from a plurality of I / O systems simultaneously to an access request from the CPU, the bus connection mechanism of one of the I / O systems CP A data valid signal is output to the bus, and a CPU interrupt signal is output to the CPU bus from the bus connection mechanism of another I / O system. If a response signal is not returned from any of the I / O systems in response to an access request from the CPU, an expiration signal is sent from a timer that counts a specified time to each bus connection mechanism. And disabling all I / O buses in the bus system.
【請求項2】 CPUバスからアドレス有効信号とアド
レス/コマンド信号を受けて、I/Oのタイミングに合
わせてI/OバスへI/Oサイクルスタート信号とアド
レス/コマンド信号を出力するアドレスタイミング生成
回路と、 I/Oシステムからの応答信号を受けてCPUバスに対
してデータ有効信号を出力し、処理がI/Oシステムか
らのデータ読み取りであった場合には、CPUバスにデ
ータを流すデータタイミング生成回路と、 他方の側のバス接続機構から制御信号線を介して入力さ
れるI/Oバス停止指令信号を監視して該信号が有効に
なったときにI/OバスにI/Oバス中断信号を出力す
るとともに、I/Oバスから受けた応答信号を基に制御
信号線を通じて他方のバス接続機構へI/Oバス停止指
令信号を出力するI/Oバスストップタイミング生成回
路と、 I/Oバスからの応答信号とI/Oバス停止指令信号の
論理積を行なう回路と、 該論理積回路からの出力とタイマーからの時間切れ信号
との論理和を行なう回路と、 該論理和回路からの出力を基にCPUバスに対してCP
Uバスの転送サイクルの中断を指示するCPUバス中断
信号を出力するCPUバスストップタイミング生成回路
とを備えたことを特徴とするバス接続機構。
2. An address timing generator for receiving an address valid signal and an address / command signal from a CPU bus and outputting an I / O cycle start signal and an address / command signal to the I / O bus in accordance with I / O timing. A data valid signal is output to the CPU bus in response to the response signal from the circuit and the I / O system, and if the processing is data reading from the I / O system, the data is passed to the CPU bus. A timing generation circuit monitors an I / O bus stop command signal input from a bus connection mechanism on the other side via a control signal line, and when the signal becomes valid, an I / O bus is transmitted to the I / O bus. An I / O that outputs a bus interruption signal and outputs an I / O bus stop command signal to the other bus connection mechanism through a control signal line based on a response signal received from the I / O bus. A bus stop timing generation circuit, a circuit for performing a logical product of a response signal from the I / O bus and an I / O bus stop command signal, and a logical sum of an output from the logical product circuit and a time-out signal from a timer And a CP to the CPU bus based on the output from the OR circuit.
A bus connection mechanism comprising: a CPU bus stop timing generation circuit that outputs a CPU bus interruption signal for instructing interruption of a U bus transfer cycle.
【請求項3】 CPUバスからのアドレス信号とアドレ
ス/コマンド信号を受けて、I/Oバスのタイミングに
合わせてI/Oバスのサイクルスタート信号とアドレス
/コマンド信号(A/C)を出力するアドレスタイミン
グ生成回路と、 I/Oシステムからの応答信号を受けてCPUバスに対
してデータ有効信号を出力し、I/Oシステムからの読
み取りであった場合には、CPUバスにデータを流すデ
ータタイミング生成回路と、 他方のバス接続機構から制御信号線を通じて入力される
I/Oバスの応答信号を監視して該信号が有効になった
ときにI/OバスにI/Oバス中断信号を出力するとと
もに、I/Oバスから受けた応答信号を信号線によって
他方のバス接続機構へ出力するI/Oバスストップタイ
ミング生成回路と、 I/Oバスからの応答信号と他方のバス接続機構からの
応答信号の論理積を行なう回路と、 該論理積回路からの出力とタイマーからの時間切れ信号
との論理和を行なう回路と、 該論理和回路からの出力を基にCPUバスに対してCP
Uバスの転送サイクルの中断を指示するCPUバス中断
信号を出力するCPUバスストップタイミング生成回路
とを備えたことを特徴とするバス接続機構。
3. Upon receiving an address signal and an address / command signal from the CPU bus, output a cycle start signal and an address / command signal (A / C) of the I / O bus in accordance with the timing of the I / O bus. An address timing generating circuit, receiving a response signal from the I / O system, outputting a data valid signal to the CPU bus, and transmitting data to the CPU bus when reading from the I / O system A timing generation circuit monitors an I / O bus response signal input from the other bus connection mechanism through a control signal line, and outputs an I / O bus interruption signal to the I / O bus when the signal becomes valid. An I / O bus stop timing generating circuit for outputting a response signal received from the I / O bus to the other bus connection mechanism via a signal line; A circuit for performing an AND operation on a response signal from the bus and a response signal from the other bus connection mechanism, a circuit for performing an OR operation on an output from the AND circuit and a time-out signal from a timer, and the OR circuit To the CPU bus based on the output from
A bus connection mechanism comprising: a CPU bus stop timing generation circuit that outputs a CPU bus interruption signal for instructing interruption of a U bus transfer cycle.
JP11030497A 1999-02-08 1999-02-08 Resource dividing method and bus connecting mechanism in bus system Withdrawn JP2000227899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11030497A JP2000227899A (en) 1999-02-08 1999-02-08 Resource dividing method and bus connecting mechanism in bus system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11030497A JP2000227899A (en) 1999-02-08 1999-02-08 Resource dividing method and bus connecting mechanism in bus system

Publications (1)

Publication Number Publication Date
JP2000227899A true JP2000227899A (en) 2000-08-15

Family

ID=12305470

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11030497A Withdrawn JP2000227899A (en) 1999-02-08 1999-02-08 Resource dividing method and bus connecting mechanism in bus system

Country Status (1)

Country Link
JP (1) JP2000227899A (en)

Similar Documents

Publication Publication Date Title
US5003463A (en) Interface controller with first and second buffer storage area for receiving and transmitting data between I/O bus and high speed system bus
US6601165B2 (en) Apparatus and method for implementing fault resilient booting in a multi-processor system by using a flush command to control resetting of the processors and isolating failed processors
EP0333593B1 (en) A data processing system capable of fault diagnosis
US7996715B2 (en) Multi nodal computer system and method for handling check stops in the multi nodal computer system
JP2979771B2 (en) Information processing apparatus and bus control method thereof
KR100709888B1 (en) schematic method of warm standby duplicating device
EP0548077B1 (en) High speed active bus
JP2000227899A (en) Resource dividing method and bus connecting mechanism in bus system
CN1363998A (en) Duplex equipment and method for large scale system
JPH11191073A (en) Pci bus processor
JPH09305494A (en) Data transfer control circuit for extended storage device
JP3724386B2 (en) Packet base station and its processing method at the time of duplex switching
JP2002032239A (en) Multiplexing system
JP2764452B2 (en) Bus transfer response method
JPH1196084A (en) Fault detector
JPH07143148A (en) High speed cyclic transmitter
JPH11312139A (en) Serial bus extension circuit
KR100380328B1 (en) Down prevention device at board disconnection of exchange system
JPH09297637A (en) Plural-power supply processor
JP2877188B2 (en) Data communication monitoring system
JPH0432945A (en) Control system for dual memory device synchronous operation
JPH1145209A (en) Program transfer system
JPH104410A (en) Communication control system
JPH08314746A (en) Method and device for controlling system switching of duplex processor
JPH10232825A (en) Cache memory control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060509