JPH0283900A - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JPH0283900A
JPH0283900A JP63235698A JP23569888A JPH0283900A JP H0283900 A JPH0283900 A JP H0283900A JP 63235698 A JP63235698 A JP 63235698A JP 23569888 A JP23569888 A JP 23569888A JP H0283900 A JPH0283900 A JP H0283900A
Authority
JP
Japan
Prior art keywords
data
comparison
read
memory cell
terminal
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
JP63235698A
Other languages
Japanese (ja)
Inventor
Kazuya Kobayashi
小林 和彌
Fumio Baba
文雄 馬場
Seiji Emoto
荏本 省二
Masao Nakano
正夫 中野
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.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
Fujitsu 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 Fujitsu VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP63235698A priority Critical patent/JPH0283900A/en
Publication of JPH0283900A publication Critical patent/JPH0283900A/en
Pending legal-status Critical Current

Links

Landscapes

  • Static Random-Access Memory (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To improve the efficiency of a comparing action by directly comparing the prescribed data for comparison inputted from an external part and the data read from a memory cell, deciding the coincidence and non-coincidence of data and outputting it to a chip external part. CONSTITUTION:A memory cell array (a) can write or read the address designated data. The prescribed data for comparison inputted form an external part to a data input terminal (b) for comparison are inputted to a deciding means (c), directly compared with the data read from a memory cell (a) and the coincidence and non-coincidence of data are decided. The decided result is sent to an output means (d) and outputted from the output means (d) to the chip external part. Thus, the efficiency of the comparing action can be improved.

Description

【発明の詳細な説明】 産業上の利用分野 従来の技術        (第9〜11図)発明が解
決しようとする課題 課題を解決するための手段 (第1図)作用 実施例 本発明の一実施例    (第2〜8図)発明の効果 〔概要〕 半導体記憶装置に関し、 メモリセルアレイからの読出しデータと所定の比較用デ
ータとを比較する比較動作の効率改善を目的とし、 アドレス指定されたセルにデータを書込んだりあるいは
読出したりすることが可能なメモリセルアレイと、所定
の比較用データが外部から入力される比較用データ入力
端子と、該所定の比較用データと前記メモリセルから読
出されたデータとを直接に比較してデータの一致/不一
致を判定する判定手段と、該判定手段からの出力信号を
チップ外部に出力する出力手段と、を備えて構成してい
る。
[Detailed description of the invention] Industrial application field Prior art (Figures 9 to 11) Problems to be solved by the invention Means for solving the problems (Figure 1) Example of operation One embodiment of the present invention (Figures 2 to 8) Effects of the Invention [Summary] Regarding a semiconductor memory device, the present invention aims to improve the efficiency of a comparison operation that compares data read from a memory cell array with predetermined comparison data. a memory cell array into which data can be written or read; a comparison data input terminal into which predetermined comparison data is input from the outside; The device is configured to include a determining means for directly comparing data to determine whether data match/mismatch, and an output means for outputting an output signal from the determining means to the outside of the chip.

〔産業上の利用分野〕[Industrial application field]

本発明ハ、画像処理システムのフレームバッファ用記憶
素子として用いられる半導体記憶装置に関し、特に、記
憶素子内の選択メモリセルに蓄積されたデータと、チッ
プ外部から別途入力された所定の比較用データとの一致
/不一致を検出してその結果をチップ外部に出力する「
データ比較機能」を有する半導体記憶装置に関する。
The present invention (3) relates to a semiconductor memory device used as a frame buffer memory element of an image processing system, and particularly relates to a semiconductor memory device used as a frame buffer memory element of an image processing system, and in particular, data accumulated in a selected memory cell within the memory element and predetermined comparison data input separately from outside the chip. Detects match/mismatch and outputs the result to the outside of the chip.
The present invention relates to a semiconductor memory device having a data comparison function.

近時、画像処理システムの高機能化に伴って、システム
を構成するフレームバッファ用記憶素子には各種の付加
機能が搭載される傾向にある。上記のデータ比較機能も
その1つで、例えばフレームバッファ内に構築された画
像イメージの特定部分の色を変更する場合などの用途に
実力が発揮される。
In recent years, as image processing systems have become more sophisticated, there has been a tendency for frame buffer storage elements that constitute the systems to be equipped with various additional functions. The data comparison function described above is one such function, and is useful in applications such as changing the color of a specific part of an image constructed in a frame buffer.

〔従来の技術〕[Conventional technology]

第9図はこの種の機能を付加された半導体記憶装置の第
1の従来例の要部を示す図であり、デュアルポートメモ
リのランダム側I10バッファの回路図である。第9図
において、MDQ、−MDQ7はデータ入出力端子、I
B、〜IB、はライト信号Swに従って動作するデータ
人力バッファ、OB o〜OB、、はり一ド信号SRに
従って動作するデータ出力バッファ、Go−G、、は格
納コントロール信号STに従って開となるゲート、R0
〜R7はG。−G、を通過したデータを格納するレジス
タ、S0〜S7はデータ選択/比較回路であり、データ
選択/比較回路30〜S7は読出し/比較コントロール
信号(以下、READ/CMP)が読出しくREAD)
のときに、端子A側のデータを選択して端子Cに現し、
あるいはREAD/CMPが比較(cMP)のときに端
子A側データと端子B側のデータ(すなわちR6−R,
、内の格納データ)とを比較してその比較結果(一致/
不一致)を端子Cに現すように動作する。
FIG. 9 is a diagram showing a main part of a first conventional example of a semiconductor memory device equipped with this kind of function, and is a circuit diagram of a random side I10 buffer of a dual port memory. In FIG. 9, MDQ, -MDQ7 are data input/output terminals, I
B, ~IB are data manual buffers that operate according to the write signal Sw, OB o~OB, data output buffers that operate according to the write signal SR, Go-G, gates that are opened according to the storage control signal ST, R0
~R7 is G. -G, the registers S0 to S7 are data selection/comparison circuits, and the data selection/comparison circuits 30 to S7 are read/comparison control signals (hereinafter referred to as READ/CMP).
At this time, select the data on the terminal A side and display it on the terminal C,
Or, when READ/CMP is a comparison (cMP), terminal A side data and terminal B side data (i.e. R6-R,
, the stored data) and the comparison result (match/
(mismatch) appears on terminal C.

このような構成において、 i二l皇畳見立 SwによってIBo〜IB、lが動作し、MDQ。〜M
DQ、lに入力されたデータがメモリセルに書込まれる
In such a configuration, IBo to IB and I operate according to the I2I Kotatamidate Sw, and the MDQ. ~M
The data input to DQ,l is written into the memory cell.

元二t■抜良旦 READ/CMPがREADとなり、メモリセルのデー
タがS0〜Soを通過し、さらにSRによって動作中の
OB、−0Bfiを通ってM D Q 。
READ/CMP becomes READ, and the data in the memory cell passes through S0 to So, and then passes through the operating OB and -0Bfi by SR to MDQ.

〜MDQ、から出力される。~MDQ, is output.

比較1亘 I)まず、SwによってIB、〜IB、を動作させてM
DQ、〜MDQ、、に入力されたデータを取込むととも
に、STによってG。−Gnを開とし、取込まれたデー
タをR6−R,に格納する。
Comparison 1) First, operate IB, ~IB, by Sw and M
While taking in the data input to DQ, ~MDQ, , G is sent by ST. -Gn is opened and the captured data is stored in R6-R.

■)次に、READ/CMPをCMPにし、メモリセル
からのデータとR8−Rア内のデータとを30〜S、、
において比較してその結果をS、lによって活性化され
るO B o〜OB、を通してMDQ、〜MDQ□から
出力する。
■) Next, set READ/CMP to CMP and transfer the data from the memory cell and the data in R8-R from 30 to S.
The results are output from MDQ, .about.MDQ□ through OB, which is activated by S, l.

第10図は第2の従来例を示す図であり、端子ipから
の比較用データを入力バッフ、IBpを介して比較デー
タ格納レジスタRpに格納し、この格納データを各30
〜SアのB端子に共通に加えている。なお、第9.10
図において、BM、〜BM、、はビットマスク回路であ
り、ビットマスク回路BM、−BMfiは、ビットマス
クラッチ信号が所定の論理レベルのときに、そのときの
MDQ。
FIG. 10 is a diagram showing a second conventional example, in which comparison data from terminal ip is stored in a comparison data storage register Rp via an input buffer, IBp, and this stored data is
- Commonly added to the B terminal of SA. In addition, Section 9.10
In the figure, BM, -BM, are bit mask circuits, and the bit mask circuits BM, -BMfi indicate the MDQ at that time when the bit mask latch signal is at a predetermined logic level.

〜MDQ、、に入力されたデータをマスクデータとして
ラッチするマスクレジスタMR,〜MR,lと、マスク
レジスタMR,−MRnの内容が°′0パのとき、当該
ビットのデータ人力バッファへのライト信号をディセー
ブルとするアンドゲートAND、−AND、lとを備え
て構成され、例えば、MDQoからの入力データが“0
”で他のMDQ、〜MDQ、、からのデータが“1″゛
の場合に、ビットマスクラッチ信号を加えると、MDQ
、ビットのマスクレジスタMR,のみに″0′がランチ
され、このため、MDQ、ビットのデータ人力バッファ
IBoにはライト信号が加えられないので、このピッ)
 (MDQo )の書込みが禁止(すなわちマスク)さ
れる。
When the contents of mask registers MR, ~MR,l and mask registers MR, -MRn, which latch the data input to ~MDQ, , as mask data, are °'0, write the relevant bit to the data manual buffer. It is configured with AND gates AND, -AND, and l that disable the signal, and for example, when input data from MDQo is "0",
” and the data from other MDQs, ~MDQ, , is “1”, adding a bit mask latch signal causes the MDQ
, ``0'' is launched only in the mask register MR, of the bit MDQ, and no write signal is applied to the data manual buffer IBo of the bit MDQ.
Writing of (MDQo) is prohibited (ie, masked).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の半導体記憶装置にあっ
ては、比較データを格納するための処理(I)を実行し
た後、比較のための処理(II)を実行する構成となっ
ていたため、例えば、第11図のタイミングチャートに
示すように比較用データをひんばんに変更する場合など
では、変更の都度処理(I)を実行する必要があり、こ
の処理(1)は実際の比較処理の準備動作となるから、
準備動作の割合が増大し、本来の比較動作の効率が低下
するといった問題点があった。
However, in such a conventional semiconductor memory device, the process (II) for comparison is executed after the process (I) for storing comparison data is executed. As shown in the timing chart in Figure 11, when the comparison data is frequently changed, it is necessary to execute process (I) each time the data is changed, and this process (1) is a preparatory operation for the actual comparison process. Therefore,
There are problems in that the ratio of preparatory operations increases and the efficiency of the original comparison operations decreases.

そこで、本発明は、上記処理(I)に相当する準備動作
を不要にして、比較動作の効率改善を図ることを目的と
している。
Therefore, an object of the present invention is to eliminate the need for the preparation operation corresponding to the above process (I) and improve the efficiency of the comparison operation.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の半導体記憶装置の原理ブロツク図を示
す。
FIG. 1 shows a basic block diagram of a semiconductor memory device according to the present invention.

第1図において、アドレス指定されたセルにデータを書
込んだりあるいは読出したりすることが可能なメモリセ
ルアレイaと、所定の比較用データが外部から入力され
る比較用データ入力端子すと、該所定の比較用データと
前記メモリセルaから読出されたデータとを直接に比較
してデータの一致/不一致を判定する判定手段Cと、該
判定手段Cからの出力信号をチップ外部に出力する出力
手段dと、を備えて構成している。
In FIG. 1, there is a memory cell array a that can write data to or read data from a designated cell, and a comparison data input terminal to which predetermined comparison data is input from the outside. a determining means C that directly compares the data for comparison with the data read from the memory cell a to determine whether the data match/mismatch; and an output means that outputs an output signal from the determining means C to the outside of the chip. d.

〔作用〕[Effect]

本発明では、比較用データ入力端子に比較用データを加
えると、前記準備動作を経ずにメモリセルアレイからの
読出しデータと上記比較用データとの比較動作が実行さ
れ、比較動作の効率改善が図られる。
In the present invention, when comparison data is added to the comparison data input terminal, a comparison operation between the read data from the memory cell array and the comparison data is performed without going through the preparation operation, and the efficiency of the comparison operation is improved. It will be done.

〔実施例〕〔Example〕

以下、本発明を図面に基づいて説明する。 Hereinafter, the present invention will be explained based on the drawings.

第2〜8図は本発明に係る半導体記憶装置の一実施例を
示す図であり、×nビット構成のデュアルポートメモリ
に適用した例である。
FIGS. 2 to 8 are diagrams showing an embodiment of the semiconductor memory device according to the present invention, and are examples in which the semiconductor memory device is applied to a dual port memory having an xn bit configuration.

まず、構成を説明する。第2図において、10はデュア
ルポートメモリであり、デュアルポートメモリ10はラ
ンダムアクセスメモリ (RAM)およびシリアルアク
セスメモリ(SAM)を備えている。RAMは何れもn
組のI10バンファlla〜11nと、コラムデコーダ
12a−12nと、センスアンプ・I10ゲー)13a
−13nと、メモリセルアレイ14a〜14nとを含む
とともに、アドレスバッファ15およびロウデコーダ1
6を備え、SAMは、n組のデータレジスタ17a−1
7nと、ポインタ18a〜18nと、シリアルI10バ
ッファ19a〜19nとを含んで構成されている。なお
、20はクロックジェネレータ、21はリフレッシュア
ドレスカウンタ、22はシリアルクロンクジエネレータ
、23はリード・ライトコントロール、24は転送コン
トロールである。
First, the configuration will be explained. In FIG. 2, 10 is a dual port memory, and the dual port memory 10 includes a random access memory (RAM) and a serial access memory (SAM). RAM is n
A set of I10 buffers 11a to 11n, column decoders 12a to 12n, and sense amplifier/I10 game) 13a
-13n, memory cell arrays 14a to 14n, an address buffer 15 and a row decoder 1.
6, the SAM includes n sets of data registers 17a-1
7n, pointers 18a to 18n, and serial I10 buffers 19a to 19n. Note that 20 is a clock generator, 21 is a refresh address counter, 22 is a serial clock generator, 23 is a read/write control, and 24 is a transfer control.

また、C8はチップセレクト信号、RASはロウアドレ
スストローブ信号、CASはコラムアドレスストローブ
信号、A0〜Aいはアドレス信号、SCはシリアルクロ
ック信号、SFは動作機能コントロール信号、MWEは
ビットマスク動作および読出し/書込みコントロール信
号、TRGは転送命令・出力イネーブル信号、SRはシ
リアル出力イネーブル信号、M D Qo −M D 
Q、はビットマスクデータおよびランダムデータ入出力
端子、SDQ、〜SDQ、lはシリアルデータ入出力端
子、Ipは比較用データ入力端子、Vcc、Vssはそ
れぞれ電源である。
In addition, C8 is a chip select signal, RAS is a row address strobe signal, CAS is a column address strobe signal, A0 to A or address signal, SC is a serial clock signal, SF is an operation function control signal, and MWE is a bit mask operation and readout signal. /Write control signal, TRG is transfer command/output enable signal, SR is serial output enable signal, M D Qo - M D
Q, is a bit mask data and random data input/output terminal, SDQ, to SDQ, l is a serial data input/output terminal, Ip is a comparison data input terminal, and Vcc and Vss are respective power supplies.

本発明は、上記RAM側のI10バッファIla〜11
(Iに関するものであり、第3図はそのI10バフファ
の具体的な構成例を示す図である。第3図において、各
I10バッファlla〜llnは、各々データ人力バッ
ファ30、データ出力バンファ(出力手段)31、通常
リード/比較切換回路(判定手段)32、ビットマスク
回路33を備えている。
The present invention provides I10 buffers Ila to 11 on the RAM side.
(I), and FIG. 3 is a diagram showing a specific example of the configuration of the I10 buffer. In FIG. 31, a normal read/comparison switching circuit (determination means) 32, and a bit mask circuit 33.

ビットマスク回路33はビットマスクラッチ信号が”H
”レベルのときに、MDQO−MDQ、からのデータ(
“1”若しくは“0”)をランチするマスクデータ格納
用レジスタ34と、マスクデータ格納用レジスタ34に
ラッチさたデータが“0゛のときに、ライト信号の通過
を禁止するアンドゲート35およびリード信号の通過を
禁止するアンドゲート36とを有している。
The bit mask circuit 33 has a bit mask latch signal of “H”.
” level, data from MDQO-MDQ (
A mask data storage register 34 that launches the mask data storage register 34 (“1” or “0”), an AND gate 35 that prohibits the passage of a write signal when the data latched in the mask data storage register 34 is “0”, and a read It has an AND gate 36 that prohibits the passage of signals.

第4図は通常リード/比較切換回路32の回路図であり
、通常リード/比較切換回路32は、メモリセルからの
読出しデータと比較用データ(便宜的に端子符号と同じ
Ipで表わす)とを直接に比較した結果、両データが一
致しないときにL”レベルを出力するENORゲート3
7と、通常リード/比較コントロール信号が“L”レベ
ル(通常リード指示)のときに、リード信号を通過させ
てトランジスタT1をオンさせるアンドゲート38と、
通常リード/比較コントロール信号が“H”レベル(比
較指示)のときに、リード信号を通過させてトランジス
タT2をオンさせるアンドゲート39とを有している。
FIG. 4 is a circuit diagram of the normal read/comparison switching circuit 32. The normal read/comparison switching circuit 32 converts the read data from the memory cell and the comparison data (denoted by Ip, which is the same as the terminal code for convenience). ENOR gate 3 outputs L” level when both data do not match as a result of direct comparison.
7, and an AND gate 38 that passes the read signal and turns on the transistor T1 when the normal read/comparison control signal is at "L" level (normal read instruction);
Normally, when the read/comparison control signal is at the "H" level (comparison instruction), the AND gate 39 passes the read signal and turns on the transistor T2.

次に、第5図のタイミングチャートを参照しながらメモ
リ全体の動作を説明する。RASの立下がりでロウアド
レスが取込まれ、そして、CASの立下がりでコラムア
ドレスが取込まれ、これらのアドレスに従ってメモリセ
ルアレイ148〜14n夫々のメモリセルが選択される
。また、RASの立下がり時点でのMWE、TRG、S
Fのレベルに応じ次に揚げる6つのモードが適宜組合わ
されて選択される。
Next, the operation of the entire memory will be explained with reference to the timing chart of FIG. A row address is taken in at the fall of RAS, and a column address is taken in at the fall of CAS, and memory cells in each of memory cell arrays 148-14n are selected in accordance with these addresses. Also, MWE, TRG, S at the falling edge of RAS
Depending on the level of F, the following six modes are selected in appropriate combination.

1)RASの立下がり時点でMWEが“H”レベルのと
きには、通常のリート′ライトモード、U)RASの立
下がり時点でMWEがL”レベルのときには、ビットマ
スクモード、 1[[)RASの立下がり時点で、TRGが″Hルベル
のときには、RAM側とSAM側とを独立に動作させる
モード、 IV)RASの立下がり時点で、TRGが”L”しベル
のときには、RAM側とSAM側間でデータを転送する
モード、 V)RASの立下がり時点で、SFがH”レベルのとき
には、比較モード、 Vll)RASの立下がり時点で、SFが”L“レベル
のときには、通常の読出しモード、である。
1) When MWE is at "H" level at the falling edge of RAS, normal read' write mode; U) When MWE is at L level at the falling edge of RAS, bit mask mode; When TRG is "H" level at the falling edge, the RAM side and SAM side are operated independently.IV) When TRG is "L" and the level is "L" at the falling edge of RAS, the RAM side and SAM side are operated independently. V) Comparison mode when SF is high at the falling edge of RAS; Normal read mode when SF is low at the falling edge of Vll) RAS , is.

今、第5図のタイミングチャートのように、MWE=”
L″、TRG=“H″、SF=″H”であれば、ビット
マスクモード(II)および独立動作のサイクルモード
(■)、かつデータ比較モード(V)が選択される。し
たがって、I10バッファIla〜Ilnでは、まず、
RASの立下がり直後にM D Q o〜MDQllに
入力されたデータをマスクデータとして取込んで、これ
を各ビット毎のマスクデータ格納用レジスタ34に格納
した後、端子1pからの比較データを取込む。ここで、
本実施例では端子rpをC3(チップセレクト)用の端
子と共有している。一般に、デュアルポートメモリには
C8端子は設けられておらず、通常、Rて信号によって
チップ指定を行っているが、他の半導体集積回路装置と
同様にCS端子を設けた方が使い勝手の面で好ましいも
のとなる。また、C8端子を設けたとしても、デュアル
ポートメモリでは多くの場合N C(N OConne
ct)端子があるの′で、このNC端子を活用すれば端
子増とはならない。C8/Ip端子の用途切替えは時分
割で行えばよい。すなわち、RAS立下がり時点でのC
3/Ip端子はチップセレクト端子として使用され、C
AS信号の立下がり時点でのC5/Ip端子は比較デー
タ端子として使用されるようにすればよい。
Now, as shown in the timing chart in Figure 5, MWE=”
L'', TRG="H", SF="H", bit mask mode (II), independent operation cycle mode (■), and data comparison mode (V) are selected. Therefore, I10 buffer In Ila to Iln, first,
Immediately after the fall of RAS, the data input to MDQo to MDQll is taken in as mask data, and after storing this in the mask data storage register 34 for each bit, the comparison data from terminal 1p is taken. It's crowded. here,
In this embodiment, the terminal rp is shared with the C3 (chip select) terminal. In general, dual-port memory does not have a C8 terminal, and the chip is normally specified by the R signal, but it is easier to use if it is provided with a CS terminal, as with other semiconductor integrated circuit devices. It becomes desirable. Also, even if a C8 terminal is provided, dual port memory often has an N C (N OConne
ct) terminal, so if you use this NC terminal, you will not have to increase the number of terminals. The use of the C8/Ip terminal may be switched by time division. In other words, C at the falling edge of RAS
3/Ip terminal is used as a chip select terminal, and C
The C5/Ip terminal at the falling edge of the AS signal may be used as a comparison data terminal.

比較用データは、各々■/○バッファIla〜11nに
加えられ、これらのI10バッファ11.a〜11n内
の通常リード/比較切換回路32において、そのときに
読出されたメモリセルのデータと直接に比較される。通
常リード/比較切換回路32での比較の結果、一致の場
合は通常リード/比較切換回路32から“H”レベルが
出力され、また不一致の場合は“L”レベルが出力され
る。これらの一致/不一致データはデータ出力バッファ
31を介してMDQO−MDQ、から図示しない外部デ
ータバスに出力される。なお、比較モードにおけるMD
Q0〜MDQIlは後述するように0PEN−DRAI
N動作し、一致/不一致データは“■]”レベルのとき
には、H4−Z(ハイインピーダンス)にされる。外部
データバスに接続された例えばCPUは一致/不一致の
データ(一致:ハイインピーダンス、不一致:“L”レ
ベル)を受けると、このデータを参照して、例えば、次
サイクルのビットマスクデータを新たに生成するなどの
適当な処理を実行する。
The comparison data is added to the ■/○ buffers Ila to 11n, respectively, and these I10 buffers 11. In the normal read/comparison switching circuit 32 in a to 11n, the data is directly compared with the data of the memory cell read at that time. As a result of the comparison in the normal read/comparison switching circuit 32, if they match, the normal read/comparison switching circuit 32 outputs an "H" level, and if they do not match, it outputs an "L" level. These match/mismatch data are outputted from MDQO-MDQ to an external data bus (not shown) via the data output buffer 31. In addition, MD in comparison mode
Q0 to MDQIl are 0PEN-DRAI as described later.
N operation, and when the match/mismatch data is at the "■]" level, it is set to H4-Z (high impedance). For example, when a CPU connected to an external data bus receives match/mismatch data (match: high impedance, mismatch: "L" level), it refers to this data and, for example, creates new bit mask data for the next cycle. Execute appropriate processing such as generation.

このように、本実施例では、MWE、TRC;、SFを
所定のレベルに設定するとともに、C3/rp共通の端
子に比較データを加えるだけで、比較処理をサイクル毎
に連続して行うことができる。
In this way, in this embodiment, comparison processing can be performed continuously every cycle by simply setting MWE, TRC, and SF to predetermined levels and adding comparison data to the common terminal of C3/rp. can.

すなわち、従来例のように比較データを格納する動作が
省けるので、ひんばんに比較データを変更する場合でも
第6図に示すように比較処理だけを実行すればよく、「
比較」動作の効率をほぼ100%に改善することができ
、比較動作に要する時間を短縮化できる。
In other words, since the operation of storing comparison data as in the conventional example can be omitted, even when changing comparison data frequently, only the comparison processing as shown in Fig. 6 needs to be executed.
The efficiency of the comparison operation can be improved to almost 100%, and the time required for the comparison operation can be shortened.

ここで、−例として4個の半導体記憶装置#1〜#4で
4枚のプレーンを構成し、各プレーンを1並列」に外部
データバスに連続してCPUと連接した画像システムを
考える(第7図参照)。このような構成例は、表示画素
数の多い画像システムや多値化画像システム等の場合に
多く見られる例である。この構成によれば、プレーン数
が増えてもデータバスのビット数を増やさなくてもよい
ので好ましい。4枚のプレーンの各々は、例えばカラー
画像の場合、赤、緑、青と濃淡情報の各々に対応し、あ
るいは、白黒画像の場合、4段階の濃淡情報の各々に対
応する。CPUは各#1〜#4のC3を選択的に指定し
て各々のRAMとの間でデータのやりとりをし、必要な
画像情報をRAM上に構築する。ここで、構築されたデ
ータをCPUからの所定の比較用データと比較する場合
には、4枚のプレーンに対して同時に比較用データを転
送し、その結果(一致/不一致)を同時にCPUで受領
した方が効率がよい。しかし、4枚のプレーンは、外部
データバスに並列接続されており、その接続点はワイア
ードオアとなっているので、各プレーン出力部がTRl
−3TATE ()ライステート)であると、各プレー
ンからの出力が衝突(ファイト)する不具合がある。こ
れの対策としては、各プレーンの出力部を0PEN−D
RAIN(オープンドレイン)とすればよい。
As an example, consider an image system in which four planes are configured by four semiconductor storage devices #1 to #4, and each plane is connected to a CPU in series on an external data bus in one parallel manner. (See Figure 7). Such a configuration example is often seen in an image system with a large number of display pixels, a multi-level image system, and the like. This configuration is preferable because even if the number of planes increases, the number of bits of the data bus does not need to be increased. For example, each of the four planes corresponds to red, green, blue, and gradation information in the case of a color image, or corresponds to each of four levels of gradation information in the case of a monochrome image. The CPU selectively designates each C3 of #1 to #4, exchanges data with each RAM, and constructs necessary image information on the RAM. Here, when comparing the constructed data with predetermined comparison data from the CPU, the comparison data is transferred to the four planes at the same time, and the results (match/mismatch) are received by the CPU at the same time. It's more efficient to do so. However, the four planes are connected in parallel to the external data bus, and the connection points are wired-OR, so each plane output section is TRl.
-3TATE ()right state), there is a problem that the outputs from each plane collide (fight). As a countermeasure for this, set the output section of each plane to 0PEN-D.
RAIN (open drain) may be used.

第8図はその対策例であり、第3図におけるデータ出力
バッファ31の回路図である。第8図において、データ
出力バッファ31は通常リード/比較切換回路32から
の一致/不一致データ(一致の場合“H”、不一致の場
合“L”)若しくは通常の読出しデータを受けて、その
データと同−論理の信号S、および反転論理の信号S2
を出力する回路100と、S2が“H″ (不一致若し
くは読出しデータ“L”)のときにトランジスタT、を
オンさせてDQ i (i : 0. I 、−−・n
)を″L″レベルにするアンドゲート101 と、S+
 がH″(一致若しくは読出しデータ“H”)のときに
、コントロール信号S、が“H” (“l”)であれば
、トランジスタT4をオンさせてDQiをH″(Vcc
)レベルにするアンドゲート102と、を備えるととも
に、出力モードレジスタ103を備えている。出力モー
ドレジスフ103は例えば、比較モード時にチップ内部
で作られる出力モードレジスフロードコントロール信号
を受けて動作し、その動作時に例えばアドレス入力端子
を使って時分割で入力されたTRl−3TATE10P
ENDRA INデータをランチする。このラッチデー
タは1”のときにTRI −3TATE指定であり、′
0″のときに0PEN−DRAIN指定である。すなわ
ち、出力モードレジスタ103にラッチされたデータが
“0″であれば、S3がL”となり、アンドゲート10
2によってT4がオフされる結果、T、は0PEN−D
RA IN状態にされ、上述したデータの衝突を回避す
ることができる。
FIG. 8 is an example of this countermeasure, and is a circuit diagram of the data output buffer 31 in FIG. 3. In FIG. 8, the data output buffer 31 receives match/mismatch data (“H” for match, “L” for mismatch) or normal read data from the read/comparison switching circuit 32, and converts the data to the normal read data. Same logic signal S and inverted logic signal S2
When S2 is “H” (mismatch or read data “L”), transistor T is turned on to output DQ i (i: 0.I, --・n
) to the "L" level and the AND gate 101 and S+
If the control signal S is "H"("L") when S is "H" (coincidence or read data "H"), transistor T4 is turned on and DQi is set to H" (Vcc
) level, and an output mode register 103. For example, the output mode register 103 operates in response to an output mode register load control signal generated inside the chip during a comparison mode, and during that operation, TRl-3TATE10P input in a time-sharing manner using an address input terminal, for example.
Launch ENDRA IN data. When this latch data is 1", TRI-3TATE is specified, and '
0", 0PEN-DRAIN is specified. In other words, if the data latched in the output mode register 103 is "0", S3 becomes L, and the AND gate 10
As a result of T4 being turned off by 2, T is 0PEN-D
The RA IN state is set, and the above-described data collision can be avoided.

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

本発明によれば、メモリセル内のデータと所定の比較デ
ータとを比較するに際し、前述の処理(I)に相当する
準備動作を不要にして、比較動作のみを行うことができ
、比較動作の効率改善を図ることができる。
According to the present invention, when comparing data in a memory cell and predetermined comparison data, only the comparison operation can be performed without the need for the preparatory operation corresponding to the above-mentioned process (I). Efficiency can be improved.

第10図は第2の従来例を示すそのI10バッファの構
成図、 第11図は第1、第2の従来例に共通のサイクル毎の格
納および比較動作を示す図である。
FIG. 10 is a block diagram of the I10 buffer showing the second conventional example, and FIG. 11 is a diagram showing the cycle-by-cycle storage and comparison operations common to the first and second conventional examples.

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

第1図は本発明の原理図、 第2〜8図は本発明に係る半導体記憶装置の一実施例を
示す図であり、 第2図はその全体構成図、 第3図はそのI10バンファの構成図、第4図はその通
常リード/比較切換回路の構成図、 第5図はそのタイミングチャート、 第6図はそのサイクル毎の比較動作を示す図、第7図は
その4枚のプレーンで構成したシステム例の図、 第8図はそのデータ出カバソファの構成図、第9図は第
1の従来例を示すそのI10バンファの構成図、 14a〜14n・・・・・・メモリセルアレイ、31・
・・・・・データ出カバソファ(出力手段)、32・・
・・・・通常リード/比較切換回路(判定手段)、Ip
・・・・・・比較用データ入力端子。
FIG. 1 is a diagram showing the principle of the present invention, FIGS. 2 to 8 are diagrams showing an embodiment of a semiconductor memory device according to the present invention, FIG. 2 is an overall configuration diagram thereof, and FIG. Fig. 4 is a block diagram of the normal read/comparison switching circuit, Fig. 5 is its timing chart, Fig. 6 is a diagram showing the comparison operation for each cycle, and Fig. 7 is the four planes. FIG. 8 is a configuration diagram of the data output buffer sofa, FIG. 9 is a configuration diagram of the I10 buffer showing the first conventional example, 14a to 14n...Memory cell array, 31・
...Data output cover sofa (output means), 32...
...Normal read/comparison switching circuit (judgment means), Ip
...Data input terminal for comparison.

Claims (1)

【特許請求の範囲】 アドレス指定されたセルにデータを書込んだりあるいは
読出したりすることが可能なメモリセルアレイ(a)と
、 所定の比較用データが外部から入力される比較用データ
入力端子(b)と、 該所定の比較用データと前記メモリセル(a)から読出
されたデータとを直接に比較してデータの一致/不一致
を判定する判定手段(c)と、該判定手段(c)からの
出力信号をチップ外部に出力する出力手段(d)と、 を備えたことを特徴とする半導体記憶装置。
[Scope of Claims] A memory cell array (a) capable of writing or reading data into addressed cells; and a comparison data input terminal (b) into which predetermined comparison data is externally input. ), a determining means (c) that directly compares the predetermined comparison data and the data read from the memory cell (a) to determine whether the data match/mismatch, and from the determining means (c) A semiconductor memory device comprising: output means (d) for outputting an output signal of the above to the outside of the chip.
JP63235698A 1988-09-20 1988-09-20 Semiconductor memory Pending JPH0283900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63235698A JPH0283900A (en) 1988-09-20 1988-09-20 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63235698A JPH0283900A (en) 1988-09-20 1988-09-20 Semiconductor memory

Publications (1)

Publication Number Publication Date
JPH0283900A true JPH0283900A (en) 1990-03-23

Family

ID=16989899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63235698A Pending JPH0283900A (en) 1988-09-20 1988-09-20 Semiconductor memory

Country Status (1)

Country Link
JP (1) JPH0283900A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5428575A (en) * 1992-08-28 1995-06-27 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with comparing circuit for facilitating test mode

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62170100A (en) * 1986-01-21 1987-07-27 Nec Corp Ram integrated circuit
JPS6316357A (en) * 1986-07-08 1988-01-23 Matsushita Electric Ind Co Ltd Memory element

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62170100A (en) * 1986-01-21 1987-07-27 Nec Corp Ram integrated circuit
JPS6316357A (en) * 1986-07-08 1988-01-23 Matsushita Electric Ind Co Ltd Memory element

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5428575A (en) * 1992-08-28 1995-06-27 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory device with comparing circuit for facilitating test mode

Similar Documents

Publication Publication Date Title
US6018478A (en) Random access memory with separate row and column designation circuits for reading and writing
US5305280A (en) Semiconductor memory device having on the same chip a plurality of memory circuits among which data transfer is performed to each other and an operating method thereof
US4888772A (en) Testing circuit for random access memory device
JPS62152050A (en) Semiconductor memory
US5761694A (en) Multi-bank memory system and method having addresses switched between the row and column decoders in different banks
JPS62262294A (en) Memory system
JPH0210515B2 (en)
JP2880547B2 (en) Semiconductor storage device
JPH0522318B2 (en)
JPH02123589A (en) Memory
US5523979A (en) Semiconductor memory device for block access applications
US7280427B2 (en) Data access circuit of semiconductor memory device
US5796659A (en) Semiconductor memory device
US6611929B1 (en) Test circuit for memory
US6735674B2 (en) Method of maintaining data coherency in late-select synchronous pipeline type semiconductor memory device and data coherency maintaining circuit therefor
JPH0283900A (en) Semiconductor memory
US6917563B2 (en) Integrated memory
JPS6386191A (en) Dynamic memory
JPH07176183A (en) Memory device for execution of read, correction and write in one cycle
JPH1021687A (en) Semiconductor memory device
JPH03113897A (en) Semiconductor memory device
JPS623504B2 (en)
KR0167682B1 (en) Data transmission enable signal occurrence circuit of semiconductor memory apparatus
JPS63142589A (en) Semiconductor memory
JPH023164A (en) Dual port memory