JPH0528770A - Multiport memory circuit - Google Patents

Multiport memory circuit

Info

Publication number
JPH0528770A
JPH0528770A JP3210164A JP21016491A JPH0528770A JP H0528770 A JPH0528770 A JP H0528770A JP 3210164 A JP3210164 A JP 3210164A JP 21016491 A JP21016491 A JP 21016491A JP H0528770 A JPH0528770 A JP H0528770A
Authority
JP
Japan
Prior art keywords
port
circuit
address
access
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
JP3210164A
Other languages
Japanese (ja)
Inventor
Takeshi Eto
剛 江藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3210164A priority Critical patent/JPH0528770A/en
Publication of JPH0528770A publication Critical patent/JPH0528770A/en
Pending legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)

Abstract

PURPOSE:To prevent a malfunction in the same reading cycle period by searching the logical sum of the output of an output data holding circuit with a reading request signal, and outputting the data of a shared memory to an outside circuit only at the time of a reading request. CONSTITUTION:When an address A comes first so as to be established in order to operate a reading operation, and an address B comes next so as to be established in order to operate the reading operation, storage information in a shared memory cell 11 is latched by an output data holding circuit 14a. Then, the logical sum of the output of a circuit 14a with the reading request signal is searched, and the data are outputted to the outside circuit only at the time of the reading request. At that time, the data of a first-come reading port are left to be latched by the circuit 14a until the neat address is inputted, and the data are not affected by the change of the storage information. Then, a writing operation from the next-come side port of the address can be attained, and the transition of the reading data of the first-come side port in the same reading cycle period can be prevented. Thus, the malfunction can be prevented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はマルチポートメモリ回
路に関し、特に書き込み及び読み出しを複数のポートか
ら独立・非同期に行うことのできる回路構成に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiport memory circuit, and more particularly to a circuit configuration capable of performing writing and reading independently and asynchronously from a plurality of ports.

【0002】[0002]

【従来の技術】従来のマルチポートメモリ回路は、マト
リクス状の共有メモリセルブロックと、そのメモリセル
ブロック内を選択するための行デコーダと列デコーダを
ポート毎に有するように構成されており、各ポートのM
PUからの命令により、それぞれ選択された行と列の交
点の共有メモリセル内情報を出力に読み出したり、入力
データを共有メモリへ書き込んだりしていた。
2. Description of the Related Art A conventional multiport memory circuit is configured to have a matrix-shaped shared memory cell block, a row decoder for selecting the memory cell block, and a column decoder for each port. Port M
According to a command from the PU, the information in the shared memory cell at the intersection of the selected row and column is read out to the output, and the input data is written to the shared memory.

【0003】図6は従来のマルチポートメモリ回路の中
で最も一般的な2ポートメモリ回路の概略構成図であ
り、これを例にとって説明する。図において41は共有
メモリで、A,B、2つのポートからそれぞれアクセス
可能なように構成されている。具体的にはアドレスバッ
ファA43,行デコーダA44,列デコーダA45,I
/OバッファA42で構成したAポートブロック(記号
Aを付加)とアドレスバッファB47,行デコーダB4
8,列デコーダB49,I/OバッファB46で構成し
たBポートブロック(記号Bを付加)を介して各々独立
・非同期で共有メモリセルアレイ41をアクセスする構
成となっている。さらに50はマルチポートメモリに限
り必要とされる共有メモリセルアレイ41の同一アドレ
ス競合選択時のアクセスポート調停回路である。
FIG. 6 is a schematic configuration diagram of the most common two-port memory circuit in the conventional multi-port memory circuits. This will be described as an example. In the figure, reference numeral 41 denotes a shared memory, which is configured to be accessible from A, B and two ports, respectively. Specifically, the address buffer A43, the row decoder A44, the column decoder A45, I
A port block (addition of symbol A) composed of / O buffer A42, address buffer B47, row decoder B4
The shared memory cell array 41 is independently and asynchronously accessed via the B port block (adding the symbol B) formed of the column decoder B49, the column decoder B49, and the I / O buffer B46. Further, 50 is an access port arbitration circuit when the same address conflict is selected in the shared memory cell array 41 which is required only for the multiport memory.

【0004】次に動作について説明する。図7は、従来
の2ポートメモリ回路のマルチプロセッサシステムの構
成図であり、図に示したようにA,Bアクセスポートは
それぞれ独立したバスラインA,Bを有し、それを介し
て個々に対応するMPUA 51,MPUB 52に接続さ
れ、該対応MPUからの命令に応動して共有メモリセル
53に対してアクセスを行う。この場合、A,B各ポー
トに接続されたMPUA 51,MPUB 52はそれぞれ
独立・非同期に共有メモリ53のアドレスを任意に選択
し、各ポートからの該選択アドレスに対してデータの読
み出し及び書き込み動作が行われる。
Next, the operation will be described. FIG. 7 is a block diagram of a conventional multiprocessor system of a two-port memory circuit. As shown in the figure, the A and B access ports have independent bus lines A and B, respectively, and they are individually connected via the bus lines A and B. It is connected to the corresponding MPU A 51 and MPU B 52, and accesses the shared memory cell 53 in response to an instruction from the corresponding MPU. In this case, the MPU A 51 and MPU B 52 connected to the respective ports A and B independently and asynchronously arbitrarily select the address of the shared memory 53, and read and write data to the selected address from each port. A write operation is performed.

【0005】次いで、共有メモリ53の動作について説
明する。行デコーダA44と列デコーダA45は前記M
PUA からのアドレス入力をアドレスバッファA43を
介し入力し、それぞれより選択された行,列の交点を共
有メモリセルアレイ41内のAポートアクセス可能メモ
リセルとして選択する。該Aポートアクセス可能メモリ
セルは前記MPUA からの読み出しもしくは書き込み命
令に応動し、読み出しの場合はI/OバッファA42に
該メモリセル内の記憶情報を出力し、書き込みの場合は
I/OバッファA42の情報を該メモリセル内に記憶す
る。
Next, the operation of the shared memory 53 will be described. The row decoder A44 and the column decoder A45 are the M
The address input from PU A is input via the address buffer A 43, and the intersection of the row and the column selected by each is selected as the A port accessible memory cell in the shared memory cell array 41. The A-port accessible memory cell responds to a read or write command from the MPU A , outputs the storage information in the memory cell to the I / O buffer A42 in the case of read, and the I / O buffer in the case of write. The information of A42 is stored in the memory cell.

【0006】これとは逆に、行デコーダB48と列デコ
ーダB49は前記MPUB からのアドレス入力をアドレ
スバッファB47を介し入力し、それぞれより選択され
た行,列の交点を共有メモリセルアレイ41内のBポー
トアクセス可能メモリセルとして選択する。該Bポート
アクセス可能メモリセルは前記MPUB からの読み出し
及び書き込み命令に応動し、読み出しの場合はI/Oバ
ッファB46に該メモリセル内の記憶情報を出力し、書
き込みの場合はI/Oバッファ46の情報を該メモリセ
ル内に記憶する。
On the contrary, the row decoder B48 and the column decoder B49 input the address input from the MPU B through the address buffer B47, and the intersection of the row and the column selected by them is stored in the shared memory cell array 41. Select as a B-port accessible memory cell. The B port accessible memory cell responds to the read and write commands from the MPU B , outputs the storage information in the memory cell to the I / O buffer B46 in the case of read, and the I / O buffer in the case of write. 46 information is stored in the memory cell.

【0007】ここで、共有メモリセルアレイ41の同一
アドレス選択時の動作波形について説明する。A,Bポ
ートが非同期で共有メモリセルアレイ41をアクセスす
るため、共有メモリセルアレイ41内の同一アドレスに
対し、Aポートアクセス先着の場合、及びBポートアク
セス先着の場合の2通りが考えられるが、簡略化のため
ここではAポートアクセス先着について説明する。
The operation waveforms when the same address is selected in the shared memory cell array 41 will be described. Since the A and B ports access the shared memory cell array 41 asynchronously, there are two possible cases for the same address in the shared memory cell array 41: A port access first arrival and B port access first arrival. For portability, the A port access first arrival will be described here.

【0008】図4は、従来の2ポートメモリ回路の動作
波形を示した図であり、図においてアドレスAが先着確
定し、読み出し動作を実施し、アドレスBが後着確定
し、書き込み動作を実施した場合を一動作例として説明
する。この場合、先着Aポート側のI/OA (Dout
読み出しデータが後着Bポート側のI/OB (Din)書
き込みデータにより、同一読み出しサイクル期間中に遷
移することが起こり得る。
FIG. 4 is a diagram showing operation waveforms of a conventional two-port memory circuit. In the figure, address A determines first arrival, read operation is performed, address B determines last arrival, and write operation is performed. The case will be described as an operation example. In this case, I / O A (D out ) on the first A port side
It is possible that the read data may transition during the same read cycle period due to the I / O B (D in ) write data on the late arrival B port side.

【0009】このような動作上の問題点を回避するた
め、通常2ポートメモリには共有メモリセルアレイ内の
同一アドレス選択時のために、図6に示したようにアク
セスポート調停回路50が付加されている。図5は、A
ポート先着の場合のアクセスポート調停回路50のアク
セス調停機能について示した図である。
In order to avoid such an operational problem, an access port arbitration circuit 50 is usually added to the 2-port memory as shown in FIG. 6 in order to select the same address in the shared memory cell array. ing. FIG. 5 shows A
FIG. 6 is a diagram showing an access arbitration function of an access port arbitration circuit 50 in the case of first-arrival of a port.

【0010】該アクセスポート調停回路50は前記MP
A ,MPUB からのアドレス入力が同一となり、共有
メモリセルアレイ41が競合選択された際のみに作用
し、どちらか一方のポートにポートアクセスの優先権を
与えるとともに、非優先ポートに対しては/Busy信
号を“L”に出力し、該当ポートのMPUに非優先であ
ることを伝達する。/Busy信号“L”が入力された
MPUは両ポートのアドレス競合が解除されるまで動作
をウェイト状態とし、MPUアクセスを停止する(図
5)。
The access port arbitration circuit 50 uses the MP
U A, an address input from the MPU B is the same, with giving priority port access to the shared memory cell array 41 acts only upon the competitive selection, either port, with respect to non-priority ports The / Busy signal is output to "L" to inform the MPU of the corresponding port that it has no priority. The MPU to which the / Busy signal "L" is input keeps the operation in the wait state until the address conflict of both ports is released, and stops the MPU access (FIG. 5).

【0011】[0011]

【発明が解決しようとする課題】従来の2ポートメモリ
回路は以上のように構成されているので、A,B両ポー
トから共有メモリセルアレイ内の同一番地が選択され、
例えば各ポートのモードが、先着ポートは読み出し動
作,後着ポートは書き込み動作、のように設定された場
合に、同一サイクル期間中に出力データが遷移すること
が起こり得た。また、A,B両ポートから共有メモリセ
ルアレイ内の同一番地が選択され、例えば各ポートのモ
ードが、先着・後着ポートとも書き込み動作と設定され
た場合には、共有メモリセルアレイ内の記憶データが不
定となる動作上の問題点もあった。
Since the conventional 2-port memory circuit is configured as described above, the same address in the shared memory cell array is selected from both A and B ports,
For example, when the mode of each port is set to read operation for the first-arrival port and write operation for the second-arrival port, output data may transit during the same cycle period. Further, when the same address in the shared memory cell array is selected from both the A and B ports, and the mode of each port is set to the write operation for both the first arrival port and the second arrival port, the storage data in the shared memory cell array is There were also uncertain operational problems.

【0012】さらに従来の2ポートメモリ回路には、上
記問題点の解決するために、A,B両ポートから共有メ
モリセルアレイ内の同一番地が選択された場合のみ動作
するアクセスポート調停回路が必ず必要であったが、該
アクセスポート調停回路は各ポートからの動作モードに
関係なく、アドレス確定のタイミング比較のみでアクセ
ス優先の判定を実施していたため、アクセス許可に対す
る/Busy信号出力に無駄が生じ、MPU稼働にも無
駄が生じるなどの問題点があった。
Furthermore, in order to solve the above problems, the conventional 2-port memory circuit must have an access port arbitration circuit which operates only when the same address in the shared memory cell array is selected from both A and B ports. However, since the access port arbitration circuit performs the access priority determination only by comparing the timings of the address confirmation regardless of the operation mode from each port, there is waste in the / Busy signal output for the access permission, There are problems such as waste of MPU operation.

【0013】この発明は上記のような問題点を解消する
ためになされたもので、A,B両ポートから共有メモリ
セルアレイ内の同一番地が選択された場合に、先着ポー
トの読み出しデータが後着ポートの書き込みデータによ
って同一読み出しサイクル期間中に遷移しないようなマ
ルチポートメモリ回路を得ることを目的とする。
The present invention has been made to solve the above problems, and when the same address in the shared memory cell array is selected from both A and B ports, the read data of the first arrival port is the last arrival data. It is an object of the present invention to obtain a multi-port memory circuit in which the write data of a port does not change during the same read cycle.

【0014】また、共有メモリセルアレイ内の同一番地
が選択された場合のアクセスポート調停回路による/B
usy信号“L”出力を従来の1/2にすることが可能
となり、それに応動するMPUの稼働率を従来の2倍に
向上することを目的とする。
In addition, / B by the access port arbitration circuit when the same address in the shared memory cell array is selected
It is possible to reduce the output of the busy signal "L" to 1/2 of that of the conventional one, and to improve the operating rate of the MPU that responds to the output to double the conventional rate.

【0015】[0015]

【課題を解決するための手段】この発明に係るマルチポ
ートメモリ装置は、各ポートのデータ出力前段に、共有
メモリからの読み出しデータをデータ入力とし、かつ該
当するアクセスポートのアドレス入力の確定を検出する
回路の出力をクロック入力とする出力データ保持回路を
備え、そのデータ保持回路の出力は読み出し要求信号/
OEと論理和をとり、読み出し要求時のみ、前記読み出
しデータを外部回路へ出力するものである。
In a multiport memory device according to the present invention, read data from a shared memory is used as a data input before the data output of each port, and the confirmation of the address input of the corresponding access port is detected. An output data holding circuit that uses the output of the circuit as a clock input, and the output of the data holding circuit is the read request signal /
The logical sum is obtained with OE, and the read data is output to an external circuit only when a read request is made.

【0016】また、アクセスポート調停回路の出力と、
各アクセスポートの逆アクセスポート側の書き込み要求
信号/WEとの論理和をとり、逆アクセスポートの書き
込み要求信号が入力されたときアクセスポート調停回路
の判定結果を/Busy出力として外部MPUに対し出
力するものである。
Also, the output of the access port arbitration circuit,
The OR of the write request signal / WE on the reverse access port side of each access port is ORed, and when the write request signal of the reverse access port is input, the determination result of the access port arbitration circuit is output to the external MPU as / Busy output. To do.

【0017】[0017]

【作用】この発明におけるマルチポートメモリ回路は、
各ポートの出力前段にデータ保持回路を設けたことによ
り、各ポートのアドレス入力の遷移するごとにアクセス
モードの設定に関係なく、メモリ内のこの記憶情報を一
時保持し、該アクセスポートが読み出し要求である場合
にのみ、該保持データを外部へ出力させるようにしたの
で、各ポートから共有メモリセルアレイ内の同一番地が
選択された場合にも先着ポートの読み出しデータが後着
ポートの書き込みデータによって同一読み出しサイクル
期間中に遷移しない。
The multiport memory circuit according to the present invention is
Since the data holding circuit is provided in the output stage of each port, this stored information in the memory is temporarily held at each transition of the address input of each port regardless of the setting of the access mode, and the access port requests reading. If the same address in the shared memory cell array is selected from each port, the read data of the first arrival port will be the same as the write data of the second arrival port even if the same address is selected from each port. No transition occurs during the read cycle.

【0018】また、アクセスポート調停回路の出力と、
逆アクセスポート書き込み要求信号とのOR論理をとる
ことにより、アクセス要求が後着しなおかつ逆ポート
(先着ポート)が書き込み動作要求である場合に限り、
アクセスポート調停結果として/Busy出力端子に/
Busy信号の“L”を出力させることにより、/Bu
sy信号“L”出力を従来の1/2にすることが可能と
なり、それに応動するMPUの稼働率を従来の2倍に向
上できる。
Further, the output of the access port arbitration circuit,
By taking the OR logic with the reverse access port write request signal, only when the access request is late and the reverse port (first arrival port) is the write operation request,
Access port arbitration result / Busy output terminal /
By outputting "L" of the Busy signal, / Bu
The output of the sy signal “L” can be halved as compared with the conventional one, and the operating rate of the MPU which responds to it can be doubled as compared with the conventional one.

【0019】[0019]

【実施例】以下、この発明の一実施例について説明す
る。図1はこの発明の一実施例による2ポートメモリ回
路の構成図であり、図において、11はA,B両ポート
から独立・非同期に読み出し,書き込み動作可能な共有
メモリセル、12はアドレスA,アドレスB入力を比較
し、共有メモリセルの同一番地が選択された場合のみ動
作するアクセスポート調停回路、13a,13bは各ポ
ートのアドレス設定が確定したことを検出するアドレス
確定検出回路であり、出力データ保持回路14a,14
bのクロックTへ接続される。14a,14bは共有メ
モリからの読み出しデータをデータ入力とし、前述13
a,13bのアドレス確定検出回路をクロック入力とし
て動作する出力データ保持回路である。15a,15b
は各ポートの出力データ保持回路14a,14bの出力
と読み出し要求信号/OEとの論理和ゲートである。1
6a,16bはアクセスポート調停回路12の各出力と
逆アクセスポートの書き込み要求信号/WE信号との論
理和ゲートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below. FIG. 1 is a block diagram of a 2-port memory circuit according to an embodiment of the present invention. In the figure, 11 is a shared memory cell capable of independent and asynchronous read / write operations from both A and B ports, 12 is an address A, An access port arbitration circuit that compares the address B inputs and operates only when the same address of the shared memory cell is selected, and 13a and 13b are address confirmation detection circuits that detect that the address setting of each port has been confirmed. Data holding circuits 14a, 14
It is connected to the clock T of b. 14a and 14b use the read data from the shared memory as the data input, and
It is an output data holding circuit which operates by using the address confirmation detection circuits a and 13b as a clock input. 15a, 15b
Is a logical sum gate of the output of the output data holding circuits 14a and 14b of each port and the read request signal / OE. 1
Reference numerals 6a and 16b denote OR gates of the outputs of the access port arbitration circuit 12 and the write request signal / WE signal of the reverse access port.

【0020】次に、この発明の一実施例の動作について
説明する。図2は、図1で示した2ポートメモリ回路の
動作波形である。従来例同様、共有メモリセル内の同一
アドレスに対するA,B両ポートのアクセス先着が考え
られるが、ここでも簡略化のためAポートアクセス先着
のみについて説明する。
Next, the operation of the embodiment of the present invention will be described. FIG. 2 shows operation waveforms of the 2-port memory circuit shown in FIG. Like the conventional example, access arrival of both A and B ports to the same address in the shared memory cell is conceivable, but here, for simplification, only A port access arrival will be described.

【0021】図1において、アドレスAが先着確定し、
読み出し動作を実施し、アドレスBが後着確定し、書き
込み動作を実施した場合、共有メモリセル11内の同一
選択アドレス内の記憶情報はAポートアドレス確定時点
で即座に、出力データ保持回路14aにラッチされる
(図2時点)。ラッチされたデータは読み出し信号/
OEA が“L”になり、初めてI/OA (Dout )へ出
力開始される(図2時点)。
In FIG. 1, the address A is confirmed first-come-first-served basis,
When the read operation is performed, the address B is finalized and the write operation is performed, the stored information in the same selected address in the shared memory cell 11 is immediately stored in the output data holding circuit 14a when the A port address is finalized. It is latched (at the time of FIG. 2). The latched data is the read signal /
OE A becomes “L”, and output to I / O A (D out ) is started for the first time (at the time of FIG. 2).

【0022】この際、先着読み出しポートのデータは、
次の先着ポートのアドレスが入力されるまで(アドレス
が遷移するまで)前述のデータ保持回路14aにラッチ
されたままとなるため、共有メモリセル11内の該アド
レスの記憶情報は変化してもかまわない状態となる。よ
って該アドレスへの後着側ポートからの書き込み動作が
可能となるとともに、先着側ポートの読み出しデータが
同一読み出しサイクル期間中に遷移する従来の問題は生
じない。
At this time, the data of the first-arrival read port is
Until the address of the next first-arrival port is input (until the address transitions), it remains latched in the above-mentioned data holding circuit 14a, so the stored information of the address in the shared memory cell 11 may change. There is no state. Therefore, the write operation from the latter-arrival port to the address becomes possible, and the conventional problem that the read data from the first-arrival port transits during the same read cycle does not occur.

【0023】また本作用により、従来のように各ポート
からのモード設定に全く関係なく、A,Bポートのアド
レス確定タイミング差のみにて決定されていたアクセス
ポート調停回路12の判定結果(後着側ポートに/Bu
sy“L”出力)も、先着側ポートの書き込み信号が
“L”になった時点で初めて出力される。図3は、この
発明の一実施例によるアクセスポート調停回路の、Aポ
ート先着時の調停機能について示した図であり、図にお
いて各ポートのモード設定,モードアクセス許可,/B
usy出力の関係はここに示す通りとなり、/Busy
出力の出力確率を従来の1/2とすることができる。
Further, with this operation, the determination result of the access port arbitration circuit 12 (later arrival), which is determined only by the address determination timing difference between the A and B ports, regardless of the mode setting from each port as in the prior art. On side port / Bu
sy “L” output) is also output only when the write signal of the first-arrival port becomes “L”. FIG. 3 is a diagram showing the arbitration function of the access port arbitration circuit according to the embodiment of the present invention when the A port arrives first. In FIG. 3, mode setting, mode access permission, and / B of each port are shown.
The relationship of the busy output is as shown here, / Busy
The output probability of the output can be halved as compared with the conventional one.

【0024】なお、上記実施例では、2ポートメモリ回
路を代表例として取り上げ説明したが、同様の考えを2
ポート以上のマルチポートメモリ回路に適用しても、同
様の効果が得られる。
Although the two-port memory circuit has been described as a typical example in the above embodiment, the same idea can be used.
The same effect can be obtained when applied to a multi-port memory circuit having more than ports.

【0025】また、上記実施例では、各アクセスポート
に対し共有メモリセルを持つマルチポートメモリ回路に
ついてのみ説明したが、これを汎用シングルポートSR
AM+ゲートアレイにて構成する共有メモリについても
同様の効果が得られる。
Further, in the above embodiment, only the multi-port memory circuit having the shared memory cell for each access port has been described.
The same effect can be obtained for the shared memory configured by the AM + gate array.

【0026】[0026]

【発明の効果】以上のように、この発明に係るマルチポ
ートメモリ回路によれば、各ポートの出力前段にデータ
保持回路を設けたことにより、各ポートのアドレス入力
の遷移するごとにアクセスモードの設定に関係なく、メ
モリ内のこの記憶情報を一時保持し、該アクセスポート
が読み出し要求である場合にのみ、該保持データを外部
へ出力させるようにしたので、各ポートから共有メモリ
セルアレイ内の同一番地が選択された場合にも先着ポー
トの読み出しデータが後着ポートの書き込みデータによ
って同一読み出しサイクル期間中での遷移(誤動作)を
防止できる効果がある。
As described above, according to the multiport memory circuit of the present invention, by providing the data holding circuit in the output stage of each port, the access mode is changed every time the address input of each port transitions. Regardless of the setting, this stored information in the memory is temporarily held, and the held data is output to the outside only when the access port is a read request. Therefore, the same data in the shared memory cell array is output from each port. Even when the address is selected, the read data of the first arrival port can be prevented from transitioning (malfunction) during the same read cycle period by the write data of the second arrival port.

【0027】また、アクセスポート調停回路の出力と、
逆アクセスポート書き込み要求信号とのOR論理をとる
ことにより、アクセス要求が後着しなおかつ逆ポート
(先着ポート)が書き込み動作要求である場合に限り、
アクセスポート調停結果として/Busy出力端子に/
Busy信号の“L”を出力させることにより、全く不
可とされていた後着側ポートのアクセスを先着側ポート
の書き込みモード設定時のみに限定することが可能とな
り(従来の1/2)、共有メモリ内の同一番地選択時の
MPU自身の稼働率を向上できる効果がある。
Further, the output of the access port arbitration circuit,
By taking the OR logic with the reverse access port write request signal, only when the access request is late and the reverse port (first arrival port) is the write operation request,
Access port arbitration result / Busy output terminal /
By outputting "L" of the Busy signal, it becomes possible to limit the access to the late arrival side port, which is completely disabled, only when the write mode of the first arrival side port is set (1/2 of the conventional), and sharing This has the effect of improving the operating rate of the MPU itself when the same address in the memory is selected.

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

【図1】この発明の一実施例によるマルチポートメモリ
回路構成図である。
FIG. 1 is a configuration diagram of a multiport memory circuit according to an embodiment of the present invention.

【図2】この発明の一実施例によるマルチポートメモリ
回路の動作波形図である。
FIG. 2 is an operation waveform diagram of a multiport memory circuit according to an embodiment of the present invention.

【図3】この発明の一実施例によるアクセス調停回路の
調停機能をAポート先着時について示した図である。
FIG. 3 is a diagram showing an arbitration function of an access arbitration circuit according to an embodiment of the present invention when an A port arrives first.

【図4】従来のマルチポートメモリ回路の動作波形図で
ある。
FIG. 4 is an operation waveform diagram of a conventional multiport memory circuit.

【図5】従来のアクセス調停回路の調停機能をAポート
先着時について示した図である。
FIG. 5 is a diagram showing an arbitration function of a conventional access arbitration circuit when an A port arrives first.

【図6】従来のマルチポートメモリ回路の概略構成図で
ある。
FIG. 6 is a schematic configuration diagram of a conventional multiport memory circuit.

【図7】従来のマルチポート方式のマルチプロセッサシ
ステム構成図である。
FIG. 7 is a configuration diagram of a conventional multi-processor multiprocessor system.

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

11 共有メモリセル 12 アクセスポート調停回路 13a Aポートアドレス確定検出回路 13b Bポートアドレス確定検出回路 14a Aポート出力データ保持回路 14b Bポート出力データ保持回路 15a 論理和ゲート 15b 論理和ゲート 16a 論理和ゲート 16b 論理和ゲート 11 shared memory cells 12 Access port arbitration circuit 13a A port address confirmation detection circuit 13b B port address confirmation detection circuit 14a A port output data holding circuit 14b B port output data holding circuit 15a OR gate 15b OR gate 16a OR gate 16b OR gate

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年1月14日[Submission date] January 14, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0017[Correction target item name] 0017

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0017】[0017]

【作用】この発明におけるマルチポートメモリ回路は、
各ポートの出力前段にデータ保持回路を設けたことによ
り、各ポートのアドレス入力遷移するごとにアクセス
モードの設定に関係なく、メモリ内のこの記憶情報を一
時保持し、該アクセスポートが読み出し要求である場合
にのみ、該保持データを外部へ出力させるようにしたの
で、各ポートから共有メモリセルアレイ内の同一番地が
選択された場合にも先着ポートの読み出しデータが後着
ポートの書き込みデータによって同一読み出しサイクル
期間中に遷移しない。
The multiport memory circuit according to the present invention is
By providing the data holding circuit to output the previous stage of each port, regardless of the setting of the access mode each time the address input of each port is changed, temporarily holds the stored information in the memory, the access port is a read request If the same address in the shared memory cell array is selected from each port, the read data of the first arrival port will be the same as the write data of the second arrival port even if the same address is selected from each port. No transition occurs during the read cycle.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0019[Correction target item name] 0019

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0019】[0019]

【実施例】以下、この発明の一実施例について説明す
る。図1はこの発明の一実施例による2ポートメモリ回
路の構成図であり、図において、11はA,B両ポート
から独立・非同期に読み出し,書き込み動作可能な共有
メモリセル、12はアドレスA,アドレスB入力を比較
し、共有メモリセルの同一番地が選択された場合のみ動
作するアクセスポート調停回路、13a,13bは各ポ
ートのアドレス設定が確定したことを検出するアドレス
確定検出回路であり、出力データ保持回路14a,14
bのクロックTへ接続される。14a,14bは共有メ
モリからの読み出しデータをデータ入力とし、前述13
a,13bのアドレス確定検出回路の出力をクロック入
力として動作する出力データ保持回路である。15a,
15bは各ポートの出力データ保持回路14a,14b
の出力と読み出し要求信号/OEとの論理和ゲートであ
る。16a,16bはアクセスポート調停回路12の各
出力と逆アクセスポートの書き込み要求信号/WE信号
との論理和ゲートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below. FIG. 1 is a block diagram of a 2-port memory circuit according to an embodiment of the present invention. In the figure, 11 is a shared memory cell capable of independent and asynchronous read / write operations from both A and B ports, 12 is an address A, An access port arbitration circuit that compares the address B inputs and operates only when the same address of the shared memory cell is selected, and 13a and 13b are address confirmation detection circuits that detect that the address setting of each port has been confirmed. Data holding circuits 14a, 14
It is connected to the clock T of b. 14a and 14b use the read data from the shared memory as the data input, and
a, an output data holding circuit which operates as a clock input the output of the address confirmation detection circuit 13b. 15a,
Reference numeral 15b designates output data holding circuits 14a and 14b for each port.
Is a logical sum gate of the output of and the read request signal / OE. 16a and 16b are OR gates of the respective outputs of the access port arbitration circuit 12 and the write request signal / WE signal of the reverse access port.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0026】[0026]

【発明の効果】以上のように、この発明に係るマルチポ
ートメモリ回路によれば、各ポートの出力前段にデータ
保持回路を設けたことにより、各ポートのアドレス入力
遷移するごとにアクセスモードの設定に関係なく、メ
モリ内のこの記憶情報を一時保持し、該アクセスポート
が読み出し要求である場合にのみ、該保持データを外部
へ出力させるようにしたので、各ポートから共有メモリ
セルアレイ内の同一番地が選択された場合にも先着ポー
トの読み出しデータが後着ポートの書き込みデータによ
って同一読み出しサイクル期間中での遷移(誤動作)を
防止できる効果がある。
As described above, according to the multiport memory circuit of the present invention, by providing the data holding circuit in the output front stage of each port, the address input of each port can be achieved.
There regardless of the setting of the access mode each time transition, temporarily holds the stored information in the memory, the access port only if a read request, since so as to output the held data to the outside, each Even when the same address in the shared memory cell array is selected from the port, the read data of the first arrival port can be prevented from transitioning (malfunction) during the same read cycle by the write data of the second arrival port.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも2つのアクセスポートを有
し、その各々のアクセスポートから共有メモリをアクセ
スすることのできるマルチポートメモリ回路において、 各々のポートのデータ出力前段に設けられ、共有メモリ
からの読み出しデータをデータ入力とし、かつ各々のポ
ートのアドレス入力の確定を検出し、それをクロック入
力とする出力データ保持回路と、 該出力データ保持回路の出力と読み出し要求信号との論
理和をとり、読み出し要求時のみ上記共有メモリの読み
出しデータを外部回路に出力する論理和回路とを備えた
ことを特徴とするマルチポートメモリ回路。
1. A multi-port memory circuit having at least two access ports, each of which can access a shared memory, wherein the multi-port memory circuit is provided in front of data output of each port and reads from the shared memory. An output data holding circuit that uses data as a data input and detects the confirmation of the address input of each port and uses it as a clock input, and the output of the output data holding circuit is logically ORed with the read request signal and read. A multi-port memory circuit comprising an OR circuit for outputting the read data of the shared memory to an external circuit only when requested.
【請求項2】 上記共有メモリ内の同一番地選択時のみ
モードアクセス許可を行うアクセスポート調停機能を有
するアクセスポート調停回路と、 該アクセスポート調停回路の判定出力と、各相対向する
側のアクセスポートの書き込み要求信号との論理和をと
り、上記相対向する側のアクセスポートの書き込み要求
信号が入力されたとき、アクセスポート調停回路の判定
結果を外部回路に出力する論理和回路とをさらに備えた
ことを特徴とする請求項1記載のマルチポートメモリ回
路。
2. An access port arbitration circuit having an access port arbitration function that permits mode access only when the same address is selected in the shared memory, a determination output of the access port arbitration circuit, and access ports on opposite sides of each other. And a logical sum circuit that outputs the determination result of the access port arbitration circuit to an external circuit when the logical sum of the write request signal of the access port and the write request signal of the access port on the opposite side is input. The multiport memory circuit according to claim 1, wherein
JP3210164A 1991-07-25 1991-07-25 Multiport memory circuit Pending JPH0528770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3210164A JPH0528770A (en) 1991-07-25 1991-07-25 Multiport memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3210164A JPH0528770A (en) 1991-07-25 1991-07-25 Multiport memory circuit

Publications (1)

Publication Number Publication Date
JPH0528770A true JPH0528770A (en) 1993-02-05

Family

ID=16584830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3210164A Pending JPH0528770A (en) 1991-07-25 1991-07-25 Multiport memory circuit

Country Status (1)

Country Link
JP (1) JPH0528770A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005259321A (en) * 2004-03-15 2005-09-22 Nec Electronics Corp Flexible multi-area memory and electronic device using same
JP2005259320A (en) * 2004-03-15 2005-09-22 Nec Electronics Corp Partial dual port memory and electronic device using same
JP2007122310A (en) * 2005-10-27 2007-05-17 Hitachi Kokusai Electric Inc Data processor
JP2013127829A (en) * 2011-12-16 2013-06-27 Toppan Printing Co Ltd Nonvolatile memory cell, nonvolatile memory cell array, and nonvolatile dual port memory
JP5601372B2 (en) * 2010-08-25 2014-10-08 富士通株式会社 Semiconductor memory device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5954093A (en) * 1982-09-21 1984-03-28 Toshiba Corp Semiconductor storage device
JPS62175992A (en) * 1986-01-29 1987-08-01 Fujitsu Ltd Multi-port memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5954093A (en) * 1982-09-21 1984-03-28 Toshiba Corp Semiconductor storage device
JPS62175992A (en) * 1986-01-29 1987-08-01 Fujitsu Ltd Multi-port memory

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005259321A (en) * 2004-03-15 2005-09-22 Nec Electronics Corp Flexible multi-area memory and electronic device using same
JP2005259320A (en) * 2004-03-15 2005-09-22 Nec Electronics Corp Partial dual port memory and electronic device using same
JP2007122310A (en) * 2005-10-27 2007-05-17 Hitachi Kokusai Electric Inc Data processor
JP5601372B2 (en) * 2010-08-25 2014-10-08 富士通株式会社 Semiconductor memory device
JP2013127829A (en) * 2011-12-16 2013-06-27 Toppan Printing Co Ltd Nonvolatile memory cell, nonvolatile memory cell array, and nonvolatile dual port memory

Similar Documents

Publication Publication Date Title
US7349285B2 (en) Dual port memory unit using a single port memory core
US6625699B2 (en) Multi-port memory device with multiple modes of operation and improved expansion characteristics
US5749086A (en) Simplified clocked DRAM with a fast command input
JPH0612863A (en) Dual port dram
JP2002230977A (en) Arbiter device for multi-port memory, and semiconductor device
KR100317542B1 (en) Semiconductor memory device
JPH0528770A (en) Multiport memory circuit
KR102377804B1 (en) Memory circuit and data processing system
JPH0390942A (en) Control system for main storage device
US6735674B2 (en) Method of maintaining data coherency in late-select synchronous pipeline type semiconductor memory device and data coherency maintaining circuit therefor
JP2001135083A (en) Multi-port memory
JPS6285343A (en) Memory reading-out circuit
JPH10302475A (en) Memory control device
JPH0514359B2 (en)
JP3048762B2 (en) Semiconductor integrated circuit device
JPS62217481A (en) Multiport memory circuit
JP2003272378A (en) Semiconductor memory device
JPH01309159A (en) Multi-port memory
JPS63142589A (en) Semiconductor memory
JPS63183678A (en) Multi-port memory device
JPH0391191A (en) Multiport memory
JPH04105298A (en) Semiconductor memory integrated circuit
JPH0830434A (en) Memory access controller
JPS61198344A (en) Block data writing system
JPH01100794A (en) Memory access system