JPS6013216B2 - complex computing device - Google Patents

complex computing device

Info

Publication number
JPS6013216B2
JPS6013216B2 JP11454977A JP11454977A JPS6013216B2 JP S6013216 B2 JPS6013216 B2 JP S6013216B2 JP 11454977 A JP11454977 A JP 11454977A JP 11454977 A JP11454977 A JP 11454977A JP S6013216 B2 JPS6013216 B2 JP S6013216B2
Authority
JP
Japan
Prior art keywords
input
information
computing device
processing device
control 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.)
Expired
Application number
JP11454977A
Other languages
Japanese (ja)
Other versions
JPS5448138A (en
Inventor
忠洋 柳沢
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP11454977A priority Critical patent/JPS6013216B2/en
Publication of JPS5448138A publication Critical patent/JPS5448138A/en
Publication of JPS6013216B2 publication Critical patent/JPS6013216B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 本発明は入力処理装置を複数の計算装置で共用する複合
計算機に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a compound computer in which an input processing device is shared by a plurality of computing devices.

マイクロプロセッサの出現により制御機能毎に専用のマ
イクロプロセッサを用い機能分散した計算装置が、高信
頼性、システムの柔軟性、等の特長から実現され始めて
いる。
With the advent of microprocessors, computing devices with distributed functions using dedicated microprocessors for each control function have begun to be realized due to their features such as high reliability and system flexibility.

この複数のマイクロプロセッサから成る複合計算機シス
テムでは、マイクロプロセッサの機能範囲を限定するこ
とが特長であるが、それにより同一の入力を複数のマイ
クロプロセッサで使用する必要が生じる。各マイクロプ
ロセッサ毎に入力処理を設けることはコスト高となる為
、入力処理装置を複数のマイクロプロセッサで共用する
方式がとられることが多い。従来は第1図,第2図に示
すような方法が用いられていた。(第2図の例としては
(特閑昭52−209ふ侍関昭52−7424ト袴関階
52一74243)がある。)第1図に於て計算装直2
0,30は各々、マイクロプロセッサ21、入力制御回
路22、装置間インタフェース23で又マイクロプロセ
ッサ31、装置間インタフェース33で構成され、計算
装置間は装置間インタフェース23,33を介して結合
されている。入力処理装置10は一方の計算装置の入力
制御回路22により制御され、必要なデータを必要なタ
イミングでマイクロプロセッサ21に送信する。入力処
理装置10の情報の中からマイクロプロセッサ31に必
要な情報は装置間インタフェース22,23を介して計
算装置間で受渡される。この方式の場合は一つの計算袋
贋(第1図の場合は計算装置A)が、他の計算袋魔Bに
必要な情報を収集するため、この計算装置Aが故障した
場合は他の計算装置Bの演算結果にも異常をきたす不都
合がある。第2図の方式は両計算装置に入力制御回路2
2,32を設け、入力制御回路22,32間でィンタロ
ツクをとり、いずれかのマイクロプロセッサのみが入力
処理装置10から情報を入力する方式である。この方式
は一つのマイクロプロセッサの故障が他のマイクロプロ
セッサに及ばない格長を持つが、マイクロプロセッサが
多くなる場合とか、入力処理装置の動作が遅い場合とか
は同時に複数のマイクロプロセッサから入力要求が出る
ことが多くなり、この間、1つ以外のマイクロプロセッ
サは待機させられることになり処理が遅くなる欠点があ
る。又入力制御回路間のインタロツクが複雑になるとか
、マイクロプロセッサの数、機能分担が決っていないと
ィンタロツクが決められないため、システムの柔軟度が
小さくなる欠点もある。本発明はこの現状に鑑み為され
たもので、その目的は入力処理装置に走査制御回路を設
けることにより柔軟曲こ富んだ入力処理装置共用の複合
計算装置を提供することにある。
A feature of this complex computer system consisting of a plurality of microprocessors is that the functional range of the microprocessors is limited, but this results in the need for the same input to be used by the plurality of microprocessors. Providing input processing for each microprocessor increases costs, so a system is often adopted in which the input processing device is shared by a plurality of microprocessors. Conventionally, methods such as those shown in FIGS. 1 and 2 have been used. (An example of Fig. 2 is (Tokukan Sho 52-209, Samurai Seki Sho 52-7424, Hakama Seki 52-74243).)
0 and 30 each consist of a microprocessor 21, an input control circuit 22, and an inter-device interface 23, and a microprocessor 31 and an inter-device interface 33, and the computing devices are coupled via the inter-device interfaces 23 and 33. . The input processing device 10 is controlled by the input control circuit 22 of one of the computing devices, and transmits necessary data to the microprocessor 21 at the necessary timing. Information necessary for the microprocessor 31 from among the information of the input processing device 10 is transferred between the computing devices via the inter-device interfaces 22 and 23. In this method, one calculation device A (in the case of Figure 1, calculation device A) collects the information necessary for another calculation device B, so if this calculation device A breaks down, other calculation devices There is also the disadvantage that the calculation results of device B may also be abnormal. The method shown in Figure 2 is based on the input control circuit 2 for both computing devices.
2 and 32 are provided, an interlock is established between the input control circuits 22 and 32, and only one of the microprocessors inputs information from the input processing device 10. This method has a long life in which a failure of one microprocessor does not affect other microprocessors, but when there are many microprocessors or when the input processing device is slow, input requests from multiple microprocessors may occur simultaneously. During this time, all microprocessors other than one are kept on standby, resulting in slow processing. Furthermore, there are also disadvantages in that the interlocks between input control circuits become complicated, and the interlocks cannot be determined unless the number of microprocessors and the division of functions are determined, resulting in less flexibility of the system. The present invention has been made in view of this current situation, and its purpose is to provide a complex computing device that is highly flexible and can be used commonly as an input processing device by providing a scan control circuit in the input processing device.

以下、本発明の実施例を第3図〜第7図を用いて詳細に
説明する。
Embodiments of the present invention will be described in detail below with reference to FIGS. 3 to 7.

先ずト第3図を用いて本発明の構成を説明する。第3図
は2台のマイクロプロセッサで入力処理装置を共用する
場合の例であり図示される如く計算装置20,30は各
々マイクロプロセッサ21,31とバッファ回路25,
35から構成され、バッファ回路25,35を介して入
力処理装置10に結合される。
First, the configuration of the present invention will be explained using FIG. FIG. 3 shows an example in which an input processing device is shared by two microprocessors.
35, and is coupled to the input processing device 10 via buffer circuits 25, 35.

走査制御回路11‘ま計算装置に与える情報の選択信号
を入力処理装置10と各バッファ回路25,35に出力
する。本発明では第3図に示されるように走査制御回路
11により、順次選択された入力情報が入力処理装置1
0から各計算装置20,30のバッファ回路25,35
に出力され、その入力情報が必要な場合のみ各マイクロ
プロセッサ21,31がその入力情報を取込むことが出
来る。
The scan control circuit 11' outputs a selection signal of information to be given to the calculation device to the input processing device 10 and each buffer circuit 25, 35. In the present invention, as shown in FIG.
0 to the buffer circuits 25, 35 of each computing device 20, 30
Each microprocessor 21, 31 can take in the input information only when the input information is necessary.

次に本発明の1つの特徴である走査制御回路11につい
て実施例を示す第4図を用いて説明する。第4図に示さ
れるように発振器113の出力ぐ,が力ウンタ112に
入力されカウンタ112のカウントアップ出力がシフト
レジスタ111に入力され、カウンタ112のカウント
値出力とシフトレジスタ111の状態出力がデコーダ1
14に入力され、ヂコーダ114の出力が入力情報の選
択信号として入力処理装置へ接続される。シフトレジス
タ111の出力はORケー山ト115,1161こ入力
されてORゲート115,116の出力は各計算装置に
必要な入力情報がバッファ回路に入力されていることを
示す選択信号としてバッファ回路へ接続される。第4図
の動作を第8図のタイムチャートを用いて説明する。
Next, the scanning control circuit 11, which is one of the features of the present invention, will be explained using FIG. 4 showing an embodiment. As shown in FIG. 4, the output of the oscillator 113 is input to the power counter 112, the count-up output of the counter 112 is input to the shift register 111, and the count value output of the counter 112 and the status output of the shift register 111 are input to the decoder. 1
14, and the output of the decoder 114 is connected to the input processing device as an input information selection signal. The output of the shift register 111 is input to the OR gates 115 and 1161, and the output of the OR gates 115 and 116 is sent to the buffer circuit as a selection signal indicating that the input information necessary for each calculation device is input to the buffer circuit. Connected. The operation shown in FIG. 4 will be explained using the time chart shown in FIG.

但し、説明を簡単にするために第3図で示される2合計
算装置A,B,20,30で入力処理装置10を共用す
るシステムで、しかも2台の計算装置が共用するデータ
の数を4ワ−ド、計算装置Aのみが使うデータの数を2
ワード、計算装置Bのみが使うデータの数を3ワードと
して説明する。カウンタ112は初期値3のダウンカウ
ンタで、発振器113の出力で,の立下りでカウント値
を更新していくので、ぐ,の立下り毎に3,2,1,0
,3,2…とカウント値が変化する。
However, in order to simplify the explanation, we will assume a system in which the input processing device 10 is shared by the two calculation devices A, B, 20, and 30 shown in FIG. 4 words, the number of data used only by computing device A is 2
The following explanation assumes that the number of words and data used only by computing device B is three words. The counter 112 is a down counter with an initial value of 3, and the count value is updated at the fall of the output of the oscillator 113, so every fall of 3, 2, 1, 0
, 3, 2, and so on.

シフトレジスタ111はカウンタ112の桁下りパルス
(カウント値0から初期値3へ変わる時に発生するパル
ス)が入力され、パルスが入力される諺に出力Q,,Q
2,Q3が順番にレベル「1」となる。シフトレジスタ
の出力Q.,Q2,Q3は各々両計算装置共用入力、計
算装置A用入力、計算装置8用入力を意味しているので
デコーダはQ・,Q,Qとカウント値から入力処理装置
の該当のワードを選択する信号を発生することが出来る
。又ORゲート1 15,1 16の出力SELA,S
ELBは各々Q,又はQ2が「1」、Q,又はQが「I
Jの時「1」となるので計算装置Aはぐ,=「1」でS
ELA=「1」の時入力処理装置10からの情報をバッ
ファ回路25に取込めばよく計算装置Bはぐ,=「1」
でSELB=「1」の時入力処理装置10からの情報を
バッファ回路35に取込めばよいことになる。次にバッ
ファ回路25の詳細を第5図を用いて説明する。
The shift register 111 receives the down pulse of the counter 112 (the pulse generated when the count value changes from 0 to the initial value 3), and outputs Q, , Q as the pulse is input.
2 and Q3 become level "1" in order. Shift register output Q. , Q2, and Q3 mean the common input for both computing devices, the input for computing device A, and the input for computing device 8, respectively, so the decoder selects the corresponding word of the input processing device from Q・, Q, and Q and the count values. It is possible to generate a signal that Also, the outputs SELA, S of OR gates 1 15, 1 16
ELB is each Q or Q2 is "1", Q or Q is "I"
When J, it becomes "1", so computing device A is equal to "1" and S
When ELA = "1", the information from the input processing device 10 can be taken into the buffer circuit 25.
When SELB="1", information from the input processing device 10 can be taken into the buffer circuit 35. Next, details of the buffer circuit 25 will be explained using FIG.

レジスタ251は入力情報のバッファ用で入力処理装置
の出力を入力され、出力はマイクロプロセッサの入力に
なっている。フリツプフロツプ253は先に説明した走
査制御回路11のシフトレジスタ出力のいずれか1つ(
以下はQ・で説明する)がクロック端子CLKに接続さ
れマイクロプロセッサからの制御信号である入力許可信
号をデータ端子Dに接続されている○形フリップフロッ
プであり、出力Qと先に説明した走査制御回路11の発
振器出力J,と選択信号SELAとがANDゲート25
2に入力される。ANDゲート252出力は、入力情報
取込み可能の時「1」となるので、レジスタ251のク
ロック端子に接続されるとともにステイタス信号、又は
割込要求信号としてマイクロプロセッサへ接続される。
第5図のバッファ回路25は走査制御回路11の発振器
周期と、カウンタの値と、シフトレジスタの出力段数で
決まる周期でサィクリックに入力される入力情報を入力
許可信号が「1」となった後の入力情報のみをQ,が「
1」になるタイミングから順番にマイクロプロセッサに
入力することを可能としている。尚、マイクロプロセッ
サは無駄な入力情報を入力することを防ぐため、入力情
報を必要とする時のみ入力許可信号rl」とする。以上
説明したように第4図,第5図では、入力処理装置の入
力情報は一定周期で繰返し入力されるので各マイクロプ
。セツサは他のマイク。プロセッサと無関係に自分に必
要な入力情報のみを必要なタイミングで入力することが
出釆る。第4図の場合はシフトレジスタの各出力ね,,
Q2・・・に対するカウント値初期値が一定であるため
入力情報が均一でない場合には無駄な動作が入る。
The register 251 is for buffering input information and receives the output of the input processing device, and the output is input to the microprocessor. The flip-flop 253 outputs one of the shift register outputs (
Q) is connected to the clock terminal CLK, and the input enable signal, which is a control signal from the microprocessor, is connected to the data terminal D. The oscillator output J of the control circuit 11 and the selection signal SELA are connected to the AND gate 25.
2 is input. Since the output of the AND gate 252 becomes "1" when input information can be taken in, it is connected to the clock terminal of the register 251 and is also connected to the microprocessor as a status signal or an interrupt request signal.
The buffer circuit 25 in FIG. 5 receives input information cyclically input at a period determined by the oscillator period of the scan control circuit 11, the value of the counter, and the number of output stages of the shift register when the input permission signal becomes "1". Only the input information after Q, is "
It is possible to input data to the microprocessor in order from the timing when the data becomes "1". In order to prevent the microprocessor from inputting useless input information, the input permission signal rl is applied only when input information is required. As explained above, in FIGS. 4 and 5, since the input information of the input processing device is repeatedly input at a constant period, each microprocessor is different from the other. Setsa is the other mic. It is possible to input only the input information necessary for oneself at the necessary timing, regardless of the processor. In the case of Figure 4, each output of the shift register...
Since the initial count value for Q2, . . . is constant, if the input information is not uniform, a wasteful operation is performed.

第4図の説明に用いた例ではQ,に対し4,Q2に対し
2,そしてQ3に対し3カウント必要なので、Q2では
2カウント分、Qでは1カウント分多く、入力処理装置
に存在しないワードが選択されることになる。第6図は
この点を改良したものでシフトレジスタ111の出力段
数に対応する設定回路群からなる設定器117を付加し
、設定器出力をカウンタ112の初期値として用いるよ
うにしている。但し、複数の設定回路群はシフトレジス
ター11の出力により選択されて対応する初期値1つだ
けがカウンタ112に入力される。第6図の場合は、入
力情報数に一致したカウント値となるので無駄な動作は
省かれる。第5図の場合は、入力装置とマイクロプロセ
ッサ間の動作のタイミングのずれは1入力情報分しか許
されない。
In the example used to explain Fig. 4, 4 counts are required for Q, 2 for Q2, and 3 counts for Q3, so there are 2 counts for Q2 and 1 count for Q, and a word that does not exist in the input processing device. will be selected. FIG. 6 is an improvement on this point, in which a setter 117 consisting of a group of setting circuits corresponding to the number of output stages of the shift register 111 is added, and the output of the setter is used as the initial value of the counter 112. However, the plurality of setting circuit groups are selected by the output of the shift register 11, and only one corresponding initial value is input to the counter 112. In the case of FIG. 6, the count value matches the number of input information, so unnecessary operations are omitted. In the case of FIG. 5, the timing shift between the input device and the microprocessor is only allowed by one input information.

即ちレジスタに入力情報が取込まれると次の入力情報が
取込まれる迄に、マイクロプロセッサはその入力情報を
取込む必要がある。第7図はこの点を改良したもので入
力情報のバッファ用として、FiGtlnFirstO
utmemory(以下FIFOメモリと称す)255
を用いフリツプフロップ253のデータ入力端子に単安
定回路256を追加したものである。FIFOメモリ2
55は入力と出力が独立に制御可能で記憶内容を入力さ
れた順序で出力するメモリであり、記憶容量は数十ワー
ドで任意に選ぶことが出来るので、入力処理装置とマイ
クロプロセッサ間の動作のタイミングのずれはF『0メ
モリの記憶容量分だけ許容される。従って入力処理装直
が遅い動作であっても、早い動作であっても、それには
無関係にマイクロプロセッサに通したタイミングと処理
速度で入力情報の取込みが可能となる。
That is, once the input information is taken into the register, the microprocessor needs to take in that input information until the next input information is taken in. Figure 7 shows an improved version of this point, using FiGtlnFirstO as a buffer for input information.
utmemory (hereinafter referred to as FIFO memory) 255
A monostable circuit 256 is added to the data input terminal of the flip-flop 253. FIFO memory 2
Reference numeral 55 is a memory whose input and output can be controlled independently and outputs the stored contents in the order in which they are input.The memory capacity can be arbitrarily selected from several tens of words, so the operation between the input processing device and the microprocessor can be easily controlled. The timing deviation is allowed by the storage capacity of F'0 memory. Therefore, regardless of whether the input processing device operates slowly or quickly, input information can be taken in at the timing and processing speed of the microprocessor.

尚、単安定回路256を追加したことにより、入力要求
信号のリセットが遅れてもフリツブフロツプ253はQ
,の立上りから次の立上りの間の一周期の間しか「1」
とならないので、重複することなく一定の順序で入力情
報を取込むことが可能となる。以上説明したように本発
明によれば、複合計算装置で入力処理装置を共用するシ
ステムに於て入力側に簡単な走査制御回路を追加するこ
とにより入力処理装置の全情報をサィクリツクに全計算
装置に入力することが出来るので、各計算装置間の独立
性が保たれ、入力情報量、入力情報の用途が変っても各
計算装置は変らないので、信頼性が高く、入力情報の内
容量の変更が容易に出来る、入力情報処理が実現出釆る
Furthermore, by adding the monostable circuit 256, even if the reset of the input request signal is delayed, the flip-flop 253 can maintain the Q
, is "1" only during one period between the rising edge of , and the next rising edge.
Therefore, it is possible to import input information in a fixed order without duplication. As explained above, according to the present invention, in a system in which an input processing device is shared by multiple computing devices, by adding a simple scan control circuit to the input side, all information of the input processing device can be cyclically transmitted to all computing devices. Since the independence between each computing device is maintained, and even if the amount of input information or the purpose of the input information changes, each computing device does not change, so reliability is high and the amount of input information can be reduced. Input information processing that can be easily changed is realized.

しかも各計算装置側に簡単なバッファ回路を設けること
により、無駄な入力情報の取込みを防ぐことが出来るの
で、各計算装置の動作効率も良い。
Moreover, by providing a simple buffer circuit on each computing device side, it is possible to prevent unnecessary input information from being taken in, which improves the operating efficiency of each computing device.

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

第1図、第2図は従釆装置を示すブロック図、第3図は
本発明を示すブロック図、第4図、第5図は夫々本発明
に使用する走査制御回路、バッファ回路の一例を詳細に
示すブロック図、第6図、第7図は走査制御回路、バッ
ファ回路の他の例の詳細ブロック図、第8図は本発明用
のタイムチャートである。 10・・・・・・入力処理装置、11・・・・・・走査
制御回路、20,30・・・・・・計算装置、21,3
1・・・・・・マイクロプロセッサ、23,33・・・
・・・装置間ィンタフエース、111……シフトレジス
夕、112….・・カウンタ、113・・・・・・発振
器、114・・・・・・デコーダ、115,116……
ORゲート、117……設定器、251……レジスタ、
252..・…ANDゲート、253・・・・・・フリ
ツプフロツプ。 第1図第2図 第3図 第4図 第5図 第6図 第7図 第8図
FIGS. 1 and 2 are block diagrams showing the slave device, FIG. 3 is a block diagram showing the present invention, and FIGS. 4 and 5 are examples of the scan control circuit and buffer circuit used in the present invention, respectively. 6 and 7 are detailed block diagrams of other examples of the scan control circuit and buffer circuit, and FIG. 8 is a time chart for the present invention. 10... Input processing device, 11... Scanning control circuit, 20, 30... Computing device, 21, 3
1...Microprocessor, 23,33...
...Device interface, 111...Shift register, 112... ... Counter, 113 ... Oscillator, 114 ... Decoder, 115, 116 ...
OR gate, 117...setting device, 251...register,
252. ..・...AND gate, 253...Flip-flop. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8

Claims (1)

【特許請求の範囲】[Claims] 1 入力処理装置からの情報に基づいて各種演算を行う
計算装置を複数台結合してなる複合計算装置において、
前記入力処理装置からの情報のうち各々の計算装置に必
要な情報を指定選択するための走査制御回路と、前記各
々の計算装置内に設けられ前記走査制御回路で指定選択
された情報を一時記憶するためのバツフア回路と、前記
各々の計算装置内に設けられ前記バツフア回路に出力許
可信号を出力し前記走査制御回路の前記指定選択を確認
して前記バツフア回路に記憶された情報を取出すマイク
ロプロセツサとからなる複合計算装置。
1 In a compound computing device formed by combining a plurality of computing devices that perform various calculations based on information from an input processing device,
A scanning control circuit for specifying and selecting information necessary for each computing device from among the information from the input processing device, and a scanning control circuit provided in each computing device to temporarily store information specified and selected by the scanning control circuit. a buffer circuit provided in each of the computing devices for outputting an output permission signal to the buffer circuit, confirming the specified selection of the scanning control circuit, and retrieving the information stored in the buffer circuit; A complex computing device consisting of a setsa.
JP11454977A 1977-09-26 1977-09-26 complex computing device Expired JPS6013216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11454977A JPS6013216B2 (en) 1977-09-26 1977-09-26 complex computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11454977A JPS6013216B2 (en) 1977-09-26 1977-09-26 complex computing device

Publications (2)

Publication Number Publication Date
JPS5448138A JPS5448138A (en) 1979-04-16
JPS6013216B2 true JPS6013216B2 (en) 1985-04-05

Family

ID=14640558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11454977A Expired JPS6013216B2 (en) 1977-09-26 1977-09-26 complex computing device

Country Status (1)

Country Link
JP (1) JPS6013216B2 (en)

Also Published As

Publication number Publication date
JPS5448138A (en) 1979-04-16

Similar Documents

Publication Publication Date Title
US5233701A (en) System for managing interprocessor common memory
EP0186006A2 (en) Multiprocessor system
JPH01237864A (en) Dma transfer controller
JPS6235949A (en) Memory device
JPS6013216B2 (en) complex computing device
JP2870812B2 (en) Parallel processor
JPS6239792B2 (en)
JPH11338712A (en) Interruption sequence saving circuit
US20020147935A1 (en) Timer circuit
JPS61289448A (en) Buffer memory device
JP2511856B2 (en) Micro Processor
JPH0695304B2 (en) Data processing device
SU1481854A1 (en) Dynamic memory
JPS6074074A (en) Priority control system
US20040230319A1 (en) Microcontroller device for complex processing procedures and corresponding interrupt management process
JPS5849903B2 (en) Computer parallel connection system
JPH03246603A (en) Rapid counter
JPH04162138A (en) Microprocessor
JPH07210496A (en) Data transfer equipment
WO1989003565A1 (en) Selective receiver for each processor in a multiple processor system
JPH01321525A (en) Hardware semaphore
JPH02287629A (en) Microprocessor
JPH0340116A (en) Timer circuit
JPH05298066A (en) Fifo buffer device
JPH055133B2 (en)