JP7376933B2 - non-volatile logic circuit - Google Patents

non-volatile logic circuit Download PDF

Info

Publication number
JP7376933B2
JP7376933B2 JP2020562967A JP2020562967A JP7376933B2 JP 7376933 B2 JP7376933 B2 JP 7376933B2 JP 2020562967 A JP2020562967 A JP 2020562967A JP 2020562967 A JP2020562967 A JP 2020562967A JP 7376933 B2 JP7376933 B2 JP 7376933B2
Authority
JP
Japan
Prior art keywords
pair
logic circuit
complementary state
nonvolatile logic
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020562967A
Other languages
Japanese (ja)
Other versions
JPWO2020137341A1 (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.)
Tohoku University NUC
Original Assignee
Tohoku University NUC
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 Tohoku University NUC filed Critical Tohoku University NUC
Publication of JPWO2020137341A1 publication Critical patent/JPWO2020137341A1/en
Application granted granted Critical
Publication of JP7376933B2 publication Critical patent/JP7376933B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/161Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect details concerning the memory cell structure, e.g. the layers of the ferromagnetic memory cell
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/02Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components
    • H03K19/18Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits using specified components using galvano-magnetic devices, e.g. Hall-effect devices
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/165Auxiliary circuits
    • G11C11/1653Address circuits or decoders
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/165Auxiliary circuits
    • G11C11/1673Reading or sensing circuits or methods
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01LSEMICONDUCTOR DEVICES NOT COVERED BY CLASS H10
    • H01L27/00Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate
    • H01L27/02Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components specially adapted for rectifying, oscillating, amplifying or switching and having at least one potential-jump barrier or surface barrier; including integrated passive circuit elements with at least one potential-jump barrier or surface barrier
    • H01L27/04Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components specially adapted for rectifying, oscillating, amplifying or switching and having at least one potential-jump barrier or surface barrier; including integrated passive circuit elements with at least one potential-jump barrier or surface barrier the substrate being a semiconductor body
    • H01L27/10Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components specially adapted for rectifying, oscillating, amplifying or switching and having at least one potential-jump barrier or surface barrier; including integrated passive circuit elements with at least one potential-jump barrier or surface barrier the substrate being a semiconductor body including a plurality of individual components in a repetitive configuration
    • H01L27/105Devices consisting of a plurality of semiconductor or other solid-state components formed in or on a common substrate including semiconductor components specially adapted for rectifying, oscillating, amplifying or switching and having at least one potential-jump barrier or surface barrier; including integrated passive circuit elements with at least one potential-jump barrier or surface barrier the substrate being a semiconductor body including a plurality of individual components in a repetitive configuration including field-effect components
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10BELECTRONIC MEMORY DEVICES
    • H10B61/00Magnetic memory devices, e.g. magnetoresistive RAM [MRAM] devices
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10BELECTRONIC MEMORY DEVICES
    • H10B99/00Subject matter not provided for in other groups of this subclass
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10NELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10N50/00Galvanomagnetic devices
    • H10N50/10Magnetoresistive devices
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10NELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10N50/00Galvanomagnetic devices
    • H10N50/80Constructional details
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits

Description

本発明は、不揮発性論理回路に関する。 The present invention relates to nonvolatile logic circuits.

ビッグデータの活用とともに人工知能(AI)技術又は深層学習(Deep Learning)技術の開発は急速に進んでおり、画像認識、音声認識、文章生成、ゲームに至るまで、様々な分野に適用されている。しかしながら、その応用範囲を広げるためには、膨大な計算及びハードウェアコストの問題を解決する必要がある。これらのコストを削減するための技術として、近年、量子化が注目されている。これは、通常浮動小数点又は固定小数点表現の数値を対象とした乗算及び加算といったディープニューラルネットワーク(DNN)における主要な処理を、量子化された数値を対象としたより省コストな演算に置き換え、計算コストの削減を図るものである。特に、3値表現を用いる3値化ニューラルネットワーク(Ternary Neural Network:TNN)は、ニューラルネットワークにおける積和演算を論理演算に置き換えられ、且つ十分な認識性能が得られることが示されており、ハードウェア化における有効な技術として特に注目されている。 Along with the use of big data, the development of artificial intelligence (AI) technology or deep learning technology is progressing rapidly, and is being applied to a variety of fields, including image recognition, voice recognition, text generation, and games. . However, in order to widen its application range, it is necessary to solve problems of enormous computational and hardware costs. Quantization has recently attracted attention as a technique for reducing these costs. This replaces the main processing in deep neural networks (DNNs), such as multiplication and addition, which typically target numbers in floating-point or fixed-point representation, with cheaper operations that target quantized numbers. The aim is to reduce costs. In particular, ternary neural networks (TNNs) that use ternary representations have been shown to be able to replace the product-sum operations in neural networks with logical operations, and to provide sufficient recognition performance. It is attracting particular attention as an effective technology for software development.

また、近年、抵抗変化型記憶素子として磁気トンネル接合素子(MTJ素子)を有する不揮発性論理回路が提案されている。従来の不揮発性論理回路は、一対のMTJ素子の相補状態((低抵抗、高抵抗)及び(高抵抗、低抵抗))に論理値(“0”及び“1”)を割り当てることで1ビットの情報を表現している(例えば、非特許文献1参照)。 Furthermore, in recent years, a nonvolatile logic circuit having a magnetic tunnel junction element (MTJ element) as a variable resistance memory element has been proposed. Conventional nonvolatile logic circuits generate one bit by assigning logical values (“0” and “1”) to the complementary states ((low resistance, high resistance) and (high resistance, low resistance)) of a pair of MTJ elements. (For example, see Non-Patent Document 1).

W. Zhao, et al., “High speed, high stability and low power sensing amplifier for MTJ/CMOS hybrid logic circuits,” IEEE Transactions on Magnetics, Vol. 45, No. 10, pp. 3784-3787, 2009.W. Zhao, et al., “High speed, high stability and low power sensing amplifier for MTJ/CMOS hybrid logic circuits,” IEEE Transactions on Magnetics, Vol. 45, No. 10, pp. 3784-3787, 2009. Rajendra Bishnoi et al., “Read disturb fault detection in STT-MRAM,” in Proceedings of International Test Conference (ITC), IEEE, pp. 1-7, 2014.Rajendra Bishnoi et al., “Read disturb fault detection in STT-MRAM,” in Proceedings of International Test Conference (ITC), IEEE, pp. 1-7, 2014.

従来の不揮発性論理回路では、一対のMTJ素子の相補状態のみが用いられ、非相補状態((低抵抗、低抵抗)又は(高抵抗、高抵抗))は、動作の不安定性などの理由により、利用されていなかった。そのため、従来の不揮発性論理回路を用いて3値表現(例えば、-1、0、+1)をとるTNNを構築する場合、4つのMTJ素子によって3値情報(2ビット)を表現する必要があり、回路規模が大きく且つ冗長になるという問題が生じる。 In conventional non-volatile logic circuits, only complementary states of a pair of MTJ elements are used, and non-complementary states ((low resistance, low resistance) or (high resistance, high resistance)) are used due to reasons such as operational instability. , was not used. Therefore, when constructing a TNN that takes ternary expression (for example, -1, 0, +1) using conventional nonvolatile logic circuits, it is necessary to express ternary information (2 bits) using four MTJ elements. , the problem arises that the circuit scale is large and redundant.

また、MTJ素子を有する不揮発性論理回路に関連して、近年、誤り検出機構が提案されている。例えば、非特許文献2には、Spin Transfer Torque Magnetic Random Access Memory(STT-MRAM)におけるリードディスターブ(read disturb)を検出する回路(Fig. 5)が開示されている。非特許文献2の回路では、1つのMTJ素子に対し、当該MTJ素子が取り得る値の中間の抵抗値を有するリファレンス抵抗と、当該MTJ素子の抵抗とリファレンス抵抗とを比較する比較回路及び制御回路が最低限必要となるため、オーバーヘッドが大きい。非特許文献2の回路を2つ組み合わせると、一対のMTJ素子が相補状態にあるか非相補状態にあるかを判別することが可能にはなるものの、回路規模が一層大きくなってしまうという問題が生じる。 Furthermore, error detection mechanisms have been proposed in recent years in connection with nonvolatile logic circuits having MTJ elements. For example, Non-Patent Document 2 discloses a circuit (Fig. 5) that detects read disturb in a Spin Transfer Torque Magnetic Random Access Memory (STT-MRAM). In the circuit of Non-Patent Document 2, for one MTJ element, a reference resistor having a resistance value intermediate between the values that the MTJ element can take, and a comparison circuit and a control circuit that compare the resistance of the MTJ element and the reference resistor. is required at the minimum, so the overhead is large. When two circuits of Non-Patent Document 2 are combined, it becomes possible to determine whether a pair of MTJ elements are in a complementary state or a non-complementary state, but there is a problem that the circuit scale becomes even larger. arise.

本発明は、上記課題に鑑みてなされたものであり、一対の抵抗変化型記憶素子の非相補状態を利用することで、回路規模を大きくすることなく機能の高度化を実現する不揮発性論理回路を提供することを目的とする。 The present invention has been made in view of the above-mentioned problems, and provides a nonvolatile logic circuit that utilizes the non-complementary states of a pair of variable resistance memory elements to achieve sophisticated functionality without increasing the circuit scale. The purpose is to provide

本発明の実施形態に係る不揮発性論理回路は、一対の抵抗変化型記憶素子を有する記憶部と、前記記憶部に接続され、入力信号と、前記一対の抵抗変化型記憶素子の抵抗に対応する論理値とに基づく演算を実行する演算部と、前記一対の抵抗変化型記憶素子の抵抗が相補状態にあるか非相補状態にあるかを判別する判別回路と、前記演算部及び前記判別回路に接続され、前記演算部による演算結果に対応する信号又は前記判別回路による判別結果に対応する信号を出力する出力回路と、を備える。 A nonvolatile logic circuit according to an embodiment of the present invention includes a storage section having a pair of resistance variable storage elements, and a memory section connected to the storage section, which corresponds to an input signal and a resistance of the pair of resistance change storage elements. an arithmetic unit that executes an arithmetic operation based on the logical value; a discriminator circuit that determines whether the resistances of the pair of variable resistance storage elements are in a complementary state or a non-complementary state; and the arithmetic unit and the discriminator circuit. and an output circuit that is connected to the output circuit and outputs a signal corresponding to the calculation result by the calculation section or a signal corresponding to the determination result by the discrimination circuit.

本発明によれば、一対の抵抗変化型記憶素子の抵抗が相補状態にあるか非相補状態にあるかを判別し、判別結果に対応する信号を出力可能としたことにより、回路規模を大きくすることなく機能の高度化を実現することができる。 According to the present invention, it is possible to determine whether the resistances of a pair of variable resistance memory elements are in a complementary state or a non-complementary state and to output a signal corresponding to the determination result, thereby increasing the circuit scale. It is possible to realize advanced functions without any problems.

本発明の実施形態に係る不揮発性論理回路の機能ブロック図である。1 is a functional block diagram of a nonvolatile logic circuit according to an embodiment of the present invention. FIG. 不揮発性論理回路の記憶部を構成する各MTJ素子の構造を示す模式図である。FIG. 2 is a schematic diagram showing the structure of each MTJ element that constitutes a storage section of a nonvolatile logic circuit. MTJ素子のスイッチングを説明する模式図である。FIG. 3 is a schematic diagram illustrating switching of an MTJ element. MTJ素子の電流-抵抗特性を表すグラフである。2 is a graph showing current-resistance characteristics of an MTJ element. 本実施形態の不揮発性論理回路により実行される処理を示すフローチャートである。3 is a flowchart showing processing executed by the nonvolatile logic circuit of this embodiment. 本実施形態の不揮発性論理回路の構成を示す図である。FIG. 1 is a diagram showing the configuration of a nonvolatile logic circuit according to the present embodiment. 図4の不揮発性論理回路の一例として、XNOR演算をする不揮発性論理回路の構成を示す図である。5 is a diagram showing the configuration of a nonvolatile logic circuit that performs an XNOR operation as an example of the nonvolatile logic circuit shown in FIG. 4. FIG. 一対のMTJ素子が相補状態にあるときの不揮発性論理回路の動作波形を示す図である。FIG. 7 is a diagram showing operating waveforms of a nonvolatile logic circuit when a pair of MTJ elements are in a complementary state. 一対のMTJ素子が非相補状態にあるときの不揮発性論理回路の動作波形を示す図である。FIG. 3 is a diagram showing operating waveforms of a nonvolatile logic circuit when a pair of MTJ elements are in a non-complementary state. 一対のMTJ素子が相補状態にあるときのプリチャージ期間における不揮発性論理回路の動作を説明する図である。FIG. 3 is a diagram illustrating the operation of a nonvolatile logic circuit during a precharge period when a pair of MTJ elements are in a complementary state. 一対のMTJ素子が相補状態にあるときのプリチャージ期間における不揮発性論理回路の動作を説明する図である。FIG. 3 is a diagram illustrating the operation of a nonvolatile logic circuit during a precharge period when a pair of MTJ elements are in a complementary state. 一対のMTJ素子が相補状態にあるときの評価期間における不揮発性論理回路の動作を説明する図である。FIG. 3 is a diagram illustrating the operation of a nonvolatile logic circuit during an evaluation period when a pair of MTJ elements are in a complementary state. 一対のMTJ素子が相補状態にあるときの評価期間における不揮発性論理回路の動作を説明する図である。FIG. 3 is a diagram illustrating the operation of a nonvolatile logic circuit during an evaluation period when a pair of MTJ elements are in a complementary state. 一対のMTJ素子が非相補状態であるときの不揮発性論理回路の動作を説明する図である。FIG. 3 is a diagram illustrating the operation of a nonvolatile logic circuit when a pair of MTJ elements are in a non-complementary state. 本実施形態の実施例1に係る演算装置の構成を示すブロック図である。1 is a block diagram showing the configuration of an arithmetic device according to Example 1 of the present embodiment. FIG. 実施例1の演算装置を構成する各不揮発性論理回路で実行される演算に関わる信号を説明する模式図である。FIG. 2 is a schematic diagram illustrating signals related to arithmetic operations executed by each nonvolatile logic circuit that constitutes the arithmetic device of the first embodiment. 図11の各信号に対する情報の割り当てを示す表である。12 is a table showing information assignment to each signal in FIG. 11; 実施例1の演算装置を構成する各不揮発性論理回路での演算機能を示す真理値表である。2 is a truth table showing arithmetic functions in each nonvolatile logic circuit constituting the arithmetic device of the first embodiment. 本実施形態の実施例2に係る誤り検出装置の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of an error detection device according to Example 2 of the present embodiment.

以下、図面を参照して本発明の実施形態を説明する。図面全体を通して、同一又は同様の構成要素には同一の符号を付している。 Embodiments of the present invention will be described below with reference to the drawings. Identical or similar components are designated by the same reference numerals throughout the drawings.

まず、本発明の実施形態に係る不揮発性論理回路10の構成について説明する。
図1に、不揮発性論理回路10の機能ブロック図を示す。不揮発性論理回路10は、不揮発性のロジックインメモリ(logic-in-memory)回路であり、図1に示すように、演算回路1と、出力回路2と、判別回路3と、を備える。
First, the configuration of the nonvolatile logic circuit 10 according to the embodiment of the present invention will be described.
FIG. 1 shows a functional block diagram of a nonvolatile logic circuit 10. As shown in FIG. The nonvolatile logic circuit 10 is a nonvolatile logic-in-memory circuit, and includes an arithmetic circuit 1, an output circuit 2, and a discrimination circuit 3, as shown in FIG.

演算回路1は、ロジック部としての演算部11と、一対の抵抗変化型記憶素子を有するメモリとしての記憶部12と、を備える。記憶部12は、一対の抵抗変化型記憶素子として、一対の磁気トンネル接合素子(MTJ素子)M1及びM2を有する。 The arithmetic circuit 1 includes an arithmetic section 11 as a logic section, and a storage section 12 as a memory having a pair of variable resistance storage elements. The storage unit 12 includes a pair of magnetic tunnel junction elements (MTJ elements) M1 and M2 as a pair of variable resistance storage elements.

演算部11は、記憶部12に接続され、入力信号(in1及びin2)と、MTJ素子M1及びM2の抵抗(相補状態、非相補状態)に対応する論理値とに基づく演算を実行する。ここで、相補状態とは、一対のMTJ素子M1及びM2の抵抗が、それぞれ、(低抵抗、高抵抗)又は(高抵抗、低抵抗)であることを表し、非相補状態とは、一対のMTJ素子M1及びM2の抵抗が、それぞれ、(低抵抗、低抵抗)又は(高抵抗、高抵抗)であることを表す。 The calculation unit 11 is connected to the storage unit 12 and performs calculations based on the input signals (in1 and in2) and logical values corresponding to the resistances (complementary state, non-complementary state) of the MTJ elements M1 and M2. Here, the complementary state means that the resistances of the pair of MTJ elements M1 and M2 are (low resistance, high resistance) or (high resistance, low resistance), respectively, and the non-complementary state means that the resistance of the pair of MTJ elements M1 and M2 is (low resistance, high resistance) or (high resistance, low resistance), respectively. The resistances of the MTJ elements M1 and M2 are respectively (low resistance, low resistance) or (high resistance, high resistance).

判別回路3は、記憶部12及び出力回路2に接続され、一対のMTJ素子M1及びM2が相補状態にあるか非相補状態にあるかを判別する。 The determination circuit 3 is connected to the storage section 12 and the output circuit 2, and determines whether the pair of MTJ elements M1 and M2 are in a complementary state or a non-complementary state.

出力回路2は、演算部11及び判別回路3に接続され、出力信号(out1及びout2)として、演算部11による演算結果に対応する信号又は判別回路3による判別結果に対応する信号を出力する。 The output circuit 2 is connected to the calculation unit 11 and the discrimination circuit 3, and outputs a signal corresponding to the calculation result by the calculation unit 11 or a signal corresponding to the discrimination result by the discrimination circuit 3 as output signals (out1 and out2).

不揮発性論理回路10の構成の詳細については、後で説明する(図4及び図5参照)。 Details of the configuration of the nonvolatile logic circuit 10 will be described later (see FIGS. 4 and 5).

記憶部12を構成するMTJ素子M1及びM2の各々は、図2Aに示すように、フリー層12a、バリア層12b及び固定層12cが積層されている。フリー層12a及び固定層12cは、CoFeB等の強磁性体からなり、バリア層12bは、MgO等の絶縁体の薄膜である。 Each of the MTJ elements M1 and M2 constituting the storage section 12 has a free layer 12a, a barrier layer 12b, and a fixed layer 12c laminated, as shown in FIG. 2A. The free layer 12a and the fixed layer 12c are made of a ferromagnetic material such as CoFeB, and the barrier layer 12b is a thin film of an insulator such as MgO.

図2Bに示すように、固定層12cの磁化とフリー層12aの磁化が同じ向きのとき(平行状態)、MTJ素子は低抵抗状態Rにあり、固定層12cの磁化とフリー層12aの磁化が互いに逆向きのとき(反平行状態)、MTJ素子は高抵抗状態RAPにある。As shown in FIG. 2B, when the magnetization of the pinned layer 12c and the magnetization of the free layer 12a are in the same direction (parallel state), the MTJ element is in a low resistance state RP , and the magnetization of the pinned layer 12c and the magnetization of the free layer 12a are When the directions are opposite to each other (antiparallel state), the MTJ element is in the high resistance state R AP .

図2B及び図2Cに示すように、MTJ素子が高抵抗状態RAP(反平行状態)にあるときに、固定層12cからフリー層12aへ向かう電流Iを流すと、電流Iが増加するにつれて、MTJ素子は高抵抗状態RAPを維持したまま次第に低下する。電流Iが閾値ICH2を超えると(I>ICH2)、フリー層12aの磁化が反転し、MTJ素子は低抵抗状態R(平行状態)に遷移する。その低抵抗状態Rから電流Iを減少させると、MTJ素子は低抵抗状態Rを維持し、さらに電流Iの向きを変えて増大させて、電流Iの絶対値が閾値ICH1の絶対値を超えると(|I|>|ICH1|又はI<ICH1)、フリー層12aの磁化が反転し、MTJ素子は高抵抗状態RAP(反平行状態)に遷移する。As shown in FIGS. 2B and 2C, when the MTJ element is in the high resistance state R AP (antiparallel state), when a current I flows from the fixed layer 12c to the free layer 12a, as the current I increases, The MTJ element gradually decreases while maintaining the high resistance state RAP . When the current I exceeds the threshold value I CH2 (I>I CH2 ), the magnetization of the free layer 12a is reversed, and the MTJ element transitions to a low resistance state R P (parallel state). When the current I is decreased from the low resistance state RP , the MTJ element maintains the low resistance state RP , and further changes the direction of the current I and increases it so that the absolute value of the current I becomes the threshold value I CH1 . (|I|>|I CH1 | or I<I CH1 ), the magnetization of the free layer 12a is reversed and the MTJ element transitions to a high resistance state R AP (antiparallel state).

例えば、一対のMTJ素子M1及びM2の相補状態(R、RAP)及び(RAP、R)に、それぞれ、論理値“0”及び“1”を割り当てることで、1ビットの情報を表現することができる。非相補状態(例えば、(R、R))も情報表現の1つとして用いると、2ビットの情報を表現することができる(図10~図13参照)。For example, by assigning logical values “0” and “1” to the complementary states (R P , R AP ) and (R AP , R P ) of a pair of MTJ elements M1 and M2, respectively, one bit of information can be stored. can be expressed. If non-complementary states (for example, (R P , R P )) are also used as one of the information expressions, 2-bit information can be expressed (see FIGS. 10 to 13).

次に、図3のフローチャートを参照して、不揮発性論理回路10により実行される処理の流れを説明する。 Next, the flow of processing executed by the nonvolatile logic circuit 10 will be explained with reference to the flowchart of FIG.

演算部11が入力信号in1及びin2を受け付けると(ステップS101)、判別回路3は、記憶部12を構成する一対のMTJ素子M1及びM2の抵抗に応じて変化する、出力回路2の一対のノード(後述のノードA及びB)の電位を検知して、一対のMTJ素子M1及びM2が相補状態にあるか非相補状態にあるかを判別する(ステップS103)。 When the calculation unit 11 receives the input signals in1 and in2 (step S101), the discrimination circuit 3 selects a pair of nodes of the output circuit 2, which changes depending on the resistance of the pair of MTJ elements M1 and M2 that constitute the storage unit 12. The potentials of nodes A and B (described later) are detected to determine whether the pair of MTJ elements M1 and M2 are in a complementary state or a non-complementary state (step S103).

一対のMTJ素子M1及びM2が相補状態にあるとき(ステップS103:YES)、演算部11は、入力信号in1及びin2と、相補状態に対応する論理値とを用いた演算を実行し、出力回路2は、演算部11による演算結果に対応する信号out1及びout2を出力する(ステップS105)。 When the pair of MTJ elements M1 and M2 are in the complementary state (step S103: YES), the calculation unit 11 executes calculation using the input signals in1 and in2 and the logical value corresponding to the complementary state, and outputs the 2 outputs signals out1 and out2 corresponding to the calculation results by the calculation unit 11 (step S105).

一対のMTJ素子M1及びM2が非相補状態にあるとき(ステップS103:NO)、出力回路2は、一対のMTJ素子M1及びM2が非相補状態にあることを示す信号out1及びout2を出力する(ステップS107)。 When the pair of MTJ elements M1 and M2 are in a non-complementary state (step S103: NO), the output circuit 2 outputs signals out1 and out2 indicating that the pair of MTJ elements M1 and M2 are in a non-complementary state ( Step S107).

演算部11が、一対のMTJ素子M1及びM2の非相補状態を演算に使用する回路構成(例えば、後述の図5の回路構成)である場合、ステップS107において演算部11は、入力信号in1及びin2と、非相補状態に対応する論理値とを用いた演算を実行し、出力回路2は、演算部11による演算結果に対応する信号out1及びout2を出力する。 If the calculation unit 11 has a circuit configuration that uses the non-complementary states of the pair of MTJ elements M1 and M2 for calculation (for example, the circuit configuration of FIG. 5, which will be described later), in step S107, the calculation unit 11 uses the input signals in1 and The output circuit 2 executes an operation using in2 and a logical value corresponding to a non-complementary state, and outputs signals out1 and out2 corresponding to the operation result by the operation unit 11.

次に、不揮発性論理回路10の構成を詳細に説明する。図4に、不揮発性論理回路10の構成を示す。 Next, the configuration of the nonvolatile logic circuit 10 will be explained in detail. FIG. 4 shows the configuration of the nonvolatile logic circuit 10.

出力回路2は、プリチャージ・センスアンプ(PCSA)であり(非特許文献1参照)、CMOS(Complementary Metal-Oxide Semiconductor)インバータ23、24、25及び26と、PMOS(P-channel MOS)トランジスタ21及び22と、を有する。CMOSインバータ23の入力端子は、CMOSインバータ24の出力端子に接続され、CMOSインバータ24の入力端子は、CMOSインバータ23の出力端子に接続されている。CMOSインバータ23の出力端子は、CMOSインバータ25の入力端子及びPMOSトランジスタ21のドレインに接続され、CMOSインバータ24の出力端子は、CMOSインバータ26の入力端子及びPMOSトランジスタ22のドレインに接続されている。PMOSトランジスタ21及び22のソースは電源VDDに接続され、PMOSトランジスタ21及び22のゲートにはクロックclkが入力される。 The output circuit 2 is a precharge sense amplifier (PCSA) (see Non-Patent Document 1), and includes CMOS (Complementary Metal-Oxide Semiconductor) inverters 23, 24, 25, and 26, and a PMOS (P-channel MOS) transistor 21. and 22. The input terminal of the CMOS inverter 23 is connected to the output terminal of the CMOS inverter 24, and the input terminal of the CMOS inverter 24 is connected to the output terminal of the CMOS inverter 23. The output terminal of the CMOS inverter 23 is connected to the input terminal of the CMOS inverter 25 and the drain of the PMOS transistor 21, and the output terminal of the CMOS inverter 24 is connected to the input terminal of the CMOS inverter 26 and the drain of the PMOS transistor 22. The sources of the PMOS transistors 21 and 22 are connected to the power supply VDD, and the clock clk is input to the gates of the PMOS transistors 21 and 22.

以下、PMOSトランジスタ21のドレインと、CMOSインバータ23の出力端子と、CMOSインバータ25の入力端子との接続点を「ノードA」と呼び、PMOSトランジスタ22のドレインと、CMOSインバータ24の出力端子と、CMOSインバータ26の入力端子との接続点を「ノードB」と呼ぶ。 Hereinafter, the connection point between the drain of the PMOS transistor 21, the output terminal of the CMOS inverter 23, and the input terminal of the CMOS inverter 25 will be referred to as "node A", and the connection point between the drain of the PMOS transistor 22 and the output terminal of the CMOS inverter 24, The connection point with the input terminal of the CMOS inverter 26 is called "node B."

判別回路3は、NMOS(N-channel MOS)トランジスタ13、31及び32と、PMOSトランジスタ33aと、NMOSトランジスタ33bと、PMOSトランジスタ34aと、NMOSトランジスタ34bと、インバータ35と、インバータ36と、PMOSトランジスタ37と、PMOSトランジスタ38と、を有する。 The discrimination circuit 3 includes NMOS (N-channel MOS) transistors 13, 31, and 32, a PMOS transistor 33a, an NMOS transistor 33b, a PMOS transistor 34a, an NMOS transistor 34b, an inverter 35, an inverter 36, and a PMOS transistor. 37 and a PMOS transistor 38.

PMOSトランジスタ33aのソースは電源VDDに接続され、ゲートにはクロックclkが入力される。PMOSトランジスタ33aのドレインとNMOSトランジスタ33bのドレインとは接続されている。NMOSトランジスタ33bのソースは接地されており、ゲートには、インバータ35の出力端子が接続されている。インバータ35の入力端子はノードBに接続されている。以下、PMOSトランジスタ33aとNMOSトランジスタ33bとの接続点を「ノードC」と呼ぶ。 The source of the PMOS transistor 33a is connected to the power supply VDD, and the clock clk is input to the gate. The drain of the PMOS transistor 33a and the drain of the NMOS transistor 33b are connected. The source of the NMOS transistor 33b is grounded, and the output terminal of the inverter 35 is connected to the gate. An input terminal of inverter 35 is connected to node B. Hereinafter, the connection point between the PMOS transistor 33a and the NMOS transistor 33b will be referred to as "node C."

PMOSトランジスタ34aのソースは電源VDDに接続され、ゲートにはクロックclkが入力される。PMOSトランジスタ34aのドレインとNMOSトランジスタ34bのドレインとは接続されている。NMOSトランジスタ34bのソースは接地されており、ゲートには、インバータ36の出力端子が接続されている。インバータ36の入力端子はノードAに接続されている。以下、PMOSトランジスタ34aとNMOSトランジスタ34bとの接続点を「ノードD」と呼ぶ。 The source of the PMOS transistor 34a is connected to the power supply VDD, and the clock clk is input to the gate. The drain of the PMOS transistor 34a and the drain of the NMOS transistor 34b are connected. The source of the NMOS transistor 34b is grounded, and the gate is connected to the output terminal of the inverter 36. An input terminal of inverter 36 is connected to node A. Hereinafter, the connection point between the PMOS transistor 34a and the NMOS transistor 34b will be referred to as "node D."

NMOSトランジスタ31のドレインとNMOSトランジスタ32のドレインは、MTJ素子M1及びM2に接続されており、NMOSトランジスタ31のソースとNMOSトランジスタ32のソースは、NMOSトランジスタ13のドレインに接続されている。NMOSトランジスタ31のゲートはノードCに接続されている。NMOSトランジスタ32のゲートはノードDに接続されている。NMOSトランジスタ13は、ソースが接地されており、ゲートにはクロックclkが入力される。 The drain of the NMOS transistor 31 and the drain of the NMOS transistor 32 are connected to the MTJ elements M1 and M2, and the source of the NMOS transistor 31 and the source of the NMOS transistor 32 are connected to the drain of the NMOS transistor 13. The gate of NMOS transistor 31 is connected to node C. The gate of NMOS transistor 32 is connected to node D. The NMOS transistor 13 has its source grounded, and its gate receives the clock clk.

PMOSトランジスタ37は、ソースが電源VDDに接続され、ドレインがノードAに接続され、ゲートがノードCに接続されている。PMOSトランジスタ38は、ソースが電源VDDに接続され、ドレインがノードBに接続され、ゲートがノードDに接続されている。 The PMOS transistor 37 has a source connected to the power supply VDD, a drain connected to the node A, and a gate connected to the node C. The PMOS transistor 38 has a source connected to the power supply VDD, a drain connected to the node B, and a gate connected to the node D.

図4の演算部11は、論理演算の種類によって回路構成が異なる。図5には、図4の不揮発性論理回路10の一例として、XNOR演算をする演算部11Aを備える不揮発性論理回路10Aの回路構成を示す。演算部11Aは、パストランジスタの構造を有し、NMOSトランジスタ11a、11b、11c及び11dを有する。 The arithmetic unit 11 in FIG. 4 has a different circuit configuration depending on the type of logical operation. FIG. 5 shows, as an example of the nonvolatile logic circuit 10 in FIG. 4, a circuit configuration of a nonvolatile logic circuit 10A including an arithmetic unit 11A that performs an XNOR operation. The calculation unit 11A has a pass transistor structure and includes NMOS transistors 11a, 11b, 11c, and 11d.

NMOSトランジスタ11aのドレインとNMOSトランジスタ11bのドレインは、CMOSインバータ23を構成するNMOSトランジスタのソースに接続されている。NMOSトランジスタ11aのソースはMTJ素子M1に接続され、NMOSトランジスタ11bのソースはMTJ素子M2に接続されている。NMOSトランジスタ11aのゲートには信号in2が入力され、NMOSトランジスタ11bのゲートには信号in1が入力される。 The drain of the NMOS transistor 11a and the drain of the NMOS transistor 11b are connected to the source of the NMOS transistor constituting the CMOS inverter 23. The source of NMOS transistor 11a is connected to MTJ element M1, and the source of NMOS transistor 11b is connected to MTJ element M2. A signal in2 is input to the gate of the NMOS transistor 11a, and a signal in1 is input to the gate of the NMOS transistor 11b.

NMOSトランジスタ11cのドレインとNMOSトランジスタ11dのドレインは、CMOSインバータ24を構成するNMOSトランジスタのソースに接続されている。NMOSトランジスタ11cのソースはMTJ素子M2に接続され、NMOSトランジスタ11dのソースはMTJ素子M1に接続されている。NMOSトランジスタ11cのゲートには信号in2が入力され、NMOSトランジスタ11dのゲートには信号in1が入力される。 The drain of the NMOS transistor 11c and the drain of the NMOS transistor 11d are connected to the source of the NMOS transistor constituting the CMOS inverter 24. The source of the NMOS transistor 11c is connected to the MTJ element M2, and the source of the NMOS transistor 11d is connected to the MTJ element M1. A signal in2 is input to the gate of the NMOS transistor 11c, and a signal in1 is input to the gate of the NMOS transistor 11d.

次に、図6~図9を参照して、図5の不揮発性論理回路10Aの動作について説明する。図8A~図8Dでは、動作に直接的に関与しない要素及び配線については、図示しないか又は点線で表している。 Next, the operation of the nonvolatile logic circuit 10A of FIG. 5 will be described with reference to FIGS. 6 to 9. In FIGS. 8A to 8D, elements and wiring that are not directly involved in the operation are not shown or are represented by dotted lines.

不揮発性論理回路10Aは、図6及び図7の動作波形に示すように、クロックclkに応じてプリチャージ(Pre-charge)と評価(Evaluate)の2相をとるダイナミック回路方式で動作する(非特許文献1参照)。 As shown in the operation waveforms of FIGS. 6 and 7, the nonvolatile logic circuit 10A operates in a dynamic circuit system that takes two phases, pre-charge and evaluation, depending on the clock clk (non-volatile logic circuit 10A). (See Patent Document 1).

まず、図6及び図8A~図8Dを参照して、一対のMTJ素子M1及びM2が相補状態にあるときの不揮発性論理回路10Aの動作について説明する。ここでは、MTJ素子M1及びM2が、それぞれ、高抵抗状態RAP及び低抵抗状態Rにあるものとする。また、入力信号in1及びin2は、それぞれ、Lレベル及びHレベルであるものとする。また、以下では、Lレベルを0[V](“0”)、Hレベルを電源電圧[V](“1”)とする。First, the operation of the nonvolatile logic circuit 10A when the pair of MTJ elements M1 and M2 are in a complementary state will be described with reference to FIG. 6 and FIGS. 8A to 8D. Here, it is assumed that MTJ elements M1 and M2 are in a high resistance state R AP and a low resistance state R P , respectively. It is also assumed that input signals in1 and in2 are at L level and H level, respectively. Further, in the following, the L level is assumed to be 0 [V] (“0”), and the H level is assumed to be the power supply voltage [V] (“1”).

プリチャージ期間(clk=0)では、図8Aに示すように、PMOSトランジスタ21及び22がオンとなり、電源VDDからPMOSトランジスタ21及び22を経由して、それぞれ、ノードA及びBがチャージされる。これにより、図8Bに示すように、ノードAには電荷Q1が蓄積され、ノードBには電荷Q2が蓄積され、ノードAとノードBはともにHレベルとなり、CMOSインバータ25の出力信号out1と、CMOSインバータ26の出力信号out2は、ともにLレベルを示す。プリチャージ期間(clk=0)では、PMOSトランジスタ33a及び34aもオンとなるため、ノードC及びDもチャージされてHレベルとなる。 During the precharge period (clk=0), as shown in FIG. 8A, the PMOS transistors 21 and 22 are turned on, and the nodes A and B are charged from the power supply VDD via the PMOS transistors 21 and 22, respectively. As a result, as shown in FIG. 8B, charge Q1 is accumulated in node A, charge Q2 is accumulated in node B, and both nodes A and B become H level, and the output signal out1 of the CMOS inverter 25 and Both output signals out2 of the CMOS inverter 26 indicate L level. During the precharge period (clk=0), the PMOS transistors 33a and 34a are also turned on, so the nodes C and D are also charged and become H level.

このようにノードA及びBがHレベルになると、CMOSインバータ24のNMOSトランジスタがオンになるとともに、CMOSインバータ23のNMOSトランジスタがオンとなる。また、ノードC及びDがHレベルになると、NMOSトランジスタ31及び32もオンとなる。 When the nodes A and B become H level in this manner, the NMOS transistor of the CMOS inverter 24 is turned on, and the NMOS transistor of the CMOS inverter 23 is also turned on. Further, when the nodes C and D become H level, the NMOS transistors 31 and 32 are also turned on.

評価期間(clk=1)では、NMOSトランジスタ13がオンとなる。入力信号in2=1により、NMOSトランジスタ11a及び11cがオン状態であることから、図8Cに示すように、ノードAに蓄積された電荷Q1がNMOSトランジスタ11a、MTJ素子M1及びNMOSトランジスタ13を経由してGNDに流れ出すとともに、ノードBに蓄積された電荷Q2がNMOSトランジスタ11c、MTJ素子M2及びNMOSトランジスタ13を経由してGNDに流れ出す。 During the evaluation period (clk=1), the NMOS transistor 13 is turned on. Since the NMOS transistors 11a and 11c are in the on state due to the input signal in2=1, the charge Q1 accumulated in the node A is transferred via the NMOS transistor 11a, the MTJ element M1, and the NMOS transistor 13, as shown in FIG. 8C. At the same time, the charge Q2 accumulated in the node B flows out to GND via the NMOS transistor 11c, the MTJ element M2, and the NMOS transistor 13.

このとき、一対のMTJ素子M1及びM2は相補状態にあるため、ノードAに蓄積された電荷Q1が流れ出す速度と、ノードBに蓄積された電荷Q2が流れ出す速度に差が生じる。具体的には、高抵抗状態RAPにあるMTJ素子M1は電流が流れ難いのでゆっくり流れ、低抵抗状態RにあるMTJ素子M2は電流が流れやすいので早く流れることから、図6に示すように、ノードAとノードBとの電位差が徐々に大きくなる。At this time, since the pair of MTJ elements M1 and M2 are in a complementary state, there is a difference between the speed at which the charge Q1 stored at the node A flows out and the speed at which the charge Q2 stored at the node B flows out. Specifically, in the MTJ element M1 in the high resistance state RAP , current flows slowly because it is difficult to flow, and in the MTJ element M2 in the low resistance state RP , the current flows easily because it flows quickly, as shown in FIG. Then, the potential difference between node A and node B gradually increases.

ノードBの電位がCMOSインバータ23の閾値電圧よりも下がると、図8Dに示すように、CMOSインバータ23のPMOSトランジスタがオンとなり、電源VDDからCMOSインバータ23のPMOSトランジスタを経由してノードAがリチャージされる(Q=Q1)。一方、ノードBからNMOSトランジスタ11c、MTJ素子M2及びNMOSトランジスタ13を経由してGNDに電荷が流れ続け、最終的にノードBの電荷はゼロになる(Q=0)。 When the potential of node B falls below the threshold voltage of CMOS inverter 23, as shown in FIG. 8D, the PMOS transistor of CMOS inverter 23 is turned on, and node A is recharged from power supply VDD via the PMOS transistor of CMOS inverter 23. (Q=Q1). On the other hand, charge continues to flow from node B to GND via the NMOS transistor 11c, MTJ element M2, and NMOS transistor 13, and finally the charge at node B becomes zero (Q=0).

このように、ノードAとノードBとの電位差が一定の大きさに達すると、CMOSインバータ23及び24により、ノードAとノードBとの電位差がさらに増幅されることで、ノードAがHレベル、ノードBがLレベルとなり、出力信号out1=0及びout2=1が確定する。評価期間における出力信号により、MTJ素子M1及びM2が相補状態にあると判別することができ、且つMTJ素子M1が高抵抗状態RAP、MTJ素子M2が低抵抗状態Rにあると判別することができる。In this way, when the potential difference between node A and node B reaches a certain level, the CMOS inverters 23 and 24 further amplify the potential difference between node A and node B, so that node A becomes H level. Node B becomes L level, and output signals out1=0 and out2=1 are established. Based on the output signals during the evaluation period, it can be determined that MTJ elements M1 and M2 are in a complementary state, and it can also be determined that MTJ element M1 is in a high resistance state R AP and MTJ element M2 is in a low resistance state RP . I can do it.

次に、図7及び図9を参照して、一対のMTJ素子M1及びM2が非相補状態にあるときの不揮発性論理回路10Aの動作について説明する。ここでは、MTJ素子M1及びM2がともに低抵抗状態Rにあるものとする。また、入力信号in1及びin2は、それぞれ、Lレベル(“0”)及びHレベル(“1”)であるものとする。Next, with reference to FIGS. 7 and 9, the operation of the nonvolatile logic circuit 10A when the pair of MTJ elements M1 and M2 are in a non-complementary state will be described. Here, it is assumed that both MTJ elements M1 and M2 are in the low resistance state RP . It is also assumed that input signals in1 and in2 are at L level (“0”) and H level (“1”), respectively.

プリチャージ期間(clk=0)では、一対のMTJ素子M1及びM2が相補状態にあるときも非相補状態にあるときも同様の動作をする(図8A及び図8B参照)。 During the precharge period (clk=0), the pair of MTJ elements M1 and M2 operate in the same way whether they are in a complementary state or in a non-complementary state (see FIGS. 8A and 8B).

評価期間(clk=1)において、ノードAに蓄積された電荷がNMOSトランジスタ11a、MTJ素子M1及びNMOSトランジスタ13を経由してGNDに流れ出すとともに、ノードBに蓄積された電荷がNMOSトランジスタ11c、MTJ素子M2及びNMOSトランジスタ13を経由してGNDに流れ出す。このとき、一対のMTJ素子M1及びM2は非相補状態にあるため、ノードAに蓄積された電荷が流れ出す速度と、ノードBに蓄積された電荷が流れ出す速度に差が生じないまま、ノードAの電位とノードBの電位は同時に下がり続ける。 During the evaluation period (clk=1), charges accumulated in node A flow out to GND via NMOS transistor 11a, MTJ element M1, and NMOS transistor 13, and charges accumulated in node B flowed out to GND via NMOS transistor 11a, MTJ element M1, and NMOS transistor 13. It flows out to GND via element M2 and NMOS transistor 13. At this time, since the pair of MTJ elements M1 and M2 are in a non-complementary state, there is no difference between the speed at which the charges accumulated at node A flow out and the speed at which the charges accumulated at node B flow out. The potential and the potential of node B continue to fall simultaneously.

ノードAの電位とノードBの電位が、インバータ35及び36の閾値電圧よりも下がると、NMOSトランジスタ33b及び34bがオンとなり(図9の(i))、プリチャージ期間に蓄積されていたノードCの電荷とノードDの電荷が放出され(図9の(ii))、ノードCの電位とノードDの電位が下がる。これにより、PMOSトランジスタ37及び38がオンとなり、NMOSトランジスタ31及び32はオフとなる(図9の(iii))。その結果、NMOSトランジスタ31及び32は非導通状態となる一方、電源VDDからPMOSトランジスタ37及び38を経由して、それぞれ、ノードA及びBがリチャージされる(図9の(iv))。これにより、不揮発性論理回路10Aはプリチャージ期間と同様の状態になり、ノードA及びBはともにHレベルとなり、出力信号out1=0及びout2=0となる。このように、評価期間における出力信号により、MTJ素子M1及びM2が非相補状態にあると判別することができる。 When the potential of node A and the potential of node B fall below the threshold voltages of inverters 35 and 36, NMOS transistors 33b and 34b are turned on ((i) in FIG. 9), and the voltage of node C accumulated during the precharge period is turned on. The charges at node C and the charge at node D are released ((ii) in FIG. 9), and the potentials at node C and node D decrease. As a result, the PMOS transistors 37 and 38 are turned on, and the NMOS transistors 31 and 32 are turned off ((iii) in FIG. 9). As a result, the NMOS transistors 31 and 32 become non-conductive, while the nodes A and B are recharged from the power supply VDD via the PMOS transistors 37 and 38, respectively ((iv) in FIG. 9). As a result, the nonvolatile logic circuit 10A enters the same state as in the precharge period, nodes A and B both go to H level, and the output signals out1=0 and out2=0. In this way, it can be determined from the output signals during the evaluation period that the MTJ elements M1 and M2 are in a non-complementary state.

従来の不揮発性論理回路は、判別回路3(特に、PMOSトランジスタ33aと、NMOSトランジスタ33bと、PMOSトランジスタ34aと、NMOSトランジスタ34bと、インバータ35及び36と、PMOSトランジスタ37及び38)を有していない。このような従来の不揮発性論理回路では、一対のMTJ素子M1及びM2が非相補状態にあるとき、評価期間(clk=1)において、ノードAに蓄積された電荷が流れ出す速度と、ノードBに蓄積された電荷が流れ出す速度に差が生じないまま、ノードAの電位とノードBの電位が同時に下がり続け、回路動作が不安定となる。具体的には、素子ばらつき等の影響によって、2つのインバータによって構成されたSRAM構造の何れかの安定点に遷移する。このように、従来の不揮発性論理回路では、非相補状態に対応する出力が保証されないため、非相補状態は使用することができず、突発的に非相補状態になってしまったとしても、その状態を判別することができなかった。 The conventional nonvolatile logic circuit includes a discrimination circuit 3 (in particular, a PMOS transistor 33a, an NMOS transistor 33b, a PMOS transistor 34a, an NMOS transistor 34b, inverters 35 and 36, and PMOS transistors 37 and 38). do not have. In such a conventional nonvolatile logic circuit, when a pair of MTJ elements M1 and M2 are in a non-complementary state, the speed at which the charges accumulated at node A flow out and the rate at which the charges accumulated at node B flow out during the evaluation period (clk=1) The potential of the node A and the potential of the node B continue to fall at the same time without any difference in the speed at which the accumulated charges flow out, and the circuit operation becomes unstable. Specifically, due to the influence of element variations and the like, the SRAM structure made up of two inverters transitions to one of the stable points. In this way, in conventional non-volatile logic circuits, the output corresponding to the non-complementary state is not guaranteed, so the non-complementary state cannot be used, and even if it suddenly becomes a non-complementary state, the The condition could not be determined.

これに対し、本実施形態の不揮発性論理回路10Aでは、一対のMTJ素子M1及びM2が非相補状態にあるとき、評価期間において、判別回路3によって、出力回路2のノードA及びBの電位が閾値より下がったことを検知し、ノードA及びBをリチャージさせることで更なる電荷の放出を食い止めている。これにより、非相補状態に対応する出力が保証されるとともに、非相補状態が判別可能となる。言うまでもなく、一対のMTJ素子M1及びM2がともに高抵抗状態RAPにあるときも、同様に非相補状態が判別可能となる。On the other hand, in the nonvolatile logic circuit 10A of this embodiment, when the pair of MTJ elements M1 and M2 are in a non-complementary state, the potentials of nodes A and B of the output circuit 2 are determined by the discriminating circuit 3 during the evaluation period. Further discharge of charge is prevented by detecting that the voltage has fallen below the threshold and recharging nodes A and B. This guarantees an output corresponding to the non-complementary state, and also makes it possible to determine the non-complementary state. Needless to say, even when the pair of MTJ elements M1 and M2 are both in the high resistance state RAP , the non-complementary state can be similarly determined.

以上のように、本実施形態に係る不揮発性論理回路10及び10Aによれば、相補状態をとる一対のMTJ素子を用いて1ビット(2状態)を表現していた従来の回路構造に対し、従来使用していなかった非相補状態を検出する機構(判別回路3)を組み込むことで、回路規模を大きくすることなく機能の高度化が可能となる。また、相補状態だけでなく非相補状態も利用することで、MTJ素子の性質を最大限に活かした設計が可能となる。さらに、一対のMTJ素子M1及びM2が非相補状態にあるときであっても、非相補状態に対応する出力が保証されるため、信頼性を高めることができる。 As described above, according to the nonvolatile logic circuits 10 and 10A according to the present embodiment, in contrast to the conventional circuit structure in which one bit (two states) is expressed using a pair of MTJ elements that take complementary states, By incorporating a mechanism (discrimination circuit 3) for detecting a non-complementary state, which has not been used in the past, it is possible to improve the functionality without increasing the circuit scale. Further, by utilizing not only the complementary state but also the non-complementary state, it becomes possible to design the MTJ element by making the most of its properties. Furthermore, even when the pair of MTJ elements M1 and M2 are in a non-complementary state, the output corresponding to the non-complementary state is guaranteed, so reliability can be improved.

次に、図10~図13を参照して、本実施形態に係る不揮発性論理回路10A(図5~図9参照)を3値化ニューラルネットワーク(TNN)に適用した実施例1を説明する。 Next, Example 1 in which the nonvolatile logic circuit 10A (see FIGS. 5 to 9) according to the present embodiment is applied to a ternary neural network (TNN) will be described with reference to FIGS. 10 to 13.

図10は、実施例1に係る演算装置100Aの構成を示すブロック図である。演算装置100Aは、図10に示すように、複数の不揮発性論理回路10Aと、複数の不揮発性論理回路10Aの各々の出力端子に接続された加算器50とを備える。実施例1において、各不揮発性論理回路10Aは、TNNの主要な構成要素であるTernary Computation Unit(TCU)に対応する。 FIG. 10 is a block diagram showing the configuration of the arithmetic device 100A according to the first embodiment. As shown in FIG. 10, the arithmetic device 100A includes a plurality of nonvolatile logic circuits 10A and an adder 50 connected to the output terminal of each of the plurality of nonvolatile logic circuits 10A. In the first embodiment, each nonvolatile logic circuit 10A corresponds to a Ternary Computation Unit (TCU), which is a main component of the TNN.

実施例1では、一対のMTJ素子M1及びM2の抵抗状態を、それぞれ、m1及びm2と表記する。また、高抵抗状態RAPを“1”、低抵抗状態Rを“0”と表記する。また、図11に示すように、入力信号(in1、in2)が表す論理値をIN、抵抗状態(m1、m2)が表す論理値をM、出力信号(out1、out2)が表す論理値をOUTと表記する。また、図12に示すように、3つの状態(0、1)、(0、0)及び(1、0)に対し、それぞれ、論理値“+1”、“0”及び“-1”を割り当てる。In Example 1, the resistance states of the pair of MTJ elements M1 and M2 are expressed as m1 and m2, respectively. Further, the high resistance state R AP is expressed as "1", and the low resistance state R P is expressed as "0". In addition, as shown in FIG. 11, the logical value represented by the input signals (in1, in2) is IN, the logical value represented by the resistance state (m1, m2) is M, and the logical value represented by the output signals (out1, out2) is OUT. It is written as. Also, as shown in FIG. 12, logical values “+1”, “0” and “-1” are assigned to the three states (0, 1), (0, 0) and (1, 0), respectively. .

図13に、各不揮発性論理回路10Aによる演算機能の真理値表を示す。各不揮発性論理回路10Aにより、入力信号(in1、in2)に重みとして抵抗状態(m1、m2)を掛けて出力信号(out1、out2)が求められる。すなわち、乗算IN×M=OUTが実行される。複数の不揮発性論理回路10Aの各々で求められた出力信号(out1、out2)は加算器50で加算される。 FIG. 13 shows a truth table of arithmetic functions performed by each nonvolatile logic circuit 10A. Each nonvolatile logic circuit 10A obtains an output signal (out1, out2) by multiplying the input signal (in1, in2) by the resistance state (m1, m2) as a weight. That is, the multiplication IN×M=OUT is executed. The output signals (out1, out2) obtained from each of the plurality of nonvolatile logic circuits 10A are added by an adder 50.

実施例1によれば、非相補状態(0、0)も情報表現の1つとして用いているため、TNNにおける3値表現(+1、0、-1)による乗算を行う演算ブロックTCUを2つのMTJ素子M1及びM2を用いてコンパクトに構成することができる。これにより、AIハードウェアのニーズに対するブレークスルーを回路・デバイス技術によって与えることができる。 According to the first embodiment, since the non-complementary state (0, 0) is also used as one of the information representations, the calculation block TCU that performs multiplication by the ternary representation (+1, 0, -1) in the TNN is divided into two A compact configuration can be achieved using the MTJ elements M1 and M2. This allows circuit/device technology to provide breakthroughs for AI hardware needs.

次に、図14を参照して、本実施形態に係る不揮発性論理回路10を誤り検出に適用した実施例2を説明する。 Next, with reference to FIG. 14, a second embodiment will be described in which the nonvolatile logic circuit 10 according to the present embodiment is applied to error detection.

図14に、実施例2に係る誤り検出装置100Bの構成を示す。誤り検出装置100Bは、図14に示すように、不揮発性論理回路10BとNORゲート60とを備える。不揮発性論理回路10Bは、図4の不揮発性論理回路10と同一の回路で構成されている。不揮発性論理回路10Bの出力回路2の出力端子がNORゲート60の入力端子に接続されている。 FIG. 14 shows the configuration of an error detection device 100B according to the second embodiment. The error detection device 100B includes a nonvolatile logic circuit 10B and a NOR gate 60, as shown in FIG. The nonvolatile logic circuit 10B is composed of the same circuit as the nonvolatile logic circuit 10 of FIG. The output terminal of the output circuit 2 of the nonvolatile logic circuit 10B is connected to the input terminal of the NOR gate 60.

不揮発性論理回路10Bの一対のMTJ素子M1及びM2が相補状態にあるとき、出力信号out1及びout2も相補の値((0、1)又は(1、0))となり、NORゲート60から論理値“0”が出力される。一方、一対のMTJ素子M1及びM2が非相補状態にあるとき、評価期間において出力信号out1及びout2も非相補の値(0、0)となり、NORゲート60から論理値“1”がエラー信号ERRとして出力される。 When the pair of MTJ elements M1 and M2 of the nonvolatile logic circuit 10B are in a complementary state, the output signals out1 and out2 also have complementary values ((0, 1) or (1, 0)), and the logic value is output from the NOR gate 60. “0” is output. On the other hand, when the pair of MTJ elements M1 and M2 are in a non-complementary state, the output signals out1 and out2 also have non-complementary values (0, 0) during the evaluation period, and the logic value "1" is output from the NOR gate 60 as the error signal ERR. is output as

実施例2によれば、書き込みエラー又はリードディスターブによって一対のMTJ素子M1及びM2が非相補状態となっても、出力信号out1及びout2がいずれも低電位となることが保証される。これにより、非特許文献2のようにリファレンス抵抗や比較回路を別途設ける必要がなく、評価期間において、出力信号out1及びout2が相補出力になっているか否かをチェックするだけで、一対のMTJ素子M1及びM2の状態に誤りが生じているか否かを検出することができる。 According to the second embodiment, even if the pair of MTJ elements M1 and M2 become non-complementary due to a write error or read disturb, it is guaranteed that the output signals out1 and out2 will both be at a low potential. As a result, there is no need to separately provide a reference resistor or a comparison circuit as in Non-Patent Document 2, and the pair of MTJ elements can be connected by simply checking whether the output signals out1 and out2 are complementary outputs during the evaluation period. It is possible to detect whether an error has occurred in the states of M1 and M2.

なお、本発明は、上述の実施の形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲内において種々の変形が可能である。 Note that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

例えば、上述の実施形態では、演算部11の例として、XNOR演算を行う演算部11Aを挙げたが、演算目的に応じて他の論理演算(AND、ORなど)を行う回路構成を採用してもよい。 For example, in the above-described embodiment, the arithmetic unit 11A that performs an XNOR operation was cited as an example of the arithmetic unit 11, but a circuit configuration that performs other logical operations (AND, OR, etc.) may be adopted depending on the purpose of the operation. Good too.

また、記憶部12が有する抵抗変化型記憶素子はMTJ素子に限定されず、MTJ素子以外の抵抗変化型記憶素子を採用してもよい。 Further, the resistance change memory element included in the storage unit 12 is not limited to the MTJ element, and a resistance change memory element other than the MTJ element may be employed.

1 演算回路
2 出力回路
3 判別回路
10、10A、10B 不揮発性論理回路
11、11A 演算部
12 記憶部
12a フリー層
12b バリア層
12c 固定層
13、31、32、33b、34b NMOSトランジスタ
21、22、33a、34a、37、38 PMOSトランジスタ
23、24、25、26 CMOSインバータ
50 加算器
60 NORゲート
100A 演算装置
100B 誤り検出装置
A、B、C、D ノード
M1、M2 MTJ素子

1 Arithmetic circuit 2 Output circuit 3 Discrimination circuit 10, 10A, 10B Non-volatile logic circuit 11, 11A Arithmetic unit 12 Storage unit 12a Free layer 12b Barrier layer 12c Fixed layer 13, 31, 32, 33b, 34b NMOS transistors 21, 22, 33a, 34a, 37, 38 PMOS transistors 23, 24, 25, 26 CMOS inverter 50 Adder 60 NOR gate 100A Arithmetic device 100B Error detection device A, B, C, D Node M1, M2 MTJ element

Claims (7)

一対の抵抗変化型記憶素子を有する記憶部と、
前記記憶部に接続され、入力信号と、前記一対の抵抗変化型記憶素子の抵抗に対応する論理値とに基づく演算を実行する演算部と、
前記一対の抵抗変化型記憶素子の抵抗が相補状態にあるか非相補状態にあるかを判別する判別回路と、
前記演算部及び前記判別回路に接続され、前記演算部による演算結果に対応する信号又は前記判別回路による判別結果に対応する信号を出力する出力回路と、
を備える不揮発性論理回路。
a memory section having a pair of resistance change memory elements;
an arithmetic unit connected to the storage unit and configured to perform an operation based on an input signal and a logical value corresponding to the resistance of the pair of variable resistance storage elements;
a determination circuit that determines whether the resistances of the pair of variable resistance storage elements are in a complementary state or a non-complementary state;
an output circuit that is connected to the calculation unit and the discrimination circuit and outputs a signal corresponding to the calculation result by the calculation unit or a signal corresponding to the discrimination result by the discrimination circuit;
A non-volatile logic circuit with
前記一対の抵抗変化型記憶素子の抵抗が相補状態にあるとき、
前記演算部は、前記入力信号と、相補状態に対応する論理値とを用いた演算を実行し、
前記出力回路は、前記演算部による演算結果に対応する信号を出力する、請求項1に記載の不揮発性論理回路。
When the resistances of the pair of variable resistance storage elements are in a complementary state,
The arithmetic unit executes an arithmetic operation using the input signal and a logical value corresponding to a complementary state,
The nonvolatile logic circuit according to claim 1, wherein the output circuit outputs a signal corresponding to a calculation result by the calculation unit.
前記一対の抵抗変化型記憶素子の抵抗が非相補状態にあるとき、
前記出力回路は、前記一対の抵抗変化型記憶素子の抵抗が非相補状態にあることを示す信号を出力する、請求項1又は2に記載の不揮発性論理回路。
When the resistances of the pair of variable resistance storage elements are in a non-complementary state,
3. The nonvolatile logic circuit according to claim 1, wherein the output circuit outputs a signal indicating that the resistances of the pair of variable resistance storage elements are in a non-complementary state.
前記一対の抵抗変化型記憶素子の抵抗が非相補状態にあるとき、
前記演算部は、前記入力信号と、非相補状態に対応する論理値とを用いた演算を実行し、
前記出力回路は、前記演算部による演算結果に対応する信号を出力する、請求項1又は2に記載の不揮発性論理回路。
When the resistances of the pair of variable resistance storage elements are in a non-complementary state,
The arithmetic unit executes an arithmetic operation using the input signal and a logical value corresponding to a non-complementary state,
3. The nonvolatile logic circuit according to claim 1, wherein the output circuit outputs a signal corresponding to a calculation result by the calculation section.
前記出力回路は、前記一対の抵抗変化型記憶素子の抵抗に応じて電位が変化する一対のノードを有し、
前記判別回路は、前記一対のノードの電位を検知して、前記一対の抵抗変化型記憶素子の抵抗が相補状態にあるか非相補状態にあるかを判別する、請求項1~4の何れか1項に記載の不揮発性論理回路。
The output circuit has a pair of nodes whose potential changes depending on the resistance of the pair of resistance variable memory elements,
5. The determination circuit detects the potentials of the pair of nodes and determines whether the resistances of the pair of variable resistance storage elements are in a complementary state or a non-complementary state. The nonvolatile logic circuit according to item 1.
前記一対の抵抗変化型記憶素子の抵抗が非相補状態にあるとき、
前記判別回路は、前記一対のノードの電位が閾値よりも下がると、当該一対のノードをチャージさせる、請求項5に記載の不揮発性論理回路。
When the resistances of the pair of variable resistance storage elements are in a non-complementary state,
6. The nonvolatile logic circuit according to claim 5, wherein the discrimination circuit charges the pair of nodes when the potential of the pair of nodes falls below a threshold value.
前記一対の抵抗変化型記憶素子の各々は磁気トンネル接合素子である、請求項1~6の何れか1項に記載の不揮発性論理回路。

7. The nonvolatile logic circuit according to claim 1, wherein each of the pair of variable resistance storage elements is a magnetic tunnel junction element.

JP2020562967A 2018-12-25 2019-11-28 non-volatile logic circuit Active JP7376933B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2018241191 2018-12-25
JP2018241191 2018-12-25
PCT/JP2019/046590 WO2020137341A1 (en) 2018-12-25 2019-11-28 Nonvolatile logic circuit

Publications (2)

Publication Number Publication Date
JPWO2020137341A1 JPWO2020137341A1 (en) 2021-11-18
JP7376933B2 true JP7376933B2 (en) 2023-11-09

Family

ID=71127843

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020562967A Active JP7376933B2 (en) 2018-12-25 2019-11-28 non-volatile logic circuit

Country Status (4)

Country Link
US (1) US11790966B2 (en)
JP (1) JP7376933B2 (en)
KR (1) KR20210106524A (en)
WO (1) WO2020137341A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023551233A (en) 2021-08-12 2023-12-07 エルジー・ケム・リミテッド Resin and its manufacturing method, resin composition, and molded product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015170378A (en) 2014-03-07 2015-09-28 国立大学法人東北大学 Logic circuit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4073690B2 (en) * 2001-11-14 2008-04-09 株式会社ルネサステクノロジ Thin film magnetic memory device
JP4631090B2 (en) * 2004-02-19 2011-02-16 株式会社 東北テクノアーチ Logic-in-memory circuit using magnetoresistance effect element
WO2013047213A1 (en) * 2011-09-27 2013-04-04 日本電気株式会社 Non-volatile resistance network aggregate and non-volatile logic gate having enhanced fault tolerance using same
US9536584B2 (en) * 2012-06-11 2017-01-03 Nec Corporation Nonvolatile logic gate device
KR102111738B1 (en) * 2013-06-05 2020-05-15 삼성전자주식회사 Memory device, memory system and operating method of the same
US9529660B2 (en) * 2015-03-03 2016-12-27 Intel Corporation Apparatus and method for detecting single flip-error in a complementary resistive memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015170378A (en) 2014-03-07 2015-09-28 国立大学法人東北大学 Logic circuit

Also Published As

Publication number Publication date
KR20210106524A (en) 2021-08-30
US11790966B2 (en) 2023-10-17
JPWO2020137341A1 (en) 2021-11-18
US20220076722A1 (en) 2022-03-10
WO2020137341A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
US8130582B2 (en) Semiconductor signal processing device
JP4631090B2 (en) Logic-in-memory circuit using magnetoresistance effect element
JP5907524B2 (en) Nonvolatile functional memory device
TW201835907A (en) Non-volatile semiconductor memory device
US8324932B2 (en) High-speed static XOR circuit
JP7376933B2 (en) non-volatile logic circuit
JP6004465B2 (en) Nonvolatile functional memory device
US20220108742A1 (en) Differential charge sharing for compute-in-memory (cim) cell
KR102429193B1 (en) Delay-based read system for a magnetoresistive random access memory (mram) bit
JP7149198B2 (en) semiconductor equipment
US11538509B2 (en) Compute-in-memory with ternary activation
TWI742795B (en) Operating method and sense amplifier
TW202234398A (en) Compute-in-memory bitcell with capacitively-coupled write operation
KR102125166B1 (en) Logic Gate Based Magnetic Tunnel Junction Structure
JP6327902B2 (en) Non-volatile associative memory
KR100723484B1 (en) Comparator having small size and improved operating speed
TWI813244B (en) Memory array
JP3462950B2 (en) Comparison circuit
Barla et al. Design and analysis of self-write-terminated hybrid STT-MTJ/CMOS logic gates using LIM architecture
US7672154B2 (en) Semiconductor memory device and method of programming the same
TW202341151A (en) Memory device and operation method thereof
KR20230027453A (en) In-memory computing device and method based on capacitive coupling using resistive device
KR20220149467A (en) Semiconductor device performing a mac operation
CN115064192A (en) Read logic circuit based on magnetic tunnel junction
JP2016225000A (en) Storage device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20231010

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231020

R150 Certificate of patent or registration of utility model

Ref document number: 7376933

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150