JP3114645B2 - Reset control circuit for memory cell device - Google Patents

Reset control circuit for memory cell device

Info

Publication number
JP3114645B2
JP3114645B2 JP6072797A JP6072797A JP3114645B2 JP 3114645 B2 JP3114645 B2 JP 3114645B2 JP 6072797 A JP6072797 A JP 6072797A JP 6072797 A JP6072797 A JP 6072797A JP 3114645 B2 JP3114645 B2 JP 3114645B2
Authority
JP
Japan
Prior art keywords
signal
reset
write
circuit
memory cell
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.)
Expired - Fee Related
Application number
JP6072797A
Other languages
Japanese (ja)
Other versions
JPH10255490A (en
Inventor
和久 福田
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6072797A priority Critical patent/JP3114645B2/en
Publication of JPH10255490A publication Critical patent/JPH10255490A/en
Application granted granted Critical
Publication of JP3114645B2 publication Critical patent/JP3114645B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はメモリセルに対して
データの書き込みおよびそのリセットを行うメモリセル
装置に関し、特にリセットに伴う誤動作を未然に防止し
たリセット制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory cell device for writing and resetting data in a memory cell, and more particularly to a reset control circuit for preventing a malfunction due to a reset.

【0002】[0002]

【従来の技術】従来のこの種のメモリセル装置として、
EEPROMセルを内蔵する装置の構成を図9のブロッ
ク図を用いて説明する。このメモリセル装置は、CPU
302と、EEPROMセル304と、EEPROM
Read(読み出し)回路305と、EEPROM W
rite(書き込み)回路306と、それぞれを接続す
る内部バス401により構成される。CPU302は割
り込み制御回路303を内蔵しEEPROM書き込み回
路306からの割り込み要求を検出する。EEPROM
書き込み回路306はEEPROMセル304への書き
込み時間をカウントする書き込み時間カウンタ307を
内蔵する。またRESET(リセット)端子101より
入力される内部リセット信号103はすべての構成要素
に入力されており、リセット端子101に“1”を入力
することにより、非同期に初期化が実行される。
2. Description of the Related Art As a conventional memory cell device of this kind,
The configuration of a device incorporating an EEPROM cell will be described with reference to the block diagram of FIG. This memory cell device has a CPU
302, an EEPROM cell 304, and an EEPROM
Read (read) circuit 305 and EEPROM W
It is composed of a write (write) circuit 306 and an internal bus 401 connecting each of them. The CPU 302 incorporates an interrupt control circuit 303 and detects an interrupt request from the EEPROM writing circuit 306. EEPROM
The writing circuit 306 has a built-in writing time counter 307 for counting the writing time to the EEPROM cell 304. Further, the internal reset signal 103 input from the RESET (reset) terminal 101 is input to all the components, and the initialization is executed asynchronously by inputting “1” to the reset terminal 101.

【0003】前記EEPROM読み出し回路305はC
PU302で実行された命令を元にEEPROMセル3
04からのデータの読み出しを実行する。EEPROM
書き込み回路306はCPU302で実行された命令を
元にEEPROMセル304へのデータの書き込みを実
行する。EEPROM書き込み回路306はCPU30
2で書き込み命令が実行されると同時に書き込み時間カ
ウンタ307の動作を開始し、その後はCPU302の
動作と無関係に書き込み時間カウンタ307でカウント
される時間でEEPROMセル304への書き込み処理
を実行する。書き込み時間カウンタ307はカウント終
了時にEEPROM書き込み回路306の動作を停止さ
せ、同時にEEPROM書き込み終了割込み信号105
を出力しCPU302にEEPROMセル304への書
き込みが終了したことを通知する。
The EEPROM reading circuit 305 has a C
EEPROM cell 3 based on the instruction executed by PU 302
Read the data from the data buffer 04. EEPROM
The write circuit 306 writes data to the EEPROM cell 304 based on the instruction executed by the CPU 302. The EEPROM writing circuit 306 is a CPU 30
2, the operation of the write time counter 307 is started at the same time as the execution of the write command, and thereafter, the write processing to the EEPROM cell 304 is executed with the time counted by the write time counter 307 irrespective of the operation of the CPU 302. The write time counter 307 stops the operation of the EEPROM write circuit 306 at the end of the count, and at the same time, the EEPROM write end interrupt signal 105
To notify the CPU 302 that the writing to the EEPROM cell 304 has been completed.

【0004】次に本従来例での動作を、図10のタイミ
ングチャートを用いて説明する。この従来例において
は、リセット端子101からの入力がメモリセル装置に
おける最上位の制御であるため、リセット端子101に
“1”が入力されるとその時の内部の動作状態に関わら
ず、メモリセル装置の全体が初期化される。すなわちE
EPROMセル304への書き込みが実行されている最
中にリセット端子101に“1”が入力されると、EE
PROM書き込み回路306も動作が停止しEEPRO
Mセル304への書き込みが中断される。EEPROM
セル304への書き込みが中断され、書き込み時間が不
十分であると、その書き込みが実行されていたセルのデ
ータは不定のままになる。この不定になったEEPRO
Mセル304のデータが初期化後に読み出された場合、
CPU302が誤動作しメモリセル装置全体が暴走する
可能性がある。
Next, the operation of the conventional example will be described with reference to a timing chart of FIG. In this conventional example, since the input from the reset terminal 101 is the highest control in the memory cell device, when "1" is input to the reset terminal 101, regardless of the internal operation state at that time, the memory cell device Is initialized. That is, E
When “1” is input to the reset terminal 101 while writing to the EPROM cell 304 is being executed, EE
The operation of the PROM write circuit 306 also stops and the EEPROM
Writing to the M cell 304 is interrupted. EEPROM
If the writing to the cell 304 is interrupted and the writing time is insufficient, the data of the cell where the writing has been performed remains undefined. This indeterminate EEPRO
When the data of the M cell 304 is read after initialization,
There is a possibility that the CPU 302 malfunctions and the entire memory cell device runs away.

【0005】[0005]

【発明が解決しようとする課題】このように、従来の回
路構成ではリセット端子への入力が最上位の制御である
ため、リセット端子へのリセット信号の入力によってE
EPROMセルに対して実行されていた書き込みが途中
で中断されてセルのデータが不定になることは避けられ
ない。そのため、このEEPROMセルに保持された不
定データがリセットに伴う初期化後に読み出されること
によって、CPUが誤動作しメモリセル装置、ないしこ
れを含むマイクロコンピュータ等の所謂論理回路装置に
おける暴走を引き起こす可能性がある。
As described above, in the conventional circuit configuration, since the input to the reset terminal is the highest control, the reset signal input to the reset terminal causes E
It is inevitable that the writing being performed on the EPROM cell is interrupted halfway and the data of the cell becomes indefinite. Therefore, when the indefinite data held in the EEPROM cell is read out after the initialization accompanying the reset, the CPU may malfunction and cause a runaway in a memory cell device or a so-called logic circuit device such as a microcomputer including the same. is there.

【0006】本発明の目的は、リセット信号が入力され
たときにおけるメモリセルのデータが不定になることを
回避し、リセットによる初期化によっても装置の誤動作
を防止することを可能にしたメモリセル装置のリセット
制御回路を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to prevent a data in a memory cell from becoming unstable when a reset signal is inputted, and to prevent a malfunction of the device even by initialization by reset. To provide a reset control circuit.

【0007】[0007]

【課題を解決するための手段】本発明は、メモリセル
と、このメモリセルに対してデータの書き込みを実行す
る書き込み回路と、前記メモリセルを含む装置をリセッ
ト動作させるためのリセット信号が入力されるリセット
端子を有し、前記リセット端子に入力されたリセット信
号を保留することが可能なリセット信号保留回路を備え
メモリセル装置のリセット制御回路において、前記リ
セット信号保留回路は、前記リセット信号に基づいて前
記メモリセルへの書き込み開始を禁止する信号を出力す
る手段と、前記リセット信号を所定時間遅延させる遅延
手段と、この遅延されたリセット信号を、電源オン時に
出力されるクリア信号と前記メモリセル書き込み回路か
らの書き込み信号の各状態に基づいて前記メモリセル装
置のリセットを行う内部リセット信号として出力する手
段とを備え、前記内部リセット信号として出力する手段
は、電源オン直後、前記クリア信号のレベルが反転する
までの間は前記書き込み信号の状態によらず前記内部リ
セット信号を出力し、その後は、前記書き込み信号が書
き込み状態を示す信号のときに前記内部リセット信号の
出力を保留し、前記書き込み信号の状態が書き込み状態
でないときに前記内部リセット信号を出力することを特
徴とする。
According to the present invention, a memory cell, a write circuit for writing data to the memory cell, and a reset signal for resetting a device including the memory cell are input. that has a reset terminal, the reset control circuit of the memory cell device comprising a reset signal hold circuit capable of holding a reset signal input to the reset terminal, the Li
The set signal holding circuit is configured to perform a previous operation based on the reset signal.
Output a signal to prohibit the start of writing to the memory cell
Means for delaying the reset signal by a predetermined time
Means and the delayed reset signal at power-on.
The output clear signal and the memory cell write circuit
The memory cell device based on each state of the write signals.
Output as an internal reset signal that resets the
Means for outputting as the internal reset signal
Immediately after the power is turned on, the level of the clear signal is inverted.
Until the internal reset is performed regardless of the state of the write signal.
Output a set signal, and then the write signal
When the signal indicates the write state, the internal reset signal
Hold the output and change the state of the write signal to the write state
And outputting the internal reset signal when not .

【0008】この場合、前記クリア信号と前記書き込み
信号を遅延する第2の遅延手段と、この第2の遅延手段
の出力に基づいて前記遅延されたリセット信号をラッチ
するラッチ手段とを備える構成としてもよい。
[0008] In this case, as configuration comprising a second delay means for delaying the write signal and the clear signal, and a latch means for latching the reset signal the delay based on the output of the second delay means Is also good.

【0009】[0009]

【発明の実施の形態】次に、本発明の実施形態を図面を
参照して説明する。図1は本発明の第1の実施形態のブ
ロック図である。同図において、メモリセル装置は、C
PU302と、EEPROMセル304と、EEPRO
M読み出し回路305と、EEPROM書き込み回路3
06と、それぞれを接続する内部バス401と、リセッ
ト信号保留回路308により構成される。前記CPU3
02は割り込み制御回路303を内蔵しEEPROM書
き込み回路306からの割り込み信号105に基づいて
割り込み要求を検出する。EEPROM書き込み回路3
06はEEPROMセル304への書き込み時間をカウ
ントする書き込み時間カウンタ307を内蔵する。書き
込み時間カウンタ307はカウント動作中に“1”にな
るEEPROM書き込み信号102を出力する。また、
前記リセット信号保留回路308はリセット端子101
に入力されるリセット信号の論理レベルと、EEPRO
M書き込み信号102の論理レベルとに基づいて、内部
リセット信号103、EEPROMInactive
(禁止)信号104を出力する。EEPROMI禁止信
号104は内部リセット信号103による初期化動作と
EEPROMセル304への書き込み動作の競合を防ぐ
信号である。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a first embodiment of the present invention. In the figure, the memory cell device is C
PU 302, EEPROM cell 304, EEPROM
M read circuit 305 and EEPROM write circuit 3
06, an internal bus 401 for connecting them, and a reset signal holding circuit 308. The CPU 3
Reference numeral 02 includes an interrupt control circuit 303 and detects an interrupt request based on the interrupt signal 105 from the EEPROM writing circuit 306. EEPROM writing circuit 3
Reference numeral 06 incorporates a write time counter 307 that counts the write time to the EEPROM cell 304. The write time counter 307 outputs the EEPROM write signal 102 which becomes "1" during the count operation. Also,
The reset signal holding circuit 308 is connected to the reset terminal 101.
And the logic level of the reset signal input to
Based on the logical level of the M write signal 102, the internal reset signal 103, the EEPROM Inactive
(Prohibition) The signal 104 is output. The EEPROMI inhibit signal 104 is a signal for preventing contention between the initialization operation by the internal reset signal 103 and the write operation to the EEPROM cell 304.

【0010】図2は前記リセット信号保留回路308の
内部構成を示す図である。Power On Clea
r(パワーオンクリア)回路301とEEPROM書き
込み信号102とがNAND回路201の入力とされ、
また、リセット端子101のリセット信号は遅延回路2
07で遅延され、前記NAND回路201の出力と共に
AND回路204に入力される。このAND回路204
の出力は前記メモリセル装置をリセットするための内部
リセット信号103となる。また、リセット端子101
にはリセット立ち上がりエッジ検出回路309が接続さ
れ、その出力は前記EEPROM禁止信号104とな
る。
FIG. 2 is a diagram showing the internal configuration of the reset signal holding circuit 308. Power On Clear
An r (power-on-clear) circuit 301 and an EEPROM write signal 102 are input to the NAND circuit 201,
Further, the reset signal of the reset terminal 101 is
07 and is input to the AND circuit 204 together with the output of the NAND circuit 201. This AND circuit 204
Is an internal reset signal 103 for resetting the memory cell device. Also, the reset terminal 101
Is connected to a reset rising edge detection circuit 309, the output of which is the EEPROM inhibition signal 104.

【0011】ここで、前記パワーオンクリア回路301
は電源投入直後に“0”を出力し、電源電圧がパワーオ
ンクリア回路301の反転レベルを越えると“1”を出
力する回路である。このパワーオンクリア回路301は
電源投入直後、リセット端子101と内部リセット信号
103による初期化が実行されるまで不定であるEEP
ROM書き込み信号102の影響を受けず確実にNAN
D回路201の出力を”1”に固定する役割を持つ。リ
セット立ち上がりエッジ検出回路309はリセット端子
101でのリセット信号の立ち上がりエッジを検出し、
EEPROMセルヘの書き込み開始を禁止するEEPR
OM禁止信号104を出力する。遅延回路207はリセ
ット端子101の立ち上がりエッジからEEPROM禁
止信号104がEEPROMセル304への書き込み開
始を禁止するまでの遅延時間と、CPU302がEEP
ROMセル304への書き込み命令を実行してからEE
PROM書き込み信号102に“1”が出力されるまで
の遅延時間の合計以上の遅延をもつ回路である。
Here, the power-on-clear circuit 301
Is a circuit which outputs "0" immediately after power-on and outputs "1" when the power supply voltage exceeds the inversion level of the power-on-clear circuit 301. The power-on-clear circuit 301 is indeterminate immediately after power-on until the reset terminal 101 and the internal reset signal 103 are initialized.
NAN reliably without being affected by the ROM write signal 102
It has a role of fixing the output of the D circuit 201 to “1”. The reset rising edge detection circuit 309 detects the rising edge of the reset signal at the reset terminal 101,
EEPROM for inhibiting the start of writing to EEPROM cells
The OM inhibit signal 104 is output. The delay circuit 207 has a delay time from the rising edge of the reset terminal 101 to the time when the EEPROM inhibition signal 104 inhibits the start of writing to the EEPROM cell 304, and the CPU 302
EE after executing a write instruction to ROM cell 304
This circuit has a delay equal to or longer than the total delay time until "1" is output to the PROM write signal 102.

【0012】次に、前記リセット信号保留回路308
備えたメモリセル装置の動作を図3〜図6を参照して説
明する。図3は電源投入直後のタイミングチャートを示
している。パワーオンクリア回路301は電源投入直後
“0”を出力しNAND回路201の出力を“1”に固
定するため、リセット端子101に入力された“1”レ
ベルは、遅延回路207による遅延を経た後、内部リセ
ット信号103へ出力される。内部リセット信号103
はメモリセル装置の内部を初期化するため、これにより
EEPROM書き込み信号102が“0”に確定する。
その後、電源電圧がパワーオンクリア回路301の反転
レベルを越えるとパワーオンクリア回路301は“1”
を出力し、以後NAND回路201の出力はEEPRO
M書き込み信号102への入力により決定される。
[0012] Next, the reset signal holding circuit 308
The operation of the provided memory cell device will be described with reference to FIGS. FIG. 3 shows a timing chart immediately after the power is turned on. Since the power-on-clear circuit 301 outputs “0” immediately after power-on and fixes the output of the NAND circuit 201 to “1”, the “1” level input to the reset terminal 101 is delayed after a delay by the delay circuit 207. , Are output to the internal reset signal 103. Internal reset signal 103
Initializes the inside of the memory cell device, whereby the EEPROM write signal 102 is determined to be "0".
Thereafter, when the power supply voltage exceeds the inversion level of the power-on-clear circuit 301, the power-on-clear circuit 301 becomes "1".
And the output of the NAND circuit 201 is EEPRO
It is determined by the input to the M write signal 102.

【0013】図4はEEPROMセル304への書き込
みが実行されている最中にリセット端子101に“1”
が入力された場合のタイミングチャートを示している。
CPU302においてEEPROMセル304への書き
込み命令が実行されると、EEPROM書き込み回路3
06は直ちにEEPROMセル304への書き込み処理
を開始し、書き込み時間カウンタ307は書き込み時間
のカウントを開始すると同時にEEPROM書き込み信
号102に“1”を出力する。これによりNAND回路
201の出力は“0”に固定され、内部RESET信号
103も“0”に固定される。したがってこの状態でリ
セット端子101に“1”が入力されても内部リセット
信号103には何も出力されない。
FIG. 4 shows that "1" is applied to the reset terminal 101 while writing to the EEPROM cell 304 is being executed.
9 shows a timing chart in the case where is input.
When a write command to the EEPROM cell 304 is executed by the CPU 302, the EEPROM write circuit 3
06 immediately starts the write process to the EEPROM cell 304, and the write time counter 307 starts counting the write time and outputs "1" to the EEPROM write signal 102 at the same time. As a result, the output of the NAND circuit 201 is fixed at “0”, and the internal RESET signal 103 is also fixed at “0”. Therefore, even if "1" is input to the reset terminal 101 in this state, nothing is output to the internal reset signal 103.

【0014】したがって、図4(a)に示すように、E
EPROM書き込み信号102が“1”の間すなわちE
BPROMセルヘの書き込みが実行されている最中にリ
セット端子101が“0”になった場合には、EEPR
OMセルのデータが確定した後のメモリセル装置の初期
化は実行されない。また、図4(b)に示すように、E
EPROMセルヘの書き込みが終了されるまでリセット
端子101への入力が“1”のままであった場合は、E
EPROMセルのデータが確定した後にメモリセル装置
の初期化が実行される。すなわち、図4のどちらの動作
においても、EEPROMセル304のデータは必ず確
定している。
Therefore, as shown in FIG.
While the EPROM write signal 102 is "1", that is, E
If the reset terminal 101 becomes “0” while writing to the BPROM cell is being executed, the EEPR
The initialization of the memory cell device after the data of the OM cell is determined is not executed. Further, as shown in FIG.
If the input to the reset terminal 101 remains "1" until the writing to the EPROM cell is finished,
After the data of the EPROM cell is determined, the initialization of the memory cell device is executed. That is, in both operations of FIG. 4, the data of the EEPROM cell 304 is always determined.

【0015】図5はEEPROMセル304への書き込
みと、リセット端子101への“1”入力が競合した場
合のタイミングチャートを示している。リセット端子1
01に“1”が入力されるとリセット立ち上がりエッジ
検出回路309はその立ち上がりエッジを検出しEEP
ROM禁止信号104を出力する。EEPROM禁止信
号104はこの信号が“1”である場合に、EEPRO
Mセルへの書き込み動作開始を禁止する信号である。図
5(a)に示すように、EEPROMセルヘの書き込み
開始がEEPROM禁止信号104よりわずかに早い場
合には、EEPROM禁止信号104は作用しない。ま
た遅延回路207の遅延によりリセット端子101への
“1”入力がAND回路204に入力されるよりも、E
EPROM書き込み信号102によってAND回路20
4の出力すなわち内部リセット信号103が“0”に固
定されるほうが早いため、EEPROMセルヘの書き込
みがそのまま実行されてメモリセル装置の初期化は保留
される。一方、図5(b)に示すように、EEPROM
への書き込み開始がEEPROM禁止信号104よりわ
ずかに遅い場合には、EEPROM禁止信号104の作
用によってEEPROMセルへの書き込みは開始されな
い。また、リセット端子101への“1”入力が内部リ
セット信号103へ出力されメモリセル装置の初期化が
実行される。すなわち、図5のどちらの動作において
も、EEPROMセル304のデータが不定になること
はない。
FIG. 5 shows a timing chart in the case where the writing to the EEPROM cell 304 and the input of "1" to the reset terminal 101 conflict. Reset terminal 1
When "1" is input to the counter 01, the reset rising edge detection circuit 309 detects the rising edge and detects EEP.
A ROM inhibition signal 104 is output. When this signal is "1", the EEPROM inhibit signal 104
This signal prohibits the start of the write operation to the M cell. As shown in FIG. 5A, when the start of writing to the EEPROM cell is slightly earlier than the EEPROM inhibition signal 104, the EEPROM inhibition signal 104 does not operate. Also, due to the delay of the delay circuit 207, the “1” input to the reset terminal 101 is more E
The AND circuit 20 is operated by the EPROM write signal 102.
Since the output of the internal reset signal 103, i.e., the internal reset signal 103 is fixed to "0" earlier, the writing to the EEPROM cell is executed as it is, and the initialization of the memory cell device is suspended. On the other hand, as shown in FIG.
When the start of writing to the EEPROM cell is slightly later than the EEPROM inhibition signal 104, the operation of the EEPROM inhibition signal 104 does not start the writing to the EEPROM cell. Further, “1” input to the reset terminal 101 is output to the internal reset signal 103, and initialization of the memory cell device is executed. That is, the data in the EEPROM cell 304 does not become unstable in either operation of FIG.

【0016】図6は、EEPROMセル304への書き
込みが実行されていない場合のタイミングチャートを示
している。このタイミングにおいてリセット端子101
への“1”入力は遅延回路207の遅延時間を経て、そ
のまま内部リセット信号103へ出力される。
FIG. 6 shows a timing chart when writing to the EEPROM cell 304 is not executed. At this timing, the reset terminal 101
Is input to the internal reset signal 103 as it is via the delay time of the delay circuit 207.

【0017】図7は本発明のリセット制御回路における
リセット信号保留回路308の他の構成例を示す図であ
る。この実施形態では、図2に示したリセット信号保留
回路308の構成に加えて、NAND回路202,20
3、インバータ回路205、206、遅延回路208を
追加し、EBPROMセルヘ書き込み動作を実行してい
る場合の、リセット端子101への“1”入力の保持回
路(ラッチ)を構成している。
FIG. 7 is a diagram showing another configuration example of the reset signal holding circuit 308 in the reset control circuit of the present invention. In this embodiment, in addition to the configuration of the reset signal holding circuit 308 shown in FIG.
3. Addition of inverter circuits 205 and 206 and delay circuit 208 constitute a holding circuit (latch) for inputting "1" to reset terminal 101 when a write operation is performed on the EBPROM cell.

【0018】図8はEBPROMセル304への書き込
みが実行されている最中にリセット端子101に“1”
が入力された場合のタイミングチャートを示している。
EEPROMセルヘの書き込み動作が実行されている場
合、すなわちEEPROM書き込み信号102が“1”
である場合にRESET端子101に“1”が入力され
ると、NAND回路202,203の作用によりNAN
D回路203の出力に“1”が保持される。次に、EE
PROMセルヘの書き込みが終了し、EEPROM書き
込み信号102の出力が“0”になるとこの時点のリセ
ット端子101のレベルによらずNAND回路203に
保持されていた“1”が内部リセット信号103へ出力
されメモリセル装置の初期化が実行される。
FIG. 8 shows that "1" is applied to the reset terminal 101 while writing to the EBPROM cell 304 is being executed.
9 shows a timing chart in the case where is input.
When the write operation to the EEPROM cell is being executed, that is, when the EEPROM write signal 102 is “1”
When "1" is input to the RESET terminal 101 in the case of
“1” is held at the output of the D circuit 203. Next, EE
When the writing to the PROM cell is completed and the output of the EEPROM write signal 102 becomes “0”, “1” held in the NAND circuit 203 is output to the internal reset signal 103 regardless of the level of the reset terminal 101 at this time. Initialization of the memory cell device is performed.

【0019】したがって、図8(a)に示すように、E
EPROM書き込み信号102に“0”が出力された時
点ですでにリセット端子101が“0”になっていた場
合は、NAND回路203の出力は遅延回路208の出
力が“1”になるタイミングで“0”になる。すなわ
ち、内部リセット信号103に出力される信号は、遅延
回路208の持つ遅延時間を最大幅に持つパルスとな
る。図8(b)に示すようにEEPROM書き込み信号
102に“0”が出力された時点でリセット端子101
が“1”のままだった場合、内部リセット信号103に
出力される信号はリセット端子101が“0”になるま
での最大幅を持つパルスとなる。この構成においても、
EEPROMセル304のデータが不定になることはな
い。また、EEPROMセル304への書き込み動作中
にリセット入力が生じた場合には、メモリセル装置の初
期化が必ず実行され、無視することはない。
Therefore, as shown in FIG.
If the reset terminal 101 is already "0" when "0" is output to the EPROM write signal 102, the output of the NAND circuit 203 becomes "1" when the output of the delay circuit 208 becomes "1". 0 ". That is, the signal output as the internal reset signal 103 is a pulse having the maximum delay time of the delay circuit 208. As shown in FIG. 8B, when "0" is output to the EEPROM write signal 102, the reset terminal 101
Remains at "1", the signal output as the internal reset signal 103 is a pulse having the maximum width until the reset terminal 101 becomes "0". Also in this configuration,
The data in the EEPROM cell 304 does not become unstable. If a reset input occurs during the write operation to the EEPROM cell 304, the memory cell device is always initialized and is not ignored.

【0020】なお、前記実施形態ではメモリセルとして
EEPROMを用いた例を説明しているが、書き込み、
読み出しが可能なメモリセルを備えてリセットにより初
期化されるメモリセル装置であれば、本発明を同様に適
用することが可能である。
In the above embodiment, an example is described in which an EEPROM is used as a memory cell.
The present invention can be similarly applied to any memory cell device that includes a readable memory cell and is initialized by reset.

【0021】[0021]

【発明の効果】以上説明したように本発明のリセット制
御回路では、リセット信号保留回路を設けており、特に
このリセット信号保留回路は、リセット信号に基づいて
メモリセルへの書き込み開始を禁止する信号を出力する
手段と、前記リセット信号を所定時間遅延させる遅延手
段と、この遅延されたリセット信号を、電源オン時に出
力されるクリア信号とメモリセル書き込み回路からの書
き込み信号の各状態に基づいてメモリセル装置のリセッ
トを行う内部リセット信号として出力する手段とを備
え、また、前記内部リセット信号として出力する手段
は、電源オン直後、前記クリア信号のレベルが反転する
までの間は前記書き込み信号の状態によらず前記内部リ
セット信号を出力し、その後は、前記書き込み信号が書
き込み状態を示す信号のときに前記内部リセット信号の
出力を保留し、前記書き込み信号の状態が書き込み状態
でないときに前記内部リセット信号を出力する構成とし
ているので、メモリセルヘの書き込みが実行されている
最中にリセット信号が入力された場合には、その書き込
みを中断せずに書き込みを完了し、メモリセルの値を必
ず確定させる。また、メモリセルヘの書き込み開始とリ
セット信号入力が競合した場合には、そのメモリセルへ
の書き込みを実行せず、あるいはリセット信号を保留し
て書き込みを実行しメモリセルの値を必ず確定させるこ
とで、メモリセルのデータが不定にならない回路を実現
できる。これにより、メモリセルヘのデータ格納がリセ
ット入力の影響を受けず、そのデータが常に正常である
ことを保証できるためメモリセル装置の誤動作、暴走を
防止することができる。
In the reset control circuit of the present invention described above, according to the present invention is provided with a reset signal hold circuit, in particular
This reset signal holding circuit is based on a reset signal.
Outputs a signal to prohibit the start of writing to memory cells
Means for delaying the reset signal by a predetermined time
And the delayed reset signal at power-on.
Input clear signal and write from memory cell write circuit
Reset of the memory cell device based on each state of the write signal
Output as an internal reset signal
Means for outputting as the internal reset signal
Immediately after the power is turned on, the level of the clear signal is inverted.
Until the internal reset is performed regardless of the state of the write signal.
Output a set signal, and then the write signal
When the signal indicates the write state, the internal reset signal
Hold the output and change the state of the write signal to the write state
The internal reset signal is output when the
Therefore, if a reset signal is input during execution of writing to the memory cell, the writing is completed without interrupting the writing, and the value of the memory cell is always determined. Also, when the start of writing to the memory cell and the reset signal input conflict, the writing to the memory cell is not executed, or the reset signal is suspended and the writing is executed to definitely determine the value of the memory cell. A circuit in which data of a memory cell does not become unstable can be realized. Thereby, the data storage in the memory cell is not affected by the reset input, and it can be guaranteed that the data is always normal, so that malfunction and runaway of the memory cell device can be prevented.

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

【図1】本発明の一実施形態のメモリセル装置のブロッ
ク図である。
FIG. 1 is a block diagram of a memory cell device according to an embodiment of the present invention.

【図2】図1のメモリセル装置のリセット信号保留回路
の回路図である。
FIG. 2 is a circuit diagram of a reset signal holding circuit of the memory cell device of FIG. 1;

【図3】電源投入直後のタイミングチャートである。FIG. 3 is a timing chart immediately after power-on.

【図4】EEPROMセルへの書き込みが行われている
最中のリセット動作を示すタイミングチャートである。
FIG. 4 is a timing chart showing a reset operation during writing to an EEPROM cell.

【図5】EEPROMセルへの書き込みとリセット信号
入力が競合した場合のリセット動作を示すタイミングチ
ャートである。
FIG. 5 is a timing chart showing a reset operation when writing to an EEPROM cell and reset signal input conflict.

【図6】EEPROMセルへの書き込みが実行されてい
ない場合のリセット動作を示すタイミングチャートであ
る。
FIG. 6 is a timing chart showing a reset operation when writing to an EEPROM cell is not executed;

【図7】本発明のリセット信号保留回路の他の構成例を
示す回路図である。
FIG. 7 is a circuit diagram showing another configuration example of the reset signal holding circuit of the present invention.

【図8】図7の動作を説明するためのタイミングチャー
トである。
FIG. 8 is a timing chart for explaining the operation of FIG. 7;

【図9】従来のメモリセル装置の一例のブロック図であ
る。
FIG. 9 is a block diagram of an example of a conventional memory cell device.

【図10】図9の動作を説明するためのタイミングチャ
ートである。
FIG. 10 is a timing chart for explaining the operation of FIG. 9;

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

101 RESET端子 102 EEPROM書き込み信号 103 内部リセット信号 104 EEPROM禁止信号 105はEEPROM書き込み終了割込み信号 201,202,203 NAND回路 204 AND回路 205,206 インバータ回路 207,208 遅延回路 301 パワーオンクリア回路 302 CPU 303 割り込み制御回路 304 EEPROMセル 305 EEPROM読み出し回路 306 EEPROM書き込み回路 307 書き込み時間カウンタ 308 リセット信号保留回路 309 リセット立ち上がりエッジ検出回路 101 RESET terminal 102 EEPROM write signal 103 Internal reset signal 104 EEPROM inhibit signal 105 is an EEPROM write end interrupt signal 201, 202, 203 NAND circuit 204 AND circuit 205, 206 Inverter circuit 207, 208 Delay circuit 301 Power-on clear circuit 302 CPU 303 Interrupt control circuit 304 EEPROM cell 305 EEPROM read circuit 306 EEPROM write circuit 307 Write time counter 308 Reset signal hold circuit 309 Reset rising edge detection circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリセルと、このメモリセルに対して
データの書き込みを実行する書き込み回路と、前記メモ
リセルを含む装置をリセット動作させるためのリセット
信号が入力されるリセット端子を有し、前記リセット端
子に入力されたリセット信号を保留することが可能なリ
セット信号保留回路を備えるメモリセル装置のリセット
制御回路において、前記リセット信号保留回路は、前記
リセット信号に基づいて前記メモリセルへの書き込み開
始を禁止する信号を出力する手段と、前記リセット信号
を所定時間遅延させる遅延手段と、この遅延されたリセ
ット信号を、電源オン時に出力されるクリア信号と前記
メモリセル書き込み回路からの書き込み信号の各状態に
基づいて前記メモリセル装置のリセットを行う内部リセ
ット信号として出力する手段とを備え、前記内部リセッ
ト信号として出力する手段は、電源オン直後、前記クリ
ア信号のレベルが反転するまでの間は前記書き込み信号
の状態によらず前記内部リセット信号を出力し、その後
は、前記書き込み信号が書き込み状態を示す信号のとき
に前記内部リセット信号の出力を保留し、前記書き込み
信号の状態が書き込み状態でないときに前記内部リセッ
ト信号を出力することを特徴とするリセット制御回路。
Has a 1. A memory cell, a write circuit to perform writing of data to the memory cells, a reset terminal to which a reset signal for resetting the device including the memory cell is input, the Reset of a memory cell device including a reset signal holding circuit capable of holding a reset signal input to a reset terminal
In the control circuit, the reset signal holding circuit is
A write operation to the memory cell is started based on a reset signal.
Means for outputting a signal for prohibiting the start, and the reset signal
Delay means for delaying the delayed reset
The clear signal output when the power is turned on and the clear signal
Each state of the write signal from the memory cell write circuit
An internal reset for resetting the memory cell device based on the
Means for outputting a reset signal as the reset signal.
The means for outputting as a reset signal is provided immediately after the power is turned on.
Until the signal level is inverted, the write signal
Output the internal reset signal regardless of the state of
Indicates that the write signal is a signal indicating a write state.
Hold the output of the internal reset signal at
When the signal state is not the write state, the internal reset is performed.
A reset control circuit for outputting a reset signal.
【請求項2】 前記クリア信号と前記書き込み信号を遅
延する第2の遅延手段と、この第2の遅延手段の出力に
基づいて前記遅延されたリセット信号をラッチするラッ
チ手段とを備える請求項1記載のリセット制御回路。
Wherein said second delay means for delaying clear signal and said write signal, claim 1 and a latch means for latching said delayed reset signal based on the output of the second delay means A reset control circuit as described .
JP6072797A 1997-03-14 1997-03-14 Reset control circuit for memory cell device Expired - Fee Related JP3114645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6072797A JP3114645B2 (en) 1997-03-14 1997-03-14 Reset control circuit for memory cell device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6072797A JP3114645B2 (en) 1997-03-14 1997-03-14 Reset control circuit for memory cell device

Publications (2)

Publication Number Publication Date
JPH10255490A JPH10255490A (en) 1998-09-25
JP3114645B2 true JP3114645B2 (en) 2000-12-04

Family

ID=13150611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6072797A Expired - Fee Related JP3114645B2 (en) 1997-03-14 1997-03-14 Reset control circuit for memory cell device

Country Status (1)

Country Link
JP (1) JP3114645B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3376306B2 (en) 1998-12-25 2003-02-10 エヌイーシーマイクロシステム株式会社 Data processing apparatus and data processing method
JP2016036455A (en) * 2014-08-06 2016-03-22 京楽産業.株式会社 Memory unit
JP2016036456A (en) * 2014-08-06 2016-03-22 京楽産業.株式会社 Memory unit

Also Published As

Publication number Publication date
JPH10255490A (en) 1998-09-25

Similar Documents

Publication Publication Date Title
US20060214009A1 (en) Nonvolatile storage apparatus
US6578124B1 (en) Serial command port method, circuit, and system including main and command clock generators to filter signals of less than a predetermined duration
EP0679981A2 (en) Reset circuit of electronic device
US20020146025A1 (en) Arbiter device for multi-port memory and semiconductor device
US6081889A (en) Method of resetting a system
JPH01297735A (en) Microprocessor
JP3114645B2 (en) Reset control circuit for memory cell device
JP2006344087A (en) Task management device for controller and task management method for controller
JP2003022670A (en) Semiconductor integrated circuit
JP4757582B2 (en) Data transfer operation end detection circuit and semiconductor memory device including the same
US7191323B2 (en) Information processing unit selecting one of reset vector addresses
US6631467B1 (en) Microcomputer timing control circuit provided with internal reset signal generator triggered by external reset signal
CN107039075B (en) Nonvolatile memory device
JP2002244916A (en) Microcontroller
JP4103452B2 (en) Data input control device for serial EEPROM
JP2008262557A (en) Task management device for controller and task management method for controller
US6775191B1 (en) Memory circuit with selective address path
JP2001188687A (en) Microcomputer
JP2809752B2 (en) Memory access circuit
JPH05127780A (en) Semiconductor integrated circuit
JP4587000B2 (en) Chip select circuit
US7149912B2 (en) Control method and circuit for stopping clock signal
JP2665043B2 (en) CPU runaway detection circuit
JP2000029747A (en) Runaway detecting circuit
JP4062478B2 (en) Device access method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130929

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees