JP2003150460A - Memory initial activation control circuit - Google Patents

Memory initial activation control circuit

Info

Publication number
JP2003150460A
JP2003150460A JP2001351875A JP2001351875A JP2003150460A JP 2003150460 A JP2003150460 A JP 2003150460A JP 2001351875 A JP2001351875 A JP 2001351875A JP 2001351875 A JP2001351875 A JP 2001351875A JP 2003150460 A JP2003150460 A JP 2003150460A
Authority
JP
Japan
Prior art keywords
circuit
memory
parity
data
memory 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.)
Withdrawn
Application number
JP2001351875A
Other languages
Japanese (ja)
Inventor
Keiko Omura
恵子 大村
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2001351875A priority Critical patent/JP2003150460A/en
Publication of JP2003150460A publication Critical patent/JP2003150460A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Dram (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a memory writing initial activation control circuit capable of properly detecting an anomaly of any state of a memory circuit 1. SOLUTION: When a power source is turned on, all pieces of data read from the memory circuit 1 are written again into the memory circuit 1 from a memory input switching circuit 7. At the same time, a parity sending circuit 5 generates parity bits of the pieces of data to be written in the memory circuit 1, a parity reversal control circuit 9 controlled by control of an initial control circuit 4 reverses the parity bits, and the reversed parity bits are written in a parity region of the memory circuit 1. All pieces of data are read from the memory circuit 1, an alarm generating state is provided, all the pieces of the data are written again into the memory circuit 1, normal parity bits are written into the memory circuit 1, and the alarm generating state is terminated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリ回路を有す
る通信機器や制御回路機器に使用され、特にその回路の
正常性を監視する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique used in a communication device or a control circuit device having a memory circuit, and particularly to a technique for monitoring the normality of the circuit.

【0002】[0002]

【従来の技術】従来、メモリの中にはデータの信頼性確
保のためパリティビットを冗長させたものがあり、入力
されるデータnビットに対して1ビットのパリティビッ
トを付加して構成される。このようなメモリの電源投入
時の初期化制御を行うメモリ書き込み初期立ち上げ制御
回路では、メモリ回路に電源が投入されると、メモリ内
の全データ領域を「0」または「1」に書き換えられ、
アドレスライン毎にパリティチェックでエラーが発生し
ないようなパリティデータが生成され、このパリティデ
ータがパリティ領域に書き込まれる。
2. Description of the Related Art Conventionally, in some memories, a parity bit is made redundant in order to ensure data reliability, and it is configured by adding one parity bit to n bits of input data. . In such a memory write initial startup control circuit that performs initialization control when the memory is powered on, when the memory circuit is powered on, the entire data area in the memory is rewritten to "0" or "1". ,
Parity data is generated for each address line so that an error does not occur in the parity check, and this parity data is written in the parity area.

【0003】この従来のメモリ書き込み初期立ち上げ制
御回路を図3に示す。従来の回路構成では、メモリ回路
1、または本回路が中心で構成された回路部に電源が投
入されると、メモリ回路1内にある全アドレスの不確定
データが初期化回路8により全て書き換えられる。
FIG. 3 shows this conventional memory write initial startup control circuit. In the conventional circuit configuration, when power is turned on to the memory circuit 1 or the circuit section mainly including this circuit, the uncertain data at all addresses in the memory circuit 1 are all rewritten by the initialization circuit 8. .

【0004】書き換え処理動作は、電源が正常に各回路
に投入された瞬間から、初期化回路8が書き込み回路2
と選択回路7に一定時間制御信号を送出する。そして、
書き込み回路2はメモリ回路1の全アドレスに対して書
き込み信号を送出し、また選択回路7は固定データであ
る“0”を選択し、メモリ回路1に固定化された入力デ
ータ「0」を送出する。
In the rewriting operation, the initialization circuit 8 starts the writing circuit 2 from the moment the power is normally applied to each circuit.
And a control signal is sent to the selection circuit 7 for a certain period of time. And
The write circuit 2 sends a write signal to all addresses of the memory circuit 1, and the selection circuit 7 selects fixed data “0” and sends fixed input data “0” to the memory circuit 1. To do.

【0005】この時パリテイ送出回路5では、固定化さ
れた入力データ「0」に対しパリティを演算し、その結
果をパリティビットとしてメモリ回路1のパリティ領域
に書き込む。
At this time, the parity transmission circuit 5 calculates the parity for the fixed input data "0" and writes the result as a parity bit in the parity area of the memory circuit 1.

【0006】この結果、従来のメモリ書き込み初期立ち
上げ制御回路では、一定時間の初期立ち上げ処理時間
後、メモリ内の全てのデータが固定化された“0”とな
り、また全てのデータに対するパリティは正常であるた
め、アラームは発生しない。
As a result, in the conventional memory write initial startup control circuit, after a fixed time of initial startup processing time, all the data in the memory become fixed "0", and the parity for all the data is No alarm occurs because it is normal.

【0007】この処理が完了すると、メモリ回路1は外
部から書き込み情報と書き込みデータを受信して通常の
書き込み側の処理動作を行う。また、メモリ回路1は外
部から読み出し情報を受信して通常の読み出し側の処理
動作を行う。
When this process is completed, the memory circuit 1 receives write information and write data from the outside and performs a normal write side processing operation. Further, the memory circuit 1 receives read information from the outside and performs a normal read side processing operation.

【0008】[0008]

【発明が解決しようとする課題】しかし、従来のメモリ
書き込み初期立ち上げ制御回路は、初期立ち上げ処理動
作として固定化された入力データを書き込み、この書き
込んだ入力データを基にパリティビットを生成していた
ため、あるアドレス領域が固定化された入力データと同
じ値を示す異常が生じていた場合(例えばメモリ回路1
を固定化された入力データ「0」に書き換える場合であ
って、異常個所が「0」になる場合が考えられる。)、
初期立ち上げ処理動作を行った段階では見た目上正常で
あるためパリティビットによっても異常が検出されず、
実運用形態に移った後に、データの読み書きが開始され
て初めてパリティエラーが検出されることになる。
However, the conventional memory write initial startup control circuit writes the fixed input data as the initial startup processing operation, and generates the parity bit based on the written input data. Therefore, if there is an abnormality in which a certain address area shows the same value as the fixed input data (for example, the memory circuit 1
Is rewritten to the fixed input data “0”, and the abnormal portion may become “0”. ),
At the stage when the initial startup processing operation is performed, it is apparently normal, so no abnormality is detected by the parity bit.
A parity error will not be detected until the reading and writing of data is started after shifting to the actual operation mode.

【0009】つまり、メモリ回路1の異常によっては、
初期立ち上げ動作時に異常であるにもかかわらず当該異
常を検出できないと言う問題があった。またデータ異常
が判明しても警報の発出が無いため、異常箇所の特定が
出来ない問題があった。
That is, depending on the abnormality of the memory circuit 1,
There was a problem that the abnormality could not be detected despite the abnormality during the initial startup operation. In addition, there was a problem that the location of the abnormality could not be specified because no alarm was issued even if the data abnormality was found.

【0010】そこで本発明はかかる問題に鑑み、メモリ
回路1のいかなる状態の異常であっても正しく異常を検
出できるメモリ書き込み初期立ち上げ制御回路を提供す
ることを目的とする。
In view of the above problems, an object of the present invention is to provide a memory write initial start-up control circuit capable of correctly detecting an abnormality in any state of the memory circuit 1.

【0011】[0011]

【課題を解決するための手段】[Means for Solving the Problems]

【発明の実施の形態】次に本発明の実施の形態について
図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings.

【0012】図2は本発明のメモリ書き込み初期立ち上
げ制御回路の構成を示しており、データ及びパリティビ
ットを記憶させるメモリ回路1と、当該メモリ回路1に
入力データを書き込む制御を行う書き込み回路2と、当
該メモリ回路1からデータを読み出す制御を行う読み出
し回路3と、メモリ回路1の初期立ち上げ制御を行う初
期制御回路4と、入力データのパリティビットを生成し
てメモリ回路1のパリティ領域に書き込むパリティ送出
回路5と、読み出しデータのパリティチェックを行い異
常が検出された場合に警報を出力する警報検出回路6
と、外部からの入力データとメモリ1からの出力データ
とを切り替えてメモリ1に出力するメモリ入力切り替え
回路7と、パリティ送出回路5で生成したパリティビッ
トを反転させてメモリ回路1のパリティ領域に書き込ま
せるパリティ反転制御回路9とから構成される。
FIG. 2 shows the configuration of the memory write initial startup control circuit of the present invention. The memory circuit 1 stores data and parity bits, and the write circuit 2 that controls input data writing to the memory circuit 1. A read circuit 3 for controlling reading of data from the memory circuit 1; an initial control circuit 4 for controlling initial startup of the memory circuit 1; and a parity bit of the input data to generate a parity area in the memory circuit 1. A parity transmission circuit 5 for writing and an alarm detection circuit 6 for outputting a warning when an abnormality is detected by performing a parity check on read data.
, A memory input switching circuit 7 that switches between externally input data and output data from the memory 1 and outputs the data to the memory 1, and a parity bit generated by the parity sending circuit 5 is inverted to a parity area of the memory circuit 1. And a parity inversion control circuit 9 for writing.

【0013】次に本発明の動作について説明する。Next, the operation of the present invention will be described.

【0014】電源を投入すると、まず初期制御回路4が
読み出し回路3を制御してメモリ回路1から全ての読み
出しアドレスに対するデータを読み出すと共に、メモリ
入力切り替え回路7をメモリ回路1からの出力データを
選択するように制御する。
When the power is turned on, first, the initial control circuit 4 controls the read circuit 3 to read the data for all read addresses from the memory circuit 1, and the memory input switching circuit 7 selects the output data from the memory circuit 1. Control to do.

【0015】メモリ回路1から読み出されたデータはメ
モリ入力切り替え回路7を通してメモリ回路1の入力側
に送られ、初期制御回路4で制御された書き込み回路2
によってメモリ回路1に書き込まれる。その時、パリテ
ィ送出回路5はメモリ回路1に書き込むデータのパリテ
ィビットを生成すると、初期制御回路4の制御により制
御されるパリティ反転制御回路9がこのパリティビット
を反転させ、反転したパリティビットをメモリ回路1の
パリティ領域に書き込む。
The data read from the memory circuit 1 is sent to the input side of the memory circuit 1 through the memory input switching circuit 7 and controlled by the initial control circuit 4 to write circuit 2.
Is written in the memory circuit 1. At that time, when the parity sending circuit 5 generates a parity bit of the data to be written in the memory circuit 1, the parity inversion control circuit 9 controlled by the control of the initial control circuit 4 inverts the parity bit, and the inverted parity bit is stored in the memory circuit. Write to the parity area of 1.

【0016】つまりこの状態では、メモリ回路1からデ
ータを読み出すと、全ての読み出しアドレスでパリティ
エラーが発生して警報検出回路6から警報が出力される
ことになる。
That is, in this state, when data is read from the memory circuit 1, a parity error occurs at all read addresses and the alarm detection circuit 6 outputs an alarm.

【0017】そして、初期立ち上げされたメモリ回路1
から全てのアドレスのデータを読み出し、警報検出回路
6から警報が発生されることを確認する。この確認が終
了すると、メモリ回路1の全てのアドレスデータに新た
に入力データを書き込む。この新たな入力データは、メ
モリ入力切り替え回路7をメモリ回路1からのデータを
選択して同じデータを書き込んでも良く、メモリ入力切
り替え回路7を外部からの入力データを選択して全く新
たなデータを書き込んでも良い。
Then, the memory circuit 1 which is initially started up
The data of all the addresses are read from and the alarm detection circuit 6 confirms that an alarm is generated. When this confirmation is completed, new input data is written in all the address data of the memory circuit 1. As the new input data, the memory input switching circuit 7 may select the data from the memory circuit 1 and write the same data, or the memory input switching circuit 7 may select the input data from the outside to generate completely new data. You can write it.

【0018】新たな入力データをメモリ回路1に書き込
む際、パリティ送出回路5は入力データの正しいパリテ
ィビットを生成し、メモリ回路1のパリティエリアに書
き込む。
When writing new input data to the memory circuit 1, the parity sending circuit 5 generates a correct parity bit of the input data and writes it in the parity area of the memory circuit 1.

【0019】ここで、更にメモリ回路1から全てのアド
レスのデータを読み出し、警報検出回路6から警報が発
生されないことを確認する。
Here, the data of all addresses are read from the memory circuit 1 to confirm that the alarm detection circuit 6 does not generate an alarm.

【0020】以上の確認が正常に終了することで、メモ
リ回路1の初期立ち上げが正常に終了する。一方、確認
が異常であった場合は、メモリ回路1に異常があると判
断し、メモリ回路1の交換等の措置を講じる。
When the above confirmation is normally completed, the initial startup of the memory circuit 1 is normally completed. On the other hand, if the confirmation is abnormal, it is determined that the memory circuit 1 is abnormal, and measures such as replacement of the memory circuit 1 are taken.

【0021】その後、メモリ回路1は、外部からの制御
により本来の書き込み動作と、読み出し動作に戻る。本
来の動作では、外部からの書き込み指示により、各アド
レスに対し送出された個々のデータがメモリ回路1に書
き込まれ、同時にパリティ送出回路5はパリティエラー
とならない正常なパリティビットを生成し、メモリ回路
1に書き込まれる。また、読み出し動作についても、外
部からの読み出し指示により個別のアドレスが読み出さ
れる。
Thereafter, the memory circuit 1 returns to the original write operation and read operation under the control of the outside. In the original operation, according to a write instruction from the outside, the individual data sent to each address is written in the memory circuit 1, and at the same time, the parity sending circuit 5 generates a normal parity bit that does not cause a parity error, and the memory circuit Written to 1. Also in the read operation, individual addresses are read by a read instruction from the outside.

【0022】図3は、本発明の動作タイミング例を示し
たもので、(1)電源の立ち上げ時間、(2)メモリ回路1の
初期立ち上げ処理時間、(3)アラーム状態での外部から
のメモリ回路読み出し時間、(4)外部からのメモリ書き
込み時間、(5)アラーム解除後の外部からのメモリ読み
出し時間を示し、(6)外部警報出力状態をそれぞれ示し
ている。
FIG. 3 shows an example of the operation timing of the present invention. (1) power supply startup time, (2) initial startup processing time of the memory circuit 1, (3) externally in an alarm state. The memory circuit read time, (4) external memory write time, (5) external memory read time after alarm release, and (6) external alarm output state are shown, respectively.

【0023】[0023]

【発明の効果】以上説明したように、本発明によれば、
通常アラームがでていないメモリ回路でも、実際に回路
が運用状態となって初めて異常と判明するような監視系
の故障であっても、回路の初期立ち上げの段階で全ての
メモリ回路と、書き込み回路、読み出し回路及び警報検
出回路を備える監視系回路の正常性を判断することが可
能となる。
As described above, according to the present invention,
Even if the memory circuit does not normally generate an alarm, or if the monitoring system malfunctions that are not found to be abnormal until the circuit actually goes into operation, all memory circuits and write operations are performed at the initial startup stage of the circuit. It is possible to judge the normality of the monitoring system circuit including the circuit, the reading circuit, and the alarm detection circuit.

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

【図1】従来のメモリ初期立ち上げ制御回路を示したブ
ロック図である。
FIG. 1 is a block diagram showing a conventional memory initial startup control circuit.

【図2】本発明にかかるメモリ初期立ち上げ制御回路を
示したブロック図である。
FIG. 2 is a block diagram showing a memory initial startup control circuit according to the present invention.

【図3】本発明の動作例を示すタイムチャートである。FIG. 3 is a time chart showing an operation example of the present invention.

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

1 メモリ回路 2 書き込み回路 3 読み出し回路 4 初期制御回路 5 パリティ送出回路 6 警報検出回路 7 メモリ切り替え回路 8 初期化回路 9 パリティ反転制御回路 1 memory circuit 2 writing circuit 3 readout circuit 4 Initial control circuit 5 Parity transmission circuit 6 Alarm detection circuit 7 Memory switching circuit 8 initialization circuit 9 Parity inversion control circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データとパリティによる誤り検出符号を
有するメモリ回路と、当該メモリ回路の初期立ち上げを
制御する初期制御回路と、書き込みを制御する書き込み
回路と、読み出しを制御する読み出し回路と、外部から
のデータと当該メモリ回路からのデータを切り替えてメ
モリ回路に出力するメモリ入力切り替え回路と、書き込
むデータのパリティビットを生成して当該メモリ回路へ
書き込むパリティ回路と、当該パリティ回路で生成した
パリティビットを反転させるパリティ反転制御回路と、
当該メモリ回路から読み出されたデータのパリティチェ
ックを行う警報検出回路とを有し、 当該初期制御回路は、電源が投入された際に、当該パリ
ティ反転制御回路によりパリティ送出回路で生成したパ
リティビットを反転させることを特徴とするメモリ初期
立ち上げ制御回路。
1. A memory circuit having an error detection code based on data and parity, an initial control circuit for controlling initial startup of the memory circuit, a write circuit for controlling writing, a read circuit for controlling reading, and an external device. Memory input switching circuit that switches the data from the memory circuit and the data from the memory circuit and outputs the data to the memory circuit, the parity circuit that generates the parity bit of the data to be written and writes the parity bit to the memory circuit, and the parity bit that is generated by the parity circuit. A parity inversion control circuit for inverting
An alarm detection circuit that performs a parity check of the data read from the memory circuit, and the initial control circuit is a parity bit generated by the parity transmission circuit by the parity inversion control circuit when the power is turned on. A memory initial start-up control circuit characterized by inverting.
【請求項2】 前記初期制御回路は、電源が投入された
際に、前記メモリ入力切り替え回路を前記メモリ回路か
らのデータに切り替えるとともに前記パリティ反転制御
回路を制御することにより、当該メモリ回路からのデー
タと反転されたパリティビットとを当該メモリ回路に書
き込ませ、その後、当該メモリ入力切り替え回路を外部
からのデータに切り替えることにより、新たなデータと
正しいパリティビットを当該メモリに書き込ませること
を特徴とする請求項1記載のメモリ初期立ち上げ制御回
路。
2. The initial control circuit switches from the memory circuit by switching the memory input switching circuit to data from the memory circuit and controlling the parity inversion control circuit when the power is turned on. The data and the inverted parity bit are written in the memory circuit, and then the memory input switching circuit is switched to external data, whereby new data and a correct parity bit are written in the memory. The memory initial startup control circuit according to claim 1.
JP2001351875A 2001-11-16 2001-11-16 Memory initial activation control circuit Withdrawn JP2003150460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001351875A JP2003150460A (en) 2001-11-16 2001-11-16 Memory initial activation control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001351875A JP2003150460A (en) 2001-11-16 2001-11-16 Memory initial activation control circuit

Publications (1)

Publication Number Publication Date
JP2003150460A true JP2003150460A (en) 2003-05-23

Family

ID=19164126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001351875A Withdrawn JP2003150460A (en) 2001-11-16 2001-11-16 Memory initial activation control circuit

Country Status (1)

Country Link
JP (1) JP2003150460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023107148A1 (en) * 2021-12-06 2023-06-15 Western Digital Technologies, Inc. Data storage device and method for preventing data loss during an ungraceful shutdown

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023107148A1 (en) * 2021-12-06 2023-06-15 Western Digital Technologies, Inc. Data storage device and method for preventing data loss during an ungraceful shutdown
US11797445B2 (en) 2021-12-06 2023-10-24 Western Digital Technologies, Inc. Data storage device and method for preventing data loss during an ungraceful shutdown

Similar Documents

Publication Publication Date Title
KR950033824A (en) Method and apparatus for automatically scrubbing ECC errors in memory by hardware
JP2003059290A (en) Semiconductor memory
JP2003150460A (en) Memory initial activation control circuit
JPS62205599A (en) Read only memory circuit capable of writing
JP2008182327A (en) Programmable device controller, and method thereof
JP4108462B2 (en) Memory check circuit
JPH02270200A (en) Semiconductor memory
KR100309802B1 (en) Semiconductor memory device for executing redundancy operati0n
JP2004078847A (en) Equipment with memory-switching means
JP2713222B2 (en) Memory monitoring device
JPH02224044A (en) Program storage device
JPH0520215A (en) Information processor
JP2000194609A (en) Three-wire type interface circuit
JP2007058505A (en) Information processing device and starting method of the same
JPH11167497A (en) Device and method for detecting memory rewrite operation error
JPH07175727A (en) Memory monistoring device
JPH0391853A (en) Nonvolatile memory circuit
JPH1064299A (en) Method for testing random access memory
JPH10228388A (en) Data error detection circuit
JPH05173899A (en) Information processor
JP2001175543A (en) Data controller
JPH08221282A (en) Parity generation and check circuit
JPH0368035A (en) Information processor
JPH0353358A (en) Memory circuit
JPH0895869A (en) Memory controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050201