JP2007174492A - Memory circuit - Google Patents

Memory circuit Download PDF

Info

Publication number
JP2007174492A
JP2007174492A JP2005372054A JP2005372054A JP2007174492A JP 2007174492 A JP2007174492 A JP 2007174492A JP 2005372054 A JP2005372054 A JP 2005372054A JP 2005372054 A JP2005372054 A JP 2005372054A JP 2007174492 A JP2007174492 A JP 2007174492A
Authority
JP
Japan
Prior art keywords
circuit
latch circuit
data
memory
latch
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
JP2005372054A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Okamoto
岡本  光弘
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.)
Citizen Holdings Co Ltd
Original Assignee
Citizen Holdings Co 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 Citizen Holdings Co Ltd filed Critical Citizen Holdings Co Ltd
Priority to JP2005372054A priority Critical patent/JP2007174492A/en
Publication of JP2007174492A publication Critical patent/JP2007174492A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Manipulation Of Pulses (AREA)
  • Logic Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent malfunctions from occurring in a memory circuit, even due to the noise propagated to a power supply line or a ground line, at switching on the memory circuit, or while operating the memory circuit, and to prevent content from being rewritten unexpectedly, even when a memory circuit is used as a control latch circuit for write and erasure of a memory device. <P>SOLUTION: A storage circuit constituting a memory circuit of the present invention includes a first latch circuit 5, a second latch circuit 6 for inputting inverse data thereof, and an AND circuit 13 for inputting inverted output signals of the first latch circuit 5 and the second latch circuit 6. Normally, data held are mutually inverted in the first and second latch circuits, so that there is no change in an output of the AND circuit 13; but when data to be held by the first and second latch circuits become identical due to noise or the like, data will not be outputted from the AND circuit 13. Accordingly, malfunctions can be prevented, regardless of whether the memory circuit is being switched on or is in operation. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、データや所定の回路出力を保持する記憶回路を有するメモリ回路に関し、特に双方向通信の為のシリアルデータ端子を有して外部からのデータ書き込みと、外部へのデータ読み出しの機能を持つ回路に関する。   The present invention relates to a memory circuit having a memory circuit for holding data and a predetermined circuit output, and in particular, has a serial data terminal for bidirectional communication, and functions of external data writing and external data reading. Relates to the circuit.

シリアルデータ端子を有するメモリ回路は、外部から制御コマンドをシリアルで入力し、取り込まれたシリアルデータをデコードすることで、書き込み動作や消去動作を指定する。このデコード出力は動作完了までの間、記憶回路で指定された動作の有無を保持される必要がある。   A memory circuit having a serial data terminal designates a write operation and an erase operation by serially inputting a control command from the outside and decoding the captured serial data. This decoded output needs to hold the presence or absence of the operation designated by the memory circuit until the operation is completed.

従来知られている記憶回路は、電源投入時などに電源ラインやグランドラインに重畳されるノイズによって記憶回路に記憶している初期情報が変更されてしまうことがあった。
電源投入時などに発生するノイズとは、電源投入によって通電された回路などに発生する突入電流などによるスパイク状のノイズや、電源回路自体が発生するノイズが知られている。この電源回路自体が発生するノイズは、システムの電源投入時に電圧を所望の電位まで早く安定にするように電源回路にフィードバックが掛けられることに起因している。すなわち、例えば、0Vから+5Vまで電源が上がるとき、急激に電流を供給して+5Vを超えると逆に電圧を減少させるように制御が働くのである。これは電源電位が安定するまで繰り返され、この変動が電源のノイズとなるのである。
In a conventionally known memory circuit, initial information stored in the memory circuit may be changed due to noise superimposed on the power supply line and the ground line when the power is turned on.
As noise generated when the power is turned on, spike-like noise caused by an inrush current generated in a circuit energized when the power is turned on, or noise generated by the power circuit itself is known. The noise generated by the power supply circuit itself is due to feedback being applied to the power supply circuit so as to quickly stabilize the voltage to a desired potential when the system is turned on. That is, for example, when the power source is raised from 0 V to +5 V, the control is performed so that the current is suddenly supplied and the voltage is decreased when it exceeds +5 V. This is repeated until the power supply potential is stabilized, and this fluctuation becomes power supply noise.

タイミングチャートを用いて説明する。図3は、従来知られている記憶回路の電源投入前後の様子を現したタイミングチャートである。
VDDはハイレベルの電源電位、VSSはローレベルの電位である。例えば、VDDは+5V、VSSは0V(グランド電位)である。DATAはデータ信号、CKはクロック信号、OUTは出力信号である。このタイミングチャートの記憶回路は、クロック信号CKの立ち上がりでデータ信号をラッチするラッチ回路である。
電源投入のタイミングは、記憶回路を駆動するシステムの電源に同期している事が多く、システムの電源投入時に電源ラインやグランドラインにノイズが重畳される。22aは電源電位であるVDD電位に生じたノイズを示し、22bはグランド電位であるVSS電位に生じたノイズを示している。
記憶回路には、データ信号DATAとして、当初はローレベルであり、あるタイミングでハイレベルとなる信号が入力されている。
This will be described using a timing chart. FIG. 3 is a timing chart showing a state before and after power-on of a memory circuit known in the art.
VDD is a high-level power supply potential, and VSS is a low-level potential. For example, VDD is + 5V and VSS is 0V (ground potential). DATA is a data signal, CK is a clock signal, and OUT is an output signal. The memory circuit of this timing chart is a latch circuit that latches the data signal at the rising edge of the clock signal CK.
The power-on timing is often synchronized with the power supply of the system that drives the storage circuit, and noise is superimposed on the power supply line and the ground line when the system power is turned on. 22a indicates noise generated in the VDD potential as the power supply potential, and 22b indicates noise generated in the VSS potential as the ground potential.
A signal which is initially at a low level and becomes a high level at a certain timing is input to the memory circuit as the data signal DATA.

記憶回路は、電源投入直後はその内部の論理状態が定まっていない。電源が投入されると、電源ラインがVDD電位側で安定するまでの期間、電源ラインやグランドラインにはノイズ22a,22bが生じる。このノイズによって、記憶回路の内部の論理状態が固定されてしまい、タイミングT2において出力信号OUTとしてハイレベルの信号を出力してしまう。
この誤った出力信号は、正規のクロック信号CKの立ち上がりが入力されるタイミングT3までの期間21で示す時間の間、出力され続けてしまう。
The memory circuit has an internal logic state that is not determined immediately after the power is turned on. When the power is turned on, noises 22a and 22b are generated in the power supply line and the ground line until the power supply line is stabilized on the VDD potential side. This noise fixes the internal logic state of the memory circuit, and outputs a high-level signal as the output signal OUT at the timing T2.
This erroneous output signal continues to be output for the time indicated by the period 21 until the timing T3 when the rising edge of the regular clock signal CK is input.

このような誤動作は、本来電源投入直後に内部の論理状態が固定していない記憶回路が、電源ラインやグランドラインのノイズによって、誤った論理状態に固定されてしまうことが原因であって、パワーオンリセット回路を備えて、電源投入直後に記憶回路をリセットすれば解決する。   Such a malfunction is caused by the fact that a memory circuit whose internal logic state is not fixed immediately after power-on is fixed to an incorrect logic state due to noise on the power supply line or ground line. This can be solved by providing an on-reset circuit and resetting the memory circuit immediately after power-on.

また、記憶回路そのものにリセット端子を設け、実際にデータを読み込み、読み出すときには事前にリセットをかけて記憶回路に記憶しているデータを初期情報に強制的に変更する場合もある。このようにすれば、記憶回路の初期状態が意図せずに書き換わってしまっても実害はない。このように、リセットをかけることで記憶回路の誤動作を防止する手段は、広く知られている(例えば、特許文献1参照。)。   In some cases, a reset terminal is provided in the memory circuit itself, and when data is actually read or read, the data stored in the memory circuit is forcibly changed to initial information by resetting in advance. In this way, there is no actual harm even if the initial state of the memory circuit is rewritten unintentionally. As described above, means for preventing malfunction of the memory circuit by resetting is widely known (see, for example, Patent Document 1).

[従来技術の動作説明:図4]
図4は、特許文献1に示した従来技術の記憶回路を示す図である。図4に示した従来技術は、記憶回路をリセットする例を説明するものであって、その内容を説明しやすいように書き直したものである。1はデータ信号線、2はクロック信号線、3は出力信号線、4はリセット信号線、5は記憶回路を構成するラッチ回路である。ラッチ回路5は、フリップフロップ回路を使用している例を示し、記号FFで示している。データ信号線1にはデータ信号DATAが入力され、クロック信号線2にはクロック信号CKが入力され、リセット信号線4にはリセット信号RESETが入力され、出力信号線3には出力信号OUTが出力される。
データ信号DATAは、クロック信号CKの立ち上がりでラッチ回路5にラッチされ、出力信号線3から出力信号OUTを出力する。
[Description of Operation of Conventional Technology: FIG. 4]
FIG. 4 is a diagram showing the memory circuit of the prior art disclosed in Patent Document 1. In FIG. The prior art shown in FIG. 4 describes an example of resetting a memory circuit, and the contents are rewritten so as to facilitate explanation. 1 is a data signal line, 2 is a clock signal line, 3 is an output signal line, 4 is a reset signal line, and 5 is a latch circuit constituting a memory circuit. The latch circuit 5 shows an example using a flip-flop circuit, and is indicated by a symbol FF. The data signal DATA is input to the data signal line 1, the clock signal CK is input to the clock signal line 2, the reset signal RESET is input to the reset signal line 4, and the output signal OUT is output to the output signal line 3. Is done.
The data signal DATA is latched by the latch circuit 5 at the rising edge of the clock signal CK, and the output signal OUT is output from the output signal line 3.

特許文献1に示した従来技術は、ラッチ回路5にリセット信号線4を介してリセット信号RESETを入力することで、ラッチ回路5の動作開始時にその内容を初期情報に書き換える。例えば、本来電源投入直後には内部の論理状態が固定していないラッチ回路5を、リセット信号RESETによってローレベルにするのである。これにより、ノイズなどによって生じる意図しない情報の書き換えを防ぐことができる。   In the prior art disclosed in Patent Document 1, the reset signal RESET is input to the latch circuit 5 via the reset signal line 4 so that the content is rewritten to initial information when the operation of the latch circuit 5 is started. For example, the latch circuit 5 whose internal logic state is not fixed immediately after power-on is brought to a low level by the reset signal RESET. Thereby, it is possible to prevent unintended rewriting of information caused by noise or the like.

特開2002−50200号公報(第1図)Japanese Patent Laid-Open No. 2002-50200 (FIG. 1)

従来知られている技術は、電源投入直後に記憶回路に対してリセット信号を入力することで、記憶回路の動作開始時にその内容を初期情報に書き換えているために、ノイズなどによって生じる意図しない情報の書き換えを防ぐことができる。
しかしながら、ノイズは、電源投入時(記憶回路の動作開始時)だけに発生するものではない。電源ラインに接続している他の回路の動作に伴い電源電位が変動することによる電源電圧変動ノイズなどが知られている。例えば、大きな電流を流す液晶表示装置やモーターの駆動回路の動作によって、電源ラインやグランドラインの電源電位が変動する場合がある。これらは、いわゆる電源系配線の揺れと呼ばれる現象であり、このような電源系のノイズは、電源電圧変動ノイズと呼ぶ。
Conventionally known technology is that unintentional information generated by noise etc. because the contents are rewritten to initial information at the start of operation of the memory circuit by inputting a reset signal to the memory circuit immediately after power-on. Can be prevented from being rewritten.
However, noise does not occur only when the power is turned on (when the operation of the memory circuit starts). There is known a power supply voltage fluctuation noise caused by a power supply potential fluctuating with the operation of another circuit connected to the power supply line. For example, the power supply potential of the power supply line or the ground line may fluctuate due to the operation of a liquid crystal display device or a motor drive circuit that passes a large current. These are so-called fluctuations of the power supply system wiring, and such power supply system noise is called power supply voltage fluctuation noise.

このような回路動作による電源電圧変動ノイズは、電源ラインやグランドラインの電位を変動させる要因を作る回路などの動作に関連して発生してしまうものであるから、記憶回路をリセットするタイミングには関係しない。したがって、記憶回路をリセットした後であっても、電源電圧変動ノイズは、この記憶回路に電源ラインを伝播して印加され、記憶回路は、意図せずにデータが書き換わってしまうことがあった。   Such power supply voltage fluctuation noise due to circuit operation is generated in connection with the operation of a circuit or the like that creates a factor that fluctuates the potential of the power supply line or the ground line. It doesn't matter. Therefore, even after the memory circuit is reset, the power supply voltage fluctuation noise is applied to the memory circuit by propagating through the power line, and the memory circuit may rewrite data unintentionally. .

このような記憶回路の誤動作は、システム上、大きな問題を有する。例えば、EEPROMなどのメモリ手段を有するメモリ回路の制御回路に記憶回路を用いた場合である。制御回路は、メモリ手段への書き込みと消去とに用いられる制御信号を作り出すものであって、この制御信号をラッチするラッチ回路として記憶回路を用いる場合が多いのである。記憶回路の意図しない制御信号の書き換えは、メモリ手段に対して書き込みまたは消去の動作を許可する信号としてみなされ、結果として意図せずメモリ手段の情報が書き換わっ
てしまうという問題である。
Such a malfunction of the memory circuit has a serious problem on the system. For example, a memory circuit is used as a control circuit of a memory circuit having memory means such as an EEPROM. The control circuit generates a control signal used for writing and erasing the memory means, and a memory circuit is often used as a latch circuit for latching the control signal. The unintentional rewriting of the control signal of the memory circuit is regarded as a signal for permitting the memory means to perform a write or erase operation, and as a result, the information in the memory means is rewritten unintentionally.

[メモリ手段のブロック図:図5]
詳しく説明する。図5は、すでに説明した記憶回路を制御回路に有するメモリ回路を説明するためのブロック図である。14は双方向のデータ線、15はシフトレジスタのシフトクロックCKを入力する信号線、16は書き込みと消去とに用いる高電圧VPPの電源線、17はシフトレジスタ、18はシフトレジスタのデータをデコードするデコード回路、19は制御回路、20はメモリ手段であるEEPROMである。
双方向のデータ線14には、入力時には信号DATAが入力され、出力時にはEEPROM20の読み出しデータが出力される。信号DATAは、シフトレジスタ17に入力され、デコード回路18によってデコードされる。
制御回路19は、ラッチ回路(記憶回路)を用いており、書き込みや消去のための動作を制御するフラグを作成する。フラグとは電気信号のことであり、例えば、EEPROM20に対して書き込みを制御する信号を制御回路19が出力するときに、書き込みのフラグが立つなどという。
[Block diagram of memory means: FIG. 5]
explain in detail. FIG. 5 is a block diagram for explaining a memory circuit having the memory circuit described above as a control circuit. 14 is a bi-directional data line, 15 is a signal line for inputting the shift clock CK of the shift register, 16 is a power line for a high voltage VPP used for writing and erasing, 17 is a shift register, and 18 is for decoding shift register data. Decoding circuit 19 is a control circuit, and 20 is an EEPROM as a memory means.
A signal DATA is input to the bidirectional data line 14 at the time of input, and read data of the EEPROM 20 is output at the time of output. The signal DATA is input to the shift register 17 and decoded by the decoding circuit 18.
The control circuit 19 uses a latch circuit (memory circuit) and creates a flag for controlling operations for writing and erasing. The flag is an electric signal. For example, when the control circuit 19 outputs a signal for controlling writing to the EEPROM 20, the writing flag is set.

EEPROM20の書き込みと消去とに用いる電圧である高電位VPPは、電源線16より供給する。例えば、書き込みを行う場合、制御回路19が書き込みのフラグを立てる。この状態は、制御回路19が有するラッチ回路の出力が「1」となる。このフラグの値は、当該制御が終了するまで保持され、その保持期間にEEPROM20の書き込み電圧である高電位VPPを供給するように制御される。   A high potential VPP which is a voltage used for writing and erasing of the EEPROM 20 is supplied from the power supply line 16. For example, when writing is performed, the control circuit 19 sets a writing flag. In this state, the output of the latch circuit included in the control circuit 19 is “1”. The value of this flag is held until the control is completed, and the high potential VPP which is the write voltage of the EEPROM 20 is controlled to be supplied during the holding period.

電源ラインやグランドラインを伝播する電源電圧変動ノイズは、制御回路19が有するラッチ回路の出力を変動させる。例えば、ラッチ回路の誤動作によって制御回路19のフラグが「1」から「0」に変動してしまうと、EEPROM20への書き込みが途中で終了してしまうことがある。もちろん、誤動作はEEPROM20への消去の場合にも発生する。したがって、ラッチ回路の誤動作は、EEPROM20を意図せず書き込み動作、消去動作を行ってしまうのである。   The power supply voltage fluctuation noise propagating through the power supply line and the ground line fluctuates the output of the latch circuit included in the control circuit 19. For example, if the flag of the control circuit 19 changes from “1” to “0” due to a malfunction of the latch circuit, writing to the EEPROM 20 may be terminated halfway. Of course, a malfunction also occurs in the case of erasing to the EEPROM 20. Therefore, a malfunction of the latch circuit causes the EEPROM 20 to perform a write operation and an erase operation unintentionally.

このように、記憶回路とは異なる回路が動作し、それにより記憶回路の電源ラインやグランドラインに電源電圧変動ノイズが伝播するかどうか、またその発生タイミングを正確に知り得ることは大変難しく、従来技術では、記憶回路の意図しないデータ書き換えや消去を完全に防ぐことはできなかった。   In this way, a circuit different from the memory circuit operates, and it is very difficult to accurately know whether or not the power supply voltage fluctuation noise propagates to the power supply line or the ground line of the memory circuit, and the generation timing thereof. The technology cannot completely prevent unintended data rewriting and erasing of the memory circuit.

前述した課題を解決するため、本発明のメモリ回路は下記の特徴を有する。   In order to solve the above-described problems, the memory circuit of the present invention has the following characteristics.

データを入力するためのデータ入力端子と、データの値を保持するタイミングを入力するためのクロック入力端子と、保持されたデータを出力する出力端子とを備え、2つの状態が交互に変化する1ビットの記憶回路を有するメモリ回路において、
記憶回路は、データを保持する第1のラッチ回路と、データの反転信号を保持する第2のラッチ回路とを有してなり、 第2のラッチ回路の出力を反転して出力する反転出力手段と、反転出力手段の出力と第1のラッチ回路の出力との積を演算するアンド回路とを備えることを特徴とする。
A data input terminal for inputting data, a clock input terminal for inputting a timing for holding the value of the data, and an output terminal for outputting the held data are provided. In a memory circuit having a bit storage circuit,
The memory circuit includes a first latch circuit that holds data and a second latch circuit that holds an inverted signal of the data, and an inverting output unit that inverts and outputs the output of the second latch circuit And an AND circuit that calculates the product of the output of the inverting output means and the output of the first latch circuit.

第1のラッチ回路と第2のラッチ回路とは、同一の電源ラインを介して駆動電圧を給電されるか、互いに近接して配設することを特徴とする。   The first latch circuit and the second latch circuit are characterized by being supplied with a driving voltage through the same power line or arranged close to each other.

第1のラッチ回路と第2のラッチ回路とは、互いに同一の回路構成または同一の素子で構成することを特徴とする。   The first latch circuit and the second latch circuit have the same circuit configuration or the same element.

第1のラッチ回路または第2のラッチ回路は、データ入力型のフリップフロップであることを特徴とする。   The first latch circuit or the second latch circuit is a data input type flip-flop.

本発明のメモリ回路によれば、電源ラインやグランドラインにノイズが伝播しても誤動作を起こすことはない。メモリ回路を構成する記憶回路がノイズによって誤動作を生じても、メモリ回路から誤った信号を出力することはないのである。
本発明のメモリ回路は、電源投入時だけではなく回路動作中であっても、その回路動作によって生じるノイズによる誤動作を防止することができる。
According to the memory circuit of the present invention, no malfunction occurs even if noise propagates to the power supply line or the ground line. Even if a memory circuit constituting the memory circuit malfunctions due to noise, an erroneous signal is not output from the memory circuit.
The memory circuit of the present invention can prevent malfunction caused by noise caused by the circuit operation not only when the power is turned on but also during the circuit operation.

本発明のメモリ回路は、EEPROMなどの不揮発性メモリの制御回路に用いることができる。すなわち、本発明のメモリ回路を不揮発性メモリの書き込みと消去との制御信号のラッチ回路として使用することができる。このようにした場合、不揮発性メモリへの誤書き込み、誤消去を防止することができ、信頼性の高いメモリ装置を構成することができるという利点を有するものである。   The memory circuit of the present invention can be used for a control circuit of a nonvolatile memory such as an EEPROM. That is, the memory circuit of the present invention can be used as a latch circuit for control signals for writing and erasing of a nonvolatile memory. In such a case, erroneous writing to the nonvolatile memory and erroneous erasure can be prevented, and a highly reliable memory device can be configured.

以下、図面に基づいて本発明の実施の形態を説明する。図1は本発明のメモリ回路を示すブロック図である。図1において、1はデータ信号線、2はクロック信号線、3は出力信号線、5は第1のラッチ回路、6は第2のラッチ回路、7は第1のラッチ回路5の出力信号線、8は第2のラッチ回路6の出力信号線、11は第1の反転出力手段、12は第2の反転出力手段、9は第2の反転出力手段の出力信号線、13はアンド回路である。
第1のラッチ回路5と第2のラッチ回路6とは、それぞれ2つの状態が交互に変化する1ビットの記憶回路であって、例えば、データ入力型のフリップフロップ回路である。図1においては、記号FFで示している。本発明のメモリ回路は、第1のラッチ回路5とこれの反転データを入力する第2のラッチ回路6と、第1のラッチ回路5と第2のラッチ回路6の反転出力信号とを入力するアンド回路13とを有している。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a memory circuit of the present invention. In FIG. 1, 1 is a data signal line, 2 is a clock signal line, 3 is an output signal line, 5 is a first latch circuit, 6 is a second latch circuit, and 7 is an output signal line of the first latch circuit 5. , 8 is an output signal line of the second latch circuit 6, 11 is a first inverted output means, 12 is a second inverted output means, 9 is an output signal line of the second inverted output means, and 13 is an AND circuit. is there.
Each of the first latch circuit 5 and the second latch circuit 6 is a 1-bit storage circuit in which two states change alternately, and is, for example, a data input type flip-flop circuit. In FIG. 1, it is indicated by a symbol FF. The memory circuit of the present invention inputs the first latch circuit 5, the second latch circuit 6 for inputting inverted data thereof, and the inverted output signals of the first latch circuit 5 and the second latch circuit 6. And an AND circuit 13.

データ信号線1にはデータ信号DATAが入力され、クロック信号線2にはクロック信号CKが入力され、出力信号線3には出力信号OUTが出力される。
データ信号DATAは、第1のラッチ回路5のデータ入力端子と第1の反転出力手段11の入力端子に接続している。第2のラッチ回路6のデータ入力端子には、データ信号DATAの反転信号が第1の反転出力手段11により生成され、入力されている。
第1の反転出力手段11と第2の反転出力手段12とは、例えば、インバータ回路である。
A data signal DATA is input to the data signal line 1, a clock signal CK is input to the clock signal line 2, and an output signal OUT is output to the output signal line 3.
The data signal DATA is connected to the data input terminal of the first latch circuit 5 and the input terminal of the first inverting output means 11. An inverted signal of the data signal DATA is generated and inputted to the data input terminal of the second latch circuit 6 by the first inverted output means 11.
The first inversion output unit 11 and the second inversion output unit 12 are, for example, inverter circuits.

クロック信号CKは、第1のラッチ回路5と第2のラッチ回路6とのクロック入力端子に入力されており、第1のラッチ回路5と第2のラッチ回路6とは、クロック信号CKの立ち上がりでデータ信号をラッチし、出力信号線7,8から出力信号を出力する。
第2のラッチ回路6の出力信号8は、第2の反転出力手段12により反転する。第1のラッチ回路の出力信号線7と第2の出力反転手段12の出力信号線9とはアンド回路13の入力端子に接続しており、第1のラッチ回路5の出力と第2のラッチ回路6の反転出力との積を演算する。
The clock signal CK is input to the clock input terminals of the first latch circuit 5 and the second latch circuit 6, and the first latch circuit 5 and the second latch circuit 6 are connected to the rising edge of the clock signal CK. To latch the data signal and output the output signal from the output signal lines 7 and 8.
The output signal 8 of the second latch circuit 6 is inverted by the second inversion output means 12. The output signal line 7 of the first latch circuit and the output signal line 9 of the second output inverting means 12 are connected to the input terminal of the AND circuit 13, and the output of the first latch circuit 5 and the second latch The product with the inverted output of the circuit 6 is calculated.

第1のラッチ回路5と第2のラッチ回路6とを同一の電源ラインを介して駆動電圧を給電されるか、互いに近接して配設する。
このようにすることによって、電源ラインやグランドラインを伝播するノイズにより発生する誤動作は高い確率で第1のラッチ回路5と第2のラッチ回路6とのどちらから一方か、あるいは双方に発生する。
The first latch circuit 5 and the second latch circuit 6 are supplied with a driving voltage through the same power supply line or arranged close to each other.
By doing so, a malfunction that occurs due to noise propagating through the power supply line and the ground line occurs with high probability in either one or both of the first latch circuit 5 and the second latch circuit 6.

通常時は、第1のラッチ回路5と第2のラッチ回路6とが保持するデータは互いに反転しているため、第2のラッチ回路6の出力(出力信号線8の信号)を反転した信号(出力信号線9の信号)は、第1のラッチ回路5の出力(出力信号線7の信号)と同相となり、アンド回路13で論理積を演算しても変化しない。   In normal times, the data held by the first latch circuit 5 and the second latch circuit 6 are inverted from each other. Therefore, a signal obtained by inverting the output of the second latch circuit 6 (signal of the output signal line 8). The (signal of the output signal line 9) is in phase with the output of the first latch circuit 5 (signal of the output signal line 7), and does not change even if the AND circuit 13 calculates the logical product.

電源ラインやグランドラインを伝播するノイズにより誤動作が発生した場合、第1のラッチ回路5と第2のラッチ回路6とが保持するデータは互いに同じ(例えば、ハイレベル)となり、第2のラッチ回路6の出力(出力信号線8の信号)を反転した信号(出力信号線9の信号)は、第1のラッチ回路5の出力(出力信号線7の信号)と逆相となる。すると、アンド回路13で論理積を演算しても出力信号線3からはデータは出力されないのである。つまり、第1のラッチ回路5と第2のラッチ回路6とに誤動作があっても、メモリ回路が誤った信号を出力することはないのである。   When a malfunction occurs due to noise propagating through the power supply line or the ground line, the data held by the first latch circuit 5 and the second latch circuit 6 are the same (for example, high level), and the second latch circuit 6 (the signal of the output signal line 9) is inverted in phase with the output of the first latch circuit 5 (the signal of the output signal line 7). Then, even if the AND circuit 13 calculates the logical product, no data is output from the output signal line 3. That is, even if the first latch circuit 5 and the second latch circuit 6 malfunction, the memory circuit does not output an erroneous signal.

第1のラッチ回路5と第2のラッチ回路6とは、同一の回路構成である方が好ましい。また、これらのラッチ回路を半導体素子などのスイッチング素子で構成する場合は、同一の電気特性を有する素子で回路を構成することが好ましい。このような構成であれば、電源ラインやグランドラインを伝播するノイズに対して第1のラッチ回路5と第2のラッチ回路6とが同じ影響を受けやすくなるのである。   It is preferable that the first latch circuit 5 and the second latch circuit 6 have the same circuit configuration. In addition, when these latch circuits are constituted by switching elements such as semiconductor elements, it is preferable that the circuits are constituted by elements having the same electrical characteristics. With such a configuration, the first latch circuit 5 and the second latch circuit 6 are easily affected by the same noise with respect to noise propagating through the power supply line and the ground line.

[本発明のタイミングチャート:図2]
図2は本発明のメモリ回路のタイミングチャートを説明する図である。VDDはメモリ回路の正の電源電位でありハイレベルの電源電位、VSSは負の電源電位でありローレベルの電位である。例えば、例えば、VDDは+5V、VSSは0V(グランド電位)である。22aは電源電位であるVDD電位に生じたノイズを示し、22bはグランド電位であるVSS電位に生じたノイズを示している。
[Timing chart of the present invention: FIG. 2]
FIG. 2 is a diagram illustrating a timing chart of the memory circuit of the present invention. VDD is a positive power supply potential of the memory circuit and a high level power supply potential, and VSS is a negative power supply potential and a low level potential. For example, for example, VDD is + 5V and VSS is 0V (ground potential). 22a indicates noise generated in the VDD potential as the power supply potential, and 22b indicates noise generated in the VSS potential as the ground potential.

信号70は第1のラッチ回路5の出力信号線7の信号、信号80は第2のラッチ回路6の出力信号線8の信号、OUTはアンド回路13の出力信号を示す。
通常時は、互いに反転した信号をラッチする第1のラッチ回路5と第2のラッチ回路6であるが、電源投入直後はその内部の論理状態が定まっていない。そのため、電源が投入された際に生じるノイズ22a,22bによって、第1のラッチ回路5と第2のラッチ回路6との内部の論理状態がハイレベルに固定される。これは、第1のラッチ回路5と第2のラッチ回路6とが、同一の電源ラインを介して駆動電圧を給電されるか、互いに近接して配設しているために、ノイズに対して同じ影響を受けるからである。
A signal 70 is a signal of the output signal line 7 of the first latch circuit 5, a signal 80 is a signal of the output signal line 8 of the second latch circuit 6, and OUT is an output signal of the AND circuit 13.
Normally, the first latch circuit 5 and the second latch circuit 6 latch the signals that are inverted with each other, but the internal logic state is not determined immediately after the power is turned on. Therefore, the internal logic states of the first latch circuit 5 and the second latch circuit 6 are fixed to a high level by the noises 22a and 22b generated when the power is turned on. This is because the first latch circuit 5 and the second latch circuit 6 are supplied with driving voltage through the same power supply line or arranged close to each other, so that It is because it receives the same influence.

図2に示すように、信号70と信号80とが互いにタイミングT1においてノイズの影響でハイレベルとなっても、正規のクロック信号CKの立ち上がりが入力されるタイミングT3までの期間、アンド回路13の出力信号であるOUTは、第1のラッチ回路5と第2のラッチ回路6との誤動作に影響されてはいない。つまり、第1のラッチ回路5の出力信号と第2のラッチ回路6の出力信号を反転した出力信号との論理積を演算結果として出力線OUTに出力するために、メモリ回路自体の出力OUTは、ラッチ回路の誤動作は反映されないのである。   As shown in FIG. 2, even if the signal 70 and the signal 80 are at a high level due to the influence of noise at the timing T1, the period of the AND circuit 13 during the period up to the timing T3 when the rising edge of the regular clock signal CK is input. The output signal OUT is not affected by the malfunction of the first latch circuit 5 and the second latch circuit 6. That is, in order to output the logical product of the output signal of the first latch circuit 5 and the output signal obtained by inverting the output signal of the second latch circuit 6 to the output line OUT as the operation result, the output OUT of the memory circuit itself is The malfunction of the latch circuit is not reflected.

図2を用いて本発明のメモリ回路の電源投入時に発生するノイズの影響について説明したが、もちろん、通常動作時に他の回路の動作によって生じるノイズの影響があっても、本発明のメモリ回路が正常に動作することはいうまでもない。   Although the influence of noise generated when the power of the memory circuit of the present invention is turned on has been described with reference to FIG. 2, the memory circuit of the present invention can of course be affected even by the influence of noise caused by the operation of other circuits during normal operation. Needless to say, it operates normally.

以上の説明で明らかなように、本発明のメモリ回路は、回路を構成する記憶回路が、電源ラインやグランドラインに伝播するノイズによって誤動作を生じても、メモリ回路全体
としては、誤動作を生じないのである。
電源ラインやグランドラインに伝播するノイズは、メモリ回路の電源投入時だけではなく回路動作中であっても生じるが、本発明のメモリ回路は、誤動作をすることはない。
As is apparent from the above description, the memory circuit of the present invention does not malfunction as a whole memory circuit even if the memory circuit constituting the circuit malfunctions due to noise propagating to the power supply line or the ground line. It is.
Although noise propagated to the power supply line and the ground line is generated not only when the memory circuit is powered on but also during circuit operation, the memory circuit of the present invention does not malfunction.

本発明のメモリ回路は、メモリ回路の電源投入時や動作中であっても、ノイズによる誤動作を発生しない。したがって、EEPROMなどのメモリ装置の制御回路に適用することができる。特に、ノイズの影響を受けてはならない電子機器用のメモリ装置に好適である。   The memory circuit of the present invention does not malfunction due to noise even when the memory circuit is powered on or in operation. Therefore, it can be applied to a control circuit of a memory device such as an EEPROM. In particular, it is suitable for a memory device for electronic equipment that should not be affected by noise.

本発明のメモリ回路のブロック図である。It is a block diagram of a memory circuit of the present invention. 本発明のメモリ回路を説明するタイミングチャートである。3 is a timing chart illustrating a memory circuit of the present invention. 従来技術のタイミングチャートである。It is a timing chart of a prior art. 従来技術の記憶回路のブロック図である。It is a block diagram of the memory circuit of a prior art. 従来技術のEEPROMの制御回路を説明するブロック図である。It is a block diagram explaining the control circuit of the EEPROM of a prior art.

符号の説明Explanation of symbols

1 データ信号線
2 クロック信号線
3 出力信号線
5 第1のラッチ回路
6 第2のラッチ回路
7 第1のラッチ回路5の出力信号線
8 第2のラッチ回路6の出力信号線
11 第1の反転出力手段
12 第2の反転出力手段
13 アンド回路
70 出力信号線7の信号
80 出力信号線8の信号
1 data signal line 2 clock signal line 3 output signal line 5 first latch circuit 6 second latch circuit 7 output signal line of first latch circuit 5 8 output signal line of second latch circuit 6 11 first Inverted output means 12 Second inverted output means 13 AND circuit 70 Signal on output signal line 7 80 Signal on output signal line 8

Claims (4)

データを入力するためのデータ入力端子と、該データの値を保持するタイミングを入力するためのクロック入力端子と、保持された前記データを出力する出力端子とを備え、2つの状態が交互に変化する1ビットの記憶回路を有するメモリ回路において、
前記記憶回路は、前記データを保持する第1のラッチ回路と、前記データの反転信号を保持する第2のラッチ回路とを有してなり、
前記第2のラッチ回路の出力を反転して出力する反転出力手段と、
前記反転出力手段の出力と前記第1のラッチ回路の出力との積を演算するアンド回路とを備えることを特徴とするメモリ回路。
A data input terminal for inputting data, a clock input terminal for inputting timing for holding the value of the data, and an output terminal for outputting the held data, and the two states change alternately In a memory circuit having a 1-bit storage circuit,
The memory circuit includes a first latch circuit that holds the data, and a second latch circuit that holds an inverted signal of the data,
Inverting output means for inverting and outputting the output of the second latch circuit;
A memory circuit comprising: an AND circuit for calculating a product of an output of the inverting output means and an output of the first latch circuit.
前記第1のラッチ回路と前記第2のラッチ回路とは、同一の電源ラインを介して駆動電圧を給電されるか、互いに近接して配設することを特徴とする請求項1に記載のメモリ回路。   2. The memory according to claim 1, wherein the first latch circuit and the second latch circuit are supplied with a driving voltage through the same power line or are arranged close to each other. circuit. 前記第1のラッチ回路と前記第2のラッチ回路とは、互いに同一の回路構成または同一の素子で構成することを特徴とする請求項1または2に記載のメモリ回路。   3. The memory circuit according to claim 1, wherein the first latch circuit and the second latch circuit are configured with the same circuit configuration or the same element. 前記第1のラッチ回路または前記第2のラッチ回路は、データ入力型のフリップフロップであることを特徴とする請求項1から3のいずれか1つに記載のメモリ回路。   4. The memory circuit according to claim 1, wherein the first latch circuit or the second latch circuit is a data input type flip-flop. 5.
JP2005372054A 2005-12-26 2005-12-26 Memory circuit Pending JP2007174492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005372054A JP2007174492A (en) 2005-12-26 2005-12-26 Memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005372054A JP2007174492A (en) 2005-12-26 2005-12-26 Memory circuit

Publications (1)

Publication Number Publication Date
JP2007174492A true JP2007174492A (en) 2007-07-05

Family

ID=38300427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005372054A Pending JP2007174492A (en) 2005-12-26 2005-12-26 Memory circuit

Country Status (1)

Country Link
JP (1) JP2007174492A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011188699A (en) * 2010-03-11 2011-09-22 Nissin Electric Co Ltd Contact output circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336202A (en) * 1994-06-03 1995-12-22 Mitsubishi Denki Semiconductor Software Kk Clock switching circuit
JPH10336002A (en) * 1997-04-03 1998-12-18 Seiko Instr Inc Semiconductor integrated circuit
WO2005020437A1 (en) * 2003-08-22 2005-03-03 Rohm Co., Ltd Semiconductor integrated circuit device and power supply voltage monitor system employing it

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336202A (en) * 1994-06-03 1995-12-22 Mitsubishi Denki Semiconductor Software Kk Clock switching circuit
JPH10336002A (en) * 1997-04-03 1998-12-18 Seiko Instr Inc Semiconductor integrated circuit
WO2005020437A1 (en) * 2003-08-22 2005-03-03 Rohm Co., Ltd Semiconductor integrated circuit device and power supply voltage monitor system employing it

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011188699A (en) * 2010-03-11 2011-09-22 Nissin Electric Co Ltd Contact output circuit

Similar Documents

Publication Publication Date Title
JP5009892B2 (en) Driving device for liquid crystal display device and driving method thereof
JP2006140988A (en) Clock oscillator of semiconductor device
JP4914232B2 (en) Semiconductor device
US7161864B2 (en) Bit refresh circuit for refreshing register bit values, integrated circuit device having the same, and method of refreshing register bit values
JP5437658B2 (en) Data reading circuit and semiconductor memory device
CN111477154B (en) Communication structure of display panel and display panel
JP4775693B2 (en) 2-wire transmitter
JP2007174492A (en) Memory circuit
JP5337108B2 (en) Memory circuit and voltage detection circuit having the same
US6594190B2 (en) Semiconductor device with output latch circuit outputting complementary data at high speed
US7224608B2 (en) Semiconductor device
US6242940B1 (en) Data input buffer circuit
JP3762558B2 (en) Semiconductor memory device, output signal control method and output signal control circuit in semiconductor memory device
JP2008145296A (en) Semiconductor storage device
CN106875976B (en) Test mode setting circuit and semiconductor device including the same
JP5624846B2 (en) Authentication system
JP3802874B2 (en) Memory cell location array
US9088271B2 (en) Dual-port positive level sensitive data retention latch
JP5738724B2 (en) Trimming circuit, system, determination program, confirmation method, and determination method
JP2006108762A (en) Nonvolatile logic circuit and driving method thereof
CN116028414B (en) Power consumption control circuit and control device
KR100774459B1 (en) Level shifter
JP2006244117A (en) Electronic circuit and portable information terminal
JP2007004931A (en) Operation control circuit of semiconductor storage device, semiconductor storage device, and electronic device
KR20090002489A (en) Precharge control circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080530

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100831