JPH03214339A - Memory check circuit - Google Patents
Memory check circuitInfo
- Publication number
- JPH03214339A JPH03214339A JP2011126A JP1112690A JPH03214339A JP H03214339 A JPH03214339 A JP H03214339A JP 2011126 A JP2011126 A JP 2011126A JP 1112690 A JP1112690 A JP 1112690A JP H03214339 A JPH03214339 A JP H03214339A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- counter
- value
- count value
- circuit
- 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.)
- Ceased
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
メモリのチェノク回路に関し、
高速なメモリチェックの実現を目的とし、カウント指示
を受け、各カウント動作毎にカウント値を出力するカウ
ンタと、メモリの異なる格納位置に順次前記カウンタの
カウント動作毎に出力されるカウント値と同じ値を書き
込むための書込手段と、前記メモリから前記カウンタの
カウント動作毎のカウント値と同じ値が格納された格納
位置の値を読み出すための読出手段と、前記読出手段に
より読み出された情報を格納するレジスタ手段と、前記
レジスタ手段の出力と前記カウンタの出力とを比較する
比較手段と、を備えて構成される。[Detailed Description of the Invention] [Summary] Regarding the memory check circuit, for the purpose of realizing high-speed memory checking, the present invention consists of a counter that receives counting instructions and outputs a count value for each counting operation, and a counter that outputs a count value for each counting operation, and a counter that outputs a count value for each counting operation, and a writing means for sequentially writing the same value as the count value outputted each time the counter operates; and a writing means for reading from the memory a value at a storage location in which the same value as the count value outputted each time the counter operates. , register means for storing information read by the read means, and comparison means for comparing the output of the register means and the output of the counter.
本発明は、メモリのチェノク回路に関する。 The present invention relates to a Chenok circuit for a memory.
コンピュータ等において、メモリ素子のチェノクは、重
要である。In computers and the like, memory elements are important.
特に、近年、メモリ容量が増えてきており、高速なメモ
リチェックを行なうことが可能なメモリチェック回路が
必要とされる。In particular, as memory capacity has increased in recent years, there is a need for a memory check circuit that can perform high-speed memory checks.
従来、メモリ素子のチェノクは、CPUがメモリ素子か
ら格納されている情報を読出し、マイクロプログラムに
よりコンベアチェソクを行なうようにしていた。Conventionally, memory device checking has been performed in such a way that a CPU reads stored information from the memory device and performs conveyor checking using a microprogram.
しかしながら、従来は、マイクロプログラムによるコン
ペアチェンクであるため、チェノクのために時間を要す
る他、CPUを長時間の間専有してしまうという問題が
あった。However, conventionally, since the compare change is performed by a microprogram, there is a problem in that it takes time to check and also monopolizes the CPU for a long time.
本発明の目的は、前述した従来の間pcこ鑑み、高速な
メモリチェックを行なうことのできるメモリチェック回
路を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a memory check circuit capable of performing a high-speed memory check in view of the above-mentioned conventional PC.
そして、この目的は、カウント指示を受け、各カウント
動作毎にカウント値を出力するカウンクと、メモリの異
なる格納位置に順次前記カウンタのカウント動作毎に出
力されるカウント値と同じ値を書き込むための書込手段
と、前記メモリから前記カウンタのカウント動作毎のカ
ウント値と同じ値が格納された格納位lの値を読み出す
ための読出手段と、前記読出手段により読み出された情
報を格納するレジスタ手段と、前記レノスタ手段の出力
と前記カウンタの出力とを比較する比較手段と、を備え
て成るメモリチェック回路により達成される。The purpose of this is to create a counter that receives a counting instruction and outputs a count value for each counting operation, and a counter that sequentially writes the same value as the count value that is output for each counting operation of the counter to different storage locations in the memory. a writing means, a reading means for reading from the memory a value in a storage location l in which the same value as the count value for each counting operation of the counter is stored, and a register for storing information read by the reading means. This is achieved by a memory check circuit comprising means for comparing the output of the renostar means and the output of the counter.
〔作用]
すなわち、本発明によれば、メモリにカウンタのカウン
ト値と同じ値が格納されており、カウンタのカウント出
力に同期してこのメモリからカウンタのカウント値と同
じ値が{品柄されている格納位置の値を読出し、この値
とカウンタのカウント値の比較チェノクを行なうので、
高速で且つ簡単にメモリのチェノクを行なうことが可能
となり、また、CPLI等に負荷を掛けることもない。[Operation] That is, according to the present invention, the same value as the count value of the counter is stored in the memory, and the same value as the count value of the counter is retrieved from the memory in synchronization with the count output of the counter. The value at the storage location is read out, and this value is compared with the count value of the counter.
It becomes possible to check the memory easily and at high speed, and there is no need to place a load on the CPLI or the like.
以下本発明に係るメモリチェック回路の実施例を図面を
用いて説明する。Embodiments of the memory check circuit according to the present invention will be described below with reference to the drawings.
第1図は一実施例の説明図、第2図はメモリの格納内容
、第3図は動作タイムチャートをそれぞれ示す。FIG. 1 is an explanatory diagram of one embodiment, FIG. 2 is a diagram showing the contents stored in the memory, and FIG. 3 is an operation time chart.
図中、まず、CPU7 0は、書込回路50を動作させ
、メモリIOに第2図に示すように、アドレス「0」に
データ「00」の書込みを行ない、次いで、アドレス「
1」にデータ「01」の書込みを行ない、以下同様にし
て順次メモリIOの最終アドレス迄データの書込みを行
なう。In the figure, the CPU 70 first operates the write circuit 50 to write data "00" to the address "0" in the memory IO as shown in FIG.
Data "01" is written to "1", and data is written in the same manner sequentially up to the final address of the memory IO.
また、CPU70は、レジスタ30に対してメモリ10
のアドレス「0,に書込んだ初期値と同じ値をセノトす
る。Further, the CPU 70 uses the memory 10 for the register 30.
Writes the same value as the initial value written to address ``0''.
この状態で、CPU70は読出回路60を動作させる。In this state, the CPU 70 operates the readout circuit 60.
読出回路60はCPU7 0からの講出し1旨示に従っ
て、メモリIOのアドレス「0」から格納データの読出
しを行なわせる。The readout circuit 60 causes the stored data to be read from the address "0" of the memory IO in accordance with the instruction 1 instruction from the CPU 70.
そして、読出回路60は、メモリ10から読出されたデ
ータをレジスタ20に格納させる。The read circuit 60 then stores the data read from the memory 10 in the register 20.
これと同時に、読出回路60はカウンタ80に対してイ
ネープル信号を与える。At the same time, readout circuit 60 provides an enable signal to counter 80.
また、この時、読出回路60は、比較器40に対しても
同様にイネーブル信号を与える。Furthermore, at this time, the readout circuit 60 similarly applies an enable signal to the comparator 40.
ここで、カウンタ80には、読出回路60によるメモリ
10へのアクセス動作に同期したクロノクが入力されて
いる。Here, a clock synchronized with the access operation to the memory 10 by the read circuit 60 is input to the counter 80 .
これにより、カウンタ80は最初のクロ,クが入力され
た時にレジスタ30の初期値「0」がセントされ、それ
以降クロノクが入力される毎にカウント値を歩進させ、
順次カウントIaL2・・・・・を出力する。As a result, the counter 80 receives the initial value "0" of the register 30 when the first clock is input, and increments the count value every time a clock is input thereafter.
Sequentially outputs the count IaL2...
読出回路60により読出され、レジスタ20に格納され
た値は、比較器40の一方の人力に与えられており、ま
た、カウンタ80のカウント値も比較器40の他方の人
力に与えられているので、両データの比較が行なわれ、
両者の出力が不一致の場合には、エラー信号が出力され
る。The value read out by the readout circuit 60 and stored in the register 20 is given to one hand of the comparator 40, and the count value of the counter 80 is also given to the other hand of the comparator 40. , a comparison of both data is made,
If the two outputs do not match, an error signal is output.
このエラー信号は、CPU7 0に対して割り込み信号
として与えられる。This error signal is given to the CPU 70 as an interrupt signal.
CPU7 0はこのエラー信号を受け取ると、そそのエ
ラー信号が出力されたときに読出回路60がメモリ10
のどのアドレスを指定していたかを読出回路60内に設
けられた図示しないアドレスカウンタの内容を{II認
すること、あるいはカウンタ80のカウント値を確認す
ることで、異常のあったメモリアドレスを知る。When the CPU 70 receives this error signal, the readout circuit 60 reads the memory 10 when that error signal is output.
By checking the contents of an address counter (not shown) provided in the reading circuit 60 or by checking the count value of the counter 80, the memory address where the abnormality occurred can be known. .
以下同様にして、読出回路60は、その内部に設けられ
た図示しないアドレスカウンタを順次更新してメモリ1
0の読出しアドレスを更新しメモリ10からデータの読
出しを行なわせる。Thereafter, in the same manner, the readout circuit 60 sequentially updates an address counter (not shown) provided therein to read out the memory 1.
The read address of 0 is updated and data is read from the memory 10.
そして、読出回路60は、アドレスカウンタの値がメモ
リ10の最終アドレスに一敗したことをアドレスカウン
タからのキャリー信号あるいはアドレスカウンクの出力
とを比較チエ,クすることにより検出すると、CPU7
0に対してメモリチ二ノク動作の終了通知を行なう。When the readout circuit 60 detects that the value of the address counter has fallen to the final address of the memory 10 by comparing it with the carry signal from the address counter or the output of the address count, the CPU 7
0 is notified of the end of the memory check operation.
以上説明したように、本実施例によれば、カウンタのカ
ウント値と同じ値が、カウント値のカウント順番と同じ
順番でメモリ10のアドレス順に格納されるので、読出
回路60は、単純にメモリ10のアドレスを更新しつつ
メモリ1oがらのデータの読出しを行なわせ、且っカウ
ンタ8oのカウント動作を行なわせるのみで良く、CP
Uに何らの負荷を与えることなく、メモリのチェノクを
行なうことが可能となる。As explained above, according to this embodiment, the same value as the count value of the counter is stored in the address order of the memory 10 in the same order as the count order of the count value, so the readout circuit 60 simply stores the value in the memory 10. It is only necessary to read data from the memory 1o while updating the address of the CP, and to cause the counter 8o to perform a counting operation.
Memory checking can be performed without placing any load on U.
尚、前述した実施例では、隣接するアドレスに順次歩進
したデータを格納するようにしたが、これに限定される
ものでなく、メモリからのデータの読出しの際に、カウ
ンタの出力するカウントイ直と同じ値が読出せるように
構成されていれば、必ずしも隣接するアドレス二二値を
格納しなくてもよい。In the above-described embodiment, data incremented sequentially is stored in adjacent addresses, but the invention is not limited to this, and when reading data from memory, the count value output by the counter is If the configuration is such that the same value can be read directly, it is not necessary to store two adjacent address values.
以上説明したように、本発明によれば、メモリから読出
したデータを順次レジスタにセノトするのみで、箇単に
エラーチェックを行なうことができるので、高速なメモ
リチェックを行なうことが可能となる。As described above, according to the present invention, it is possible to perform an error check individually by simply writing the data read from the memory into the register sequentially, thereby making it possible to perform a high-speed memory check.
第1図は一実施例の説明回、
第2図はメモリの格納内容を示す図、
第3図は動作タイムチャートである。
図中、10はメモリ、20.30はレジスタ、40は比
較器、50は書込回路、60は読出回路、70はCPL
J、80はカウンタである。FIG. 1 is an explanation of one embodiment, FIG. 2 is a diagram showing the contents stored in the memory, and FIG. 3 is an operation time chart. In the figure, 10 is a memory, 20.30 is a register, 40 is a comparator, 50 is a write circuit, 60 is a read circuit, and 70 is a CPL.
J, 80 is a counter.
Claims (1)
出力するカウンタと、 メモリの異なる格納位置に順次前記カウンタのカウント
動作毎に出力されるカウント値と同じ値を書き込むため
の書込手段と、 前記メモリから前記カウンタのカウント動作毎のカウン
ト値と同じ値が格納された格納位置の値を読み出すため
の読出手段と、 前記読出手段により読み出された情報を格納するレジス
タ手段と、 前記レジスタ手段の出力と前記カウンタの出力とを比較
する比較手段と、 を備えてなるメモリチェック回路。[Scope of Claims] A counter that receives a counting instruction and outputs a count value for each counting operation; writing means; reading means for reading out from the memory a value at a storage location where the same value as the count value for each counting operation of the counter is stored; and register means for storing information read by the reading means. A memory check circuit comprising:; and comparison means for comparing the output of the register means and the output of the counter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011126A JPH03214339A (en) | 1990-01-19 | 1990-01-19 | Memory check circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011126A JPH03214339A (en) | 1990-01-19 | 1990-01-19 | Memory check circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03214339A true JPH03214339A (en) | 1991-09-19 |
Family
ID=11769325
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011126A Ceased JPH03214339A (en) | 1990-01-19 | 1990-01-19 | Memory check circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03214339A (en) |
-
1990
- 1990-01-19 JP JP2011126A patent/JPH03214339A/en not_active Ceased
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4375678A (en) | Redundant memory arrangement providing simultaneous access | |
| JPS6141028B2 (en) | ||
| US20030084232A1 (en) | Device and method capable of changing codes of micro-controller | |
| JPH03214338A (en) | Memory check circuit | |
| JP2716254B2 (en) | List vector processing device | |
| JP2759824B2 (en) | Address error detection method for data storage device | |
| US20020190753A1 (en) | Programmable burst fifo | |
| JPH0520350A (en) | Vector processing device | |
| JPS6153579A (en) | Tester for function of logical circuit | |
| JP2798492B2 (en) | List vector processing device | |
| JP2716563B2 (en) | Data write control method | |
| GB2249644A (en) | First-in first-out memory | |
| JPS58182774A (en) | Control device | |
| KR100380601B1 (en) | Address management system and method of FFC for IPC | |
| JPS60218146A (en) | Storage device address control system | |
| JPH0217549A (en) | Data processor | |
| JPH0266668A (en) | Data tracing method for multi-processor bus | |
| JPH02245847A (en) | Memory test system | |
| JPS62108333A (en) | Semiconductor device | |
| JPH02151940A (en) | Trace memory system | |
| JPS5849960B2 (en) | Information check method | |
| JPH04365142A (en) | Development backup system | |
| JPS5852248B2 (en) | Read data length extraction method | |
| JPH0430394A (en) | Information processor with built-in prom | |
| JPS63158637A (en) | Memory tracing system |