JP2001014214A - Memory sharing method and multiprocessor facility using this method - Google Patents
Memory sharing method and multiprocessor facility using this methodInfo
- Publication number
- JP2001014214A JP2001014214A JP11180992A JP18099299A JP2001014214A JP 2001014214 A JP2001014214 A JP 2001014214A JP 11180992 A JP11180992 A JP 11180992A JP 18099299 A JP18099299 A JP 18099299A JP 2001014214 A JP2001014214 A JP 2001014214A
- Authority
- JP
- Japan
- Prior art keywords
- processor
- memory access
- memory
- proxy
- proxy transfer
- 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
Links
Landscapes
- Multi Processors (AREA)
Abstract
(57)【要約】
【課題】 メモリ共有方法において、複数のプロセッサ
のメモリアクセス速度に差がある場合に、メモリアクセ
ス速度が高速のプロセッサのオーバーヘッドを削減で
き、設備全体の性能の低下を防止することを目的とす
る。
【解決手段】 メモリアクセス速度が高速な第1プロセ
ッサ110へ、メモリアクセス速度がこの高速のプロセ
ッサより遅い第2プロセッサ120よりメモリアクセス
要求を発生するステップと、第1プロセッサ110が、
前記メモリアクセス要求に基づいて、プロセッサ動作中
に割り込み機能により、第2プロセッサ120のメモリ
アクセスを代理で実行するステップを有する。この方法
によれば、第1プロセッサ110のメモリ140に対す
る、第2プロセッサ120のメモリアクセスは1サイク
ルに限定され、メモリアクセス速度の差に無関係に一定
の待ち時間でメモリ共有が実現される。
(57) [Summary] [PROBLEMS] In a memory sharing method, when there is a difference in memory access speed between a plurality of processors, it is possible to reduce the overhead of a processor having a high memory access speed and prevent the performance of the entire equipment from deteriorating. The purpose is to: SOLUTION: A memory access request is generated from a second processor 120 having a lower memory access speed to a first processor 110 having a higher memory access speed, and the first processor 110 comprises:
A step of executing the memory access of the second processor 120 on behalf of the second processor 120 by the interrupt function during the operation of the processor based on the memory access request. According to this method, the memory access of the second processor 120 to the memory 140 of the first processor 110 is limited to one cycle, and the memory sharing is realized with a constant waiting time regardless of the difference in the memory access speed.
Description
【0001】[0001]
【発明の属する技術分野】本発明は2つ以上のマイクロ
プロセッサを用いたメモリ共有方法、およびこの方法を
使用したマイクロプロセッサ設備に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory sharing method using two or more microprocessors, and a microprocessor facility using the method.
【0002】[0002]
【従来の技術】2つ以上のマイクロプロセッサを用いた
設備では、マイクロプロセッサ間のデータ転送を行うた
め、あるいはメモリ使用量を削減するための手段とし
て、一つのメモリを2つ以上のマイクロプロセッサで共
有している。2つ以上のマイクロプロセッサを用いた設
備でメモリ共有を行う場合、通常のメモリを用いて安価
にシステムを構築する方法として、バス調停回路で時分
割にメモリを使用するバス解放型メモリ共有方法があ
る。2. Description of the Related Art In a facility using two or more microprocessors, one memory is used by two or more microprocessors as a means for transferring data between the microprocessors or reducing the amount of memory used. Sharing. When memory sharing is performed by equipment using two or more microprocessors, a bus release type memory sharing method that uses a memory in a time-sharing manner with a bus arbitration circuit is a method of constructing an inexpensive system using a normal memory. is there.
【0003】従来のバス解放型メモリ共有方法を、図1
1に示すマルチプロセッサ設備の構成例に基づいて説明
する。第1プロセッサ10と第2プロセッサ30はとも
にメモリ70のアドレスバス50およびデータバス60
に接続され、さらにバス調停回路20に接続されてお
り、各プロセッサ10,30のメモリ70へのアクセス
はバス調停回路20によって管理されている。A conventional bus-release type memory sharing method is shown in FIG.
1 will be described based on a configuration example of the multiprocessor facility shown in FIG. The first processor 10 and the second processor 30 are both connected to the address bus 50 and the data bus 60 of the memory 70.
Are connected to the bus arbitration circuit 20, and the access to the memory 70 of each of the processors 10 and 30 is managed by the bus arbitration circuit 20.
【0004】図12にバス調停回路20によるバス調停
の管理ルールの例を示す。このバス調停は先に要求を出
した方が優先され、同時に要求が発生した場合は優先順
位によって要求が受理される。第1プロセッサ10と第
2プロセッサ30のメモリアクセス速度が同等の場合の
メモリ共有動作を図13に基づいて説明する。FIG. 12 shows an example of a bus arbitration management rule by the bus arbitration circuit 20. In this bus arbitration, the one that has issued the request first has priority, and if a request occurs at the same time, the request is accepted according to the priority order. The memory sharing operation when the memory access speeds of the first processor 10 and the second processor 30 are equal will be described with reference to FIG.
【0005】まず、第1プロセッサ10より要求信号1
が発生されると、バス調停回路20はこの要求信号1に
従って応答信号1を発生し、第1プロセッサ10はこの
応答信号1の発生を確認してメモリアクセスを行う。次
に、第2プロセッサ30より要求信号2が発生される
と、バス調停回路20はこの要求信号2に従って応答信
号2を発生し、第2プロセッサ30はこの応答信号2の
発生を確認してメモリアクセスを行う。First, the first processor 10 sends a request signal 1
Is generated, the bus arbitration circuit 20 generates a response signal 1 in accordance with the request signal 1, and the first processor 10 confirms the generation of the response signal 1 and performs memory access. Next, when the request signal 2 is generated from the second processor 30, the bus arbitration circuit 20 generates a response signal 2 according to the request signal 2, and the second processor 30 confirms the generation of the response signal 2 and Perform access.
【0006】この第2プロセッサ30のメモリアクセス
中に第1プロセッサ10が要求信号1を発生した場合、
バス調停回路20は第2プロセッサ30のメモリアクセ
スが終了していないために応答信号1を発生せず、第1
プロセッサ10は応答信号1が発生されていないため要
求信号1が保留されているものとして動作を停止する。
図13の第1プロセッサ10の動作において命令(n+
7)が2回連続しているのは1サイクルの動作停止を表
している。しかし、第1,第2プロセッサ10,30の
メモリアクセス速度が同等の場合、この動作停止サイク
ル数は少ないため、システム全体の性能を著しく低下さ
せることはない。When the first processor 10 generates a request signal 1 during the memory access of the second processor 30,
The bus arbitration circuit 20 does not generate the response signal 1 because the memory access of the second processor 30 has not been completed,
The processor 10 stops the operation assuming that the request signal 1 is suspended because the response signal 1 has not been generated.
In the operation of the first processor 10 of FIG. 13, the instruction (n +
The fact that 7) is repeated twice indicates that the operation is stopped for one cycle. However, when the memory access speeds of the first and second processors 10 and 30 are equal, the number of operation stop cycles is small, so that the performance of the entire system is not significantly reduced.
【0007】そのため、バス解放型メモリ共有方法によ
るプロセッサ設備を設計する場合は、第1,第2プロセ
ッサ10,30のメモリアクセス速度が同等になるよう
に設計している。[0007] Therefore, when designing a processor facility based on the bus release type memory sharing method, the first and second processors 10 and 30 are designed to have the same memory access speed.
【0008】[0008]
【発明が解決しようとする課題】しかし、第1,第2プ
ロセッサ10,30のメモリアクセス速度が異なるプロ
セッサ設備も存在する。例としてディジタルシグナルプ
ロセッサとマイクロコンピュータで構成された設備が挙
げられる。ディジタルシグナルプロセッサはデジタル信
号処理を行うために高速なメモリアクセスを必要とする
が、一方、マイクロコンピュータはシステム制御を行う
ために低速なメモリアクセスで良い。このディジタルシ
グナルプロセッサとマイクロコンピュータでデータ通信
を行うための高速かつ安価な方法は上記バス解放型メモ
リ共有方法である。However, there are processor facilities in which the first and second processors 10 and 30 have different memory access speeds. As an example, there is a facility composed of a digital signal processor and a microcomputer. Digital signal processors require high-speed memory access to perform digital signal processing, while microcomputers require low-speed memory access to perform system control. A high-speed and inexpensive method for performing data communication between the digital signal processor and the microcomputer is the above-described bus release type memory sharing method.
【0009】このようなメモリ共有方法において、第
1,第2プロセッサ10,30のメモリアクセス速度に
差がある場合には設備全体の性能を著しく低下させると
いう問題があった。メモリアクセス速度に差がある場合
のメモリ共有動作を図14に基づいて説明する。In such a memory sharing method, when there is a difference between the memory access speeds of the first and second processors 10 and 30, there is a problem that the performance of the entire equipment is significantly reduced. The memory sharing operation when there is a difference in the memory access speed will be described with reference to FIG.
【0010】まず、第1プロセッサ10より要求信号1
が発生されると、バス調停回路20はこの要求信号1に
従って応答信号1を発生し、第1プロセッサ10はこの
応答信号1の発生を確認してメモリアクセスを行う。プ
ロセッサ1のメモリアクセス速度は高いためにアクセス
は短時間に終了する。次に、第2プロセッサ30より要
求信号2が発生されると、バス調停回路20はこの要求
信号2に従って応答信号2を発生し、第2プロセッサ3
0はこの応答信号2の発生を確認してメモリアクセスを
行う。第2プロセッサ30のメモリアクセス速度は低い
ためにアクセスに長時間かかる。First, the first processor 10 sends a request signal 1
Is generated, the bus arbitration circuit 20 generates a response signal 1 in accordance with the request signal 1, and the first processor 10 confirms the generation of the response signal 1 and performs memory access. Since the memory access speed of the processor 1 is high, the access ends in a short time. Next, when the request signal 2 is generated from the second processor 30, the bus arbitration circuit 20 generates the response signal 2 according to the request signal 2, and the second processor 3
No. 0 confirms the generation of the response signal 2 and performs memory access. Since the memory access speed of the second processor 30 is low, the access takes a long time.
【0011】この第2プロセッサ30のメモリアクセス
中に第1プロセッサ10が要求信号1を発生した場合、
バス調停回路20は第2プロセッサ30のメモリアクセ
スが終了していないために応答信号1を発生せず、第1
プロセッサ10は応答信号1が発生されていないため要
求信号1が保留されているものとして動作を停止する。
図14の第1プロセッサ10の動作において命令(n+
7)が6回連続しているのは5サイクルの動作停止を表
している。この動作停止による第1プロセッサ10のオ
ーバーヘッド(使用されていない余分な時間)は第1,
第2プロセッサ10,30のアクセス速度の差が大きい
ほど多くなる。When the first processor 10 generates a request signal 1 during the memory access of the second processor 30,
The bus arbitration circuit 20 does not generate the response signal 1 because the memory access of the second processor 30 has not been completed,
The processor 10 stops the operation assuming that the request signal 1 is suspended because the response signal 1 has not been generated.
In the operation of the first processor 10 in FIG. 14, the instruction (n +
The continuous operation of 7) six times indicates an operation stop of 5 cycles. The overhead of the first processor 10 due to this operation stoppage (excess time not used) is the first,
The number increases as the difference between the access speeds of the second processors 10 and 30 increases.
【0012】本発明は、このようなメモリ共有方法にお
いて、複数のプロセッサのメモリアクセス速度に差があ
る場合に、メモリアクセス速度が高速のプロセッサのオ
ーバーヘッドを削減でき、マルチプロセッサ設備全体の
性能の低下を防止できることを目的とする。According to the present invention, in such a memory sharing method, when there is a difference between the memory access speeds of a plurality of processors, the overhead of a processor having a high memory access speed can be reduced, and the performance of the entire multiprocessor facility is reduced. The purpose is to be able to prevent.
【0013】[0013]
【課題を解決するための手段】本発明のメモリ共有方法
においては、メモリアクセス速度に差がある複数のプロ
セッサを備えた設備においてメモリを共有する方法であ
って、メモリアクセス速度が高速なプロセッサへ、メモ
リアクセス速度がこの高速のプロセッサより遅い他のプ
ロセッサよりメモリアクセス要求を発生するステップ
と、前記高速プロセッサが、前記メモリアクセス要求に
基づいて、プロセッサ動作中に割り込み機能により、前
記他のプロセッサのメモリアクセスを代理で実行するス
テップを有することを特徴としたものである。SUMMARY OF THE INVENTION A memory sharing method according to the present invention is a method for sharing a memory in a facility having a plurality of processors having different memory access speeds. Generating a memory access request from another processor having a lower memory access speed than the high-speed processor, and the high-speed processor uses the interrupt function during the operation of the processor based on the memory access request to generate a request for the other processor. A step of executing a memory access as a proxy.
【0014】この本発明によれば、プロセッサのメモリ
アクセス速度に差がある場合に、メモリアクセス速度が
高速のプロセッサのオーバーヘッドを削減でき、設備全
体の性能の低下を防止できるメモリ共有方法が得られ
る。According to the present invention, when there is a difference in the memory access speed between the processors, it is possible to obtain a memory sharing method capable of reducing the overhead of a processor having a high memory access speed and preventing a decrease in the performance of the entire equipment. .
【0015】[0015]
【発明の実施の形態】本発明の請求項1に記載の発明
は、メモリアクセス速度に差がある複数のプロセッサを
備えた設備においてメモリを共有する方法であって、メ
モリアクセス速度が高速なプロセッサへ、メモリアクセ
ス速度がこの高速のプロセッサより遅い他のプロセッサ
よりメモリアクセス要求を発生するステップと、前記高
速プロセッサが、前記メモリアクセス要求に基づいて、
プロセッサ動作中に割り込み機能により、前記他のプロ
セッサのメモリアクセスを代理で実行するステップを有
することを特徴としたものであり、メモリアクセス速度
の異なるプロセッサ間のメモリ共有を高速プロセッサの
代理転送命令を用いて行うことにより、メモリアクセス
速度の差に無関係に一定の待ち時間でメモリ共有が実現
される、という作用を有する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention is a method for sharing a memory in a facility having a plurality of processors having different memory access speeds, wherein the processor has a high memory access speed. Generating a memory access request from another processor having a lower memory access speed than the high speed processor; andthe high speed processor, based on the memory access request,
A step of executing a memory access of the other processor by proxy by an interrupt function during operation of the processor, wherein a memory transfer between processors having different memory access speeds is executed by a proxy transfer instruction of the high speed processor. By using this method, there is an effect that memory sharing can be realized with a constant waiting time regardless of a difference in memory access speed.
【0016】請求項2に記載の発明は、メモリアクセス
速度に差がある複数のプロセッサを備え、メモリを共有
しているマルチプロセッサ設備であって、メモリアクセ
ス速度が高速なプロセッサに、前記メモリを接続し、こ
の高速プロセッサに、メモリアクセス速度が高速プロセ
ッサより遅い他のプロセッサからのメモリアクセス要求
に応じて、プロセッサ動作中に他のプロセッサのメモリ
アクセスに相当する代理転送命令を出力する割り込み調
停回路と、前記割り込み調停回路の代理転送命令に応じ
て、前記他のプロセッサのメモリアクセスを代理で実行
する代理転送命令生成回路と、前記メモリとデータの受
渡しを行う代理転送用レジスタと、前記代理転送用レジ
スタおよび他のプロセッサに接続される、外部アドレス
バスおよび外部データバスを設け、前記メモリアクセス
要求に対応した代理転送命令により、前記外部アドレス
バス、外部データバス、および代理転送用レジスタを介
して前記他のプロセッサからの前記メモリに対するライ
ト/リードを行う構成としたことを特徴したものであ
り、高速プロセッサの割り込み調停回路の代理転送命令
により、メモリとのリード/ライトは代理転送用レジス
タとの間で1サイクルで行われ、他のプロセッサはこの
代理転送用レジスタと外部アドレスバスおよび外部デー
タバスを介してリード/ライトを実行する。よって、高
速プロセッサのメモリに対して代理する、他のプロセッ
サのメモリアクセスは、1サイクルに限定され、メモリ
アクセス速度の差に無関係に一定の待ち時間でメモリ共
有が実現される、という作用を有する。According to a second aspect of the present invention, there is provided a multiprocessor facility comprising a plurality of processors having different memory access speeds and sharing a memory, wherein the processor has a high memory access speed. An interrupt arbitration circuit for connecting to the high speed processor and outputting a proxy transfer instruction corresponding to the memory access of the other processor during operation of the processor in response to a memory access request from another processor having a lower memory access speed than the high speed processor A proxy transfer instruction generating circuit for executing a memory access of the other processor as a proxy in response to a proxy transfer instruction of the interrupt arbitration circuit; a proxy transfer register for transferring data to and from the memory; Address bus and external data connected to registers for A bus for writing / reading from / to the memory from the other processor via the external address bus, the external data bus, and the register for proxy transfer by a proxy transfer instruction corresponding to the memory access request. In response to a proxy transfer instruction of an interrupt arbitration circuit of a high-speed processor, read / write to / from a memory is performed in one cycle between the proxy transfer register and another processor. And read / write via the external address bus and the external data bus. Therefore, the memory access of another processor acting as a substitute for the memory of the high-speed processor is limited to one cycle, and the memory is shared with a certain waiting time regardless of the difference in the memory access speed. .
【0017】請求項3に記載の発明は、請求項2に記載
の発明であって、高速プロセッサに、パイプライン動作
機能を設け、割り込み調停回路から出力された代理転送
命令を命令パイプライン中に挿入することによってメモ
リに対するライト/リードを行う構成としたことを特徴
としたものであり、割り込み調停回路から出力された代
理転送命令を命令パイプライン中に挿入することによっ
て高速で、メモリに対するライト/リードが行われると
いう作用を有する。A third aspect of the present invention is the invention according to the second aspect, wherein a high-speed processor is provided with a pipeline operation function, and a proxy transfer instruction output from the interrupt arbitration circuit is provided in the instruction pipeline. Inserting a proxy transfer instruction output from the interrupt arbitration circuit into the instruction pipeline enables writing / reading to / from the memory at a high speed. This has the effect that reading is performed.
【0018】請求項4に記載の発明は、請求項2または
請求項3に記載の発明であって、半導体基板上に形成さ
れたことを特徴としたものである。請求項5に記載の発
明は、メモリをそれぞれ有する複数のプロセッサを備え
たマルチプロセッサ設備であって、各プロセッサに、他
のプロセッサからのメモリアクセス要求に応じて、プロ
セッサ動作中に他のプロセッサのメモリアクセスに相当
する代理転送命令を出力する割り込み調停回路と、前記
割り込み調停回路の代理転送命令に応じて、前記他のプ
ロセッサのメモリアクセスを代理で実行する代理転送命
令生成回路と、前記メモリとデータの受渡しを行う代理
転送用レジスタと、前記代理転送用レジスタおよび他の
プロセッサに接続された、外部アドレスバスおよび外部
データバスを設け、各プロセッサの割り込み調停回路を
接続するリングを設け、前記リングを介して入力した前
記メモリアクセス要求に対応した代理転送命令により、
前記外部アドレスバス、外部データバス、および代理転
送用レジスタを介して前記他のプロセッサからの前記メ
モリに対するライト/リードを行う構成としたことを特
徴としたものであり、各プロセッサの割り込み調停回路
の代理転送命令により、メモリとのリード/ライトは代
理転送用レジスタとの間で1サイクルで行われ、他のプ
ロセッサはこの代理転送用レジスタと外部アドレスバス
および外部データバスを介してリード/ライトを実行す
る。よって、このメモリに対する、他のプロセッサのメ
モリアクセスは、1サイクルに限定され、メモリアクセ
ス速度の差に無関係に一定の待ち時間でメモリ共有が実
現され、メモリアクセス速度の異なるプロセッサによる
マルチプロセッサ設備が実現できる、という作用を有す
る。A fourth aspect of the present invention is the invention according to the second or third aspect, characterized in that the semiconductor device is formed on a semiconductor substrate. According to a fifth aspect of the present invention, there is provided a multiprocessor facility including a plurality of processors each having a memory, wherein each processor is provided with another processor during operation of the processor in response to a memory access request from the other processor. An interrupt arbitration circuit that outputs a proxy transfer instruction corresponding to a memory access; a proxy transfer instruction generation circuit that executes a memory access of the other processor as a proxy in response to the proxy transfer instruction of the interrupt arbitration circuit; A proxy transfer register for transferring data; an external address bus and an external data bus connected to the proxy transfer register and another processor; and a ring for connecting an interrupt arbitration circuit of each processor. By a proxy transfer instruction corresponding to the memory access request input through
A write / read to / from the memory from the other processor is performed via the external address bus, the external data bus, and the proxy transfer register, and an interrupt arbitration circuit of each processor is provided. According to the proxy transfer instruction, the read / write with respect to the memory is performed in one cycle between the proxy transfer register and the other processor, and the other processor performs the read / write via the proxy transfer register and the external address bus and the external data bus. Execute. Therefore, the memory access of the other processor to this memory is limited to one cycle, the memory sharing is realized with a constant waiting time regardless of the difference in the memory access speed, and the multiprocessor equipment by the processors having different memory access speeds is provided. It has the effect that it can be realized.
【0019】以下、本発明の実施の形態を図面に基づい
て説明する。 [実施の形態1]図1は本発明の実施の形態1における
メモリ共有方法を使用したマルチプロセッサ設備の構成
図である。メモリアクセス速度が高速の第1プロセッサ
110がメモリ140に接続されており、このメモリ1
40を、第1プロセッサ110よりメモリアクセス速度
が遅い第2プロセッサ120と共有する構成としてい
る。Hereinafter, embodiments of the present invention will be described with reference to the drawings. [First Embodiment] FIG. 1 is a configuration diagram of a multiprocessor facility using a memory sharing method according to a first embodiment of the present invention. The first processor 110 having a high memory access speed is connected to the memory 140, and the memory 1
40 is shared with a second processor 120 having a lower memory access speed than the first processor 110.
【0020】高速の第1プロセッサ110は、割り込み
調停回路111(詳細は後述する)と、割り込み調停回
路111の代理転送命令(後述する)に応じて、第2プ
ロセッサ120が要求したメモリアクセスを代理で実行
する代理転送命令生成回路112と、メモリ140との
データの受渡しを行う代理転送用レジスタ113と、代
理転送用レジスタ113に接続された外部アドレスバス
150および外部データバス160とを有しており、低
速の第2プロセッサ120は、第1プロセッサ110の
割り込み調停回路111と、外部アドレスバス150お
よび外部データバス160に接続されている。The high-speed first processor 110 substitutes a memory access requested by the second processor 120 in response to an interrupt arbitration circuit 111 (to be described in detail later) and a proxy transfer instruction (to be described later) of the interrupt arbitration circuit 111. , A proxy transfer register 113 for transferring data to and from the memory 140, and an external address bus 150 and an external data bus 160 connected to the proxy transfer register 113. The low-speed second processor 120 is connected to the interrupt arbitration circuit 111 of the first processor 110 and the external address bus 150 and the external data bus 160.
【0021】割り込み調停回路111は、従来からプロ
セッサ110が保有する回路であり、プログラム動作と
非同期で発生する要因(外部端子、タイマなど)に対し
て、割り込み処理を実行する。この割り込み処理の動作
を図2に示す。第1プロセッサ110は(n)、(n+
1)、(n+2)・・・という命令を逐次実行してい
る。これらの命令の中に、割り込みを許可する命令と割
り込みを禁止する命令があり、割り込みの許可、禁止を
制御するために命令に応じて割り込み許可信号を変化さ
せている。上記要因により割り込み要求信号がハイ(H
i)になると、割り込み許可信号がロー(Lo)の間、
割り込みの受理が延期され、割り込み許可信号が再びH
iになると、割り込みは受理され、割り込みルーチンに
分岐し、(p)、(p+1)、(p+2)・・・という
命令が逐次実行される。The interrupt arbitration circuit 111 is a circuit which is conventionally held by the processor 110, and executes an interrupt process for a factor (external terminal, timer, etc.) generated asynchronously with the program operation. The operation of this interrupt processing is shown in FIG. The first processor 110 (n), (n +
1), (n + 2)... Are sequentially executed. Among these instructions, there are an instruction for permitting an interrupt and an instruction for disabling an interrupt, and the interrupt enable signal is changed according to the instruction in order to control the permission and inhibition of the interrupt. The interrupt request signal is high (H
When i) is reached, while the interrupt enable signal is low (Lo),
The acceptance of the interrupt is postponed, and the interrupt enable signal goes high again.
When it becomes i, the interrupt is accepted, the process branches to an interrupt routine, and the instructions (p), (p + 1), (p + 2)... are sequentially executed.
【0022】本発明ではこの割り込み調停回路111に
代理転送割り込みの機能を追加している。代理転送割り
込みとは、「第1プロセッサ110の動作中に第2プロ
セッサ120のメモリアクセスに相当する転送を行うた
めの代理転送命令を実行すること」を表し、第2プロセ
ッサ120からのメモリアクセス要求に応じて、代理転
送命令生成回路112ヘ第2プロセッサ120のメモリ
アクセスに相当する代理転送命令を出力する。この代理
転送割込みによって、割り込み調停回路111は、従来
の図11の構成におけるバス調停回路20に代わって、
第1,第2プロセッサ110,120のメモリアクセス
の調停を実現する。In the present invention, a proxy transfer interrupt function is added to the interrupt arbitration circuit 111. The proxy transfer interrupt indicates “executing a proxy transfer instruction for performing a transfer corresponding to a memory access of the second processor 120 during the operation of the first processor 110”, and a memory access request from the second processor 120. , A proxy transfer instruction corresponding to the memory access of the second processor 120 is output to the proxy transfer instruction generation circuit 112. By this proxy transfer interrupt, the interrupt arbitration circuit 111 replaces the bus arbitration circuit 20 in the conventional configuration of FIG.
Arbitration of memory access between the first and second processors 110 and 120 is realized.
【0023】上記構成におけるメモリ共有動作を図3に
基づいて説明する。まず第2プロセッサ120より第1
プロセッサ110に対して要求信号130が発生され
る。すると、第1プロセッサ110の割り込み調停回路
111は、この要求信号130に基づいて代理転送命令
を実行するための調停動作を行う。すなわち、割り込み
調停回路111は応答信号131と共に代理転送実行信
号132を発生させ、代理転送命令生成回路112はこ
の代理転送実行信号132に応じて転送命令INSTを
生成する。この転送命令INSTは第2プロセッサ12
0が要求したメモリアクセスを代理で行うためのもの
で、リード要求の場合は代理転送用レジスタ113にメ
モリ140の内容が転送され、ライト要求の場合は代理
転送用レジスタ113の内容がメモリ140に転送され
る。この転送命令は第1プロセッサ110における1サ
イクルのみ使用する。第2プロセッサ120は、代理転
送用レジスタ113との間で、外部アドレスバス150
および外部データバス160を介してリード/ライトを
実行する。この第2プロセッサ120のアクセスは長時
間かかる。The memory sharing operation in the above configuration will be described with reference to FIG. First, the second processor 120 sends the first
A request signal 130 is generated for the processor 110. Then, the interrupt arbitration circuit 111 of the first processor 110 performs an arbitration operation for executing the proxy transfer instruction based on the request signal 130. That is, the interrupt arbitration circuit 111 generates the proxy transfer execution signal 132 together with the response signal 131, and the proxy transfer instruction generation circuit 112 generates the transfer instruction INST according to the proxy transfer execution signal 132. The transfer instruction INST is transmitted to the second processor 12
0 is for performing the requested memory access as a proxy. In the case of a read request, the contents of the memory 140 are transferred to the proxy transfer register 113. In the case of a write request, the contents of the proxy transfer register 113 are transferred to the memory 140. Will be transferred. This transfer instruction uses only one cycle in the first processor 110. The second processor 120 communicates with the proxy transfer register 113 via the external address bus 150.
And read / write via the external data bus 160. The access of the second processor 120 takes a long time.
【0024】上記のように代理転送命令に要するサイク
ル数は、メモリアクセス速度とは無関係に1サイクルの
みであるため、メモリアクセス速度の差が多くなっても
第1プロセッサ110のオーバーヘッドは増加しない。
よって、従来のような高速の第1プロセッサ110のオ
ーバーヘッドの増加を防止することができる。またこの
構成では第1プロセッサ110に本来備わっている割り
込み機能、転送命令を流用するため、第1プロセッサ1
10に代理転送割り込み機能、代理転送命令生成回路、
代理転送用レジスタを追加することで実現することがで
きる。図4に本発明による回路規模増加についての説明
を示す。従来構成における調停回路20に相当する回路
規模(あるいは回路規模の一部)が代理転送割り込み機
能として第1プロセッサ110に移動する形となるた
め、構成全体での回路規模の増加は代理転送命令生成回
路112、代理転送用レジスタ113の追加によるもの
のみとなる。As described above, the number of cycles required for the proxy transfer instruction is only one cycle irrespective of the memory access speed, so that the overhead of the first processor 110 does not increase even if the difference in the memory access speed increases.
Therefore, it is possible to prevent the overhead of the first processor 110 from increasing as in the related art. Further, in this configuration, since the interrupt function and the transfer instruction inherent in the first processor 110 are used, the first processor 1
10, a proxy transfer interrupt function, a proxy transfer instruction generation circuit,
This can be realized by adding a proxy transfer register. FIG. 4 illustrates the increase in the circuit scale according to the present invention. Since the circuit scale (or a part of the circuit scale) corresponding to the arbitration circuit 20 in the conventional configuration moves to the first processor 110 as the proxy transfer interrupt function, the increase in the circuit size in the entire configuration is caused by the generation of the proxy transfer instruction. Only the circuit 112 and the substitute transfer register 113 are added.
【0025】以下、本実施の形態1をディジタルシグナ
ルプロセッサ(第1プロセッサに相当する)に具体化し
た例を図5を示す。図5はメモリ制御を中心に構成を説
明した図である。要求/応答信号230として、メモリ
アクセスのチップセレクト信号/CS、ライト/リード
アクセスのイネーブル信号/WE,/RE、データの転
送動作中を外部に通知する応答信号/ACKを設けてい
る。これらの信号は図1における第2プロセッサ120
の要求信号130、応答信号131に対応している。FIG. 5 shows an example in which the first embodiment is embodied in a digital signal processor (corresponding to a first processor). FIG. 5 is a diagram for explaining the configuration focusing on the memory control. As the request / response signal 230, a chip select signal / CS for memory access, enable signals / WE and / RE for write / read access, and a response signal / ACK for notifying the outside of the data transfer operation are provided. These signals are transmitted to the second processor 120 in FIG.
Corresponding to the request signal 130 and the response signal 131.
【0026】またアドレス/データ信号231として、
AD[15:0]、DT[15:0]を設けている。こ
れらの信号は図1における外部アドレスバス150、外
部データバス160に対応している。これらの信号は割
り込み調停回路210、アドレスレジスタ220、デー
タレジスタ221に接続されている。これらアドレスレ
ジスタ221、データレジスタ220はそれぞれアドレ
スバス240、データバス250に接続されている。つ
まり図1における代理転送用レジスタ113に相当す
る。As the address / data signal 231,
AD [15: 0] and DT [15: 0] are provided. These signals correspond to the external address bus 150 and the external data bus 160 in FIG. These signals are connected to the interrupt arbitration circuit 210, the address register 220, and the data register 221. The address register 221 and the data register 220 are connected to an address bus 240 and a data bus 250, respectively. That is, it corresponds to the proxy transfer register 113 in FIG.
【0027】割り込み調停回路210は代理転送命令生
成回路211およびセレクタ280に接続されている。
セレクタ280は通常は命令メモリ270から供給され
る命令を第1命令レジスタ290に供給するが、代理転
送実行信号232が発生した場合は代理転送命令生成回
路211から供給される命令を第1命令レジスタ290
に供給する。第1命令レジスタ290は第1命令デコー
ダ291と第2命令レジスタ292に命令を供給する。
第2命令レジスタ292は第2命令デコーダ293に命
令を供給する。第1および第2命令デコーダ291,2
92は命令をデコードし、制御信号を各機能ブロックに
供給する。アドレスバス240とデータバス250に
は、メモリ140に相当するデータメモリ260、代理
転送用レジスタ223の他に、通常動作で使用するデー
タメモリポインタレジスタ261、演算用レジスタ26
2、演算器263が接続されている。The interrupt arbitration circuit 210 is connected to the proxy transfer instruction generation circuit 211 and the selector 280.
The selector 280 normally supplies the instruction supplied from the instruction memory 270 to the first instruction register 290. However, when the proxy transfer execution signal 232 is generated, the selector 280 transfers the instruction supplied from the proxy transfer instruction generation circuit 211 to the first instruction register 290. 290
To supply. The first instruction register 290 supplies instructions to the first instruction decoder 291 and the second instruction register 292.
The second instruction register 292 supplies an instruction to the second instruction decoder 293. First and second instruction decoders 291,
92 decodes the instruction and supplies a control signal to each functional block. The address bus 240 and the data bus 250 include a data memory 260 corresponding to the memory 140, a proxy transfer register 223, a data memory pointer register 261 used in normal operation, and an arithmetic register 26.
2. The arithmetic unit 263 is connected.
【0028】このディジタルシグナルプロセッサのパイ
プラインタイミング説明を図6に示す。パイプラインは
5段あり、命令メモリ270からの命令データを入力す
るIFステージ、第1命令デコーダ291より各機能ブ
ロックに制御信号が供給されるD1ステージ、第2命令
デコーダ293より各機能ブロックに制御信号が供給さ
れるD2ステージ、アドレスバス240よりデータメモ
リ260にアドレスが供給されるMAステージ、データ
バス250よりデータメモリ260にデータが供給され
る、あるいはデータメモリ260よりデータバス250
にデータが供給されるEXステージという構成になって
いる。転送命令によってデータメモリ260へライト、
あるいはデータレジスタ220にライトされるのはEX
ステージの終わりで行われる。FIG. 6 illustrates the pipeline timing of this digital signal processor. There are five pipeline stages, an IF stage for inputting instruction data from the instruction memory 270, a D1 stage in which a control signal is supplied from the first instruction decoder 291 to each functional block, and a control for each functional block from the second instruction decoder 293. D2 stage to which a signal is supplied, MA stage to which an address is supplied to data memory 260 from address bus 240, data to be supplied to data memory 260 from data bus 250, or data bus 250 from data memory 260
Is provided as an EX stage, to which data is supplied. Write to data memory 260 by transfer command,
Alternatively, the value written to the data register 220 is EX
It takes place at the end of the stage.
【0029】まずライト動作について、図7に示すタイ
ミング説明図に基づいて説明する。/CS、/WEをア
クティブにすることにより、ライトによる要求信号が発
生すると、AD[15:0]、DT[15:0]のアド
レス、データはアドレスレジスタ221、データレジス
タ220に格納される。同時に割り込み調停回路210
は代理転送実行信号232を発生する。この代理転送実
行信号232に従って、代理転送命令生成回路211は
代理転送命令を発生し、セレクタ280は代理転送命令
(r→m)を第1命令レジスタ290に供給する。この
代理転送命令は、『データレジスタ220からデータメ
モリ260へのデータの転送』を各機能ブロックに指示
する。この代理転送命令によって端子からデータメモリ
260へのライトが実施される。First, the write operation will be described with reference to the timing chart shown in FIG. When a request signal by writing is generated by activating / CS and / WE, the address and data of AD [15: 0] and DT [15: 0] are stored in the address register 221 and the data register 220. At the same time, the interrupt arbitration circuit 210
Generates a proxy transfer execution signal 232. In accordance with the proxy transfer execution signal 232, the proxy transfer command generation circuit 211 generates a proxy transfer command, and the selector 280 supplies the proxy transfer command (r → m) to the first command register 290. This proxy transfer instruction instructs each function block to “transfer data from data register 220 to data memory 260”. By this proxy transfer instruction, writing from the terminal to the data memory 260 is performed.
【0030】次にリード動作について、図8に示すタイ
ミング説明図に基づいて説明する。/CS、/REをア
クティブにすることにより、リードによる要求信号が発
生すると、AD[15:0]のアドレスはアドレスレジ
スタ221に格納される。同時に割り込み調停回路21
0は代理転送実行信号232を発生する。代理転送実行
信号232に従って、代理転送命令生成回路211は代
理転送命令(m→r)を発生し、セレクタ280は代理
転送命令を第1命令レジスタ290に供給する。この代
理転送命令は、『データメモリ260からデータレジス
タ220へのデータの転送』を各機能ブロックに指示す
る。この代理転送命令によってデータメモリ260から
端子へのリードが実施される。 [実施の形態2]図9は本発明の実施の形態2における
メモリ共有方法を使用したプロセッサ設備の構成図であ
る。Next, the read operation will be described with reference to the timing chart shown in FIG. When a request signal for reading is generated by activating / CS and / RE, the address of AD [15: 0] is stored in the address register 221. At the same time, the interrupt arbitration circuit 21
0 generates a proxy transfer execution signal 232. In accordance with the proxy transfer execution signal 232, the proxy transfer command generation circuit 211 generates a proxy transfer command (m → r), and the selector 280 supplies the proxy transfer command to the first instruction register 290. This proxy transfer instruction instructs each function block to “transfer data from data memory 260 to data register 220”. By this proxy transfer command, reading from the data memory 260 to the terminal is performed. [Second Embodiment] FIG. 9 is a configuration diagram of a processor facility using a memory sharing method according to a second embodiment of the present invention.
【0031】第1プロセッサ310、第2プロセッサ3
20、第3プロセッサ330はそれぞれ、割り込み調停
回路311,321,331、代理転送命令生成回路3
12,322,332、代理転送用レジスタ313,3
23,333を有している。また各プロセッサ310,
320,330はそれぞれ第1メモリ314、第2メモ
リ324、第3メモリ334に接続されている。各プロ
セッサにおける代理転送命令生成回路312,322,
332は、要求信号リング360、応答信号リング37
0でループ状に接続され、代理転送用レジスタ313,
323,333は共有アドレスバス340、共有データ
バス350で接続されている。First processor 310, second processor 3
20 and the third processor 330 respectively include an interrupt arbitration circuit 311, 321, 331 and a proxy transfer instruction generation circuit 3.
12, 322, 332, proxy transfer registers 313, 3
23,333. Each processor 310,
320 and 330 are connected to a first memory 314, a second memory 324, and a third memory 334, respectively. Proxy transfer instruction generation circuits 312 and 322 in each processor
332 is a request signal ring 360, a response signal ring 37
0, they are connected in a loop, and the proxy transfer registers 313,
323 and 333 are connected by a shared address bus 340 and a shared data bus 350.
【0032】このプロセッサ設備のメモリ共有動作を図
10に基づいて説明する。それぞれのプロセッサ31
0,320,330が他のプロセッサに接続されている
メモリ314,324,334にアクセスしたい場合は
要求信号を発行する。この要求信号は要求信号リング3
60を経由して各プロセッサを巡回する。各プロセッサ
は要求信号に従って代理転送命令を実施すると同時に応
答信号を発行する。応答信号は応答信号リング370を
経由して各プロセッサを巡回する。要求信号を発行した
プロセッサが応答信号を検出することで要求が受理さ
れ、一連の動作が終了する。図10において、要求信号
(n)は第1プロセッサ310が発行しており第2プロ
セッサ320のメモリ324へのアクセスを示す。この
信号(n)は第1プロセッサ310を始めとして第2プ
ロセッサ320、第3プロセッサ330、第1プロセッ
サ310と巡回する。第2プロセッサ320は信号
(n)が自分に対しての要求であると判断し、代理転送
命令を実施すると同時に応答信号(n)を発行する。こ
の応答信号(n)は第2プロセッサ320、第3プロセ
ッサ330、第1プロセッサ310と巡回する。第1プ
ロセッサ310が応答信号(n)を検出することによっ
て要求が受理されたことを示す。次に、第2プロセッサ
320が要求信号(n+1)を発行する。この要求信号
(n+1)は第3プロセッサ330のメモリ334への
アクセスを示す。要求信号(n+1)は第3プロセッサ
330、第1プロセッサ310を巡回する。第3プロセ
ッサ330は要求信号(n+1)が自分に対しての要求
であると判断し、代理転送命令を実施すると同時に応答
信号(n+1)を発行する。この応答信号(n+1)は
第1プロセッサ310、第2プロセッサ320と巡回す
る。第2プロセッサ320が応答信号(n+1)を検出
することによって要求が受理されたことを示す。The memory sharing operation of this processor facility will be described with reference to FIG. Each processor 31
When 0, 320, and 330 want to access the memories 314, 324, and 334 connected to other processors, they issue request signals. This request signal is a request signal ring 3
It goes around each processor via 60. Each processor executes the proxy transfer instruction according to the request signal and simultaneously issues a response signal. The response signal circulates through each processor via the response signal ring 370. When the processor that has issued the request signal detects the response signal, the request is accepted, and a series of operations ends. In FIG. 10, a request signal (n) is issued by the first processor 310 and indicates access of the second processor 320 to the memory 324. This signal (n) circulates through the first processor 310, the second processor 320, the third processor 330, and the first processor 310. The second processor 320 determines that the signal (n) is a request for itself, executes the proxy transfer command, and issues a response signal (n) at the same time. This response signal (n) circulates through the second processor 320, the third processor 330, and the first processor 310. The request is accepted by the first processor 310 detecting the response signal (n). Next, the second processor 320 issues a request signal (n + 1). The request signal (n + 1) indicates an access to the memory 334 of the third processor 330. The request signal (n + 1) goes around the third processor 330 and the first processor 310. The third processor 330 determines that the request signal (n + 1) is a request for itself, executes the proxy transfer command, and issues a response signal (n + 1) at the same time. This response signal (n + 1) goes around with the first processor 310 and the second processor 320. The request has been accepted by the second processor 320 detecting the response signal (n + 1).
【0033】実施の形態2においても、代理転送命令に
要するサイクル数は、メモリアクセス速度とは無関係に
1サイクルのみであるため、上記一連の動作によるプロ
セッサ設備全体の性能低下を抑えることができ、そのた
め、このプロセッサ設備の構成はメモリアクセス速度に
差がある複数のプロセッサを用いた場合に極めて有効で
ある。Also in the second embodiment, since the number of cycles required for the proxy transfer instruction is only one cycle irrespective of the memory access speed, it is possible to suppress a decrease in the performance of the entire processor equipment due to the above series of operations. Therefore, the configuration of this processor facility is extremely effective when a plurality of processors having different memory access speeds are used.
【0034】なお、本実施の形態1および2における、
複数のプロセッサおよびメモリは単一あるいは複数の半
導体基板上に形成することができる。In the first and second embodiments,
A plurality of processors and memories can be formed on a single or a plurality of semiconductor substrates.
【0035】[0035]
【発明の効果】以上のように本発明によれば、メモリア
クセス速度の異なるプロセッサ間のメモリ共有を代理転
送命令を用いて行うことにより、メモリアクセス速度の
差に無関係に一定の待ち時間でメモリ共有を実現するこ
とができる。As described above, according to the present invention, memory sharing between processors having different memory access speeds is performed by using a proxy transfer instruction, so that a memory can be stored with a constant waiting time regardless of a difference in memory access speed. Sharing can be realized.
【図1】本発明の実施の形態1におけるメモリ共有方法
を使用したマルチプロセッサ設備の構成図である。FIG. 1 is a configuration diagram of a multiprocessor facility using a memory sharing method according to a first embodiment of the present invention.
【図2】同マルチプロセッサ設備の割り込み調停回路の
動作説明図である。FIG. 2 is an explanatory diagram of an operation of an interrupt arbitration circuit of the multiprocessor facility.
【図3】同マルチプロセッサ設備のメモリ共有動作説明
図である。FIG. 3 is an explanatory diagram of a memory sharing operation of the multiprocessor facility.
【図4】同マルチプロセッサ設備における回路規模増加
説明図である。FIG. 4 is an explanatory diagram of an increase in circuit scale in the multiprocessor facility.
【図5】同マルチプロセッサ設備のディジタルシグナル
プロセッサの構成図である。FIG. 5 is a configuration diagram of a digital signal processor of the multiprocessor facility.
【図6】同マルチプロセッサ設備のディジタルシグナル
プロセッサのパイプラインタイミング説明図である。FIG. 6 is an explanatory diagram of pipeline timing of a digital signal processor of the multiprocessor facility.
【図7】同マルチプロセッサ設備のディジタルシグナル
プロセッサのライト動作タイミング説明図である。FIG. 7 is an explanatory diagram of a write operation timing of the digital signal processor of the multiprocessor facility.
【図8】同マルチプロセッサ設備のディジタルシグナル
プロセッサのリード動作タイミング説明図である。FIG. 8 is an explanatory diagram of a read operation timing of the digital signal processor of the multiprocessor facility.
【図9】本発明の実施の形態2におけるメモリ共有方法
を使用したマルチプロセッサ設備の構成図である。FIG. 9 is a configuration diagram of a multiprocessor facility using a memory sharing method according to a second embodiment of the present invention.
【図10】同マルチプロセッサ設備のプロセッサ間メモ
リ共有動作説明図である。FIG. 10 is an explanatory diagram of a memory sharing operation between processors of the multiprocessor facility.
【図11】従来のバス解放型メモリ共有方法を使用した
マルチプロセッサ設備の構成図である。FIG. 11 is a configuration diagram of a multiprocessor facility using a conventional bus release type memory sharing method.
【図12】従来のマルチプロセッサ設備のバス調停回路
の動作説明図である。FIG. 12 is a diagram illustrating the operation of a conventional bus arbitration circuit of a multiprocessor facility.
【図13】従来のマルチプロセッサ設備のメモリ共有動
作説明図である。FIG. 13 is an explanatory diagram of a memory sharing operation of a conventional multiprocessor facility.
【図14】従来のマルチプロセッサ設備のメモリ共有動
作説明図である。FIG. 14 is an explanatory diagram of a memory sharing operation of a conventional multiprocessor facility.
110 第1プロセッサ(高速プロセッサ) 111,210,311,321,331 割り込み
調停回路 112,211,312,322,332 代理転送
命令生成回路 113,313,323,333 代理転送用レジス
タ 120 第2プロセッサ(低速プロセッサ) 140,314,324,334 メモリ 150 外部アドレスバス 160 外部データバス 220 データレジスタ(代理転送用レジスタ) 221 アドレスレジスタ(代理転送用レジスタ) 230 要求信号 231 外部アドレスバス、外部データバス 240 アドレスバス 250 データバス 260 データメモリ 270 命令メモリ 280 セレクタ 290 第1命令レジスタ 291 第1命令デコーダ 292 第2命令レジスタ 293 第2命令デコーダ 310、320、330 プロセッサ 340 共有アドレスバス 350 共有データバス 360 要求信号リング 370 応答信号リング110 First processor (high-speed processor) 111, 210, 311, 321, 331 Interrupt arbitration circuit 112, 211, 312, 322, 332 Proxy transfer instruction generation circuit 113, 313, 323, 333 Proxy transfer register 120 Second processor ( 140, 314, 324, 334 Memory 150 External address bus 160 External data bus 220 Data register (register for proxy transfer) 221 Address register (register for proxy transfer) 230 Request signal 231 External address bus, external data bus 240 Address Bus 250 data bus 260 data memory 270 instruction memory 280 selector 290 first instruction register 291 first instruction decoder 292 second instruction register 293 second instruction decoder 310,320, 30 Processor 340 shared address bus 350 the shared data bus 360 request signal ring 370 response signal ring
Claims (5)
ロセッサを備えた設備においてメモリを共有する方法で
あって、 メモリアクセス速度が高速なプロセッサへ、メモリアク
セス速度がこの高速のプロセッサより遅い他のプロセッ
サよりメモリアクセス要求を発生するステップと、 前記高速プロセッサが、前記メモリアクセス要求に基づ
いて、プロセッサ動作中に割り込み機能により、前記他
のプロセッサのメモリアクセスを代理で実行するステッ
プを有することを特徴とするメモリ共有方法。1. A method for sharing a memory in a facility having a plurality of processors having different memory access speeds, comprising: providing a processor having a higher memory access speed to another processor having a lower memory access speed than the processor having a higher memory access speed. Generating a memory access request from a processor; and executing the memory access of the other processor on behalf of the other processor by an interrupt function during operation of the processor based on the memory access request. Memory sharing method.
ロセッサを備え、メモリを共有しているマルチプロセッ
サ設備であって、 メモリアクセス速度が高速なプロセッサに、前記メモリ
を接続し、 この高速プロセッサに、 メモリアクセス速度が高速プロセッサより遅い他のプロ
セッサからのメモリアクセス要求に応じて、プロセッサ
動作中に他のプロセッサのメモリアクセスに相当する代
理転送命令を出力する割り込み調停回路と、 前記割り込み調停回路の代理転送命令に応じて、前記他
のプロセッサのメモリアクセスを代理で実行する代理転
送命令生成回路と、 前記メモリとデータの受渡しを行う代理転送用レジスタ
と、 前記代理転送用レジスタおよび他のプロセッサに接続さ
れる、外部アドレスバスおよび外部データバスを設け、 前記メモリアクセス要求に対応した代理転送命令によ
り、前記外部アドレスバス、外部データバス、および代
理転送用レジスタを介して前記他のプロセッサからの前
記メモリに対するライト/リードを行う構成としたこと
を特徴とするマルチプロセッサ設備。2. A multiprocessor facility comprising a plurality of processors having different memory access speeds and sharing a memory, wherein the memory is connected to a processor having a high memory access speed, and An interrupt arbitration circuit that outputs a proxy transfer instruction corresponding to memory access of another processor during operation of the processor in response to a memory access request from another processor whose memory access speed is lower than that of the high-speed processor; A proxy transfer instruction generation circuit that executes a memory access of the other processor as a proxy in response to a proxy transfer instruction; a proxy transfer register that transfers data to and from the memory; a proxy transfer register and another processor. Provide external address bus and external data bus to be connected A write / read operation to / from the memory from the other processor is performed through the external address bus, the external data bus, and the proxy transfer register in response to a proxy transfer instruction corresponding to a memory access request. Multiprocessor equipment.
能を設け、 割り込み調停回路から出力された代理転送命令を命令パ
イプライン中に挿入することによってメモリに対するラ
イト/リードを行う構成としたことを特徴とする請求項
2記載のマルチプロセッサ設備。3. A high-speed processor is provided with a pipeline operation function, and writes / reads from / to a memory by inserting a proxy transfer instruction output from an interrupt arbitration circuit into an instruction pipeline. The multiprocessor facility according to claim 2, wherein
る請求項2または請求項3記載のマルチプロセッサ設
備。4. The multiprocessor facility according to claim 2, wherein the multiprocessor facility is formed on a semiconductor substrate.
サを備えたマルチプロセッサ設備であって、 各プロセッサに、 他のプロセッサからのメモリアクセス要求に応じて、プ
ロセッサ動作中に他のプロセッサのメモリアクセスに相
当する代理転送命令を出力する割り込み調停回路と、 前記割り込み調停回路の代理転送命令に応じて、前記他
のプロセッサのメモリアクセスを代理で実行する代理転
送命令生成回路と、 前記メモリとデータの受渡しを行う代理転送用レジスタ
と、 前記代理転送用レジスタおよび他のプロセッサに接続さ
れた、外部アドレスバスおよび外部データバスを設け、 各プロセッサの割り込み調停回路を接続するリングを設
け、 前記リングを介して入力した前記メモリアクセス要求に
対応した代理転送命令により、前記外部アドレスバス、
外部データバス、および代理転送用レジスタを介して前
記他のプロセッサからの前記メモリに対するライト/リ
ードを行う構成としたことを特徴とするマルチプロセッ
サ設備。5. A multiprocessor facility comprising a plurality of processors each having a memory, wherein each of the processors corresponds to a memory access of another processor during operation of the processor in response to a memory access request from the other processor. An interrupt arbitration circuit that outputs a proxy transfer instruction to perform a transfer of the data to and from the memory; a proxy transfer instruction generation circuit that executes a memory access of the other processor as a proxy in response to the proxy transfer instruction of the interrupt arbitration circuit; A proxy transfer register to be performed; an external address bus and an external data bus connected to the proxy transfer register and another processor; a ring connecting interrupt arbitration circuits of the respective processors; and an input through the ring The proxy transfer instruction corresponding to the memory access request Part address bus,
A multiprocessor facility, wherein writing / reading to / from the memory from the other processor is performed via an external data bus and a proxy transfer register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11180992A JP2001014214A (en) | 1999-06-28 | 1999-06-28 | Memory sharing method and multiprocessor facility using this method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11180992A JP2001014214A (en) | 1999-06-28 | 1999-06-28 | Memory sharing method and multiprocessor facility using this method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001014214A true JP2001014214A (en) | 2001-01-19 |
Family
ID=16092854
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11180992A Pending JP2001014214A (en) | 1999-06-28 | 1999-06-28 | Memory sharing method and multiprocessor facility using this method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001014214A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005015386A1 (en) * | 2003-08-07 | 2005-02-17 | Matsushita Electric Industrial Co., Ltd. | Processor integrated circuit and product development method using the processor integrated circuit |
| JP2008250985A (en) * | 2007-03-08 | 2008-10-16 | Ricoh Co Ltd | Semiconductor integrated circuit and image processing apparatus |
-
1999
- 1999-06-28 JP JP11180992A patent/JP2001014214A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005015386A1 (en) * | 2003-08-07 | 2005-02-17 | Matsushita Electric Industrial Co., Ltd. | Processor integrated circuit and product development method using the processor integrated circuit |
| JP2008250985A (en) * | 2007-03-08 | 2008-10-16 | Ricoh Co Ltd | Semiconductor integrated circuit and image processing apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900004006B1 (en) | Micro processor system | |
| US7581054B2 (en) | Data processing system | |
| US4835684A (en) | Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus | |
| US4853847A (en) | Data processor with wait control allowing high speed access | |
| KR970003321B1 (en) | System using microprocessor address lines coprocessor selection within a multi-coprocessor apparatus | |
| JP2581323B2 (en) | How to update reference bits and change bits | |
| EP0348240A2 (en) | Microprocessor equipped with parity control unit on same chip | |
| US5742842A (en) | Data processing apparatus for executing a vector operation under control of a master processor | |
| US5699553A (en) | Memory accessing device for a pipeline information processing system | |
| JP2001014214A (en) | Memory sharing method and multiprocessor facility using this method | |
| JP4592944B2 (en) | CPU interface circuit | |
| JP3077807B2 (en) | Microcomputer system | |
| JP3491588B2 (en) | External bus controller | |
| JP2002278753A (en) | Data processing system | |
| JPH1185673A (en) | Method and apparatus for controlling shared bus | |
| JP3144918B2 (en) | Vector processing equipment | |
| JPS6014435B2 (en) | Storage device | |
| JP3219422B2 (en) | Cache memory control method | |
| JPH06301641A (en) | Electronic computer | |
| JPH10154124A (en) | Microprocessor and multiprocessor system | |
| JPS59189435A (en) | Data transfer control device | |
| JPH01121965A (en) | Microprocessor | |
| JP2821176B2 (en) | Information processing device | |
| JPS60159958A (en) | Data transfer controlling circuit | |
| JPH07113914B2 (en) | Memory controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment |
Year of fee payment: 6 Free format text: PAYMENT UNTIL: 20080118 |
|
| FPAY | Renewal fee payment |
Year of fee payment: 7 Free format text: PAYMENT UNTIL: 20090118 |
|
| FPAY | Renewal fee payment |
Free format text: PAYMENT UNTIL: 20090118 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment |
Free format text: PAYMENT UNTIL: 20100118 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment |
Free format text: PAYMENT UNTIL: 20110118 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |