JPS62274452A - Dual port memory - Google Patents

Dual port memory

Info

Publication number
JPS62274452A
JPS62274452A JP11736586A JP11736586A JPS62274452A JP S62274452 A JPS62274452 A JP S62274452A JP 11736586 A JP11736586 A JP 11736586A JP 11736586 A JP11736586 A JP 11736586A JP S62274452 A JPS62274452 A JP S62274452A
Authority
JP
Japan
Prior art keywords
interrupt
port
microprocessor
microprocessors
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.)
Pending
Application number
JP11736586A
Other languages
Japanese (ja)
Inventor
Shoji Fuse
布施 庄司
Eiichi Ooka
大岡 栄一
Hideyuki Furukawa
英之 古川
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP11736586A priority Critical patent/JPS62274452A/en
Publication of JPS62274452A publication Critical patent/JPS62274452A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the data processing efficiency of a multiprocessor system by allowing only a desired microprocessor out of plural microprocessors sharing a system bus to perform the interrupt processing and holding the control operation in microprocessors which do not require the interrupt processing. CONSTITUTION:It is discriminated whether the interrupt request from microprocessor Mpu10-Mpu1i (Mpu20-Mpu2i) sharing one system bus SB1 (SB2) to microprocessor Mpu20-Mpu2i (Mpu10-Mpu1i) sharing the other system but SB2 (SB1) is permitted or not by a logic circuit LOG1 (LOG2) on a basis of data stored in an interrupt permission register RIM1 (RIM1), and interrupt signal phiirq20-phiirq2i (phiirq10-phiirq1i) are individually supplied to microprocessors Mpu20-Mpu2i (Mpu10-Mpu1i). Consequently, microprocessors which do not require the interrupt processing can continue the control operation as they are.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明はデュアルポートメモリに係り、例えば夫々のポ
ートにシステムバスを介して複数のマイクロプロセッサ
が結合されて成るようなマルチプロセッサシステムに適
用して有効な技術に関するものである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a dual-port memory, in which a plurality of microprocessors are connected to each port via a system bus, for example. The present invention relates to techniques that are effective when applied to multiprocessor systems.

〔従来技術〕[Prior art]

マイクロプロセラサシステl−のデータ処理能力を向上
させるには、昭和60年12月25日オーム社発行の「
マイクロコンピュータハンドブック」P679に記載さ
れるように、2つのプロセッサにデュアルポートメモリ
を共有させて相互に斯るメモリを個別的にアクセス可能
にしたマルチプロセッサシステムを採用することができ
る。
To improve the data processing capacity of the micro processor system l-, please refer to the "
As described in "Microcomputer Handbook" P679, it is possible to employ a multiprocessor system in which two processors share a dual port memory so that they can mutually access the memory individually.

本発明者等は、斯るデュアルポートメモリの各ポートに
結合するシステムバスに夫々複数のマイクロプロセッサ
を結合することにより、システム全体の高機能化を図る
ことを考えた。その場合、デュアルポートメモリの2つ
のポートの夫々から相手方のポートへの割込みが可能と
なるように、両ポー1−に対応して夫々1種類づつ割込
み信号を出力可能な割込み制御回路をデュアルポートに
設けることを検討した。即ち、一方のポート側のプロセ
ッサから他方のボート側のプロセッサに割込み要求が出
され、その要求が受け付けられたとき。
The present inventors considered increasing the functionality of the entire system by connecting a plurality of microprocessors to each system bus connected to each port of such a dual port memory. In that case, in order to enable interrupts from each of the two ports of the dual port memory to the other port, an interrupt control circuit capable of outputting one type of interrupt signal each corresponding to both ports 1- is installed in the dual port memory. We considered establishing a That is, when an interrupt request is issued from the processor on one port side to the processor on the other port side, and the request is accepted.

他方のボート側から、斯るポートに結合する全てのマイ
クロプロセッサに同一の割込み信号を供給する。
From the other port side, the same interrupt signal is provided to all microprocessors coupled to that port.

〔発明が解決しようとする問題点〕 しかしながら、上記した検討技術では、デュアルポート
メモリの各ポート側からは夫々1種類づつの割込み信号
しか出力されないので、一方のポー1へ側の特定のマイ
クロプロセッサだけに割込み処理をさせたくても、一方
のシステムバスを共有する全てのマイクロプロセッサに
割込みイど号が供  ′給されるので、割込み処理を必
要としないマイクロプロセッサもその動作が停止される
事態を招き。
[Problems to be Solved by the Invention] However, in the above-mentioned study technique, only one type of interrupt signal is output from each port side of the dual port memory. Even if you want only one system bus to process interrupts, the interrupt signal is supplied to all microprocessors that share one system bus, so even microprocessors that do not need interrupt processing may have their operations stopped. Invite.

それによって、システムのデータ処理効率が著しく低下
してしまうことが明らかになった。
It has become clear that this significantly reduces the data processing efficiency of the system.

本発明の目的は、デュアルポートの夫々に結合されるシ
ステムバスの少なくとも一方に複数のマイクロプロセッ
サを共有させて成るマルチプロセッサシステムのデータ
処理効率を向上させることができるデュアルポートメモ
リを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a dual port memory capable of improving the data processing efficiency of a multiprocessor system in which a plurality of microprocessors share at least one of the system buses coupled to each of the dual ports. be.

本発明の前記ならびにそのほかの目的と新規な特徴は、
本明細書の記述及び添付図面から明らかになるであろう
The above and other objects and novel features of the present invention include:
It will become clear from the description of this specification and the accompanying drawings.

〔問題点を解決するための手段〕[Means for solving problems]

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、他方のポートに結合されるべきマイクロプロ
セッサを特定して一方のポートに結合されるべきマイク
ロプロセッサから出力される割込み要求データを格納可
能な割込み要求レジスタと、他方のポートにおける割込
み可否状態を斯るポートに結合されるべきマイクロプロ
セッサに対応させて格納可能な割込み許可レジスタと、
他方のポートに結合されるべき各マイクロプロセッサに
上記両レジスタの格納データに基づいて形成される割込
み信号を格別に供給可能とするロジック回路とが、各ポ
ー1〜に対応して設けられて成る割込み制御回路を設け
たものである。
That is, an interrupt request register capable of specifying a microprocessor to be coupled to the other port and storing interrupt request data output from the microprocessor to be coupled to one port, and an interrupt enable/disable state of the other port are provided. a storable interrupt enable register corresponding to a microprocessor to be coupled to such port;
A logic circuit that can specifically supply an interrupt signal formed based on the data stored in both registers to each microprocessor to be coupled to the other port is provided corresponding to each port 1 to 1. It is equipped with an interrupt control circuit.

〔作 用〕[For production]

上記した手段によれば、1つのシステムバスを共有する
複数のマイクロプロセッサのうちの所望のマイクロプロ
セッサに対する割込み要求は、割込み許可レジスタに格
納されているデータに基づいて斯るマイクロプロセッサ
毎にその可否がロジック回路で判定されることにより、
一方のポートに結合されるシステムバス側のマイクロプ
ロセッサから、他方のポー1−に結合されるシステムバ
スを共有する複数のマイクロプロセッサのうちの所望の
マイクロプロセッサに割込み許可レベルの割込み信号を
選択的に供給可能となり、それによって、マルチプロセ
ッサシステムのデータ処理効率の向上を達成するもので
ある。
According to the above means, an interrupt request to a desired microprocessor among a plurality of microprocessors sharing one system bus is determined for each microprocessor based on data stored in the interrupt permission register. is determined by a logic circuit,
Selectively transmits an interrupt signal at an interrupt enable level from a system bus side microprocessor coupled to one port to a desired microprocessor among multiple microprocessors sharing the system bus coupled to the other port. The data processing efficiency of the multiprocessor system can thereby be improved.

〔実施例〕〔Example〕

第1図は本発明に斯るデュアルポートメモリが適用され
るマルチプロセッサシステムの構成ブロック図である。
FIG. 1 is a block diagram of a multiprocessor system to which a dual port memory according to the present invention is applied.

データを書き換え可能に格納するデュアルポートメモリ
DI’Mは、その第1ポートP1及び第2ボートP2を
介して夫々第1システムバスSBI及び第2システムバ
スSB2に結合される。第1システムバスSBIには、
複数のマイクロプロセッサMPuLll乃至Mpu1i
、 RA M (9ンダム・アクセス・メモリ)から成
るような第1外部データメモリDMI、及び図示しない
その他の外部装置が結合される。上記マイクロプロセッ
サMpu1゜乃至Mpu、iが上記第1データメモリD
MIやデュアルポートメモリDPMなどの外部装置をア
クセスするとき、マイクロプロセッサMpu、。乃至M
pu1iのうちの何れに第1システムバスSBIを占有
使用させるかの制御は、斯るマイクロプロセッサMpu
1、乃至Mpuliによるシステムバス5131の占有
使用要求を相互に調停する図示しないバスアービタや、
マイクロプロセッサMpu1.乃至Mpu1iのバスサ
イクルに特有なステータス信号を受け、それをデコード
して所定のコマンド信号を出力する図示しないバスコン
トローラを内蔵する第1バスコントロール部r(C1に
よって行なわれるようになっている。
A dual port memory DI'M that rewritably stores data is coupled to a first system bus SBI and a second system bus SB2 via its first port P1 and second port P2, respectively. The first system bus SBI has
Multiple microprocessors MPuLll to Mpu1i
, a first external data memory DMI, such as RAM (Random Access Memory), and other external devices not shown. The microprocessors Mpu1 to Mpu,i are connected to the first data memory D.
When accessing external devices such as MI and dual port memory DPM, the microprocessor Mpu. ~M
The microprocessor Mpu1 controls which of the pu1i is made to exclusively use the first system bus SBI.
1. A bus arbiter (not shown) that mutually arbitrates requests for exclusive use of the system bus 5131 by Mpuli;
Microprocessor Mpu1. This is performed by a first bus control unit r (C1) which includes a bus controller (not shown) that receives status signals specific to the bus cycles of Mpu1i, decodes them, and outputs predetermined command signals.

上記第2システ11バスSB2には、複数のマイクロプ
ロセッサMpu、a乃至Mpuzi、 RAM (ラン
ダム・アクセス・メモリ)から成るような第2外部デー
タメモリDM2、及びその他の外部装置が結合される。
A plurality of microprocessors Mpu, a to Mpuzi, a second external data memory DM2 such as a RAM (Random Access Memory), and other external devices are coupled to the second system 11 bus SB2.

上記マイクロプロセッサMpu2゜乃至Mpu、Lが゛
上記データメモリDM2やデュアルポートメモリDI”
Mなどの外部装置をアクセスするとき、マイクロプロセ
ッサMpu、。乃至Mpu2iのうちの何れに第2シス
テ11バスSR2を占有使用させるかの制御は、斯るマ
イクロプロセッサM p u 2 I+乃至Mpu□i
によるシステムバスS B 2の占有使用要求を相互に
調停する図示しないバスアービタや、マイクロプロセッ
サMpu、o乃至Mpu、+のバスサイクルに特有なス
テータス信号を受け、それをデコードして所定のコマン
ド信号を出力する図示しないバスコントローラを内蔵す
る第2バスコントロール部RC2によって行なわれろよ
うになっている。
The microprocessors Mpu2 to Mpu,L are the data memory DM2 and dual port memory DI.
When accessing an external device such as a microprocessor Mpu,. The microprocessors Mpu2I+ to Mpu□i control which of the microprocessors Mpu2I+ to Mpu2i is allowed to exclusively use the second system 11 bus SR2.
A bus arbiter (not shown) that mutually arbitrates requests for exclusive use of the system bus S This is carried out by a second bus control unit RC2 that includes a bus controller (not shown) that outputs the output.

上記デュアルポートメモリD、 P Mは、後で説明す
るような構成によって、第1システムバスSB1を共有
するマイクロプロセッサMρ11.。乃至Mpu、iと
、第2システムバスSB2を共有するマイクロプロセッ
サMPIJ2゜乃至Mρu2jとにより、大々第1ボー
トpt及び第2ポートP2を介して格別にアクセス可能
にされる。このように、斯るデュアルポートメモリDP
Mは、一般的なデュアルポートメモリのそれと同様に1
両ポート側のマイクロプロセッサ相互間でのデータの交
換などに利用される。
The dual port memories D, PM have a configuration as will be described later, and are connected to microprocessors Mρ11 . . to Mpu,i and the microprocessors MPIJ2 to Mpu2j sharing the second system bus SB2 are made particularly accessible via the first port pt and the second port P2. In this way, such dual port memory DP
M is 1 like that of general dual port memory.
It is used for exchanging data between the microprocessors on both ports.

本実施例のデュアルポートメモリDPMは、断るデータ
交換などの際に、その一方のポート側のマイクロプロセ
ッサから他方のポート側のマイクロプロセッサに対する
割込み要求が出されたときにそれを処理するため、第2
図に示される割込み制御回路INTを有する。
The dual port memory DPM of this embodiment processes an interrupt request issued from the microprocessor on one port to the microprocessor on the other port when data exchange is declined. 2
It has an interrupt control circuit INT shown in the figure.

即ち、割込み制御回路INTは、図示のように、第1.
第2割込み要求レジスタRID1.RID2、第1、割
込み許可レジスタRIMI、RIM2、及び第1.第2
回路LOGI、LOG2を持つ。回路RI D l、R
I M 1、及びL OG lは、第1ポートに対応さ
れ1回路RID2.RIM2゜及びr、OG2は、第2
ポートに対応される。
That is, the interrupt control circuit INT has the first .
Second interrupt request register RID1. RID2, first, interrupt enable register RIMI, RIM2, and first. Second
It has circuits LOGI and LOG2. Circuit RI D l, R
I M 1 and L OG l correspond to the first port and have one circuit RID2. RIM2° and r, OG2 are the second
corresponds to the port.

第1割込み要求レジスタRIDIは、第1システムバス
SBIに結合される第1ボートに夫々が結合されている
。この第1割込み要求レジスタRIDIは、複数数の割
込み要求の受け付けが可能なように、複数ビットのデー
タ保持手段から構成される。特に制限されないが、第1
割込み要求レジスタRIDtの各ビットは、第1ポート
を介して供給されるアドレス信号が夫々特定の状態にさ
れたときに選択されるように、夫々に特定のアドレスが
与えられる。
The first interrupt request registers RIDI are each coupled to a first port coupled to the first system bus SBI. The first interrupt request register RIDI is composed of a plurality of bits of data holding means so as to be able to accept a plurality of interrupt requests. Although not particularly limited, the first
Each bit of the interrupt request register RIDt is given a specific address so as to be selected when the address signal supplied via the first port is set to a specific state.

第1割込み許可レジスタRIMIは、第2システムバス
SB2に結合される第2ポートにそれが結合されており
、上記第1割込み要求レジスタlくIDIと対応したビ
ット数のデータ保持手段を持つ。第1割込み許可レジス
タRI M 1の各ビットは、第2ポートを介して供給
されるアドレス43号によって夫々選択されるように、
夫々に特定のアドレスが与えられる。
The first interrupt permission register RIMI is coupled to a second port coupled to the second system bus SB2, and has data holding means for the number of bits corresponding to the first interrupt request register IDI. Each bit of the first interrupt permission register RI M 1 is selected by the address No. 43 supplied through the second port.
Each is given a specific address.

第10シツク回路LOG1は、第1割込み要求レジスタ
と第1割込み許可レジスタの各ビットを一対一対応で比
較するようなロジック回路を含む。
The tenth logic circuit LOG1 includes a logic circuit that compares each bit of the first interrupt request register and the first interrupt permission register in a one-to-one correspondence.

これによって、第10シツク回路LOG 1は、各ビッ
ト対応の比較結果を意味する複数ビットの出カイご弼I
)irlを形成する。
As a result, the 10th logic circuit LOG 1 outputs multiple bits, which means the comparison results corresponding to each bit.
)irl is formed.

このような回路RI D 1、RI M L、及び■、
○G1の利用によって、第1ポート側に結合されるマイ
クロプロセッサから、第2ポート側に結合される複数の
マイクロプロセッサのうちの適当なマイクロプロセッサ
に対し、選択的に割込みをかけることが可能となる。上
記第1割込み要求レジスタRI D lの所定のエリア
に対する割込み要求データの格納は、第2システムバス
SB2を共有するマイクロプロセッサMpu、。乃至M
pu、、iに割り当てられた第1割込み要求レジスタR
IDI上のアドレス信号及び割込み要求データが斯るマ
イクロプロセッサMρuto乃至Mpu、iがら出力さ
れることによって行なわれる。同様に、上記第1割込み
許可レジスタRIMIの所定のエリアに対する割込み許
可データの格納は、第2システムバスSBIを共有する
マイクロプロセッサMpu、、乃至Mpu2iに割り当
てられた第1割込み許可レジスタRIMl上のアドレス
信号及び割込み許可データが斯るマイクロプロセッサM
pu、a乃至Mpu、Lから出力されることによって行
なわれる。
Such circuits RI D 1, RI M L, and ■,
○By using G1, it is possible to selectively issue an interrupt from the microprocessor connected to the first port side to an appropriate microprocessor among the plurality of microprocessors connected to the second port side. Become. The interrupt request data is stored in a predetermined area of the first interrupt request register RI D l by the microprocessor Mpu, which shares the second system bus SB2. ~M
The first interrupt request register R assigned to pu,,i
This is done by outputting the address signal and interrupt request data on the IDI from the microprocessors Mpouto to Mpu,i. Similarly, the interrupt enable data is stored in a predetermined area of the first interrupt enable register RIMI at an address on the first interrupt enable register RIM1 assigned to the microprocessors Mpu to Mpu2i that share the second system bus SBI. A microprocessor M whose signals and interrupt enable data are
This is done by outputting from pu,a to Mpu,L.

第1割込み要求レジスタRIDIの格納データ及び第1
割込み許可レジスタRIMIの格納データは、夫々第1
0シツク回路L OG 1によって比較される。すなわ
ち、この第10シツク回路LOG1は、マイクロプロセ
ッサMpu2D乃至Mpu、iに割り当てられたアドレ
ス毎の割込み要求データ及び割込み許可データを対にし
て処理することにより、割込みを要求するマイクロプロ
セッサと割込みが要求されるマイクロプロセッサとを1
対1対応させてその割込み要求の受入の可否を判定する
The data stored in the first interrupt request register RIDI and the data stored in the first interrupt request register RIDI
The data stored in the interrupt permission register RIMI is
0-switch circuit LOG1. That is, this tenth switch circuit LOG1 processes the interrupt request data and interrupt permission data for each address assigned to the microprocessors Mpu2D to Mpu, i as a pair, thereby identifying the microprocessor that requests the interrupt and the interrupt requesting data. 1 microprocessor
A one-to-one correspondence is established to determine whether or not the interrupt request can be accepted.

その判定結果は、所定ビット数の第1割込み制御データ
Dir□として第1デコーダ回路DECLに供給される
。斯る第1デコーダ回路r)ECIは、第1割込み制御
データD irlを解読して夫々のマイクロプロセッサ
Mρu211乃至Mpu2iにそれに対応する割込み信
号φi、rQ2o乃至φ↓r9□iを供給する。
The determination result is supplied to the first decoder circuit DECL as first interrupt control data Dir□ of a predetermined number of bits. The first decoder circuit r)ECI decodes the first interrupt control data D irl and supplies corresponding interrupt signals φi, rQ2o to φ↓r9□i to the respective microprocessors Mρu211 to Mpu2i.

よって、割込み要求が許可されるときは、斯る割込み要
求されたマイクロプロセッサにだけ割込み許可レベルの
割込み信号が供給される。
Therefore, when an interrupt request is permitted, an interrupt signal at the interrupt permission level is supplied only to the microprocessor for which the interrupt request has been made.

回路RID2、RIM2、及びLOG2は、上記回路R
IDI、RIMI、及びLOGlと同様な構成にされて
いる。これによって、上記第2割込み要求レジスタRI
D2の所定のエリアに対する割込み要求データの格納は
、第1システムパスSBIを共有するマイクロプロセッ
サMpu1゜乃至Mρ1111に割り当てられた第2割
込み要求レジスタRID2上のアドレス信号及び割込み
要求データが斯るマイクロプロセッサMpu、。乃至M
pu2iから出力されることによって行なわれる。同様
に、上記第2割込み許可レジスタRTM2の所定のエリ
アに対する割込み許可データの格納は、第1システムバ
スSBIを共有するマイクロプロセッサMρU、。乃至
Mρu0iに割り当てられた第2割込み許可レジスタR
IM2上のアドレス信号及び割込み許可データが斯るマ
イクロプロセッサMpu!、乃至Mρu21から出力さ
れることによって行なわれる。
The circuits RID2, RIM2, and LOG2 are the circuit R
It has the same configuration as IDI, RIMI, and LOG1. As a result, the second interrupt request register RI
Interrupt request data is stored in a predetermined area of D2 by storing the address signal and interrupt request data on the second interrupt request register RID2 assigned to the microprocessors Mpu1 to Mρ1111 that share the first system path SBI. Mpu,. ~M
This is done by outputting from pu2i. Similarly, interrupt permission data is stored in a predetermined area of the second interrupt permission register RTM2 by the microprocessor MρU, which shares the first system bus SBI. Second interrupt permission register R assigned to Mρu0i
The address signals and interrupt enable data on IM2 are transmitted to such microprocessor Mpu! , to Mρu21.

第2割込み要求レジスタRID2の格納データ及び第2
割込み許可レジスタRIM2の格納データは、夫々第2
0シツク回路L O(E 2に供給されるようになって
いる。この第20シツク回路LOG2は、第10シツク
回路LOGIと同様に、マイクロプロセッサMpu、工
乃至Mpu、iに割り出てられたアドレス毎の割込み要
求データ及び割込み許可データを対にして処理すること
により、割込みを要求するマイクロプロセッサと割込み
が要求されるマイクロプロセッサとをL対し対応させて
その割込み要求の受入の可否を判定する。その判定結果
は、所定ビット数の第2割込み制御データDir2とし
て第2デコーダ回路DEC2に供給される。斯る第2デ
コーダ回路DEC2は、第2割込み制御データDir、
を解読して夫々のマイクロプロセッサMpu、、乃至M
pu1iにそれに対応する割込み信号φirq□。乃至
φirq□iを供給する。よって、割込み要求が許可さ
れるときは、斯る割込み要求されたマイクロプロセッサ
にだけ割込み許可レベルの割込み43号が供給される。
The data stored in the second interrupt request register RID2 and the second
The data stored in the interrupt permission register RIM2 is
The 20th SICK circuit LOG2 is supplied to the 0th SICK circuit LO(E2).This 20th SICK circuit LOG2, like the 10th SICK circuit LOGI, is assigned to the microprocessor Mpu, 0 to Mpu,i. By processing the interrupt request data and interrupt permission data for each address as a pair, the microprocessor that requests the interrupt and the microprocessor that requests the interrupt are made to correspond to L, and it is determined whether the interrupt request can be accepted. The determination result is supplied to the second decoder circuit DEC2 as the second interrupt control data Dir2 having a predetermined number of bits.The second decoder circuit DEC2 outputs the second interrupt control data Dir,
is decoded and the respective microprocessors Mpu, . . .
An interrupt signal φirq□ corresponding to pu1i. to φirq□i are supplied. Therefore, when an interrupt request is permitted, interrupt No. 43 of the interrupt permission level is supplied only to the microprocessor for which such an interrupt request has been made.

尚、上記割込み信号φ1rQzn乃至φ1rq2i (
φir9□。乃至φir9□i)は第1バスコントロー
ル部BC1(第2バスコントロール部I C2)に供給
され、それによって、割込み処理の実行に際してシステ
ムバスの使用占有権を割込み処理用のマイクロプロセッ
サに移動させるようになっている。
Note that the above interrupt signals φ1rQzn to φ1rq2i (
φir9□. to φir9□i) are supplied to the first bus control unit BC1 (second bus control unit IC2), thereby transferring the exclusive right to use the system bus to the microprocessor for interrupt processing when executing interrupt processing. It has become.

次に上記実施例の作用効果を説明する。Next, the effects of the above embodiment will be explained.

(1)一方のシステムバスSRI (SR2)を共有す
るマイクロプロセッサMpu1o乃至Mpu1i (M
Pu!。乃至Mpu2i)から他方のシステムバス5B
2(SBI)を共有するマイクロプロセッサMpu2゜
乃至Mpu、i (Mpul、乃至Mpu、i)に対す
る割込み要求は、割込み許可レジスタRIMI (RI
M2)に格納されているデータに基づいて斯るマイクロ
プロセッサMpuz0乃至Mpu、i (Mpul、乃
至Mpu1i)毎にその可否がロジック回路LOG1(
LOG2)で判定され、その判定結果に基づく割込み信
号φ1rq2゜乃至φirq、i (φ1rQto乃至
φ1rq1i)はマイクロプロセッサMpu2゜乃至M
Pu2x (M pu□。乃至Mρu1i)に格別に供
給される。したがって、割込み要求が許可されるときは
、斯る割込み要求されたマイクロプロセッサにだけ割込
み許可レベルの割込み信号が供給されるから、割込み処
理を必要としないマ・イクロプロセッサはそのまま制御
動作を続けることができる。
(1) Microprocessors Mpu1o to Mpu1i (M
Pu! . Mpu2i) to the other system bus 5B
Interrupt requests to microprocessors Mpu2゜ to Mpu,i (Mpul, to Mpu,i) that share SBI 2 (SBI) are sent to the interrupt permission register RIMI (RI
Based on the data stored in the logic circuit LOG1(
LOG2), and the interrupt signals φ1rq2゜ to φirq,i (φ1rQto to φ1rq1i) based on the determination results are sent to the microprocessors Mpu2゜ to M
Pu2x (Mpu□. to Mρu1i) is specifically supplied. Therefore, when an interrupt request is permitted, an interrupt signal at the interrupt permission level is supplied only to the microprocessor that has received the interrupt request, so microprocessors that do not require interrupt processing can continue their control operations. Can be done.

(2)上記効果より、各ポートに接続するシステムバス
の少なくとも一方に複数のマイクロプロセッサが結合さ
れて成るマルチプロセッサシステムのデータ処理効率を
向上させることができる。
(2) As a result of the above effects, it is possible to improve the data processing efficiency of a multiprocessor system in which a plurality of microprocessors are coupled to at least one of the system buses connected to each port.

(3)特に、マイクロプロセッサMpu1..乃至Mp
u□i(Mpu、。乃至Mpu2i)に直接供給される
割込み信号φirq、。乃至φirq工i(φ1r(1
2o乃至φ1rq2i )は、ロジック回路LOGI 
(LOG2) から出力される割込み制御データに基づ
いて外部のデコーダ回路によって形成されるから、デュ
アルボー1〜メモリDPMが適用されるシステムが持つ
マイクロプロセッサの数に対して汎用性を備え、且つ。
(3) In particular, the microprocessor Mpu1. .. ~Mp
Interrupt signal φirq, which is directly supplied to u□i (Mpu, . to Mpu2i). 〜φirq 工i(φ1r(1
2o to φ1rq2i) are the logic circuit LOGI
Since it is formed by an external decoder circuit based on the interrupt control data output from (LOG2), it has versatility with respect to the number of microprocessors included in the system to which the dual baud 1 to memory DPM is applied.

割込み制御用に必要なデュアルポートメモリD I)M
の外部端子数を最小限とすることができる。
Dual port memory required for interrupt control DI)M
The number of external terminals can be minimized.

以上本発明者によってなされた発明を実施例に基づいて
具体的に説明したが、本発明は上記実施例に限定される
ものではなく、その要旨を逸脱しない範囲において種々
変更可能である。
Although the invention made by the present inventor has been specifically explained above based on examples, the present invention is not limited to the above-mentioned examples, and various changes can be made without departing from the gist thereof.

例えば、上記実施例の割込み要求レジスタ及び割込み許
可レジスタは、夫々のマイクロプロセッサ毎に1対1対
応で割込み要求データと割込み許可データとを対比して
割込み処理の可否を判定する構成としたが、それに限定
されるものではなく。
For example, the interrupt request register and interrupt permission register in the above embodiment are configured to compare interrupt request data and interrupt permission data in a one-to-one correspondence for each microprocessor to determine whether interrupt processing is possible. It is not limited to that.

割込み発生源や割込み要求先に関する内容を含んだ所定
ビット数のデータとして割込み要求データや割込み許可
データを構成すれば、各レジスタの規模を小型化するこ
とができる。例えば上位所定ビットを割込み発生源や割
込み要求先に関するデータとし、下位所定ビットを割込
み内容データとすることができる。また、上記実施例で
はデコーダ回路を介して割込み信号を各マイクロプロセ
ッサに出力するように構成したが、直接ロジック回路か
ら割込み信号を出力するようにしてもよい。
By configuring the interrupt request data and interrupt permission data as data of a predetermined number of bits including contents regarding the interrupt source and interrupt request destination, the scale of each register can be reduced. For example, the upper predetermined bits can be used as data regarding an interrupt source or interrupt request destination, and the lower predetermined bits can be used as interrupt content data. Further, in the above embodiment, the interrupt signal is output to each microprocessor via the decoder circuit, but the interrupt signal may be output directly from the logic circuit.

以上の説明では主として本発明者によってなされた発明
をその背景となった技術分野である各システムバスに夫
々複数のマイクロプロセッサを結合したマルチプロセッ
サシステムに適用した場合について説明したが、それに
限定されるものではなく、少なくとも、一方のポートに
システムバスを介して複数のマイクロプロセッサが結合
される条件のシステムに広く適用することができる。
In the above explanation, the invention made by the present inventor is mainly applied to a multiprocessor system in which a plurality of microprocessors are coupled to each system bus, which is the technical field behind the invention, but the invention is limited thereto. Rather, it can be widely applied at least to systems in which a plurality of microprocessors are connected to one port via a system bus.

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

本願にt9いて開示される発明のうち代表的なものによ
って得られる効果を簡単に説明すれば下記の通りである
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows.

すなわち、一方のポートに複数のマイクロプロセッサが
結合されるとき、他方のポートに結合されるべきマイク
ロプロセッサから、一方のポートに結合されるべきマイ
クロプロセッサのうちの選択された所定のものだけに割
り込み処理を受け付けさせる割込み制、御回路を含むか
ら、システムバスを共有する複数のマイクロプロセッサ
のうちの所望のマイクロプロセッサだけに割込み処理を
させることができ、割込み処理を必要としないマイクロ
プロセッサに対してその制御動作を維持させることによ
って、マルチプロセッサシステムのデータ処理効率の向
上を達成することができる。
That is, when multiple microprocessors are connected to one port, the microprocessor to be connected to the other port interrupts only a selected predetermined microprocessor to be connected to one port. Since it includes an interrupt control circuit that allows processing to be accepted, it is possible to have only the desired microprocessor among multiple microprocessors that share the system bus perform interrupt processing, and it is useful for microprocessors that do not require interrupt processing. By maintaining the control operation, it is possible to improve the data processing efficiency of the multiprocessor system.

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

、  第1図は本発明の1実施例に断るデュアルポート
メモリが適用されるマルチプロセッサシステムの構成ブ
ロック図、 第2図は割込み制御回路を示す構成ブロック図である。 DPM・・・デュアルポートメモリ、Pl・・・第1ポ
ート、P2・・・第2ポート、SBI・・・第1システ
ムバス、Sn2・・・第2システムバス、Mpui。乃
至MρuIL・・・マイクロプロセッサ、Mpu2o乃
至Mpu2i・・・マイクロプロセッサ、INT・・・
割込み制御回路、RIr)]・・・第り割込み要求レジ
スタ、RID2・・・第2割込み要求レジスタ、RIM
I・・・第1割込み許可レジスタ、RTM2・・・第2
割込み許可レジスタ、■、OG 1・・・第10シツク
回路、■、OG2・・・第20シツク回路、φirq□
。乃至φirq、 i・・・第1割込み信号、φirq
□1.乃至φirq、i・・・第2割込み信号。
FIG. 1 is a block diagram of a multiprocessor system to which a dual port memory according to an embodiment of the present invention is applied, and FIG. 2 is a block diagram of an interrupt control circuit. DPM...dual port memory, Pl...first port, P2...second port, SBI...first system bus, Sn2...second system bus, Mpui. to MρuIL... microprocessor, Mpu2o to Mpu2i... microprocessor, INT...
Interrupt control circuit, RIr)]...Second interrupt request register, RID2...Second interrupt request register, RIM
I...first interrupt permission register, RTM2...second
Interrupt permission register, ■, OG1... 10th chic circuit, ■, OG2... 20th chic circuit, φirq□
. to φirq, i...first interrupt signal, φirq
□1. to φirq, i... second interrupt signal.

Claims (1)

【特許請求の範囲】 1、デュアルポートの夫々にシステムバスを介してマイ
クロプロセッサが結合されるマルチプロセッサシステム
に適用可能なデュアルポートメモリであって、少なくと
も一方のポートに複数のマイクロプロセッサが結合され
るとき、他方のポートに結合されるべきマイクロプロセ
ッサから、一方のポートに結合されるべきマイクロプロ
セッサのうちの所定のものだけに割り込み処理を受け付
けさせる割込み制御回路を含むことを特徴とするデュア
ルポートメモリ。 2、上記割込み制御回路は、他方のポートに結合される
べきマイクロプロセッサを特定して一方のポートに結合
されるべきマイクロプロセッサから出力される割込み要
求データを格納可能な割込み要求レジスタと、他方のポ
ートにおける割込み可否状態を斯るポートに結合される
べきマイクロプロセッサに対応させて格納可能な割込み
許可レジスタと、他方のポートに結合されるべき各マイ
クロプロセッサに上記両レジスタの格納データに基づい
て形成される割込み信号を格別に供給可能とするロジッ
ク回路とが、各ポートに対応して設けられて成ることを
特徴とする特許請求の範囲第1項記載のデュアルポート
メモリ。
[Claims] 1. A dual port memory applicable to a multiprocessor system in which a microprocessor is coupled to each of the dual ports via a system bus, wherein a plurality of microprocessors are coupled to at least one port. A dual port characterized in that it includes an interrupt control circuit that causes only a predetermined one of the microprocessors to be connected to one port to accept interrupt processing from a microprocessor to be connected to the other port when the dual port is connected to the other port. memory. 2. The interrupt control circuit includes an interrupt request register capable of specifying a microprocessor to be coupled to the other port and storing interrupt request data output from the microprocessor to be coupled to one port; An interrupt enable register that can store the interrupt enable/disable state of a port in correspondence with the microprocessor to be coupled to the port, and an interrupt enable register for each microprocessor to be coupled to the other port, based on the data stored in both registers. 2. The dual port memory according to claim 1, wherein a logic circuit is provided corresponding to each port, and is capable of specifically supplying an interrupt signal.
JP11736586A 1986-05-23 1986-05-23 Dual port memory Pending JPS62274452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11736586A JPS62274452A (en) 1986-05-23 1986-05-23 Dual port memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11736586A JPS62274452A (en) 1986-05-23 1986-05-23 Dual port memory

Publications (1)

Publication Number Publication Date
JPS62274452A true JPS62274452A (en) 1987-11-28

Family

ID=14709862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11736586A Pending JPS62274452A (en) 1986-05-23 1986-05-23 Dual port memory

Country Status (1)

Country Link
JP (1) JPS62274452A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633358A (en) * 1986-06-23 1988-01-08 Toshiba Corp Multiprocessor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS633358A (en) * 1986-06-23 1988-01-08 Toshiba Corp Multiprocessor

Similar Documents

Publication Publication Date Title
US5392446A (en) Multiple cluster signal processor architecture
US4736319A (en) Interrupt mechanism for multiprocessing system having a plurality of interrupt lines in both a global bus and cell buses
JPS62274452A (en) Dual port memory
JPH02130662A (en) Information processing system
GB2119977A (en) Microcomputer systems
JPH03238539A (en) Memory access controller
JP2004213666A (en) Dma module and its operating method
JPH02282989A (en) Memory control circuit
JPH0254362A (en) Parallel process computer
KR20000033265A (en) Device and method for interfacing chip embedded bus
JPH0650499B2 (en) Data transfer method between microprocessors
KR960003650B1 (en) Input/output processor for improving computer system performance
JP3061810B2 (en) Dynamic RAM refresh control method
KR100248267B1 (en) Dispersion device of 512mbyte memory board in main computer iii and cotrol method thereof
JPH05120207A (en) Data transfer system
JPH03232052A (en) Exclusive access system for shared data
JPH04322353A (en) Bus system
JPS6049462A (en) Dma circuit
JPS62272345A (en) Bus arbitrating system
JPH09265441A (en) Decentralized cpu communication processor
JPS633358A (en) Multiprocessor
JPH01145752A (en) Bus control system
JPS6149266A (en) Memory control device
JPH01185758A (en) Data bus matching device
JPH01281556A (en) Access control circuit for dual port ram