JPS6376194A - Semiconductor memory device - Google Patents

Semiconductor memory device

Info

Publication number
JPS6376194A
JPS6376194A JP61219588A JP21958886A JPS6376194A JP S6376194 A JPS6376194 A JP S6376194A JP 61219588 A JP61219588 A JP 61219588A JP 21958886 A JP21958886 A JP 21958886A JP S6376194 A JPS6376194 A JP S6376194A
Authority
JP
Japan
Prior art keywords
data
circuit
mask
supplied
output
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
JP61219588A
Other languages
Japanese (ja)
Inventor
Yasushi Nagashima
永島 靖
Hitoshi Kawaguchi
仁 川口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61219588A priority Critical patent/JPS6376194A/en
Publication of JPS6376194A publication Critical patent/JPS6376194A/en
Pending legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To contrive the improvement of the reliability of a system having an error detecting function or an error correcting function by providing a code adding circuit to add the code for detecting an error or correcting the error further to writing data after a logic operation processing or a mask processing is executed. CONSTITUTION:At a dual port memory, a parity adding circuit PC to add newly a parity bit to writing data for which the logic operation processing is executed by a logic operation unit ALU and the mask processing is executed by a data merging circuit DM is provided. For such a reason, regardless of the fact that a parity bit inputted from an external part through a data bus by the logic processing and the mask processing is not made conscious and the writing data are updated, the normal updated parity bit is added to the writing data written to the memory cell actually. Thus, the dual port memory can be connected to the system having an erroneous detecting function with the parity bit and the reliability as the system is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、半導体記憶装置に関するもので、例えば、
演算書き込み機能を有するデュアル・ポート・メモリ等
に利用して特に有効な技術に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a semiconductor memory device, for example,
The present invention relates to a technique that is particularly effective for use in dual port memories and the like that have an arithmetic write function.

〔従来の技術〕[Conventional technology]

文字あるいは図形等をCRT (陰極線管)の画面上に
表示させるための画像用フレームパンツアメモリ等に用
いられ、マスク演算等を行うための演Nfき込み機能を
有するデュアル・ポート・メモリについて、例えば日経
マグロウヒル社発行、1986年3月24日イ寸r日経
エレクトロニクスjの243頁〜264頁に記載されて
いる。
Regarding dual port memory, which is used in frame panzer memory for images to display characters or figures on the screen of a CRT (cathode ray tube), and has a Nf input function for performing mask calculations, etc. For example, it is described on pages 243 to 264 of Nikkei Electronics J, March 24, 1986, published by Nikkei McGraw-Hill.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のようなデュアル・ポート・メモリには、記憶デー
タを所定の複数ビット単位でランダムに入出力するラン
ダム・アクセス・ボートと、記憶データをワード線すな
わちメモリアレイの行単位でシリアルに入出力するシリ
アル・アクセス・ボートが設けられる。また、このラン
ダム・アクセス・ボートには、第3図に示すように、演
算論理ユニットALUが設けられ、外部からデータ人力
バッファDIBを介して入力される書き込みデータと指
定されたアドレスのメモリセルから予め読み出されデー
タラッチDLに保持される記憶データの各種演算が行わ
れる。データラッチDLに保持される記憶データと演算
論理ユニッ1−ALUの出力信号は、データマージ回路
DMによって選択され、さらにマスクデータラッチMD
Lに保持されるマスクデータに従って選択的に書き込み
アンプWAに伝達される。これにより、書き込みデータ
の演算処理とピント単位のマスク処理を行うことができ
る。
The dual port memory described above has a random access port that randomly inputs and outputs stored data in units of predetermined multiple bits, and a serial input and outputs that inputs and outputs stored data in units of word lines, that is, rows of the memory array. A serial access boat is provided. In addition, as shown in FIG. 3, this random access boat is provided with an arithmetic logic unit ALU that reads write data input from the outside via a data manual buffer DIB and from a memory cell at a specified address. Various calculations are performed on the stored data read out in advance and held in the data latch DL. The stored data held in the data latch DL and the output signal of the arithmetic logic unit 1-ALU are selected by the data merge circuit DM, and the mask data latch MD
It is selectively transmitted to the write amplifier WA according to the mask data held at L. Thereby, arithmetic processing of write data and masking processing for each focus can be performed.

ところが、上記のようなデュアル・ポート・メモリを、
第3図に示すように、例えばパリティビットを含む9ビ
ツトのデータバス101−IO2及びIOPを介して誤
り検出機能を有する系に接続した場合、誤り検出機能が
正常に機能しないものとなる。すなわち、前述のように
、このデュアル・ポート・メモリは演算書き込み機能と
マスク機能を有するため、実際にメモリセルに書き込ま
れるデータは入力されたパリティビットを意識すること
なく更新されてしまう。したがって、その後デュアル・
ポート・メモリから読み出される記憶データは、正常な
パリティビットが付加されていないため、処理装置側で
パリティ異常が検出されてしまうものである。このこと
は、このデュアル・ポート・メモリが、例えばサイクリ
ックコード等を用いた誤り訂正機能を有する系に接続さ
れる場合も同様であり、せっかくの誤り検出機能又は誤
り訂正機能が無意味なものとなって系としての信頼性が
損なわれる。
However, when using dual port memory like the one above,
As shown in FIG. 3, for example, when connected to a system having an error detection function via a 9-bit data bus 101-IO2 including a parity bit and IOP, the error detection function will not function properly. That is, as described above, since this dual port memory has an arithmetic write function and a mask function, the data actually written to the memory cell is updated without being aware of the input parity bit. Therefore, the dual
Since the stored data read from the port memory does not have a normal parity bit added to it, a parity error is detected on the processing device side. This also applies when this dual port memory is connected to a system that has an error correction function using, for example, a cyclic code, and the error detection function or error correction function is meaningless. As a result, the reliability of the system is impaired.

この発明の目的は、新しい機能を有するデュアル・ポー
ト・メモリ等の半導体記憶装置を提供することにある。
An object of the present invention is to provide a semiconductor memory device such as a dual port memory having new functions.

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

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

本願において開示される実施例のうち代表的なものの概
要を簡単に説明すれば、下記の通りである。すなわち、
演算書き込み機能及び/又はマスク機能を有するデュア
ル・ポート・メモリ等の半導体記憶装置に、論理演算処
理又はマスク処理が施された後の書き込みデータにさら
に誤り検出又は誤り訂正のための符号を付加する符号付
加回路を設けるものである。
A brief overview of typical embodiments disclosed in this application is as follows. That is,
Adding a code for error detection or error correction to write data that has been subjected to logical operation processing or mask processing in a semiconductor storage device such as a dual port memory that has an operation write function and/or a mask function. A code adding circuit is provided.

〔作  用〕[For production]

上記手段によれば、論理演算処理又はマスク処理が施さ
れた後の書き込みデータにも正常な誤り検出又は誤り訂
正符号が付加されるため、演算暑き込み機能及び/又は
マスク機能を有する半導体記憶装置を含み、誤り検出機
能又は誤り訂正機能を有する系の信頼性を向上できる。
According to the above means, a normal error detection or error correction code is also added to the write data after the logical operation processing or the masking process, so that the semiconductor memory device having the operation heating function and/or the masking function The reliability of a system having an error detection function or an error correction function can be improved.

〔実施例〕〔Example〕

第2図には、この発明が通用されたデュアル・ポート・
メモリの一実施例のブロック図が示されている。同図の
各回路ブロックは、公知の半導体集積回路の製造技術に
よって、特に制限されないが、単結晶シリコンのような
1個の半導体基板上において形成される。
Figure 2 shows a dual port system to which this invention is applied.
A block diagram of one embodiment of a memory is shown. Each circuit block in the figure is formed on a single semiconductor substrate such as, but not limited to, single-crystal silicon using known semiconductor integrated circuit manufacturing techniques.

この実施例のデュアル・ポート・メモリには、ダイナミ
ック型RAMを基本構成としパリティビットを含む9ビ
ット単位の記憶データをランダムに入出力するランダム
・アクセス・ボートと、記憶データをワード線単位でシ
リアルに入出力するシリアル・アクセス・ボートが設け
られる。これにより、デュアル・ポート・メモリは、一
連のシリアル入出力動作を実行しながら同時にランダム
・アクセス・ボートによるランダムアクセスを行うこと
を可能にしている。
The dual port memory of this embodiment has a basic configuration of dynamic RAM, and includes a random access port that randomly inputs and outputs storage data in 9-bit units including parity bits, and a serial access port that inputs and outputs storage data in units of 9 bits including parity bits. A serial access port is provided for input and output. This allows the dual port memory to perform a series of serial input/output operations while simultaneously performing random access using random access ports.

ランダム・アクセス・ボートに含まれるランダム入出力
回路RIOには、マスク演算等を行うための演算論理ユ
ニットALUが設けられ、この演算論理ユニソ)ALU
を制御するための機能制御回路FCが設けられる。また
、このランダム入出力回路RIOには、データマージ回
路DM及びマスクデータラッチMDLが設けられる。こ
れにより、この実施例のデュアル・ポート・メモリは、
演算論理ユニットALLIの出力信号をマスクデークラ
ッチMDLに保持されるマスクデータに従って選択的に
指定されたメモリセルに書き込むいわゆるマスク機能を
持つ。さらに、この実施例のランダム入出力回路RIO
には、データマージ回路DMの出力信号すなわち演算処
理とマスク処理が施された後の書き込みデータに、新し
くパリティビットを付加するためのパリティ付加回路P
Cが設けられる。
The random input/output circuit RIO included in the random access boat is provided with an arithmetic logic unit ALU for performing mask operations, etc., and this arithmetic logic unit ALU
A function control circuit FC is provided for controlling. Further, this random input/output circuit RIO is provided with a data merge circuit DM and a mask data latch MDL. This makes the dual port memory in this example
It has a so-called mask function of selectively writing the output signal of the arithmetic logic unit ALLI into a designated memory cell according to the mask data held in the mask data latch MDL. Furthermore, the random input/output circuit RIO of this embodiment
includes a parity addition circuit P for adding a new parity bit to the output signal of the data merge circuit DM, that is, the write data after the arithmetic processing and mask processing.
C is provided.

この実施例のデュアル・ポート・メモリには、外部の装
置から、通常のダイナミック型RAMで用いられるロウ
アドレスストローブ信号RAS。
The dual port memory of this embodiment receives a row address strobe signal RAS, which is used in a normal dynamic RAM, from an external device.

カラムアドレスストローブ信号σAs及びライトイネー
ブル信号W1等の制御信号の他、ランダム・アクセス・
ボートとシリアル・アクセス・ボートとの間のデータ転
送制御に用いられるデータ転送制御信号DT10Eと、
シリアル・アクセス・ボートの入出力切り換え制御に用
いられるシリアル出力制御信号「テ下及びシリアル入出
力時において同期信号として用いられるシリアルクロッ
ク信号SCが入力される。
In addition to control signals such as column address strobe signal σAs and write enable signal W1, random access
a data transfer control signal DT10E used to control data transfer between the boat and the serial access boat;
A serial clock signal SC, which is used as a synchronizing signal during serial input/output and when a serial output control signal is used to control input/output switching of the serial access boat, is input.

この実施例のデュアル・ポート・メモリのランダム・ア
クセス・ボートには、特に制限されないが、9個のメモ
リアレイM−ARY 1〜M−ARY8及びM−ARY
Pが設けられ、それぞれのメモリアレイに対応してセン
スアンプ5AI−3A8及びSAP、カラムスイッチC
3WI〜C5W8及びcswpが設けられる。また、メ
モリアレイM−ARY1〜M−ARY8及びM−ARY
Pに共通に、ランダム・アクセス・ボート用カラムアド
レスデコーダRCD及びロウアドレスデコーダRDが設
けられる。これらのアドレスデコーダは、半導体基板上
のメモリアレイの配置に応じて、複数個設けられること
もある。第2図には、メモリアレイM−ARY1とその
周辺回路が、例示的に示されている。なお、メモリアレ
イM−ARYP及びその周辺回路は、誤り検出用のパリ
ティビットを記憶するために用いられる。
The random access boat of the dual port memory in this embodiment includes, but is not limited to, nine memory arrays M-ARY 1 to M-ARY 8 and M-ARY
A sense amplifier 5AI-3A8 and SAP, a column switch C are provided corresponding to each memory array.
3WI to C5W8 and cswp are provided. In addition, memory arrays M-ARY1 to M-ARY8 and M-ARY
A random access boat column address decoder RCD and a row address decoder RD are provided in common to P. A plurality of these address decoders may be provided depending on the arrangement of the memory array on the semiconductor substrate. FIG. 2 exemplarily shows the memory array M-ARY1 and its peripheral circuits. Note that the memory array M-ARYP and its peripheral circuits are used to store parity bits for error detection.

第2図において、メモリアレイM−ARY1は、同図の
垂直方向に配置されるm+1本のワード線W O% W
 mと、同図の水平方向に配置されるn+1組の相補デ
ータ線DO・DO=Dn−Dn及びこれらのワード線と
相補データ線の交点に配置される(m+ 1)x (n
 +1)(囚のメモリセルにより構成される。
In FIG. 2, the memory array M-ARY1 has m+1 word lines WO% W arranged in the vertical direction of the figure.
m, n+1 sets of complementary data lines DO and DO=Dn-Dn arranged in the horizontal direction of the figure, and (m+ 1) x (n
+1) (Constructed by captive memory cells.

各ワード線は、ロウアドレスデコーダRDに結合され、
Xアドレス信号AXO〜AXiに指定される一本のワー
ド線が選択される。
Each word line is coupled to a row address decoder RD;
One word line designated by X address signals AXO-AXi is selected.

ロウアドレスデコーダRDは、ロウアドレスバッファR
ADBから供給される相補内部アドレス信号上xO〜土
xi(ここで、例えば外部から供給されるXアドレス信
号AXOと同相の内部アドレス信号axQと逆相の内部
アドレス信号axQをあわせて相補内部アドレス信号a
xQのように表す、以下同じ)をデコードし、Xアドレ
ス信号AXO=AXiに指定される一本のワード線を選
択し、ハイレベルの選択状態とする。ロウアドレスデコ
ーダRDによるワード線の選択動作は、タイミング制御
回路TCから供給されるワード線選択タイミング信号φ
Xに従って行われる。
Row address decoder RD is row address buffer R.
Complementary internal address signals xO to xi supplied from ADB (here, for example, the internal address signal axQ that is in phase with the X address signal AXO supplied from the outside and the internal address signal axQ that is in opposite phase are combined to form a complementary internal address signal a
xQ (the same applies hereinafter) is decoded, one word line designated by the X address signal AXO=AXi is selected, and set to a high level selected state. The word line selection operation by the row address decoder RD is performed by the word line selection timing signal φ supplied from the timing control circuit TC.
It is done according to X.

ロウアドレスバッファRADBは、アドレスマルチプレ
クサAMXから供給されるロウアドレス信号を受け、相
補内部アドレス信号axQ〜axiを形成して、ロウア
ドレスデコーダRDに(A給する。この実施例のダイナ
ミック型RA Mでは、ロウアドレスを指定するための
Xアドレス信号AXO〜AXiとカラムアドレスを指定
するためのYアドレス信号AYO〜AYiは、同一の外
部端子AO〜Aiを介して時分割されて供給されるいわ
ゆるアドレスマルチプレクス方式を採っている。
The row address buffer RADB receives the row address signal supplied from the address multiplexer AMX, forms complementary internal address signals axQ to axi, and supplies (A) to the row address decoder RD. , X address signals AXO to AXi for specifying row addresses and Y address signals AYO to AYi for specifying column addresses are so-called address multi-channel signals that are time-divided and supplied via the same external terminals AO to Ai. The plex method is adopted.

このため、Xアドレス信号AXO〜AXiはロウアドレ
スストローブ信号RASの立ち下がりに同期して外部端
子AO〜Ajに供給され、Yアドレス信号AYO〜AY
iはカラムアドレスストローブ信号CASの立ち下がり
に同期して外部端子AO〜Aiに供給される。さらに、
この実施例のダイナミック型RAMには、メモリセルの
記憶データを所定の周期内に読み出し・再書き込みする
ための自動リフレッシュモードが設けられ、この自動リ
フレッシュモードにおいてリフレッシュすべきワード線
を指定するためのリフレッシュアドレスカウンタREF
Cが設けられる。
Therefore, the X address signals AXO to AXi are supplied to the external terminals AO to Aj in synchronization with the fall of the row address strobe signal RAS, and the Y address signals AYO to AY are supplied to the external terminals AO to Aj.
i is supplied to external terminals AO to Ai in synchronization with the fall of column address strobe signal CAS. moreover,
The dynamic RAM of this embodiment is provided with an automatic refresh mode for reading and rewriting data stored in memory cells within a predetermined cycle, and is provided with an automatic refresh mode for specifying a word line to be refreshed in this automatic refresh mode. Refresh address counter REF
C is provided.

アドレスマルチプレクサAMXは、タイミング制御回路
TCから供給されるタイミング信号φrefがロウレベ
ルとされる通常のメモリアクセスモードにおいて、外部
端子AO〜Atを介して外部の装置から供給されるXア
ドレス信号AXO〜AXiを選択し、タイミング信号φ
refがハイレベルとされる自動リフレッシュモードに
おいて・、リフレッシュアドレスカウンタREFCから
出力されるリフレッシュアドレス信号cxQ〜cxiを
選択する。
Address multiplexer AMX receives X address signals AXO to AXi supplied from external devices via external terminals AO to At in a normal memory access mode in which timing signal φref supplied from timing control circuit TC is at low level. Select, timing signal φ
In automatic refresh mode in which ref is set to high level, refresh address signals cxQ to cxi output from refresh address counter REFC are selected.

前述のように、Xアドレス信号AXO〜AXiはロウア
ドレスストローブ信号RASの立ち下がりに同期して外
部端子Ao−Aiに供給されるため、ロウアドレスバン
ファRADBによるロウアドレス信号の取り込みは、夕
・イミング制御回路TCにおいてロウアドレスストロー
ブ信号RASの立ち下がりを検出して形成されるタイミ
ング信号φarに従って行われる。
As mentioned above, since the X address signals AXO to AXi are supplied to the external terminals Ao to Ai in synchronization with the falling edge of the row address strobe signal RAS, the row address signals are taken in by the row address buffer RADB in the evening. This is performed in accordance with a timing signal φar generated by detecting the fall of row address strobe signal RAS in timing control circuit TC.

一方、メモリアレイM  ARYIの相補データ線DO
−Do〜Dn−σ1は、その一方において、カラムスイ
ッチC3WIの対応するスイッチMO3FETに結合さ
れ、さらにこれらのスイッチMOSFETを介して選択
的に相補共通データ線−g−DI(ここで、相補共通デ
ータ線を構成する非反転信号線CDI及び反転信号線C
DIをあわせて相補共通データ線見D1のように表す、
以下同じ)に接続される。
On the other hand, complementary data line DO of memory array MARYI
-Do~Dn-σ1 is coupled on the one hand to the corresponding switch MO3FET of the column switch C3WI, and further selectively via these switch MOSFETs to the complementary common data line -g-DI (where complementary common data Non-inverted signal line CDI and inverted signal line C that constitute the line
Together with DI, the complementary common data line is expressed as D1,
The same applies hereafter).

カラムスイッチC3WIは、それぞれ対応する相補デー
タ線に結合されるfi+l対のスイッチMOSFETに
よって構成される。これらのスイッチMO3FET対の
他方の端子は、相補共通データ線を構成する非反転信号
線CDI又は反転信号線CDIに共通に結合される。こ
れにより、カラムスイッチC3WIは相補データ線DO
・51〜Dn−真と共通相補データ線−CDIとを選択
的に接続させる。カラムスイッチC3WIを構成する各
対の二つのスイッチMO3FETのゲートはそれぞれ共
通接続され、ランダム・アクセス・ボート用カラムアド
レスデコーダRCDによって形成されるデータ線選択信
号が供給される。
Column switch C3WI is constituted by fi+l pairs of switch MOSFETs each coupled to a corresponding complementary data line. The other terminals of these switch MO3FET pairs are commonly coupled to a non-inverted signal line CDI or an inverted signal line CDI forming a complementary common data line. This causes the column switch C3WI to connect to the complementary data line DO
- Selectively connect 51 to Dn-true and the common complementary data line -CDI. The gates of each pair of two switches MO3FET constituting the column switch C3WI are connected in common, and are supplied with a data line selection signal formed by a column address decoder RCD for a random access boat.

ランダム・アクセス・ボート用カラムアドレスデコーダ
RCDは、カラムアドレスバッファCADBから供給さ
れる相補内部アドレス信号ayQ〜ayiをデコードし
、タイミング制御回路TCから供給されるデータ線選択
タイミング信号φyrに従って、上記データ線選択信号
を形成し、カラムスイッチC3WI−C3W4に供給す
る。 。
The random access boat column address decoder RCD decodes the complementary internal address signals ayQ to ayi supplied from the column address buffer CADB, and selects the data line according to the data line selection timing signal φyr supplied from the timing control circuit TC. A selection signal is formed and supplied to column switches C3WI-C3W4. .

カラムアドレスバッファCADBは、タイミング制御回
路TCに8いてカラムアドレスストローブ信号CASの
立ち下がりを検出して形成されるタイミング信号φac
に従って、外部端子AO〜Aiを介して供給されるYア
ドレス信号AYO−AYiを入力し、保持するとともに
、相補内部アドレス信号ayQ−ayiを形成して、ラ
ンダム・アクセス・ボート用カラムアドレスデコーダR
CDに供給する。
The column address buffer CADB receives a timing signal φac generated by detecting the fall of the column address strobe signal CAS in the timing control circuit TC.
Accordingly, the Y address signal AYO-AYi supplied via the external terminals AO to Ai is inputted and held, and a complementary internal address signal ayQ-ayi is formed to generate the column address decoder R for the random access boat.
Supply to CD.

メモリアレイM −A RY 1の相補データ線DO・
丁τ〜Dn−L)nは、その他方において、センスアン
プSAIの対応する単位回路に結合され、さらにシリア
ル・アクセス・ボートのデータレジスタDRIの対応す
る単位回路に結合される。
Complementary data line DO of memory array M-ARY 1
On the other hand, Dn τ to Dn-L)n is coupled to a corresponding unit circuit of the sense amplifier SAI, and further coupled to a corresponding unit circuit of the data register DRI of the serial access boat.

センスアンプSAOの各単位回路は、交差接続される二
つのCMOSイン八′−へ回路からなるラッチをその基
本構成とする。これらのセンスアンプ単位回路は、タイ
ミング制御回路TCから供給されるタイミング信号φp
aによって一斉に動作状態とされ、メモリセルからそれ
ぞれ対応する相補データ線に出力される微小読み出し信
号を増幅し、ハイレベル/ロウレベルの2値信号とする
Each unit circuit of the sense amplifier SAO has a basic configuration of a latch consisting of two cross-connected CMOS input circuits. These sense amplifier unit circuits receive a timing signal φp supplied from a timing control circuit TC.
a, the micro-read signals outputted from the memory cells to the corresponding complementary data lines are amplified and converted into binary signals of high level/low level.

Yアドレス信号AYO〜AYiにより指定される相補デ
ータ線が選択的に接続される相補共通データ線CDIは
、ランダム入出力回路RIOに結合される。このランダ
ム入出力回路RIOには、メモリアレイM−ARY2〜
M−ARY8及びM−ARYPに対応して設けられる相
補共通データ線−CD2〜旦D8及び旦DPが、同様に
結合される。
A complementary common data line CDI to which complementary data lines designated by Y address signals AYO to AYi are selectively connected is coupled to a random input/output circuit RIO. This random input/output circuit RIO includes memory arrays M-ARY2 to
Complementary common data lines -CD2 to D8 and DDP provided corresponding to M-ARY8 and M-ARYP are similarly coupled.

ランダム入出力回路RIOは、後述するように、データ
人カバフファDIB、データ出力バンファDOB、書き
込み増幅回路WA、読み出し増幅回路RA、データラッ
チDL、マスクデークランチMDL、演算論理ユニット
ALU、データマージ回路DM及びパリティ付加回路P
Cにより構成される。このうち、データ出力バッファD
OBは、デュアル・ポート・メモリのランダム読み出し
モードに8いて、タイミング制御回路TCから供給され
るタイミング信号φrrによって動作状態とされ、読み
出し増幅回路RAを介して読み出される記憶データを、
入出力端子101〜108及びIoPから外部の装置に
出力する。書き込み増幅回路WAは、デュアル・ポート
・メモリのランダム書き込みモードにおいて、タイミン
グ制御回路TCから供給されるタイミング信号φr−に
よって動作状態とされ、データマージ回路DMからパリ
ティ付加回路PCを介して供給される書き込みデータを
2値書き込み信号し、相補共通データ線旦D1〜−Ω−
D8及びCDPに伝達する。また、マスクデータラフチ
MDLは、デュアル・ポート・メモリの演算モード設定
サイクルにおいて、タイミング制御回路TCから供給さ
れるタイミング信号φ―Sに従って、入出力端子101
〜108及び10Pを介して外部の装置から供給される
マスクデータを取り込む。
As described later, the random input/output circuit RIO includes a data buffer DIB, a data output buffer DOB, a write amplifier circuit WA, a read amplifier circuit RA, a data latch DL, a mask data crunch MDL, an arithmetic logic unit ALU, and a data merge circuit DM. and parity addition circuit P
It is composed of C. Of these, data output buffer D
OB is in the random read mode of the dual port memory, is activated by the timing signal φrr supplied from the timing control circuit TC, and stores stored data read out via the read amplifier circuit RA.
It outputs to an external device from the input/output terminals 101 to 108 and IoP. In the random write mode of the dual port memory, the write amplifier circuit WA is activated by a timing signal φr- supplied from the timing control circuit TC, and is supplied from the data merge circuit DM via the parity addition circuit PC. The write data is converted into a binary write signal, and the complementary common data line D1~-Ω-
Transfer to D8 and CDP. In addition, the mask data raft MDL is set at the input/output terminal 101 in accordance with the timing signal φ-S supplied from the timing control circuit TC in the operation mode setting cycle of the dual port memory.
The mask data supplied from an external device is taken in through 108 and 10P.

さらに、演算論理ユニッ)ALUは、デュアル・ポート
・メモリの演算書き込みサイクルにおいて、指定された
アドレスのメモリセルから読み出されデータラッチDL
に保持される記憶デー、夕と外部から供給される書き込
みデータとの間で種々の演算処理を行う、この演算論理
ユニットALUには、ラスク演算等を行うための各種の
演算モードが用窓される。
Furthermore, in the arithmetic write cycle of the dual port memory, the arithmetic logic unit (ALU) reads data from the memory cell at a specified address and stores the data in the data latch DL.
This arithmetic logic unit ALU, which performs various arithmetic processing between the stored data held in the memory and the write data supplied from the outside, has various arithmetic modes for performing rask arithmetic, etc. Ru.

演算論理ユニットALUの演算モードは、機能制御回路
FCによって選択・指定される0機能制御回路FCは、
デュアル・ポート・メモリの演算モード設定サイクルに
おいて、アドレス信号入力用外部端子AO〜A3を介し
て供給される演算コードを保持する演算コードレジスタ
FORと、その演算コードをデコードし演算論理ユニ7
トALUの演算モードを選択・指定するための演算コー
ドデコーダFCDを含む。このうち、演算コードレジス
タFCRは、デュアル・ポート・メモリの演算モード設
定サイクルにおいて、タイミング制御回路TCから供給
されるタイミング信号φrasに従って、アドレス入力
用外部端子AO〜A3を介して供給される演算コードを
取り込み、機能制御回路FCの演算コードデコーダFC
Dに送る。演算コードデコーダFCDは、これらの演算
コードをデコードして演算モード選択信号amO〜am
15を形成し、ランダム入出力回路RIOの演算論理ユ
ニットALUの演算モードを指定する。
The operation mode of the arithmetic logic unit ALU is selected and specified by the function control circuit FC.
In the arithmetic mode setting cycle of the dual port memory, the arithmetic code register FOR holds the arithmetic code supplied via the address signal input external terminals AO to A3, and the arithmetic logic unit 7 decodes the arithmetic code.
It includes an operation code decoder FCD for selecting and specifying the operation mode of the ALU. Among these, the operation code register FCR receives the operation code supplied via the address input external terminals AO to A3 in accordance with the timing signal φras supplied from the timing control circuit TC in the operation mode setting cycle of the dual port memory. is input into the operational code decoder FC of the function control circuit FC.
Send to D. The operation code decoder FCD decodes these operation codes and generates operation mode selection signals amO to am.
15 and designates the operation mode of the arithmetic logic unit ALU of the random input/output circuit RIO.

これらのランダム入出力回路RIO及び機能制御回路F
Cの構成と動作については、後で詳細に説明する。
These random input/output circuit RIO and function control circuit F
The configuration and operation of C will be explained in detail later.

一方、この実施例のデュアル・ポート・メモリのシリア
ル・アクセス・ポートは、メモリアレイM−ARYI−
M−ARY8及びM−ARYPの各相補データ線に対応
して設けられるn+lビフトのデータレジスタDRI−
DR8及びDRPと、データセレクタDSL l〜DS
L8及びDSLPと、これらの9個のデータレジスタ及
びデータセレクタに共通に設けられるポインタPNT、
  シリアル・アクセス・ポート用カラムアドレスデコ
ーダSCD及びシリアル入出力回路510によって構成
される。なお、ポインタPNT及びシリアル・アクセス
・ボート用カラムアドレスデコーダSCDは、半導体基
板上におけるメモリアレイの配置の関係で複数個設けら
れることもある。第2図には、メモリアレイM−ARY
Iに対応するデータレジスタL)R1及びデータセレク
タDSLIが例示的に示されている。
On the other hand, the serial access port of the dual port memory in this embodiment is connected to the memory array M-ARYI-
n+l bit data register DRI- provided corresponding to each complementary data line of M-ARY8 and M-ARYP
DR8 and DRP and data selector DSL l~DS
L8 and DSLP, a pointer PNT provided in common to these nine data registers and data selectors,
It is composed of a column address decoder SCD for a serial access port and a serial input/output circuit 510. Note that a plurality of pointers PNT and serial access boat column address decoders SCD may be provided depending on the arrangement of the memory array on the semiconductor substrate. In FIG. 2, the memory array M-ARY
A data register L)R1 and a data selector DSLI corresponding to I are exemplarily shown.

データレジスタDRIは、メモリアレイM−ARYIの
各相補データ線に対応して設けられるn+1ビットのフ
リップフロップを含む、これらのフリップフロップの入
出力ノードと対応する相補データ線の非反転信号線及び
反転信号線の間には、データ転送用のスイッチMO3F
ETがそれぞれ設けられる。これらのスイッチMO3F
ETは、タイミング制御回路TCから供給されるタイミ
ング信号φdtのハイレベルによって一斉にオン状態と
され、データレジスタDRIの各フリップフロ7ブと選
択されたワード線に結合されるn + 1 iiのメモ
リセルとの間で、記憶データの入出力が一斉にパラレル
に行われる。
The data register DRI includes n+1-bit flip-flops provided corresponding to each complementary data line of the memory array M-ARYI, and includes non-inverted signal lines and inverted signal lines of the complementary data lines corresponding to the input/output nodes of these flip-flops. Between the signal lines is a switch MO3F for data transfer.
ET is provided respectively. These switches MO3F
ET is turned on all at once by the high level of the timing signal φdt supplied from the timing control circuit TC, and the n+1 ii memory cells coupled to each flip-flop 7 block of the data register DRI and the selected word line Input and output of storage data is performed simultaneously in parallel between the two.

データレジスタDRIの各ビットの入出力端子は、さら
にデータセレクタDSL 1の対応するスイッチMO3
FETに結合される。データセレクタDSL1は、上述
のカラムスイッチC3WIと同様な構成とされ、データ
レジスタDRIの各ビットとシリアル入出力用相補共通
データ線CD51を選択的に接続する。データセレクタ
DSLIの各対のスイッチMOS F ETのゲートは
それぞれ共通接続され、ポインタPNTから対応するデ
ータレジスタ選択信号が供給される。
The input/output terminal of each bit of the data register DRI is further connected to the corresponding switch MO3 of the data selector DSL1.
Coupled to FET. The data selector DSL1 has the same configuration as the column switch C3WI described above, and selectively connects each bit of the data register DRI to the complementary common data line CD51 for serial input/output. The gates of the switch MOS FETs of each pair of data selector DSLI are connected in common, and a corresponding data register selection signal is supplied from pointer PNT.

ポインタPNTは、n+1ビットのシフトレジスタによ
り構成され、その最終ビットの出力端子psはその先頭
ビットの入力端子に結合される。
The pointer PNT is constituted by an n+1 bit shift register, and the output terminal ps of the last bit is coupled to the input terminal of the first bit.

ポインタPNTは、デュアル・ポート・メモリのシリア
ル入出力モードにおいて、タイミング制御回路TCから
供給されるシフトクロック用タイミング信号φCに従っ
て、ループ状のシフト動作を行う、ポインタPNTの各
ピントは、さらにシリアル・アクセス・ボート用カラム
アドレスデコーダSCDの対応する出力端子に結合され
る。
In the serial input/output mode of the dual port memory, the pointer PNT performs a loop-like shift operation according to the shift clock timing signal φC supplied from the timing control circuit TC. It is coupled to the corresponding output terminal of the access boat column address decoder SCD.

シリアル・アクセス・ボート用カラムアドレスデコーダ
SCDは、カラムアドレスバッファCADBから供給さ
れる相補内部アドレス信号ayQ〜土yiをデコードし
、Yアドレス信号AY−0〜AYiで指定されるシリア
ル入出力の先頭ビットに対応するポインタPNTのビッ
トのみを論理“1”とする。すなわち、シリアル入出力
モードにおいては、Xアドレス信号AXO〜AXtによ
ってワード線が指定され、Yアドレス信号AYO〜AY
iによってシリアル入出力を開始する先頭のカラムアド
レスが指定される。シリアル・アクセス・ボート用カラ
ムアドレスデコーダSCDによってポインタPNTの指
定されたビットに書き込まれた論理“1”の信号は、タ
イミング信号φCに従ってポインタPNT内をループ状
にシフトされる。このように一つの論理″l”の信号が
シフトされることによって、データセレクタDSLIに
は順次ハイレベルのデータレジスタ選択信号が供給され
、データレジスタDRIの各ピントが次々にシリアル入
出力用相補共通データ線CDS 1に接続される。これ
により、この実施例のデュアル・ポート・メモリは、記
憶データのシリアル入出力を任意のカラムアドレスから
開始することができる。
The serial access boat column address decoder SCD decodes the complementary internal address signals ayQ to yi supplied from the column address buffer CADB, and decodes the first bit of serial input/output specified by the Y address signals AY-0 to AYi. Only the bit of pointer PNT corresponding to is set to logic "1". That is, in the serial input/output mode, a word line is specified by the X address signals AXO to AXt, and the word line is specified by the Y address signals AYO to AY.
i specifies the first column address at which serial input/output is to be started. A logic "1" signal written to a designated bit of pointer PNT by serial access boat column address decoder SCD is shifted in a loop within pointer PNT according to timing signal φC. By shifting one logic "L" signal in this way, a high-level data register selection signal is sequentially supplied to the data selector DSLI, and each pin of the data register DRI is sequentially connected to the complementary common terminal for serial input/output. Connected to data line CDS1. Thereby, the dual port memory of this embodiment can start serial input/output of stored data from any column address.

シリアル入出力用相補共通データ線−CDS Lは、シ
リアル入出力回路SIOに結合される。このシリアル入
出力回路SIOには、データレジスタDR2〜DR8及
びDRPとデータセレクタDSL2〜DSL8及びDS
LPに対応して設けられるシリアル入出力用相補共通デ
ータ線CD52〜旦DS8及び−CD5Pが同様に結合
される。シリアル入出力回路SIOは、シリアル入出力
用相補共通データ線交DS1〜−CDS8及び旦DSP
とシリアル入出力端子5IOI〜5108及び5IOP
に対応して設けられる9個のメインアンプとデータ入カ
バソファ及びデータ出カバソファを含む。
The complementary common data line for serial input/output -CDSL is coupled to the serial input/output circuit SIO. This serial input/output circuit SIO includes data registers DR2 to DR8 and DRP and data selectors DSL2 to DSL8 and DS.
Complementary common data lines CD52 to DS8 and -CD5P for serial input/output provided corresponding to LP are similarly coupled. The serial input/output circuit SIO connects complementary common data lines DS1 to -CDS8 and DSP for serial input/output.
and serial input/output terminals 5IOI to 5108 and 5IOP
It includes nine main amplifiers, a data input cover sofa, and a data output cover sofa, which are provided correspondingly to the main amplifiers.

シリアル入出力回路510のデータ出力バンファは、デ
ュアル・ポート・メモリの読み出しデータ転送サイクル
において、タイミング制御回路TCから供給されるタイ
ミング信号ψsrによって動作状態とされ、対応するシ
リアル入出力用相補共通データ線−gよりS1〜−CD
S8及び旦DSPを介して出力され対応するメインアン
プによって増幅される読み出しデータを、対応するシリ
アル入出力端子5Io1〜5I08及び5IOPから外
部ノ装置に出力する。また、シリアル入出力回路Sl0
のデータ人カバソファは、デュアル・ポート・メモリの
シリアルデータ書き込みサイクルにおいて、タイミング
制御回路TCから供給されるタイミング信号φswによ
って動作状態とされ、対応するシリアル入出力端子5I
OI〜510B及ヒ510Pを介して外部の装置から供
給される書き込みデータを相補署き込み信号とし、対応
するシリアル入出力用相補共通データ線CDS 1〜立
DS8及び立DSPに伝達する。
The data output bumper of the serial input/output circuit 510 is activated by the timing signal ψsr supplied from the timing control circuit TC in the read data transfer cycle of the dual port memory, and the data output buffer of the serial input/output circuit 510 is activated by the timing signal ψsr supplied from the timing control circuit TC. -g from S1~-CD
Read data outputted via S8 and DSP and amplified by the corresponding main amplifier is outputted to external devices from corresponding serial input/output terminals 5Io1 to 5I08 and 5IOP. In addition, the serial input/output circuit Sl0
In the serial data writing cycle of the dual port memory, the data person cover sofa is put into an operating state by the timing signal φsw supplied from the timing control circuit TC, and the corresponding serial input/output terminal 5I
Write data supplied from an external device via OI-510B and OI-510P is made into a complementary signature write signal, and is transmitted to the corresponding serial input/output complementary common data lines CDS1 to DS8 and DSP.

タイミング制御回1i!1)TCは、外部から制御信号
として供給されるロウアドレスストローブ信号π忌、カ
ラムアドレスストローブ信号CAS、  ライトイネー
ブル信号W百、データ転送制御信号五下/σ了”及びシ
リアル出力制御信号「σ百によって、上記各種のタイミ
ング信号を形成し各回路に供給する。また、外部から供
給されるシリアルクロンク信号SCにより、シリアル入
出力動作を同期化するためのタイミング信号φCを形成
し、ポインタPNT及びシリアル入出力回路s■oに供
給する。
Timing control episode 1i! 1) TC is a row address strobe signal π, a column address strobe signal CAS, a write enable signal W, a data transfer control signal 5/σ, and a serial output control signal σ, which are supplied as control signals from the outside. The various timing signals mentioned above are formed and supplied to each circuit.The timing signal φC for synchronizing the serial input/output operation is formed by the serial clock signal SC supplied from the outside, and the timing signal φC for synchronizing the serial input/output operation is Supplied to the input/output circuit s■o.

第1図には、この実施例のデュアル・ポート・メモリの
ランダム入出力回路RIO及びIa能制御回路FCの一
実施例の回路ブロック図が示されている。
FIG. 1 shows a circuit block diagram of an embodiment of the random input/output circuit RIO and the Ia function control circuit FC of the dual port memory of this embodiment.

第1図において、データ入出力端子101〜108及び
IOPは、ランダム入出力回路RIOのデータ人カバソ
ファDIBの入力端子にそれぞれ結合されるとともに、
データ出力バッファDOBの出力端子にそれぞれ結合さ
れる。データ人カバフフ7DIBは、図示されない9ビ
ツトのデータ入力回路及びデータ入力レジスタDIRに
より構成され、データ入出力端子101〜108及びI
OPを介して供給される書き込みデータを取り込み、保
持する。また、データ出力バッファDOBは、デュアル
・ポート・メモリのランダム読み出しサイクルにおいて
、タイミング制御回路TCから供給さiするタイミング
信号φrrに従って動作状態とされ、読み出し増幅回路
RAを介して伝達される読み出しデータをデータ入出力
端子101〜108及びIOPから外部の装置に出力す
る。タイミング信号φrrがロウレベルである場合、こ
のデータ出力バッファDOBの出力はハイインピーダン
ス状態とされる。
In FIG. 1, data input/output terminals 101 to 108 and IOP are respectively coupled to input terminals of a data driver sofa DIB of a random input/output circuit RIO, and
are respectively coupled to output terminals of data output buffer DOB. The data input/output terminal 7DIB is composed of a 9-bit data input circuit and a data input register DIR (not shown), and has data input/output terminals 101 to 108 and an I/O terminal.
Captures and holds write data supplied via OP. Further, in a random read cycle of the dual port memory, the data output buffer DOB is put into an operating state according to the timing signal φrr supplied from the timing control circuit TC, and outputs read data transmitted via the read amplifier circuit RA. Data is output from the data input/output terminals 101 to 108 and the IOP to an external device. When the timing signal φrr is at a low level, the output of the data output buffer DOB is placed in a high impedance state.

データ入カバソファDIBに保持される書き込みデータ
は、演算論理ユニ7)ALUの一方の入力端子に供給さ
れるとともに、マスクデータラッチME)Lに供給され
る。演算論理ユニソI−ALUの他方の入力端子には、
データラッチDLの出力信号か供給される。このデータ
ラッチDLには、演算書き込みサイクルにおいて、予め
指定されたメモリセルから読み出し増幅回路RAを介し
て読み出される記憶データが保持される。
The write data held in the data input cover sofa DIB is supplied to one input terminal of the arithmetic and logic unit 7) ALU, and is also supplied to the mask data latch ME)L. The other input terminal of the arithmetic logic Uniso I-ALU is
The output signal of data latch DL is also supplied. This data latch DL holds storage data that is read out from a pre-designated memory cell via the read amplifier circuit RA in an operation write cycle.

演算論理ユニットALUには、論理積、論理和又は排他
的論理和等の演算を行うための各種の演算モードが用意
される。これらの演算モードは、機能制御回路FCの演
算コードデコーダFCDから供給される演算モード選択
信号a m O% a m 15によって選択される。
The arithmetic logic unit ALU is provided with various operation modes for performing operations such as AND, OR, and EXCLUSIVE OR. These calculation modes are selected by the calculation mode selection signal a m O% a m 15 supplied from the calculation code decoder FCD of the function control circuit FC.

演算論理ユニットALUは、これらの演算モード選択信
号に従って、外部から供給されデータ人カバソファDI
Bのデータ入力レジスタDIRに保持される書き込みデ
ータと指定されたアドレスのメモリセルから読み出され
データラッチDLに保持される記憶データの演算を行う
。演算論理ユニットALUの出力信号は、データマージ
回路DMの一方の入力端子に供給される。
The arithmetic logic unit ALU receives data from the outside according to these arithmetic mode selection signals.
An operation is performed between the write data held in the data input register DIR of B and the stored data read from the memory cell at the designated address and held in the data latch DL. The output signal of the arithmetic logic unit ALU is supplied to one input terminal of the data merging circuit DM.

マスクデータラッチM D Lは、デュアル・ポート・
メモリの演算モード設定サイクルにおいて、タイミング
制御回路TCから供給されるタイミング信号φIsに従
って、データ入出力端子101〜108及びIOPを介
して外部の装置から供給されるマスクデータを取り込み
、保持する。マスクデータラッチMDLに保持されるマ
スクデータは、データマージ回路DMの選択信号として
、データマージ回路DMの対応するビットにそれぞれ供
給される。
The mask data latch MDL is a dual port
In a memory operation mode setting cycle, mask data supplied from an external device via data input/output terminals 101 to 108 and IOP is captured and held in accordance with a timing signal φIs supplied from a timing control circuit TC. The mask data held in the mask data latch MDL is supplied to corresponding bits of the data merge circuit DM as selection signals of the data merge circuit DM.

データマージ回路DMの他方の入力端子には、データラ
ッチDLに保持される記憶データが供給される。データ
マージ回路DMは、9ビツトの選択回路により構成され
、各選択回路には、マスクデータラッチMDLの対応す
るビットに保持されるマスクデータが選択信号として供
給される。データマージ回路DMは、このマスクデータ
に従って、演算論理ユニフ1−ALUの出力信号又はデ
ータラッチDLから供給される記憶データを選択して、
パリティ付加回路PCに送る。すなわち、対応するマス
クデータが論理“1”である場合、データマージ回路D
Mの各選択回路はデータラッチDLの対応するビットか
ら供給される記憶データを選択する。また、対応するマ
スクデータが論理“0”である場合、データマージ回路
DMの各選択回路は演算論理ユニットALIJの対応す
るビットの出力信号を選択する。これにより、演算論理
ユニットALUの出力信号は、マスクデータに従って選
択的にメモリセルに伝達される。つまり、演算論理ユニ
ットALUの出力信号は、論理“l”のマスクデータに
よってマスクされ、マスクされたビットに対応するメモ
リセルには、そわまでそのメモリセルに記憶されている
記憶データが再度書き込まれる。
The other input terminal of the data merge circuit DM is supplied with stored data held in the data latch DL. The data merge circuit DM is constituted by a 9-bit selection circuit, and each selection circuit is supplied with mask data held in a corresponding bit of the mask data latch MDL as a selection signal. The data merge circuit DM selects the output signal of the arithmetic logic unit 1-ALU or the storage data supplied from the data latch DL according to this mask data,
It is sent to the parity addition circuit PC. That is, when the corresponding mask data is logic "1", the data merging circuit D
Each of the M selection circuits selects storage data supplied from a corresponding bit of data latch DL. Further, when the corresponding mask data is logic "0", each selection circuit of the data merge circuit DM selects the output signal of the corresponding bit of the arithmetic logic unit ALIJ. Thereby, the output signal of the arithmetic logic unit ALU is selectively transmitted to the memory cells according to the mask data. In other words, the output signal of the arithmetic logic unit ALU is masked by mask data of logic "1", and the memory cell corresponding to the masked bit is rewritten with the memory data stored in that memory cell. .

前述のように、この実施例のデュアル・ポート・メモリ
には、上記演算論理ユニットALUによって演算処理が
施されまた上記データマージ回路DMによってマスク処
理が施された書き込みデータに対して、新しくパリティ
ビットを付加するためのパリティ付加回路PCが設けら
れる。パリティ付加回路PCは、データマージ回路DM
の出力信号を受け、8ビツトの書き込みデータに対する
パリティビットを形成する。すなわち、特に制限されな
いが、このデュアル・ポート・メモリを含む系は奇数パ
リティ方式とされる。したがって、パリティ付加回路P
Cは、8ビツトの書き込みデータに含まれる論理“1”
のビットの数が偶数であると、パリティビットを論理“
1”とし、また8ピントの書き込みデータに含まれる論
理“1”のビットの数が奇数であると、パリティビット
を論理″0″とする。
As mentioned above, in the dual port memory of this embodiment, a new parity bit is added to write data that has been subjected to arithmetic processing by the arithmetic logic unit ALU and masked by the data merging circuit DM. A parity addition circuit PC is provided for adding parity. The parity addition circuit PC is the data merging circuit DM.
It receives the output signal of and forms a parity bit for 8-bit write data. That is, although not particularly limited, a system including this dual port memory is of an odd parity type. Therefore, the parity addition circuit P
C is logic “1” included in 8-bit write data
If the number of bits in is even, the parity bit is set to logic “
If the number of logic "1" bits included in the 8-pin write data is an odd number, the parity bit is set to logic "0".

パリティ付加回路PCから出力される苦き込みデータは
、パリティビットを含めて、書き込み増幅回路WAに伝
達される。書き込み増幅回路WAは、デュアル・ポート
・メモリの演算書き込みサイクルにおいて、タイミング
制御回路TCから供給されるタイミング信号φrwによ
って動作状態とされ、パリティ付加回路PCから供給さ
れる計9ビットの署き込みデータを相補署き込み信号と
し、相補共通データは−CDI−CD8及び旦DPを介
して対応するメモリセルに入力する。タイミング信号φ
rwがロウレベルであると、書き込み増幅回路WAの出
力信号はハイインピーダンス状態とされる。
The corrupted data output from the parity addition circuit PC, including the parity bit, is transmitted to the write amplifier circuit WA. The write amplifier circuit WA is activated by the timing signal φrw supplied from the timing control circuit TC during the operation write cycle of the dual port memory, and receives a total of 9 bits of signed data supplied from the parity addition circuit PC. is used as a complementary signature input signal, and complementary common data is input to the corresponding memory cell via -CDI-CD8 and DP. timing signal φ
When rw is at a low level, the output signal of the write amplifier circuit WA is placed in a high impedance state.

機能制御回路FCは、演算コードレジスタFCRと演算
コードデコーダFCDにより構成される。
The function control circuit FC is composed of an operation code register FCR and an operation code decoder FCD.

演算コードレジスタFORは、デュアル・ポート・メモ
リの演算モード設定サイクルにおいて、タイミング制御
回路TCから供給されるタイミング信号φmsに従って
、アドレスバスAO〜A3を介して供給される演算コー
ドを取り込み、保持する。
The operation code register FOR takes in and holds the operation code supplied via the address buses AO to A3 in accordance with the timing signal φms supplied from the timing control circuit TC in the operation mode setting cycle of the dual port memory.

演算コードレジスタNCRの出力信号は、演算コードデ
コーダFCDに供給される。演算コードデコーダFCD
は、4ビツトの演算コードをデコートして演算モード選
択信号a m O〜a m l 5を形成し、ランダム
入出力回路RIOの演算論理ユニットALUに供給する
The output signal of the operational code register NCR is supplied to the operational code decoder FCD. Arithmetic code decoder FCD
decodes the 4-bit arithmetic code to form arithmetic mode selection signals a m O to a m l5, and supplies them to the arithmetic logic unit ALU of the random input/output circuit RIO.

以上のように、この実施例のデュアル・ポート・メモリ
には、演算論理ユニットALUによって演算処理が施さ
れデータマージ回路DMによってマスク処理が施された
書き込みデータに対し、新しくパリティビットを付加す
るためのパリティ付加回路PCが設けられる。このため
、演算処理及びマスク処理によって、外部からデータバ
スを介して入力されるパリティビットを意識することな
く杏き込みデータが更新されるにもかかわらず、実際に
メモリセルに書き込まれる書き込みデータには、更新さ
れた正常なパリティビットが付加される。これにより、
このデュアル・ポート・メモリを、パリティビットを用
いた誤り検出機能を有する系に接続することができ、系
としての信頼性を向上できるものである。
As described above, in the dual port memory of this embodiment, a new parity bit is added to write data that has been subjected to arithmetic processing by the arithmetic logic unit ALU and masked by the data merge circuit DM. A parity addition circuit PC is provided. For this reason, even though the write data is updated through arithmetic processing and mask processing without being aware of the parity bit input from the outside via the data bus, the write data actually written to the memory cell is is appended with updated normal parity bits. This results in
This dual port memory can be connected to a system having an error detection function using parity bits, thereby improving the reliability of the system.

以上の本実施例に示されるように、この発明を演算書き
込み機能を有するデュアル・ポート・メモリ等の半導体
記憶装置に通用した場合、次のような効果が得られる。
As shown in the above embodiment, when the present invention is applied to a semiconductor memory device such as a dual port memory having an arithmetic write function, the following effects can be obtained.

すなわち、 (D演算書き込み機能及び/又はマスク機能を有するデ
ュアル・ポート・メモリ等の半導体記憶装置に、論理演
算処理又はマスク処理が施された後の書き込みデータに
さらに誤り検出又は誤り訂正のための符号を付加する符
号付加回路を設けることで、論理演算処理又はマスク処
理が施された後の書き込みデータにも正常な誤り検出符
号又は誤り訂正符号を付加できるという効果が得られる
In other words, (in a semiconductor storage device such as a dual port memory having a D-operation write function and/or a mask function, write data that has been subjected to logical operation processing or mask processing is further subjected to error detection or error correction). By providing a code addition circuit that adds a code, it is possible to add a normal error detection code or error correction code to write data that has been subjected to logical operation processing or mask processing.

(2)上記(1)項により、演算書き込み機能及び/又
はマスク機能を有するデュアル・ポート・メモリ等の半
導体記憶装置を、誤り検出機能又は誤り訂正機能を有す
る系に接続することができるという効果が得られる。
(2) The effect of item (1) above is that a semiconductor storage device such as a dual port memory having an arithmetic write function and/or a mask function can be connected to a system having an error detection function or an error correction function. is obtained.

(3)上記(1)項及び(2)項により、演算書き込み
機能及び/又はマスク機能を有するデュアル・ポート・
メモリ等の半導体記憶装置を含み、誤り検出機能又は誤
り訂正機能を有する系の信頼性を向上できるという効果
が得られる。
(3) According to the above (1) and (2), dual port
An effect can be obtained in that the reliability of a system including a semiconductor storage device such as a memory and having an error detection function or an error correction function can be improved.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、この発明は上記実施例に限定される
ものではなく、その要旨を進展しない範囲で種々変更可
能であることはいうまでもない0例えば、この実施例の
デュアル・ポート・メモリが接続される系は、奇数パリ
ティ方式による誤り検出機能を持つものとしているが、
例えばサイクリックコード等を用いた誤り訂正機能を持
つものとしてもよい、この場合、デュアル・ポート・メ
モリのデータマージ回路DMと書き込み増幅回路WAの
間に、更新された書き込みデータに新しくサイクリック
コードを付加するための回路を設ければよい、また、デ
ュアル・ポート・メモリに、入出力端子を介して供給さ
れる書き込みデータやメモリアレイから読み出された記
憶データをチェックするためのパリティチェック回路を
設けてもよい。第1図のランダム入出力回路RIOは、
演算書き込み機能かマスク機能のうち一方の機能のみを
持つものとしてもよいし、演算モードの数や書き込みデ
ータのビット数等、第1図の実施例に制限されるもので
はない、さらに、第2図のデュアル・ポート・メモリは
、ランダム・アクセス・ボート用カラムアドレスデコー
ダRCDとシリアル・アクセス・ポート用カラムアドレ
スデコーダSCDを共通にしたり、それぞれのメモリア
レイを複数のメモリマントによって構成するなど、その
ブロック構成や制御信号の組み合わせは種々の実施形態
を採りうるものである。
Although the invention made by the present inventor has been specifically explained above based on examples, it goes without saying that this invention is not limited to the above-mentioned examples, and can be modified in various ways without advancing the gist of the invention. For example, the system to which the dual port memory of this embodiment is connected is assumed to have an error detection function using an odd parity method.
For example, it may have an error correction function using a cyclic code. In this case, a new cyclic code is added to the updated write data between the data merge circuit DM and the write amplifier circuit WA of the dual port memory. In addition, a parity check circuit can be provided to check the write data supplied to the dual port memory via the input/output terminal and the stored data read from the memory array. may be provided. The random input/output circuit RIO in Fig. 1 is
It may have only one of the calculation write function and the mask function, and the number of calculation modes and the number of bits of write data are not limited to the embodiment shown in FIG. The dual port memory shown in the figure has several features, such as sharing the column address decoder RCD for the random access boat and the column address decoder SCD for the serial access port, or configuring each memory array with multiple memory cloaks. Various embodiments can be adopted for block configurations and combinations of control signals.

以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野であるデュアル・ポート・
メモリに通用した場合について説明したが、それに限定
されるものではなく、例えばスタティック型RA M等
の各種の半導体記憶装置にも通用できる。本発明は、少
なくとも記憶データを複数ビット単位で入出力し、演算
書き込み機能又はマスク機能等を有する半導体記憶装置
には通用できる。
The above explanation mainly describes the invention made by the present inventor in the field of application, which is the dual port
Although the case where the present invention is applicable to a memory has been described, the present invention is not limited thereto, and can also be applied to various semiconductor storage devices such as a static type RAM. The present invention is applicable to at least a semiconductor memory device that inputs/outputs storage data in units of multiple bits and has an arithmetic write function, a mask function, or the like.

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

本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば、次のとおりである
。すなわち、演算書き込み機能及び/又はマスク機能を
有するデュアル・ポート・メモリ等の半導体記憶装置に
、論理演算処理又はマスク処理が施された後の書き込み
データにさらに誤り検出又は誤り訂正のための符号を付
加する符号付加回路を設けることで、論理演算処理又は
マスク処理が施された後の書き込みデータに正常な誤り
検出符号又は誤り訂正符号を付加することができ、演算
書き込み機能及び/又はマスク機能を有する半導体記憶
装置を含み誤り検出機能又は誤り訂正機能を有する系の
信頼性を向上できるものである。
A brief explanation of the effects obtained by typical inventions disclosed in this application is as follows. That is, in a semiconductor storage device such as a dual port memory having an arithmetic write function and/or a mask function, a code for error detection or error correction is further added to write data that has been subjected to logical arithmetic processing or mask processing. By providing a code addition circuit, it is possible to add a normal error detection code or error correction code to write data after logical operation processing or mask processing, and it is possible to add a normal error detection code or error correction code to write data after logical operation processing or mask processing. The reliability of a system including a semiconductor memory device having an error detection function or an error correction function can be improved.

【図面の簡単な説明】 第1図は、この発明が通用されたデュアル・ポート・メ
モリのランダム入出力回路及び機能制御回路の一実施例
を示す回路ブロック図、第2図は、第1図のランダム入
出力回路及び機能制御回路を含むデュアル・ポート・メ
モリの一実施例を示すブロック図、 第3図は、従来のデュアル・ポート・メモリのランダム
入出力回路及び機能制御回路の回路ブロック図である。 RIO・・・ランダム入出力回路、FC・・・機能制御
回路、pc・・・パリティ付加回路、DIB・・・デー
タ人カバソファ、DOB・・・データ出カバソファ、D
L・・・データラッチ、MDL・・・マスクデータラ7
チ、ALU・・・演算論理ユニット、DM・・・データ
マージ回路、RA・・・読み出し増幅回路、WA・・・
書き込み増幅回路、FCR・・・演算コードレジスタ、
FCD・・・演算コードデコーダ。 M −A RY l・・・メモリアレイ、SAI・・・
センスアンプ、C3WI・・・カラムスインチ、DRI
・・・データレジスタ、DSLI・・・データセレクタ
、P N T・・・ポインタ、RD・・・ロウアドレス
デコーダ、RCD・・・ランダム・アクセス・ポート用
カラムアドレスデコーダ、SCD・・・シリアル・アク
セス・ポート用カラムアドレスデコーダ、CADB・・
・カラムアドレスバッファ、RADB・・・ロウアドレ
スバッファ、AMX・・・アドレスマルチプレクサ、S
lO・・・シリアル入出力回路、TC・・・タイミング
制御回路、REFC・・・リフレッシュアドレスカウン
タ。 第1図 第2 図
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a circuit block diagram showing an embodiment of a random input/output circuit and a function control circuit of a dual port memory to which the present invention is applied, and FIG. FIG. 3 is a circuit block diagram of a random input/output circuit and a function control circuit of a conventional dual port memory. It is. RIO...Random input/output circuit, FC...Function control circuit, PC...Parity addition circuit, DIB...Data person cover sofa, DOB...Data output cover sofa, D
L...Data latch, MDL...Mask data latch 7
ALU... Arithmetic logic unit, DM... Data merging circuit, RA... Read amplification circuit, WA...
Write amplifier circuit, FCR... operation code register,
FCD... Arithmetic code decoder. M-ARY l...Memory array, SAI...
Sense amplifier, C3WI...column inch, DRI
...Data register, DSLI...Data selector, PNT...Pointer, RD...Row address decoder, RCD...Column address decoder for random access port, SCD...Serial access・Port column address decoder, CADB...
・Column address buffer, RADB... Row address buffer, AMX... Address multiplexer, S
lO: Serial input/output circuit, TC: Timing control circuit, REFC: Refresh address counter. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】 1、指定されたアドレスから読み出される記憶データと
外部から供給される書き込みデータの演算を行う論理演
算回路及び/又は上記書き込みデータをマスクデータに
従って選択的にマスクするマスク回路と、上記論理演算
回路又は上記マスク回路の出力信号を受け誤り又は誤り
訂正用の符号を形成する符号付加回路と、上記論理演算
回路又はマスク回路の出力信号及び上記符号付加回路の
出力信号を受け指定されたアドレスに書き込む書き込み
回路とを具備することを特徴とする半導体記憶装置。 2、上記半導体記憶装置はデュアル・ポート・メモリで
あり、上記論理演算回路は上記記憶データを保持するデ
ータラッチ回路と外部から供給される演算モード信号に
従って上記データラッチ回路に保持される記憶データと
上記書き込みデータの各種演算を行う演算論理ユニット
を含み、上記マスク回路は外部から供給される上記マス
クデータを保持するマスクデータラッチ回路と上記デー
タラッチ回路又は上記演算論理ユニットの出力信号を上
記マスクデータラッチ回路に保持されるマスクデータに
従って選択的に上記符号付加回路に伝達するデータマー
ジ回路を含むものであることを特徴とする特許請求の範
囲第1項記載の半導体記憶装置。
[Scope of Claims] 1. A logic operation circuit that performs an operation on stored data read from a designated address and write data supplied from the outside, and/or a mask circuit that selectively masks the write data according to mask data. , a code addition circuit that receives the output signal of the logic operation circuit or the mask circuit and forms a code for error or error correction; and a code addition circuit that receives the output signal of the logic operation circuit or the mask circuit and the output signal of the code addition circuit and designates it. 1. A semiconductor memory device comprising: a write circuit for writing to a specified address. 2. The semiconductor storage device is a dual port memory, and the logical operation circuit has a data latch circuit that holds the stored data and a data latch circuit that holds the stored data according to an externally supplied operation mode signal. The mask circuit includes an arithmetic logic unit that performs various operations on the write data, and the mask circuit includes a mask data latch circuit that holds the mask data supplied from the outside, and an output signal of the data latch circuit or the arithmetic logic unit that stores the mask data. 2. The semiconductor memory device according to claim 1, further comprising a data merging circuit that selectively transmits data to the code adding circuit according to mask data held in a latch circuit.
JP61219588A 1986-09-19 1986-09-19 Semiconductor memory device Pending JPS6376194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61219588A JPS6376194A (en) 1986-09-19 1986-09-19 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61219588A JPS6376194A (en) 1986-09-19 1986-09-19 Semiconductor memory device

Publications (1)

Publication Number Publication Date
JPS6376194A true JPS6376194A (en) 1988-04-06

Family

ID=16737885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61219588A Pending JPS6376194A (en) 1986-09-19 1986-09-19 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JPS6376194A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007016552A (en) * 2005-07-11 2007-01-25 France Bed Co Ltd Gap filling device for door
JP2008198330A (en) * 2007-02-13 2008-08-28 Samsung Electronics Co Ltd Semiconductor memory device for byte-based masking operation and method of generating parity data
JP2009070456A (en) * 2007-09-12 2009-04-02 Renesas Technology Corp Semiconductor storage device
US9106260B2 (en) * 2012-12-19 2015-08-11 Advanced Micro Devices, Inc. Parity data management for a memory architecture

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622292A (en) * 1979-07-30 1981-03-02 Nippon Telegr & Teleph Corp <Ntt> Memory element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5622292A (en) * 1979-07-30 1981-03-02 Nippon Telegr & Teleph Corp <Ntt> Memory element

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007016552A (en) * 2005-07-11 2007-01-25 France Bed Co Ltd Gap filling device for door
JP2008198330A (en) * 2007-02-13 2008-08-28 Samsung Electronics Co Ltd Semiconductor memory device for byte-based masking operation and method of generating parity data
JP2009070456A (en) * 2007-09-12 2009-04-02 Renesas Technology Corp Semiconductor storage device
US9106260B2 (en) * 2012-12-19 2015-08-11 Advanced Micro Devices, Inc. Parity data management for a memory architecture

Similar Documents

Publication Publication Date Title
US8077492B2 (en) Semiconductor memory device
US5321652A (en) Microcomputer having a dual port memory of supplying write data directly to an output
US7426683B2 (en) Semiconductor memory device equipped with error correction circuit
US8027203B2 (en) Pipe latch circuit of multi-bit prefetch-type semiconductor memory device with improved structure
US20060143428A1 (en) Semiconductor signal processing device
JPS63211198A (en) Semiconductor storage device
JPH1186567A (en) Associative memory device
JPH0378720B2 (en)
US5239509A (en) Semiconductor memory device
US6967882B1 (en) Semiconductor memory including static memory
JPH07211077A (en) Semiconductor memory device
US6542392B2 (en) Content addressable memory devices determining entry data priority by valid data length
US6310818B1 (en) Semiconductor memory device and method of changing output data of the same
JPS6376194A (en) Semiconductor memory device
JPH079751B2 (en) Semiconductor memory device
JPH0785657A (en) Flash writable semiconductor memory device
JP2000036197A (en) Multi-port static random access memory for column interleaved array
JPS63293791A (en) Semiconductor storage device
JP2020161074A (en) Memory having error correction circuit
JP2607432B2 (en) Semiconductor storage device
JPS6379296A (en) Semiconductor storage device
JPH023199A (en) Semiconductor storage device
JPH07118189B2 (en) Semiconductor memory device
JPS62165247A (en) Information processing system
JPH09251778A (en) Ic memory