JPH04289587A - Multiport ram - Google Patents

Multiport ram

Info

Publication number
JPH04289587A
JPH04289587A JP3035812A JP3581291A JPH04289587A JP H04289587 A JPH04289587 A JP H04289587A JP 3035812 A JP3035812 A JP 3035812A JP 3581291 A JP3581291 A JP 3581291A JP H04289587 A JPH04289587 A JP H04289587A
Authority
JP
Japan
Prior art keywords
write
port
input
data
address
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
JP3035812A
Other languages
Japanese (ja)
Inventor
Masahiko Ishida
雅彦 石田
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 JP3035812A priority Critical patent/JPH04289587A/en
Publication of JPH04289587A publication Critical patent/JPH04289587A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:When the same address is accessed from plural write port address and data are written in, any priority port data are arbitrarily set and only the priority port data become the object of write in against the same address designated from plural port addresses within a write cycle. CONSTITUTION:A, B, C write port address, a write port address data coincidence detecting circuit 12, which compares the output of these addresses, a priority write designating circuit 13, which selects priority port write data and a logic circuit, which controls the write enable signal from the outputs of the circuits 12 and 13, are provided. Thus, the contention among the write in data from the plural write ports is avoided and it prevents the data to be stored in the memory cell become unsettled.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、複数のライトポート
を有するマルチポートRAMに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiport RAM having a plurality of write ports.

【0002】0002

【従来の技術】図2は従来のライトポート3組を有する
マルチポートRAMにおける1ビット分の書き込み回路
の一例を示す回路図である。図において1〜3はライト
アドレスデコーダ、4〜6はNチャネル電界効果トラン
ジスタ、7〜9はライトドライバ、10,11はインバ
ータである。
2. Description of the Related Art FIG. 2 is a circuit diagram showing an example of a write circuit for one bit in a conventional multi-port RAM having three sets of write ports. In the figure, 1 to 3 are write address decoders, 4 to 6 are N-channel field effect transistors, 7 to 9 are write drivers, and 10 and 11 are inverters.

【0003】図2において、Aポートアドレス入力およ
びライトイネーブル入力WEAはライトデコーダ1の入
力端子に接続されライトデコーダ1の出力は、ライトワ
ードラインWWL1を介してNチャネル電界効果トラン
ジスタ4(以下、Ntrと記す)のゲート端子Gに接続
されている。Bポートアドレス入力およびライトイネー
ブル入力WEBはライトデコーダ2に接続されライトデ
コーダ2の出力は、ライトワードラインWWL2を介し
てNtr5のゲート端子Gに接続されている。
In FIG. 2, an A port address input and a write enable input WEA are connected to the input terminal of a write decoder 1, and the output of the write decoder 1 is connected to an N channel field effect transistor 4 (hereinafter referred to as Ntr) via a write word line WWL1. ) is connected to the gate terminal G of the The B port address input and write enable input WEB are connected to the write decoder 2, and the output of the write decoder 2 is connected to the gate terminal G of Ntr5 via the write word line WWL2.

【0004】同様にCポートアドレス入力およびライト
イネーブル入力WECはライトデコーダ3に接続されラ
イトデコーダ3の出力は、ライトワードラインWWL3
を介してNtr6のゲート端子Gに接続されている。A
ポートデータ入力DA1は、ライトドライバ7に入力さ
れライトドライバ7の出力はNtr4のソース・ドレイ
ン端子SD4Aに接続されている。
Similarly, the C port address input and write enable input WEC are connected to the write decoder 3, and the output of the write decoder 3 is connected to the write word line WWL3.
It is connected to the gate terminal G of Ntr6 via. A
The port data input DA1 is input to the write driver 7, and the output of the write driver 7 is connected to the source/drain terminal SD4A of the Ntr4.

【0005】同様にBポートデータ入力DB1およびC
ポートデータ入力DC1は、それぞれライトドライバ8
,9を介してNtr5およびNtr6のソース・ドレイ
ン端子SD5A、SD6Aにそれぞれ接続されている。 Ntr4、5、6のソース・ドレイン端子SD4B、S
D5B、SD6Bは、お互いに接続されたうえ、インバ
ータ10の入力端子とインバータ11の出力端子に接続
されている。インバータ10の出力端子はインバータ1
1の入力端子に接続されておりインバータ10とインバ
ータ11でメモリセルを構成している。
Similarly, B port data input DB1 and C
Each port data input DC1 has a write driver 8.
, 9 to source/drain terminals SD5A and SD6A of Ntr5 and Ntr6, respectively. Source/drain terminals SD4B, S of Ntr4, 5, 6
D5B and SD6B are connected not only to each other but also to the input terminal of the inverter 10 and the output terminal of the inverter 11. The output terminal of inverter 10 is inverter 1
The inverter 10 and the inverter 11 constitute a memory cell.

【0006】次に、このRAMの書き込み動作について
説明する。Aポート(Bポート,Cポート)でメモリセ
ルにデータを書き込むには、Aポートアドレス(Bポー
トアドレス,Cポートアドレス)にアドレス設定しライ
トイネーブルWEA(WEB,WEC)を”L”にする
ことによりライトアドレスデコーダ1(2,3)の出力
であるライトワードラインWWL1(WWL2,WWL
3)が”H”となり、Ntr4(Ntr5,Ntr6)
を導通状態にする。ライトドライバ(8,9)により、
インバータ10,11で構成されるメモリセルにデータ
を記憶させ、書き込み動作を終了する。
Next, the write operation of this RAM will be explained. To write data to a memory cell using A port (B port, C port), set the address to A port address (B port address, C port address) and set write enable WEA (WEB, WEC) to "L". The write word line WWL1 (WWL2, WWL), which is the output of the write address decoder 1 (2, 3), is
3) becomes “H” and Ntr4 (Ntr5, Ntr6)
becomes conductive. By the light driver (8, 9),
Data is stored in the memory cell constituted by inverters 10 and 11, and the write operation is completed.

【0007】[0007]

【発明が解決しようとする課題】複数のライトポートを
有する従来のマルチポートRAMは以上のように構成さ
れているため、書き込み時においてライトポートA,B
,Cの少なくとも2組のライトポートアドレスが同一ア
ドレスを指定した場合、Ntr4,5,6の内の少なく
とも2つが導通状態になる。この時ライトデータはNt
r4,5,6のソース・ドレイン端子SD4B,SD5
B,SD6Bでデータどうしが競合し、インバータ10
,11で記憶されるデータが不定になるという問題点が
あった。
[Problem to be Solved by the Invention] Since the conventional multi-port RAM having a plurality of write ports is configured as described above, when writing, write ports A, B
, C specify the same address, at least two of Ntrs 4, 5, and 6 become conductive. At this time, the write data is Nt
Source/drain terminals of r4, 5, 6 SD4B, SD5
B, SD6B data conflict with each other, and inverter 10
, 11 has a problem in that the data stored in them becomes undefined.

【0008】この発明は、上記のような問題点を解消す
るためになされたもので、複数のライトポートアドレス
が同一アドレスを指定し、インバータ10,11で構成
されるメモリセルにデータを書き込もうとする場合、任
意に指定したポートデータのみ優先され、指定されたア
ドレスに前記優先ポートデータが書き込まれ、同一アド
レスに指定された他のポートデータは、書き込まれない
。このように優先ポートデータの指定を可能とすること
により、異なるポート間の書き込みデータの競合を避け
ることが可能なマルチポートRAMを提供することを目
的としている。
[0008] This invention was made to solve the above-mentioned problems, and a plurality of write port addresses specify the same address and data is written into a memory cell composed of inverters 10 and 11. In this case, only the arbitrarily designated port data is given priority, the priority port data is written to the designated address, and other port data designated to the same address is not written. It is an object of the present invention to provide a multi-port RAM that can avoid conflicts in write data between different ports by making it possible to specify priority port data in this manner.

【0009】[0009]

【課題を解決するための手段】この発明に係るマルチポ
ートRAMは、複数のライトポートアドレスとこれらの
出力を比較するためのライトポートアドレスデータ一致
検出回路、優先させるポートデータを選択するための複
数の優先ライトポート指定回路と、この出力および前記
ライトポートアドレスデータ一致検出回路の出力とから
ライトイネーブル信号を制御するための論理回路を備え
たことを特徴とするものである。
[Means for Solving the Problems] A multi-port RAM according to the present invention includes a write port address data coincidence detection circuit for comparing a plurality of write port addresses and their outputs, and a plurality of write port address data coincidence detection circuits for selecting port data to be prioritized. The present invention is characterized by comprising a priority write port designation circuit, and a logic circuit for controlling a write enable signal from this output and the output of the write port address data coincidence detection circuit.

【0010】0010

【作用】この発明におけるマルチポートRAMは、書き
込み時に複数のライトポートアドレスが同一アドレスを
指定した場合、ポートアドレスデータ一致検出回路によ
り信号が出力される。この信号が優先ライトポート指定
回路をイネーブル状態にし、優先ポートデータおよび同
一アドレスを指定していないポートデータに対応するラ
イトイネーブル信号のみイネーブルとし、その他のポー
トデータからの書込みを禁止する。
In the multi-port RAM of the present invention, when a plurality of write port addresses specify the same address during writing, the port address data coincidence detection circuit outputs a signal. This signal enables the priority write port designation circuit, enabling only the write enable signals corresponding to priority port data and port data that do not designate the same address, and prohibits writing from other port data.

【0011】[0011]

【実施例】実施例1. 以下、この発明の一実施例を図に基づいて説明する。図
1は、この発明の一実施例によるライトポート3組を有
するマルチポートRAMにおける2ビット分の書き込み
回路である。図において、1〜3はライトアドレスデコ
ーダ、4〜6,29〜31はNチャネル電界効果トラン
ジスタ、7〜9はライトドライバ、10,11,32,
33はインバータ、12はライトポートアドレスデータ
一致検出回路、13は優先ライトポート指定回路、14
〜17はデコーダ、18は3入力OR、19は3入力N
AND、21〜22は5入力AND、23〜25は2入
力XOR、26〜28は2入力ORである。
[Example] Example 1. Hereinafter, one embodiment of the present invention will be described based on the drawings. FIG. 1 shows a write circuit for 2 bits in a multiport RAM having three sets of write ports according to an embodiment of the present invention. In the figure, 1 to 3 are write address decoders, 4 to 6, 29 to 31 are N-channel field effect transistors, 7 to 9 are write drivers, 10, 11, 32,
33 is an inverter, 12 is a write port address data match detection circuit, 13 is a priority write port designation circuit, 14
~17 is a decoder, 18 is 3-input OR, 19 is 3-input N
21-22 are 5-input ANDs, 23-25 are 2-input XORs, and 26-28 are 2-input ORs.

【0012】図1においてA,B,Cポートアドレス入
力は、ライトアドレスデコーダ一致検出回路12に接続
され、この出力端子ABは、優先ライトポート指定回路
13の3入力OR18および3入力NAND19に接続
された上、デコーダ14のイネーブル端子ENと5入力
AND22の入力端子に接続されている。
In FIG. 1, the A, B, and C port address inputs are connected to a write address decoder coincidence detection circuit 12, and this output terminal AB is connected to a 3-input OR 18 and a 3-input NAND 19 of a priority write port designation circuit 13. Furthermore, it is connected to the enable terminal EN of the decoder 14 and the input terminal of the 5-input AND 22.

【0013】出力端子ACは3入力OR18および3入
力NAND19に接続された上、デコーダ15のイネー
ブル端子ENと5入力AND21の入力端子に接続され
ている。
Output terminal AC is connected to 3-input OR 18 and 3-input NAND 19, as well as to the enable terminal EN of decoder 15 and the input terminal of 5-input AND 21.

【0014】出力端子BCは3入力OR18および3入
力NAND19に接続された上、デコーダ16のイネー
ブル端子ENと5入力AND20の入力端子に接続され
ている。
The output terminal BC is connected to the 3-input OR 18 and the 3-input NAND 19, as well as to the enable terminal EN of the decoder 16 and the input terminal of the 5-input AND 20.

【0015】デコーダ14の入力端子ABは優先ライト
ポート指定回路13の入力端子ABに、出力端子Aおよ
びBは、5入力AND20、21の入力端子に接続され
ている。デコーダ15の入力端子ACは優先ライトポー
ト指定回路13の入力端子ACに、出力端子AおよびC
は、5入力AND20、22の入力端子に接続されてい
る。デコーダ16の入力端子BCは優先ライトポート指
定回路13の入力端子BCに、出力端子BおよびCは、
5入力AND21、22の入力端子に接続されている。 デコーダ17の入力端子D1とD2は、優先ライトポー
ト指定回路13の入力端子D1およびD2に接続され、
入力端子ENは、3入力OR18の出力端子と接続され
ている。
The input terminal AB of the decoder 14 is connected to the input terminal AB of the priority write port designation circuit 13, and the output terminals A and B are connected to the input terminals of the 5-input AND 20, 21. The input terminal AC of the decoder 15 is connected to the input terminal AC of the priority write port designation circuit 13, and the output terminals A and C
are connected to the input terminals of the 5-input AND20 and 22. The input terminal BC of the decoder 16 is the input terminal BC of the priority write port designation circuit 13, and the output terminals B and C are
It is connected to the input terminals of the 5-input AND21 and 22. Input terminals D1 and D2 of the decoder 17 are connected to input terminals D1 and D2 of the priority write port designation circuit 13,
The input terminal EN is connected to the output terminal of the 3-input OR18.

【0016】またこのデコーダの出力端子A,B,Cは
、5入力AND20,21,22にそれぞれ接続されて
いる。3入力NAND19は、5入力AND20, 2
1,22の全てに接続されている。
Output terminals A, B, and C of this decoder are connected to 5-input ANDs 20, 21, and 22, respectively. 3-input NAND19 is 5-input AND20, 2
1 and 22 are all connected.

【0017】5入力AND20の出力はライトイネーブ
ル入力WEAと共に2入力XOR23の入力端子に接続
され、2入力OR26の入力端子にも接続されている。 5入力AND21の出力はライトイネーブル入力WEB
と共に2入力XOR24の入力端子に接続され、2入力
OR27の入力端子にも接続されている。
The output of the 5-input AND 20 is connected together with the write enable input WEA to the input terminal of the 2-input XOR 23 and also to the input terminal of the 2-input OR 26. The output of 5 input AND21 is the write enable input WEB
It is also connected to the input terminal of the 2-input XOR 24, and also to the input terminal of the 2-input OR 27.

【0018】5入力AND22の出力はライトイネーブ
ル入力WECと共に2入力XOR25の入力端子に接続
され、2入力OR28の入力端子にも接続されている。
The output of the 5-input AND 22 is connected together with the write enable input WEC to the input terminal of the 2-input XOR 25, and also to the input terminal of the 2-input OR 28.

【0019】2入力XOR23,24,25の出力は、
それぞれ2入力OR26,27,28のもう一方の入力
端子に接続されている。Aポートアドレス入力および2
入力OR26の出力はライトデコーダ1の入力端子に接
続されライトデコーダ1の出力は、ライトワードライン
WWL1およびWWL1’を介してNtr4,29のゲ
ート端子Gに接続されている。
The outputs of the two-input XORs 23, 24, and 25 are:
Each is connected to the other input terminal of the two-input ORs 26, 27, and 28. A port address input and 2
The output of the input OR26 is connected to the input terminal of the write decoder 1, and the output of the write decoder 1 is connected to the gate terminal G of the Ntr4,29 via the write word lines WWL1 and WWL1'.

【0020】Bポートアドレス入力および2入力OR2
7の出力はライトデコーダ2に接続されライトデコーダ
2の出力は、ライトワードラインWWL2およびWWL
2’を介してNtr5,30のゲート端子Gに接続され
ている。同様にCポートアドレス入力および2入力OR
28の出力は、ライトデコーダ3に接続されライトデコ
ーダ3の出力は、ライトワードラインWWL3およびW
WL3’を介してNtr6,31のゲート端子Gに接続
されている。
B port address input and 2 input OR2
7 is connected to write decoder 2, and the output of write decoder 2 is connected to write word lines WWL2 and WWL.
It is connected to the gate terminal G of Ntr5, 30 via 2'. Similarly, C port address input and 2 input OR
The output of 28 is connected to the write decoder 3, and the output of the write decoder 3 is connected to the write word lines WWL3 and W
It is connected to the gate terminal G of Ntr6, 31 via WL3'.

【0021】Aポートデータ入力DA1は、ライトドラ
イバ7に入力されライトドライバ7の出力はNtr4,
29のソース・ドレイン端子SD4A,SD29Aに接
続されている。Bポートデータ入力DB1は、ライトド
ライバ8を介してNtr5,30のソース・ドレイン端
子SD5A、SD30Aに接続されている。ポートデー
タ入力DC1は、タイトドライバ9に入力されライトド
ライバ9の出力はNtr6,31のソース・ドレイン端
子SD4A,SD31Aに接続されている。
A port data input DA1 is input to the write driver 7, and the output of the write driver 7 is Ntr4,
29 source/drain terminals SD4A and SD29A. B port data input DB1 is connected to source/drain terminals SD5A, SD30A of Ntr5, 30 via write driver 8. Port data input DC1 is input to tight driver 9, and the output of write driver 9 is connected to source/drain terminals SD4A, SD31A of Ntr6, 31.

【0022】Ntr4、5、6のソース・ドレイン端子
SD4B、SD5B、SD6Bは、お互いに接続された
うえ、インバータ10の入力端子とインバータ11の出
力端子に接続されている。インバータ10の出力端子は
インバータ11の入力端子に接続されておりインバータ
10とインバータ11でメモリセルを構成している。
Source/drain terminals SD4B, SD5B, and SD6B of Ntrs 4, 5, and 6 are connected to each other, as well as to an input terminal of an inverter 10 and an output terminal of an inverter 11. The output terminal of inverter 10 is connected to the input terminal of inverter 11, and inverter 10 and inverter 11 constitute a memory cell.

【0023】Ntr29、30、31のソース・ドレイ
ン端子SD29B、SD30B、SD31Bは、お互い
に接続されたうえ、インバータ32の入力端子とインバ
ータ33の出力端子に接続されている。
Source/drain terminals SD29B, SD30B, and SD31B of the Ntrs 29, 30, and 31 are connected to each other, as well as to an input terminal of an inverter 32 and an output terminal of an inverter 33.

【0024】インバータ32の出力端子はインバータ3
3の入力端子に接続されておりインバータ32とインバ
ータ33でメモリセルを構成している。
The output terminal of the inverter 32 is the inverter 3
The inverter 32 and the inverter 33 constitute a memory cell.

【0025】次に、マルチポートRAMの動作について
説明する。A,B,Cライトポートアドレス入力にお互
いに異なったアドレスを指定した場合の書き込み動作に
ついて説明する。
Next, the operation of the multiport RAM will be explained. A write operation when different addresses are specified for the A, B, and C write port address inputs will be described.

【0026】A,B,Cライトポートアドレス入力には
互いに異なったアドレスが設定されているためライトア
ドレスデコーダ一致検出回路12の出力端子AB,AC
,BCは、すべて”H”を出力する。これら3つの信号
は優先ライトポート指定回路13の3入力NAND19
に入力され、この出力は”L”となり、5入力AND2
0,21,22の出力も”L”となる。メモリセルにデ
ータを書き込むには、ライトイネーブル入力WEA(W
EB,WEC)を”H”から”L”に変化させることに
より行われる。この動作により2入力XOR23(24
,25)および2入力OR26(27,28)の出力も
”H”から”L”に変化する。ライトアドレスデコーダ
1(2,3)によりライトワードラインWWL1(WW
L2,WWL3)が”L”から”H”になり、Ntr4
(5,6)を導通状態にする。ライトドライバ7(8,
9)によりA(B,C)ポートデータを、インバータ1
0,11で構成されるメモリセルにデータを記憶させ、
書き込み動作を終了する。
Since different addresses are set to the A, B, and C write port address inputs, the output terminals AB, AC of the write address decoder coincidence detection circuit 12
, BC all output "H". These three signals are the 3-input NAND 19 of the priority write port designation circuit 13.
This output becomes “L”, and the 5 input AND2
The outputs of 0, 21, and 22 also become "L". To write data to a memory cell, write enable input WEA (W
This is done by changing EB, WEC) from "H" to "L". This operation results in a 2-input XOR23 (24
, 25) and the output of the two-input OR 26 (27, 28) also change from "H" to "L". Write address decoder 1 (2, 3) causes write word line WWL1 (WW
L2, WWL3) changes from “L” to “H”, and Ntr4
(5, 6) are made conductive. Light driver 7 (8,
9), the A (B, C) port data is transferred to inverter 1.
Store data in memory cells composed of 0 and 11,
Finish the write operation.

【0027】A,B,Cライトポートアドレス入力の2
組が同一アドレスを指定した場合の書き込み動作につい
て説明する。ライトポートアドレスデータ一致検出回路
13の動作は、AポートアドレスとBポートアドレスが
一致すれば出力端子AB,AC,BCは、”L,H,H
”を出力する。AポートアドレスとCポートアドレスが
一致すれば”H,L,H”をBポートアドレスとCポー
トアドレスが一致すれば、”H,H,L”を出力する。 次にA,B,Cポートアドレスが全て一致すれば”L,
L,L”を出力し、A,B,Cポートアドレスが全て不
一致のときは”H,H,H”を出力する。
2 of A, B, C light port address inputs
A write operation when the sets specify the same address will be described. The operation of the write port address data match detection circuit 13 is such that if the A port address and the B port address match, the output terminals AB, AC, and BC will be "L, H, H.
" is output. If the A port address and C port address match, "H, L, H" is output. If the B port address and C port address match, "H, H, L" is output. Next, A , B, and C port addresses all match, “L,”
If the A, B, and C port addresses all do not match, it outputs "H, H, H."

【0028】AおよびBライトポートアドレス入力の2
組が同一アドレスを指定した時に、優先的にAポートデ
ータの内容をメモリセルに書き込み、Cポートアドレス
で指定したアドレスには上記優先ポートデータに束縛さ
れず書き込み動作を行う場合について述べる。予め優先
ライトポート指定回路13の入力端子ABに”L”を設
定しておく。なお、他の入力端子AC,BC,D1,D
2には如何なる信号を設定してもよい。AおよびBライ
トポートアドレス入力の2組が同一アドレスを指定する
とライトポートアドレスデータ一致検出回路12の出力
端子はABのみ”L”を出力し、AC,BCは”H”を
出力する。
Two of the A and B light port address inputs
A case will be described in which, when the same address is designated by the same address, the contents of the A port data are preferentially written into the memory cell, and the write operation is performed at the address designated by the C port address without being constrained by the priority port data. The input terminal AB of the priority write port designation circuit 13 is set to "L" in advance. In addition, other input terminals AC, BC, D1, D
Any signal may be set to 2. When two sets of A and B write port address inputs specify the same address, the output terminal of the write port address data coincidence detection circuit 12 outputs "L" only for AB, and outputs "H" for AC and BC.

【0029】この信号が優先ライトポート指定回路13
のデコーダ14のイネーブル端子ENに入力されるが、
ここで予め入力端子ABに”L”が設定されていること
からデコーダ14の出力端子Aは”L”を出力する。こ
のため5入力AND20の出力は”L”となる。またラ
イトポートアドレスデータ一致検出回路13のAB出力
が”L”であることから5入力AND22の出力も”L
”となる。しかし5入力AND21の入力は全て”H”
となり、”L”が出力される。
This signal is used by the priority write port designation circuit 13.
is input to the enable terminal EN of the decoder 14 of
Since the input terminal AB is set to "L" in advance, the output terminal A of the decoder 14 outputs "L". Therefore, the output of the 5-input AND20 becomes "L". Furthermore, since the AB output of the write port address data match detection circuit 13 is "L", the output of the 5-input AND22 is also "L".
”.However, all inputs of 5 input AND21 are “H”
Therefore, "L" is output.

【0030】ここでWEA,WEB,WECが共に”H
”から”L”に変化し、書き込み動作を始めると、2入
力OR27の出力は”H”のまま変化せず2入力OR2
6と28の出力が”H”から”L”に変化する。ライト
ワードラインWWL1,WWL3’が”L”から”H”
に変化し、Ntr4,29が導通状態になりAポートデ
ータDA1がインバータ10,11で構成されるメモリ
セルに書き込まれ、CポートデータDC1がインバータ
32,33で構成されるメモリセルに書き込まれる。よ
ってAおよびBライトポートアドレス入力の2組が同一
アドレスを指定した時に、優先的にAポートデータの内
容をメモリセルに書き込み、Cポートアドレスで指定し
たアドレスには上記優先ポートデータに束縛されずCポ
ートデータの内容を書き込むことができる。
[0030] Here, WEA, WEB, and WEC are all “H”.
” to “L” and when the write operation starts, the output of 2-input OR27 remains “H” and does not change.
The outputs of 6 and 28 change from "H" to "L". Write word lines WWL1 and WWL3' change from “L” to “H”
, Ntr4 and Ntr29 become conductive, A port data DA1 is written into the memory cell composed of inverters 10 and 11, and C port data DC1 is written into the memory cell composed of inverters 32 and 33. Therefore, when two sets of A and B write port address inputs specify the same address, the contents of the A port data are preferentially written to the memory cell, and the address specified by the C port address is not bound by the above priority port data. Contents of C port data can be written.

【0031】同様に、BポートデータをAポートデータ
に対し優先的にメモリセルに書き込む場合は、優先ライ
トポート指定回路13の入力端子ABを”H”に設定し
、上記の動作を行う。
Similarly, when writing B port data to a memory cell preferentially over A port data, the input terminal AB of the priority write port designation circuit 13 is set to "H" and the above operation is performed.

【0032】表1に各ポートアドレスが一致するケース
に対する優先ポートデータを決定するときの優先ライト
ポート指定回路13の入力条件を示す。表1において、
APAはAポートアドレス、BPAはBポートアドレス
、CPAはCポートアドレスを示し、また、APDはA
ポートデータ、BPDはBポートデータ、CPDはCポ
ートデータを示している。
Table 1 shows the input conditions of the priority write port designation circuit 13 when determining the priority port data for the case where each port address matches. In Table 1,
APA indicates A port address, BPA indicates B port address, CPA indicates C port address, and APD indicates A port address.
Port data, BPD indicates B port data, and CPD indicates C port data.

【0033】[0033]

【表1】[Table 1]

【0034】[0034]

【発明の効果】以上のようにこの発明によれば、複数の
ライトポートを有するマルチポートRAMにおいて、書
き込み時に複数のライトポートアドレスが同一アドレス
を指定した場合、これをライトポートアドレスデータ一
致検出回路で認識し、優先ライトポート指定回路の入力
で任意に設定されたポートデータを他のポートデータに
優先してメモリセルに書き込むことを可能としたことに
より複数のライトポートからの書き込みデータの競合を
避けることができ、メモリセルに記憶されるデータが不
定になることを防止する効果がある。
As described above, according to the present invention, in a multi-port RAM having a plurality of write ports, when a plurality of write port addresses specify the same address at the time of writing, this is detected by the write port address data coincidence detection circuit. By making it possible to write port data arbitrarily set by the input of the priority write port designation circuit into the memory cell with priority over other port data, conflicts with write data from multiple write ports can be avoided. This has the effect of preventing data stored in memory cells from becoming unstable.

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

【図1】本発明の一実施例に係るライトポート3組を有
するマルチポートRAMにおける1ビット分の書き込み
回路図である。
FIG. 1 is a write circuit diagram for one bit in a multi-port RAM having three sets of write ports according to an embodiment of the present invention.

【図2】従来のライトポート3組を有するRAMにおけ
る2ビット分の書き込み回路の一例を示す回路図である
FIG. 2 is a circuit diagram showing an example of a write circuit for 2 bits in a conventional RAM having three sets of write ports.

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

1,2,3  ライトアドレスデコーダ4,5,6  
Nチャネル電界効果トランジスタ7,8,9  ライト
ドライバ 10,11  インバータ 12  ライトポートアドレスデータ一致検出回路13
  優先ライトポート指定回路 14,15,16,17  デコーダ 18  3入力OR 19  3入力NAND 20,21,22  5入力AND 23,24,25  2入力XOR 26,27,28  2入力OR 29,30,31  Nチャネル電界効果トランジスタ
32,33  インバータ
1, 2, 3 Write address decoder 4, 5, 6
N-channel field effect transistors 7, 8, 9 Write drivers 10, 11 Inverter 12 Write port address data coincidence detection circuit 13
Priority light port designation circuit 14, 15, 16, 17 Decoder 18 3-input OR 19 3-input NAND 20, 21, 22 5-input AND 23, 24, 25 2-input XOR 26, 27, 28 2-input OR 29, 30, 31 N-channel field effect transistors 32, 33 Inverter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数のライトポートを有し、各ポート
から独立にアクセスできるマルチポートRAMにおいて
、ライトポートアドレスデータ一致回路と、前記ライト
ポートアドレスデータ一致回路の出力が接続された優先
ライトポート指定回路を有し、複数のライトポートアド
レスデータが一致したとき、優先ライトポートを任意に
設定できる入力を前記優先ライトポート指定回路に備え
たことを特徴とするマルチポートRAM。
1. In a multi-port RAM that has a plurality of write ports and can be accessed independently from each port, a write port address data matching circuit and a priority write port designation to which an output of the write port address data matching circuit is connected. 1. A multi-port RAM comprising a circuit, wherein the priority write port designation circuit is provided with an input that can arbitrarily set a priority write port when a plurality of write port address data match.
JP3035812A 1991-03-01 1991-03-01 Multiport ram Pending JPH04289587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3035812A JPH04289587A (en) 1991-03-01 1991-03-01 Multiport ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3035812A JPH04289587A (en) 1991-03-01 1991-03-01 Multiport ram

Publications (1)

Publication Number Publication Date
JPH04289587A true JPH04289587A (en) 1992-10-14

Family

ID=12452342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3035812A Pending JPH04289587A (en) 1991-03-01 1991-03-01 Multiport ram

Country Status (1)

Country Link
JP (1) JPH04289587A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100515020B1 (en) * 1997-10-01 2005-12-01 삼성전자주식회사 Dual port memory apparatus to protect contention mode
JP2014182846A (en) * 2013-03-18 2014-09-29 Fujitsu Ltd Register file device and information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100515020B1 (en) * 1997-10-01 2005-12-01 삼성전자주식회사 Dual port memory apparatus to protect contention mode
JP2014182846A (en) * 2013-03-18 2014-09-29 Fujitsu Ltd Register file device and information processor

Similar Documents

Publication Publication Date Title
US7042748B2 (en) Content addressable memory with cascaded array
US6243281B1 (en) Method and apparatus for accessing a segment of CAM cells in an intra-row configurable CAM system
US5852569A (en) Content addressable memory multiple match detection circuit
US6175513B1 (en) Method and apparatus for detecting multiple matches in a content addressable memory
US6901000B1 (en) Content addressable memory with multi-ported compare and word length selection
EP0646927A1 (en) Plural port memory system
JPH04233825A (en) Programmable logic device, circuit block used in this device, method for determining whether input to aforesaid device is used in logic function and method for making input buffer of aforesaid device unusable
JPH0245277B2 (en)
JP2000222884A (en) Circuit and method for detection of idle word in associative memory
JPH09204789A (en) Semiconductor memory
US6751701B1 (en) Method and apparatus for detecting a multiple match in an intra-row configurable CAM system
IE53486B1 (en) Memory
JP3636879B2 (en) Row decoder for semiconductor memory device
US6799243B1 (en) Method and apparatus for detecting a match in an intra-row configurable cam system
JPH04289587A (en) Multiport ram
US5710937A (en) Sorting apparatus
JP3740312B2 (en) CAM cell circuit
JPH1021687A (en) Semiconductor memory device
JPS6131558B2 (en)
JPH0352160B2 (en)
JP3029348B2 (en) Semiconductor integrated circuit
EP1290697A2 (en) Partitioned content addressable memory device
JPS6045505B2 (en) associative memory device
JPH0689592A (en) Semiconductor memory
JPH04291098A (en) Semiconductor memory