JPH11345221A - Multiprocessor system - Google Patents

Multiprocessor system

Info

Publication number
JPH11345221A
JPH11345221A JP10150309A JP15030998A JPH11345221A JP H11345221 A JPH11345221 A JP H11345221A JP 10150309 A JP10150309 A JP 10150309A JP 15030998 A JP15030998 A JP 15030998A JP H11345221 A JPH11345221 A JP H11345221A
Authority
JP
Japan
Prior art keywords
slave
processor
multiprocessor system
unit
master
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.)
Withdrawn
Application number
JP10150309A
Other languages
Japanese (ja)
Inventor
Naoki Shibata
直己 柴田
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.)
Shinko Electric Co Ltd
Original Assignee
Shinko Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shinko Electric Co Ltd filed Critical Shinko Electric Co Ltd
Priority to JP10150309A priority Critical patent/JPH11345221A/en
Publication of JPH11345221A publication Critical patent/JPH11345221A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Debugging And Monitoring (AREA)

Abstract

(57)【要約】 【課題】 マスタユニットと接続されたスレーブユニッ
ト内のROMやRAM、I/Oの内部記憶資源がデュア
ルポートの構成を持ち、マスタユニット側から外部デー
タバスを介して直接アクセス可能なマルチプロセッサシ
ステムを提供すること。 【解決手段】 スレーブユニット12内の内部資源とし
て、デュアルポートROM15,デュアルポートRAM
16,デュアルポートI/O機器17を用い、これらの
ポートの片方を内部データバス18に接続してスレーブ
プロセッサからアクセス可能とし、他方のポートを外部
データバス14に直接接続し、実動作時およびデバッグ
時にマスタプロセッサ11から上記内部資源に対してデ
ータの読み書きを可能にしている。
(57) [Summary] [PROBLEMS] The internal storage resources of ROM, RAM, and I / O in a slave unit connected to a master unit have a dual-port configuration, and can be directly accessed from the master unit via an external data bus. To provide a simple multiprocessor system. SOLUTION: A dual port ROM 15, a dual port RAM as internal resources in a slave unit 12 are provided.
16, using a dual port I / O device 17, one of these ports is connected to the internal data bus 18 to enable access from the slave processor, and the other port is directly connected to the external data bus 14 to allow for the actual operation and During debugging, the master processor 11 can read and write data from and to the internal resources.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マスタユニットと
接続されたスレーブユニット内のメモリやI/O(Inpu
t/Output:入出力)機器がデュアルポートの構成を持つ
マルチプロセッサシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory and an I / O (Inpu) in a slave unit connected to a master unit.
t / Output: a multiprocessor system in which the device has a dual port configuration.

【0002】[0002]

【従来の技術】従来のマルチプロセッサシステムについ
て図2を用いて説明する。図2は従来例によるマルチプ
ロセッサシステムのブロック図である。図2に示すよう
に、マスタユニット10内のマスタプロセッサ11とス
レーブユニット12内のスレーブプロセッサ13とは外
部データバス14で電気的に接続されている。スレーブ
プロセッサ13はマスタプロセッサ11の管理下におい
て動作する。
2. Description of the Related Art A conventional multiprocessor system will be described with reference to FIG. FIG. 2 is a block diagram of a conventional multiprocessor system. As shown in FIG. 2, the master processor 11 in the master unit 10 and the slave processor 13 in the slave unit 12 are electrically connected by an external data bus 14. The slave processor 13 operates under the control of the master processor 11.

【0003】スレーブユニット12内に設けられて、ス
レーブプロセッサ13の使用する内部資源である、RO
M(Read Only Memory:読み出し専用メモリ)25,R
AM(Random Access Memory:書き込み可能メモリ)2
6,I/O機器27等の記憶用の素子や機器は、スレー
ブユニット12内の内部データバス18によって、電気
的に相互に接続されていて、スレーブプロセッサ13か
らはこの内部データバス18を介してアクセスする。こ
のため、本マルチプロセッサシステムの実使用中にスレ
ーブユニット12内の上記の記憶用素子や機器に外部か
らアクセスするためには、スレーブプロセッサ13を経
由する必要があり、またこのために、スレーブユニット
12のデバッグに際しては、専用のデバッグ装置(図示
せず)を別途に用意する必要があった。
[0003] RO, which is provided in the slave unit 12 and is an internal resource used by the slave processor 13,
M (Read Only Memory) 25, R
AM (Random Access Memory) 2
6, the storage elements and devices such as the I / O device 27 are electrically connected to each other by an internal data bus 18 in the slave unit 12, and are transmitted from the slave processor 13 via the internal data bus 18. Access. Therefore, in order to externally access the above-mentioned storage elements and devices in the slave unit 12 during actual use of the present multiprocessor system, it is necessary to go through the slave processor 13. In debugging 12, a dedicated debugging device (not shown) had to be separately prepared.

【0004】[0004]

【発明が解決しようとする課題】上記の従来装置の例で
は、スレーブユニット12内の内部資源である、ROM
25,RAM26,I/O27等の記憶用の素子や機器
は、デバッグの際には、スレーブユニット専用のデバッ
グ装置を使用してその状態を知らねばならず、また、そ
の場合には、スレーブプロセッサ13が動作状態である
必要があった。さらに、マルチプロセッサシステム内に
おいて、スレーブユニットが複数個存在する場合には、
個々のスレーブユニットに対して別々のデバッグ装置が
必要であり、デバッグ装置が単一の場合には、全てのス
レーブユニットを同時にデバッグする事はできなかっ
た。また、マルチプロセッサシステムにおいて、上記の
デバッグ時以外の実動作時に、スレーブユニット内の記
憶用の素子や機器に、マスタユニット等のスレーブユニ
ット外部からアクセスし、その内容を読み込んだり、さ
らに変更したりすることは不可能であった。
In the above example of the conventional device, the internal resource in the slave unit 12, ROM
In debugging, storage devices and devices such as the RAM 25, the I / O 27, and the like must know the status using a debugging device dedicated to the slave unit. In this case, the slave processor 13 had to be active. Furthermore, in a multiprocessor system, when there are a plurality of slave units,
Separate debugging devices are required for each slave unit, and when a single debugging device is used, all the slave units cannot be debugged at the same time. Also, in a multiprocessor system, during actual operation other than the above-described debugging, the storage elements and devices in the slave unit are accessed from outside the slave unit such as the master unit, and the contents are read or further modified. It was impossible to do.

【0005】本発明はこのような事情に鑑みてなされた
もので、スレーブユニット内のROM,RAM,I/O
にデュアルポート型のものを使用することにより、外部
バスを介してマスタプロセッサから上記ROM,RA
M,I/Oにアクセスすることが可能なために、実動作
時にそれらのプログラムやデータを変更したり、デバッ
グ時にスレーブプロセッサの動作/非動作に関わらず上
記ROM,RAM,I/Oの状態を知ってデバッグ処理
を行うことの可能なマルチプロセッサシステムを提供す
ることを目的とする。
The present invention has been made in view of such circumstances, and has a ROM, a RAM, an I / O in a slave unit.
By using a dual-port type, the ROM and RA can be transmitted from the master processor via an external bus.
Since the M and I / O can be accessed, their programs and data can be changed during actual operation, and the states of the ROM, RAM, and I / O can be changed during debugging regardless of the operation / non-operation of the slave processor. It is an object of the present invention to provide a multiprocessor system capable of performing a debugging process by knowing the information.

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明は、
マスタプロセッサを含むマスタユニットと、該マスタプ
ロセッサと外部バスを介して電気的に接続され上記マス
タプロセッサの管理下で動作するスレーブプロセッサを
含むスレーブユニットとを有するマルチプロセッサシス
テムにおいて、上記スレーブユニット内に設けられる記
憶部および入出力部は、上記マスタプロセッサと上記ス
レーブプロセッサの双方からアクセス可能であるように
上記外部バスに直接に電気的に接続されてなることを特
徴とするマルチプロセッサシステムである。請求項2記
載の発明は、請求項1記載のマルチプロセッサシステム
において、上記記憶部および上記入出力部は、デュアル
ポート構成の素子あるいは機器であることを特徴とす
る。請求項3記載の発明は、請求項2記載のマルチプロ
セッサシステムにおいて、上記記憶部は、実行プログラ
ムを記憶する第1の記憶部と、処理データを記憶する第
2の記憶部とを備え、上記第1の記憶部は上記外部バス
を介して電気的に書き換え可能な素子からなることを特
徴とする。
According to the first aspect of the present invention,
In a multiprocessor system having a master unit including a master processor and a slave unit electrically connected to the master processor via an external bus and including a slave processor operating under the control of the master processor, The multiprocessor system is characterized in that the storage unit and the input / output unit provided are directly electrically connected to the external bus so as to be accessible from both the master processor and the slave processor. According to a second aspect of the present invention, in the multiprocessor system according to the first aspect, the storage unit and the input / output unit are dual-port elements or devices. According to a third aspect of the present invention, in the multiprocessor system according to the second aspect, the storage unit includes a first storage unit that stores an execution program, and a second storage unit that stores processing data. The first storage unit is made of an element that can be electrically rewritten via the external bus.

【0007】[0007]

【発明の実施の形態】以下、本発明の一実施形態による
マルチプロセッサシステムを図面を参照しつつ説明す
る。図1は、同実施形態によるマルチプロセッサシステ
ムのブロック図である。図1において、上述した従来技
術による図2と同じ構成部品には同一の符号を付し、再
説は割愛する。本実施形態では、スレーブユニット12
内の内部記憶資源として、2組の異なるデータポートを
有し、各ポートからデータの入出力が可能である、デュ
アルポート型のものを使用している。図1に示すよう
に、実行用プログラムや固定データを収めるROMとし
てデュアルポートROM15、書き換えデータを収める
RAMとしてデュアルポートRAM16,入出力機器と
してデュアルポートI/O機器17をそれぞれ使用す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A multiprocessor system according to one embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a multiprocessor system according to the first embodiment. In FIG. 1, the same components as those in FIG. 2 according to the related art described above are denoted by the same reference numerals, and the description will not be repeated. In the present embodiment, the slave unit 12
As the internal storage resources, a dual-port type having two different data ports and capable of inputting and outputting data from each port is used. As shown in FIG. 1, a dual port ROM 15 is used as a ROM for storing execution programs and fixed data, a dual port RAM 16 is used as a RAM for storing rewrite data, and a dual port I / O device 17 is used as an input / output device.

【0008】これらのデュアルポートROM15、デュ
アルポートRAM16、デュアルポートI/O機器17
は、上説のデュアルポート型であり、一方のポートは外
部データバス14に直接に電気的に接続され、他方のポ
ートは内部データバス18に接続されている。その結
果、外部データバス14を介してマスタプロセッサ11
からこれらスレーブユニットの内部資源にアクセスが可
能であり、また、スレーブユニット12内においては、
スレーブプロセッサ13は内部データバス18を使って
アクセスを行う。
These dual port ROM 15, dual port RAM 16, dual port I / O device 17
Is a dual port type as described above. One port is directly electrically connected to the external data bus 14, and the other port is connected to the internal data bus 18. As a result, the master processor 11 via the external data bus 14
Can access the internal resources of these slave units, and within the slave unit 12,
The slave processor 13 accesses using the internal data bus 18.

【0009】この結果、スレーブユニット外部から、ス
レーブプロセッサの動作/非動作に無関係に外部データ
バス14を介してスレーブユニット内部資源に対してデ
ータの読み書きを行うことが可能となり、例えば、デバ
ッグ時には、特別のデバッグ装置を使用せずに、デバッ
グが可能となった。つまり、デバッグ中には、スレーブ
プロセッサの動作に関わらず、デュアルポートROM1
5に外部データバスを使用してマスタプロセッサから変
更を施した実行プログラムに書き換えることにより、更
新したプログラムでスレーブプロセッサを動作させ、こ
の処理を繰り返すことによりデバッグ処理を効率よく速
やかに進めることが可能となる。
As a result, data can be read from and written to the internal resources of the slave unit from the outside of the slave unit via the external data bus 14 regardless of the operation / non-operation of the slave processor. Debugging is possible without using a special debugging device. In other words, during debugging, regardless of the operation of the slave processor, the dual port ROM 1
5) Using the external data bus to rewrite the execution program from the master processor to the changed execution program allows the slave processor to operate with the updated program, and by repeating this process, the debugging process can proceed efficiently and promptly. Becomes

【0010】また、デバッグ中だけでなく、実動作中に
も、スレーブプロセッサの動作に関わらず、マスタプロ
セッサ側からスレーブユニット内の内部資源に対して直
接にデータの読み書きが可能となったので、これらの資
源に対するアクセス待ち等の空き時間がなくなりマスタ
プロセッサのスループットが向上する。さらに、スレー
ブプロセッサ側も、外部からスレーブユニット内の内部
資源に対するアクセス要求を管理する付加的な処理の必
要が無くなりスレーブプロセッサの処理効率が向上す
る。
Also, not only during debugging but also during actual operation, regardless of the operation of the slave processor, data can be read and written directly from the master processor to the internal resources in the slave unit. Free time such as waiting for access to these resources is eliminated, and the throughput of the master processor is improved. Further, the slave processor does not need to perform an additional process of externally managing an access request for an internal resource in the slave unit, thereby improving the processing efficiency of the slave processor.

【0011】上述の実施形態においては、スレーブユニ
ットが一つの場合を想定して述べたが、本発明はこの例
に限定されるものでは無く、複数のスレーブユニットが
並列に外部データバスに接続される場合においても適用
可能であり、その場合にも本発明の効果は十分に発揮さ
れる。
Although the above embodiment has been described on the assumption that there is one slave unit, the present invention is not limited to this example, and a plurality of slave units are connected in parallel to an external data bus. The present invention is also applicable to such cases, and the effects of the present invention can be sufficiently exhibited in such cases.

【0012】[0012]

【発明の効果】以上説明したように、この発明によるマ
ルチプロセッサシステムによれば、下記の効果を得るこ
とができる。 1.マスタプロセッサから外部データバスを介して、ス
レーブユニットの内部資源に直接データを読み書きする
ことにより、マルチプロセッサシステムの実動作中にプ
ログラムやデータの変更がマスタプロセッサ側から可能
になり、処理効率とシステム全体の柔軟性が向上する。 2.スレーブユニットの内部資源にアクセスする際のア
クセス要求の管理のためのマスタプロセッサとスレーブ
プロセッサの双方の負荷が軽減され、スループットが向
上する。 3.同様にして、スレーブユニットのデバッグ時に特別
なデバッグ装置が不要となり、マスタプロセッサ側から
直接スレーブユニット内の内部資源にアクセスしてデバ
ッグが可能になったことにより、デバッグに必要な資源
の節約ができ、デバッグ効率が向上する。
As described above, according to the multiprocessor system of the present invention, the following effects can be obtained. 1. By reading and writing data directly from the master processor to the internal resources of the slave unit via the external data bus, programs and data can be changed from the master processor during the actual operation of the multiprocessor system. Overall flexibility is improved. 2. The load on both the master processor and the slave processor for managing access requests when accessing the internal resources of the slave unit is reduced, and the throughput is improved. 3. Similarly, a special debug device is not required when debugging the slave unit, and the internal resources in the slave unit can be accessed directly from the master processor for debugging, thereby saving the resources required for debugging. , Improving the debugging efficiency.

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

【図1】 本発明による一実施形態によるマルチプロセ
ッサシステムのブロック図である。
FIG. 1 is a block diagram of a multiprocessor system according to an embodiment of the present invention.

【図2】 従来技術によるマルチプロセッサシステムの
ブロック図である。
FIG. 2 is a block diagram of a conventional multiprocessor system.

【符号の説明】[Explanation of symbols]

10…マスタユニット 11…マスタプロセッサ 12…スレーブユニット 13…スレーブプロセッサ 14…外部データバス 15…デュアルポートROM 16…デュアルポートRAM 17…デュアルポートI/O機器 18…内部データバス 25…ROM 26…RAM 27…I/O機器 DESCRIPTION OF SYMBOLS 10 ... Master unit 11 ... Master processor 12 ... Slave unit 13 ... Slave processor 14 ... External data bus 15 ... Dual port ROM 16 ... Dual port RAM 17 ... Dual port I / O device 18 ... Internal data bus 25 ... ROM 26 ... RAM 27 ... I / O equipment

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 マスタプロセッサを含むマスタユニット
と、該マスタプロセッサと外部バスを介して電気的に接
続され上記マスタプロセッサの管理下で動作するスレー
ブプロセッサを含むスレーブユニットとを有するマルチ
プロセッサシステムにおいて、 上記スレーブユニット内に設けられる記憶部および入出
力部は、上記マスタプロセッサと上記スレーブプロセッ
サの双方からアクセス可能であるように上記外部バスに
直接に電気的に接続されてなることを特徴とするマルチ
プロセッサシステム。
1. A multiprocessor system comprising: a master unit including a master processor; and a slave unit including a slave processor electrically connected to the master processor via an external bus and operating under the control of the master processor. The storage unit and the input / output unit provided in the slave unit are directly electrically connected to the external bus so as to be accessible from both the master processor and the slave processor. Processor system.
【請求項2】 上記記憶部および上記入出力部は、デュ
アルポート構成の素子あるいは機器であることを特徴と
する請求項1記載のマルチプロセッサシステム。
2. The multiprocessor system according to claim 1, wherein said storage section and said input / output section are dual-port elements or devices.
【請求項3】 上記記憶部は、実行プログラムを記憶す
る第1の記憶部と、処理データを記憶する第2の記憶部
とを備え、上記第1の記憶部は上記外部バスを介して電
気的に書き換え可能な素子からなることを特徴とする請
求項2記載のマルチプロセッサシステム。
3. The storage unit includes a first storage unit that stores an execution program, and a second storage unit that stores processing data, wherein the first storage unit is connected to the external bus via the external bus. 3. The multiprocessor system according to claim 2, wherein the multiprocessor system comprises a dynamically rewritable element.
JP10150309A 1998-05-29 1998-05-29 Multiprocessor system Withdrawn JPH11345221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10150309A JPH11345221A (en) 1998-05-29 1998-05-29 Multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10150309A JPH11345221A (en) 1998-05-29 1998-05-29 Multiprocessor system

Publications (1)

Publication Number Publication Date
JPH11345221A true JPH11345221A (en) 1999-12-14

Family

ID=15494204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10150309A Withdrawn JPH11345221A (en) 1998-05-29 1998-05-29 Multiprocessor system

Country Status (1)

Country Link
JP (1) JPH11345221A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100382939B1 (en) * 2001-07-19 2003-05-09 엘지전자 주식회사 Communication control method and apparatus for slave cpu

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100382939B1 (en) * 2001-07-19 2003-05-09 엘지전자 주식회사 Communication control method and apparatus for slave cpu

Similar Documents

Publication Publication Date Title
JP3849951B2 (en) Main memory shared multiprocessor
US20040268044A1 (en) Multiprocessor system with dynamic cache coherency regions
EP0497600B1 (en) Memory access method and apparatus
JPH03219345A (en) Multiport cache memory control device
US7007126B2 (en) Accessing a primary bus messaging unit from a secondary bus through a PCI bridge
JP4179677B2 (en) Multiprocessor device
US6874049B1 (en) Semaphores with interrupt mechanism
US5727179A (en) Memory access method using intermediate addresses
US7254667B2 (en) Data transfer between an external data source and a memory associated with a data processor
JPH11345221A (en) Multiprocessor system
JPH04104358A (en) microcomputer device
JPS6022779B2 (en) Multiprocessing system program loading method
JPS6024980B2 (en) microcomputer
JPS63310060A (en) multiprocessor system
JP2005107873A (en) Semiconductor integrated circuit
JPH03252856A (en) Processing system for program
US20020147894A1 (en) Program-controlled unit
KR950009411Y1 (en) Memory sharing circuit of multiple processors by time division
JP2007280209A (en) Multi-core processor monitoring method
JP2000029508A (en) Programmable controller
JP2657947B2 (en) Data processing device
JP2008204488A (en) Multi-processor device
JPH087663B2 (en) Computer system and storage device access method thereof
JP2009054000A (en) Multiprocessor system and cache management method
JPH07175661A (en) User program load system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802