JPH0612340A - Memory circuit - Google Patents

Memory circuit

Info

Publication number
JPH0612340A
JPH0612340A JP4166307A JP16630792A JPH0612340A JP H0612340 A JPH0612340 A JP H0612340A JP 4166307 A JP4166307 A JP 4166307A JP 16630792 A JP16630792 A JP 16630792A JP H0612340 A JPH0612340 A JP H0612340A
Authority
JP
Japan
Prior art keywords
circuit
signal
data
ram
time
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
JP4166307A
Other languages
Japanese (ja)
Inventor
Takahiro Sakamoto
考宏 坂本
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP4166307A priority Critical patent/JPH0612340A/en
Publication of JPH0612340A publication Critical patent/JPH0612340A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the diagnostic time of the memory circuit which has plural RAM elements. CONSTITUTION:The memory circuit has an operation mode switching signal generating circuit 3 which generates a signal for switching the operation of the memory circuit between diagnostic operation time and normal operation time, a chip selector circuit 4 which sends out a CS signal to all the RAM elements 7-10 at the same time, and a diagnostic result deciding circuit 6 which decides whether or not all data read out of all the RAM elements 7-10 at the same time match one another and also decides whether or not written data also match one other when the read data match one another; and the transmission destination of the data read out of the respective RAM elements 7-10 are switched to a connection with the diagnostic result deciding circuit 6 at the time of a diagnosis or a connection with a data base 12 at the time of normal operation, and then the RAM elements are diagnosed at the same time to shorten the diagnostic time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はメモリ回路に関し、特に
複数のRAM素子を使用したメモリ回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory circuit, and more particularly to a memory circuit using a plurality of RAM elements.

【0002】[0002]

【従来の技術】従来、この種のメモリ回路は、読み出し
及び書き込み動作をWE(ライトイネーブル)信号で切
替え、CS(チップセレクタ)信号でRAM素子を選択
し、アドレス信号でメモリ・セルを選択している。
2. Description of the Related Art Conventionally, in this type of memory circuit, read and write operations are switched by a WE (write enable) signal, a RAM element is selected by a CS (chip selector) signal, and a memory cell is selected by an address signal. ing.

【0003】書き込み動作の時は、CPUより送出され
るアドレス信号の上位をデコードして選択されたRAM
素子へCS信号を送信し、下位をRAM素子へ送信して
メモリ・セルを選択し、CPUよりWE信号をRAM素
子へ送信してデータを書き込んでいた。
At the time of write operation, the RAM selected by decoding the higher order of the address signal sent from the CPU
The CS signal is transmitted to the element, the lower order is transmitted to the RAM element to select the memory cell, and the CPU transmits the WE signal to the RAM element to write the data.

【0004】読み出し動作の時も同時にRAM素子とメ
モリ・セルを選択し、CPUよりRE信号をRAM素子
へ送信してデータを読み出していた。
During the read operation, the RAM element and the memory cell are simultaneously selected, and the CPU sends the RE signal to the RAM element to read the data.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のメモリ
回路は、CS信号でRAM素子を選択しているので1時
の書き込み、または読み込み動作で書き込みできるの
は、1個のRAM素子の1個のメモリ・セルに限られて
いる。
In the above-mentioned conventional memory circuit, since the RAM element is selected by the CS signal, only one RAM element can be written by the write operation or the read operation at 1 o'clock. Memory cells.

【0006】このため、メモリ診断は、全RAM素子の
全メモリ・セルに1つずつデータを書き込んだ後、全R
AM素子の全メモリ・セルのデータを1つずつ読み出し
て、書き込みデータと、読み出しデータの一致を確認す
る方法がとられていた。
For this reason, the memory diagnosis is performed by writing data to all memory cells of all RAM elements one by one, and then executing all R
A method of reading the data of all the memory cells of the AM element one by one and confirming the match between the write data and the read data has been adopted.

【0007】この方法では、メモリ容量の増大とともに
診断時間が長くなり、とくに近年の大規模メモリの導入
により膨大な診断時間を必要としている。
According to this method, the diagnosis time becomes longer as the memory capacity increases, and particularly, due to the recent introduction of a large scale memory, a huge diagnosis time is required.

【0008】本発明の目的は、診断時間を短縮できるメ
モリ回路を提供することにある。
An object of the present invention is to provide a memory circuit which can shorten the diagnosis time.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するた
め、本発明に係るメモリ回路は、複数のRAM素子から
構成され、各RAM素子とCPUとの間に各RAM素子
共通のアドレス及びデータ信号と各RAM素子の読み出
し動作と書き込み動作を制御するRE(リードイネーブ
ル)信号およびWE(ライトイネーブル)信号を持ち、
更に各RAM素子個別に該RAM素子を選択するCS
(チップセレクタ)信号を持つメモリ回路において、各
回路の動作を診断時と通常時で切替えさせる信号を各回
路へ送信する動作モード切替信号発生回路と、診断時は
全RAM素子へ同時にCS信号を送信するチップセレク
タ回路と、診断時は各RAM素子から読み出されたデー
タが全て一致しているかを判定し、一致している場合、
更に書き込んだデータと一致しているかを判定し、その
結果をCPUへ送信する診断結果判定回路と、RAM素
子から読み出したデータの送信先を診断時は診断結果判
定回路との接続に切替え、通常時はデータバスとの接続
に切替えるゲート選択回路とを有するものである。
In order to achieve the above object, a memory circuit according to the present invention comprises a plurality of RAM elements, and an address and data signal common to each RAM element is provided between each RAM element and a CPU. And a RE (read enable) signal and a WE (write enable) signal for controlling the read operation and the write operation of each RAM element,
Further, CS for selecting each RAM element individually
In a memory circuit having a (chip selector) signal, an operation mode switching signal generation circuit that transmits a signal for switching the operation of each circuit between diagnosis and normal time to each circuit, and a CS signal to all RAM elements at the same time during diagnosis. It is determined whether the chip selector circuit to be transmitted and the data read from each RAM element at the time of diagnosis all match, and if they match,
Further, it is determined whether or not the data matches the written data and the result of the diagnosis is sent to the CPU, and the destination of the data read from the RAM element is switched to the connection of the diagnosis result at the time of diagnosis. In some cases, it has a gate selection circuit for switching to connection with a data bus.

【0010】[0010]

【作用】複数のRAM素子を同時に診断することによ
り、メモリ診断時間を短縮する。
By simultaneously diagnosing a plurality of RAM elements, the memory diagnosis time is shortened.

【0011】[0011]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例の、4個のRAM素子から
なるメモリを有するメモリ回路の構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a memory circuit having a memory composed of four RAM elements according to an embodiment of the present invention.

【0012】図において、CPU1とRAM素子7〜1
0は、アドレスバス11とデータバス12によってそれ
ぞれ並列に接続され、データバス12とRAM素子7〜
10の間にはゲート選択回路26〜29が1個ずつ設け
られ、ゲート選択回路26〜29はそれぞれ独立した信
号線によって診断結果判定回路6と接続される。
In the figure, a CPU 1 and RAM elements 7-1 are provided.
0 are connected in parallel by an address bus 11 and a data bus 12, respectively, and the data bus 12 and the RAM elements 7 to
One gate selection circuit 26 to 29 is provided between 10 and each gate selection circuit 26 to 29 is connected to the diagnosis result determination circuit 6 by an independent signal line.

【0013】CPU1より送出されるWE信号とRE信
号は、それぞれ信号線15,16によってRAM素子7
〜10へ並列に接続され、CPU1より送出されるアド
レス信号は、アドレスバス11より分岐された信号線に
よってチップセレクタ回路4および動作モード切替信号
発生回路3に接続され、チッブセレクタ回路4は、RA
M素子7〜10へそれぞれ独立した信号線17〜20に
よって接続される。
The WE signal and the RE signal sent from the CPU 1 are sent to the RAM element 7 by the signal lines 15 and 16, respectively.
10 are connected in parallel to each other, and an address signal sent from the CPU 1 is connected to the chip selector circuit 4 and the operation mode switching signal generation circuit 3 by a signal line branched from the address bus 11, and the chip selector circuit 4 is RA
The M elements 7 to 10 are connected by independent signal lines 17 to 20, respectively.

【0014】動作モード切替信号発生回路3は、チップ
セレクタ回路4とゲート選択回路26〜29、書込みデ
ータ用ゲート22へそれぞれ信号線14によって並列に
接続される。
The operation mode switching signal generating circuit 3 is connected in parallel to the chip selector circuit 4, the gate selecting circuits 26 to 29, and the write data gate 22 by a signal line 14, respectively.

【0015】診断用書込みデータ発生回路2は、書込み
データ用ゲート22を通り信号線13によって診断結果
判定回路6とデータバス12を通してRAM素子7〜1
0へ接続され、診断結果判定回路6はデータバス12を
通ってCPU1へ接続されている。
The diagnostic write data generation circuit 2 includes RAM elements 7-1 through the write data gate 22, the signal line 13, and the diagnostic result determination circuit 6 and the data bus 12.
0, and the diagnosis result judging circuit 6 is connected to the CPU 1 through the data bus 12.

【0016】診断用書込みデータ発生回路2と動作モー
ド切替信号発生回路3には、それぞれIOW23、IO
W24が接続されている。
The diagnostic write data generating circuit 2 and the operation mode switching signal generating circuit 3 have IOW 23 and IO, respectively.
W24 is connected.

【0017】次にその動作を説明する。IOW24から
動作モード切替信号発生回路3に診断開始の信号が入力
されると、チップセレクタ回路4とゲート選択回路26
〜29および書込みデータ用ゲート22へそれぞれ診断
モードを意味する信号が送信され、チップセレクタ回路
4は、CPU1からのアドレス信号に関係なくすべての
RAM素子へCS信号を送出し、ゲート選択回路26〜
29は、RAM素子7〜10から読み出されたデータを
データバス12ではなく診断結果判定回路6へ送出する
ようになり、書込みデータ用ゲート22は、ゲートを開
き診断用書込みデータ発生回路2からの信号をRAM素
子7〜10および診断結果判定回路6へ送信可能状態に
する。
Next, the operation will be described. When the diagnosis start signal is input from the IOW 24 to the operation mode switching signal generation circuit 3, the chip selector circuit 4 and the gate selection circuit 26 are input.
To 29 and the write data gate 22 are transmitted to the chip selector circuit 4, the chip selector circuit 4 sends CS signals to all the RAM elements regardless of the address signal from the CPU 1, and the gate selection circuit 26 to.
29 sends the data read from the RAM elements 7 to 10 to the diagnosis result judging circuit 6 instead of the data bus 12, and the write data gate 22 opens the gate and outputs from the diagnostic write data generating circuit 2. The signal of is transmitted to the RAM elements 7 to 10 and the diagnostic result determination circuit 6 in a transmittable state.

【0018】次にCPU1よりアドレス信号が送出され
ると、アドレス信号の上位はチップセレクタ回路4に送
信され診断時は信号線17〜20を介して全RAM素子
7〜10へCS信号が送出され、下位はRAM素子7〜
10へ送信され、全RAM素子に共通のメモリ・セルの
アドレスが指定される。
Next, when an address signal is sent from the CPU 1, the higher order of the address signal is sent to the chip selector circuit 4, and at the time of diagnosis, a CS signal is sent to all the RAM elements 7 to 10 via the signal lines 17 to 20. , Lower is RAM element 7-
10 are addressed to the memory cells that are common to all RAM elements.

【0019】この時、全RAM素子へCPU1からのW
E信号と診断用書込みデータ発生回路2からのデータが
送信されると、CS信号が全RAM素子に送信されてい
るため、RAM素子7〜10全ての同じセルアドレスに
同一データが書込まれる。
At this time, the W from the CPU 1 is written to all the RAM elements.
When the E signal and the data from the diagnostic write data generating circuit 2 are transmitted, since the CS signal is transmitted to all the RAM elements, the same data is written in the same cell address of all the RAM elements 7-10.

【0020】RAM素子への書込動作が終了すると、C
PU1から同一のアドレス信号とRE信号が送信され、
全RAM素子から同時に共通のセルアドレスのデータが
読み出されゲート選択回路26〜29へ送信される。
When the writing operation to the RAM element is completed, C
The same address signal and RE signal are transmitted from PU1,
Data of a common cell address is read out from all the RAM elements at the same time and transmitted to the gate selection circuits 26 to 29.

【0021】ゲート選択回路26〜29では動作モード
切替信号発生回路3より診断モードを意味する信号が送
信されているので、RAM素子7〜10より読み出され
たデータを診断結果判定回路6へ送信する。
In the gate selection circuits 26 to 29, the signal indicating the diagnostic mode is transmitted from the operation mode switching signal generation circuit 3, so the data read from the RAM elements 7 to 10 are transmitted to the diagnostic result determination circuit 6. To do.

【0022】診断結果判定回路6では、全RAM素子に
書込んだデータと同一のデータが送信されてくるので、
それを保持しておき、全RAM素子から読み出されたデ
ータが送信されてくると、まず第1判定として送信され
たデータが全て“0”か“1”かで一致しているかを検
出し、一致していれば次の第2判定を行い、一致してい
ない場合はメモリの障害を検出し、メモリ障害を意味す
る信号をデータバス12を介してCPU1へ送信する。
In the diagnosis result judging circuit 6, the same data as the data written in all the RAM elements is transmitted,
When the data read out from all the RAM elements is transmitted while holding it, first of all, it is detected as a first judgment whether or not all the transmitted data are “0” or “1”. If they match, the next second determination is performed. If they do not match, a memory failure is detected, and a signal indicating a memory failure is transmitted to the CPU 1 via the data bus 12.

【0023】第1判定でデータが全て一致している場合
は、第2判定として前記のRAM素子から送信されたデ
ータと、保持していた書込みデータとが一致しているか
どうかの判定を行い、一致していれば診断結果正常の信
号を、一致していなければ共通回路の障害を検出して共
通回路障害の信号をそれぞれデータバス12を介してC
PU12へ送信する。
If all the data match in the first judgment, it is judged in the second judgment whether the data transmitted from the RAM element and the held write data match. If they match, a signal indicating that the diagnosis result is normal is detected. If they do not match, a failure in the common circuit is detected and a signal indicating the common circuit failure is sent via the data bus 12 to C
Send to PU12.

【0024】このように複数のRAM素子の共通のセル
アドレス同士を同時に書き込みと読み出し動作を行うこ
とにより診断を行い終了すると、IOW24から診断終
了の信号が動作モード切替信号発生回路3へ入力され
る。この時、動作モード切替信号発生回路3は、通常状
態の動作を指示する信号をチップセレクタ回路4とゲー
ト選択回路26〜29、書込みデータ用ゲート22へ送
信し、チップセレクタ回路4は、アドレス信号の上位を
デコードして選択されたRAM素子にのみCS信号を送
信するようになり、ゲート選択回路26〜29は、各R
AM素子7〜10から読み出されたデータをデータバス
12だけに送信するようになり、書込みデータ用ゲート
22はゲートを閉じて本回路の動作を通常状態に戻して
診断を終了する。
When the diagnosis is completed by simultaneously writing and reading the common cell addresses of the plurality of RAM elements, the IOW 24 inputs a diagnosis end signal to the operation mode switching signal generating circuit 3. . At this time, the operation mode switching signal generation circuit 3 transmits a signal instructing the operation in the normal state to the chip selector circuit 4, the gate selection circuits 26 to 29, and the write data gate 22, and the chip selector circuit 4 receives the address signal. The CS signal is transmitted only to the selected RAM element by decoding the upper part of the gate selection circuits 26 to 29.
The data read from the AM elements 7 to 10 is transmitted only to the data bus 12, and the write data gate 22 closes the gate to return the operation of this circuit to the normal state and complete the diagnosis.

【0025】[0025]

【発明の効果】以上説明したように本発明は、メモリの
診断において複数のRAM素子を同時に診断することに
より、メモリ診断時間を短縮できるという効果がある。
As described above, the present invention has the effect that the memory diagnosis time can be shortened by simultaneously diagnosing a plurality of RAM elements in the memory diagnosis.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

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

1 CPU 2 診断用書込みデータ発生回路 3 動作モード切替信号発生回路 4 チップセレクタ回路 5 通常・診断時ルート切替回路 6 診断結果判定回路 7〜10 RAM素子群 11 アドレスバス 12 データバス 13 診断用書込みデータバス 14 動作モード切替信号線 15 WE(ライトイネーブル)信号線 16 RE(リードイネーブル)信号線 17〜20 CS(チップセレクタ)信号線 21 リード・ライト切替ゲート 22 書込みデータ用ゲート 23〜24 IOW 26〜29 ゲート選択回路 1 CPU 2 Diagnostic Write Data Generation Circuit 3 Operation Mode Switching Signal Generation Circuit 4 Chip Selector Circuit 5 Normal / Diagnostic Route Switching Circuit 6 Diagnostic Result Judgment Circuit 7 to 10 RAM Element Group 11 Address Bus 12 Data Bus 13 Diagnostic Write Data Bus 14 Operation mode switching signal line 15 WE (write enable) signal line 16 RE (read enable) signal line 17 to 20 CS (chip selector) signal line 21 Read / write switching gate 22 Write data gate 23 to 24 IOW 26 to 29 Gate selection circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のRAM素子から構成され、各RA
M素子とCPUとの間に各RAM素子共通のアドレス及
びデータ信号と各RAM素子の読み出し動作と書き込み
動作を制御するRE(リードイネーブル)信号およびW
E(ライトイネーブル)信号を持ち、更に各RAM素子
個別に該RAM素子を選択するCS(チップセレクタ)
信号を持つメモリ回路において、 各回路の動作を診断時と通常時で切替えさせる信号を各
回路へ送信する動作モード切替信号発生回路と、 診断時は全RAM素子へ同時にCS信号を送信するチッ
プセレクタ回路と、 診断時は各RAM素子から読み出されたデータが全て一
致しているかを判定し、一致している場合、更に書き込
んだデータと一致しているかを判定し、その結果をCP
Uへ送信する診断結果判定回路と、 RAM素子から読み出したデータの送信先を診断時は診
断結果判定回路との接続に切替え、通常時はデータバス
との接続に切替えるゲート選択回路とを有することを特
徴とするメモリ回路。
1. A RA comprising a plurality of RAM elements.
An address and data signal common to each RAM element between the M element and the CPU, an RE (read enable) signal for controlling the read operation and the write operation of each RAM element, and W
CS (chip selector) which has an E (write enable) signal and further selects each RAM element individually
In a memory circuit that has signals, an operation mode switching signal generation circuit that sends a signal to each circuit to switch the operation of each circuit between diagnostic and normal, and a chip selector that simultaneously sends a CS signal to all RAM elements during diagnostics The circuit and the data read from each RAM element at the time of diagnosis are checked to see if they all match, and if they match, it is judged whether they match the written data.
It has a diagnostic result judgment circuit for transmitting to U, and a gate selection circuit for switching the destination of the data read from the RAM element to the connection with the diagnostic result judgment circuit during diagnosis and to the connection with the data bus during normal operation. Memory circuit characterized by.
JP4166307A 1992-06-24 1992-06-24 Memory circuit Pending JPH0612340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4166307A JPH0612340A (en) 1992-06-24 1992-06-24 Memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4166307A JPH0612340A (en) 1992-06-24 1992-06-24 Memory circuit

Publications (1)

Publication Number Publication Date
JPH0612340A true JPH0612340A (en) 1994-01-21

Family

ID=15828918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4166307A Pending JPH0612340A (en) 1992-06-24 1992-06-24 Memory circuit

Country Status (1)

Country Link
JP (1) JPH0612340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011096163A (en) * 2009-11-02 2011-05-12 Fujitsu Ltd Register access control method and register access control circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011096163A (en) * 2009-11-02 2011-05-12 Fujitsu Ltd Register access control method and register access control circuit

Similar Documents

Publication Publication Date Title
US6457141B1 (en) Semiconductor device with embedded memory cells
JP2002269993A (en) Semiconductor memory
JP3588075B2 (en) Integrated circuit and test method for the integrated circuit
JP2001167005A (en) Method and circuit for diagnosing memory and semiconductor memory device
CN111816241B (en) Memory and test method thereof
US7134059B2 (en) Pad connection structure of embedded memory devices and related memory testing method
KR100345976B1 (en) Semiconductor memory device
JP2000339996A (en) Semiconductor storage device and burn-in test method therefor
JPH0612340A (en) Memory circuit
KR100331551B1 (en) Merged memory and logic semiconductor device having bist circuit
JP2751857B2 (en) Semiconductor device
JP2776679B2 (en) Information processing system
JPH11162200A (en) Input/output circuit for high-speed semiconductor memory and high-speed semiconductor memory therefor
JP3461473B2 (en) Self-diagnosis system and method for main storage device
JP2702259B2 (en) Semiconductor integrated circuit device
JP2877505B2 (en) LSI mounting board and data processing device
JP3516458B2 (en) Electronic device inspection method
JPH05211000A (en) Memory test device
JP3008914B2 (en) Semiconductor integrated circuit
JPH01239485A (en) Large-scale integrated circuit
JPS60221842A (en) Fault diagnosing circuit of logical device
JPS61134857A (en) Multilexing memory device
JP2000020340A (en) Microcomputer and its testing method
JPS62298127A (en) Testing method for large scale integrated circuit
JPH01200845A (en) System for diagnosing parity generating/checking circuit