JPH0410149A - Multi-cpu system - Google Patents

Multi-cpu system

Info

Publication number
JPH0410149A
JPH0410149A JP11402790A JP11402790A JPH0410149A JP H0410149 A JPH0410149 A JP H0410149A JP 11402790 A JP11402790 A JP 11402790A JP 11402790 A JP11402790 A JP 11402790A JP H0410149 A JPH0410149 A JP H0410149A
Authority
JP
Japan
Prior art keywords
cpu
bus
cpus
cpum
use 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.)
Pending
Application number
JP11402790A
Other languages
Japanese (ja)
Inventor
Futoshi Tsuruta
鶴田 太
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP11402790A priority Critical patent/JPH0410149A/en
Publication of JPH0410149A publication Critical patent/JPH0410149A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the processing of software by providing a CPU detecting means, which detects the CPU never requesting the use of a bus till then, and a CPU existence discriminating means which discriminates the existence of the CPU based on the detection result. CONSTITUTION:A multi-CPU system is provided with plural CPUs CPUm (m=0 to n), a bus arbiter 21, busses 12 and 13, etc. A bus use request detecting circuit 41 and a CXPU existence discriminating parts 51m of CPUs CPUm are provided as CPU detecting means. The bus use request detecting circuit 41 consists of a D-FF, and the bus request signal from each of CPUs CPUm is stored. Trhat is, the bus use request detecting circuit 41 has the on-bit output for each of CPUs CPUm, and its initial value is '0', and outputs '1' for the CPU which issues the bus request signal once or more. Each of CPUm reads data of the bus use request detecting circuit 41 and judges that the CPU corresponding to bit '1' does not exist.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、複数のCPUが夫々所定の場所に存在するか
或は存在しないかを判定するマルチCPUシステムに関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a multi-CPU system that determines whether each of a plurality of CPUs exists or does not exist at a predetermined location.

(従来の技術) 従来、マルチCPUシステムにおいて、各CPUが存在
するか又は存在しないかを判定するための方法として例
えは以下に示す2つの方法があった。
(Prior Art) Conventionally, in a multi-CPU system, there have been two methods shown below as methods for determining whether each CPU exists or not.

まず、第1の方法は、各CPUに対応するように設定ピ
ンを設け、この設定ピンの0N10FFによりCPUの
存在又は非存在を判定していた。
First, in the first method, a setting pin is provided corresponding to each CPU, and the existence or non-existence of the CPU is determined based on the 0N10FF of this setting pin.

次に、第2の方法は、予め各CPU毎に1つの割込み信
号を設け、存在又は非存在を判定しようとするCPUに
対して割込みを発生させる割込み処理プログラムにより
、そのCPUに特定のアドレスの特定のビットを処理す
るように設定しておく。そして割込みが発生したCPU
についである一定時間経過後、予め設定した上記特定の
アドレスの特定ビットを調べることにより各CPUの存
在又は非存在を判定していた。
Next, the second method is to provide one interrupt signal for each CPU in advance, and use an interrupt processing program to generate an interrupt for the CPU whose presence or absence is to be determined. Set to process specific bits. and the CPU where the interrupt occurred
Then, after a certain period of time has elapsed, the existence or non-existence of each CPU is determined by checking the specific bit of the specific address set in advance.

(発明が解決しようとする課題) しかし、上記第1の設定ピンにより各CPUの存在又は
非存在を判定する方法では、どのCPUが実装されてい
るかを試験者が観察してピンを設定するため、ピンの設
定ミスが発生することがあリ、設定ピンにより構成され
る回路が誤動作する虞れがあるという問題があった。
(Problem to be Solved by the Invention) However, in the method of determining the presence or absence of each CPU using the first setting pin, the tester observes which CPU is mounted and sets the pin. However, there is a problem in that a pin setting error may occur, and there is a risk that a circuit formed by the setting pins may malfunction.

また上記第2の割込み処理プログラムによる判定方法で
は、各CPU毎に割込みを設け、ある特定のアドレスの
特定のビットを操作するようにし、適当な時間軽過後、
予め設定した上記特定アドレスの特定ビットを調べると
いうように処理が非常に繁雑となり、ソフトウェアの処
理が増大するという問題があった。
In addition, in the above-mentioned second determination method using an interrupt processing program, an interrupt is provided for each CPU, a specific bit of a specific address is manipulated, and after a certain amount of time has elapsed,
There is a problem in that the processing becomes very complicated, such as checking the specific bit of the specific address set in advance, and the software processing increases.

そこで本発明は、各CPUの存在又は非存在の判定を、
人手を介さず且つソフトウェアの処理を増大させずに行
うことができるマルチCPUシステムを提供することを
目的とする。
Therefore, the present invention determines the presence or absence of each CPU by
It is an object of the present invention to provide a multi-CPU system that can perform processing without human intervention and without increasing software processing.

(課題を解決するための手段) 上記課題を解決するため本発明は、複数のCPUがそれ
ぞれ所定の場所に存在するか或は存在しないかを判定す
るマルチCPUシステムにおいて、バスの使用を一度も
要求していないCPUを検出するCPU検出手段と、上
記CPU検出手段の検出結果に基づいてCPUが存在す
るか否かを判定するCPU存在判定手段を設けたことを
特徴とするものである。
(Means for Solving the Problems) In order to solve the above problems, the present invention eliminates the use of a bus even once in a multi-CPU system that determines whether a plurality of CPUs exist or do not exist at predetermined locations. The present invention is characterized by providing a CPU detection means for detecting a CPU that is not requested, and a CPU presence determination means for determining whether or not a CPU exists based on the detection result of the CPU detection means.

(作用) 上記構成によれば、ますCPU検出手段が、バスの使用
を一度も要求していないCPUを検出する。その際、上
記CPU検出手段は、例えば各CPUが出力するバス使
用要求信号やバス使用中信号を人力して記憶し、バスの
使用を一度も要求していないCPUを検出すようにして
もよいし、またバスの使用権を調停する所謂バスアービ
タから出力されるバス使用許可信号を人力して記憶し、
バスの使用を一度も要求していないCPUを検出するよ
うにしてもよい。
(Operation) According to the above configuration, the CPU detection means detects a CPU that has never requested the use of the bus. In this case, the CPU detecting means may manually store bus use request signals and bus use signals output by each CPU, and detect CPUs that have never requested use of the bus. It also manually memorizes the bus use permission signal output from a so-called bus arbiter that arbitrates the right to use the bus.
A CPU that has never requested use of the bus may be detected.

そしてCPU存在判定手段が上記CPU検出手段の検出
結果に基づいて、例えばバスの使用を一度も要求してい
ないCPUを存在せずというように判断する。
Based on the detection result of the CPU detection means, the CPU presence determination means determines that, for example, a CPU that has never requested the use of the bus is not present.

このため、CPUの存在/非存在をCPU検出手段とC
PU存在判定手段とによりハード的に判定することがで
きるので、ソフトウェアの処理が低減される。
Therefore, the presence/absence of the CPU can be detected by the CPU detection means and the CPU detection means.
Since the determination can be made using hardware using the PU presence determining means, software processing is reduced.

(実施例) 以下、本発明に係るマルチCPUシステムの一実施例を
添付図面に基づいて説明する。
(Embodiment) Hereinafter, an embodiment of the multi-CPU system according to the present invention will be described based on the accompanying drawings.

本実施例のマルチCPUシステムは、第1図に示すよう
に複数設けられたCPU  (m=1〜n)が並列に作
動し、各CPUmがCPU共通の資源(メモリ、各種コ
ントローラ等)に共通アドレスバス12及び共通データ
バス13を介してアクセスを行うことができるように接
続された資源共用型の密結合マルチプロセッサシステム
と呼ばれるものである。
In the multi-CPU system of this embodiment, as shown in Fig. 1, a plurality of CPUs (m = 1 to n) operate in parallel, and each CPU m shares common resources (memory, various controllers, etc.). It is called a resource-sharing type tightly coupled multiprocessor system that is connected so that it can be accessed via an address bus 12 and a common data bus 13.

そして本実施例のマルチCPUシステムは、同図に示す
ように各CPUのバスの使用を調停するバスアービタ2
1と、各CPU  から出力されたアドレス信号を解読
し、そのアドレスに基づいてメモリ及びデータの格納場
所を選択するセレクト信号(てて)を出力するアドレス
デコーダ31と、CPU検出手段としてのバス使用要求
検出回路41とを有すると共に、各CPU  内にCP
U存在判定手段としてのCPU存在判定部51 を設け
ている。
As shown in the figure, the multi-CPU system of this embodiment has a bus arbiter 2 that arbitrates the use of the bus for each CPU.
1, an address decoder 31 that decodes the address signal output from each CPU and outputs a select signal (tete) for selecting a memory and data storage location based on the address, and a bus used as a CPU detection means. It has a request detection circuit 41, and a CPU in each CPU.
A CPU existence determination section 51 is provided as a U existence determination means.

上記パスアービタ21は、あるCPU、(0<■ i<n)が出力するバス使用要求信号(BR,)を受け
、そのバス使用要求信号(BR,)に基づいてCPU、
を選択し、そのCPU−にバスを使用させるようにバス
使用許可信号(BG、)及びバス使用中信号(BB、)
を出力するものである。
The path arbiter 21 receives a bus use request signal (BR,) output from a certain CPU (0<■ i<n), and based on the bus use request signal (BR,), the CPU,
and send the bus permission signal (BG,) and bus busy signal (BB,) to allow that CPU to use the bus.
This outputs the following.

その際、パスアービタ21は、バス使用要求信号(■π
 )を受けた順あるいは予め各CPU  にm    
                         
    mつけておいた優先順位に基づいてCPU  
にバスを使用させるようにバス使用許可信号(BG  
)を出力するように設定しておく。
At this time, the path arbiter 21 sends a bus use request signal (■π
) in the order received or in advance for each CPU.

CPU based on the priority set
The bus use permission signal (BG
) to output.

そして本実施例のバス使用要求検出回路41は、第2図
に示すように、各CPU  から人力するバス使用要求
信号(百π )を反転する信号反転部42 と、信号反
転部42 を介したバス使用要m          
          m求信号(BRn)をCLK入力
とするDフリップフロップ(以下、D−FFという)4
3 と、DFF43  から出力された信号を入力とし
、アドレスデコーダ31から入力するセレクト信号を制
御人力として共通データバス13に各CPUに対応する
データD を出力するスリーステートドライバ44 と
から構成される。このD−FF43mは、同図に示すよ
うに0人力に常時+5Vの人力信号が入力しており、ま
たCLR人力にリセット信号(RESET )が入力す
る一方、PR2人力には+5Vの入力信号が常時入力し
ていてプリセットされないように設定されている。
As shown in FIG. 2, the bus use request detection circuit 41 of this embodiment includes a signal inverter 42 that inverts the bus use request signal (100π) manually inputted from each CPU, and Required to use the bus
D flip-flop (hereinafter referred to as D-FF) 4 whose CLK input is the m-required signal (BRn)
3, and a three-state driver 44 which receives the signal output from the DFF 43 and outputs data D corresponding to each CPU to the common data bus 13 using the select signal input from the address decoder 31 as control power. As shown in the figure, in this D-FF43m, a +5V human power signal is always input to the 0 human power input, a reset signal (RESET) is input to the CLR human power input, and a +5V input signal is always input to the PR2 human power input. It is set not to be preset while inputting.

さらに各CPU  に設けられたCPU存在判定部51
 は、共通データバス13を介して」−記憶ス使用要求
回路41から出力されたデータを格納するデータレジス
タ52 と、データレジスタ52 に格納されたデータ
D と“1”との論理積m             
        mをとり、その結果に基づいて各CP
U  の存在/非存在を判定する存在判定回路53 と
を有する。
Furthermore, a CPU presence determination unit 51 provided in each CPU
is the logical product of the data register 52 that stores the data output from the memory space use request circuit 41 via the common data bus 13, the data D stored in the data register 52, and "1".
m, and based on the result, each CP
It has an existence determination circuit 53 that determines the existence/absence of U.

次に、本実施例の作用を、バス使用要求検出回路内の信
号の状態を示す第3図のタイミングチャートと、各CP
Uの処理を示す第4図のフローチャートとを参照して説
明する。ただし、第1図においてcpu  からCPU
    までのCPUkl       n−1 (k=0−n−1)は所定の場所に実装されて存在し、
CPU  たけか存在しないものとし、またバスアービ
タ21の調停により、まずCPUoはバスの使用権を獲
得し、次にCPU1がその使用権を獲得したものとして
説明する。尚、第3図に示すタイミングチャートにおい
て斜線で現わされている領域は、don’t care
状態で“0”または“1”のどちらの値でもよいことを
示している。
Next, the operation of this embodiment will be explained using the timing chart shown in FIG.
This will be explained with reference to the flowchart of FIG. 4 showing the process of U. However, in Figure 1, from CPU to CPU
CPUkl n-1 (k=0-n-1) up to and including the CPUkl exists in a predetermined location,
The following explanation assumes that there are no CPUs, and that through arbitration by the bus arbiter 21, first the CPUo acquires the right to use the bus, and then the CPU1 acquires the right to use the bus. Note that in the timing chart shown in FIG. 3, the shaded area is a don't care area.
This indicates that the status can be either "0" or "1".

まずこのシステムの電源を投入するとリセット信号(R
F:SET )が真になり、このリセット信号がバス使
用要求検出回路41の各D−FF43  のCIR入力
に入力し、第3図に示すように各D−FF43mはリセ
ットされ、そのQ出力からの出力は“0”となる(TO
)。
When you first turn on the power to this system, a reset signal (R
F:SET) becomes true, this reset signal is input to the CIR input of each D-FF 43 of the bus use request detection circuit 41, and each D-FF 43m is reset as shown in FIG. The output of is “0” (TO
).

そして電源投入後、一定時間経過するとリセットが解除
される(T1)。その際、CPUkは所定の場所に実装
されているので、バス使用要求信号(BRk)を真、つ
まり“0”にして出力し、バスの使用を要求する(T2
)。一方、CPUnは実装されていないので、CPUk
が出力したバス使用要求信号(■1.)はプルアップ抵
抗により常に偽、つまり“1“である(T2)。
After the power is turned on, the reset is canceled after a certain period of time has elapsed (T1). At this time, since CPUk is mounted at a predetermined location, it outputs the bus use request signal (BRk) as true, that is, "0", and requests the use of the bus (T2
). On the other hand, since CPUn is not implemented, CPUk
The bus use request signal (■1.) output by is always false, that is, "1" due to the pull-up resistor (T2).

そして、CPUkのバス使用要求信号(B R、、)が
“0”の状態でバス使用要求検出回路41内の信号反転
部42kに入力すると反転して、D−FF43にのCL
K入力は常時“1”となる(T3)。
When the bus use request signal (B R, , ) of the CPUk is input to the signal inverter 42k in the bus use request detection circuit 41 in the state of "0", it is inverted and the CL signal to the D-FF 43 is inputted.
The K input is always "1" (T3).

一方、CPU  のバス使用要求信号(ππ )はn 
                      n常時
“1”なので、信号反転部42 に入力し反転されて“
0“となり、D−FF43  のCLK人力は常時“0
”となる(T3)。
On the other hand, the bus use request signal (ππ) of the CPU is n
Since n is always "1", it is input to the signal inverter 42 and is inverted.
0", and the CLK power of D-FF43 is always "0".
” (T3).

次に、D−FF43  はCLK人力への入力信号の立
上がりエツジでD入力の状態を取込み、その0人力の状
態を記憶し、次のCLK入力への入力信号があるまで出
力し、バスの使用の要求が一度でもあったか否かを検出
する。
Next, the D-FF43 captures the state of the D input at the rising edge of the input signal to the CLK input, stores the zero input state, and outputs it until the next input signal to the CLK input, and uses the bus. Detect whether a request has been made even once.

つまり、各D−FF43  のD入力には常に“1”が
入力しているので、D−FF43には、その後CLK人
力に“0”や“1″が入力してもそのQ出力の状態を“
1”に保ち(T4) 、バス使用要求信号(B Rk 
’)が少なくとも一度入力したことを検出する。
In other words, since "1" is always input to the D input of each D-FF43, even if "0" or "1" is subsequently input to the CLK input, the state of the Q output is not stored in the D-FF43. “
1” (T4), bus use request signal (B Rk
') is entered at least once.

一方、D−FF43  はCLK人力の人力信号の立上
がりエツジで0人力のデータを取込むが、D−FFnの
CLK入力は常に“0”なので、D−FF43.のQ出
力からの出力はリセットされた状態を保ち常に“0“で
(T4) 、CPU  からバス使用要求信号(π玉 
)が−度も人力しないこ口 とを検出する。
On the other hand, D-FF43 takes in 0 human power data at the rising edge of the CLK human power signal, but since the CLK input of D-FFn is always "0", D-FF43. The output from the Q output remains reset and is always “0” (T4), and the bus request signal (π ball
) detects things that require no human effort.

次に、各CPU  がバス使用要求検出回路41のアド
レスにアクセスを行うと(T5)、アドレスデコーダ3
1を介してセレクト信号(C8)が真となり、スリース
テートドライバ44 の制御人力に人力する。
Next, when each CPU accesses the address of the bus use request detection circuit 41 (T5), the address decoder 3
1, the select signal (C8) becomes true, and the three-state driver 44 is controlled manually.

各スリーステートドライバ44 はセレクト信号(U3
)が入力すると出力状態となり、各り−FF43mのQ
出力の状態を共通データバス13の各ビットD に出力
する(T6)。
Each three-state driver 44 receives a select signal (U3
) is input, it becomes an output state, and the Q of each -FF43m
The output state is output to each bit D of the common data bus 13 (T6).

つまり、D−FF43□。のQ出力の状態は“1″なの
で、共通データバス13に出力されるDl(f!I]ち
D1〜Dn−1には“1”が出力される。一方、D−F
F43  のQ出力の状態は“0”なので、D には“
0”が出力される。
In other words, D-FF43□. Since the state of the Q output of D-F is "1", "1" is output to Dl (f! I), that is, D1 to Dn-1, which are output to the common data bus 13.
Since the state of Q output of F43 is “0”, D is “
0” is output.

このため、データバス13を介して“1”“1” ・・
・ “0”のデータD が、実装されていないCPU 
 を除(各CPUkに入力し、各CPU  のデータレ
ジスタ52kに格納される(STI)。
Therefore, “1”, “1”, etc. are transmitted via the data bus 13.
・Data D of “0” is not installed on the CPU
(input to each CPUk and stored in the data register 52k of each CPU (STI)).

そして、CPU1−存在判定回路53.が、データレジ
スタ52、。からデータDmを読込み、そのデータD 
と“1”との論理積を取り、その結果を再度データレジ
スタ52にへ格納する(ST2)。そして各CP U 
lcの存在判定回路53.が、それぞれのデータレジス
タ52kに格納された上記結果に基づいてCPUの存在
/非存在を判定しく5T3) 、CPU1〜CPUn−
1についてはそれぞれに対応するビットのDkが“1”
であるので存在していると判定しく5T4) 、CPU
nについてはそれに対応するビットのD が“0”であ
るので存在していないと判定する(S T 5)。
Then, CPU1-presence determination circuit 53. However, the data register 52,. Read data Dm from
and "1", and the result is stored in the data register 52 again (ST2). And each CPU
lc existence determination circuit 53. determines the presence/absence of the CPU based on the above results stored in the respective data registers 52k (5T3), CPU1 to CPUn-
For 1, Dk of the corresponding bit is “1”
Therefore, it can be determined that it exists (5T4), CPU
Regarding n, since the corresponding bit D is "0", it is determined that it does not exist (S T 5).

このため、CPU  を除く各CPUkは、それぞれの
CPU存在判定部53kにより所定の場所に実装されて
いない、つまり存在していないCPU を認識し、当該
CPU  を除く各CPUk間n          
          nで仕事を分担しながら、バスア
ービタ21によるバス使用調停の下て、C,PUo、C
PU1の順で共通アドレスバス12及びデータバス13
使用して、各自の処理を行うことができる。
Therefore, each CPUk other than the CPU recognizes a CPU that is not installed in a predetermined location, that is, a CPU that does not exist, by the respective CPU presence determination unit 53k, and
C, PUo, and C under the arbitration of bus use by the bus arbiter 21 while sharing the work with C, PUo, and C.
Common address bus 12 and data bus 13 in the order of PU1
You can use them to perform your own processing.

従って本実施例によれば、マルチCPUシステムにおい
て、CPU検出手段により各CPUから出力されるバス
使用要求信号を入力して記憶し、どのCPUがバスの使
用を一度も要求していないかを検出し、その検出結果に
基づいて各CPUがその他のCPUの存在/非存在の判
定するようにしたので、割込み処理プログラムのような
ソフトウェアは不要となり、ソフトウェアの処理を低減
させてシステム全体の処理を高速化することができる。
Therefore, according to this embodiment, in a multi-CPU system, the CPU detecting means inputs and stores the bus use request signal output from each CPU, and detects which CPU has never requested the use of the bus. Since each CPU determines the presence/absence of other CPUs based on the detection result, software such as an interrupt processing program is no longer required, reducing software processing and processing of the entire system. It can be made faster.

また本実施例では、各CPUが人手を介さず自動的に他
のCPUの存在/非存在を判定するようにしたので、人
為的なミスはなくなりシステム全体の処理がより正確と
なる。
Furthermore, in this embodiment, each CPU automatically determines the presence/absence of other CPUs without human intervention, so human errors are eliminated and the processing of the entire system becomes more accurate.

尚、上記実施例では、CPU使用要求検出回路が各CP
Uから出力されるバス使用要求信号を人力して記憶し、
どのCPUがバスの使用を一度も要求していないかを検
出するようにしたが、本発明では例えば各CPUが出力
するバス使用中信号を入力して記憶することにより、ま
たバスの使用権を調停するパスアービタから出力される
バス使用許可信号を人力して記憶することによりバスの
使用を一度も要求していない(J’Uを検出するように
してもよい。
In the above embodiment, the CPU usage request detection circuit is connected to each CPU.
Manually memorize the bus use request signal output from U,
Although the present invention detects which CPU has never requested the use of the bus, the present invention also detects the right to use the bus by inputting and storing the bus-in-use signal output by each CPU. By manually storing the bus use permission signal output from the path arbiter that arbitrates, it is also possible to detect whether the bus has never been requested to use the bus (J'U).

また、本実施例では各CPU内にハード的にCPU存在
判定部を設けたが、本発明では上記CPU存在判定部と
同一機能を有するマイクロプログラムによりソフト的に
CPUが存在/非存在を判定するようにしてもよい。
In addition, in this embodiment, a CPU presence determination unit is provided in each CPU in hardware, but in the present invention, the presence/absence of a CPU is determined in software by a microprogram having the same function as the CPU presence determination unit described above. You can do it like this.

更に、本実施例のCPU存在判定部は、共通データバス
を介して送られてくるバス要求検出回路からの各CPU
に対応するデータをデータレジスタへ格納し、それと“
1”との論理積をとり、その結果に基づいて判定するよ
うにしたが、本発明では例えばデータレジスタへ格納さ
れたデータを一旦nビット右ヘシフトし、それと“1”
との論理積をとっても、またデータレジスタへ格納され
たデータを“1”との論理積をとらず、そのままそのデ
ータに基づいてCPUの存在/非存在を判定するように
してもよい。
Furthermore, the CPU presence determination unit of this embodiment detects each CPU from the bus request detection circuit sent via the common data bus.
Store the data corresponding to in the data register, and “
However, in the present invention, for example, the data stored in the data register is once shifted to the right by n bits, and the data is logically ANDed with "1".
Alternatively, the presence/absence of the CPU may be determined based on the data without performing a logical AND with "1" on the data stored in the data register.

(発明の効果) 以上説明したように本発明によれば、マルチCPUシス
テムにおいて、CPU検出手段によりどのCPUがバス
の使用を一度も要求していないかを検出し、その検出結
果に基づいて各CPUがその他のCPUの存在あるいは
非存在を判定するようにしたので、割込み処理プログラ
ムのようなソフトウェアは不要となり、ソフトウェアの
処理を低減させてシステム全体の処理を高速化すること
ができる。
(Effects of the Invention) As explained above, according to the present invention, in a multi-CPU system, the CPU detection means detects which CPU has never requested the use of the bus, and based on the detection result, each CPU Since the CPU determines the existence or non-existence of other CPUs, software such as an interrupt processing program is not required, and the processing of the entire system can be speeded up by reducing software processing.

また本発明では、各CPUが人手を介さず自動的に他の
CPUの存在/非存在を判定するようにしたので、人為
的なミスはなくなりシステム全体の処理がより正確とな
る。
Furthermore, in the present invention, each CPU automatically determines the presence/absence of other CPUs without human intervention, so human errors are eliminated and the processing of the entire system becomes more accurate.

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

第1図は本実施例のマルチCPUシステムを示す機能ブ
ロック図、第2図は本実施例のバス使用要求検出回路4
1の詳細機能ブロック図、第3図は本実施例のバス使用
要求検出回路内の信号の状態を示すタイミングチャート
、第4図は本実施例における各CPUの処理を示すフロ
チャートである。 12・・・共通アドレスバス 13・・・共通データバス 41・・・バス使用要求検出回路 (CPU検出手段) 51 ・・・CPU存在判定部 (CPU存在判定手段)
FIG. 1 is a functional block diagram showing the multi-CPU system of this embodiment, and FIG. 2 is a bus use request detection circuit 4 of this embodiment.
1 is a detailed functional block diagram of FIG. 1, FIG. 3 is a timing chart showing the states of signals in the bus use request detection circuit of this embodiment, and FIG. 4 is a flowchart showing the processing of each CPU in this embodiment. 12...Common address bus 13...Common data bus 41...Bus use request detection circuit (CPU detection means) 51...CPU presence determination unit (CPU presence determination means)

Claims (1)

【特許請求の範囲】 1、複数のCPUがそれぞれ所定の場所に存在するか或
は存在しないかを判定するマルチCPUシステムにおい
て、 バスの使用を一度も要求していないCPUを検出するC
PU検出手段と、 上記CPU検出手段の検出結果に基づいてCPUが存在
するか否かを判定するCPU存在判定手段とを設けたこ
とを特徴とするマルチCPUシステム。
[Claims] 1. In a multi-CPU system that determines whether each of a plurality of CPUs exists or does not exist at a predetermined location, a CPU that detects a CPU that has never requested the use of a bus.
A multi-CPU system comprising: a PU detecting means; and a CPU presence determining means for determining whether or not a CPU exists based on the detection result of the CPU detecting means.
JP11402790A 1990-04-27 1990-04-27 Multi-cpu system Pending JPH0410149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11402790A JPH0410149A (en) 1990-04-27 1990-04-27 Multi-cpu system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11402790A JPH0410149A (en) 1990-04-27 1990-04-27 Multi-cpu system

Publications (1)

Publication Number Publication Date
JPH0410149A true JPH0410149A (en) 1992-01-14

Family

ID=14627208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11402790A Pending JPH0410149A (en) 1990-04-27 1990-04-27 Multi-cpu system

Country Status (1)

Country Link
JP (1) JPH0410149A (en)

Similar Documents

Publication Publication Date Title
EP0581335B1 (en) Data processing system having units competing for access to shared resources and arbitration unit responsive to the status of the shared resources
AU611287B2 (en) System bus preempt for 80386 when running in an 80386/82385 microcomputer system with arbitration
US5214776A (en) Multiprocessor system having global data replication
EP0450233B1 (en) Bus access for digital computer system
US5253347A (en) Centralized arbitration system using the status of target resources to selectively mask requests from master units
KR0160193B1 (en) Dma control apparatus
JPH0833875B2 (en) Bus arbitration system
JPS62243058A (en) Control method of interruption for multi-processor system
JPH08339346A (en) Bus arbiter
US5894562A (en) Method and apparatus for controlling bus arbitration in a data processing system
JP2854474B2 (en) Bus use request arbitration device
JPH0689259A (en) Method and system for dispersion-program type priority arbitration
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
US7219167B2 (en) Accessing configuration registers by automatically changing an index
JPH0410149A (en) Multi-cpu system
JPS62154045A (en) Bus arbitration system
CN114281726B (en) System architecture for soc chip and peripheral communication method
JPH0330175B2 (en)
JP3093374B2 (en) Interrupt controller
EP1984943B1 (en) Selective transaction request processing at an interconnect during a lockout
JPS63175964A (en) Shared memory
JP2004220309A (en) Multiprocessor system
KR19980026521A (en) Multi-port Memory Asynchronous Arbitration Method
JPS63298555A (en) Shared memory control system
JP3199138B2 (en) Microprocessor