JPS63208958A - Memory write/read protecting device - Google Patents

Memory write/read protecting device

Info

Publication number
JPS63208958A
JPS63208958A JP62041544A JP4154487A JPS63208958A JP S63208958 A JPS63208958 A JP S63208958A JP 62041544 A JP62041544 A JP 62041544A JP 4154487 A JP4154487 A JP 4154487A JP S63208958 A JPS63208958 A JP S63208958A
Authority
JP
Japan
Prior art keywords
memory
signal
writing
data
reset signal
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
JP62041544A
Other languages
Japanese (ja)
Inventor
Yoshiaki Suzuki
良明 鈴木
Yuji Kubota
久保田 雄二
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 Platforms Ltd
NEC Corp
Original Assignee
NEC Corp
NEC AccessTechnica 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 Corp, NEC AccessTechnica Ltd filed Critical NEC Corp
Priority to JP62041544A priority Critical patent/JPS63208958A/en
Publication of JPS63208958A publication Critical patent/JPS63208958A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To avoid writing of wrong data by producing a resetting signal of CPU after the end of a memory writing/reading cycle. CONSTITUTION:A central arithmetic processing part 5 performs the data writing/ reading jobs to a memory 7 via a data line d2 and this writing/reading timing is controlled by a writing signal b2 and a reading signal c2. When the signal b2 or c2 is delivered, a resetting permission signal e2 given from a memory write/read control part 8 is turned off. Then a resetting signal generating part 9 of a CPU produces no resetting signal a2. This signal a2 is produced after the signal e2 is turned on. When the signal a2 is turned on, a memory control signal transmission control part 6 is blocked and the writing is inhibited to the memory 7.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は演算制御装置の記憶部に関し、特に、システム
リセット時において、記憶素子(以下「メモリ」という
)への書込み又は読出しを保護するメモリ書込み読出し
保護装置に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a storage section of an arithmetic and control unit, and in particular, to a memory that protects writing to or reading from a storage element (hereinafter referred to as "memory") at the time of system reset. This invention relates to a read/write protection device.

〔従来の技術〕[Conventional technology]

従来、この種のメモリ書込み読出し保護装置は、第3図
に示すような構成により実現されていた。
Conventionally, this type of memory write/read protection device has been realized with a configuration as shown in FIG.

第3図において、1は中央演算処理部、2はメモリ制御
信号伝達制御部、3はメモリ、4はリセット信号発生部
である。また、alはリセット信号発生部4から出力さ
れるリセット信号、bl、clおよびdlは中央演算処
理部1から出力されるメモリ書込み信号、メモリ読出し
信号およびデータである。
In FIG. 3, 1 is a central processing unit, 2 is a memory control signal transmission control unit, 3 is a memory, and 4 is a reset signal generation unit. Further, al is a reset signal output from the reset signal generating section 4, and bl, cl, and dl are a memory write signal, a memory read signal, and data output from the central processing section 1.

第4図に、第3図のメモリ書込み読出し保護装置の動作
を説明するためのタイムチャートを示す。
FIG. 4 shows a time chart for explaining the operation of the memory write/read protection device of FIG. 3.

第4図(a)はメモリ書込み信号b1、第4図(b)は
リセット信号’a 1を示す。第4図において、メモリ
書込み信号b1が有効となっている期間つまりメモリ書
込み期間中に、リセット信号a1が時刻TIにおいて有
効となった場合、中央演算処理部1は初期化状態となり
、メモリ書込み信号b1を無視してしまう。同時に、メ
モリ制御信号伝達制御部2もメモリ書込み信号b1の伝
達を禁止してしまう。この結果として、メモリ3に加え
られるデータd1およびメモリ書込み信号b1は、第4
図に示すように、メモリ3の規格を満足するだけの有効
期間が保証されず、途中で無効となってしまう。このた
め、メモリ3の動作が保証されず、誤ったデータがメモ
リ3に書き込まれる可能性があった。
FIG. 4(a) shows the memory write signal b1, and FIG. 4(b) shows the reset signal 'a1. In FIG. 4, when the reset signal a1 becomes valid at time TI during the period when the memory write signal b1 is valid, that is, during the memory write period, the central processing unit 1 enters the initialization state, and the memory write signal Ignore b1. At the same time, the memory control signal transmission control section 2 also prohibits transmission of the memory write signal b1. As a result, the data d1 and memory write signal b1 applied to the memory 3 are
As shown in the figure, a valid period long enough to satisfy the standards of the memory 3 is not guaranteed, and the memory becomes invalid midway through. Therefore, the operation of the memory 3 is not guaranteed, and there is a possibility that erroneous data may be written to the memory 3.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このように、従来のメモリ書込み読出し保護装置におい
ては、誤ったデータがメモリ3に書き込まれる可能性が
あった。このメモリ3内に、装置動作上重要なパラメー
タ、例えば通信機器の場合、通常、自局アドレス情報・
ルーティング情報などの非常に重要なパラメータが格納
されている。このパラメータが誤ったデータに書き替え
られてしまうと、装置は正常に動作することができず、
時と場合により、通信網全体の回線障害を引き起こす原
因ともなり得る。
In this manner, in the conventional memory write/read protection device, there is a possibility that erroneous data may be written to the memory 3. In this memory 3, important parameters for device operation, such as own station address information and
Contains very important parameters such as routing information. If this parameter is rewritten with incorrect data, the device will not be able to operate normally.
Depending on the time and circumstances, this may cause a line failure of the entire communication network.

〔問題点を解決するための手段〕[Means for solving problems]

このような問題点を解決するために本発明は、メモリへ
のデータ書込み期間およびメモリからのデータ読出し期
間を検出するメモリ書込み読出し期間検出部と、このメ
モリ書込み読出し期間検出部から出力される検出信号に
よりリセット信号の発生を制御するリセット信号発生部
とを備え、リセット信号発生部は、メモリへのデータ書
込み又はメモリからのデータ読出しにリセット信号の発
生を同期させ、かつデータ書込み又はデータ読出しの終
了後リセット信号を発生させ、リセット時におけるメモ
リへの書込み・読出し動作の保護を行なうようにしたも
のである。
In order to solve these problems, the present invention provides a memory write/read period detection unit that detects a data write period to the memory and a data read period from the memory, and a detection output from the memory write/read period detection unit. and a reset signal generation section that controls the generation of the reset signal using a signal, and the reset signal generation section synchronizes the generation of the reset signal with data writing to or reading data from the memory, and synchronizes the generation of the reset signal with data writing or reading data from the memory. After the completion of the reset, a reset signal is generated to protect the write/read operations to the memory at the time of reset.

〔作用〕[Effect]

本発明に係わるメモリ書込み読出し保護装置においては
、メモリ書込み期間中にリセット要因が発生した場合で
もメモリ書込みの保護が可能であり、誤ったデータの書
込みが発生することはない。
In the memory write/read protection device according to the present invention, even if a reset factor occurs during the memory write period, the memory write can be protected and erroneous data will not be written.

〔実施例〕〔Example〕

本発明に係わるメモリ書込み読、出し保護装置の一実施
例を第1図に示す。第1図において、5は中央演算処理
部、6はメモリ制御信号伝達制御部、7はメモリ、8は
メモリ書込み読出し期間検出部、9はリセット信号発生
部である。
An embodiment of a memory write/read/output protection device according to the present invention is shown in FIG. In FIG. 1, 5 is a central processing unit, 6 is a memory control signal transmission controller, 7 is a memory, 8 is a memory write/read period detector, and 9 is a reset signal generator.

通常では、リセット信号a2は無効となっており、中央
演算処理部5はメモリ書込み信号b2またはメモリ続出
し信号c2を出力し、データd2について、メモリ7へ
の書込み又はメモリ7からの読出しを実行している。こ
の時、メモリ制御信号電圧制御部6は信号の伝達を行な
っている。
Normally, the reset signal a2 is disabled, and the central processing unit 5 outputs the memory write signal b2 or the memory continuation signal c2, and executes writing to or reading from the memory 7 regarding the data d2. are doing. At this time, the memory control signal voltage control section 6 is transmitting signals.

第2図は、メモリ書込み期間中にリセット要因が発生し
た場合のタイムチャートである。第2図(a)はメモリ
書込み信号b2、第2図中)はリセット信号a2を示す
。第2図(b)に示すように、リセット要因が時刻T2
で発生した場合、リセット信号発生部9は、内部にリセ
ット要因が発生したことを記憶するが、リセット信号a
2をまだ有効としない。中央演算処理部5は、リセット
要因が発生した時点では、メモリ書込み信号b2および
データd2を出力し続け、メモリ制御信号伝達制御部6
も信号を伝達し続ける。
FIG. 2 is a time chart when a reset factor occurs during the memory write period. FIG. 2(a) shows the memory write signal b2, and FIG. 2(a) shows the reset signal a2. As shown in FIG. 2(b), the reset factor is at time T2.
If the reset signal a occurs, the reset signal generator 9 internally stores that a reset factor has occurred, but the reset signal a
2 is not yet valid. When the reset factor occurs, the central processing unit 5 continues to output the memory write signal b2 and the data d2, and the memory control signal transmission control unit 6
continues to transmit signals.

中央演算処理部5がメモリ7へのデータ書込みを完了す
ると、この書込み期間の終了をメモリ書込み読出し期間
検出部8が、第2図(blで示す時刻T3において、メ
モリ書込み信号b2により検出する。メモリ読出し期間
の終了はメモリ読出し信号c2により検出する。メモリ
書込み期間終了を検出したメモリ書込み読出し期間検出
部8はリセット信号発生部9に対し、リセット信号許可
信号e2を有効とする。リセット信号発生部9は、リセ
ット信号許可信号e2が有効となった後、第2図中)に
示すように初めリセット信号a2を有効とし、中央演算
処理部5を初期化し、メモリ制御信号伝達制御部6は信
号の伝達を禁止する−これらの動作により、メモリ書込
み期間中にリセット要因が発生した場合でも、第2図に
示すように、メモリ書込み期間は保証され、誤ったデー
タが書き込まれることはない。
When the central processing unit 5 completes data writing to the memory 7, the memory write/read period detection unit 8 detects the end of the write period using the memory write signal b2 at time T3 shown in FIG. 2 (bl). The end of the memory read period is detected by the memory read signal c2.The memory write/read period detecting section 8 which has detected the end of the memory writing period makes the reset signal enable signal e2 valid to the reset signal generating section 9.Reset signal generation After the reset signal permission signal e2 becomes valid, the unit 9 first makes the reset signal a2 valid as shown in FIG. Prohibiting signal transmission - Through these operations, even if a reset factor occurs during the memory write period, the memory write period is guaranteed and erroneous data will not be written, as shown in FIG.

なお、上記実施例では、メモリ書込み動作の保護につい
て述べたが、メモリ読出し動作の保護についても同様の
方法で可能である。
In the above embodiments, protection of memory write operations has been described, but protection of memory read operations can also be achieved in a similar manner.

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

以上説明したように本発明は、メモリへのデータ書込み
期間およびメモリからのデータ読出し期間を検出するメ
モリ書込み読出し期間検出部と、このメモリ書込み読出
し期間検出部から出力される検出信号によりリセット信
号の発生を制御するリセット信号発生部とを備え、リセ
ット信号発生部は、リセット信号の発生をメモリへのデ
ータ書込み又はメモリからのデータ読出しに同期させ、
かつその終了後リセット信号を発生させ、リセット時に
おけるメモリへの書込み・読出し動作の保護を行なうこ
とにより、メモリ書込み又はメモリ読出し期間中にリセ
ット要因が発生した場合でも、メモリ書込み又はメモリ
読出しの保護が可能なため、誤ったデータの書込み又は
読出しが発生しないという効果がある。
As explained above, the present invention includes a memory write/read period detecting section that detects a period for writing data to the memory and a period for reading data from the memory, and a detection signal output from the memory writing/reading period detecting section to generate a reset signal. and a reset signal generation section that controls generation of the reset signal, the reset signal generation section synchronizing the generation of the reset signal with data writing to or reading data from the memory,
And by generating a reset signal after the completion of the reset and protecting the write/read operations to the memory at the time of reset, even if a reset factor occurs during the memory write/read period, the memory write/read can be protected. This has the effect that erroneous data writing or reading does not occur.

これにより、メモリ内に重要なパラメータ例えば自局の
アドレス情報やルーティング情報を格納しておいた場合
でも、リセットによるデータ破壊が発生しないため、装
置の異常動作を防止できる効果がある。
As a result, even if important parameters, such as address information and routing information of the own station, are stored in the memory, data will not be destroyed due to a reset, which has the effect of preventing abnormal operation of the device.

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

第1図は本発明に係わるメモリ書込み読出し保護装置の
一実施例を示す系統図、第2図はその動作を説明するた
めのタイムチャート、第3図は従来のメモリ書込み読出
し保護装置を示す系統図、第4図はその動作を説明する
ためのタイムチャートである。 5・・・中央演算処理部、6・・・メモリ制御信号伝達
制御部、7・・・メモリ、8・・・メモリ書込み読出し
期間検出部、9・・・リセット信号発生部。 特許出願人    日本電気株式会社 静岡日本電気株式会社
FIG. 1 is a system diagram showing an embodiment of the memory write/read protection device according to the present invention, FIG. 2 is a time chart for explaining its operation, and FIG. 3 is a system diagram showing a conventional memory write/read protection device. 4 are time charts for explaining the operation. 5... Central processing unit, 6... Memory control signal transmission control unit, 7... Memory, 8... Memory write/read period detection unit, 9... Reset signal generation unit. Patent applicant: NEC Corporation Shizuoka NEC Corporation

Claims (1)

【特許請求の範囲】[Claims]  メモリへのデータ書込み期間およびメモリからのデー
タ読出し期間を検出するメモリ書込み読出し期間検出部
と、このメモリ書込み読出し期間検出部から出力される
検出信号によりリセット信号の発生を制御するリセット
信号発生部とを備え、前記リセット信号発生部は、前記
メモリへのデータ書込み又はメモリからのデータ読出し
に前記リセット信号の発生を同期させ、かつ前記データ
書込み又はデータ読出しの終了後前記リセット信号を発
生させ、リセット時におけるメモリへの書込み・読出し
動作の保護を行なうことを特徴とするメモリ書込み読出
し保護装置。
a memory write/read period detection unit that detects a data write period to the memory and a data read period from the memory; and a reset signal generation unit that controls generation of a reset signal based on a detection signal output from the memory write/read period detection unit. The reset signal generating section synchronizes the generation of the reset signal with data writing to or reading data from the memory, and generates the reset signal after the data writing or data reading is completed, and resets the reset signal. A memory write/read protection device is characterized in that it protects write/read operations to and from a memory.
JP62041544A 1987-02-26 1987-02-26 Memory write/read protecting device Pending JPS63208958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62041544A JPS63208958A (en) 1987-02-26 1987-02-26 Memory write/read protecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62041544A JPS63208958A (en) 1987-02-26 1987-02-26 Memory write/read protecting device

Publications (1)

Publication Number Publication Date
JPS63208958A true JPS63208958A (en) 1988-08-30

Family

ID=12611362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62041544A Pending JPS63208958A (en) 1987-02-26 1987-02-26 Memory write/read protecting device

Country Status (1)

Country Link
JP (1) JPS63208958A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04355851A (en) * 1991-06-01 1992-12-09 Pfu Ltd Data destruction preventing system for ram disk
US6119211A (en) * 1996-08-26 2000-09-12 Nec Corporation Circuit for controlling writing data into memory and allowing concurrent reset generation and writing data operation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5915153B2 (en) * 1979-01-23 1984-04-07 東洋アルミニウム株式会社 Water-dispersible flake metal pigment composition and method for producing the same
JPS61131018A (en) * 1984-11-20 1986-06-18 Mitsubishi Electric Corp Circuit initializing device
JPS6223349B2 (en) * 1977-07-29 1987-05-22 Takamisawa Saibaneteitsukusu Kk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6223349B2 (en) * 1977-07-29 1987-05-22 Takamisawa Saibaneteitsukusu Kk
JPS5915153B2 (en) * 1979-01-23 1984-04-07 東洋アルミニウム株式会社 Water-dispersible flake metal pigment composition and method for producing the same
JPS61131018A (en) * 1984-11-20 1986-06-18 Mitsubishi Electric Corp Circuit initializing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04355851A (en) * 1991-06-01 1992-12-09 Pfu Ltd Data destruction preventing system for ram disk
US6119211A (en) * 1996-08-26 2000-09-12 Nec Corporation Circuit for controlling writing data into memory and allowing concurrent reset generation and writing data operation

Similar Documents

Publication Publication Date Title
JPS63208958A (en) Memory write/read protecting device
JPH0572634B2 (en)
JPH096725A (en) Asynchronous data transfer receiver
JPH0140432B2 (en)
JPS62140153A (en) Duplicated data processor
JP2600376B2 (en) Memory controller
JPH04304540A (en) Semiconductor memory circuit
JPH02297235A (en) Memory data protecting circuit
JPH0383300A (en) Semiconductor memory
JPH05108493A (en) Memory control system
KR100452314B1 (en) Ecc generation controlling circuit for selectively controlling ecc generation for micro-processor
JP2734613B2 (en) Failure information collection method
JPS6020779B2 (en) Composite computer system
JPS62184554A (en) Memory protection circuit
JPH0216656A (en) Electronic disk device
JPH0254582B2 (en)
JPH0340036A (en) Memory protecting circuit
JPH05324487A (en) Memory control system
SU1456996A1 (en) Device for monitoring memory units
JP2671629B2 (en) Memory check system
JPS58141500A (en) Memory management protecting system
JPH07152659A (en) Storage data protection device of computer
JPS63132357A (en) Memory access controller
JPH08305637A (en) Storage
JPH02216669A (en) Magnetic disk device