JPH03268149A - Memory fault detection system - Google Patents

Memory fault detection system

Info

Publication number
JPH03268149A
JPH03268149A JP2069162A JP6916290A JPH03268149A JP H03268149 A JPH03268149 A JP H03268149A JP 2069162 A JP2069162 A JP 2069162A JP 6916290 A JP6916290 A JP 6916290A JP H03268149 A JPH03268149 A JP H03268149A
Authority
JP
Japan
Prior art keywords
data
memory
read
circuit
bus
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
JP2069162A
Other languages
Japanese (ja)
Inventor
Kazuhiro Sato
和弘 佐藤
Masayuki Nishimura
西村 真幸
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 Ltd
Hasegawa Electric Co Ltd
Original Assignee
Fujitsu Ltd
Hasegawa Electric Co 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 Ltd, Hasegawa Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP2069162A priority Critical patent/JPH03268149A/en
Publication of JPH03268149A publication Critical patent/JPH03268149A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect a memory fault during a test of the operation of an electronic device by outputting only read data from a 2nd memory part to a common bus and storing unmatching data in a temporary storage circuit when a data matching monitor means detects the unmatching. CONSTITUTION:A memory circuit 1 which constitutes part of the electronic device has a 1st memory part 1 where data are written and read through the common bus connected to a processor 3, and a memory monitor circuit 2 which monitors the operation of the memory circuit 1 has a 2nd memory part 21. In the write cycle of the processor 3, the same data is written in the 1st and 2nd memory parts 21. In the read cycle of the processor 3, only when the data unmatching monitor means 23 detects the unmatching, the read data from the 2nd memory part 21 is outputted to the common bus 4 and the unmatching data and address are stored in the temporary storage circuit 24.

Description

【発明の詳細な説明】 〔概 要〕 電子装置のメモリ障害の検出方式に関し、電子装置の動
作試験実行中にメモリ障害を検出することが可能なメモ
リ障害検出方式を提供することを目的とし、 共通バスを介してプロセッサに接続される第1のメモリ
部と、第2のメモリ部を備え、前記プロセッサの読出し
サイクル中に前記第1のメモリ部と前記第2のメモリ部
よりそれぞれ読出されたデータを照合するデータ一致監
視手段を備え、前記プロセッサの書込みサイクルでは、
前記第1のメモリ部と前記第2のメモリ部に同時に同一
データを書込み、前記プロセッサの読出しサイクルにお
いて、前記データ一致監視手段により不一致が検出され
たとき、前記共通ハスへは、前記第2のメモリ部からの
読出しデータのみを出力し、該不一致のデータとアドレ
スとを一時記憶回路に蓄積するように構成する。
[Detailed Description of the Invention] [Summary] Regarding a method for detecting memory faults in an electronic device, an object of the present invention is to provide a memory fault detection method capable of detecting a memory fault during execution of an operation test of an electronic device. comprising a first memory section and a second memory section connected to a processor via a common bus, wherein data is read from the first memory section and the second memory section, respectively, during a read cycle of the processor. a data matching monitoring means for matching data, and in a write cycle of the processor,
When the same data is simultaneously written to the first memory section and the second memory section, and a mismatch is detected by the data coincidence monitoring means in the read cycle of the processor, the second memory section is written to the common lot. It is configured to output only read data from the memory section and store the mismatched data and address in a temporary storage circuit.

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

本発明は、電子装置のメモリ障害の検出方式に関する。 The present invention relates to a method for detecting memory faults in electronic devices.

近年における半導体メモリの集積度の向上、低消費電力
化及び高速化の進展は著しく、これに伴って半導体メモ
リのユーザ側においてもこれらの高性能半導体メモリを
逸早く採り入れた新製品の開発が急テンポで進められて
いる。
In recent years, the integration density, lower power consumption, and higher speed of semiconductor memories have progressed significantly, and as a result, semiconductor memory users are also rapidly developing new products that incorporate these high-performance semiconductor memories. It is being advanced.

このような新製品開発環境の下においては開発中の高性
能メモリの完成を見越して該メモリを採用した製品の設
計が進められることも珍しくない。
Under such a new product development environment, it is not uncommon for a product incorporating a high-performance memory under development to be designed in anticipation of completion.

しかし、このような開発中の新メモリについては詳細な
使用条件が明確でなかったり、設計目標と実際の性能が
完全に一致しているか否かの評価が終了していない場合
が多く、また半導体メモリが新規に設計される場合には
周辺のハードウェアやソフトウェアも新規に設計される
ことが多いため、新開発半導体メモリを採用した製品の
評価試験を複雑なものとしている。従って、新製品の評
価にあたっては設計過誤や初期不良な起因するメモリ回
路部分の障害を如何に効率良く検出するかが重要となる
However, in many cases, the detailed usage conditions for such new memories under development are not clear, or evaluations have not yet been completed to determine whether the design goals and actual performance completely match. When a new memory is designed, peripheral hardware and software are often also newly designed, making evaluation testing of products using newly developed semiconductor memory complicated. Therefore, when evaluating new products, it is important to efficiently detect failures in the memory circuit portion caused by design errors or initial failures.

メモリ回路の障害を検出しようとする場合、従来技術に
おいてはメモリに対して書き込めと読み出しを行ない、
書き込んだデータと読み出したデータを比較するメモリ
試験が一般的となっているが、製品の試験時間に占める
メモリ試験の時間が実績のある半導体メモリを使用した
場合に比して大きな割合を占めることとなる。このため
、かかる新規開発のメモリを使用した場合においても、
メモリ単体の試験に大きな時間を費やすことなく、該メ
モリを使用した電子装置の動作試験の中でメモリ障害が
検出できる効率の良い障害検出方式が必要となっている
When trying to detect a fault in a memory circuit, conventional technology involves writing and reading data to the memory.
Memory testing that compares written data and read data is common, but memory testing takes up a larger proportion of product testing time than when using proven semiconductor memory. becomes. Therefore, even when using such newly developed memory,
There is a need for an efficient fault detection method that can detect memory faults during operation tests of electronic devices using the memory without spending a large amount of time testing individual memories.

〔従来の技術〕[Conventional technology]

第5図は従来技術の構成図で、電子装置の構成の一例を
メモリ回路を中心に示したものである。
FIG. 5 is a configuration diagram of the prior art, showing an example of the configuration of an electronic device, centering on a memory circuit.

第5図において、メモリ回路1内のメモリ部11ば例え
ば内蔵された関連回路(図示省略)を含めて集積回路(
IC)化された新規開発のメモリであるとし、該メモリ
部11を重点にメモリ回路1の試験を実施する場合につ
いて説明する。
In FIG. 5, the memory section 11 in the memory circuit 1 includes an integrated circuit (for example, including built-in related circuits (not shown)).
Assuming that the memory is a newly developed memory that is integrated circuit (IC), a case will be described in which the memory circuit 1 is tested with emphasis on the memory section 11.

従来技術においては、かかるメモリ回路1のメモリ機能
の試験を行なう場合、プロセッサ3が例えばメモリ試験
用のプログラム等を用いてメモリ部11にデータの書き
込みを行ない、次いで書き込んだデータを読み出して両
者が一致することを確認することによりメモリ機能が正
常であることを確認する。
In the prior art, when testing the memory function of the memory circuit 1, the processor 3 writes data to the memory section 11 using, for example, a memory test program, and then reads the written data so that both Verify that the memory function is normal by checking that they match.

メモリ部11に対するデータの書き込みはプロセッサ3
よりアドレスバス4aを介してアドレスを指定し、コン
トロールバス4bにより書き込みの指示を行ない、デー
タバス4cに書込データを送ることにより実行する。先
ず、コントロールバス4bよりの書き込み指示がライト
/リードコントローラ14に入力されると、該ライト/
リードコントローラ14はメモリ部11に対してC3線
よりチップセレクト指示を行なってメモリ11内の図示
省略されたメモリチップを選択させ、次いでRW線より
書き込みを行なうことを知らせる信号を送出する。更に
、ハスドライバ/レシーバ12に対してG線よりレシー
バ回路(詳細図示省略)のゲートを開がせる信号、RD
線より書き込のデータが入力されることを知らせる信号
を送り、該ハスドライバ/レシーバ12をデータ書き込
みが可能な状態にする。
Data is written to the memory section 11 by the processor 3.
This is executed by specifying an address via the address bus 4a, issuing a write instruction via the control bus 4b, and sending write data to the data bus 4c. First, when a write instruction from the control bus 4b is input to the write/read controller 14, the write/read controller 14 receives the write/read instruction from the control bus 4b.
The read controller 14 instructs the memory unit 11 to select a chip from the C3 line to select a memory chip (not shown) in the memory 11, and then sends a signal from the RW line notifying that writing is to be performed. Furthermore, a signal RD is sent to the HSS driver/receiver 12 from the G line to open the gate of the receiver circuit (details not shown).
A signal notifying that write data is input is sent from the line to put the hash driver/receiver 12 in a state in which data can be written.

これらに引き続いてデータバス4cにデータが送られ、
同時にコントロールバス4b及びライト/り一ドコント
ローラ14を介してメモリ部11に対してWP線より書
込パルスを送り、該データをメモリ部11に書き込む。
Following these, data is sent to the data bus 4c,
At the same time, a write pulse is sent from the WP line to the memory section 11 via the control bus 4b and the write/read controller 14, and the data is written into the memory section 11.

複数のデータを書き込む場合は以上の動作を繰り返す。To write multiple pieces of data, repeat the above operations.

メモリ部1]に書き込んだ前記データの読み出しは、先
ずプロセッサ3よりアドレスバス4aを介してメモリ部
11にデータを読み出すアドレスを指定し、コントロー
ルバス4bよりの読み出し指示がライト/リードコント
ローラ14に入力されると、該ライl−/リードコント
ローラ14はメモリ部11に対してC3線よりチップセ
レクト指示を行なってメモリチップを選択する。次いで
RW線よりメモリ部11に対してデータの読み出しを指
示する信号を送出し、更に、バスドライバ/レシーバ1
2に対してG綿よりドライバ回路のゲートを開かせる信
号、RD線より読み出したデータを出力する回路を動作
させる信号を送り、該バスドライバ/レシーバ12を読
み出したデータを送出できる状態とする。
To read the data written in the memory section 1, the processor 3 first specifies the address from which the data is to be read into the memory section 11 via the address bus 4a, and a read instruction from the control bus 4b is input to the write/read controller 14. Then, the read l-/read controller 14 issues a chip select instruction to the memory section 11 from the C3 line to select a memory chip. Next, a signal instructing the memory unit 11 to read data is sent from the RW line, and the bus driver/receiver 1
A signal for opening the gate of the driver circuit from the G line and a signal for operating the circuit for outputting the read data from the RD line are sent to the bus driver/receiver 12 to bring the bus driver/receiver 12 into a state where the read data can be sent.

以」二によりメモリ部11の指定したアドレスよりデー
タが読み出され、データバス4cを介してプロセッサ3
に送られる。複数のデータを読み出す場合は以」二の動
作を繰り返す。
In this way, data is read from the specified address in the memory unit 11, and is sent to the processor 3 via the data bus 4c.
sent to. When reading multiple pieces of data, repeat the second operation.

該プロセッサ3においては前記試験プログラムが先に書
き込んだデータと読み出したデータを比較して不一致の
場合はアドレスやデータ内容を記録する(詳細図示省略
)。
The processor 3 compares the data previously written by the test program with the data read out, and if they do not match, records the address and data contents (details not shown).

従来技術においては以上のようにしてメモリ回路1の試
験を行なうことができるが、上記の如き試験はメモリを
対象とする専用の試験となるため、メモリ試験のために
多大な時間と労力を要する結果となっている。
In the conventional technology, it is possible to test the memory circuit 1 as described above, but since the above test is a dedicated test for memory, it takes a lot of time and effort for the memory test. This is the result.

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

従来技術においては、新規に開発された半導体メモリを
開発段階で採用して設計した電子装置についてはメモリ
部分を対象とする試験を行なって設計過誤や初期不良が
ないことを確認しているため、電子装置の試験の中でメ
モリ試験に多大な時間と労力を要するという問題を有し
ていた。
In conventional technology, for electronic devices designed using newly developed semiconductor memory at the development stage, tests are conducted on the memory part to confirm that there are no design errors or initial defects. Among the tests for electronic devices, there has been a problem in that memory tests require a great deal of time and effort.

本発明は、電子装置の動作試験実行中にメモリ障害を検
出することが可能なメモリ障害検出方式を提供すること
を目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a memory fault detection method capable of detecting memory faults during execution of an operational test of an electronic device.

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

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

図中、■は電子装置の一部を構成するメモリ回路で、プ
ロセッサ3に接続される共通パス4より分岐される第1
のアドレスバス4a、コントロールバス4b及びデータ
バス4cを介して前記プロセッサ3の制御により書き込
みと読み出しが行なわれる第1のメモリ部1aを有する
メモリ回路、2は前記電子装置の動作試験を実行する際
に該電子装置に付加して前記メモリ回路1の動作を監視
するメモリ監視回路で、前記共通パス4より分岐される
第2のアドレスバス4d、コントロールハス4e及びデ
ータバス4fを介して書き込みと読み出しが行なわれる
第2のメモリ部21を有する回路、3は電子装置を制御
するプロセッサ、4ば電子装置と前記メモリ回路1及び
メモリ監視回路2などの間でデータの転送などを行なう
共通ハス、4a、4dは該共通バス4より分岐されるハ
スの一つでプロセッサ3より前記メモリ回路1及びメモ
リ監視回路2内の第1及び第2のメモリ部11.21に
対してアドレスを指定する信号が送られる第1及び第2
のアドレスバス、4b、4eは同じく前記共通パス4よ
り分岐され、プロセッサ3より前記第1及び第2のメモ
リ部LL21に対して書き込みまたは読み出しの制御信
号が送られる第1及び第2のコンI・ロールハス、4c
、4fは同じく前記共通パス4より分岐され、プロセッ
サ3より前記第1及び第2のメモリ部LL21に対して
書き込むデータが送られ、また該第1及び第2のメモリ
部1121が記憶しているデータが該プロセッサ3に対
して送出される第1及び第2のデータバスである。
In the figure, ■ is a memory circuit constituting a part of the electronic device, and the first memory circuit branches from the common path 4 connected to the processor 3.
A memory circuit 2 includes a first memory section 1a to which writing and reading are performed under the control of the processor 3 via an address bus 4a, a control bus 4b, and a data bus 4c; A memory monitoring circuit is added to the electronic device to monitor the operation of the memory circuit 1, and performs writing and reading via a second address bus 4d, a control bus 4e, and a data bus 4f branched from the common path 4. 3 is a processor for controlling the electronic device; 4 is a common hub for transferring data between the electronic device and the memory circuit 1, the memory monitoring circuit 2, etc.; 4a; , 4d is one of the bus lines branched from the common bus 4, and a signal designating an address from the processor 3 to the first and second memory sections 11 and 21 in the memory circuit 1 and the memory monitoring circuit 2. 1st and 2nd sent
The address buses 4b and 4e are also branched from the common path 4, and are connected to first and second controllers I to which write or read control signals are sent from the processor 3 to the first and second memory sections LL21.・Rollhus, 4c
, 4f are similarly branched from the common path 4, and the processor 3 sends data to be written to the first and second memory sections LL21, and the first and second memory sections 1121 store the data. first and second data buses through which data is sent to the processor 3;

11〜13はメモリ回路1内の各部で、11は半導体(
I’C)メモリなどで構成される第1のメモリ部、12
は前記第1のメモリ部11と前記第1のデータバス4c
の間において制御信号により該第1のメモリ部11の読
み出しデータを該第1のデータバス4Cに送出せしめな
いように制御することができる第1のデータ送出制御手
段、13は第1のメモリ部11と前記第1のデータ送出
制御手段12の間でデータを転送する第1の内部データ
バスである。
11 to 13 are each part in the memory circuit 1, and 11 is a semiconductor (
I'C) A first memory section consisting of a memory, etc., 12
is the first memory section 11 and the first data bus 4c.
a first data sending control means capable of controlling the read data of the first memory section 11 not to be sent to the first data bus 4C by a control signal between the two; 13 is a first memory section; 11 and the first data transmission control means 12.

21〜25はメモリ監視回路2内の各部で、21は半導
体(I C)メモリなどで構成される第2のメモリ部、
22は前記第2のメモリ部21と前記第2のデータバス
4fの間において制御信号により該第2のメモリ部21
の読み出しデータを該第2のデータバス4fに送出せし
めないように制御することができる第2のデータ送出制
御手段、23は前記プロセッサ3の制御卸により読み出
しが行なわれたときに、前記メモリ回路1より読み出さ
れるデータを前記第2のデータバス4fを介して入力す
るとともに、第2のメモリ部21より読み出されるデー
タを内部バス25を介して入力し、両データを比較して
両データが一致している場合に第2のメモリ部21の読
み出しデータを該第2のデータバス4fに送出せしめな
いようにする制御信号を前記第2のデータ送出制御手段
22に送出し、不一致の場合に不一致を生じたアドレス
とデータを記憶せしめるための指示信号を障害データ記
憶手段24に送出するとともに、第2のメモリ部21の
読み出しデータを前記第2のデータバス4fに送出させ
、第1のメモリ部11の読み出しデータを前記第1のデ
ータバス4cに送出せしめないように制御する制御信号
を前記第1及び第2のデータ送出制御手段12゜22に
送出するデータ一致監視手段、24は該データ一致監視
手段23より前記指示信号を受信したときにプロセッサ
3より第2のアドレスバス4dを介して入力されたアド
レスと第2のデータバス4fを介して人力された前記第
1のメモリ部11よりの読出データを記憶する障害デー
タ記憶手段、25は第2のメモリ部21と前記第2のデ
ータ送出制御手段22の間でデータを転送する第2の内
部データバスである。
Reference numerals 21 to 25 are various parts within the memory monitoring circuit 2, and 21 is a second memory section composed of a semiconductor (IC) memory or the like;
22 is connected to the second memory section 21 by a control signal between the second memory section 21 and the second data bus 4f.
a second data sending control means 23 capable of controlling the read data of the memory circuit so as not to send it to the second data bus 4f; 1 is input via the second data bus 4f, and data read from the second memory section 21 is input via the internal bus 25, and both data are compared to make sure that both data are unified. A control signal is sent to the second data transmission control means 22 to prevent the read data from the second memory section 21 from being transmitted to the second data bus 4f when the data matches the second data bus 4f. An instruction signal for storing the address and data that caused the error is sent to the failure data storage means 24, and the data read from the second memory section 21 is sent to the second data bus 4f, and the data is stored in the first memory section. 24 is a data matching monitoring means for sending a control signal to the first and second data sending control means 12.22 to control not to send the read data of No. 11 to the first data bus 4c; When the instruction signal is received from the monitoring means 23, the address input from the processor 3 via the second address bus 4d and the address input from the first memory section 11 via the second data bus 4f are A failure data storage means 25 for storing read data is a second internal data bus for transferring data between the second memory section 21 and the second data transmission control means 22.

〔作 用〕[For production]

第1図においてメモリ回路1は電子装置を構成するメモ
リ回路で、該メモリ回路1内のメモリ部11は例えば内
蔵された関連回路(図示省略)を含めて新規開発された
メモリである。一方、メモリ監視回路2は前記メモリ回
路1を使用して電子装置の動作試験を実施する場合に前
記メモリ部11の障害を検出するために使用する試験用
のメモリ回路であり、該メモリ監視回路2内のメモリ部
21には使用実績のあるメモリを用いる。
In FIG. 1, a memory circuit 1 is a memory circuit that constitutes an electronic device, and a memory section 11 within the memory circuit 1 is, for example, a newly developed memory including built-in related circuits (not shown). On the other hand, the memory monitoring circuit 2 is a test memory circuit used to detect a failure in the memory section 11 when performing an operation test of an electronic device using the memory circuit 1. For the memory section 21 in 2, a memory with a proven track record of use is used.

以下、メモリ回路1のメモリ部11の障害を検出する場
合の作用について説明する。なお、特に混同を招く恐れ
がない限り、「第1」または「第1 2」の記述を省略する。
The operation when detecting a failure in the memory section 11 of the memory circuit 1 will be described below. Note that the description of "first" or "first and second" will be omitted unless there is a risk of causing confusion.

第1図におけるメモリ障害の検出はメモリ回路1のメモ
リ機能の試験において行なわれるものではなく、電子装
置の動作試験中にメモリ回路1が使用された際に障害が
あればこれを検出するというものである。
The detection of a memory failure in FIG. 1 is not performed during a test of the memory function of the memory circuit 1, but rather detects any failure when the memory circuit 1 is used during an operation test of an electronic device. It is.

前記の動作試験中にプロセッサ3がメモリ回路1のメモ
リ部11にデータを書き込む場合、アドレスバス4a及
びコントロールバス4bによりメモリ部11のアドレス
を指定し、書き込み制御を行ない、データバス4Cにデ
ータを送ってデータを書き込む。このとき、これらの情
報、制御信号及びデータは共通バス4を介してメモリ監
視回路2のメモリ部21に対しても送出され、メモリ回
路1とメモリ監視回路2のメモリ部1.1.21は同一
アドレスに同一データが同時に書き込まれる。
When the processor 3 writes data to the memory section 11 of the memory circuit 1 during the operation test, it specifies the address of the memory section 11 using the address bus 4a and the control bus 4b, performs write control, and writes the data to the data bus 4C. send and write the data. At this time, these information, control signals, and data are also sent to the memory section 21 of the memory monitoring circuit 2 via the common bus 4, and the memory sections 1.1.21 of the memory circuit 1 and the memory monitoring circuit 2 are The same data is written to the same address at the same time.

次にプロセッサ3がメモリ回路1のメモリ部11より記
憶されているデータを読み出す場合、アドレスバス4a
及びコントロールバス4bを介してメモリ部11よりデ
ータを読み出すが、読み出され1ま たデータはデータバス4cを介してプロセッサ3に送ら
れる。このとき、読み出されたデータはデータバス4c
、共通バス4及びデータバス4fを通ってメモリ監視回
路2のデータ一致監視手段23に入力される。
Next, when the processor 3 reads the data stored in the memory section 11 of the memory circuit 1, the address bus 4a
Data is read from the memory unit 11 via the control bus 4b, and the read data is sent to the processor 3 via the data bus 4c. At this time, the read data is transferred to the data bus 4c.
, the common bus 4 and the data bus 4f to the data coincidence monitoring means 23 of the memory monitoring circuit 2.

このとき、プロセッサ3よりの読み出し制御によりメモ
リ監視回路2のメモリ部21の同一アドレスより同一デ
ータが同時に読み出されるが、通常状態においてはデー
タ送出制御手段22がメモリ部21より読み出されるデ
ータをデータバス4fに送出しないように制御している
ため、メモリ部21より読み出されたデータは共通バス
4に送出されず、従って、プロセッサ3はメモリ回路1
のメモリ部11より読み出されたデータのみを受けるが
、該プロセッサ3はこの段階ではまだデータの読み込み
は行なわない。
At this time, the same data is simultaneously read from the same address of the memory section 21 of the memory monitoring circuit 2 under the read control from the processor 3, but in a normal state, the data transmission control means 22 transfers the data read from the memory section 21 to the data bus. 4f, the data read from the memory section 21 is not sent to the common bus 4, and therefore the processor 3
The processor 3 receives only the data read from the memory section 11 of the processor 3, but the processor 3 does not read the data yet at this stage.

一方、メモリ監視回路2においてはメモリ部21より読
み出されたデータは内部データバス25を通って前記デ
ータ一致監視手段23に入力され、データバス4fを介
して入力されたメモリ回路1より読み出されたデータと
比較される。比較結果が一致している場合は動作はその
まま続行される。しかし、もし前記2つのデータが不一
致であった場合には該データ一致監視手段23はメモリ
回路1のデータ送出制御手段12に対して制御信号を送
り、メモリ部11よりのデータをデータバス4Cに送出
しないように制御し、また同時にデータ送出制御手段2
2に対しても制御信号を送り、メモリ部21より読み出
されたデータをデータバス4fに送出さセるように制御
する。このため、共通バス4を介してプロセッサ3には
メモリ監視回路2内のメモリ部21より読み出されたデ
ータが入力される。該プロセッサ3はこのあと受信した
データの読み込みを行なう。即ち、メモリ回路1とメモ
リ監視回路2より読み出されたデータが不一致の場合、
プロセッサ3はメモリ監視回路2より読み出されたデー
タの方を使用する。
On the other hand, in the memory monitoring circuit 2, data read from the memory section 21 is inputted to the data coincidence monitoring means 23 through the internal data bus 25, and data read from the memory circuit 1 inputted through the data bus 4f is inputted to the data coincidence monitoring means 23 through the internal data bus 25. compared with the data obtained. If the comparison results match, the operation continues as is. However, if the two data do not match, the data matching monitoring means 23 sends a control signal to the data sending control means 12 of the memory circuit 1, and transfers the data from the memory section 11 to the data bus 4C. At the same time, the data transmission control means 2
A control signal is also sent to the memory section 21 to control the data read out from the memory section 21 to be sent to the data bus 4f. Therefore, data read from the memory section 21 in the memory monitoring circuit 2 is input to the processor 3 via the common bus 4. The processor 3 then reads the received data. That is, if the data read from the memory circuit 1 and the memory monitoring circuit 2 do not match,
The processor 3 uses the data read out from the memory monitoring circuit 2.

メモリ監視回路2のデータ一致監視手段23はデータの
不一致を検出したとき、障害データ記憶手段24に対し
て不一致を生したアドレスとデータを記憶させる指示信
号を送出する。該障害データ記憶手段24はデータバス
4cを通して送られてきたメモリ回路1のメモリ部11
の続出データとアドレスバス4dに送られてきているア
ドレス情報を記憶する。
When the data coincidence monitoring means 23 of the memory monitoring circuit 2 detects a data mismatch, it sends an instruction signal to the failure data storage means 24 to store the address and data that caused the mismatch. The fault data storage means 24 stores the memory portion 11 of the memory circuit 1 sent through the data bus 4c.
The subsequent data and the address information sent to the address bus 4d are stored.

以上の如く、メモリ回路1とメモリ監視回路2のデータ
が不一致の場合は、実績のあるメモリ部21より読み出
されたデータを用いて動作試験をそのまま継続するので
効率の良い試験を行なうことができ、またメモリ障害は
後刻前記障害データ記憶手段24を読み取ることによっ
てまとめて分析ができる。更に、動作試験を通じてメモ
リ障害が検出できるためメモリ機能のみの試験を最低限
に止めることが可能となり、試験の効率が大きく向上す
る。
As described above, if the data in the memory circuit 1 and the memory monitoring circuit 2 do not match, the operation test is continued using the data read out from the memory section 21, which has a proven track record, so that efficient testing can be performed. Furthermore, memory failures can be analyzed at a later time by reading the failure data storage means 24. Furthermore, since memory failures can be detected through operational tests, testing of only memory functions can be kept to a minimum, greatly improving testing efficiency.

〔実施例〕〔Example〕

第2図は本発明の一実施例の構成図、第3図は本発明の
実施例のタイムチャート、第4図は本発明の適用例の電
子装置構成図である。
FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a time chart of the embodiment of the present invention, and FIG. 4 is a block diagram of an electronic device according to an application example of the present invention.

5 図中、全図を通じて同一対象物には同一記号を用い、1
4はメモリ回路1のライト/リードコントローラ、26
はメモリ監視回路2のライト/リードコントローラ、2
7は制御信号線、31はマイクロ・プロセッサ、32は
メモリ・パッケージ、33は拡張用パッケージスペース
、34は保守用コンソール制御パッケージ、35は保守
用コンソール、36は通話路スイッチ、37は通話路ス
イッチ制御装置、38は共通バスである。なお、メモリ
回路1のバスドライバ/レシーバ12とライト/リード
コントローラ14及びメモリ監視回路2のハスドライバ
/レシーバ22とライト/リードコントローラ26はそ
れぞれ第1図のデータ送出制御手段12及び22の役割
を含むものである。また、第2図中の■〜0は第3図に
電位レベルを図示した点である。
5 The same symbols are used for the same objects throughout the figures, and 1
4 is a write/read controller for memory circuit 1, 26
is the write/read controller of memory monitoring circuit 2, 2
7 is a control signal line, 31 is a microprocessor, 32 is a memory package, 33 is an expansion package space, 34 is a maintenance console control package, 35 is a maintenance console, 36 is a communication path switch, and 37 is a communication path switch. The control device 38 is a common bus. Note that the bus driver/receiver 12 and write/read controller 14 of the memory circuit 1 and the bus driver/receiver 22 and write/read controller 26 of the memory monitoring circuit 2 play the roles of the data sending control means 12 and 22 in FIG. 1, respectively. It includes. 2 to 0 are points whose potential levels are illustrated in FIG. 3.

第4図は本発明が適用される電子装置の一例として小容
量PBX (構内交換機)の構成図を示したものである
。本発明を適用する場合にはメモリ・パッケージ32が
新規に開発された半導体メモリを搭載したメモリ回路1
(第1図、第2図)に該6 当する。また拡張用パッケージスペース33は将来メモ
リパッケージ等を実装するために予め設けられているも
のであるが、本発明を適用する場合、このスペースに第
1図、第2図のメモリ監視回路2を実装して動作試験を
行なう。
FIG. 4 shows a configuration diagram of a small capacity PBX (private branch exchange) as an example of an electronic device to which the present invention is applied. When the present invention is applied, the memory package 32 is a memory circuit 1 equipped with a newly developed semiconductor memory.
(Fig. 1, Fig. 2) corresponds to 6. Further, the expansion package space 33 is provided in advance for mounting a memory package etc. in the future, but when the present invention is applied, the memory monitoring circuit 2 shown in FIGS. 1 and 2 is mounted in this space. and perform an operation test.

先ず、第2図において電子装置の動作試験中にプロセッ
サ3がメモリ回路1のメモリ部11にデータを書き込む
場合を第3図(1)を併用して説明するが、第3図(1
)より明らかな如く、メモリ回路1とメモリ監視回路2
に対して全く同一の動作が行なわれるのでメモリ回路1
のメモリ部11に対する書き込み動作のみを説明する。
First, the case where the processor 3 writes data to the memory section 11 of the memory circuit 1 during the operation test of the electronic device in FIG. 2 will be explained using FIG. 3 (1).
) As is clearer, memory circuit 1 and memory monitoring circuit 2
Memory circuit 1
Only the write operation to the memory unit 11 will be explained.

プロセッサ3がメモリ回路1のメモリ部11にデータを
書き込む場合、アドレスバス4aに第3図(1)の■に
示す如くアドレス情報を送出する。次いでプロセッサ3
はコントロールハス4bに書き込みのための制御信号を
送出するが、該制御信号はライト/リードコントローラ
14においてデコードされてバスドライバ/レシーバ1
2及びメモリ部11に送出される。
When the processor 3 writes data to the memory section 11 of the memory circuit 1, it sends address information to the address bus 4a as shown in (1) in FIG. 3(1). Then processor 3
sends a control signal for writing to the control bus 4b, which is decoded by the write/read controller 14 and sent to the bus driver/receiver 1.
2 and the memory section 11.

書き込め制御信号のうち、先ずメモリ部11内の選択す
べきメモリチップ(図示省略)に対してLレベルのC3
l(チップセレクト)信号を送り、メモリチップを選択
する(第3図(1)−■)。次いでLレベルのC1(ゲ
ート)信号によりバスドライバ/レシーバ12のゲート
を開き、RDl、(リード)信号を及びRWI  (リ
ード/ライ1−選別)信号をLレベルとしてメモリ部1
1を書き込みを行なう状態とする (第3図(1)−■
■■)。
Among the write control signals, C3 at L level is first applied to a memory chip (not shown) to be selected in the memory unit 11.
1 (chip select) signal is sent to select a memory chip ((1)-■ in FIG. 3). Next, the gate of the bus driver/receiver 12 is opened by the C1 (gate) signal at the L level, and the RD1 (read) signal and the RWI (read/write 1-selection) signal are set at the L level and the memory unit 1 is opened.
1 to write state (Fig. 3 (1)-■
■■).

上記の状態で第3図(1)の■に示す如(データバス4
cにデータが送られ、WPI(ライトパルス)によって
メモリ部11に書き込まれる(第3図(1)−■)。な
お、以上と平行してメモリ監視回路2のメモリ部21の
全く同一アドレスに同一データが書き込まれる。
In the above state, as shown in (1) in Figure 3 (data bus 4
Data is sent to c and written into the memory section 11 by WPI (write pulse) ((1)-■ in FIG. 3). Note that, in parallel with the above, the same data is written to exactly the same address in the memory section 21 of the memory monitoring circuit 2.

次にプロセッサ3がメモリ回路1のメモリ部11より記
憶されているデータを読み出す場合でメモリ回路1とメ
モリ監視回路2の各メモリ部IL21よりの続出データ
が一致している場合の動作について第3図(2)を併用
して説明する。
Next, the third section describes the operation when the processor 3 reads data stored in the memory section 11 of the memory circuit 1 and successive data from each memory section IL21 of the memory circuit 1 and memory monitoring circuit 2 match. This will be explained with reference to FIG. (2).

プロセッサ3は共通ハス4を介してアドレスバス4a、
4dにアドレス情報を送出する(第3図(2)■■)。
The processor 3 connects to an address bus 4a via a common bus 4,
Address information is sent to 4d (Fig. 3 (2) ■■).

次にコントロールハス4b、4e及びライト/リードコ
ントローラ14.24 を介してメモリ部11及びメモ
リ部21内の選択すべきメモリチップ(図示省略)に対
してLレベルのC3I、CS2信号を送り、メモリチッ
プを選択する(第3図(2)■@)。次いでRDI、R
D2信号及びRWIRW2 (リード/ライト選別)信
号をI]レベルとして読み出し状態とし、メモリ部LL
21の読み出しを開始させる (第3図(2)−■■■
■)。
Next, L level C3I and CS2 signals are sent to the memory chips (not shown) to be selected in the memory section 11 and the memory section 21 via the control lot 4b, 4e and the write/read controller 14.24. Select the chip (Fig. 3 (2) ■@). Then RDI, R
The D2 signal and the RWIRW2 (read/write selection) signal are set to the I] level to set the read state, and the memory section LL
21 (Figure 3 (2) - ■■■
■).

上記の状態で第3図(2)の■■に示す如くメモリ部I
L21よりデータの読み出しが開始されるが、メモリ部
11より読み出されたデータはLレベルのG1信号によ
りハスドライバ/レシーバ12のゲートを開き、内部デ
ータバス13.バスドライバ/レシーバ12.データバ
ス4c、共通バス4を通ってプロセッサ3に送られるが
、同時に共通ハス4よりデータバス4fを経てメモリ監
視回路2内のデータ一致監視回路23に入力される。ま
た、メモリ9 監視回路2のメモリ部21より読み出されたデータも内
部データバス25を通って該データ一致監視回路23に
入力され、前記メモリ部11の続出データと比較される
。なお、この状態においては第3図(2)の[相]に示
す如くライト/リードコンI・ローラ26よりG2線に
Hレベルが送出されており、バスドライバ/レシーバ2
2のゲートが閉じられているためメモリ部21より読み
出されたデータはデータバス4fに送出されない(第3
図(2) −@)。
In the above state, as shown in Figure 3 (2), the memory section I
Reading of data is started from L21, and the data read from the memory section 11 opens the gate of the hash driver/receiver 12 by the L level G1 signal, and is transferred to the internal data bus 13. Bus driver/receiver 12. The data is sent to the processor 3 through the data bus 4c and the common bus 4, but at the same time, it is input from the common bus 4 to the data coincidence monitoring circuit 23 in the memory monitoring circuit 2 via the data bus 4f. Further, the data read from the memory section 21 of the memory 9 monitoring circuit 2 is also input to the data coincidence monitoring circuit 23 through the internal data bus 25, and is compared with the successive data of the memory section 11. In this state, as shown in [phase] in FIG. 3 (2), the write/read controller I/roller 26 sends an H level to the G2 line, and the bus driver/receiver 2
Since the second gate is closed, the data read from the memory section 21 is not sent to the data bus 4f (the third gate is closed).
Figure (2) -@).

データ一致監視回路23におけるメモリ部11及びメモ
リ部21の続出データの比較は、内部ストローブ[相]
の人力時に行なわれ、両データが一致していればそのま
ま進行し、時刻T、においてデータバス4cに送出され
ているデータがプロセッサ3によって読み取られる。
The data matching monitoring circuit 23 compares successive data in the memory section 11 and the memory section 21 using an internal strobe [phase].
If both data match, the process continues as is, and at time T, the data sent to the data bus 4c is read by the processor 3.

第3図(3)は上記においてメモリ部11及びメモリ部
21の読出データが不一致であった場合のタイムヂャー
トであり、以下にこれを説明する。
FIG. 3(3) is a time chart when the read data of the memory section 11 and the memory section 21 do not match in the above, and this will be explained below.

データー政監視回路23に内部ストローブ■が入力され
たときにデータが不一致であることが判明0 すると、データ一致監視回路23よりライト/リードコ
ントローラ26に対して不一致検出時の制御を行なわせ
る制御情報を出力する。該制御信号を受信したライト/
リードコントローラ26はWF2線を介して障害データ
記憶回路24にパルスを出力しく第3図(3)=[相]
)、該障害データ記憶回路24はアドレスバス4dに送
られてきているアドレス情報とデータバス4fに送られ
てきているメモリ回路1の続出データを記憶するととも
に、該アドレス情報とデータを含むエラー情報を出力す
る(第3図(3) −@ )。
When it is determined that the data do not match when the internal strobe ■ is input to the data policy monitoring circuit 23, the data match monitoring circuit 23 sends control information to the write/read controller 26 to perform control when a mismatch is detected. Output. The light that received the control signal/
The read controller 26 outputs a pulse to the fault data storage circuit 24 via the WF2 line.
), the fault data storage circuit 24 stores the address information sent to the address bus 4d and the successive data of the memory circuit 1 sent to the data bus 4f, and also stores error information including the address information and data. (Figure 3 (3) -@).

また、エラー情報の記憶を終わった時点にライト/リー
ドコントローラ26はメモリ回路1のライト/リードコ
ントローラ14に対してエラー情報線27を介して制御
情報を送り、該ライ1−/リードコントローラ14より
バスドライバ/レシーバ12に対してI、レベルを送出
していた01線をHレベルに変えさせる。これによって
バスドライバ/レシーバ12はゲートが閉じられ、メモ
リ部11よりの読出データはデータバス4cに送出され
なくなる (第3図(2)−■■)。
Furthermore, at the time when the storage of the error information is finished, the write/read controller 26 sends control information to the write/read controller 14 of the memory circuit 1 via the error information line 27, and from the write/read controller 14 The 01 line, which was sending I level to the bus driver/receiver 12, is changed to H level. As a result, the gate of the bus driver/receiver 12 is closed, and the read data from the memory section 11 is no longer sent to the data bus 4c ((2)-■■ in FIG. 3).

また、メモリ監視回路2のライト/リードコン10−ラ
26はハスドライバ/レシーバ22に対するG2線の電
位をHレベルからLレベルに変え、該パスドライバ/1
/シーバ22のゲートを開かせるため、メモリ部21よ
りの読出デ・−夕がデータバス4fを経てプロセンザ3
に送られ(第3図(2)−@)■)、試験はそのまま継
続される。
Further, the write/read controller 10-26 of the memory monitoring circuit 2 changes the potential of the G2 line for the path driver/receiver 22 from the H level to the L level.
/In order to open the gate of the receiver 22, the data read from the memory section 21 is sent to the processor 3 via the data bus 4f.
(Fig. 3 (2)-@)■), and the test continues.

以」二の如く、本発明においては、不一致が検出された
場合は、評価が充分でないメモリ部11の方に原因があ
ると判断し、充分な使用実績のあるメモリ部21のデー
タを使用して動作試験を継続させる。このため、動作試
験はメモリ障害発生の都度中断されることがな(、試験
の効率が向上する。
As described above, in the present invention, when a mismatch is detected, it is determined that the cause is in the memory section 11 whose evaluation is insufficient, and data from the memory section 21 that has a sufficient track record of use is used. Continue the operation test. Therefore, the operation test is not interrupted every time a memory failure occurs (the efficiency of the test is improved).

また障害内容は障害データ記憶回路24に配縁されてい
るため、後刻該障害データ記憶回路24より読み出し、
まとめて分析することができるため、障害分キバも効率
良〈実施することができる。
Furthermore, since the fault details are stored in the fault data storage circuit 24, they can be read out from the fault data storage circuit 24 later.
Since it can be analyzed all at once, troubleshooting can be done efficiently.

なお、第3財においては説明の便から、信号レベルを必
要時点で変化させているが、一部の信号、例えばC1,
02線等については平常I]レベルとし、ゲー)〜を開
くときのみLレベルとしてもよく、読の出しサイクルの
RDIは前のサイクルも読み出しサイクルであればHレ
ベルが継続した状態となる、など第3図と部分的に異な
る場合がある。
In addition, for the third product, for convenience of explanation, the signal level is changed at the necessary time, but some signals, for example C1,
The 02 line etc. may be set to the normal I] level, and set to the L level only when the game) is opened, and the RDI in the readout cycle will remain at the H level if the previous cycle is also a readout cycle, etc. There may be some differences from Fig. 3.

これらは本発明の実施上の問題とはならない。These do not pose problems in implementing the present invention.

以」二、第2図及び第3図により本発明の詳細な説明し
たが、第2図及び第3図はあくまで本発明の一実施例に
過ぎず、構成及び動作がこれらと異なる例も多く想定さ
れる。例えばチップセレクト情報をアドレスバスを介し
て送出する方法を用いたり、データ一致監視回路23よ
り不一致時の制御信号の伝達ルー(・を変更しても本発
明が適用可能であることば明らかであり、本発明はこれ
らの変形を排除するものではない。
Hereinafter, the present invention has been explained in detail with reference to FIGS. 2 and 3. However, FIGS. 2 and 3 are merely examples of the present invention, and there are many examples in which the configuration and operation are different from these. is assumed. For example, it is clear that the present invention is applicable even if a method of transmitting chip select information via an address bus is used, or by changing the transmission route of the control signal from the data coincidence monitoring circuit 23 when there is a mismatch. The present invention does not exclude these variations.

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

以上説明したよ1うに、本発明によれば、電子装置に性
能評価が充分でない新規開発のメモリを採用した場合な
どにおいて、該電子装置の動作試験3 4 の中でメモリ障害を検出することが可能となるため、メ
モリ機能のみの試験を最低限に止めることができ、かつ
メモリ障害発生の都度試験を中断する必要がなくなるた
め、かかる電子装置の試験効率の向上に資するところが
大きい。
As explained above, according to the present invention, when a newly developed memory for which performance evaluation has not been sufficiently evaluated is employed in an electronic device, memory failure can be detected during the operation test 3 4 of the electronic device. As a result, testing of only memory functions can be kept to a minimum, and there is no need to interrupt testing every time a memory failure occurs, which greatly contributes to improving the testing efficiency of such electronic devices.

12、 22 1.3.25 3 4 である。12, 22 1.3.25 3 4 It is.

データ送出制御手段 内部データバス データ一致監視手段 障害データ記憶手段Data transmission control means internal data bus Data matching monitoring means Fault data storage means

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

第1図は本発明の原理説明図、第2図は本発明の実施例
構成図、第3図は本発明の実施例タイムチャート、第4
図は本発明の適用例電子装置構成図、第5図は従来技術
の構成図である。 図中、 4a、46 b  4e 4c、4f 11  21 メモリ回路 メモリ監視回路 プロセッサ 共通ハス アドレスハス コントロールパス データバス メモリ部
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a configuration diagram of an embodiment of the invention, Fig. 3 is a time chart of an embodiment of the invention, and Fig. 4 is a diagram illustrating the principle of the present invention.
The figure is a block diagram of an electronic device to which the present invention is applied, and FIG. 5 is a block diagram of a conventional technique. In the figure, 4a, 46 b 4e 4c, 4f 11 21 Memory circuit Memory monitoring circuit Processor common lot address lot control path data bus memory section

Claims (1)

【特許請求の範囲】 共通バス(4)を介してプロセッサ(3)に接続される
第1のメモリ部(11)と、 第2のメモリ部(21)を備え、 前記プロセッサの読出しサイクル中に前記第1のメモリ
部と前記第2のメモリ部よりそれぞれ読出されたデータ
を照合するデータ一致監視手段(23)を備え、 前記プロセッサの書込みサイクルでは、前記第1のメモ
リ部と前記第2のメモリ部に同時に同一データを書込み
、 前記プロセッサの読出しサイクルにおいて、前記データ
一致監視手段により不一致が検出されたとき、前記共通
バスへは、前記第2のメモリ部からの読出しデータのみ
を出力し、該不一致のデータとアドレスとを一時記憶回
路(24)に蓄積することを特徴とするメモリ障害検出
方式。
Claims: comprising a first memory section (11) and a second memory section (21) connected to a processor (3) via a common bus (4), during a read cycle of said processor. data matching monitoring means (23) for collating data respectively read from the first memory section and the second memory section; writing the same data to the memory sections at the same time, and outputting only the read data from the second memory section to the common bus when a mismatch is detected by the data coincidence monitoring means in a read cycle of the processor; A memory fault detection method characterized in that the mismatched data and address are stored in a temporary storage circuit (24).
JP2069162A 1990-03-19 1990-03-19 Memory fault detection system Pending JPH03268149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2069162A JPH03268149A (en) 1990-03-19 1990-03-19 Memory fault detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2069162A JPH03268149A (en) 1990-03-19 1990-03-19 Memory fault detection system

Publications (1)

Publication Number Publication Date
JPH03268149A true JPH03268149A (en) 1991-11-28

Family

ID=13394733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2069162A Pending JPH03268149A (en) 1990-03-19 1990-03-19 Memory fault detection system

Country Status (1)

Country Link
JP (1) JPH03268149A (en)

Similar Documents

Publication Publication Date Title
JPH08263395A (en) Bus state analyzer and its internal bus trial method
JP2001167005A (en) Method and circuit for diagnosing memory and semiconductor memory device
JPH03268149A (en) Memory fault detection system
JPH079636B2 (en) Bus diagnostic device
JP4748871B2 (en) One-chip microcontroller system
JPH1040130A (en) Microcomputer
JP2001216207A (en) Dma diagnostic device, and dma diagnostic method used for the same
JP2637653B2 (en) Redundant controller
JP3012402B2 (en) Information processing system
JP2904266B2 (en) Memory connection controller that can cope with bus degradation
JPH10283388A (en) Logic verifying device
JP3177990B2 (en) Diagnostic device for redundant memory
JP2002215471A (en) Memory port, storage device and information processing system
JPH09160836A (en) Memory parity error monitoring device
JPS634500A (en) Ram device with test circuit
JPH10187355A (en) Disk control system
JPH0628329A (en) Input data check system for computer system
JPH0488450A (en) Memory access controller
JP2000020340A (en) Microcomputer and its testing method
JPH0612277A (en) Method for inspecting information processing system
JPS62235664A (en) Storage device
JPS59120965A (en) Diagnostic system of memory testing device
JPH0215353A (en) Abnormality setting system at specific address
JP2001257740A (en) Subordinate unit opposite test system
JP2003173268A (en) Logical verification method of system lsi