JPH01130250A - Memory transfer system - Google Patents

Memory transfer system

Info

Publication number
JPH01130250A
JPH01130250A JP28887887A JP28887887A JPH01130250A JP H01130250 A JPH01130250 A JP H01130250A JP 28887887 A JP28887887 A JP 28887887A JP 28887887 A JP28887887 A JP 28887887A JP H01130250 A JPH01130250 A JP H01130250A
Authority
JP
Japan
Prior art keywords
cpu
sub
sub cpu
rom
main 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
JP28887887A
Other languages
Japanese (ja)
Inventor
Hiroshi Sakai
宏 酒井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP28887887A priority Critical patent/JPH01130250A/en
Publication of JPH01130250A publication Critical patent/JPH01130250A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To eliminate the need of a ROM of a sub-CPU side and to reduce a cost by placing the program of the sub-CPU side in the ROM of a main CPU side and operating the sub-CPU by a start from the main CPU. CONSTITUTION:A main CPU 1 transfers the contents of a program of a sub-CPU side 5 to a 2-port RAM 8 from the ROM 2 of the CPU 1 side. When the transfer is all ended, the CPU 5 is started. When the sub-CPU 5 is started, a strobe signal is outputted to the T terminal of a D latch 19 by executing an access to an address conforming to the decoding condition of an address recorder 18, and by setting a Q terminal to 'H', the reset of the sub-CPU 5 is released. In such a way, the sub-CPU 5 can start its operation. The sub-CPU 5 whose reset is released starts a fetch from '0' address. While the sub-CPU 5 is executing a transfer, the main CPU 1 is in a stand-by state.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、電子計算機を構成するマルチプロセッサシ
ステムにおけるメモリ転送方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory transfer method in a multiprocessor system constituting an electronic computer.

[従来の技術] 第6図は従来の電子計算機を構成するマルチプロセッサ
システムの概略構成を示すブロック図である。図におい
て、28はメインCPU (メイン中央処理装置)、2
9はメインCPU2B側のR2はサブCPU、33はサ
ブCPU32側のROM、34はサブCPU32側のR
AM、35はサブCPU32側の各110ポート、36
は2ポートRAMである。
[Prior Art] FIG. 6 is a block diagram showing a schematic configuration of a multiprocessor system constituting a conventional electronic computer. In the figure, 28 is the main CPU (main central processing unit);
9 is R2 on the main CPU 2B side is the sub CPU, 33 is the ROM on the sub CPU 32 side, and 34 is R on the sub CPU 32 side.
AM, 35 is each 110 port, 36 on the sub CPU 32 side
is a 2-port RAM.

第7図は第6図のマルチプロセッサシステムのソフトウ
ェアを示す説明図である。図において、37はメインC
PU28側のROMエリア(8■(バイト)、38はメ
インCPU2B側のRAMエリア(8にバイト)、39
はメインCPU2B側のI10ポートエリア、40はサ
ブCPU32側のROMxす7(8にバイト)、41は
サブCPU32側のRAMエリア(8にバイト)、42
はサブCPU32側のI10ポートエリア、43は2ポ
ートRAMエリア(4にバイト)である。
FIG. 7 is an explanatory diagram showing software of the multiprocessor system of FIG. 6. In the figure, 37 is the main C
ROM area on the PU28 side (8 bytes), 38 is the RAM area on the main CPU2B side (8 bytes), 39
is the I10 port area on the main CPU 2B side, 40 is the ROM x 7 (8 bytes) on the sub CPU 32 side, 41 is the RAM area on the sub CPU 32 side (8 bytes), 42
is an I10 port area on the sub CPU 32 side, and 43 is a 2-port RAM area (4 bytes).

次に、上記第6図に示す従来のマルチブロセッサシステ
ムの動作について説明する。メインCPU28とサブC
PU32は電源の投入後、0番地よりフェッチを開始し
、所定の初期化を終了してプログラムを実行する。その
際に、プログラム等はメインCPU2B側のROM29
.  サブCPU32側のROM33に置かれている。
Next, the operation of the conventional multiprocessor system shown in FIG. 6 will be explained. Main CPU28 and sub C
After turning on the power, the PU 32 starts fetching from address 0, completes predetermined initialization, and executes the program. At that time, programs etc. are stored in the ROM29 on the main CPU2B side.
.. It is placed in the ROM 33 on the sub CPU 32 side.

当該プログラムをそれぞれメインCPU2B及びサブC
PU32が実行することによりシステムが稼働する。
The relevant programs are installed on the main CPU2B and sub-C, respectively.
The system operates when the PU 32 executes the command.

[発明が解決しようとする問題点] 上記のような従来のマルチプロセッサシステムでは、メ
インCP U 2 B、  サブCPU32のそれぞれ
にROM29及びROM33を接続しているので、メイ
ンCPU28側からサブCPU32例のROM33を読
むことができなかった。そのため、サブCPU32例の
プログラムの開発、デパック、保守の面における効率が
悪いという問題点があった。
[Problems to be Solved by the Invention] In the conventional multiprocessor system as described above, the ROM 29 and ROM 33 are connected to the main CPU 2B and the sub CPU 32, respectively. ROM33 could not be read. Therefore, there was a problem in that efficiency was low in developing, unpacking, and maintaining programs for the 32 sub-CPUs.

この発明はかかる問題点を解決するためになされたもの
で、サブCPU側のプログラムをメインCPU側のRO
Mに置いたことにより、サブCPU側のROMが不要と
なりコストが低減できると共に、サブCPU側のプログ
ラムの開発、デパック、保守を容易にして柔軟性の高い
マルチプロセッサシステムにおけるメモリ転送方式を得
ることを目的とする。
This invention was made to solve this problem, and the program on the sub CPU side is transferred to the RO on the main CPU side.
By placing it in M, a ROM on the sub-CPU side becomes unnecessary, reducing costs, and making it easier to develop, depack, and maintain programs on the sub-CPU side, thereby obtaining a highly flexible memory transfer method in a multiprocessor system. With the goal.

[問題点を解決するための手段] この発明に係るメモリ転送方式は、マルチプロセッサシ
ステムにおいて、サブCPU側のプログラムをメインC
PU側のROMに格納しておき、メインCPU側からの
起動信号によりサブCPUを動作させ、上記ROMに格
納されたサブCPU側のプログラムを2ボ一トRAMを
介してサブCPU側のRAMへ転送するようにしたもの
である。
[Means for Solving the Problems] The memory transfer method according to the present invention transfers programs on the sub CPU side to the main CPU in a multiprocessor system.
The program is stored in the ROM on the PU side, the sub CPU is operated by a start signal from the main CPU side, and the program on the sub CPU side stored in the ROM is transferred to the RAM on the sub CPU side via the 2-bit RAM. It was designed to be transferred.

[作用] この発明のメモリ転送方式においては、メインCPU側
のROMに格納されたサブCPU側のプログラムを2ボ
一トRAMへ転送し、メインCPU側からの起動信号に
よりサブCPUを動作させ、転送を受けた上記2ポート
RAMの内容をサブCPU側のRAMへ転送する構成と
したので、サブCP U側のプログラムの開発、デパッ
ク、保守性の向上が図られる。
[Function] In the memory transfer method of the present invention, a sub-CPU side program stored in a ROM on the main CPU side is transferred to a two-bit RAM, and the sub-CPU is operated by a start signal from the main CPU side. Since the contents of the two-port RAM that have been transferred are transferred to the RAM on the sub-CPU side, development, depacking, and maintainability of programs on the sub-CPU side can be improved.

[実施例] 第1図はこの発明の一実施例であるメモリ転送方式を適
用した電子計算機を構成するマルチプロセッサシステム
の概略構成を示すブロック図である。図において、1は
メインCPU、2はメインCPUI側のROM、3はメ
インCPU1側のRAM、4はメインCPU l側のI
10ポート、5はサブCPU、6はサブCPU5側のR
AM、7はサブCPU5側のI10ポート、8は2ボ一
トRAM、9はサブCPU5を起動させるための起動信
号である。
[Embodiment] FIG. 1 is a block diagram showing a schematic configuration of a multiprocessor system constituting an electronic computer to which a memory transfer method is applied, which is an embodiment of the present invention. In the figure, 1 is the main CPU, 2 is the ROM on the main CPU side, 3 is the RAM on the main CPU 1 side, and 4 is the I side on the main CPU l side.
10 ports, 5 is sub CPU, 6 is R on sub CPU 5 side
AM, 7 is an I10 port on the sub CPU 5 side, 8 is a 2-bot RAM, and 9 is an activation signal for starting the sub CPU 5.

第2図は第1図のマルチプロセッサシステムのソフトウ
ェアを示す説明図である。図において、10はメインC
PU i側のROMエリアであり、第1図に示すメイン
CPUI側のROM2に相当する。11は2ポートRA
Mエリア、12はメインCPU側のRAMエリアであり
、第1図のメインCPU l側のRAM3の相当する。
FIG. 2 is an explanatory diagram showing software of the multiprocessor system of FIG. 1. In the figure, 10 is the main C
This is a ROM area on the PU i side, and corresponds to ROM2 on the main CPU I side shown in FIG. 11 is 2 port RA
The M area 12 is a RAM area on the main CPU side, and corresponds to the RAM 3 on the main CPU I side in FIG.

13はメインCPUI側のI10ポートエリアであり、
第1図のメインCPU l側のI10ポート4に相当す
る。14はサブCPU5側のRAMエリアであり、第1
図のサブCPU5側のRAM6に相当する。
13 is the I10 port area on the main CPUI side,
This corresponds to I10 port 4 on the main CPU l side in FIG. 14 is a RAM area on the sub CPU 5 side, and the first
This corresponds to the RAM 6 on the sub CPU 5 side in the figure.

15はサブCPU5側のI10ポートエリアであり、第
1図のサブCPU5例のI10ポート7に相当する。
15 is an I10 port area on the side of the sub CPU 5, which corresponds to the I10 port 7 of the example of the sub CPU 5 in FIG.

第3図は第1図のマルチプロセッサシステムにおけるサ
ブCPUに対する起動信号を説明するための回路構成図
である。図において、1はメインCPU、17はメイン
CPU 1のアドレスバス、18はアドレスレコーダ、
19はDラッチ、5はサブCPUである。
FIG. 3 is a circuit configuration diagram for explaining the activation signal for the sub CPU in the multiprocessor system of FIG. 1. In the figure, 1 is the main CPU, 17 is the address bus of the main CPU 1, 18 is the address recorder,
19 is a D latch, and 5 is a sub CPU.

第5図は第1図のマルチプロセッサシステムのメモリ転
送手順を示すフローチャートである。図において、21
〜27は転送過程を示すステップである。
FIG. 5 is a flowchart showing the memory transfer procedure of the multiprocessor system of FIG. In the figure, 21
-27 are steps showing the transfer process.

次に、上記第1図に示すこの発明の一実施例であるメモ
リ転送方式を適用した電子計算機を構成をするマルチプ
ロセッサシステムの動作について説明する。このシステ
ム構成では電源ONと同時、に、メインCPUIがθ番
地よりフェッチを開始して所定の初期化を行う。一方、
サブCPU5は第3図に示すような構成により、電源の
ONでDラッチ19のR端子がメインCPUIのパワー
オンリセットに接続されているので、Q端子は「L」出
力でサブCPU5はリセットになりっばなしになる。従
って、サブCPU5は何らの動作もできない。
Next, the operation of the multiprocessor system configuring the electronic computer to which the memory transfer method, which is an embodiment of the present invention shown in FIG. 1, is applied will be explained. In this system configuration, at the same time as the power is turned on, the main CPUI starts fetching from address θ and performs a predetermined initialization. on the other hand,
The sub CPU 5 has the configuration shown in Figure 3, and when the power is turned on, the R terminal of the D latch 19 is connected to the power-on reset of the main CPU, so the Q terminal outputs "L" and the sub CPU 5 is reset. It becomes a story. Therefore, the sub CPU 5 cannot perform any operation.

第5図のメモリ転送手順のフローチャートに示すように
メインCPU 1は、まずステップ21でサブCPU5
側のプログラムの内容をメインCPU1側のROM2か
ら2ボ一トRAM8へ転送する。次いて、ステップ22
で転送の終了を判断し、転送がすべて完了していなけれ
ばステップ21へ戻り転送を継続する。転送がすべて完
了したならばステップ23でサブCPU5を起動させる
。サブCPU5の起動は、第3図に示すアドレスレコー
ダ1日のデコード条件に合うアドレスをアクセスするこ
とにより、Dラッチ19のT端子にスロープ信号を出力
し、Qi子を「H」にセットしてサブCPU5のリセッ
トを解除する。これにより、サブCPU5は動作を開始
することができる。リセットを解除されたサブCPU5
は0番地よりフェッチを開始する。ステップ26でサブ
CPU5が転送を開始したならば、メインCPUIはス
テップ27でサブCPU5の転送が終了するまで待機中
となる。第2図に示しであるようにθ番地から2000
番地は2ボ一トRAMエリア11に割り当てられている
ので、サブCPU5はメインCPUIから転送してきた
データを実行していく。
As shown in the flowchart of the memory transfer procedure in FIG.
The contents of the side program are transferred from the ROM2 on the main CPU1 side to the two-bottom RAM8. Next, step 22
The end of the transfer is determined at step 21, and if the transfer is not completely completed, the process returns to step 21 and continues the transfer. When all transfers are completed, the sub CPU 5 is activated in step 23. The sub CPU 5 is activated by accessing the address that meets the decoding conditions for one day in the address recorder shown in FIG. 3, outputting a slope signal to the T terminal of the D latch 19, and setting the Qi pin to "H". Release the reset of the sub CPU 5. This allows the sub CPU 5 to start operating. Sub CPU5 whose reset has been canceled
starts fetching from address 0. If the sub CPU 5 starts the transfer in step 26, the main CPU 5 waits in step 27 until the sub CPU 5 completes the transfer. 2000 from address θ as shown in Figure 2.
Since the address is assigned to the two-vote RAM area 11, the sub CPU 5 executes the data transferred from the main CPU.

再び第5図の転送手順のフローチャートに示すように、
サブCPU5はステップ24で2ボ一トRAM8の内容
をサブCPU5側のRAM6へ転送する。ステップ25
で転送の終了を判断し、転送がすべて完了したならばメ
インCPU 1に転送の完了を知らせる。
Again, as shown in the flowchart of the transfer procedure in Figure 5,
In step 24, the sub CPU 5 transfers the contents of the 2-bot RAM 8 to the RAM 6 on the sub CPU 5 side. Step 25
The end of the transfer is determined at , and when all transfers are completed, the main CPU 1 is notified of the completion of the transfer.

なお、上記実施例では、サブCPU5に対する起動信号
を説明するための回路構成として、第3図に示すような
りラッチ19を用いた場合について説明したが、第4図
に示すようなJ−にフリップフロップ20を用いた回路
構成としても良い。
In the above embodiment, the case where the latch 19 as shown in FIG. 3 is used as the circuit configuration for explaining the activation signal to the sub CPU 5 has been explained, but the case where the latch 19 as shown in FIG. 4 is used is used. A circuit configuration using the tap 20 may also be used.

[発明の効果] この発明は以上説明したとおり、マルチプロセッサシス
テムにおいて、サブCPU側のプログラムをメインCP
U側のROMに格納しておき、メインCPU側からの起
動信号によりサブCPUを動作させ、上記ROMに格納
されたサブCPU側のプログラムを2ポートRAMを介
してサブCPU側のRAMへ転送するように構成したの
で、サブCPU側のROMが不要となりコストが低減で
きると共に、サブCPU側のプログラムの開発。
[Effects of the Invention] As explained above, the present invention provides a multiprocessor system in which a program on the sub CPU side is transferred to the main CPU.
It is stored in the ROM on the U side, the sub CPU is operated by a start signal from the main CPU side, and the program on the sub CPU side stored in the ROM is transferred to the RAM on the sub CPU side via the 2-port RAM. This configuration eliminates the need for a ROM on the sub-CPU side, which reduces costs, and allows development of programs on the sub-CPU side.

デパック、保守を容易にして柔軟性の高いマルチプロセ
ッサシステムが得られるという優れた効果を奏するもの
である。
This has the excellent effect of providing a highly flexible multiprocessor system that is easy to pack and maintain.

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

第1図はこの発明の一実施例であるメモリ転送方式を適
用した電子計算機を構成するマルチプロセッサシステム
の概略構成を示すブロック図、第2図は第1図のマルチ
プロセッサシステムのソフトウェアを示す説明図、第3
図及び第4図はそれぞれ第1図のマルチプロセッサシス
テムにおけるサブCPUに対する起動信号を説明するた
めの回路構成図、第5図は第1図のマルチプロセッサシ
ステムのメモリ転送手順を示すフローチャート、第6図
は従来の電子計算機を構成するマルチプロセッサシステ
ムの概略構成を示すブロック図、第7図は第6図のマル
チプロセッサシステムのソフトウェアを示す説明図であ
る。 図において1,28・・・メインCPU、2.29・・
・ROM、3,6,30,34・・・RAM、4,7゜
3]、35・・・I10ポート、5,32・・・サブC
PU、8,3B・・・2ボ一トRAM、9・・・起動信
号、10、 37. 40・・・ROMエリア、 11
,43・・・2ボ一トRAMエリア、 12. 14.
 38. 41・・・RAMエリア5.13. 15.
 39. 42・・・■10ポートエリア、17・・・
アドレスバス、18・・・アドレスレコーダ、19・・
・Dラッチ、20・・・J−にフリップフロップ、21
〜27・・・ステップ である。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing a schematic configuration of a multiprocessor system constituting an electronic computer to which a memory transfer method is applied, which is an embodiment of the present invention, and FIG. 2 is an explanation showing the software of the multiprocessor system shown in FIG. Figure, 3rd
4 and 4 are respectively circuit configuration diagrams for explaining the activation signal for the sub CPU in the multiprocessor system of FIG. 1, FIG. 5 is a flowchart showing the memory transfer procedure of the multiprocessor system of FIG. 1, and FIG. The figure is a block diagram showing a schematic configuration of a multiprocessor system constituting a conventional electronic computer, and FIG. 7 is an explanatory diagram showing software of the multiprocessor system of FIG. 6. In the figure, 1,28...main CPU, 2.29...
・ROM, 3, 6, 30, 34...RAM, 4,7゜3], 35...I10 port, 5, 32...Sub C
PU, 8, 3B...2-bot RAM, 9...Start signal, 10, 37. 40...ROM area, 11
, 43...2-bottom RAM area, 12. 14.
38. 41...RAM area 5.13. 15.
39. 42...■10 port area, 17...
Address bus, 18...Address recorder, 19...
・D latch, 20...Flip-flop to J-, 21
~27...step. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 電子計算機を構成するマルチプロセッサシステムにおい
て、双方のプロセッサよりアクセスが可能な2ポートR
AMと、メインCPU側のROMの内容を上記2ポート
RAMへ転送する手段と、上記メインCPU側からの起
動信号によりサブCPU側を動作させ、転送を受けた上
記2ポートRAMの内容を上記サブCPU側のRAMへ
転送する手段を備えたことを特徴とするメモリ転送方式
In a multiprocessor system that constitutes a computer, there are two ports R that can be accessed by both processors.
AM, a means for transferring the contents of the ROM on the main CPU side to the two-port RAM, and a means for operating the sub-CPU side by a start signal from the main CPU side, and transferring the transferred contents of the two-port RAM to the two-port RAM. A memory transfer method characterized by having means for transferring data to RAM on the CPU side.
JP28887887A 1987-11-16 1987-11-16 Memory transfer system Pending JPH01130250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28887887A JPH01130250A (en) 1987-11-16 1987-11-16 Memory transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28887887A JPH01130250A (en) 1987-11-16 1987-11-16 Memory transfer system

Publications (1)

Publication Number Publication Date
JPH01130250A true JPH01130250A (en) 1989-05-23

Family

ID=17735934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28887887A Pending JPH01130250A (en) 1987-11-16 1987-11-16 Memory transfer system

Country Status (1)

Country Link
JP (1) JPH01130250A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04132539U (en) * 1991-05-22 1992-12-08 ソニー株式会社 CPU system
JP2009175904A (en) * 2008-01-23 2009-08-06 Alpine Electronics Inc Multiprocessor processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04132539U (en) * 1991-05-22 1992-12-08 ソニー株式会社 CPU system
JP2009175904A (en) * 2008-01-23 2009-08-06 Alpine Electronics Inc Multiprocessor processing system

Similar Documents

Publication Publication Date Title
EP0569969B1 (en) Microcomputer having instruction memory storing instructions for reading out internal conditions
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
JPH10134008A (en) Semiconductor device and computer system
JPH05242057A (en) Method for starting multi-processor system
US6401197B1 (en) Microprocessor and multiprocessor system
JPH01130250A (en) Memory transfer system
JP2000194551A (en) Flash memory rewriting circuit
JPH01261758A (en) Computer system
JPH04104358A (en) Micro computer device
JP2749105B2 (en) Boot method of parallel computer
JP3323341B2 (en) Emulation processor and emulator equipped with it
JP2001256055A (en) Program download system
JP3139310B2 (en) Digital signal processor
JP2004013289A (en) On-chip debugging method of microcontroller
JP3127737B2 (en) Digital signal processor
JPH05224999A (en) Runaway processor
JPH07302255A (en) Semiconductor integrated circuit device, processor for emulating the same and emulator
JPH0426913Y2 (en)
JPH0581211A (en) Inter-processor communication system
JPH08115214A (en) Digital signal processor
JPS63101949A (en) Program loading system
JPH03136143A (en) Incircuit emulator
JPH09269915A (en) Micro processor
JPS60201437A (en) Microprocessor
JPH03252752A (en) Data processor