JPS63117396A - Non-volatile semiconductor memory device - Google Patents

Non-volatile semiconductor memory device

Info

Publication number
JPS63117396A
JPS63117396A JP61264814A JP26481486A JPS63117396A JP S63117396 A JPS63117396 A JP S63117396A JP 61264814 A JP61264814 A JP 61264814A JP 26481486 A JP26481486 A JP 26481486A JP S63117396 A JPS63117396 A JP S63117396A
Authority
JP
Japan
Prior art keywords
address
writing
latch
data
write
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
JP61264814A
Other languages
Japanese (ja)
Inventor
Koichi Kawauchi
川内 功一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61264814A priority Critical patent/JPS63117396A/en
Publication of JPS63117396A publication Critical patent/JPS63117396A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To temporarily interrupt a writing on the way of the writing and to read data from an EEPROM by providing a writing timing generating circuit for stopping the generation of a timing signal according to an external writing interrupting signal, an auxiliary address latch and an auxiliary data latch. CONSTITUTION:According to a writing start signal 7 from a CPU6, a non- volatile semiconductor memory device (EEPROM) is brought into a writing state and when the writing interrupting signal 14 is inputted to the writing timing generating circuit 2 from the CPU6, an operating is stopped, a timer 3 is cleared, a writing interrupting flag 13 is set and the EEPROM1 can be made access. At that time, the address of a first address latch 4 and the data of a first data latch 5 are respectively saved to a second address latch 11 and a second data latch 12. After the writing is interrupted, when an address different from an address before the interruption is read, at the time of sending a reading address to the first address latch 4, the data of the EEPROM 1 of the address is sent to the first data latch 5 and the CPU6 can read the data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、電気的に書き換えのできる不揮発性半導体
記憶装置(以下EEFROMと記す)に関し、特に、そ
の消去、書込を中断、再開する制御回路に関するもので
ある。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an electrically rewritable non-volatile semiconductor memory device (hereinafter referred to as EEFROM), and particularly to a control method for interrupting and resuming erasure and writing thereof. It is related to circuits.

〔従来の技術〕[Conventional technology]

EEPROMの書き込みには、その構造上数ミリ秒を要
するので、その書き込み制御には複雑なタイミング信号
が必要であり、最近では、書き込みのためのタイミング
信号をEEPROM内部で発生させる方式が主流となっ
ている。
Because writing to EEPROM takes several milliseconds due to its structure, complicated timing signals are required to control the writing.Recently, the mainstream method has been to generate the timing signal for writing inside the EEPROM. ing.

第2図は、書き込みタイミングを発生させる回路を内蔵
した従来のEEPROMを示し、図において、1はEE
PROMメモリ、2は書き込みタイミング発生回路、3
はこのEEPROMの書き込みに必要な時間(数ミリ秒
)を計測するためのタイマ、4は書き込みアドレ友を記
憶するためのアドレスラッチ、5は書き込むデータを記
憶するためのデータラッチ、6は外部制御回路(以下C
PUと記す)、7は書き込み開始信号、8は上記タイマ
3から書き込みタイミング発生回路への書き込み終了信
号、9はCPU6からアドレスラッチ4へのアドレス信
号、10はCPU6からデータラッチ5へのデータ信号
である。
FIG. 2 shows a conventional EEPROM with a built-in circuit that generates write timing. In the figure, 1 indicates EE
PROM memory, 2 is a write timing generation circuit, 3
is a timer to measure the time (several milliseconds) required for writing to this EEPROM, 4 is an address latch for storing the write address, 5 is a data latch for storing the data to be written, and 6 is an external control. Circuit (hereinafter referred to as C
PU), 7 is a write start signal, 8 is a write end signal from the timer 3 to the write timing generation circuit, 9 is an address signal from the CPU 6 to the address latch 4, and 10 is a data signal from the CPU 6 to the data latch 5. It is.

次に動作について説明する。Next, the operation will be explained.

EEFROMIにデータを書き込もうとする場合、CP
U6は書き込みタイミング発生回路2が書き込み状態で
ないことを確認する。次に、cpU6は、書き込みたい
アドレスとデータをそれぞれアドレスラッチ4.データ
ラッチ5に送って記憶させ、さらに、CPU6は書き込
み開始信号7を書き込みタイミング発生回路2とタイマ
3へ送って、書き込みを開始させる。書き込みが開始さ
れるとE E P ROM l側は、CPU6とは独立
に動作し、CPU6は別の作業を行う。
When trying to write data to EEFROMI, CP
U6 confirms that the write timing generation circuit 2 is not in the write state. Next, the cpU 6 stores the address and data to be written into the respective address latches 4. The CPU 6 sends the data to the data latch 5 to be stored therein, and further sends a write start signal 7 to the write timing generation circuit 2 and the timer 3 to start writing. When writing is started, the EEPROM I side operates independently of the CPU 6, and the CPU 6 performs other work.

そして書き込みに必要な時間(数ミリ秒)が経過すると
、タイマ3が書き込み終了信号8を占き込みタイミング
発生回路2へ送りこれにより書き込みタイミング発生回
路が動作を中止して書き込みは終了する。
When the time required for writing (several milliseconds) has elapsed, the timer 3 sends a write end signal 8 to the timing generation circuit 2, thereby causing the write timing generation circuit to stop its operation and the writing to be completed.

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

従来のEEFROM舎法の書き込み制御回路は以上のよ
うに構成されているので、−度EEPROMが書き込み
を始めたら、書き込みが終了するまで、EEPROMへ
のアクセスが全くできなくなるという問題点があった。
Since the write control circuit of the conventional EEFROM structure is constructed as described above, there is a problem in that once the EEPROM starts writing, the EEPROM cannot be accessed at all until the writing is completed.

この発明は上記のような問題点を解消するためになされ
たもので、EEPROMへの書き込みを中断できるとと
もに、中断された書き込みを再開できるEEFROMを
得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide an EEPROM in which writing to the EEPROM can be interrupted and writing that has been interrupted can be restarted.

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

この発明に係るEEFROMは、外部からの書き込み開
始信号を受けて書き込み動作のタイミング信号を発生し
、外部からの書き込み中断信号により該タイミング信号
の発生を停止する書き込みタイミング発生回路と、書き
込み中断時に主アドレスラッチ及び主データラッチのデ
ータを一時的に退避させるための補助アドレスランチ及
び補助データラッチとを設けたものである。
The EEFROM according to the present invention includes a write timing generation circuit that generates a timing signal for a write operation in response to an external write start signal, and stops the generation of the timing signal in response to an external write interrupt signal; An auxiliary address launch and an auxiliary data latch are provided for temporarily saving data in the address latch and main data latch.

〔作用〕[Effect]

この発明においては、外部からの書き込み中断信号によ
り該タイミング信号の発生を停止する書き込みタイミン
グ発生回路と書き込み中断時にアドレス及びデータをラ
ンチする補助アドレスラッチ及び補助データラッチとを
設けたから、書き込みを中断できかつ中断された書き込
みを再開できる。
In this invention, since a write timing generation circuit that stops the generation of the timing signal in response to an external write interrupt signal and an auxiliary address latch and an auxiliary data latch that launch addresses and data when writing is interrupted are provided, writing cannot be interrupted. Also, interrupted writing can be resumed.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例による不揮発性半導体記憶装
置を示し、図において、1はEEPROMメモリセル、
2は書き込みタイミング発生回路、3はタイマ、4は第
1のアドレスラッチ(主アドレスラッチ)、5は第1の
データラッチ(主データラッチ)、6は外部制御回路(
CPU) 、7は書き込み開始信号、8は書き込み終了
信号、9は第1のアドレス信号、10は第1のデータ信
号であり、それぞれ第2図の1〜10に対応する。また
、11は書き込み中断前のアドレスをラッチする第2の
アドレスラッチ(補助アドレスランチ)、12は書き込
み中断前のデータをラッチする第2のデータラッチ(補
助データラッチ)、13は書き込み中断信号14により
セントされ書き込み中断命令があったことを一時記憶す
る書き込み中断フラグ、14はCPU6から書き込みタ
イミング発生回路2.タイマ3及び書き込み中断フラグ
13へ入力される書き込み中断信号、15は第2のアド
レスラッチ11から第1のアドレスラッチ4への第2の
アドレス信号、16は第2のデータラッチ12から第1
のデータラッチ5への第2のデータ信号、17は再開時
の書き込み開始を遅らせるための遅延回路である。
FIG. 1 shows a nonvolatile semiconductor memory device according to an embodiment of the present invention, in which 1 indicates an EEPROM memory cell;
2 is a write timing generation circuit, 3 is a timer, 4 is a first address latch (main address latch), 5 is a first data latch (main data latch), 6 is an external control circuit (
7 is a write start signal, 8 is a write end signal, 9 is a first address signal, and 10 is a first data signal, which correspond to 1 to 10 in FIG. 2, respectively. Further, 11 is a second address latch (auxiliary address launch) that latches the address before the write is interrupted, 12 is the second data latch (auxiliary data latch) that latches the data before the write is interrupted, and 13 is the write interrupt signal 14. A write interrupt flag 14 is sent from the CPU 6 to the write timing generating circuit 2. A write interrupt signal is input to the timer 3 and the write interrupt flag 13, 15 is the second address signal from the second address latch 11 to the first address latch 4, and 16 is the second address signal from the second data latch 12 to the first address latch 4.
The second data signal 17 to the data latch 5 is a delay circuit for delaying the start of writing when restarting.

次に動作について説明する。Next, the operation will be explained.

一1l ゛ CPU6からの書き込み開始信号7によってEEPRO
Mは書き込み状態になっており、この状態でCPU6か
ら書き込み中断信号14が書き込みタイミング発生回路
2に入力されるとこれは動作を中止し、このときタイマ
3はクリアされ、書き込み中断フラグ1−3がセントさ
れ、EEPROMlはアクセス可能状態になる。このと
き第1のアドレスラッチ4のアドレス及び第1のデータ
ラッチ5のデータはそれぞれ第2のアドレスラッチ11
及び第2のデータラッチ12に退避する。この状態では
、従来通りの、任意のアドレスの読み出しができる。例
えば、書き込み中断後、中断前アドレスと異なるアドレ
スを読み出す場合、読み出しアドレスを、第1のアドレ
スラッチ4にアドレス信号9を通して送ると、そのアド
レスのEEPROMIのデータが第1のデータラッチ5
に送られ、CPU6はデータを読み出せる。
1l ゛The EEPRO is activated by the write start signal 7 from the CPU 6.
M is in a write state, and in this state, when the write interrupt signal 14 is input from the CPU 6 to the write timing generation circuit 2, the operation is stopped. At this time, the timer 3 is cleared and the write interrupt flags 1-3 is sent, and EEPROM1 becomes accessible. At this time, the address of the first address latch 4 and the data of the first data latch 5 are respectively transferred to the second address latch 11.
and is saved to the second data latch 12. In this state, any address can be read as before. For example, when reading an address different from the address before the interruption after writing is interrupted, if the read address is sent to the first address latch 4 through the address signal 9, the data in the EEPROMI at that address is transferred to the first data latch 5.
The CPU 6 can read the data.

次に、中断されていた書き込みを再開させる動作につい
て説明する。CPU6から再び書き込み開始信号7が書
き込みタイミング発生回路2に送られると、書き込み中
断フラグ13がセットされている場合、第1のアドレス
ラッチ4へは、第2のアドレス信号15を通して書き込
み中断前のアドレス信号が第2のアドレスラッチ11か
ら送られる。同様に、第1のデータラッチ5へは、デー
タ信号16を通して、第2のデータラッチ12から書き
込み中断前のデータが送られる。一方書き込みタイミン
グ発生回路2とタイマ3キには、再書き込みのアドレス
とデータが確定する時間だけ、遅延回路17で遅延され
た書き込み開始信号18が入力される。また、書き込み
中断フラグ13は再書き込みが開始されると同時にリセ
ットされる。
Next, the operation of restarting the interrupted writing will be explained. When the write start signal 7 is sent from the CPU 6 to the write timing generation circuit 2 again, if the write interruption flag 13 is set, the address before the write interruption is sent to the first address latch 4 through the second address signal 15. A signal is sent from the second address latch 11. Similarly, the data before writing is interrupted is sent from the second data latch 12 to the first data latch 5 through the data signal 16. On the other hand, a write start signal 18 delayed by a delay circuit 17 is inputted to the write timing generation circuit 2 and the timer 3K by a time period in which the rewrite address and data are determined. Furthermore, the write interruption flag 13 is reset at the same time as rewriting is started.

このように本実施例では外部からの書き込み中断信号に
より該タイミング信号の発生を停止する書き込みタイミ
ング発生回路と書き込み中断時にアドレス及びデータを
ラッチする補助アドレスラッチ及び補助データラッチと
を設けたので、書き込みの途中で、書き込みを一時中断
してEEFROMlからデータを読み出すことができ、
また、直ぐに中断した書き込みを再開できる。
In this way, this embodiment is provided with a write timing generation circuit that stops the generation of the timing signal in response to an external write interrupt signal, and an auxiliary address latch and an auxiliary data latch that latch the address and data when writing is interrupted. In the middle of the process, writing can be temporarily interrupted and data can be read from the EEFROM.
Additionally, interrupted writing can be resumed immediately.

なお、上記実施例では補助アドレスラッチ11゜補助デ
ータラッチ12を設けたものを示したが、これらは、E
EPROMIの読み出し時に第1のアドレスラッチ4.
第1のデータラフチ5を使用しないものであれば設けな
くてもよい。
In the above embodiment, the auxiliary address latch 11° and the auxiliary data latch 12 are provided, but these are
When reading EPROMI, the first address latch 4.
If the first data raft 5 is not used, it may not be provided.

また、上記実施例ではEEPROMIとcpubとが別
々のチップの場合について説明したが、これはEEPR
OMIとCPU6とが同一のチップ上に構成されたマイ
クロコンピュータの場合テあってもよく、上記実施例と
同様の効果を奏する。
Furthermore, in the above embodiment, the case where the EEPROMI and CPUB are separate chips has been explained;
In the case of a microcomputer in which the OMI and the CPU 6 are configured on the same chip, the same effect as in the above embodiment can be obtained.

また、上記実施例では、遅延回路17を設けたものを示
したが、これは従来の回路において、書き込み開始信号
7がEEPROMIに入力されてから、書き込みタイミ
ング発生回路2とタイマ3が動作し始めるまでに遅延が
生ずるものであれば、遅延回路17を設けなくてもよい
Further, in the above embodiment, the delay circuit 17 is provided, but this is a conventional circuit in which the write timing generation circuit 2 and the timer 3 start operating after the write start signal 7 is input to the EEPROMI. If a delay occurs until then, the delay circuit 17 may not be provided.

また、上記実施例では書き込みの場合について説明した
が、これは消去の場合でもよく、上記実施例と同様の効
果を奏する。
Further, in the above embodiment, the case of writing has been described, but this may also be the case of erasing, and the same effects as in the above embodiment can be obtained.

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

以上のように、この発明によれば、外部からの書き込み
中断信号により該タイミング信号の発生を停止する書き
込みタイミング発生回路と、書き込み中断時にアドレス
及びデータをそれぞれラッチする補助アドレスラッチ及
び補助データラッチとを設けたので、書き込みの途中で
、書き込みを一時中断してEEPROMからデータを読
み出すことができ、また、直ぐに中断した書き込みを再
開できる効果がある。
As described above, according to the present invention, there is provided a write timing generation circuit that stops generation of a timing signal in response to an external write interrupt signal, and an auxiliary address latch and an auxiliary data latch that respectively latch addresses and data when a write is interrupted. Since this is provided, data can be read from the EEPROM by temporarily interrupting writing in the middle of writing, and the interrupted writing can be resumed immediately.

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

第1図はこの発明の一実施例によるEEPRO図におい
て、2は書き込みタイミング発生回路、3はタイマ、4
.11は第1.第2のアドレスランチ、5.12は第1
.第2のデータラッチ、13は書き込み中断フラグ、1
4は書き込み中断信号、17は遅延回路で°h3・ なお図中同一符号は同−又は相当部分を示す。
FIG. 1 is an EEPRO diagram according to an embodiment of the present invention, in which 2 is a write timing generation circuit, 3 is a timer, and 4 is a write timing generation circuit.
.. 11 is the first. 2nd address launch, 5.12 is 1st
.. Second data latch, 13 is write interrupt flag, 1
4 is a write interrupt signal, and 17 is a delay circuit °h3. In the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] (1)外部信号によりデータをメモリに書き込むための
回路を内蔵する不揮発性半導体記憶装置において、 外部から入力される書き込みアドレス及びデータをそれ
ぞれラッチする主アドレスラッチ及び主データラッチと
、 書き込み中断時に上記主アドレスラッチのアドレス及び
主データラッチのデータを一時的に退避させるための補
助アドレスラッチ及び補助データラッチと、 外部からの書き込み開始信号を受けて書き込み動作のタ
イミング信号を発生し、外部からの書き込み中断信号に
より該タイミング信号の発生を停止する書き込みタイミ
ング発生回路とを備えたことを特徴とする不揮発性半導
体記憶装置。
(1) In a nonvolatile semiconductor memory device that has a built-in circuit for writing data into memory using an external signal, a main address latch and a main data latch each latch the write address and data input from the outside, and the above when writing is interrupted. An auxiliary address latch and an auxiliary data latch are used to temporarily save the address of the main address latch and the data of the main data latch, and the auxiliary address latch and auxiliary data latch are used to receive a write start signal from an external source and generate a timing signal for a write operation, and to perform a write operation from an external source. A nonvolatile semiconductor memory device comprising: a write timing generation circuit that stops generation of the timing signal in response to an interruption signal.
JP61264814A 1986-11-05 1986-11-05 Non-volatile semiconductor memory device Pending JPS63117396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61264814A JPS63117396A (en) 1986-11-05 1986-11-05 Non-volatile semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61264814A JPS63117396A (en) 1986-11-05 1986-11-05 Non-volatile semiconductor memory device

Publications (1)

Publication Number Publication Date
JPS63117396A true JPS63117396A (en) 1988-05-21

Family

ID=17408583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61264814A Pending JPS63117396A (en) 1986-11-05 1986-11-05 Non-volatile semiconductor memory device

Country Status (1)

Country Link
JP (1) JPS63117396A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002319281A (en) * 2001-04-19 2002-10-31 Canon Inc Magnetic memory and drive method therefor
EP3910638A1 (en) * 2020-05-15 2021-11-17 Renesas Electronics Corporation Semiconductor device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002319281A (en) * 2001-04-19 2002-10-31 Canon Inc Magnetic memory and drive method therefor
JP4726169B2 (en) * 2001-04-19 2011-07-20 キヤノン株式会社 Magnetic memory and driving method thereof
EP3910638A1 (en) * 2020-05-15 2021-11-17 Renesas Electronics Corporation Semiconductor device
US11868654B2 (en) 2020-05-15 2024-01-09 Renesas Electronics Corporation Semiconductor device

Similar Documents

Publication Publication Date Title
JP2682700B2 (en) IC card
US5923838A (en) Microcomputer with built-in flash memory
JPH0449199B2 (en)
US5307470A (en) Microcomputer having EEPROM provided with detector for detecting data write request issued before data write operation responsive to preceding data write request is completed
EP0287600B1 (en) Method and device to execute two instruction sequences in an order determined in advance
JPS63117396A (en) Non-volatile semiconductor memory device
IE61306B1 (en) Method and device to execute two instruction sequences in an order determined in advance
JPH103434A (en) Semiconductor disk device and its write system
JPS61245255A (en) Nonvolatile memory device
JP2005018650A (en) Nonvolatile semiconductor storage device and data processor
JPH10161942A (en) Method, device for storing information, and information processor
JPH10283172A (en) Flash rom data rewrite system
JPS62286143A (en) Semiconductor memory device
JPH0765586A (en) Access system for eeprom
JPH0289296A (en) Nonvolatile memory circuit
JPS5990295A (en) Backup system of main storage device
JPS5938827A (en) Microprocessor ipl system
JPH0541092A (en) Nonvolatile memory
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPH01166152A (en) Program storage control system
JPS6113319B2 (en)
JPS60196865A (en) Backup memory circuit
JPH0415847A (en) Memory card
JPH0140433B2 (en)
JPH03241444A (en) Data holding system