JPH06162774A - Multiport ram - Google Patents

Multiport ram

Info

Publication number
JPH06162774A
JPH06162774A JP4313252A JP31325292A JPH06162774A JP H06162774 A JPH06162774 A JP H06162774A JP 4313252 A JP4313252 A JP 4313252A JP 31325292 A JP31325292 A JP 31325292A JP H06162774 A JPH06162774 A JP H06162774A
Authority
JP
Japan
Prior art keywords
write
word lines
memory cell
signal
inverter
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
JP4313252A
Other languages
Japanese (ja)
Inventor
Norimasa Matsumoto
憲昌 松本
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 JP4313252A priority Critical patent/JPH06162774A/en
Publication of JPH06162774A publication Critical patent/JPH06162774A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To output a warning at the time of simultaneous data write from different write ports to the same memory cell. CONSTITUTION:Transistors(TRs)12 and 13 are provided which have gates connected to first and second word lines WWL1 and WWL2 and are connected in series between a node 15 and an earth 11. A TR 14 connected between the node 15 and a power source 10 is provided to pull up the potential of the node 15. An inverter 16 whose input terminal is connected to the node 15 is provided to invert and output the potential of the node 15. Thus, the potential of the input terminal of the inverter 16 is set to the low level by TRs 12 and 13 and the output of the inverter 16 is changed from the low level to the high level when first and second word lines WWLI and WWL2 are simultaneously activated.

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, and more particularly to protection of data written from a plurality of ports.

【0002】[0002]

【従来の技術】図3は、従来の2つの書き込み用ポート
と2つの読み出し用ポートを有するポート数4のマルチ
ポートRAMにおける1ビット分のメモリセルを示す図
である。図において、1,2はインバータであり、イン
バータ1,2は互いに出力端と入力端を接続してデータ
ラッチを構成している。また、3はインバータ1の出力
端に入力端を接続しデータラッチに保持されているデー
タを読み出すためのインバータ、4は一方電極をインバ
ータ3の出力端に接続し他方電極を第1の読み出し用ビ
ット線RBL1に接続しゲート電極を第1の読み出し用
ワード線RWL1に接続して読み出し用アクセスゲート
として動作するNチャネルMOSトランジスタ、5は一
方電極をインバータ3の出力端に接続し他方電極を第2
の読み出し用ビット線RBL2に接続しゲート電極を第
2の読み出し用ワード線RWL2に接続して読み出し用
アクセスゲートとして動作するNチャネルMOSトラン
ジスタ、6は一方電極をインバータ1の入力端に接続し
他方電極を第1の書き込み用ビット線WBL1に接続し
ゲート電極を第1の書き込み用ワード線WWL1に接続
して書き込み用アクセスゲートとして動作するNチャネ
ルMOSトランジスタ、7は一方電極をインバータ1の
入力端に接続し他方電極を第2の書き込み用ビット線W
BL2に接続しゲート電極を第2の書き込み用ワード線
WWL2に接続して書き込み用アクセスゲートとして動
作するNチャネルMOSトランジスタである。インバー
タ1〜3とトランジスタ4,5により一つのメモリセル
MCが構成されている。
2. Description of the Related Art FIG. 3 is a diagram showing a memory cell for 1 bit in a conventional multiport RAM having two ports for writing and two ports for reading. In the figure, reference numerals 1 and 2 denote inverters, and the inverters 1 and 2 connect an output terminal and an input terminal to each other to form a data latch. Reference numeral 3 is an inverter for connecting the output terminal of the inverter 1 to read the data held in the data latch. Reference numeral 4 is for connecting one electrode to the output terminal of the inverter 3 and the other electrode for the first reading. An N-channel MOS transistor 5 connected to the bit line RBL1 and having a gate electrode connected to the first read word line RWL1 to operate as a read access gate has one electrode connected to the output terminal of the inverter 3 and the other electrode connected to the first electrode. Two
, An N-channel MOS transistor connected to the read bit line RBL2 and having its gate electrode connected to the second read word line RWL2 to operate as a read access gate. 6 has one electrode connected to the input end of the inverter 1 and the other An N-channel MOS transistor having an electrode connected to the first write bit line WBL1 and a gate electrode connected to the first write word line WWL1 to operate as a write access gate. Reference numeral 7 has one electrode having an input terminal of the inverter 1. To the second write bit line W.
It is an N-channel MOS transistor which is connected to BL2 and whose gate electrode is connected to the second write word line WWL2 to operate as a write access gate. The inverters 1 to 3 and the transistors 4 and 5 form one memory cell MC.

【0003】また、図4は特開平03−263687号
公報に示されたポート数4のマルチポートRAMのメモ
リセルを示す図であり、この図には列選択用トランジス
タを適用したマルチポートRAMのメモリセルが2ビッ
ト分示されている。図4において、MCa,MCbは図
3に示したメモリセルと同様に構成された左列側メモリ
セル,右列側メモリセル、RBL1a,RBL2aは左
列側メモリセルの第1の読出用ビット線及び第2の読み
出し用ビット線、RBL1b,RBL2bは右列側メモ
リセルの第1の読出用ビット線及び第2の読み出し用ビ
ット線であり、8aはトランジスタ6の一方電極とメモ
リセルMCaのインバータ1の入力端との間に挿入され
直列に接続されゲート電極に列選択信号線CWE1aが
接続された列選択用のNチャネルMOSトランジスタ、
8bはトランジスタ6の一方電極とメモリセルMCbの
インバータ1の入力端との間に挿入され直列に接続され
ゲート電極に列選択信号線CWE1bが接続されたNチ
ャネルMOSトランジスタ、9aはトランジスタ7の一
方電極とメモリセルMCaのインバータ1の入力端との
間に挿入され直列に接続されゲート電極に列選択信号線
CWE2aが接続されたNチャネルMOSトランジス
タ、9bはトランジスタ7の一方電極とメモリセルMC
bのインバータ1の入力端との間に挿入され直列に接続
されゲート電極に列選択信号線CWE2bが接続された
NチャネルMOSトランジスタである。
FIG. 4 is a diagram showing a memory cell of a multi-port RAM with four ports disclosed in Japanese Patent Laid-Open No. 03-263687. This figure shows a multi-port RAM to which a column selection transistor is applied. Two memory cells are shown. 4, MCa and MCb are left column side memory cells and right column side memory cells configured similarly to the memory cell shown in FIG. 3, and RBL1a and RBL2a are first read bit lines of the left column side memory cells. And second read bit lines RBL1b and RBL2b are the first read bit line and the second read bit line of the memory cell on the right column side, and 8a is one electrode of the transistor 6 and the inverter of the memory cell MCa. 1. An N-channel MOS transistor for column selection, which is inserted between the input terminal of 1 and is connected in series and whose gate electrode is connected to the column selection signal line CWE1a,
8b is an N-channel MOS transistor inserted between one electrode of the transistor 6 and the input terminal of the inverter 1 of the memory cell MCb, connected in series, and having a gate electrode connected to the column selection signal line CWE1b, and 9a is one of the transistors 7. An N channel MOS transistor inserted between the electrode and the input terminal of the inverter 1 of the memory cell MCa, connected in series, and having a gate electrode connected to the column selection signal line CWE2a, 9b is one electrode of the transistor 7 and the memory cell MC
It is an N-channel MOS transistor which is inserted between the input terminal of the inverter 1 and the input terminal of the inverter 1 and connected in series, and the column selection signal line CWE2b is connected to the gate electrode.

【0004】まず、図3に示したメモリセルMCへのデ
ータの書き込みは、第1の書き込み用ワード線WWL1
をHレベル電位とすることによってトランジスタ6をオ
ン状態にして第1の書き込み用ビット線WBL1を通し
て行われる。同様に、第2の書き込み用ワード線WWL
2をHレベル電位とすることによってトランジスタ7を
オン状態にして第2の書き込み用ビット線WBL2を通
してメモリセルMCへのデータの書き込みを行うことも
できる。
First, in writing data to the memory cell MC shown in FIG. 3, the first write word line WWL1 is used.
Is set to an H level potential to turn on the transistor 6 and the write is performed through the first write bit line WBL1. Similarly, the second write word line WWL
It is also possible to write data to the memory cell MC through the second write bit line WBL2 by turning on the transistor 7 by setting 2 to the H level potential.

【0005】次に、メモリセルに保持されているデータ
の読み出しは、読み出しポートのそれぞれのワード線を
活性化することによって行われる。すなわち、第1ある
いは第2の読み出し用ワード線RW1,RW2をHレベ
ル電位にするとトランジスタ4あるいはトランジスタ5
がオン状態となり、第1あるいは第2の読み出し用ビッ
ト線を通して読み出される。
Next, the data held in the memory cell is read by activating each word line of the read port. That is, when the first or second read word line RW1, RW2 is set to the H level potential, the transistor 4 or the transistor 5
Is turned on and is read out through the first or second read bit line.

【0006】次に、図4に示したマルチポートRAMに
おいて、まず左列側のメモリセルMCaへのデータの書
き込みは、第1の書き込み用ワード線WWL1をHレベ
ル電位にして列選択信号線CWE1aをHレベル電位に
することでトランジスタ6,8aが同時にオン状態にな
り、第1の書き込み用ビット線WBL1を通して行うこ
とができる。
Next, in the multi-port RAM shown in FIG. 4, first, in writing data to the memory cell MCa on the left column side, the first write word line WWL1 is set to the H level potential and the column select signal line CWE1a. Is set to the H level potential, the transistors 6 and 8a are simultaneously turned on, and this can be performed through the first write bit line WBL1.

【0007】同様に、メモリセルMCaへのデータの書
き込みは、第2の書き込み用ワード線WWL2と列選択
信号線CWE2aを同時にHレベル電位にしてトランジ
スタ7,9aをオン状態にすることによっても第2の書
き込み用ビット線WBL2を通して行うことができる。
Similarly, the data writing to the memory cell MCa is also performed by setting the second write word line WWL2 and the column selection signal line CWE2a to the H level potential at the same time to turn on the transistors 7 and 9a. This can be done through two write bit lines WBL2.

【0008】また、右列側のメモリセルMCbへのデー
タの書き込みは、第1のワード線WWL1と列選択信号
線CWE1bを同時にHレベル電位にしてトランジスタ
6,8bを同時にオン状態にすることによって第1の書
き込み用ビット線WBL1を通して行うことができる。
Data is written to the memory cell MCb on the right column side by simultaneously setting the first word line WWL1 and the column selection signal line CWE1b to the H level potential and simultaneously turning on the transistors 6 and 8b. This can be performed through the first write bit line WBL1.

【0009】同様に、メモリセルMCbへのデータの書
き込みは、第2のワード線WWL1と列選択信号線CW
E2bを同時にHレベル電位にしてトランジスタ7,9
bを同時にオン状態にすることによっても第2の書き込
み用ビット線WBL2を通して行うことができる。
Similarly, for writing data to the memory cell MCb, the second word line WWL1 and the column selection signal line CW are used.
E2b is set to H level potential at the same time, and transistors 7 and 9 are connected.
It can also be performed through the second write bit line WBL2 by simultaneously turning on b.

【0010】なお、読み出し動作については、図3に示
したマルチポートRAMと同様に行うことができる。左
列側メモリセルMCaにあっては、第1あるいは第2の
読み出し用ワード線RWL1,RWL2を活性化して第
1あるいは第2の読み出し用ビット線RBL1a,RB
L2aを通してデータを読み出す。右列側メモリセルM
Cbにあっては、第1あるいは第2の読み出し用ワード
線RWL1,RWL2を活性化して第1あるいは第2の
読み出し用ビット線RBL1b,RBL2bを通してデ
ータを読み出す。
The read operation can be performed in the same manner as the multiport RAM shown in FIG. In the memory cell MCa on the left column side, the first or second read word line RWL1, RWL2 is activated to activate the first or second read bit line RBL1a, RB.
Read data through L2a. Right column memory cell M
In Cb, the first or second read word line RWL1, RWL2 is activated and data is read through the first or second read bit line RBL1b, RBL2b.

【0011】[0011]

【発明が解決しようとする課題】従来のマルチポートR
AMは以上のように構成されているので、第1及び第2
のワード線WWL1,WWL2が同時に活性化され、同
一のメモリセルに対して同時にデータの書き込みが行わ
れてメモリセルのデータが正常に書き込めなかった場合
でも、その異常状態を検出することができずメモリセル
に対して誤ったデータが保持されて読み出される等、デ
ータが破壊されるという問題点があった。
[Problems to be Solved by the Invention] Conventional multi-port R
Since the AM is configured as described above, the first and second
Even if the word lines WWL1 and WWL2 are simultaneously activated and the data is written to the same memory cell at the same time and the data in the memory cell cannot be written normally, the abnormal state cannot be detected. There is a problem that data is destroyed, such as erroneous data being held and read from the memory cell.

【0012】この発明は上記のような問題点を解消する
ためになされたもので、同一メモリセルに対して複数の
ポートから同時に書き込みが行われた時に、それを検出
することを目的としており、検出した結果を用いて破壊
されたデータを用いないようにすることを目的としてい
る。
The present invention has been made to solve the above problems, and an object thereof is to detect the same memory cell when writing is simultaneously performed from a plurality of ports, The purpose is to avoid using corrupted data by using the detected results.

【0013】[0013]

【課題を解決するための手段】第1の発明に係るマルチ
ポートRAMは、複数の書き込み用ポートを有するマル
チポートRAMであって、複数の前記書き込み用ポート
にそれぞれ対応して設けられ、同一のメモリセルを選択
する複数のゲートのそれぞれの制御端子に接続した複数
のワード線と、前記複数のワード線に接続され、接続さ
れた該ワード線うち少なくとも2本の前記ワード線に同
時に書き込み信号が伝達されたとき、同時書き込みを警
告する信号を出力する同時書き込み警告手段とを備えて
構成されている。
A multiport RAM according to a first aspect of the present invention is a multiport RAM having a plurality of write ports, which are provided corresponding to a plurality of the write ports, respectively. A write signal is simultaneously applied to a plurality of word lines connected to respective control terminals of a plurality of gates for selecting a memory cell and at least two word lines connected to the plurality of word lines and connected to the word lines. Simultaneous writing warning means for outputting a signal for warning simultaneous writing when transmitted is configured.

【0014】第2の発明に係るマルチポートRAMは、
複数の書き込み用ポートを有するマルチポートRAMで
あって、複数の前記書き込み用ポートにそれぞれ対応し
て設けられ、同一のメモリセルを選択する複数のゲート
のそれぞれの制御端子に接続した複数のワード線と、前
記複数のワード線に対応して設けられ、対応する前記ワ
ード線が選択する行の中の複数列のメモリセルの中から
データを書き込むべき特定の列のメモリセルを選択する
ための列アドレス信号を伝達する複数の列アドレス信号
線と、前記複数のワード線及び前記複数の列アドレス選
択線に接続され、接続された該ワード線うち少なくとも
2本の前記ワード線に同時に書き込み信号が伝達され、
かつ前記書き込み信号が同時に伝達された少なくとも2
本の前記ワード線に対応する列アドレス信号線に同一列
を選択する列アドレス信号が伝達されたとき、同時書き
込みを警告する信号を出力する同時書き込み警告手段と
を備えて構成されている。
The multiport RAM according to the second invention is
A multi-port RAM having a plurality of write ports, the plurality of word lines provided corresponding to the plurality of write ports and connected to respective control terminals of a plurality of gates for selecting the same memory cell. And a column for selecting a memory cell of a specific column to write data from among memory cells of a plurality of columns in a row selected by the corresponding word line. A write signal is simultaneously transmitted to a plurality of column address signal lines for transmitting an address signal, the plurality of word lines and the plurality of column address selection lines, and at least two of the connected word lines simultaneously have the word lines. Is
And at least two of which the write signals are simultaneously transmitted
When a column address signal for selecting the same column is transmitted to a column address signal line corresponding to the word line of the book, a simultaneous write warning means for outputting a signal for warning simultaneous write is provided.

【0015】[0015]

【作用】第1の発明における同時書き込み警告手段は、
同一メモリセルに接続された複数のゲートのそれぞれの
ワード線に同時に書き込み信号が伝達され、同一メモリ
セルに対して複数ポートから同時に書き込みを行う様な
データの同時書き込みが発生した場合に同時書き込みを
警告する信号を出力するので、同時書き込み警告手段の
出力する信号によってデータの同時書き込みが起こった
ことを知ることができる。
The simultaneous writing warning means in the first invention is
Write signals are simultaneously transmitted to the word lines of multiple gates connected to the same memory cell, and simultaneous write is performed when simultaneous data write such that simultaneous write is performed from multiple ports to the same memory cell occurs. Since the warning signal is output, it is possible to know from the signal output from the simultaneous writing warning means that the simultaneous writing of data has occurred.

【0016】第2の発明における同時書き込み警告手段
は、同一メモリセルに接続された複数のゲートのそれぞ
れのワード線及び列アドレス信号線によって同一メモリ
セルに対して複数ポートから書き込みを行うため同時に
アクセスがあった場合に、同時書き込みを警告する信号
を出力するので、同時書き込み警告手段の出力する信号
によってデータの同時書き込みが起こったことを知るこ
とができる。
The simultaneous write warning means in the second aspect of the present invention simultaneously accesses the same memory cell from a plurality of ports by the word lines and the column address signal lines of the plurality of gates connected to the same memory cell, thereby simultaneously accessing the same memory cell. If there is, a signal for warning simultaneous writing is output, so that it is possible to know that simultaneous writing of data has occurred by the signal output by the simultaneous writing warning means.

【0017】[0017]

【実施例】以下、この発明の第1実施例によるマルチポ
ートRAMを図1について説明する。図1において、1
0は電源、11は接地を示しており、14はドレイン電
極及びゲート電極を電源10に接続したプルアップ用の
NチャネルMOSトランジスタ、13はソース電極を接
地しゲート電極を第2のワード線WWL2に接続した同
時書き込み検出用のNチャネルMOSトランジスタ、1
2はソース電極をトランジスタ13のドレイン電極に接
続しノード15でドレイン電極をトランジスタ14のソ
ース電極に接続しゲート電極を第1のワード線WWL1
に接続した同時書き込み検出用のNチャネルMOSトラ
ンジスタ、16は入力端をトランジスタ14の他方電極
に接続した同時書き込み検出用のインバータであり、そ
の他図3と同一符号は図3と同一または相等する部分を
示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A multiport RAM according to a first embodiment of the present invention will be described below with reference to FIG. In FIG. 1, 1
Reference numeral 0 indicates a power supply, 11 indicates grounding, 14 is an N-channel MOS transistor for pulling up in which the drain electrode and the gate electrode are connected to the power supply 10, 13 is the source electrode and the gate electrode is the second word line WWL2. N-channel MOS transistor for simultaneous write detection connected to 1
Reference numeral 2 denotes a source electrode connected to the drain electrode of the transistor 13, a node 15 connected to the drain electrode of the transistor 14 and a gate electrode of the first word line WWL1.
An N-channel MOS transistor for simultaneous write detection connected to the reference numeral 16 is an inverter for simultaneous write detection whose input end is connected to the other electrode of the transistor 14, and the same reference numerals as those in FIG. Indicates.

【0018】図1に示したマルチポートRAMの読み出
し及び書き込みの動作は図3に示したマルチポートRA
Mと同様に行われる。そして、トランジスタ12〜14
及びインバータ16で構成された同時書き込み警告手段
は、第1及び第2のワード線WWL1,WWL2の電位
に応じた出力信号を出力する。第1及び第2のワード線
WWL1,WWL2のいづれか一方がLレベル電位であ
れば、トランジスタ12あるいはトランジスタ13がオ
フ状態となり、ノード15の電位はプルアップトランジ
スタ14によってHレベル電位を保つためインバータ1
6はLレベル電位を出力する。
The read and write operations of the multiport RAM shown in FIG. 1 are performed by the multiport RA shown in FIG.
The same as M. And the transistors 12-14
The simultaneous write warning means composed of the inverter 16 outputs an output signal according to the potentials of the first and second word lines WWL1 and WWL2. If either one of the first and second word lines WWL1 and WWL2 is at the L level potential, the transistor 12 or the transistor 13 is turned off, and the potential of the node 15 is kept at the H level potential by the pull-up transistor 14, so that the inverter 1
6 outputs an L level potential.

【0019】ところが、それぞれ異なる書き込みポート
に属する第1及び第2のワード線WWL1,WWL2が
共にHレベル電位となり、トランジスタ6,7が同時に
オン状態となって第1及び第2のビット線WBL1,W
BL2から書き込みが可能な状態になると、トランジス
タ12,13が同時にオンして、ノード15の電位をL
レベル電位に引き下げてインバータ16の出力信号をH
レベル電位にする。インバータ16がHレベル電位、即
ち、同時書き込み警告信号を出力する。同時書き込み警
告信号が出力されたとき、例えば正しいデータを再書き
込みすることによってデータを保護することができる。
However, the first and second word lines WWL1 and WWL2 belonging to different write ports are both at the H level potential, the transistors 6 and 7 are simultaneously turned on, and the first and second bit lines WBL1 and WBL1. W
When writing is possible from BL2, the transistors 12 and 13 are turned on at the same time, and the potential of the node 15 is changed to L
The output signal of the inverter 16 to H
Set to level potential. The inverter 16 outputs an H level potential, that is, a simultaneous write warning signal. When the simultaneous write warning signal is output, the data can be protected by, for example, rewriting the correct data.

【0020】なお、インバータ16の論理しきい値は、
NチャネルMOSトランジスタ12,13が導通してい
る時のノード15の電位をLレベルとし、NチャネルM
OSトランジスタ12,13のいづれか一方が導通して
いない時のノード15の電位をHレベルとして設定する
必要がある。
The logical threshold value of the inverter 16 is
The potential of the node 15 when the N-channel MOS transistors 12 and 13 are conducting is set to the L level, and the N-channel M
It is necessary to set the potential of the node 15 as H level when either one of the OS transistors 12 and 13 is not conducting.

【0021】次にこの発明の第2実施例によるマルチポ
ートRAMを図2について説明する。図2は列選択用ト
ランジスタを適用したマルチポートRAMにおける2ビ
ット分のメモリセルについて示した回路図である。図2
において、14はドレイン電極及びゲート電極を電源1
0に接続したプルアップ用のNチャネルMOSトランジ
スタ、13はソース電極を接地しゲート電極を第2のワ
ード線WWL2に接続した同時書き込み検出用のNチャ
ネルMOSトランジスタ、12はソース電極をトランジ
スタ13のドレイン電極に接続しノード15でドレイン
電極をトランジスタ14のソース電極に接続しゲート電
極を第1のワード線WWL1に接続した同時書き込み検
出用のNチャネルMOSトランジスタ、17は一方入力
端をトランジスタ14のドレイン電極に接続したNOR
ゲート、18は一方及び他方入力端を列アドレス信号線
Y1,Y2に接続し出力端をNORゲート17の他方入
力端に接続したイクスクルーシブORゲート、19,2
1は列アドレス信号線Y1に入力端を接続したインバー
タ、20は入力端をインバータ19の出力端に接続した
インバータ、22は一方入力端をインバータ20の出力
端に接続し他方入力端にライトイネーブル信号WE1を
入力し出力端を列選択信号線CWE1aに接続したAN
Dゲート、23は一方入力端をインバータ21の出力端
に接続し他方入力端にライトイネーブル信号WE1を入
力し出力端を列選択信号線CWE2aに接続したAND
ゲート、24,25は入力端を列アドレス信号線Y2に
接続したインバータ、26は入力端をインバータ24の
出力端に接続したインバータ、27は一方入力端をイン
バータ26の出力端に接続し他方入力端にライトイネー
ブル信号WE2を入力し出力端を列選択信号線CWE2
aに接続したANDゲート、28は一方入力端をインバ
ータ25の出力端に接続し他方入力端にライトイネーブ
ル信号WE2を入力し出力端を列選択信号線CWE2b
に接続したANDゲートである。
A multiport RAM according to the second embodiment of the present invention will be described with reference to FIG. FIG. 2 is a circuit diagram showing a memory cell for 2 bits in a multiport RAM to which a column selecting transistor is applied. Figure 2
In, 14 is a power source for the drain electrode and the gate electrode
N-channel MOS transistor for pull-up connected to 0, 13 is an N-channel MOS transistor for simultaneous write detection in which the source electrode is grounded and the gate electrode is connected to the second word line WWL2. 12 is the source electrode of the transistor 13. An N-channel MOS transistor for simultaneous write detection, which is connected to the drain electrode, the drain electrode is connected to the source electrode of the transistor 14 at the node 15, and the gate electrode is connected to the first word line WWL1, 17 is one input terminal of the transistor 14 NOR connected to the drain electrode
A gate 18 is an exclusive OR gate having one and other input terminals connected to the column address signal lines Y1 and Y2 and an output terminal connected to the other input terminal of the NOR gate 17, 19 and 2
Reference numeral 1 is an inverter whose input end is connected to the column address signal line Y1, 20 is an inverter whose input end is connected to the output end of the inverter 19, and 22 is one input end connected to the output end of the inverter 20 and write enable is enabled at the other input end. AN in which the signal WE1 is input and the output end is connected to the column selection signal line CWE1a
An AND gate having one input end connected to the output end of the inverter 21 and the other input end inputting the write enable signal WE1 and the output end connected to the column selection signal line CWE2a
Gates, 24 and 25 are inverters whose input ends are connected to the column address signal line Y2, 26 is an inverter whose input ends are connected to the output ends of the inverter 24, and 27 is one input end connected to the output ends of the inverter 26 and the other input The write enable signal WE2 is input to the end and the output end is the column selection signal line CWE2.
The AND gate connected to a has one input terminal connected to the output terminal of the inverter 25, the other input terminal to which the write enable signal WE2 is input, and the output terminal connected to the column selection signal line CWE2b.
Is an AND gate connected to.

【0022】図2に示すマルチポートRAMのメモリセ
ルMCa,MCbへのデータの書き込み及び読み出し動
作は図4に示したマルチポートRAMと同様である。
Data write and read operations to and from the memory cells MCa and MCb of the multi-port RAM shown in FIG. 2 are the same as those of the multi-port RAM shown in FIG.

【0023】図2のマルチポートRAMにおいて、まず
メモリセルMCaに第1及び第2のビット線WBL1,
WBL2を通して、同時にデータの書き込みが行われる
場合は、トランジスタ6,7とトランジスタ8a,9a
が全て同時にオン状態となる時である。つまり、第1及
び第2のワード線WWL1,WWL2がHレベル電位に
なり、列アドレス信号線Y1,Y2がHレベル電位にな
り、さらにライトイネーブル信号WE1,WE2がHレ
ベル電位になった時に上記の状態となる。この時、イン
バータ19及びインバータ24の出力がLレベル、そし
てその出力を受けてインバータ20及びインバータ26
の出力がHレベルとなり、ANDゲート22及びAND
ゲート27の2つの入力端の電位がHレベルになってそ
れぞれの出力はHレベル電位となる。
In the multiport RAM of FIG. 2, first, the first and second bit lines WBL1, WBL1,
When data is simultaneously written through the WBL2, the transistors 6 and 7 and the transistors 8a and 9a
Is when all of them are turned on at the same time. That is, when the first and second word lines WWL1 and WWL2 become H level potentials, the column address signal lines Y1 and Y2 become H level potentials, and the write enable signals WE1 and WE2 become H level potentials, It becomes the state of. At this time, the outputs of the inverter 19 and the inverter 24 are L level, and the outputs thereof receive the inverter 20 and the inverter 26.
Output becomes H level, and AND gate 22 and AND
The potentials of the two input terminals of the gate 27 become H level, and the respective outputs become H level potential.

【0024】従って、この様な状態の時、イクスクルー
シブORゲートの入力端が共にHレベルでイクスクルー
シブORゲートの出力はLレベルになる。またこの時、
トランジスタ12,13は共にオン状態になるので、ノ
ード15の電位はLレベルになる。NORゲート17の
入力端が共にLレベルであるからNORゲート17から
同時書き込み警告信号としてHレベル電位が出力され
る。
Therefore, in such a state, the input terminals of the exclusive OR gate are both at the H level and the output of the exclusive OR gate is at the L level. Also at this time,
Since both the transistors 12 and 13 are turned on, the potential of the node 15 becomes L level. Since both input terminals of the NOR gate 17 are at the L level, the NOR gate 17 outputs the H level potential as the simultaneous write warning signal.

【0025】この様に同時書き込み警告信号が出力され
た場合には正しいデータを再書き込みするなどして破壊
されたデータを記憶し直すようにすることができる。
In this way, when the simultaneous write warning signal is output, it is possible to rewrite the correct data and re-store the destroyed data.

【0026】また、メモリセルMCaに第1及び第2の
ビット線WBL1,WBL2を通して同時にデータの書
き込みが行われる可能性がない場合は、トランジスタ
6,7及びトランジスタ8a,9aのいずれかがオフ状
態となっている。従って、この時には第1及び第2のワ
ード線WWL1,WWL2及び列アドレス選択信号線Y
1,Y2のいずれか1つがLレベル電位となる。この場
合には、イクスクルーシブORゲート18の出力がHレ
ベル、あるいはトランジスタ12,13のいずれかがオ
フすることによってノード15の電位がHレベルにな
り、NORゲート17の出力はLレベル電位に保たれ
る。
If there is no possibility of simultaneously writing data to the memory cell MCa through the first and second bit lines WBL1 and WBL2, either one of the transistors 6 and 7 and the transistors 8a and 9a is turned off. Has become. Therefore, at this time, the first and second word lines WWL1 and WWL2 and the column address selection signal line Y
Any one of 1 and Y2 becomes the L level potential. In this case, the output of the exclusive OR gate 18 is at the H level, or either of the transistors 12 and 13 is turned off to bring the potential of the node 15 to the H level, and the output of the NOR gate 17 is brought to the L level potential. To be kept.

【0027】図2のマルチポートRAMにおいて、メモ
リセルMCbに第1及び第2のビット線WBL1,WB
L2を通して同時にデータの書き込みが行われる場合
は、トランジスタ6,7とトランジスタ8b,9bが全
て同時にオン状態となる時である。つまり、第1及び第
2のワード線WWL1,WWL2がHレベル電位にな
り、列アドレス信号線Y1,Y2がLレベル電位にな
り、さらにライトイネーブル信号WE1,WE2がHレ
ベル電位になった時に上記の状態となる。この時、イン
バータ21及びインバータ25の出力がHレベルとな
り、ANDゲート23及びANDゲート28の2つの入
力端の電位がHレベルになってそれぞれの出力はHレベ
ル電位となる。
In the multiport RAM of FIG. 2, the first and second bit lines WBL1 and WB are provided in the memory cell MCb.
When data is simultaneously written through L2, it is when the transistors 6 and 7 and the transistors 8b and 9b are all turned on at the same time. That is, when the first and second word lines WWL1 and WWL2 are at H level potential, the column address signal lines Y1 and Y2 are at L level potential, and the write enable signals WE1 and WE2 are at H level potential, It becomes the state of. At this time, the outputs of the inverter 21 and the inverter 25 become the H level, the potentials of the two input terminals of the AND gate 23 and the AND gate 28 become the H level, and the respective outputs become the H level potential.

【0028】従って、この様な状態の時、イクスクルー
シブORゲート18の入力端が共にLレベルでイクスク
ルーシブORゲートの出力はLレベルになる。またこの
時、トランジスタ12,13は共にオン状態になるの
で、ノード15の電位はLレベルになる。NORゲート
17の入力端が共にLレベルであるからNORゲート1
7から同時書き込み警告信号としてHレベル電位が出力
される。
Therefore, in such a state, the input terminals of the exclusive OR gate 18 are both at the L level, and the output of the exclusive OR gate is at the L level. At this time, the transistors 12 and 13 are both turned on, so that the potential of the node 15 becomes L level. Since the input terminals of the NOR gate 17 are both at the L level, the NOR gate 1
An H level potential is output from 7 as a simultaneous write warning signal.

【0029】この様に同時書き込み警告信号が出力され
た場合には正しいデータを再書き込みするなどして誤っ
たデータを記憶しないようにすることができる。
When the simultaneous write warning signal is output in this manner, correct data can be rewritten to prevent erroneous data from being stored.

【0030】また、メモリセルMCbに第1及び第2の
ビット線WBL1,WBL2を通して同時にデータの書
き込みが行われない場合は、トランジスタ6,7及びト
ランジスタ8b,9bのいずれかがオフ状態となってい
る。従って、この時には第1及び第2のワード線WWL
1,WWL2及び列アドレス選択信号線Y1,Y2のい
ずれか1つがLレベル電位となる。この場合には、イク
スクルーシブORゲート18の出力がHレベル、あるい
はトランジスタ12,13のいずれかがオフすることに
よってノード15の電位がHレベルになり、NORゲー
ト17の出力はLレベル電位に保たれる。
If data is not simultaneously written to the memory cell MCb through the first and second bit lines WBL1 and WBL2, one of the transistors 6 and 7 and the transistors 8b and 9b is turned off. There is. Therefore, at this time, the first and second word lines WWL
1, WWL2 or one of the column address selection signal lines Y1 and Y2 has an L level potential. In this case, the output of the exclusive OR gate 18 is at the H level, or either of the transistors 12 and 13 is turned off to bring the potential of the node 15 to the H level, and the output of the NOR gate 17 is brought to the L level potential. To be kept.

【0031】なお、図2のマルチポートRAMで書き込
み用ポートが2つの場合について列アドレス信号Y1,
Y2が各ポートに対して1本の場合を説明したが、列ア
ドレス信号線は各ポート毎に2本以上設けられていても
よく、上記実施例と同様の効果を奏する。その際は、列
アドレス信号線毎にイクスクルーシブORゲートを設
け、それらイクスクルーシブORゲートの全ての出力の
論理積をとった出力がNORゲート17の一方入力端に
入力される。
The column address signal Y1, when the write port is two in the multi-port RAM of FIG.
Although the case where one Y2 is provided for each port has been described, two or more column address signal lines may be provided for each port, and the same effect as that of the above-described embodiment is obtained. In that case, an exclusive OR gate is provided for each column address signal line, and the output of the logical product of all the outputs of these exclusive OR gates is input to one input end of the NOR gate 17.

【0032】[0032]

【発明の効果】以上のように、請求項1記載のマルチポ
ートRAMによれば、複数のワード線に接続され、接続
された該ワード線うち少なくとも2本の前記ワード線に
同時に書き込み信号が伝達されたとき、同時書き込みを
警告する信号を出力する同時書き込み警告手段を備えて
構成されているので、同一メモリセルに異なる書き込み
ポートからアクセスされる可能性がある場合に警告信号
を出力することができ、メモリセルのデータを保護する
ことができるという効果がある。
As described above, according to the multiport RAM of the first aspect, a write signal is transmitted to a plurality of word lines, and a write signal is simultaneously transmitted to at least two of the connected word lines. In this case, since the simultaneous write warning means for outputting a signal for warning the simultaneous write is provided, the warning signal can be output when the same memory cell may be accessed from different write ports. Therefore, there is an effect that the data in the memory cell can be protected.

【0033】請求項2記載のマルチポートRAMによれ
ば、複数のワード線及び複数の列アドレス選択線に接続
され、接続された該ワード線うち少なくとも2本のワー
ド線に同時に書き込み信号が伝達され、かつ書き込み信
号が同時に伝達された少なくとも2本の前記ワード線に
対応する列アドレス信号線に同一列を選択する列アドレ
ス信号が伝達されたとき、同時書き込みを警告する信号
を出力する同時書き込み警告手段を備えて構成されてい
るので、同一メモリセルに異なる書き込みポートからア
クセスされた場合に警告信号を出力することができ、メ
モリセルのデータを保護することができるという効果が
ある。
According to the multiport RAM of the second aspect, the write signal is transmitted to the plurality of word lines and the plurality of column address selection lines, and the write signal is simultaneously transmitted to at least two word lines of the connected word lines. And a simultaneous write warning that outputs a signal to warn simultaneous write when a column address signal for selecting the same column is transmitted to the column address signal lines corresponding to at least two word lines to which the write signals are simultaneously transmitted. Since it is configured to include the means, it is possible to output a warning signal when the same memory cell is accessed from different write ports, and it is possible to protect the data in the memory cell.

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

【図1】この発明の第1実施例によるマルチポートRA
Mのメモリセル及び同時書き込み警告手段の構成を示す
回路図である。
FIG. 1 is a multiport RA according to a first embodiment of the present invention.
It is a circuit diagram which shows the structure of the memory cell of M, and a simultaneous write warning means.

【図2】この発明の第2実施例によるマルチポートRA
Mのメモリセル及び同時書き込み警告手段の構成を示す
回路図である。
FIG. 2 is a multiport RA according to a second embodiment of the present invention.
It is a circuit diagram which shows the structure of the memory cell of M, and a simultaneous write warning means.

【図3】従来のマルチポートRAMのメモリセルの構成
を示す回路図である。
FIG. 3 is a circuit diagram showing a configuration of a memory cell of a conventional multiport RAM.

【図4】従来のマルチポートRAMのメモリセルの構成
を示す回路図である。
FIG. 4 is a circuit diagram showing a configuration of a memory cell of a conventional multiport RAM.

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

1〜3 インバータ 4〜7,12〜14 NチャネルMOSトランジスタ 17 NORゲート 18 イクスクルーシブORゲート 22 ANDゲート Y1,Y2 列アドレス信号線 1 to 3 inverters 4 to 7 and 12 to 14 N channel MOS transistor 17 NOR gate 18 exclusive OR gate 22 AND gate Y1, Y2 column address signal line

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の書き込み用ポートを有するマルチ
ポートRAMにおいて、 複数の前記書き込み用ポートにそれぞれ対応して設けら
れ、同一のメモリセルを選択する複数のゲートのそれぞ
れの制御端子に接続した複数のワード線と、 前記複数のワード線に接続され、接続された該ワード線
うち少なくとも2本の前記ワード線に同時に書き込み信
号が伝達されたとき、同時書き込みを警告する信号を出
力する同時書き込み警告手段と、を備えるマルチポート
RAM。
1. A multi-port RAM having a plurality of write ports, wherein a plurality of gates are provided corresponding to the plurality of write ports and connected to respective control terminals of a plurality of gates for selecting the same memory cell. And a plurality of word lines, and a simultaneous write warning that outputs a signal to warn simultaneous write when a write signal is simultaneously transmitted to at least two of the word lines connected to the plurality of word lines. A multiport RAM comprising:
【請求項2】 複数の書き込み用ポートを有するマルチ
ポートRAMにおいて、 複数の前記書き込み用ポートにそれぞれ対応して設けら
れ、同一のメモリセルを選択する複数のゲートのそれぞ
れの制御端子に接続した複数のワード線と、 前記複数のワード線に対応して設けられ、対応する前記
ワード線が選択する行の中の複数列のメモリセルの中か
らデータを書き込むべき特定の列のメモリセルを選択す
るための列アドレス信号を伝達する複数の列アドレス信
号線と、 前記複数のワード線及び前記複数の列アドレス選択線に
接続され、接続された該ワード線うち少なくとも2本の
前記ワード線に同時に書き込み信号が伝達され、かつ前
記書き込み信号が同時に伝達された少なくとも2本の前
記ワード線に対応する列アドレス信号線に同一列を選択
する列アドレス信号が伝達されたとき、同時書き込みを
警告する信号を出力する同時書き込み警告手段と、を備
えるマルチポートRAM。
2. A multi-port RAM having a plurality of write ports, wherein a plurality of gates are provided corresponding to the plurality of write ports and connected to respective control terminals of a plurality of gates for selecting the same memory cell. And a plurality of columns of memory cells that are provided corresponding to the plurality of word lines and are selected by the corresponding word lines, and select a memory cell of a specific column to which data is to be written. A plurality of column address signal lines for transmitting a column address signal for writing, and simultaneously writing to at least two of the word lines connected to the plurality of word lines and the plurality of column address selection lines. The same column is connected to the column address signal line corresponding to at least two of the word lines to which the signal is transmitted and the write signal is simultaneously transmitted. And a simultaneous write warning means for outputting a signal for warning simultaneous writing when a column address signal to be selected is transmitted.
JP4313252A 1992-11-24 1992-11-24 Multiport ram Pending JPH06162774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4313252A JPH06162774A (en) 1992-11-24 1992-11-24 Multiport ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4313252A JPH06162774A (en) 1992-11-24 1992-11-24 Multiport ram

Publications (1)

Publication Number Publication Date
JPH06162774A true JPH06162774A (en) 1994-06-10

Family

ID=18038965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4313252A Pending JPH06162774A (en) 1992-11-24 1992-11-24 Multiport ram

Country Status (1)

Country Link
JP (1) JPH06162774A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006021440A1 (en) * 2004-08-26 2006-03-02 Thermo Electron (Karlsruhe) Gmbh Tempering device
JP2009238332A (en) * 2008-03-27 2009-10-15 Renesas Technology Corp Semiconductor memory device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006021440A1 (en) * 2004-08-26 2006-03-02 Thermo Electron (Karlsruhe) Gmbh Tempering device
JP2009238332A (en) * 2008-03-27 2009-10-15 Renesas Technology Corp Semiconductor memory device
US8305836B2 (en) 2008-03-27 2012-11-06 Renesas Electronics Corporation Semiconductor memory device highly integrated in direction of columns

Similar Documents

Publication Publication Date Title
US5491667A (en) Sense amplifier with isolation to bit lines during sensing
US4748594A (en) Integrated circuit device having a memory and majority logic
US4575819A (en) Memory with RAM cells and ROM cells
EP0335125B1 (en) DRAM with redundancy and improved testability
US4535428A (en) Multi-port register implementations
US5122987A (en) Semiconductor memory device with individually addressable space cells capable of driving a data bus
JPH01178193A (en) Semiconductor storage device
US4701919A (en) Semiconductor device incorporating memory test pattern generating circuit
US5384734A (en) Multiport memory device and an operation method thereof
US5062081A (en) Multiport memory collision/detection circuitry
US4890263A (en) RAM with capability for rapid clearing of data from memory by simultaneously selecting all row lines
US5126970A (en) Static random access memory with PMOS pass gates
JPH10149679A (en) Multi-port memory cell with parallel data initializing function, storage with it and multi-port memory circuit with parallel data initializing function
US6188629B1 (en) Low power, static content addressable memory
US5493536A (en) Dual-port random access memory having memory cell controlled by write data lines and read enable line
US5710742A (en) High density two port SRAM cell for low voltage CMOS applications
US6249468B1 (en) Semiconductor memory device with switching element for isolating bit lines during testing
US20010030888A1 (en) Data buffer for programmable memory
US4903239A (en) Semiconductor memory having a parallel input/output circuit
US5396469A (en) SRAM memory requiring reduced voltage swing during write
KR910014938A (en) Integrated Circuit Memory with Enhanced DI / DT Control
US5305258A (en) Semiconductor memory and memory cell
US4792924A (en) Single rail CMOS register array and sense amplifier circuit therefor
US5253207A (en) Semiconductor memory device having dual ports
JPH06162774A (en) Multiport ram