JPS60169967A - Information transfer system - Google Patents

Information transfer system

Info

Publication number
JPS60169967A
JPS60169967A JP2511484A JP2511484A JPS60169967A JP S60169967 A JPS60169967 A JP S60169967A JP 2511484 A JP2511484 A JP 2511484A JP 2511484 A JP2511484 A JP 2511484A JP S60169967 A JPS60169967 A JP S60169967A
Authority
JP
Japan
Prior art keywords
information
data
transfer
cpus
ram
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
JP2511484A
Other languages
Japanese (ja)
Inventor
Yushi Sano
佐野 雄史
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
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2511484A priority Critical patent/JPS60169967A/en
Publication of JPS60169967A publication Critical patent/JPS60169967A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Abstract

PURPOSE:To obtain mutual information in two CPUs or more rapidly similarly to the access of internal RAM by a simple constitution consisting of one bit for each I/O port and one bit for a synchronizing port. CONSTITUTION:At first, seven pulses are sent to respective CPUs as reader clocks from a CPUA31. During the period, each CPU sets up the information ''a'' of another RAM information area 47 in an output buffer area. If the number of data bits is eight bits, each data information is serially transffered to other CPUs synchronously with a reference clock. The 8-bit data of a CPUC33 are inputted to an input buffer area in a CPUA31. Then, time corresponding to seven clocks is used for internal processing time. During the period, the data inputted in the input buffer area 42 are transferred in an output buffer area 41 in parallel and also inputted to ''b'' in another RAM information area 47 in accordance with the timing signal of a timing generating circuit 44.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、民生用機器に使われているマルfCPυシス
テムの情報転送システム−関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an information transfer system for a multi-fCPυ system used in consumer equipment.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来、2個のCPU間で信号の転送を行う場合第1図(
二示すような構成をとっている。CPU(1)からci
’u(21へ信号を伝達する場合、通常割込入力を使用
する。この場合、CPU(1)からCP U 12)の
最初の信号のエツジの立下りで、CPU(2)はCPU
(1)からの信号を検知し割込動作に入り、汎用ポー)
 PRよりシリアル信号を読み取る。同様にして、cp
ty(2)からCP tJ(11も信号が伝達される。
Conventionally, when transferring signals between two CPUs, the process shown in Figure 1 (
The structure is as shown in Figure 2. CPU (1) to ci
When transmitting a signal to 'u (21), an interrupt input is normally used. In this case, at the falling edge of the first signal from CPU (1) to CPU 12), CPU (2)
(1) Detects the signal from the general port and enters interrupt operation.
Read the serial signal from PR. Similarly, cp
A signal is also transmitted from ty(2) to CP tJ(11).

1四〇PUが同時に割込動作をかけた場合は、方法とし
て2通りの処理方法がある。■ 両方共割込みを解除し
、あるディレィ時間を経た後(ディレィ時間はCPUI
とCPU2で異なる時間に設定する。)再び割込を要求
する方法と、■ CPU1とCPU2で優先順位を設定
しておき、優先順位の低い方のCPUが割込動作を解除
し、他のCPUの読み込動作に入る方法がある。
If the 140 PUs issue interrupt operations at the same time, there are two processing methods. ■ After both interrupts are released and a certain delay time has elapsed (the delay time is determined by the CPU
and CPU2 are set to different times. ) There is a method of requesting an interrupt again, and a method of setting priorities for CPU1 and CPU2, and the CPU with the lower priority cancels the interrupt operation and starts the read operation of the other CPU. .

上記の例は、2ケのCPUの場合であるが、多マルチシ
ステムになった場合も同様の構成例となる。しかし、C
PUが増えれば増える程信号のかち合う度合が高くなる
と共に、送信のCPUがどれであるのかを判別する為の
処理として請識ボートを設けるか、送信シリアルコード
のヘッダ一部に判別コードを設けるか又はデータ自身に
コードの割合てを決めておくかの処理が必要であり、シ
ステムが複雑C:なると共C二速受信に費やされる時間
の増大を招く。第2図に共通パスを設け、パラレルに送
受信を行なう様にした従来の情報転送システムを示す。
The above example is a case of two CPUs, but a similar configuration example can be applied to a multi-system. However, C
As the number of PUs increases, the degree of signal interaction increases, and it is important to consider whether to provide a recognition port as a process for determining which CPU is transmitting, or to provide a determination code as part of the header of the transmitting serial code. Alternatively, it is necessary to determine the code ratio for the data itself, which makes the system complex and increases the amount of time spent on C two-speed reception. FIG. 2 shows a conventional information transfer system in which a common path is provided and transmission and reception are performed in parallel.

共通パスはトライステートボートでなくても汎用の入出
力ボートを利用することもできる。この場合は、例えば
11・・・1”を無視コードとし常に1ヶ以上出力ボー
ト指定がされない様に割込動作プログラムの最初に割込
タイミングコントロールプログラムを入れる必要がある
The common path does not have to be a tri-state boat; it is also possible to use a general-purpose input/output boat. In this case, it is necessary to insert an interrupt timing control program at the beginning of the interrupt operation program so that, for example, 11...1'' is ignored and one or more output ports are not specified at any time.

共通パスをワイヤードオアできること、パラレル入出力
であるので送受の時間が矩かくできるメリットがあるが
、多マルチにすればする程信号のかち合う変容が増し、
送受信の時間が増大すると共に、システムの複雑さを招
く。
It has the advantage of being able to wire or OR the common path, and since it is parallel input/output, the time for transmission and reception can be shortened, but the more multiples are used, the more changes in signal exchange will occur.
This increases the time required for transmission and reception and increases the complexity of the system.

〔発明の目的〕[Purpose of the invention]

本発明は、上述した点にかんがみハード的C二人出力ボ
ート各lゼットと同期用ボート1ビツトの簡易な構成に
より、2ヶ以上のCPUの相互情報を内部RAMをアク
セスするのと同様にすばやく得ることができるマ)Vテ
CPUにおCする情報転送システムを提供するものであ
る。
In view of the above-mentioned points, the present invention utilizes a simple configuration of two hardware C output ports and one bit of a synchronization boat, so that mutual information of two or more CPUs can be quickly accessed in the same way as accessing internal RAM. The present invention provides an information transfer system that can be used to transfer data to a VTE CPU.

〔発明の概要〕[Summary of the invention]

本発明は情報の転送を行う複数のCPUをそれぞれに相
互転送用RAM領域と、1ビツトのシリアル入力1ビツ
トのシリアル出力及び入出力をプログラムで指定可能な
1ビツトの同期用の基本クロック入出力ボートを設け、
他のCPUの情報を内部のRAMをアクセスするのと同
様に得ることができるようにしたものである。
The present invention provides a mutual transfer RAM area for each of a plurality of CPUs that transfer information, a 1-bit serial input, a 1-bit serial output, and a 1-bit basic clock input/output for synchronization that can be specified by a program. set up a boat,
This allows information on other CPUs to be obtained in the same way as accessing internal RAM.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図示の実施例について説明する。 Hereinafter, the present invention will be described with reference to illustrated embodiments.

第3図をよ3つのCPUを使用した本発明の一実施例に
よる情報転送システムの外部接続図である。
FIG. 4 is an external connection diagram of an information transfer system according to an embodiment of the present invention using three CPUs as shown in FIG. 3;

同図において、cpUA13Dがホス)CPUであり、
CPUB(:Q、CPUC關がスレーブCPUに対応す
る。SAI 、813I 、8CIが各CPUのシリア
ル入力であり、8A0.8 Bo 、8 Coがシリア
ル出力である。CLK端子は入出力ボートであるが、プ
ログラムによりイニシャライズ時にCPU人G31)が
出力ボートとしてCPUBC3つ、CPUC(3段が入
力ボートに設定される。
In the same figure, cpUA13D is a (hos) CPU,
CPUB (:Q, CPUC connection corresponds to slave CPU. SAI, 813I, 8CI are serial inputs of each CPU, 8A0.8 Bo, 8 Co are serial outputs. CLK terminal is an input/output port. When the program is initialized, the CPU G31) is set to three CPUBCs as output ports, and the CPUC (three stages are set as input ports).

CPUの数が増えた場合も同様な構成となることは言う
までもない。次に第5図を参照してCPUの内部構成の
説明を行なう。
Needless to say, the same configuration will be used when the number of CPUs increases. Next, the internal configuration of the CPU will be explained with reference to FIG.

第5図において41は出力バッファエリア、42は入力
バッファエリア、43は基本転送りロックデコード部、
44はタイミング発生回路、45は(眺―青報エリアア
ドレス用バッファ、46はアドレス切替回路、47は他
RAM情報エリア、48はデータバス切替回路、49は
内部データバス、50は内部アドレスバスである。
In FIG. 5, 41 is an output buffer area, 42 is an input buffer area, 43 is a basic transfer lock decoding unit,
44 is a timing generation circuit, 45 is a (view-report area address buffer, 46 is an address switching circuit, 47 is another RAM information area, 48 is a data bus switching circuit, 49 is an internal data bus, and 50 is an internal address bus. be.

次に、内部動作について述べる。まず最初にCPUAC
(J)よりリーダークロックとして、7パルスが各CP
Uに送られる。その間C二各CPUは他RA M情報エ
リアu1の”allの情報を出力バッファエリアにセッ
トする。次にデータビット数を8ピツトとすると基本ク
ロックに同期して各データ情報がシリアルに雇のCPU
に転送される。第4図(alに示す様にCP U AU
(I)l二は入力バッファエリアにCPUC(lのデー
タ8ピツトが入力される。
Next, the internal operation will be described. First of all, CPUAC
From (J), 7 pulses are used as a leader clock for each CP.
Sent to U. During this time, each CPU in C2 sets the "all" information in the other RAM information area u1 to the output buffer area.Next, if the number of data bits is 8 bits, each data information is serially sent to the CPU in synchronization with the basic clock.
will be forwarded to. As shown in Figure 4 (a.
(I) 12 is inputted into the input buffer area by CPUC (8 pits of data from 1).

次ニ、7クロツク分、内部処理時間として質やされる。The next 7 clocks are saved as internal processing time.

その間に入力バッファエリア(4Bに入力されたデータ
はデータバス切替回路(481を介して出力バンファエ
リア卿に並列転送されると共(二、内部データバス切替
回路(48を介してタイミング発注回路(44Iのタイ
ミング1c号に従って他RAM情報エリア(4ηのII
 bIIに入力される。
In the meantime, the data input to the input buffer area (4B) is transferred in parallel to the output buffer area via the data bus switching circuit (481) and the timing ordering circuit via the internal data bus switching circuit (48). (Other RAM information area according to timing 1c of 44I (II of 4η)
bII.

以後、上記と同様にして、次のシリアルデータの8ピツ
トが基本クロックに同期して転送される。
Thereafter, in the same manner as above, the next 8 pits of serial data are transferred in synchronization with the basic clock.

1?イクル、2fイクルした時の各CPUの他RAM情
報エリア+471の内容を第4図(a) 、 (blに
示す。
1? The contents of each CPU's RAM information area +471 after 2f cycles are shown in FIGS. 4(a) and 4(bl).

この場合は3CPUである為、2サイクルした後にアド
レスバッファの値はイニシャライズされ、以後、同様の
チイクルをくり返す。以上、本システム構成とすること
により、容易に常に最新の他のCPU情報を他RAM情
報エリア(47)に得ることができる。
In this case, since there are 3 CPUs, the value of the address buffer is initialized after 2 cycles, and the same cycle is repeated thereafter. As described above, with this system configuration, the latest other CPU information can always be easily obtained in the other RAM information area (47).

本システムは内部アドレスバスと内部データバスを共有
している為、タイミング発生回路4により、パスコント
ロールが行なわれており、他RAM情報エリア7をアク
セスしている時は通常のRAMアクセスにウェイトtか
け、パスデータの重なりを防いでいる。本システムの拡
張として第6図(二示すごとく、CPUのシステム基本
クロックと位相を180°ずらしたクロックを転送用基
本クロックとすることによりRAMウェイトなしく二、
(化RAM情報エリアと出力バッファlと入力パツファ
2との転送が可能であることは言うまでもない。
Since this system shares an internal address bus and an internal data bus, path control is performed by the timing generation circuit 4, and when another RAM information area 7 is being accessed, a wait time is applied to normal RAM access. This prevents overlapping of path data. As an extension of this system, as shown in Figure 6 (2), by using a clock whose phase is shifted by 180 degrees from the CPU's system basic clock as the transfer basic clock, there is no RAM weight.
(It goes without saying that transfer between the RAM information area, the output buffer 1, and the input buffer 2 is possible.

また、他RAM情報エリアの薔込アドレスに各CPUに
対してアドレスポインタにイニシャルオフセットをもた
せる事により各CPU間で転送データを共通のアドレス
値と設定することもできる。
Further, by giving an initial offset to the address pointer for each CPU in the address of the other RAM information area, it is possible to set the transfer data to a common address value among the CPUs.

又転送データフォーマットにアドレスデータな追加する
ことにより転送順序をシーケンシャルでなく、ランダム
に入出力でき、他RA M =i1!7報エリアを共通
RAMエリアとしても使用可能であり、又アドレスポイ
ンタを任意に設定できることにより、転送しにいデータ
ン早く送ることも可能である。
Also, by adding address data to the transfer data format, the transfer order can be input and output at random instead of sequentially, and the other RAM area can also be used as a common RAM area, and the address pointer can be set arbitrarily. It is also possible to send data faster than before.

転送1言号において、データ信号は基本クロックで同期
がとられているのであるが、クロックがずれるとデータ
誤判別となる。その為、同J41J aha整用のル」
曲が必要である。転送波形を第7図、第8図にンJ<丁
。Y区り川が同期調整用の区間であり、データ1.(号
が0”、同期信号が”工”の区間が一定時間以上fJ【
いた時をデータ転送のスタートと検知する。
In the transfer 1 word, the data signals are synchronized with the basic clock, but if the clock deviates, data will be erroneously determined. Therefore, the same J41J aha maintenance rule.
I need a song. The transfer waveforms are shown in Figures 7 and 8. The Y section river is the section for synchronization adjustment, and data 1. (The section where the signal is 0" and the synchronization signal is "Engine" is longer than a certain period fJ [
The time when the data transfer starts is detected as the start of data transfer.

基本クロック4 MHzとすると、1周期’1’=25
0nsec であり、3つのCPUを使用するとし°C
1アドレス12ピット、データ8ビツトとすると、WA
工T、Iυ」間2μsecとして一巡のデータ転送に1
O15μsec X 3 =31.5μsecかかるこ
とになる。
If the basic clock is 4 MHz, one period '1' = 25
0 nsec and using 3 CPUs °C
Assuming 1 address is 12 bits and data is 8 bits, WA
1 for one round of data transfer with 2μsec between
It will take 015 μsec x 3 = 31.5 μsec.

通−6゛のコントローラとしては数10m5ecオーダ
であり、データを転送ミスした時でも31.5μsec
後に訂正される為特に問題はない。扱う目的によっては
基本クロックの見直しが必要である。誤動作pIj止と
しては、多点読みを行ない、一致していれば正規のデー
タとしてみなすか又は転送用クロックをもつとあげて、
ミス判別の影響による時間を少少なくすることも勿論可
能である。
As a 6-inch controller, it is on the order of several 10m5ec, and even when a data transfer error occurs, it takes 31.5μsec.
There is no particular problem as it will be corrected later. Depending on the purpose of handling, it is necessary to review the basic clock. To prevent malfunctions, perform multi-point reading, and if they match, consider it as normal data, or use a transfer clock.
Of course, it is also possible to reduce the time taken by the influence of misjudgment.

転送波形のアドレス部をCPU自体を制御するコントロ
ールコマンドとさせることも容易に可能である。
It is also easily possible to use the address part of the transfer waveform as a control command to control the CPU itself.

〔発明の効果〕〔Effect of the invention〕

以上述べに様ζ二、本発明によれば、ハード的に(j易
な構成で多マルチのCPU間の情報転送をプログラムの
負担なく、7m常のRAMアクセスと同様にして得るこ
とのできるマルチCPU間の情報転送システムを提供す
ることができる。
In view of the above, according to the present invention, information transfer between multiple CPUs can be achieved in a hardware-like manner (with an easy configuration, without any burden on the program, in the same way as regular RAM access). An information transfer system between CPUs can be provided.

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

第1図および第2丙はそれぞれ従来の情報転送システム
を説明するための図、第3図は本発明の一実施例による
システムの外部接続図、第4図は7111 RA M情
報エリアの内容を示す図、第5因はCPU内部の機能ブ
ロック図、第6図)まCPUのシステムクロックと転送
用基本クロックの位相関係図、第7図は転送同期クロッ
クとデータ波形図。 第8図はアドレスデータを追加した場合の転送同期クロ
ックとデータ波形図である。 31.32.33・・・CPU 41・・・出力バッフ
ァエリア42・・・入力パッファエリア 43・・・転送りロックデコード部 44・・・タイミング発生回路 45・・・他RAM情報エリアアドレスバッファ46・
・・アドレスバスuJ 4−J回路47・・・f也RA
M情報エリア 48・・・データバス切片回路 代理人 弁理士 則 近 憲 佑 (ほか1名) 第1図 第2図 第8図 第4図 Cp7A (イ) 咋 第5図 第6図 ヤ属卿Itt0ck 第フ図
Figures 1 and 2 C are diagrams for explaining conventional information transfer systems, Figure 3 is an external connection diagram of a system according to an embodiment of the present invention, and Figure 4 shows the contents of the 7111 RAM information area. The fifth factor is a functional block diagram inside the CPU, FIG. 6) is a phase relationship diagram between the CPU system clock and the transfer basic clock, and FIG. 7 is a transfer synchronization clock and data waveform diagram. FIG. 8 is a transfer synchronization clock and data waveform diagram when address data is added. 31.32.33...CPU 41...Output buffer area 42...Input buffer area 43...Transfer lock decoding section 44...Timing generation circuit 45...Other RAM information area address buffer 46・
...Address bus uJ 4-J circuit 47...fyaRA
M information area 48...Data bus disconnection circuit agent Patent attorney Nori Chika Kensuke (and 1 other person) Figure 1 Figure 2 Figure 8 Figure 4 Cp7A (A) Kui Figure 5 Figure 6 Ya vassal Lord Itt0ck Fig.

Claims (2)

【特許請求の範囲】[Claims] (1) 情報の転送を行う複数のCPUそれぞれに相互
転送用RAM領域と、1ビツトのシリアル入力、1ビツ
トのシリアル出力及び入出力をプログラムで指定可能な
1ビツトの同期用の基本クロック入出力ホートラ設け、
他CPUの情報χ内部のRAMyアクセスするのと同様
に得ることのできるようにしたことを特徴とするマルチ
CPUにおける情報転送システム。
(1) Each of the multiple CPUs that transfer information has a RAM area for mutual transfer, 1-bit serial input, 1-bit serial output, and 1-bit basic clock input/output for synchronization that can be specified by a program. Set up a hotra,
An information transfer system for multiple CPUs, characterized in that information of other CPUs can be obtained in the same way as accessing internal RAMy.
(2) シリアル転送信号にアドレス情報又はコマンド
情報とデータ情報をペアにして送ることI:よって相互
転送用RAMのアドレス情報を変えることにより、すば
や<RAM情報を転送することができるようにしたこと
を特徴とする特許請求の範囲第1項記載の情報転送シス
テム。
(2) Sending address information or command information and data information as a pair in a serial transfer signal I: Therefore, by changing the address information of mutual transfer RAM, RAM information can be transferred quickly. An information transfer system according to claim 1, characterized in that:
JP2511484A 1984-02-15 1984-02-15 Information transfer system Pending JPS60169967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2511484A JPS60169967A (en) 1984-02-15 1984-02-15 Information transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2511484A JPS60169967A (en) 1984-02-15 1984-02-15 Information transfer system

Publications (1)

Publication Number Publication Date
JPS60169967A true JPS60169967A (en) 1985-09-03

Family

ID=12156898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2511484A Pending JPS60169967A (en) 1984-02-15 1984-02-15 Information transfer system

Country Status (1)

Country Link
JP (1) JPS60169967A (en)

Similar Documents

Publication Publication Date Title
US4390969A (en) Asynchronous data transmission system with state variable memory and handshaking protocol circuits
US4373183A (en) Bus interface units sharing a common bus using distributed control for allocation of the bus
US4999769A (en) System with plural clocks for bidirectional information exchange between DMA controller and I/O devices via DMA bus
US4965793A (en) Method and apparatus for interfacing a system control unit for a multi-processor
US4551721A (en) Method for initializing a token-passing local-area network
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
EP0476990A2 (en) Dynamic bus arbitration
JPH01147647A (en) Data processor
JPH01200459A (en) Memory interface mechanism
US5128666A (en) Protocol and apparatus for a control link between a control unit and several devices
US20060047754A1 (en) Mailbox interface between processors
JPH02253464A (en) Programmable data transfer timing
US5377334A (en) Fast asynchronous resource master-slave combination
WO1981002798A1 (en) Computer system and interface therefor
JPS60169967A (en) Information transfer system
JPS59178667A (en) Memory device
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
JPH06149749A (en) Data transfer system among plural processors
CA1309503C (en) Selective receiver for each processor in a multiple processor system
JPS63228855A (en) Communication controller
JPS6342547A (en) Line control unit
JPH077954B2 (en) Control device
JP2000187641A (en) Information transmitting circuit
JPH04310161A (en) Data readout circuit
JPH02211571A (en) Information processor