JP2741514B2 - Multi CPU system - Google Patents

Multi CPU system

Info

Publication number
JP2741514B2
JP2741514B2 JP62195792A JP19579287A JP2741514B2 JP 2741514 B2 JP2741514 B2 JP 2741514B2 JP 62195792 A JP62195792 A JP 62195792A JP 19579287 A JP19579287 A JP 19579287A JP 2741514 B2 JP2741514 B2 JP 2741514B2
Authority
JP
Japan
Prior art keywords
cpu
signal
address
bus
data
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 - Fee Related
Application number
JP62195792A
Other languages
Japanese (ja)
Other versions
JPS6438862A (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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP62195792A priority Critical patent/JP2741514B2/en
Publication of JPS6438862A publication Critical patent/JPS6438862A/en
Application granted granted Critical
Publication of JP2741514B2 publication Critical patent/JP2741514B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、一方のCPU側から他方のCPU側へイニシャル
時のプログラムデータの転送を行うマルチCPUシステム
に関するものである。 (従来の技術) 一般に、マルチCPUでシステムを構成する場合、それ
ぞれのCPUに必ずシステムプログラム用メモリが必要で
ある。従って、マルチCPUの場合、そのシステムプログ
ラムのソフトウェア管理が非常に複雑かつ煩瑣なものと
なる。その対策の一つとして、そのシステムプログラム
を一つのメモリに集め、イニシャル時に、プログラムを
持たないシステムのメモリにプログラムを転送する方式
が普及してきた。 ここで、従来のマルチCPUシステムの基本的な構成を
表わすブロック図を第2図に示す。これは、システムイ
ニシャル時に第1のCPU1・1のシステムから第2のCPU2
・7のシステムへプログラム転送するマルチCPUシステ
ムである。 2のROM(第1のメモリ)と3のRAMはCPU1・1に属
し、4のRAMと5のRAM(第2のメモリ)はCPU2・7に属
する。 9はCPU1・1のポートからのデータとアドレスバス11
からの2つの制御信号により▲▼(書込)信号9a,
バッファイネーブル信号(G)9b,リセット信号(RESE
T)9eを出力するデコーダであり、10は8ビットのデー
タバス、11は8ビットのアドレスバスであり、6はデコ
ーダ9からのバッファイネーブル信号9bによりバスの状
態をコントロールするバッファであり、12はD形のフリ
ップ・フロップで、CPU1・1からの▲▼信号でデー
タをラッチするようにしてある。 ところで、RAM5はイニシャル時の書き込みを可能とす
るためにRAMとした訳で、実際にはCPU2・7のプログラ
ムが格納されているROMと言える。 ROM2にはCPU1・1およびCPU2・7のプログラムが格納
されている。イニシャル時、CPU1・1はROM2内のCPU2・
7のプログラムをリードしレジスタに格納し、そのプロ
グラムを転送すべきRAM5のアドレスデータをD形フリッ
プフロップ12に出力し、▲▼信号でラッチする。更
に、CPU1.1はアドレスに対応するデータをレジスタに格
納してD形フリップフロップ12に出力し、▲▼信号
でそのデータもラッチする。これにより、転送すべきデ
ータとそのアドレスをD形フリップフロップ12にセット
する。 また、CPU2・7が16ビットのアドレスバス,データバ
スを持つ場合、各操作を上位データ,下位データに別
け、同様な操作を必要とする。 第2図では、CPU2・7がアドレス16ビット、データ8
ビットの例をとっている。D形フリップフロップ12にデ
ータがセットされた後、CPU1.1より出力されるアドレス
とリセットによりデコーダ9でデコードされたバッファ
イネーブル信号9bにより、バッファ6がイネーブルされ
る。そして、CPU2・7側のデータバス10上にフリッフフ
ロップ12でラッチされていたデータが出力され、▲
▼信号としての書込信号9aがデコーダ9でデコードされ
ることでRAM5への書き込み、つまりプログラムの転送が
可能となる。 プログラムの転送中、CPU2・7は勿論リセットされて
おり、全てのプログラムの転送後にそのリセットを解除
し、CPU1・1,CPU2・7のそれぞれの動作が行なわれる。 (発明が解決しようとする課題) しかし、最近のソフト量の増加を考えるならば、CPU2
・7のプログラムの全てに対し8ビットデータを3回セ
ットして、RAM5に書き込みするという手順の繰り返しで
は、時間的なロスは大きい。また、D形フリップフロッ
プ12,バスバッファ6を各バス分だけ設けることは、ハ
ード量の増加を招き、実質的に使用される時間はイニシ
ャル時であることから、CPU間のデータ交換を中心とし
た場合さらに簡略化が考えられる。このような従来のマ
ルチCPUシステムは、プログラム転送時間を考慮した場
合かなり効率の悪いシステムと言える。なお、プログラ
ム転送効率の優れた方式として、DMA(直接メモリ方
式)があるが、これはDMAコントローラを必要とするた
め、システム構成が複雑になるという欠点がある。 本発明は上記事情に鑑みてなされたものであり、イニ
シャル時に行なわれる、一方のCPU側から他方のCPU側へ
のプログラム転送に要する時間を、簡単なハードウェア
構成により短縮することが可能なマルチCPUシステムを
提供することを目的とする。 (課題を解決するための手段) 本発明は上記課題を解決するための手段として、互い
に独立してそれぞれのプログラム内容を実行可能な第1,
第2のCPUを有し、イニシャル時には第1のCPU側の第1
のメモリに記憶されている第2のCPU側のプログラムデ
ータを、第2のCPU側の第2のメモリへ転送するマルチC
PUシステムにおいて、前記第1のCPUから出力された制
御信号に基いてデコード信号を出力するデコーダと、前
記第1のCPU及び第2のCPU間のアドレスバス上に設けら
れ、前記デコーダから送られてくるゲート信号としての
デコード信号により、イニシャル時に、第1のCPU側か
ら第2のCPU側へ向う、前記第1のCPUが出力する前記プ
ログラムデータの読込アドレス信号のみの通過を許容す
るバスバッファと、前記第1のCPU及び第2のCPU間のデ
ータバス上に設けられ、前記デコーダから送られてくる
ゲート信号としてのデコード信号により、イニシャル時
に、第1のCPU側から第2のCPU側へ向う、前記第1のCP
Uが読み込んだ前記プログラムデータ信号のみの通過を
許容するバストランシーバと、を備え、前記デコーダ
は、イニシャル時に、前記第1のCPUが前記第1のメモ
リに記憶されているプログラムデータを読み込んだ時
に、前記バスバッファ及び前記バストランシーバに対し
て前記ゲート信号としてのデコード信号を出力し、さら
に、前記第2のメモリに対して書込信号としてのデコー
ド信号を出力するものである、ことを特徴とする。 (作 用) 上記構成において、第1のCPUは、イニシャル時に、
第1のメモリに記憶されている第2のCPU側のプログラ
ムデータ及びそのアドレスの読み込みを行うが、これと
同時に、デコーダは、バスバッファ及びバストランシー
バにゲート信号としてのデコード信号を出力する。 この時点での状態は、第1のメモリから第2のメモリ
へのデータ転送の準備が完了した状態と言える。そし
て、デコーダが書込信号としてのデコード信号を第2の
メモリに対して出力すると、アドレスからの信号により
特定された第2のメモリのアドレスに、データバスを通
って送られてきたプログラムデータが書き込まれる。 この場合、第1のCPUが第1のメモリに対して読み込
みを行ってから、第2のメモリに対して書き込みが行わ
れるまでの動作は、実質的にはほぼ同時のタイミングで
行われると考えてよい。従って、第1のCPU側から第2
のCPU側へデータ転送を行う場合のトータルの転送時間
を大きく短縮することができる。 (実施例) 第1図は、本発明の一実施例におけるシステムの回路
構成を表わすブロック図である。すべての図面におい
て、同一符号は同一もしくは相当部分を示す。 第1図において、アドレスバス11上には、バスバッフ
ァIC6(スリーステートバッファ)が設けられ、データ
バス10上にはバストランシーバ8(Dフリップフロップ
内蔵型双方向性バスバッファ)が設けられている。そし
て、CPU1・1はROM2から転送すべきプログラムを読み込
むと同時に制御信号1a,1b,1cをデコーダ9に出力し、デ
コーダ9は、これらの制御信号の入力に基いてデコード
信号9a〜9eを、図示したように、バスバッファIC6,バス
トランシーバ8,RAM5,CPU2・7へ出力するようになって
いる。このような構成により、CPU1・1によるROM2のプ
ログラム内容の読み込みと同時に、このプログラム内容
についてのRAM5に対する書き込みを行うことができる。 すなわち、デコーダ9は、CPU1・1からの制御信号1
a,1b,1cとアドレスバス11からの信号を用い、アドレス
バス11のバッファイネーブル信号つまり、バスバッファ
IC6のイネーブル信号(G)9bと、データバス10を制御
するバストランシーバ(HC652)のバッファイネーブル
・ラッチ信号(G)9cと、CPU2・7のリセット(RESE
T)信号9aと、CPU2・7のRAM5への書込(▲▼)信
号9dと、CPU2・7のRAM5の上位アドレス信号9aとをデコ
ードする。 イニシャル時に、CPU1・1はCPU2・7にリセットをか
け、バスバッファ6をA→B方向すなわちCPU1・1側か
らCPU2・7側へ向う方向にバッファイネーブルし、ROM2
内の転送すべきプログラムをリード(空読)する。 このとき、CPU1・1が現在リードしているデータの下
位アドレスはバスバッファ6を通してCPU2・7側のアド
レスバス11にも出力される。そして、プログラムの転送
時においては、CPU2・7側にデコーダ9から上位アドレ
ス9aが出力され、それと合成されたアドレスがRAM5にと
っての実アドレスとなる。さらに、バストランシーバ8
はA→B方向にバッファイネーブルされ、デコーダ9よ
りバッファイネーブル・ラッチ信号9c(G)が与えられ
るので、そのデータはCPU2・7側のデータバス10へも出
力される。 ここで、RAM5に▲▼信号9dを出力するようCPU1.1
より信号を出力しデコードすれば、RAM5の書き込むべき
アドレスに、CPU1・1の読み込みしたデータが書き込み
される。 この手順を繰り返すことにより、CPU1の読んだデータ
すなわちプログラムは、デコードしたアドレスに次々と
書き込まれることとなる。 プログラムの転送後は、アドレスバス11のバスバッフ
ァ6のイネーブルをやめ、バストランシーバ8をバスレ
ジスタ(双方向のD形フリップフロップ)として使用で
きるので、CPU2・7へのリセットを解除すれば、各CPU
つまりCPU1・1およびCPU2・7の各々動作となり、CPU
間のデータのやり取りが可能である。 上記構成では、アドレスデータを上位アドレスと下位
アドレスとに分け、上位アドレスについてはデコード信
号を利用する構成としているので、アドレスバス11のバ
ス数を従来よりも削減することができる。つまり、転送
されるべきプログラムデータはROM2内の特定メモリ領域
に格納されているのが通常であるが、上位アドレスを示
すデコード信号により、このメモリ領域を特定するよう
にしておけば、下位アドレス信号をアドレスバス11を通
してRAM5に転送すればよい。 そして、デコード信号によってイネーブル状態にする
ことが可能なバスバッファIC6及びバストランシーバ8
を設けているので、CPU1・1がROM2から読込みを行うと
同時に、デコーダ9からのデコード信号によって、これ
らがイネーブル状態となり、RAM5には、アドレスバス11
及びデータバス10からのデータが書き込まれることにな
る。したがって、転送時間を大幅に短縮することができ
る。 例えば、従来の場合(第2図参照)、まず、CPU1がRO
M2よりRAM5の上位及び下位アドレスに対応するデータを
読み、これを自己のレジスタに格納した後、Dフリップ
フロップ12に▲▼信号でラッチさせる。さらに、CP
U1・1はアドレスに対応するデータをレジスタに格納
し、RAM5の下位アドレス(1バイト)、及び上位アドレ
スに対応したデータ(1バイト)をそれぞれDフリップ
フロップ12にラッチさせる。 アドレス(2バイト)及びデータ(1バイト)が全て
ラッチされた状態で、CPU1・1の制御信号とアドレスに
よってデコードされたイネーブル信号9bにより、バスバ
ッファ6をイネーブルすることで3バイトのデータはCP
U2・7側の各バスに出力される。 そして、CPU1・1の制御信号とアドレスでデコードさ
れた▲▼信号9aが出力されることでRAM5に先のデー
タが書き込まれる。ここでは、Dフリップフロップ12の
データのセットを3回(3バイト分)と、別のタイミン
グにてRAM5への書き込み1回が行われて1バイトデータ
の転送が終了する。 これに対し、本願発明によれば(第1図参照)、CPU1
・1がアドレスを出力し、ROM2に内蔵されるRAM5の内容
を読み込むと、CPU1・1の制御信号と上記アドレスによ
ってデコードされた制御信号9bによって上記アドレスが
下位アドレス(1バイト)としてCPU2側バスに出力さ
れ、同時に、上位アドレス9aがCPU2・7側の上位アドレ
スバスに出力される。同様に、ゲートラッチ信号9cをバ
ストランシーバ8に出力した結果、ROM2から先ず出力さ
れたデータ(1バイト)がラッチされる。このデータ
は、バストランシーバ8がA→B方向に出力セットされ
ているので、CPU2・7側のデータバスに出力される。そ
して、CPU1・1の制御信号とアドレスによってデコード
された▲▼信号9dによりRAM5に書き込まれる。 これにより、本発明では、CPU1・1の1回のデータ読
み込みにより、ほぼ同時のタイミングでRAM5への1バイ
トデータの転送が終了するため、1バイトデータの転送
では、従来と比較して約3分の1の時間で完了する。仮
に、本発明で2バイトデータを転送したとしても、従来
の1バイトデータ転送に比べて約2分の1程度に短縮す
ることができる。 〔発明の効果〕 以上のように、本発明によれば、アドレス上及びデー
タバス上にバスバッファ及びバストランシーバを設ける
と共に、これらをデコーダからのゲート信号により制御
するようにし、第1のCPUが第1のメモリに対して読み
込みを行うのとほぼ同時のタイミングで、デコーダから
の書込信号によって第2のメモリに対してプログラムデ
ータが書き込まれる構成としたので、簡単なハードウェ
ア構成でありながら、一方のCPU側から他方のCPU側への
プログラム転送に要する時間を大幅に短縮することが可
能となる。
Description: TECHNICAL FIELD The present invention relates to a multi-CPU system that transfers initial program data from one CPU to another CPU. (Prior Art) Generally, when configuring a system with multiple CPUs, each CPU always requires a system program memory. Therefore, in the case of a multi-CPU, software management of the system program becomes very complicated and complicated. As one of the countermeasures, a method of collecting the system program in one memory and transferring the program to a memory of a system having no program at the time of initializing has been widely used. FIG. 2 is a block diagram showing the basic configuration of a conventional multi-CPU system. This means that the first CPU 1.1 and the second CPU 2
・ It is a multi-CPU system that transfers programs to the system of 7. The ROM 2 (first memory) and RAM 3 belong to the CPU 1.1, and the RAM 4 and RAM 5 (second memory) belong to the CPU 2.7. Reference numeral 9 denotes data from the CPU 1.1 port and the address bus 11
▲ (write) signal 9a,
Buffer enable signal (G) 9b, reset signal (RESE)
T) a decoder that outputs 9e, 10 is an 8-bit data bus, 11 is an 8-bit address bus, 6 is a buffer that controls the bus state by a buffer enable signal 9b from the decoder 9, and 12 is a buffer. Is a D-type flip-flop, which latches data with a signal from the CPU 1.1. By the way, the RAM 5 is a RAM in order to enable writing at the time of initializing, and it can be said that the RAM 5 is actually a ROM in which programs of the CPUs 2 and 7 are stored. ROM2 stores programs for CPU1.1 and CPU2.7. At the time of initialization, CPU 1.1
7 is read and stored in a register, the address data of the RAM 5 to which the program is to be transferred is output to the D-type flip-flop 12, and latched by the signal ▲ ▼. Further, the CPU 1.1 stores the data corresponding to the address in the register and outputs the data to the D-type flip-flop 12, and also latches the data by the signal ▲. As a result, the data to be transferred and its address are set in the D-type flip-flop 12. When the CPUs 2.7 have a 16-bit address bus and a data bus, similar operations are required by separating each operation into upper data and lower data. In FIG. 2, CPUs 2 and 7 have 16 bits of address and 8 data.
Takes a bit example. After data is set in the D-type flip-flop 12, the buffer 6 is enabled by the buffer enable signal 9b decoded by the decoder 9 by the address output from the CPU 1.1 and the reset. Then, the data latched by the flip-flop 12 is output onto the data bus 10 of the CPUs 2.7 and ▲.
The write signal 9a as a signal is decoded by the decoder 9, so that writing to the RAM 5, that is, transfer of a program becomes possible. During the transfer of the program, the CPUs 2 and 7 are of course reset. After the transfer of all the programs, the reset is released, and the operations of the CPUs 1, 1 and 2 are performed. (Problems to be solved by the invention) However, considering the recent increase in the amount of software, CPU2
-Repeating the procedure of setting 8-bit data three times for all of the seven programs and writing the data to the RAM 5 results in a large time loss. Also, providing the D-type flip-flop 12 and the bus buffer 6 for each bus increases the amount of hardware, and since the actual use time is the initial time, data exchange between CPUs is mainly performed. In this case, further simplification can be considered. Such a conventional multi-CPU system can be said to be a very inefficient system in consideration of the program transfer time. As a method having excellent program transfer efficiency, there is a DMA (direct memory method). However, since this requires a DMA controller, there is a disadvantage that the system configuration becomes complicated. The present invention has been made in view of the above circumstances, and is a multi-function capable of shortening the time required for transferring a program from one CPU to the other CPU at the time of initial processing with a simple hardware configuration. The purpose is to provide a CPU system. (Means for Solving the Problems) The present invention provides, as means for solving the above-mentioned problems, first and second programs capable of executing respective program contents independently of each other.
It has a second CPU, and the first CPU on the first CPU
Multi-C which transfers the program data of the second CPU stored in the memory of the second CPU to the second memory of the second CPU
In the PU system, a decoder that outputs a decode signal based on a control signal output from the first CPU and a decoder provided on an address bus between the first CPU and the second CPU and transmitted from the decoder. A bus buffer that allows only the read address signal of the program data output from the first CPU to pass from the first CPU to the second CPU at the time of initialization by a decode signal as a gate signal that comes in And a decoder signal provided on a data bus between the first CPU and the second CPU and transmitted from the decoder as a gate signal. To the first CP
A bus transceiver that allows the passage of only the program data signal read by U, and the decoder reads the program data stored in the first memory when the first CPU reads the program data stored in the first memory. Outputting a decode signal as the gate signal to the bus buffer and the bus transceiver, and outputting a decode signal as a write signal to the second memory. I do. (Operation) In the above configuration, the first CPU, upon initializing,
The program data on the second CPU side and its address stored in the first memory are read, and at the same time, the decoder outputs a decode signal as a gate signal to the bus buffer and the bus transceiver. The state at this point can be said to be a state in which preparation for data transfer from the first memory to the second memory is completed. Then, when the decoder outputs a decode signal as a write signal to the second memory, the program data transmitted through the data bus is transmitted to the address of the second memory specified by the signal from the address. Written. In this case, it is considered that the operations from the time when the first CPU reads the first memory to the time when the second memory is written are performed at substantially the same timing. May be. Therefore, the second from the first CPU side
In this case, the total transfer time when data is transferred to the CPU side can be greatly reduced. (Embodiment) FIG. 1 is a block diagram showing a circuit configuration of a system according to an embodiment of the present invention. In all the drawings, the same reference numerals indicate the same or corresponding parts. In FIG. 1, a bus buffer IC6 (three-state buffer) is provided on an address bus 11, and a bus transceiver 8 (a bidirectional bus buffer with a built-in D flip-flop) is provided on a data bus 10. . Then, the CPU 1.1 reads the program to be transferred from the ROM 2 and outputs the control signals 1a, 1b and 1c to the decoder 9 at the same time as the decoder 9, and the decoder 9 outputs the decode signals 9a to 9e based on the input of these control signals. As shown, the data is output to the bus buffer IC 6, the bus transceiver 8, the RAM 5, and the CPUs 2.7. With such a configuration, the program contents can be written to the RAM 5 simultaneously with the reading of the program contents of the ROM 2 by the CPUs 1.1. That is, the decoder 9 outputs the control signal 1 from the CPU 1.1.
a, 1b, 1c and a signal from the address bus 11, and a buffer enable signal for the address bus 11, that is, a bus buffer.
Enable signal (G) 9b of IC6, buffer enable / latch signal (G) 9c of bus transceiver (HC652) controlling data bus 10, and reset (RESE) of CPUs 2.7
T) Decode the signal 9a, the write (▲ ▼) signal 9d to the RAM 5 of the CPU 2.7, and the upper address signal 9a of the RAM 5 of the CPU 2.7. At the time of initialization, the CPU 1.1 resets the CPU 2.7, and enables the bus buffer 6 in the direction A → B, that is, in the direction from the CPU 1.1 side to the CPU 2.7 side.
The program to be transferred is read (empty read). At this time, the lower address of the data currently read by the CPU 1.1 is also output to the address bus 11 of the CPU 2.7 via the bus buffer 6. Then, at the time of transferring the program, the upper address 9a is output from the decoder 9 to the CPUs 2 and 7, and the address synthesized therewith becomes the real address for the RAM 5. Further, the bus transceiver 8
Are buffer enabled in the A → B direction, and a buffer enable / latch signal 9c (G) is supplied from the decoder 9, so that the data is also output to the data bus 10 on the CPU 2.7 side. Here, CPU 1.1 outputs ▲ ▼ signal 9d to RAM5.
If a signal is output and decoded, the data read by the CPU 1.1 is written to the address to which the RAM 5 is to be written. By repeating this procedure, the data read by the CPU 1, that is, the program, is successively written to the decoded address. After the transfer of the program, the bus buffer 6 of the address bus 11 is no longer enabled, and the bus transceiver 8 can be used as a bus register (bidirectional D-type flip-flop). CPU
In other words, the operations of CPU 1.1 and CPU 2 and 7, respectively,
It is possible to exchange data between them. In the above configuration, the address data is divided into an upper address and a lower address, and a decode signal is used for the upper address. Therefore, the number of address buses 11 can be reduced as compared with the conventional case. In other words, the program data to be transferred is usually stored in a specific memory area in ROM 2, but if this memory area is specified by a decode signal indicating the upper address, the lower address signal May be transferred to the RAM 5 through the address bus 11. A bus buffer IC 6 and a bus transceiver 8 which can be enabled by a decode signal
Since the CPU 1 and 1 read data from the ROM 2 at the same time, they are enabled by the decode signal from the decoder 9, and the RAM 5 has the address bus 11.
And data from the data bus 10 are written. Therefore, the transfer time can be significantly reduced. For example, in the conventional case (see FIG. 2), first, CPU1
The data corresponding to the upper and lower addresses of the RAM 5 is read from M2, stored in its own register, and then latched by the D flip-flop 12 with the signal. In addition, CP
U1 · 1 stores the data corresponding to the address in the register, and causes the D flip-flop 12 to latch the lower address (1 byte) and the data (1 byte) corresponding to the upper address of the RAM 5 respectively. With the address (2 bytes) and data (1 byte) all latched, the bus buffer 6 is enabled by the control signal of the CPU 1.1 and the enable signal 9b decoded by the address, and the 3-byte data is converted to the CP.
It is output to each bus on the U2.7 side. The output of the ▲ ▼ signal 9a decoded by the control signal and the address of the CPU 1.1 causes the preceding data to be written to the RAM5. Here, the data of the D flip-flop 12 is set three times (for three bytes), and one write to the RAM 5 is performed at another timing, and the transfer of the one-byte data is completed. On the other hand, according to the present invention (see FIG. 1), the CPU 1
When 1 outputs an address and reads the contents of RAM 5 contained in ROM2, the above address is set to a lower address (1 byte) by the control signal of CPU1.1 and the control signal 9b decoded by the above address, and the CPU2 bus And at the same time, the upper address 9a is output to the upper address bus on the CPU 2.7 side. Similarly, as a result of outputting the gate latch signal 9c to the bus transceiver 8, the data (1 byte) output first from the ROM 2 is latched. This data is output to the data bus on the CPU 2.7 side because the bus transceiver 8 is set to output in the A → B direction. Then, it is written into the RAM 5 by the control signal of the CPU 1.1 and the signal 9d decoded by the address. As a result, in the present invention, the transfer of 1-byte data to the RAM 5 is completed at substantially the same timing by one data read by the CPU 1.1, so that the transfer of 1-byte data is about 3 Completed in one-second time. Even if two-byte data is transferred according to the present invention, it can be reduced to about one half as compared with the conventional one-byte data transfer. [Effects of the Invention] As described above, according to the present invention, a bus buffer and a bus transceiver are provided on an address and a data bus, and these are controlled by a gate signal from a decoder. Since the configuration is such that the program data is written to the second memory by the write signal from the decoder at substantially the same timing as the reading to the first memory, the hardware configuration is simple. In addition, it is possible to greatly reduce the time required for transferring a program from one CPU to the other CPU.

【図面の簡単な説明】 第1図は本発明の一実施例の回路構成を示すブロック
図、第2図は従来例の回路構成を示すブロック図であ
る。 1……CPU1(第1のCPU)、2……ROM(第1のメモ
リ)、5……RAM(第2のメモリ)、6……バスバッフ
ァIC、7……CPU2(第2のCPU)、8……バストランシ
ーバ、9……デコーダ、10……データバス、11……アド
レスバス。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a circuit configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing a circuit configuration of a conventional example. 1 CPU 1 (first CPU), 2 ROM (first memory), 5 RAM (second memory), 6 bus buffer IC, 7 CPU 2 (second CPU) , 8... Bus transceiver, 9... Decoder, 10... Data bus, 11.

Claims (1)

(57)【特許請求の範囲】 1.互いに独立してそれぞれのプログラム内容を実行可
能な第1,第2のCPUを有し、イニシャル時には第1のCPU
側の第1のメモリに記憶されている第2のCPU側のプロ
グラムデータを、第2のCPU側の第2のメモリへ転送す
るマルチCPUシステムにおいて、 前記第1のCPUから出力される制御信号に基いてデコー
ド信号を出力するデコーダと、 前記第1のCPU及び第2のCPU間のアドレスバス上に設け
られ、前記デコーダから送られてくるゲート信号として
のデコード信号により、イニシャル時に、第1のCPU側
から第2のCPU側へ向う、前記第1のCPUが出力する前記
プログラムデータの読込アドレス信号のみの通過を許容
するバスバッファと、 前記第1のCPU及び第2のCPU間のデータバス上に設けら
れ、前記デコーダから送られてくるゲート信号としての
デコード信号により、イニシャル時に、第1のCPU側か
ら第2のCPU側へ向う、前記第1のCPUが読み込んだ前記
プログラムデータ信号のみの通過を許容するバストラン
シーバと、 を備え、 前記デコーダは、イニシャル時に、前記第1のCPUが前
記第1のメモリに記憶されているプログラムデータを読
み込んだ時に、前記バスバッファ及び前記バストランシ
ーバに対して前記ゲート信号としてのデコード信号を出
力し、さらに、前記第2のメモリに対して書込信号とし
てのデコード信号を出力するものである、 ことを特徴とするマルチCPUシステム。 2.請求項1記載のマルチCPUシステムにおいて、 前記読込アドレス信号を入力し、前記第2のCPU側のプ
ログラムデータの上位アドレスを示すデコード信号を前
記デコーダから出力させると共に、前記バスバッファを
通過するアドレス信号を下位アドレスとし、これら上位
アドレスと下位アドレスとを合成することにより、プロ
グラムデータを格納すべき第2のメモリのアドレスを特
定するようにしたこと、 を特徴とするマルチCPUシステム。
(57) [Claims] It has first and second CPUs that can execute respective program contents independently of each other, and the first CPU
In a multi-CPU system for transferring program data of the second CPU stored in the first memory of the second CPU to the second memory of the second CPU, a control signal output from the first CPU And a decoder that outputs a decode signal based on the first and second CPUs. The decoder is provided on an address bus between the first CPU and the second CPU. A bus buffer that allows only the read address signal of the program data output from the first CPU to pass from the CPU side to the second CPU side, and data between the first CPU and the second CPU. The program which is provided on the bus and is read by the first CPU from the first CPU to the second CPU at the time of initializing by a decode signal as a gate signal sent from the decoder. A bus transceiver that allows the passage of only the program data signal, the decoder comprising: when the first CPU reads program data stored in the first memory at an initial time, the bus buffer and the bus buffer; A multi-CPU system, comprising: outputting a decode signal as the gate signal to a bus transceiver; and outputting a decode signal as a write signal to the second memory. 2. 2. The multi-CPU system according to claim 1, wherein the read address signal is input, and a decode signal indicating an upper address of program data of the second CPU is output from the decoder, and an address signal passing through the bus buffer. 3. Is a lower address, and by combining the upper address and the lower address, an address of a second memory in which program data is to be stored is specified.
JP62195792A 1987-08-05 1987-08-05 Multi CPU system Expired - Fee Related JP2741514B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62195792A JP2741514B2 (en) 1987-08-05 1987-08-05 Multi CPU system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62195792A JP2741514B2 (en) 1987-08-05 1987-08-05 Multi CPU system

Publications (2)

Publication Number Publication Date
JPS6438862A JPS6438862A (en) 1989-02-09
JP2741514B2 true JP2741514B2 (en) 1998-04-22

Family

ID=16347050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62195792A Expired - Fee Related JP2741514B2 (en) 1987-08-05 1987-08-05 Multi CPU system

Country Status (1)

Country Link
JP (1) JP2741514B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04139565A (en) * 1990-10-01 1992-05-13 Sega Enterp Ltd Multiple cpu apparatus
JP3092116B2 (en) * 1991-08-26 2000-09-25 日本電気株式会社 Program change method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5864534A (en) * 1981-10-14 1983-04-16 Fuji Electric Co Ltd Data transfer system of computer device
JPS61193255A (en) * 1985-02-20 1986-08-27 Matsushita Electric Ind Co Ltd Operation method for high speed central processing unit

Also Published As

Publication number Publication date
JPS6438862A (en) 1989-02-09

Similar Documents

Publication Publication Date Title
US4899306A (en) Test interface circuit which generates different interface control signals for different target computers responding to control signals from host computer
JP2573566B2 (en) Bus converter
US4271466A (en) Direct memory access control system with byte/word control of data bus
US6816921B2 (en) Micro-controller direct memory access (DMA) operation with adjustable word size transfers and address alignment/incrementing
US6216191B1 (en) Field programmable gate array having a dedicated processor interface
JPS61502565A (en) Data processor with dynamic bus sizing
JP2539058B2 (en) Data processor
US6742058B2 (en) Memory controller having a multiplexer selecting either second set of input signals or converted signals from first set of input signals by a bus mode input
JPH01120660A (en) Microcomputer device
JP2741514B2 (en) Multi CPU system
JPH03668B2 (en)
JPH0227696B2 (en) JOHOSHORISOCHI
JPS61166647A (en) Accessing for reading out information microprocessor and addressable memory
EP0127830B1 (en) Microprocessor system with a multibyte system bus
JP2568443B2 (en) Data sizing circuit
JPH09305530A (en) Dma controller
EP0814412B1 (en) A digital signal processor and a method for interfacing a digital signal processor
JPS6019816B2 (en) microprogram control adapter
JPS60129868A (en) Memory system
JPS5847B2 (en) ONE CHIPPUNYUSHUISUTSURIYOKUSEIGIYOKUYOMOSUJIYOHOUSHIYORIOSYSTEM
JPS6130300B2 (en)
JP4319788B2 (en) Microcomputer
JP2608286B2 (en) Data transfer device
RU1807495C (en) Process-to-process interface
McMahon New and future 29 K family products: microprocessors and microcontrollers

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees