JPS5962966A - Data transfer circuit between CPUs - Google Patents

Data transfer circuit between CPUs

Info

Publication number
JPS5962966A
JPS5962966A JP17295482A JP17295482A JPS5962966A JP S5962966 A JPS5962966 A JP S5962966A JP 17295482 A JP17295482 A JP 17295482A JP 17295482 A JP17295482 A JP 17295482A JP S5962966 A JPS5962966 A JP S5962966A
Authority
JP
Japan
Prior art keywords
memory
output
data
circuit
cpu
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
JP17295482A
Other languages
Japanese (ja)
Inventor
Yuji Saikaichi
西開地 勇二
Hisahiro Fukuoka
福岡 久博
Hiroshi Kondo
弘 近藤
Hiroaki Miki
三木 宏明
Shigeo Maruyama
丸山 茂生
Noboru Ran
蘭 昇
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.)
Shinmaywa Industries Ltd
Original Assignee
Shin Meiva Industry 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 Shin Meiva Industry Ltd filed Critical Shin Meiva Industry Ltd
Priority to JP17295482A priority Critical patent/JPS5962966A/en
Publication of JPS5962966A publication Critical patent/JPS5962966A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To transfer data between two CPUs with less queuing time, by controlling a switching circuit by a signal, which is generated by discriminating memory states of two CPUs, to connect memories to each other. CONSTITUTION:When a timer is started, CPU2 checks the inversion state of an output Q of an FF12. If it is not inverted, data is not taken in; but if it is inverted, the state of a memory 8 is checked, and the error processing is performed when it is wrong. When it is correct, data is taken in from the memory 8. The CPU2 processes taken-in data and writes it in the memory 8 again by a write instruction. Thereafter, the CPU2 issues a switching request to connect the memory 8 and a CPU1. Then, outputs 8A, 8B, 9A, and 9B of output ports of memories 8 and 9 and the output Q of the FF12 are inverted. Consequently, the CPU1 is connected to the memory 8 and the CPU2 is connected to the memory 9 through a bus by a switching circuit 7.

Description

【発明の詳細な説明】 この発明は、複数のCI) [Jを具(+1i+ シだ
制御装置におけるC P jJ間のテーク転送回路の改
良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement in a take transfer circuit between C P jJ in a plurality of CIs.

複数のC11Uを具備した制御装置として例え超、多関
節ロホソトの制御装置かある。多関節ロボットの制御装
置゛においては例えに1、i)旧111多関節ロボyl
・の被制徊1体か移動するへきイ☆置間の補[IY躇1
勢、この補間訓算のだめの前処用171や、直角座(票
系の缶1バテータを多関節系の位置−7−クに変換する
+riζ標変換、多関節系の位置データの補間aInな
と多くの8目つ作業か行わ〕するのであるか、このよう
な制t11装置にCI) tJずなわイっマイク[Jブ
ロセンザを使用する場合、CI’tJを1個fす2川し
2だのてd、制御に必要とされる時間内に−Σ−一夕を
処理できない1易合があり、このだめ一つの制御−シ装
置に複数のCI)Uを使用し、それぞれテーク処理を分
」[1して11わぜることか必要になる。このような1
合、それらのCI) U間のテーク転送か必’7M K
なる。
An example of a control device equipped with a plurality of C11Us is a control device for a multi-joint robot. In the control device for an articulated robot, for example, 1.i) Old 111 articulated robot yl
・Hekii☆Okima's complement [IY Hesitation 1]
In addition, the precondition 171 of this interpolation training calculation, the +riζ coordinate conversion that converts the can 1 vator of the rectangular position (vote system) into the position -7-k of the multi-joint system, and the interpolation aIn of the position data of the multi-joint system. Is it necessary to do a lot of 8-point work]?If you use a CI'tJzunawai microphone [J Brosenza] in such a control device, you should use one CI'tJ and two rivers and two. However, there is a possibility that -Σ-Ichiyo cannot be processed within the time required for control. You will need to do 1 and 11 minutes. 1 like this
7M K
Become.

そして、当初、−ツ(7) CP IJか他(7) C
I’ jJ K 7クセス(7、その内部メモリすなわ
ちレジスタ部からデータを取り込むことが行わJlだが
、一つのCI) [Jがデータ取込みを要求しても、他
のCI) jJがこれに応じなければ、他のCI) U
が応じるようになるまで待つことが必要であり、待時間
を必要表するこ″とが多く、非能率であ、た。
And, initially, -tsu (7) CP IJ or others (7) C
I' jJ K 7 accesses (7, Jl imports data from its internal memory, that is, register section, but it is one CI) [Even if J requests data import, other CIs) jJ must respond to this request. (other CI) U
It is often necessary to wait until someone responds, which often results in a long wait time, which is inefficient.

そこで、一つおよび他のCI) LJが、独立した一つ
のメモリを共用できるように接続しておき、いずれか−
・方のCP LJの処理したデータをこのメモリにy)
き込んだ後、いずれか他方のC11IIから取り込める
ようにしたデータ転送回路も使用されているが、いず7
1か一方のCI) [Jがそのメモリにアクセスしてい
るとき、いず11か他方のCPUがアクセスしようとし
ても、先の−・方のCI) tJによるアクセスが終る
まで待たされることになり、やはり待時間を必要とする
ことかあ、た。ま/ζ、メモリとしてFIFO方式を使
用した場合、例えば必要とするデータを格納した番地だ
けからデータを読み出すのでなく、書き込んだ順にすべ
てのデータを読み出し、その中から必要なデータだけを
取り込むととになるので、待時間か顕著になることがあ
った。
Therefore, one CI and other CI) LJs are connected so that they can share one independent memory, and one
・Data processed by the other CP LJ is stored in this memory)
A data transfer circuit is also used that allows data to be imported from either C11II after it has been imported, but none of the
1 or one of the CIs) [When J is accessing that memory, even if any of the other CPUs tries to access it, it will have to wait until the access by the earlier CI) tJ is completed. Well, it still requires waiting time. When using the FIFO method as memory, for example, instead of reading data only from the address where the necessary data is stored, it is possible to read all the data in the order in which it was written, and then import only the necessary data from among them. As a result, the waiting time could become noticeable.

この発明は、複数のCI) II間のデータ転送回路に
関する前述のような点に/1目して行われたものであり
、二つのCPU間のデータ転送を待時間を少なく行える
ようにしたデータ転送回路を快供することを目的とする
This invention was made with the above-mentioned points in mind regarding the data transfer circuit between a plurality of CIs, and is a data transfer circuit that allows data transfer between two CPUs to be performed with less waiting time. The purpose is to provide transfer circuits.

この発明は、二つの’c p LJのそれぞれに一つの
メモリを対応させ、それぞ11のメモリの状態を判別さ
せてil制御信号を発生し、この制御ll (にけによ
り切替回路を制御して7つのCP Uとそれぞれに対応
するメモリ相互間を接続できるようにデータ転送回路を
構成しんことを特徴とする。
In this invention, one memory is made to correspond to each of the two 'cp LJs, the states of each of the 11 memories are determined, an il control signal is generated, and the switching circuit is controlled by this control ll (indicator). A data transfer circuit is configured to connect seven CPUs and their corresponding memories.

以下、この発明の実施例について図面を参照して説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

第1図にこの実施例のプロ・ンク図を示す。@1図にお
いて、 1は第1のCI’LJ、2は第2のCP j、Jであり
、図示しないRA MとROMと共にこのデータ転送回
路を制御するプロゲラl、を実行する。
FIG. 1 shows a diagram of this embodiment. @1 In the figure, 1 is the first CI'LJ, 2 is the second CP j, J, and executes the program controller l that controls this data transfer circuit together with the RAM and ROM (not shown).

3は第1のスイッチであり、人力(tillは第1の(
二J’ jJ iと接続され、出力(tl、lは第1の
メモリ8と接続される。制御信月が1のとき導通ずる。
3 is the first switch, and human power (till is the first switch (
The output (tl,l) is connected to the first memory 8.When the control signal is 1, it becomes conductive.

4は第2のスイッチであり、入力G11lは第2のCI
) jJ 2と接続され、出力側は第1のメモリ8と接
続される。制御信号が0のとき導通する。
4 is the second switch, and the input G11l is the second CI
) jJ 2, and the output side is connected to the first memory 8. Conducts when the control signal is 0.

5は第3のスイッチであり、入力端d、第2のCp t
+ 2と接続され、113力(1111i、J:第2の
メモリ9と接続さ11る。i制御信号が1のとき導通ず
る。
5 is the third switch, the input terminal d, the second Cp t
+2, and 113 power (1111i, J: connected to the second memory 9).When the i control signal is 1, it is conductive.

6は第4のスイッチであり、人力(tilI N第1の
CI’ (、T iと接続され、111力佃1は第2の
メモリ9と接続さi7る。制御信号が0のとき導通する
6 is the fourth switch, which is connected to the first CI' (, Ti, and 111 is connected to the second memory 9; it is conductive when the control signal is 0). .

7に;1切替回路であり、この実施例では第1のスイッ
チ3・〜第4のスイッチ6から成りS′fっている。
7; 1 switching circuit, which in this embodiment consists of a first switch 3 to a fourth switch 6; S'f;

8L[第1のメモリであり、第1のスイッチ3を介し、
て第1のCP Uiと接続され、第2のスイッチ4を介
して第2のCI) U 2と接続されている。
8L [first memory, via first switch 3;
It is connected to the first CPU Ui via the second switch 4, and to the second CI U2 via the second switch 4.

第1のメモリ8は入力ボートおよび出力ポート付きのR
AMである。出力ポート8Aの出力が1のとき出力ポー
ト8Bの出力は0であり、出カポ−)8Aの出力が0の
とき出力ポート818の出力は1である。これらの状態
の切替えは第1のCPUからの書き込み−によって行わ
れる。
The first memory 8 has an input port and an output port.
It is AM. When the output of the output port 8A is 1, the output of the output port 8B is 0, and when the output of the output port 8A is 0, the output of the output port 818 is 1. Switching between these states is performed by writing from the first CPU.

そして、出力ボートaAt/i第1のAND回路10の
一つの入力、第1のメモリ8の入力ポート8■)および
第2のメモリ9の入カポ−) 9 F K 接続される
。また、出力ポート813は第2のA N J)回路1
1の一つの入力、第1のメモリ8の入力ボート8Cおよ
び第2のメモリ9の入カポ−) 9 Eに接続される。
The output port aAt/i is connected to one input of the first AND circuit 10, the input port 8) of the first memory 8, and the input port 9FK of the second memory 9. In addition, the output port 813 is connected to the second A N J) circuit 1
1, the input port 8C of the first memory 8 and the input port 9E of the second memory 9.

9は第2のメモリであり、第3のスイッチ5を介して第
2のCPU2と接続され、第4のスイッチ6を介して第
1のに P tJ iと接続ネf’1.’icいる。
9 is a second memory, which is connected to the second CPU 2 via the third switch 5 and connected to the first memory P tJ i via the fourth switch 6; 'ic is there.

第2のメモリ9も入カポート訃よび出カポー付きのRA
Mである。出カポ−)9Aの出力がOのとき出力ポート
91)の出力は1であり、出力ポート9Aの出力含光婁
賞切が1のとき出力ポート9I3の出力FiOである。
The second memory 9 also has an input port and an output port.
It is M. When the output of the output port 9A is O, the output of the output port 91) is 1, and when the output of the output port 9A is 1, the output of the output port 9I3 is FiO.

これらの状態の切磐′工は第2のCPUからの書込みに
よって行われる。
Control of these states is performed by writing from the second CPU.

そして、出カポ−)9Aは第2のA N l)回路11
のもう一つの入力、第2のメモリ9の入力ボート9T)
および第1のメモリ8の入カポ−)8FK接続される。
And, the output capo) 9A is the second A N l) circuit 11
another input of the input port 9T of the second memory 9)
and the input port of the first memory 8) 8FK is connected.

′また、出力ボート9J:J−第1のA、 N1)回路
10のもう一つの人力、第2のメモリ9の入力ボート9
Cおよび第1のメモリ8の入力bl# −1、8Eに接
続される。
'Also, the output port 9J: J - the first A, N1) another human power of the circuit 10, the input port 9 of the second memory 9
C and the input bl#-1 of the first memory 8, 8E.

10は第1のA N L)回路であり、一つの人力e」
第1のメモリ8の出力ポート8Aに接続され、もう一つ
の入力は第2メモリ9の出力ボート91号に接続されて
いる。寸だ、出力はソリソ不フロノブ回路12のセット
人力Sに接続される。
10 is the first ANL) circuit, and one human power e'
It is connected to the output port 8A of the first memory 8, and the other input is connected to the output port No. 91 of the second memory 9. The output is connected to the set manual S of the Soliso non-flow knob circuit 12.

11は第2のA N D回路であり、−゛つの人力は第
2のメモリ9の出力ポート9Aに1妾続され、もう一つ
の入力は第1のメモリ8の出力ボート8Bに接続されて
いる。寸だ、出力はフリップフロップ回路12のリセッ
ト入ソ戸(に接続される。
11 is a second A N D circuit, one input is connected to the output port 9A of the second memory 9, and the other input is connected to the output port 8B of the first memory 8. There is. The output is connected to the reset input of the flip-flop circuit 12.

12はフリップフロップ回路であり、第1のΔN I)
回路10および第2のA N I)回路11の出力を入
力l〜、Qからの出力は、第1のスイッチ3、第2のス
イッチ4、第3のスイッチ5および第4のスイッチ6に
接続すると共に第1のメモリ8および第2のメモリ9の
ぞれぞれの入力ボート8G、9Gに接続される。
12 is a flip-flop circuit, and the first ΔN I)
The outputs of the circuit 10 and the second A N I) circuit 11 are connected to the first switch 3, the second switch 4, the third switch 5 and the fourth switch 6. At the same time, it is connected to input ports 8G and 9G of the first memory 8 and the second memory 9, respectively.

そして、13−1iff制御イ八は発生回路であり、こ
の実施例でd:第1のA N +)回路10、第2のA
 N +)回路11およびフリップフロップ回路12か
ら成り立−ている。
13-1iff control 8 is a generation circuit, and in this embodiment, d: the first A N +) circuit 10, the second A
N+) circuit 11 and a flip-flop circuit 12.

以トの構成に基き以Fにその作用を説明する。The operation will be explained below based on the configuration described below.

この実施例でC」1、−・定時間ごとのタイマー起動込
みにより第1のCI’ IJ lのデータが第1のメモ
リ8に転送され、第1のメモリ8から第2のC11CI
2に転送されて処理され/こ後、111度、第1のメモ
リ8に転送され、史に、3t′I、1のに l) U 
1に転送叡1する過程中、テークか第1のメモリ8から
第2のCI)U2へ転送され、再度、第1のメモリ8へ
転送される部分について示すものである。そ[−で、こ
の部分のデータ転送は第2のCI’ tJ 2のプログ
ラノ・によ−て行われ、テーク転送が終った後、各CP
Uと各メモリの接続関係を変更するものと(ヅC1第2
図のフロー図を参照して説明する。
In this embodiment, the data of the first CI' IJ l is transferred to the first memory 8 by starting the timer at regular intervals, and the data of the first CI' IJ l is transferred from the first memory 8 to the second CI
2 and processed/After that, 111 degrees, it is transferred to the first memory 8, and then 3t'I, 1 l) U
1 shows the portion of the take that is transferred from the first memory 8 to the second CI U2 and then transferred to the first memory 8 again. Then, this part of the data transfer is performed by the programmer of the second CI' tJ 2, and after the take transfer is completed, each CP
Change the connection relationship between U and each memory (ヅC1 2nd
This will be explained with reference to the flowchart in the figure.

第1のCP [J iてに1.ブータ処岬が行われ、第
1のCI)’tJ iと第1のメモリ8が接続された状
態、すなわちソリソゾフ「1ノブ12のq出力が1の状
態で第1のCPU1から第1のメモIJ 、8 Kデー
タが転送された後、第1のCP IJかられ1.第1の
メモリ8が第2のc p u 2に接続さhるように、
寸だ第2のCI’)Uからは第2のメモリ9が第1の(
:P【Jと接続されるようUJJ替要求さI′Iている
。すなわち、第1のメモリ8の出力ポート8Aの出カバ
01813の出力は1に、第2のメモリ9の出力ポート
9Aの出力1r、r 1.9 ”の出力Q」0になって
おり、フリンブソ「Jツブ12の9出力はOにな−でい
るものとする。
First CP [J i and 1. When the boot process is performed and the first CI)'tJ i and the first memory 8 are connected, that is, when the q output of the Sorisozov 1 knob 12 is 1, the first memory is transferred from the first CPU 1. After the IJ, 8K data is transferred, from the first CP IJ 1. so that the first memory 8 is connected to the second CPU 2,
From the second CI')U, the second memory 9 is transferred to the first (CI')U.
:P [I'I have requested UJJ change to be connected to J. That is, the output of the output port 01813 of the output port 8A of the first memory 8 is 1, and the output Q of the output port 9A of the second memory 9 is 0, and the output of the output port 9A of the second memory 9 is 0. ``It is assumed that the 9th output of the J knob 12 is set to O.

そこで、タイマー起動により第2のcp4J2i−フリ
ップフロップ12の9出力が1から0へ反転1−/こか
どうかを第2のメモリ9の人カポ−1・をJ41〜で読
、み取る(ステップS1)。ぞして、反転していなげね
ばデータは取り込−まれない。反転I〜てお11は第1
のメモリ8からデータの読出しが可能であるかどうか、
すなわち第1のメモリ8の状態が正しいかとうかを第2
のメモリ9の人力ボートを通して読み取る(ステップS
2)。この状態が中しくなけわはエラー処」甲さ、11
(ステν)”S6)、1「シければすなわちこの場合第
1のメモリ8の出力ポート8Aの出力がO1出カポ−1
・813の出力が1であれd′、読出し命令により第1
のメモリ8から第2のC1,” jJ 2ヘデータか取
り込tl+る(ステップS3)。第2のに I) (J
 2へ取り込寸れだデータは処理され、この間、第1の
メモリ8と第2のCI’ tJとの接続を切り渇・える
要求iqlさj′Iないのて、処理後のデークd]占き
込み命令により第1のメモリ8へ汎き込捷れる。(ステ
ップS4)。峰の後、第1のメモリ8を第1のCI’ 
II iと接続−ノるよう切替要求を行う(ステップS
5)。これにより、第1のメモリ8の出力ポート8Aの
出力iJi、313の出力はOに第2のメモリ9の出力
ポート9Aの出力に、0.913の出力に1.1に1ノ
替わる。
Therefore, by starting the timer, the output of the second cp4J2i flip-flop 12 is inverted from 1 to 0 by reading the capo 1 of the second memory 9 using J41 (step S1). Therefore, data will not be captured unless it is inverted. Inversion I~11 is the first
Whether it is possible to read data from the memory 8 of
In other words, the second memory determines whether the state of the first memory 8 is correct.
read through the manual boat of memory 9 (step S
2). The reason why this condition is not correct is due to an error.''Kosa, 11
(Step ν)"S6), 1", that is, in this case, the output of the output port 8A of the first memory 8 is O1 output capo-1
・If the output of 813 is 1, d', the first
The data is imported from the memory 8 of the memory 8 to the second C1, 2 (step S3).
The data that is about to be imported into the second memory 8 is processed, and during this time there is no request to disconnect the first memory 8 and the second CI' tJ, and the processed data d] The data is read into the first memory 8 by the read command. (Step S4). After the peak, the first memory 8 is transferred to the first CI'
II makes a switching request to connect to i (step S
5). As a result, the output iJi of the output port 8A of the first memory 8, the output of 313 is changed to O, the output of the output port 9A of the second memory 9 is changed to 0, the output of 0.913 is changed to 1.1, and the output of 313 is changed to 0.

このだめ第1のA N +)回路10の出力kl 1に
、第2のAND回路11の出力し、Oになり、と71ら
の出力は、図示しない同期信けがノリソブノ口ツゾ12
に−tqえら汎ることによりフリップフ「Iツブ12に
入力するのでフリップフロップ12のq出力triiに
反転する。従って、切替回路7により第1(7) CI
’ U 1は第1のメモリ8にまた第2の0口12−一
第2のメモリ9にバス接続さiIる。
In this case, the output kl 1 of the first A N +) circuit 10 is the output of the second AND circuit 11, which becomes O, and the outputs of the circuits 71 and 71 are connected to the output 12 of the synchronous signal (not shown).
-tq is input to the flip-flop I block 12, so it is inverted to the q output trii of the flip-flop 12. Therefore, the switching circuit 7 causes the first (7) CI
' U 1 is bus connected to the first memory 8 and to the second memory 9 .

以上で、第2のCI) tJ 2の転送ブログラノ・の
実行が終り、以後、データは第1のメモリ8がら第1 
ノCP u 1へ取り込まれる。この第1のメモリ8か
ら第1のCP Ll l −、のデータ取込みおよび先
に行われた第1のCI) U lがら第1のメモリ8へ
のデータ書込みは、前述と同じような第1のCP(夏1
のゾログラノ・の実行により行われる。
This completes the execution of the second CI) tJ 2 transfer blog, and from now on, the data is transferred from the first memory 8 to the first memory 8.
CP u 1. The data acquisition from the first memory 8 to the first CP Ll l and the data writing from the first CI U l to the first memory 8 are performed in the same manner as described above. CP (Summer 1
It is carried out by the execution of Zorograno.

以上、第1の01’ U iから第1のメモリ8ヘテー
タを転送し、更に第1のメモリ8から第2のCt’u2
へ転送してデータ処理(〜だ後、第1のメモリ8を経て
第1のCI’ 、U 1へ転送する場合の作用について
説明したのであるが、第2のc i> 02から第2の
メモリ9を介して第1のc p U 1ヘデータを転じ
てデータ処理した後、第2のメモリ9を介して第2のc
i’u2へ転送する場合の作用も前述同様であり、これ
らの転送を中独に行うことに限、たものではなく、同時
に行うこともできる。
As described above, the hetator of the first memory 8 is transferred from the first 01'U i, and the data of the second Ct'u2 is further transferred from the first memory 8.
We have explained the operation of transferring the data to the first CI', U1 via the first memory 8, and then processing the data. After transferring the data to the first c p U 1 via the memory 9 and processing the data, the data is transferred to the second c p U 1 via the second memory 9.
The operation when transferring to i'u2 is the same as described above, and these transfers are not limited to being carried out to China and Germany, but can also be carried out at the same time.

以上の通り、この実施例てc」、データの転:JX &
:l、タイマー割込みにより、一定間隔で行うので、そ
れぞれのCI) Uのデータ処理時間が異な−たとして
もデータ転送とCI) Uにおけるデータ処理がラップ
することはない。まだ、?A1のC11U i表組1の
メモリ8および第2のc p u 2と第2のメモリ9
がそれぞれ接続される場合と第1のCP 1,1 iと
第2のメモリ9および第2のCI’ Ll 2と第1の
メモリ8がそれぞれ接わ“1′:される場合とのIRJ
替えは、同期して行わhるのて、第1のCI) U i
が第1のメモリ8r(読書きしているとき、第2のCP
 [72が第1のメモリ8に同時に読書きしようとする
ようなことは起り得ないので、第1のCI) Ll i
と第2のCP U 2間のデータ転送を待時間なく行う
ことができると抱う効果がある。−また、メモリとして
RA Mを使用しているので必要なデータだけを取り込
むことができるので読みt(シきの時間が1rくなると
言う効果もある。
As mentioned above, in this embodiment, data transfer: JX &
:l, Since it is performed at regular intervals by a timer interrupt, even if the data processing time of each CI) U is different, the data transfer and the data processing in CI) U will not overlap. still,? A1 C11U i table 1 memory 8 and second CPU 2 and second memory 9
IRJ when the first CP 1, 1 i and the second memory 9 and the second CI' Ll 2 and the first memory 8 are connected respectively.
The change is performed synchronously so that the first CI)
is the first memory 8r (when reading/writing, the second CP
[Since it is impossible for 72 to try to read and write to the first memory 8 at the same time, the first CI) Ll i
This has the advantage that data transfer between the CPU 2 and the second CPU 2 can be performed without waiting time. - Also, since RAM is used as memory, only the necessary data can be imported, which has the effect of reducing the reading time to 1r.

他の実施例古して、第1のCI) [J 1−または第
2のCP tJ 2が、必要に応じて第2のc P U
 2または第1のc 1′u 1に割込みを掛け、相手
側の(:PUが割込みに応じた吉きに011述のような
切替&4−″i士を発生さ・せで切替回路を制御しデー
タ転送を行うようにすることもできる。そして、割込み
に応じることができれば、この場合も寸だ、第1のCI
)Ulが第1のメモリ8に読み出きしでいるとき、第2
のCI) LJ 2が第1のメモリ8に同時に読みt’
)きするようなことはないので、待時間なくデータ転送
が行うことができる。!:^う効果を治する。
In other embodiments, the first CI) [J 1- or the second CP tJ 2 may optionally be the second CI
2 or the first c 1'u 1, and when the other side's (:PU responds to the interrupt, it switches as described in 011 &4-"i and controls the switching circuit. It is also possible to perform data transfer.And if it can respond to interrupts, it is also possible to perform data transfer in this case.
) when Ul is being read into the first memory 8, the second
CI) LJ 2 reads simultaneously into the first memory 8 t'
), data can be transferred without waiting time. ! :^Cure the effect.

また、フリラグフロップ回路12の出力すなわち制御伯
弓発生回路13の出力が0のとき第1のCI’ tJ 
iと第1のメモリ8のバス接続および第2のCPU2.
L−第2のメモリ9のバス接続を完成するようにするこ
と、第1のスイッチ3〜第4のスイッチ6の切替り状態
をこれらのスイッチから読み取るようにすること、第1
のCI) LJ lおよび第2のCI) (J 2から
第1のメモリ8または第2のメモリ9への読みTハきの
完了をCP 17間で読み取るようにすることなども可
能であり、いずれの実施例の効果も前述実施例と同様で
ある。
Furthermore, when the output of the free-lag flop circuit 12, that is, the output of the control loop generation circuit 13, is 0, the first CI' tJ
i and the first memory 8 and the second CPU 2.i.
L-to complete the bus connection of the second memory 9; to read the switching states of the first switch 3 to fourth switch 6 from these switches;
It is also possible to read the completion of the reading from CI) LJ l and the second CI) (J 2 to the first memory 8 or the second memory 9 between the CP 17, etc.) The effects of either embodiment are similar to those of the previous embodiment.

また、他の実施例として、第3図に示すようにこのデー
タ転送回路を蝮数個便用し、2閘以にの(この実施例は
3個)マイコン間のデータ転送1111路として実施す
ることも[り能であり、その場合の効果も捷だ前述実施
例と同様である。
In addition, as another embodiment, as shown in FIG. 3, this data transfer circuit is used in several units and is implemented as 1111 paths for data transfer between microcomputers in two or more slots (three in this embodiment). This is also possible, and the effect in that case is similar to that of the previous embodiment.

以上、述べた通りこの発明の実施ti、前述実施例に限
るものではなく、その構成の均等物との置換えは司能で
あり、その場合も寸だこの発明の技術的範囲に属するも
のとする。
As stated above, the implementation of this invention is not limited to the above-mentioned embodiments, and replacement with equivalent components is possible, and even in that case, it falls within the technical scope of this invention. .

以上、詳述した通り、この発明によれば、二゛つのCP
U間のデータ転送を待時間を少なく行うことができると
言う!1ヶ有の効果が発揮さ11る。
As detailed above, according to the present invention, two CP
It is said that data transfer between U can be performed with less waiting time! The effect of having one is demonstrated11.

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

図面はこの発明の実施例を示すもの−Cあり、第1図は
ブロック図、第2図はソrJ−図、第3図Q」ブロック
図である。 第1図および第3図において、 1・・・第1のcpu、2・・・第2のC: P jJ
、 7・・リノ替回路、8・・第1のメモリ、9・・・
第2のメモリ、13・・・制御(1i号発生回路。 第2図において、14・・・第3のCPU115第3の
メモリ、16 ・第4のメモリ。 出願人  新明和工業株式会社 代理人  井 (11(ほか1名) 第 1 図 第 2図
The drawings are illustrative of embodiments of the present invention; FIG. 1 is a block diagram, FIG. 2 is a sorJ-diagram, and FIG. 3 is a block diagram. In FIG. 1 and FIG. 3, 1...first CPU, 2...second C: P jJ
, 7... Reno replacement circuit, 8... First memory, 9...
Second memory, 13...Control (No. 1i generation circuit. In FIG. 2, 14...Third CPU 115 Third memory, 16/Fourth memory. Applicant ShinMaywa Industries Co., Ltd. Agent I (11 (and 1 other person) Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)第1のCP Uおよび第2のCI) jJならひ
に前記CI) L、Iに対応する第1のメモリお」−ひ
第2のメモリを具(+iii L、制御信号を人力する
1ツノ替回路をη〜して前記第1のC11Uと前記第1
のメモリおよび前記第2のc p uと前記第2のメモ
リならひに前記第1のCI” tJと前記第2のメモリ
およ0・前記第2のCPUと前記第1のメモリを交ff
に接続するべくシメζ前記CI) jJ間のテーク転送
回路。 2 前記制御信号は、前記第1のメモリおよび前記第2
のメモリが出力するそれぞれのメモリの状態を示す信−
号を人力する制御信号発生回路から出力するべくしだ!
−侍許請求の範囲第1項記載の前記CPU間のデータ転
送回路。 (a 前記制tlj信号は、前記第1のCI) tJお
よび第2のCPUから出力するべくした特許請求の範囲
第1項記載のni[記CI’ jJ間のテーク転送回路
(1) If the first CPU and the second CI) jJ, the first memory corresponding to the above CI) L and I are connected to the second memory (+iii L, the control signal is manually input). 1 horn exchange circuit η~ and the first C11U and the first
If the memory and the second CPU are the second memory, the first CI" tJ and the second memory and the second memory and the second CPU and the first memory are interchanged.
Take transfer circuit between CI) j and JJ. 2. The control signal controls the first memory and the second memory.
A signal indicating the state of each memory output by each memory.
The signal should be output from the control signal generation circuit that is manually operated!
- The data transfer circuit between the CPUs according to claim 1. (a) The take transfer circuit between ni[CI' and jJ according to claim 1, wherein the control tlj signal is output from the first CI' tJ and the second CPU.
JP17295482A 1982-09-30 1982-09-30 Data transfer circuit between CPUs Pending JPS5962966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17295482A JPS5962966A (en) 1982-09-30 1982-09-30 Data transfer circuit between CPUs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17295482A JPS5962966A (en) 1982-09-30 1982-09-30 Data transfer circuit between CPUs

Publications (1)

Publication Number Publication Date
JPS5962966A true JPS5962966A (en) 1984-04-10

Family

ID=15951439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17295482A Pending JPS5962966A (en) 1982-09-30 1982-09-30 Data transfer circuit between CPUs

Country Status (1)

Country Link
JP (1) JPS5962966A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6162158A (en) * 1984-09-03 1986-03-31 Nf Kairo Sekkei Block:Kk Data delivering and receiving system
JPS63300351A (en) * 1987-05-30 1988-12-07 Fujitsu Ten Ltd Data transfer system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5394745A (en) * 1977-01-31 1978-08-19 Copal Co Ltd Method of processing data
JPS546743A (en) * 1977-06-17 1979-01-19 Nippon Telegr & Teleph Corp <Ntt> Inter-processor coupling systm
JPS5582366A (en) * 1978-12-18 1980-06-21 Fujitsu Ltd Multiprocessor system
JPS55108025A (en) * 1979-02-09 1980-08-19 Toshiba Corp Data transfer system between microcomputers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5394745A (en) * 1977-01-31 1978-08-19 Copal Co Ltd Method of processing data
JPS546743A (en) * 1977-06-17 1979-01-19 Nippon Telegr & Teleph Corp <Ntt> Inter-processor coupling systm
JPS5582366A (en) * 1978-12-18 1980-06-21 Fujitsu Ltd Multiprocessor system
JPS55108025A (en) * 1979-02-09 1980-08-19 Toshiba Corp Data transfer system between microcomputers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6162158A (en) * 1984-09-03 1986-03-31 Nf Kairo Sekkei Block:Kk Data delivering and receiving system
JPS63300351A (en) * 1987-05-30 1988-12-07 Fujitsu Ten Ltd Data transfer system

Similar Documents

Publication Publication Date Title
JP2886856B2 (en) Redundant bus connection method
JPS5837585B2 (en) Keisan Kisouchi
JPS5962966A (en) Data transfer circuit between CPUs
JPH023876A (en) Single-chip microcomputer
JPS6155708B2 (en)
JPH02500692A (en) Integration of computational elements in multiprocessor computers
JPH0358163A (en) Loosely coupled multiprocessor system
JPH0478902A (en) Bus controller
JPS61234447A (en) bus acquisition controller
JPH01263858A (en) Multi-processor system
JPS6041766B2 (en) microprogram controller
JPS6279557A (en) Direct memory accessing system
JPS62127962A (en) Microcomputer
JPH03233744A (en) Stand-by system route test system
JPS59223855A (en) Constitution and control system of data processing system
JPS62179044A (en) Multicomputer system
JPH01248264A (en) System bus contention control method
JPH01266651A (en) Semiconductor memory device
JPH06223046A (en) Bus tracing execution method
JPS63259756A (en) Data transfer method
JPH05233576A (en) Duplex system
JPH01112334A (en) Controller
JPS61133460A (en) Method for executing direct memory access in data transfer between memories
JPS59223876A (en) Computer network
JPH01125150A (en) Line communication control system