Memory device
The memory device uses a sense amplifier circuit with dual reference voltages to enhance read operation reliability and efficiency by accurately determining the resistance states of resistance change memory elements, addressing the challenges in existing technologies.
Patent Information
- Application Number
- JP2023044207
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing memory devices face challenges in improving read operation characteristics, particularly in efficiently reading and determining the resistance states of resistance change memory elements such as ReRAM, alloy type PCM, iPCM, and CBRAM elements.
The memory device employs a sense amplifier circuit that uses two reference voltages to compare the bit line voltage with a first and second reference voltage, allowing for accurate determination of the resistance state of memory cells by temporarily holding data during the read operation, thereby enhancing the reliability and timing control of read operations.
This approach improves the reliability and efficiency of read operations by securely determining the resistance states of memory cells, reducing constraints on timing control and enhancing data retention characteristics.
Smart Images

Figure 2024134097000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD OF THE DISCLOSURE Embodiments of the present invention relate to memory devices. [Background technology]
[0002] Memory devices have been proposed in which resistive memory elements such as ReRAM (Resistive Random Access Memory) elements, alloy-type PCM (Phase Change Memory) elements, iPCM (Interfacial Phase Change Memory) elements, and CBRAM (Conduction Bridge RAM) elements are integrated. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2022-61691 A Summary of the Invention [Problem to be solved by the invention]
[0004] The characteristics of the read operation of a memory device are improved. [Means for solving the problem]
[0005] A memory device of an embodiment includes a memory cell connected to a bit line and a word line, storing first data including a first bit, a second bit, and a third bit, and a sense amplifier circuit that performs a first comparison of a bit line voltage of the bit line with a first reference voltage, performs a second comparison of the bit line voltage with a second reference voltage lower than the first reference voltage, and reads data stored in the memory cell based on a result of the first comparison and a result of the second comparison, wherein the sense amplifier circuit holds second data having a first code when the bit line voltage becomes equal to or lower than the first reference voltage during a first period from the start of operation of the sense amplifier circuit to a first time, and holds the first data after the first period. [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a block diagram illustrating a memory device according to a first embodiment. [Diagram 2] 1 is a circuit diagram of a memory cell array of a memory device according to a first embodiment. [Diagram 3] 4A to 4C are diagrams showing the operation of a memory cell in the memory device according to the first embodiment. [Figure 4] 4A to 4C are diagrams showing the operation of a memory cell in the memory device according to the first embodiment. [Diagram 5] 1 is a cross-sectional view of a memory cell array of a memory device according to a first embodiment. [Figure 6] 6 is a cross-sectional view taken along line AA in FIG. 5. [Figure 7] FIG. 7 is a cross-sectional view taken along line BB in FIG. 6. [Figure 8] 4 is a diagram showing the relationship between the resistance state of a memory cell and stored data in the memory device of the first embodiment. FIG. [Figure 9] 2 is a block diagram showing a configuration example of a sense amplifier of the memory device according to the first embodiment; [Figure 10] 2 is a block diagram showing a configuration example of a sense amplifier circuit of a sense amplifier of a memory device according to the first embodiment; [Figure 11]2 is a block diagram showing a configuration example of a sense amplifier circuit of the memory device according to the first embodiment; [Figure 12] 2 is a block diagram showing a configuration example of a sense amplifier circuit of the memory device according to the first embodiment; [Figure 13] 2 is a block diagram showing a configuration example of a sense amplifier circuit of the memory device according to the first embodiment; [Figure 14] 4A to 4C are diagrams for explaining a read operation of the memory device according to the first embodiment; [Figure 15] FIG. 2 is a circuit diagram showing an outline of a read operation of the memory device according to the first embodiment. [Figure 16] 4 is a cross-sectional view showing an outline of a read operation of the memory device according to the first embodiment; [Figure 17] FIG. 4 is a waveform diagram showing an outline of a read operation of the memory device according to the first embodiment. [Figure 18] 4 is a diagram showing changes over time in a bit line voltage and changes over time in a plurality of control signals in the memory device of the first embodiment. [Figure 19] 4 is a timing chart showing an example of the operation of a sense amplifier circuit in the memory device of the first embodiment. [Figure 20] 4 is a timing chart showing an example of the operation of a sense amplifier circuit in the memory device of the first embodiment. [Figure 21] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Figure 22] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Figure 23] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Figure 24] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Diagram 25] 4 is a timing chart showing an example of the operation of a sense amplifier circuit in the memory device of the first embodiment. [Figure 26]FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Figure 27] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Figure 28] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Figure 29] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Diagram 30] FIG. 2 is a schematic diagram showing a state during operation of a sense amplifier circuit of the memory device according to the first embodiment. [Diagram 31] FIG. 11 is a diagram showing the relationship between the resistance state of a memory cell and stored data in a memory device according to a second embodiment. [Diagram 32] FIG. 11 is a block diagram showing a configuration example of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 33] 13 is a diagram showing changes over time in a bit line voltage and changes over time in a plurality of control signals in a memory device according to a second embodiment. [Diagram 34] 10 is a timing chart showing an example of the operation of a sense amplifier circuit in the memory device of the second embodiment. [Diagram 35] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 36] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Figure 37] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Figure 38] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Figure 39] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 40] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 41]10 is a timing chart showing an example of the operation of a sense amplifier circuit in the memory device of the second embodiment. [Diagram 42] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 43] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 44] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Diagram 45] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Figure 46] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a second embodiment. [Figure 47] FIG. 11 is a diagram showing the relationship between the resistance state of a memory cell and stored data in a memory device according to a third embodiment. [Figure 48] FIG. 11 is a block diagram showing a configuration example of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 49] 13 is a diagram showing changes over time in a bit line voltage and changes over time in a plurality of control signals in a memory device according to a third embodiment. [Figure 50] 13 is a timing chart showing an example of the operation of a sense amplifier circuit in the memory device of the third embodiment. [Figure 51] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 52] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Diagram 53] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 54] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 55] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 56]FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 57] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 58] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 59] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 60] 10 is a timing chart for explaining an example of the operation of the memory device according to the third embodiment. [Figure 61] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 62] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 63] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 64] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 65] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 66] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 67] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 68] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 69] FIG. 11 is a schematic diagram showing a state during operation of a sense amplifier circuit of a memory device according to a third embodiment. [Figure 70] FIG. 13 is a block diagram showing a configuration example of a sense amplifier circuit of a memory device according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] A memory device according to an embodiment will be described with reference to FIGS.
[0008] Hereinafter, the present embodiment will be described in detail with reference to the drawings. In the following description, elements having the same functions and configurations are given the same reference numerals. Furthermore, in each of the following embodiments, when components (e.g., circuits, wiring, various voltages and signals, etc.) given reference numerals with distinguishing numbers / letters at the end are not required to be distinguished from each other, descriptions (reference numerals) with the numbers / letters at the end omitted are used.
[0009] (Embodiment) (1) First embodiment A memory device according to a first embodiment will be described with reference to FIGS.
[0010] (a) Configuration example <a-1>Overall memory system configuration The overall configuration of a memory system including a memory device according to the present embodiment will be described with reference to FIG.
[0011] FIG. 1 is a block diagram showing the overall configuration of a memory system including a memory device 1 of the present embodiment.
[0012] 1, the memory system 99 includes a memory device 1 and a controller 2. The memory device 1 and the controller 2 may be combined to form one storage device. An example of the storage device is SD TM Examples of such a storage device include a memory card such as a card, and a solid state drive (SSD).
[0013] The memory device 1 stores data in a non-volatile manner.
[0014] The controller 2 is connected to the memory device 1 via a memory bus. The controller 2 controls various operations of the memory device 1. The memory bus transmits and receives signals in accordance with a memory interface. The controller 2 is connected to the host device 3 via a host bus. The controller 2 accesses the memory device 1 in response to a host command received from the host device 3.
[0015] The host device 3 is, for example, a digital camera, a personal computer, a smartphone, a mobile terminal, etc. The host bus is, for example, TM An SATA bus is a bus that conforms to various interface standards, such as an SATA, USB, or PCI Express.
[0016] <Controller 2 configuration> As shown in FIG. 1, the controller 2 includes a host interface circuit (host I / F) 210, an internal memory (RAM: Random Access Memory) 220, a processor (CPU: Central Processing Unit) 230, a buffer memory 240, a memory interface circuit (memory I / F) 250, and an ECC (Error Checking and Correcting) circuit 260.
[0017] The host interface circuit 210 is connected to the host device 3 via a host bus. The host interface circuit 210 transfers host commands and data received from the host device 3 to the processor 230 and the buffer memory 240, respectively. In response to an instruction from the processor 230, the host interface circuit 210 transfers data in the buffer memory 240 to the host device 3.
[0018] The built-in memory 220 is, for example, a semiconductor memory such as a DRAM and / or an SRAM. The built-in memory 220 is used as a working area for the processor 230. The built-in memory 220 holds, for example, firmware for managing the memory device 1 and / or various management tables.
[0019] The processor 230 controls the operation of the entire controller 2. For example, when the processor 230 receives a host command related to reading from the host device 3, the processor 230 causes the memory interface circuit 250 to issue a read command (memory command) to the memory device 1 in response to the host command. When the processor 230 receives a host command related to writing from the host device 3, the processor 230 causes the memory interface circuit 250 to issue a write command to the memory device 1 in response to the host command. The processor 230 executes various processes (such as wear leveling) for managing the memory device 1.
[0020] The buffer memory 240 temporarily holds data to be written to the memory device 1 and data read from the memory device 1. Data to be written to the memory device 1 is called write data. Data read from the memory device 1 is called read data. The memory interface circuit 250 is connected to the memory device 1 via a memory bus. The memory interface circuit 250 manages communication between the memory device 1 and the controller 2. The memory interface circuit 250 sends various signals to the memory device 1 based on instructions from the processor 230. The memory interface circuit 250 receives various signals from the memory device 1.
[0021] The ECC circuit 260 performs error detection and error correction processes on data stored in the memory device 1. More specifically, the ECC circuit 260 generates an error correction code when writing data. The ECC circuit 260 adds the generated error correction code to the data to be written to the memory device 1. When reading data, the ECC circuit 260 decodes the error correction code of the data read from the memory device.
[0022] <Memory device 1 configuration> As shown in FIG. 1, the memory device 1 includes a memory cell array 110, a row decoder 120, a driver 130, a sense amplifier 140, a data register 150, an address register 160, a command register 170, and a sequencer 180.
[0023] The memory cell array 110 includes a plurality of blocks BLK. Each of the plurality of blocks BLK includes a plurality of memory cells associated with rows (word lines) and columns (bit lines). In Fig. 1, four blocks BLK0,...,BLK3 are illustrated as an example. The memory cell array 110 stores data from the controller 2 in the memory cells.
[0024] The row decoder 120 selects one of the blocks BLK0, . . . , BLK3 based on the block address BA in the address register 160. The row decoder 120 selects a word line in the selected block BLK.
[0025] The driver 130 supplies a voltage to the selected block BLK via the row decoder 120 based on the page address PA in the address register 160. The driver 130 further includes, for example, a source line driver and the like.
[0026] The sense amplifier 140 includes a sense amplifier circuit SA provided for each bit line BL. When reading data, the sense amplifier 140 senses the data read from the memory cell array 110. The sense amplifier 140 performs various processes on the read data (signal). The sense amplifier 140 sends data DAT to the data register 150. When writing data, the sense amplifier 140 transfers the data DAT received from the data register 150 to the memory cell array 110.
[0027] The data register 150 includes one or more latch circuits. The latch circuits can store (hold) data that has been read or data to be written. For example, the data register 150 temporarily holds data (read data) DAT received from the sense amplifier 140 during a read. The data register 150 outputs the data DAT from the sense amplifier 140 to the controller 2. The data register 150 temporarily stores data (write data) DAT received from the controller 2 during a write. The data register 150 transmits the data DAT from the controller 2 to the sense amplifier 140.
[0028] The address register 160 stores the address ADD received from the controller 2. The address ADD includes the above-mentioned block address BA and page address PA.
[0029] The command register 170 stores the command CMD received from the controller 2 .
[0030] The sequencer 180 controls the operation of the entire memory device 1. The sequencer 180 controls, for example, the row decoder 120, the driver 130, the sense amplifier 140, and the data register 150 based on the command CMD in the command register 170. In this way, the sequencer 180 executes a read operation, a write operation, or the like in response to the command CMD.
[0031] (a-2) Configuration of the Memory Cell Array 110 <Circuit configuration> The circuit configuration of the memory cell array 110 of the memory device 1 of this embodiment will be described with reference to Fig. 2. Fig. 2 is an equivalent circuit diagram showing an example of the circuit configuration of the memory cell array 110 of the memory device 1 of this embodiment. In Fig. 2, one block BLK is extracted and shown from among a plurality of blocks BLK included in the memory cell array 110.
[0032] 2, each block BLK in the memory cell array 110 includes, for example, four string units SU (SU0, . . . , SU3). Each string unit SU includes a plurality of memory cell strings MS. The number of string units SU included in each block BLK is arbitrary. The number of memory cell strings MS included in each string unit SU is arbitrary.
[0033] Each memory cell string MS includes, for example, 16 memory cells MC (MC0, ···, MC15) and a select transistor ST1. Hereinafter, when each of the memory cells MC0, ···, MC15 is not distinguished, the memory cell is simply denoted as the memory cell MC. The number of memory cells MC included in each memory cell string MS may be 8, 32, 48, 64, 96, 128, etc., and the number is not limited. Also, the number of select transistors ST1 included in each memory cell string MS is arbitrary, and at least one or more is sufficient.
[0034] The memory cell MC includes a memory element (resistive change memory region, resistive change layer, resistive change element) MR and a selector SW. As an example of the memory element MR, an alloy-type phase change element (Ge2Sb2Te5) can be mentioned. The memory element MR of the present embodiment assumes a resistance state corresponding to the crystal state by changing the crystal state. Hereinafter, the case where the memory element MR takes eight resistance states RS (RS0, ···, RS7) will be described as an example. Hereinafter, the resistance values of the resistance states RS0, ···, RS7 are denoted as resistance values R0, ···, R7 (where R0 < R1 < R2 < R3 < R4 < R5 < R6 < R7), respectively.
[0035] For example, a 3-bit value is assigned to each of the eight resistance states. Thereby, one memory cell MC stores 3-bit data.
[0036] Note that the number of resistance states RS of the memory element MR is not limited. The number of resistance states RS that the memory element MR can have may be 2, 4, 16, etc. For example, when the memory element MR takes two resistance states RS, the case where the memory element MR is in the low resistance state (LRS) is called the "set state", and the case where it is in the high resistance state (HRS) is called the "reset state".
[0037] In the present embodiment, the selector SW includes a semiconductor layer, a gate insulating film, and a gate electrode. In the memory cell MC, the memory element MR and the selector SW are connected in parallel.
[0038] The operating states of the memory cells MC in the unselected and selected states will be described with reference to FIGS.
[0039] When the memory cell MC is in a non-selected state, the selector SW is turned on (conductive). As shown in Fig. 3, when the selector SW is in an on state, an inversion layer (channel layer) is generated in the semiconductor layer of the selector SW. Therefore, in the memory cell MC in a non-selected state, a current flows through the inversion layer.
[0040] For example, the resistance value R0 of the memory element MR in the lowest resistance state RS0 is 10 times (one digit) higher than the resistance value of the semiconductor layer when the selector SW is in the on state. Therefore, when the selector SW is in the on state, no current flows through the memory elements MR connected in parallel. Data is stored in the memory elements MR. Therefore, no current flows through the memory elements MR, which means that the memory cells MC are not selected.
[0041] On the other hand, when the memory cell MC is in the selected state, the selector SW is in the off state (non-conductive state). As shown in Figure 4, when the selector SW is in the off state, an inversion layer (channel layer) is not formed in the semiconductor layer of the selector SW. Therefore, no current flows through the semiconductor layer.
[0042] For example, the resistance value R7 of the memory element MR in the highest resistance state RS7 is 10 times (one digit) lower than the resistance value of the semiconductor layer when the selector SW is in the off state. Therefore, when the selector SW is in the off state, a current flows through the memory elements MR connected in parallel. The current flowing through the memory element MR means that the memory cell MC is selected.
[0043] Returning to FIG. 2, the description of the memory cell array 110 will continue.
[0044] The memory cells MC0, . . . , MC15 included in each memory cell string MS are connected in series between the select transistor ST1 and the source line SL.
[0045] A memory element MR connected in parallel to the select transistor ST1 may be provided. In this case, the configuration in which the select transistor ST1 and the memory element MR are connected in parallel may be the same as the configuration of the memory cell MC. The control gates (multiple control gates) of the memory cells MC0 of each memory cell string MS included in the same block BLK are commonly connected to the word line WL0. The control gates of the memory cells MC1, . . . , MC15 of each memory cell string MS included in the same block BLK are commonly connected to the word lines WL1, . . . , WL15, respectively. Hereinafter, when the word lines WL0, . . . , WL15 are not distinguished from one another, the word lines are simply referred to as word lines WL.
[0046] A set of a plurality of memory cells MC connected to a common word line WL in each string unit SU is called a cell unit CU.
[0047] In this embodiment, one memory cell MC can store 3-bit data. In this 3-bit data, the data of each digit is called a lower bit (or lower data), a middle bit (or middle data), and an upper bit (or upper data) from the least significant digit side. A set of lower bits held by each memory cell MC in a cell unit CU is called a lower page. A set of middle bits held by each memory cell MC in a cell unit CU is called a middle page. A set of upper bits held by each memory cell MC in a cell unit CU is called an upper page.
[0048] In this way, three pages are allocated to one cell unit CU.
[0049] The gates of the multiple select transistors ST1 in each string unit SU are commonly connected to a select gate line SGD. More specifically, the gates of the multiple select transistors ST1 in string unit SU0 are commonly connected to a select gate line SGD0. The gates of the multiple select transistors ST1 in string unit SU1 are commonly connected to a select gate line SGD1. The same is true for string units SU2 and SU3. Hereinafter, when there is no need to distinguish between the select gate lines SGD (SGD0, SGD1, ...), the select gate line will be simply referred to as the select gate line SGD.
[0050] The select gate lines SGD and the word lines WL are each independently controlled by a row decoder 120 .
[0051] The drains of the select transistors ST1 in multiple memory cell strings MS located in the same column in the memory cell array 110 are commonly connected to a bit line BL (BL0,...,BLm, where m is a natural number equal to or greater than 1). The bit line BL commonly connects the memory cell strings MS of each string unit SU across multiple blocks BLK. Hereinafter, when there is no need to distinguish between the bit lines BL0,...,BLm, the bit lines will be simply referred to as bit lines BL.
[0052] The sources of the memory cells MC15 in the multiple memory cell strings MS of the memory cell array 110 are commonly connected to a source line SL.
[0053] In this manner, each string unit SU includes multiple memory cell strings MS that are connected to different bit lines BL and the same select gate line SGD. Each block BLK includes multiple string units SU that share a word line WL. The memory cell array 110 includes multiple blocks BLK that share a bit line BL.
[0054] <Structure> The structure of the memory cell array 110 of the memory device 1 of this embodiment will be described with reference to Fig. 5. Fig. 5 shows an example of a cross-sectional structure of the memory cell array 110 in the memory device 1 of this embodiment. In the following, the X direction corresponds to the extension direction of the bit lines BL. The Y direction corresponds to the extension direction of the word lines WL. The Z direction corresponds to the vertical direction with respect to the surface of the semiconductor substrate 20 on which the memory cell array 110 is formed. In the following figures, components such as insulating layers (interlayer insulating films), wiring, and contacts are omitted as appropriate to improve the visibility of the figures.
[0055] 5, the memory cell array 110 includes, for example, conductive layers 21, 22, 23, and 24. The conductive layers 21, 22, 23, and 24 are provided above a semiconductor substrate 20.
[0056] A conductive layer (voltage application electrode) 21 is provided above the semiconductor substrate 20 in the Z direction via an insulating layer (not shown). A circuit such as a sense amplifier 140 may be provided in the insulating layer between the semiconductor substrate 20 and the conductive layer 21. The conductive layer 21 is formed, for example, in a plate shape extending along the XY plane. The conductive layer 21 is used as a source line SL. The potential of the conductive layer 21 is set to a constant low voltage in order to flow a current from the bit line BL to a memory pillar MP described later. The conductive layer 21 includes, for example, silicon (Si).
[0057] Above the conductive layer 21 in the Z direction, a plurality of insulating layers (not shown) and a plurality of conductive layers (voltage application electrodes) 22 are alternately stacked. The conductive layer 22 is formed, for example, in a plate shape spreading along the XY plane. The stacked conductive layers 22 are used, for example, in order from the semiconductor substrate 20 side, as word lines WL15, . . . , WL0, respectively. The conductive layer 22 contains, for example, tungsten (W).
[0058] A plurality of conductive layers (voltage application electrodes) 23 are provided above the uppermost conductive layer 22 (WL0) in the Z direction via an insulating layer (not shown). The conductive layers 23 extend in the Y direction. The conductive layers 23 are provided in the X direction for each select pillar SP (described later). Each of the conductive layers 23 is used as a select gate line SGD0, SGD1, SGD2, or SGD3. The conductive layers 23 include, for example, tungsten (W).
[0059] A conductive layer (voltage application electrode) 24 is provided above the conductive layer 23 in the Z direction via an insulating layer (not shown). The conductive layer 24 is formed, for example, in a line shape extending along the X direction. The conductive layer 24 is used as a bit line BL. The conductive layer 24 contains, for example, copper (Cu).
[0060] The memory pillar MP has, for example, a cylindrical shape extending along the Z direction. The memory pillar MP penetrates a stacked body including a conductive layer 22 and an insulating layer. The bottom of the memory pillar MP reaches the conductive layer 21. The memory pillar MP includes, for example, a core member 30, a resistance change layer 31, a semiconductor layer 32, and an insulating layer 33.
[0061] A cylindrical select pillar SP is provided on the memory pillar MP. The select pillar SP penetrates the conductive layer 23 and an insulating layer (not shown). The upper part of the select pillar SP reaches the conductive layer 24. The select pillar SP includes, for example, a semiconductor layer 32 and an insulating layer 33.
[0062] The layer including the boundary between the memory pillar MP and the select pillar SP is included in the layer between the uppermost conductive layer 22 and the conductive layer 23.
[0063] The core member 30 in the memory pillar MP has, for example, a cylindrical shape extending in the Z direction. The core member 30 includes, for example, an insulator such as silicon nitride (SiN).
[0064] The resistance change layer 31 in the memory pillar MP covers the side surface (outer periphery) of the core member 30. The resistance change layer 31 is in contact with the core member 30. The resistance change layer 31 extends in the Z direction, for example. The resistance change layer 31 has a cylindrical shape. The bottom of the resistance change layer 31 is in contact with the conductive layer 21. An example of a material for the resistance change layer 31 is an alloy-type phase transition material (for example, Ge2Sb2Te5).
[0065] The semiconductor layer 32 in the memory pillar MP covers the side surface (outer periphery) of the resistance change layer 31. The semiconductor layer 32 is in contact with the resistance change layer 31. The semiconductor layer 32 extends in the Z direction, for example. The semiconductor layer 32 has a cylindrical shape. The bottom of the semiconductor layer 32 is in contact with the conductive layer 21.
[0066] The semiconductor layer 32 in the select pillar SP extends in, for example, the Z direction. The semiconductor layer 32 has a cylindrical shape. An upper portion of the semiconductor layer 32 is in contact with the conductive layer 24. A bottom portion of the semiconductor layer 32 in the select pillar SP is in contact with the semiconductor layer 32, the resistance change layer 31, and the core member 30 of the memory pillar MP.
[0067] The insulating layer 33 in the select pillar SP covers the side surface (outer periphery) of the semiconductor layer 32. The insulating layer 33 is in contact with the semiconductor layer 32. The insulating layer 33 extends, for example, in the Z direction. The insulating layer 33 has a cylindrical shape. A portion of the side surface of the insulating layer 33 is covered with the conductive layer 22. A portion of the side surface of the insulating layer 33 is in contact with the conductive layer 22. A portion of the side surface of the insulating layer 33 is covered with the conductive layer 23. A portion of the side surface of the insulating layer 33 is in contact with the conductive layer 23. The insulating layer 33 includes an insulator such as, for example, silicon oxide (SiO2).
[0068] The select transistor ST1 includes a conductive layer 23, a semiconductor layer 32, and an insulating layer 33. A memory element MR connected in parallel to the select transistor ST1 may be provided. In this case, the configuration in which the select transistor ST1 and the memory element MR are connected in parallel may be the same as the configuration of the memory cell MC. For example, in FIG. 5, the core member 30 and the resistance change layer 31 may be provided so that their upper portions are located above the conductive layer 23 (on the bit line BL side). The upper portions of the core member 30 and the resistance change layer 31 may be in contact with the conductive layer 24.
[0069] The cross-sectional structure of the memory cell array 110 at the position of the conductive layer 23 will be described with reference to Fig. 6. Fig. 6 is a cross-sectional view taken along line AA in Fig. 5, perpendicular to the Z direction.
[0070] As shown in FIG. 6, the semiconductor layer 32 and the insulating layer 33 penetrate the conductive layer 23. The conductive layer 23 functions as select gate lines SGD0, . . . , SGD3 of the select transistor ST1. The insulating layer 33 functions as a gate insulating film of the select transistor ST1. The semiconductor layer 32 functions as a semiconductor layer of the select transistor ST1. By using the select transistor ST1, it is possible to select a memory pillar MP for each word line WL. More specifically, by setting the select transistor ST1 to an on state, an inversion layer is formed in the semiconductor layer 32 that is in contact with the resistance change layer 31 of the memory pillar MP. By supplying a current to the memory pillar MP via the inversion layer, it is possible to select the memory pillar MP.
[0071] A cross-sectional view of the memory cell array 110 at the position of the conductive layer 22 will be described with reference to Fig. 7. Fig. 7 is a cross-sectional view perpendicular to the Z direction, taken along line BB in Fig. 5.
[0072] As shown in Fig. 7, the memory cell MC is provided at the intersection of a plate-shaped word line WL and a memory pillar MP. The core member 30, the resistance change layer 31, the semiconductor layer 32, and the insulating layer 33 penetrate the conductive layer 22. The conductive layer 22 functions as the gate electrode of the selector SW of the memory cell MC and the word line WL. The insulating layer 33 functions as a gate insulating film of the selector SW of the memory cell MC. The semiconductor layer 32 functions as a semiconductor layer of the selector SW of the memory cell MC. The resistance change layer 31 functions as the memory element MR of the memory cell MC.
[0073] FIG. 8 illustrates the relationship between the resistance state of the memory cell MC and the data to be stored in the memory device 1 of this embodiment.
[0074] In this embodiment, as described above, one memory cell MC stores three bits of data. The three bits of data include a lower bit (lower data), a middle bit (middle data), and an upper bit (upper data). The lower bit is the least significant bit of the three bits. The middle bit is the middle bit of the three bits. The upper bit is the most significant bit of the three bits.
[0075] The memory cell MC can take eight resistance states RS so as to be associated with three bits of data. The memory cell MC has one of the eight resistance states RS depending on the data to be stored.
[0076] The resistance state RS of the memory cell MC changes depending on the magnitude of the voltage, the magnitude of the current, or the magnitude of Joule heat applied to the resistance change layer 31 during a write operation.
[0077] As shown in FIG. 8, the resistance value of the memory cell MC increases from the resistance state RS0 to the resistance state RS7.
[0078] When the memory cell MC has a resistance state RS0 with the lowest resistance value, the memory cell MC stores "111" data. When the memory cell MC has a resistance state RS1 with the second lowest resistance value, the memory cell MC stores "101" data. When the memory cell MC has a resistance state RS2 with the third lowest resistance value, the memory cell MC stores "100" data. When the memory cell MC has a resistance state RS3 with the fourth lowest resistance value, the memory cell MC stores "110" data. When the memory cell MC has a resistance state RS4 with the fourth highest resistance value (fifth lowest resistance value), the memory cell MC stores "010" data. When the memory cell MC has a resistance state RS5 with the third highest resistance value (sixth lowest resistance value), the memory cell MC stores "011" data. When the memory cell MC has a resistance state RS6 with the second highest resistance value (seventh lowest resistance value), the memory cell MC stores "001" data. When the memory cell MC has the resistance state RS7 having the highest resistance value, the memory cell MC stores "000" data.
[0079] In the four resistance states RS0, RS1, RS2, and RS3 having relatively low resistance values among the eight resistance states, "1" data is assigned to the Upper bit. In the four resistance states RS4, RS5, RS6, and RS7 having relatively high resistance values among the eight resistance states, "0" data is assigned to the Upper bit.
[0080] In this way, three bits of data are associated with the resistance state of the memory cell.
[0081] (a-3) Configuration of the Sense Amplifier 140 The configuration of the sense amplifier 140 in the memory device 1 of this embodiment will be described with reference to Fig. 9. Fig. 9 is a block diagram showing an example of the configuration of the sense amplifier 140 in the memory device 1 of this embodiment.
[0082] 9, the sense amplifier 140 includes the same number of sense amplifier circuits SA (SA0,...,SAm, where m is a natural number equal to or greater than 1) as the number of bit lines BL. Hereinafter, when the sense amplifier circuits SA0,...,SAm are not distinguished from one another, the sense amplifier circuits are simply referred to as sense amplifier circuits SA.
[0083] The sense amplifier circuits SA0, . . . , SAm are connected to the bit lines BL0, . . . , BLm, respectively. The sense amplifier circuits SA0, .
[0084] The sense amplifier circuit SA senses the voltage of the bit line BL when reading data. The sense amplifier circuit SA performs various processes based on the result of sensing the voltage of the bit line BL. The sense amplifier circuit SA sends data DAT determined by the result of the processes to the data register 150.
[0085] When writing data, the sense amplifier circuit SA receives write data DAT from the data register 150. The sense amplifier circuit SA sends a voltage corresponding to the received write data DAT to the bit line BL.
[0086] The configuration of the sense amplifier circuit SA of the sense amplifier 140 in the memory device 1 of this embodiment will be described with reference to FIG.
[0087] FIG. 10 is a block diagram showing an outline of the configuration of a sense amplifier circuit SA in the memory device 1 of the present embodiment.
[0088] As shown in FIG. 10, in this embodiment, the sense amplifier circuit SA includes a voltage sense circuit 141, a switching circuit (control circuit) 142, a lower bit determination circuit 143L, a middle bit determination circuit 143M, and an upper bit determination circuit 143U.
[0089] The voltage sense circuit 141 is connected to the bit line BL. During a read operation, the voltage sense circuit 141 senses the potential of the bit line BL (bit line voltage VBL). The voltage sense circuit 141 acquires a signal corresponding to the potential of the bit line BL. For example, the voltage sense circuit 141 uses two reference voltages to determine which is larger, the bit line voltage VBL, and the reference voltages.
[0090] The lower bit determination circuit 143L performs a determination process on the lower bit of the three-bit data based on a signal corresponding to the bit line voltage VBL. The lower bit determination circuit 143L receives a control signal (hereinafter also referred to as a logic signal) Lgc(L) for determining the lower bit. The lower bit determination circuit 143L includes a lower bit latch circuit 40L. The lower bit latch circuit 40L temporarily stores the lower bit.
[0091] The middle bit determination circuit 143M performs a determination process on the middle bit of the 3-bit data based on a signal corresponding to the bit line voltage VBL. The middle bit determination circuit 143M receives a control signal (logic signal) Lgc(M) for determining the middle bit. The middle bit determination circuit 143M includes a middle bit latch circuit 40M. The middle bit latch circuit 40M temporarily stores the middle bit.
[0092] The Upper bit determination circuit 143U performs a determination process on the Upper bit of the 3-bit data based on a signal corresponding to the bit line voltage VBL. The Upper bit determination circuit 143U receives a control signal (logic signal) Lgc(U) for determining the Upper bit. The Upper bit determination circuit 143U includes an Upper bit latch circuit 40U. The Upper bit latch circuit 40U temporarily stores the Upper bit.
[0093] Hereinafter, when the Lower bit determination circuit 143L, the Middle bit determination circuit 143M, and the Upper bit determination circuit 143U are not distinguished from each other, these circuits 143L, 143M, and 143U are referred to as a determination circuit 143. Hereinafter, when the Lower bit latch circuit 40L, the Middle bit latch circuit 40M, and the Upper bit latch circuit 40U are not distinguished from each other, these circuits 40L, 40M, and 40U are referred to as a latch circuit 40.
[0094] For example, in the determination circuit 143, the latch circuit 40 includes a D-type flip-flop.
[0095] The switching circuit 142 is provided between the voltage sense circuit 141 and each determination circuit 143. The switching circuit 142 controls the operation state of the determination process of the bits (data) of each determination circuit 143 during a read operation.
[0096] In the memory device 1 of this embodiment, the switching circuit 142 switches the operation state of the decision circuit 143 depending on the value of the decision result stored in one of the decision circuits 143 (for example, the value of the Middle bit).
[0097] For example, in a read operation, the middle bit determination circuit 143M feeds back a signal / Qmid corresponding to the data held in the circuit 143M to the switching circuit 142. For example, the signal / Qmid is a signal having a complementary relationship with the data (e.g., the middle bit) held in the middle bit determination circuit 143M.
[0098] Hereinafter, the signal / Qmid fed back from the Middle bit determination circuit 143M to the switching circuit 142 is called a feedback signal / Qmid.
[0099] <Specific example of sense amplifier circuit SA> A specific example of the internal configuration of the sense amplifier circuit SA in the memory device 1 of this embodiment will be described with reference to FIGS.
[0100] 11, 12, and 13 are diagrams showing specific examples of the internal configurations of a voltage sense circuit 141, a switching circuit 142, and a determination circuit 143 in the sense amplifier circuit SA of the memory device 1 of this embodiment, respectively.
[0101] FIG. 11 shows a specific example of the internal configuration of the voltage sense circuit 141, the switching circuit 142, and the Lower bit determination circuit 143L in the sense amplifier circuit SA of the memory device 1 of this embodiment.
[0102] As shown in FIG. 11, the voltage sense circuit 141 includes two operational amplifiers 41 and 42.
[0103] The operational amplifier 41 has two input nodes and one output node. One input node (e.g., a non-inverting input node) of the operational amplifier 41 is connected to the bit line BL. The non-inverting input node of the operational amplifier 41 receives a bit line voltage VBL. The other input node (e.g., an inverting input node) of the operational amplifier 41 receives a high-potential side reference voltage VrefH. The output node of the operational amplifier 41 is connected to the switching circuit 142.
[0104] The operational amplifier 41 performs an operation (comparison) to determine whether the bit line voltage VBL is higher than the reference voltage VrefH or not. The operational amplifier 41 outputs a signal (hereinafter referred to as a sense signal) VDOH indicating the sense result to the switching circuit 142 based on the operation result between the bit line voltage VBL and the reference voltage VrefH.
[0105] The operational amplifier 42 has two input nodes and one output node. One input node (e.g., a non-inverting input node) of the operational amplifier 42 is connected to the bit line BL. The non-inverting input node of the operational amplifier 42 receives the bit line voltage VBL. The other input node (e.g., an inverting input node) of the operational amplifier 42 receives a low-potential side reference voltage VrefL. The output node of the operational amplifier 42 is connected to the switching circuit 142. The reference voltage VrefL is lower than the reference voltage VrefH.
[0106] The operational amplifier 42 performs an operation (comparison) to determine whether the bit line voltage VBL is higher than the reference voltage VrefL or not. The operational amplifier 42 outputs a sense signal VDOL indicating the sense result to the switching circuit 142 based on the operation result between the bit line voltage VBL and the reference voltage VrefL.
[0107] In this manner, the sense amplifier circuit SA performs a sensing operation of the bit line voltage VBL using the two reference voltages VrefH and VrefL.
[0108] When the resistance state of the memory cell MC is one of the relatively low resistance states RS0,...,RS3, the sense operation using the reference voltage VrefH cannot ensure a sufficient margin of voltage difference and time to distinguish the resistance state of the memory cell MC, so a reference voltage VrefL lower than the reference voltage VrefH is applied to the sense operation of the bit line voltage VBL for the memory cell MC in the resistance states RS0,...,RS3.
[0109] When the resistance state of the memory cell MC is one of the relatively high resistance states RS4,...,RS7, the sense operation using the reference voltage VrefL takes a long time from the start of the sense operation. Therefore, a reference voltage VrefH higher than the reference voltage VrefL is applied to the sense operation of the bit line voltage VBL for the memory cell MC in the resistance states RS4,...,RS7. When the resistance state of the memory cell is one of the resistance states RS4,...,RS7, even if the reference voltage VrefH is used for the sense operation, a sufficient margin of voltage difference and time for determining the resistance state of the memory cell MC can be ensured.
[0110] The switching circuit 142 includes two AND gates (logical operation circuits) 43 and 44, an OR gate (logical operation circuit) 45, and inverters (NOT gates) 90 and 91.
[0111] The AND gate 43 has two input nodes and one output node. One input node of the AND gate 43 is connected to the output node of the operational amplifier 41 via an inverter 90. One input node of the AND gate 43 receives an inverted signal (hereinafter referred to as an inverted sense signal) / VDOH of the sense signal VDOH of the operational amplifier 41. The other input node of the AND gate 43 receives a feedback signal / Qmid. The output node of the AND gate 43 is connected to an OR gate 45.
[0112] The AND gate 43 performs a logical AND operation on the inverted sense signal / VDOH and the feedback signal / Qmid, and outputs a signal SigE indicating the result of the AND operation to the OR gate 45.
[0113] The AND gate 44 has two input nodes and one output node. One input node of the AND gate 44 is connected to the output node of the operational amplifier 42 via an inverter 91. One input node of the AND gate 44 receives an inverted signal (inverted sense signal) / VDOH of the sense signal VDOL of the operational amplifier 42. The other input node of the AND gate 44 receives a control signal (timing signal) ValidHigh. The output node of the AND gate 44 is connected to an OR gate 45.
[0114] The AND gate 44 performs an AND operation on the inverted sense signal / VDOL and the control signal ValidHigh, and outputs a signal SigF indicating the result of the AND operation to the OR gate 45.
[0115] The control signal ValidHigh is a signal indicating whether the sense operation is an operation in a sense period using the reference voltage VrefH or an operation in a sense period using the reference voltage VrefL. For example, during a period in which the control signal ValidHigh has a signal level of "H", it is indicated that the sense operation using the low-potential side reference voltage VrefL is valid. During a period in which the signal level of the control signal ValidHigh is at "H" level, the sense amplifier circuit SA uses the comparison result between the bit line voltage VBL and the reference voltage VrefL to determine data. During a period in which the control signal ValidHigh has a signal level of "L" level, it is indicated that the sense operation using the low-potential side reference voltage VrefL is invalid. During a period in which the signal level of the control signal ValidHigh is at "L" level, the sense amplifier circuit SA does not use the comparison result between the bit line voltage VBL and the reference voltage VrefL to determine data.
[0116] OR gate 45 has two input nodes and one output node.
[0117] One input node of the OR gate 45 is connected to the output node of the AND gate 43. One input node of the OR gate 45 receives a signal SigE. The other input node of the OR gate 45 is connected to the output node of the AND gate 44. The other input node of the OR gate 45 receives a signal SigF. The output nodes of the OR gate 45 are connected to each of the plurality of determination circuits 143L, 143M, and 143U.
[0118] The OR gate 45 executes a logical sum operation (OR operation) of the supplied signals SigE and SigF. The OR gate 45 outputs a signal CLK indicating the result of the OR operation to each determination circuit 143.
[0119] The lower bit determination circuit 143L includes a lower bit latch circuit (data holding circuit) 40L and a multiplexer (selection circuit) 49L.
[0120] The lower bit latch circuit 40L is, for example, a D-type flip-flop 40L. The D-type flip-flop 40L in the lower bit latch circuit 40L includes two input nodes and two output nodes.
[0121] One input node (hereinafter also referred to as a CLK node or a CK node) of the lower bit latch circuit (D-type flip-flop) 40L is connected to the output node of the OR gate 45. One input node of the lower bit latch circuit (D-type flip-flop) 40L receives the signal CLK from the OR gate 45.
[0122] The other input node (hereinafter also referred to as the D node) of the lower bit latch circuit (D-type flip-flop) 40L is connected to the multiplexer 49L. The D node of the lower bit latch circuit (D-type flip-flop) 40L receives a control signal Lgc(L) (LgcVrefH(L), LgcVrefL(L)) via the multiplexer 49L. The control signal Lgc is a signal indicating a data value that can be determined according to a change in the bit line voltage at a certain time during the period in which the sense amplifier circuit SA is operating.
[0123] One output node (hereinafter also referred to as the Q node) of the lower bit latch circuit (D-type flip-flop) 40L is connected to the data register 150. The Q node of the lower bit latch circuit (D-type flip-flop) 40L holds the lower bit. The Q node of the lower bit latch circuit (D-type flip-flop) 40L sends the lower bit to the data register 150.
[0124] The other output node (hereinafter also referred to as the / Q node) of the lower bit latch circuit (D-type flip-flop) 40L holds an inverted signal of the lower bit. For example, the / Q node of the lower bit latch circuit (D-type flip-flop) 40L is not connected to other components.
[0125] The lower bit latch circuit (D-type flip-flop) 40L has a reset node. The reset node of the lower bit latch circuit (D-type flip-flop) 40L receives a reset pulse RstP. The lower bit latch circuit (D-type flip-flop) 40L is reset by the reset pulse RstP. The reset sets the state of the lower bit latch circuit (D-type flip-flop) 40L to its initial state. In the initial state at the start of a read operation, the lower bit latch circuit (D-type flip-flop) 40L holds an "L" level signal ("0" data) at the Q node.
[0126] The multiplexer 49L has two input nodes and one output node. One input node of the multiplexer 49L receives a control signal LgcVrefH(L). The other input node of the multiplexer 49L receives a control signal LgcVrefL(L). The control signal LgcVrefL(L) is different from the control signal LgcVrefH(L). The output node of the multiplexer 49L is connected to the D node of a D-type flip-flop 40L which is a lower bit latch circuit 40L.
[0127] The multiplexer 49L receives a control signal (selection signal) Qmid. In response to the control signal Qmid, the multiplexer 49L sends one of the two control signals LgcVrefH(L) and LgcVrefL(L) to the lower bit latch circuit (D-type flip-flop) 40L as a control signal Lgc(L).
[0128] The control signal Qmid is a signal that has a complementary relationship with the feedback signal / Qmid. The control signal Qmid is an inverted signal of the feedback signal / Qmid.
[0129] The control signal LgcVrefH(L) is a signal that indicates the value of the lower bit according to the sensing operation by the reference voltage VrefH at a certain time during the sensing operation.
[0130] The control signal LgcVrefL(L) is a signal that indicates the value of the Lower bit according to the sensing operation by the reference voltage VrefL at a certain time during the sensing operation.
[0131] FIG. 12 shows a specific example of the internal configuration of the Middle bit determination circuit 143M in the sense amplifier circuit SA of the memory device 1 of this embodiment.
[0132] The middle bit determination circuit 143M includes a middle bit latch circuit (data holding circuit) 40M and a multiplexer (selection circuit) 49M.
[0133] The middle bit latch circuit 40M is, for example, a D-type flip-flop 40M. The D-type flip-flop 40M in the middle bit latch circuit 40M includes two input nodes and two output nodes.
[0134] One input node (CLK node) of the middle bit latch circuit (D-type flip-flop) 40M is connected to the output node of the OR gate 45 of the switching circuit 142. One input node of the middle bit latch circuit (D-type flip-flop) 40M receives the signal CLK from the OR gate 45.
[0135] The other input node (D node) of the middle bit latch circuit (D-type flip-flop) 40M is connected to a multiplexer 49M. The D node of the middle bit latch circuit (D-type flip-flop) 40M receives the control signal Lgc(M) (LgcVrefH(M), LgcVrefL(M)) via the multiplexer 49M.
[0136] One output node (Q node) of the middle bit latch circuit (D-type flip-flop) 40M is connected to the data register 150. The Q node of the middle bit latch circuit (D-type flip-flop) 40M holds the middle bit. The Q node of the middle bit latch circuit (D-type flip-flop) 40M sends the middle bit to the data register 150.
[0137] The other output node ( / Q node) of the middle bit latch circuit (D-type flip-flop) 40M holds the feedback signal / Qmid. The / Q node of the middle bit latch circuit (D-type flip-flop) 40M outputs the feedback signal / Qmid. For example, the / Q node of the D-type flip-flop 40M as the middle bit latch circuit 40M is connected to the other input node of the AND gate 43 of the switching circuit 142.
[0138] The feedback signal / Qmid is an inverted signal of the Middle bit held at the Q node of the D-type flip-flop 40M in the Middle bit latch circuit 40M. The control signal Qmid supplied to the multiplexer 49 is an inverted signal of the feedback signal / Qmid.
[0139] For example, the middle bit latch circuit (D-type flip-flop) 40M has a reset node. The state of the middle bit latch circuit (D-type flip-flop) 40M is reset to an initial state by a reset pulse RstP supplied to the reset node. In the initial state at the start of a read operation, the middle bit latch circuit (D-type flip-flop) 40M holds an “L” level signal (data “0”) at the Q node.
[0140] The multiplexer 49M has two input nodes and one output node. One input node of the multiplexer 49M receives a control signal LgcVrefH(M). The other input node of the multiplexer 49M receives a control signal LgcVrefL(M). The signal LgcVrefL(M) is different from the signal LgcVrefH(M). The output node of the multiplexer 49M is connected to the D node of a D-type flip-flop 40M which is a Middle bit latch circuit 40M.
[0141] The multiplexer 49M receives the control signal Qmid. In response to the control signal Qmid, the multiplexer 49M sends one of the two control signals LgcVrefH(M) and LgcVrefL(M) to the Middle bit latch circuit (D-type flip-flop) 40M as the control signal Lgc(M).
[0142] The control signal LgcVrefH(M) is a signal that indicates the value of the Middle bit according to the sensing operation by the reference voltage VrefH at a certain time during the sensing operation.
[0143] The control signal LgcVrefL(M) is a signal that indicates the value of the Middle bit according to the sensing operation by the reference voltage VrefL at a certain time during the sensing operation.
[0144] FIG. 13 shows a specific example of the internal configuration of the upper bit determination circuit 143U in the sense amplifier circuit SA of the memory device 1 of this embodiment.
[0145] The upper bit determination circuit 143U includes an upper bit latch circuit (data holding circuit) 40U and a multiplexer (selection circuit) 49U.
[0146] The upper bit latch circuit 40U is, for example, a D-type flip-flop 40U.
[0147] The D-type flip-flop 40U in the upper bit latch circuit 40U includes two input nodes and two output nodes.
[0148] One input node of the upper bit latch circuit (D-type flip-flop) 40U is connected to the output node of the OR gate 45 of the switching circuit 142. One input node of the upper bit latch circuit (D-type flip-flop) 40U receives the signal CLK from the OR gate 45.
[0149] The other input node (D node) of the upper bit latch circuit (D-type flip-flop) 40U is connected to a multiplexer 49U. The D node of the upper bit latch circuit (D-type flip-flop 40U) receives the control signal Lgc(U) (LgcVrefH(U), LgcVrefL(U)) via the multiplexer 49U.
[0150] One output node (Q node) of the upper bit latch circuit (D-type flip-flop) 40U is connected to the data register 150. The Q node of the upper bit latch circuit (D-type flip-flop) 40U holds the upper bit. The Q node of the upper bit latch circuit (D-type flip-flop) 40U sends the upper bit to the data register 150.
[0151] The other output node ( / Q node) of the upper bit latch circuit (D-type flip-flop) 40U holds an inverted signal of the upper bit. For example, the / Q node of the upper bit latch circuit (D-type flip-flop) 40U is not connected to other components.
[0152] The upper bit latch circuit (D-type flip-flop) 40U has a reset node. The state of the upper bit latch circuit (D-type flip-flop) 40U is reset to an initial state by a reset pulse RstP supplied to the reset node. In the initial state at the start of a read operation, the upper bit latch circuit (D-type flip-flop) 40U holds an “L” level signal (data “0”) at the Q node.
[0153] The multiplexer 49U has two input nodes and one output node. One input node of the multiplexer 49U receives a control signal LgcVrefH(U). The other input node of the multiplexer 49U receives a control signal LgcVrefL(U). The signal LgcVrefL(U) is different from the signal LgcVrefH(U). The output node of the multiplexer 49U is connected to the D node of a D-type flip-flop 40U which is an upper bit latch circuit 40U.
[0154] The multiplexer 49U receives the control signal Qmid. In response to the control signal Qmid, the multiplexer 49U sends one of the two control signals LgcVrefH(U) and LgcVrefL(U) to the Upper bit latch circuit (D-type flip-flop) 40U as the control signal Lgc(U).
[0155] The control signal LgcVrefH(U) is a signal that indicates the value of the upper bit according to the sensing operation by the reference voltage VrefH at a certain time during the sensing operation.
[0156] The control signal LgcVrefL(U) is a signal that indicates the value of the upper bit according to the sensing operation by the reference voltage VrefL at a certain time during the sensing operation.
[0157] The memory device 1 of this embodiment reads 3-bit data from one memory cell MC by a sense operation using two reference voltages VrefH, VrefL, with the sense amplifier circuit SA having the above-mentioned switching circuit 142 and decision circuit 143.
[0158] FIG. 14 is a schematic diagram showing the relationship between each reference voltage and data in a read operation in the memory device 1 of this embodiment.
[0159] In the memory device 1 of this embodiment, when the bit line voltage VBL becomes lower than the reference voltage VrefH during the period T1 from the start of the read operation to a certain time ta, the judgment result (middle bit) based on the reference voltage VrefH in the middle bit judgment circuit 143M is judged to be "1".
[0160] For example, during the period T1, the code of the data temporarily held by the sense amplifier circuit SA is the "010" code.
[0161] For example, as shown in FIG. 14, when a memory cell MC has any one of four resistance states RS0, RS1, RS2, and RS3 having relatively low resistance values, the sense amplifier circuit SA temporarily stores "010" data as a provisional judgment result for the memory cell MC based on the judgment result (sense result) regarding the high-potential reference voltage VrefH.
[0162] In the memory device 1 of this embodiment, the sense amplifier circuit SA re-acquires data from a state in which “010” data is temporarily stored to a state corresponding to the data originally stored in the memory cell MC based on the sense result of the bit line voltage VBL.
[0163] In this manner, in the memory device 1 of this embodiment, the sense amplifier circuit SA temporarily holds the data "010" as temporary data for a certain period T1 from the start of the sense operation. This relaxes the constraints on the timing control of the read operation in the memory device 1 of this embodiment.
[0164] As a result, the memory device of this embodiment can improve the reliability of the read operation.
[0165] (b) Example of operation <Outline of read operation> The read operation of the memory device 1 of this embodiment will be outlined below. The read operation of the memory device 1 of this embodiment is performed by passing a current between the bit line BL and the source line SL, selecting a memory cell MC to be read, and then sensing the voltage of the bit line BL. In the following, the memory cell selected as the operation target is called a selected cell. Memory cells other than the selected cell are called unselected cells.
[0166] A method for selecting a memory cell MC to be read will be briefly described with reference to Figures 15 and 16. Figure 15 is a circuit diagram of one memory cell string MS in the memory cell array 110 in the memory device 1 of this embodiment. Figure 16 is a cross-sectional view of one memory cell string MS in the memory cell array 110 in the memory device 1 of this embodiment. In the following, an example will be described in which a memory cell MC2 is selected during a read operation.
[0167] As shown in FIG. 15, the sequencer 180 turns on the select transistor ST1.
[0168] The sequencer 180 turns off the selector SW of the selected cell MC2 to be read.
[0169] The sequencer 180 turns on the selector SW of the unselected cells MC0, MC1, MC3, MC4, . . . , MC15.
[0170] A current flows from the bit line BL to the source line SL via the select transistor ST1, the selector SW of the unselected cells MC0 and MC1, the memory element MR of the selected cell MC2, and the selector SW of the unselected cells MC3, . . . , MC15.
[0171] 16, the sequencer 180 applies an "H" level voltage (a predetermined positive voltage) to the select gate line SGD of the select transistor ST1 that is in contact with the memory pillar MP to which the selected cell MC2 belongs. The select transistor ST1 is turned on.
[0172] As a result, an inversion layer is formed in the semiconductor layer 32 of the select transistor ST1. The select transistor ST1 is brought into a state in which a current can flow.
[0173] Therefore, the bit line BL is electrically connected to the semiconductor layer 32 of the memory pillar MP via the select transistor ST1 in the on state.
[0174] The sequencer 180 applies a voltage of the "L" level (for example, 0 V) to the word line WL2 corresponding to the selected cell MC2. As a result, an inversion layer is not formed in the semiconductor layer 32 at a position facing the selected cell MC2.
[0175] The sequencer 180 applies a voltage of "H" level to the word lines WL0, WL1, WL3, . . . , WL15 corresponding to the unselected cells MC0, MC1, MC3, . . . , MC15. As a result, inversion layers are formed in the semiconductor layer 32 at positions facing the unselected cells MC0, MC1, MC3, . . . , MC15.
[0176] As a result, the current flowing between the bit line BL and the source line SL flows through the memory element MR in the selected cell MC2, and flows through the semiconductor layer 32 of the selector SW in the unselected cells MC0, MC1, MC3, . . . , MC15.
[0177] 11, a core member 30, which is an insulating layer, is provided in the center of the memory pillar MP. In the selection cell MC2, a current flows through a resistance change layer 31 that surrounds the core member 30.
[0178] In this manner, during a read operation, the memory element MR of the memory cell MC2 to be read can be selected.
[0179] <Sense operation> A method for sensing the voltage of the bit line BL in the memory device 1 of this embodiment will be described with reference to FIG.
[0180] Fig. 17 is a timing chart of the sense operation of the memory device 1 of this embodiment. In Fig. 17, the horizontal axis corresponds to time, and the vertical axis corresponds to voltage or signal level.
[0181] As shown in FIG. 17, at time t0, the sequencer 180 sets the voltage of the select gate line SGD, the voltage of the bit line BL, and the voltage of the source line SL to the "L" level.
[0182] The sequencer 180 sets the voltage of the unselected word lines WL to the "H" level (voltage VMON). The sequencer 180 lowers the voltage of the selected word line WL from the "H" level to the "L" level (voltage VSS).
[0183] The voltage VSS is a voltage that turns off the selector SW or the select transistor ST1 of the memory cell MC. The voltage VSS is a voltage that can stop the transmission of the voltage of the bit line BL. The voltage VSS is, for example, 0V.
[0184] The voltage VMON is a voltage that can form a channel in the semiconductor layer 32 of the selector SW or the select transistor ST1 of the memory cell MC (the semiconductor layer 32 is in a strong inversion state). The voltage VMON is, for example, 2V.
[0185] During the period from time t1 to time t4, the sequencer 180 sets the voltage of the selected word line WL to the “L” level. As a result, during the period from time t1 to time t4, among the memory cells MC in the selected memory cell string MS, the selector SW of the unselected cells MC is turned on and the selector SW of the selected cell MC is turned off.
[0186] At time t1, the sequencer 180 raises the voltage of the select gate line SGD from the "L" level to the "H" level. The sequencer 180 raises the voltage of the selected bit line BL from the "L" level to the "H" level (read voltage Vread). The read voltage Vread is, for example, 0.3 V.
[0187] In the period from time t2 to time t3, the sequencer 180 sets the voltage of the select gate line SGD to the “H” level. The select transistor ST1 is turned on by the “H” level voltage. This electrically connects the bit line BL to the memory cell string MS.
[0188] At time t2, after the read voltage Vread is applied to the selected bit line BL, the sense amplifier 140 monitors and senses the voltage VBL of the selected bit line BL. During the period from time t2 to time t3, the voltage of the selected bit line BL decreases (attenuates) according to the resistance state of the memory element MR of the selected cell MC.
[0189] The sense amplifier 140 sends data obtained based on the sense result to a data register 150 .
[0190] At time t3, the sequencer 180 lowers the voltage of the select gate line SGD from the "H" level to the "L" level. This turns off the select transistor ST1. From time t4 onwards, the sequencer 180 sets the voltage of the select gate line SGD to the "L" level.
[0191] At time t4, the sequencer 180 raises the voltage of the selected word line WL from the "L" level (voltage VSS) to the "H" level (voltage VMON). The sequencer 180 sets the voltage of the selected bit line BL to the "L" level.
[0192] In the period after time t5, the sequencer 180 sets the voltage of the selected word line WL to the “H” level (VMON). This turns on the selectors SW of all memory cells MC. In the period after time T5, the sequencer 180 sets the voltage of the selected bit line BL to the “L” level.
[0193] <Operation of the sense amplifier circuit SA> The operation of the sense amplifier circuit SA in the sense amplifier 140 in the memory device 1 of this embodiment will be described with reference to FIG.
[0194] FIG. 18 is a timing chart showing the operation of the sense amplifier circuit in the memory device 1 of this embodiment. FIG. 18 is a diagram showing an example of the relationship between the voltage of the selected bit line BL and time after the read voltage Vread is applied to the selected bit line BL in the memory device 1 of this embodiment. In FIG. 18, the vertical axis shows the voltage VBL of the bit line BL and the signal levels of various control signals. In FIG. 18, the horizontal axis shows the elapsed time after the voltage Vread is applied to the bit line BL. Times t2 and t3 on the horizontal axis of FIG. 18 correspond to times t2 and t3 in FIG. 17. Hereinafter, the voltage (voltage value) VBL of the bit line BL is called the bit line voltage VBL.
[0195] As shown in FIG. 18, after the read voltage Vread is applied to the selected bit line BL, the bit line voltage VBL decreases at a rate that depends on the resistance state of the memory element MR of the selected cell MC.
[0196] The voltage sense circuit 141 monitors and senses the bit line voltage VBL during the period from time t2 to time t3, and outputs a sense signal VDOH and a sense signal VDOL according to the sensed result of the change over time of the bit line voltage VBL.
[0197] The sense signal VDOH transitions from the "H" level to the "L" level according to the sense result. The sense signal VDOH changes to the "L" level when the bit line voltage VBL becomes equal to or lower than the high potential side reference voltage VrefH.
[0198] The sense signal VDOL transitions from the "H" level to the "L" level according to the sense result. The sense signal VDOL changes to the "L" level when the bit line voltage VBL becomes equal to or lower than the low potential side reference voltage VrefL.
[0199] The timing at which the signal levels of the sense signals VDOH and VDOL change to the “L” level depends on the resistance state of the selected cell MC. However, the signal level of the sense signal VDOL changes to the “L” level at a timing after the signal level of the sense signal VDOH changes to the “L” level.
[0200] When the memory cell MC has the resistance state RS6 or RS7, the signal level of the sense signal VDOL does not change to the "L" level during the sensing operation.
[0201] The above-mentioned switching circuit 142 sends a signal CLK of a certain signal level to a Lower bit determination circuit 143L, a Middle bit determination circuit 143M and an Upper bit determination circuit 143U based on changes in the signal levels of the inverted sense signals / VDOH, / VDOL, the control signal ValidHigh and the feedback signal / Qmid.
[0202] In response to the signal CLK, each decision circuit 143 receives data corresponding to the signal level of the control signal Lgc at a certain time.
[0203] The lower bit determination circuit 143L receives the control signal LgcVrefH(L) and the control signal LgcVrefL(L).
[0204] The control signal LgcVrefH(L) has a signal level of the "L" level at time t2. The signal level of the control signal LgcVrefH(L) changes from the "L" level to the "H" level at time t11. The time t11 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS4 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS5 becomes equal to or lower than the reference voltage VrefH. The signal level of the control signal LgcVrefH(L) changes from the "H" level to the "L" level at time t15. The time t15 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS6 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS7 becomes equal to or lower than the reference voltage VrefH.
[0205] The control signal LgcVrefL(L) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefL(L) changes from "H" level to "L" level at time t12. Time t12 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS1 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS2 becomes equal to or lower than the reference voltage VrefL.
[0206] The Middle bit determination circuit 143M receives the control signal LgcVrefH(M) and the control signal LgcVrefL(M).
[0207] The control signal LgcVrefH(M) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefH(M) changes from "H" level to "L" level at time t13. With respect to the reference voltage VrefH, the time t13 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS5 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS6 becomes equal to or lower than the reference voltage VrefH.
[0208] The control signal LgcVrefL(M) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefL(M) changes from "H" level to "L" level at time t10. Time t10 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS0 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS1 becomes equal to or lower than the reference voltage VrefL. The signal level of the control signal LgcVrefL(M) changes from "L" level to "H" level at time t13. With respect to the reference voltage VrefL, time t13 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS2 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS3 becomes equal to or lower than the reference voltage VrefL.
[0209] The upper bit determination circuit 143U receives the control signal LgcVrefH(U) and the control signal LgcVrefL(U).
[0210] The signal level of the control signal LgcVrefH(U) is fixed at the “L” level between time t2 and time t3. The signal level of the control signal LgcVrefL(U) is fixed at the “H” level between time t2 and time t3.
[0211] The control signal ValidHigh has a signal level of "H" level at time t2. At time t14, the signal level of the control signal ValidHigh changes from "H" level to "L" level. The control signal ValidHigh has a signal level of "L" level during the period from time t14 to time t3. For example, the signal level of the control signal ValidHigh changes from "H" level to "L" level between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS3 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS4 becomes equal to or lower than the reference voltage VrefL. In the sense amplifier circuit SA of FIGS. 10 to 13, the "L" level control signal ValidHigh disables processing related to the inverted sense signal / VDOL when the bit line voltage VBL becomes equal to or lower than the reference voltage VrefL after time t14.
[0212] Fig. 19 is a timing chart for explaining an example of the operation of the switching circuit 142 of the sense amplifier circuit SA in the memory device 1 of this embodiment. In Fig. 19, the horizontal axis corresponds to time, and the vertical axis corresponds to the signal level.
[0213] 19, the inverted sense signal / VDOH and the feedback signal / Qmid are supplied to an AND gate 43 corresponding to a high-side reference voltage VrefH, and the inverted sense signal / VDOL and the control signal ValidHigh are supplied to an AND gate 44 corresponding to a low-side reference voltage VrefL.
[0214] The feedback signal / Qmid has a signal level of "H" level in the initial state. The control signal ValidHigh has a signal level of "H" level in the initial state.
[0215] When the bit line voltage VBL is higher than the reference voltage VrefH, the signal level of the sense signal VDOH is at the "H" level. When the bit line voltage VBL is higher than the reference voltage VrefL, the signal level of the sense signal VDOL is at the "H" level.
[0216] At time tsw1, when the bit line voltage VBL is equal to or lower than the reference voltage VrefH and higher than the reference voltage VrefL, the signal level of the sense signal VDOH becomes the “L” level. As a result, the signal level of the inverted sense signal / VDOH changes from the “L” level to the “H” level.
[0217] The AND gate 43 sends a signal SigE of "H" level to the OR gate 45 based on the inverted sense signal / VDOH of "H" level and the feedback signal / Qmid of "H" level.
[0218] At time tsw1, the signal level of the sense signal VDOL is maintained at the “H” level. Therefore, the signal level of the inverted sense signal / VDOL is maintained at the “L” level. The AND gate 44 sends the signal SigF at the “L” level to the OR gate 45.
[0219] The high-level signal SigE changes the signal level of the signal CLK of the OR gate 45 from low to high. In response to the change in the signal level of the signal CLK, each decision circuit 143 receives the high-level signal CLK.
[0220] Each of the determination circuits 143 captures a signal corresponding to the control signal Lgc into a latch circuit (D-type flip-flop) 40.
[0221] For example, in the middle bit determination circuit 143M, when the signal held at the Q node of the D-type flip-flop 40M serving as the middle bit latch circuit 40M changes, the signal held at the / Q node of the middle bit latch circuit 40M (D-type flip-flop) 40M also changes, causing the signal level of the feedback signal / Qmid to change.
[0222] For example, at time tsw2, when the signal level of feedback signal / Qmid changes from "H" level to "L" level, the signal level of signal SigE changes from "H" level to "L" level. As a result, the signal level of signal CLK changes from "H" level to "L" following the change in the signal levels of feedback signal / Qmid and signal SigE.
[0223] The OR gate 45 sends a signal of “L” level to each decision circuit 143 .
[0224] At time tsw3, when the bit line voltage VBL becomes equal to or lower than the reference voltage VrefL, the signal level of the sense signal VDOL becomes the “L” level.
[0225] This causes the signal level of the inverted sense signal / VDOL to change from the "L" level to the "H" level.
[0226] The AND gate 44 sends a signal SigF of a high level to the OR gate 45 based on the inverted sense signal / VDOL of a high level and the control signal ValidHigh of a high level. For example, the AND gate 43 sends a signal SigE of a low level to the OR gate 45.
[0227] The high-level signal SigF changes the signal level of the signal CLK of the OR gate 45 from low to high. In response to the change in the signal level of the signal CLK, each decision circuit 143 takes in the high-level signal CLK.
[0228] Each of the determination circuits 143 captures a signal corresponding to the control signal Lgc into a latch circuit (D-type flip-flop) 40.
[0229] At time tsw4, the signal level of the control signal ValidHigh changes from the "H" level to the "L" level, causing the signal level of the signal SigF to change from the "H" level to the "L" level.
[0230] As a result, the signal level of the signal CLK output from the OR gate 45 changes from the “H” level to the “L” level. The OR gate 45 sends the “L” level signal CLK to each determination circuit 143.
[0231] As described above, in the sense amplifier circuit SA, the switching circuit 142 operates.
[0232] 18, in the memory device 1 of the present embodiment, for a memory cell MC having one or more resistance states RX, when the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH during a period T1 from time t2 at the start of the sense operation to time ta, data of a certain data code is temporarily held in the sense amplifier circuit SA. For example, the certain data code is the data code of "010".
[0233] For example, when the memory cell MC has the fourth highest resistance state RS4 among the four resistance states RS4, RS5, RS6, and RS7 having relatively high resistance values, the time ta corresponds to the time when the voltage VBL of the bit line BL connected to the memory cell MC in the resistance state RS4 becomes equal to or lower than the reference voltage VrefH during a sense operation. However, it is sufficient that the time ta is provided between the time when the bit line voltage VBL in the memory cell MC having the resistance state RS4 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL in the memory cell MC having the resistance state RS3 becomes equal to or lower than the reference voltage VrefH.
[0234] In this manner, when the selected cell MC has any one of the five resistance states RS0, RS1, RS2, RS3, and RS4 having a relatively low resistance value, the "010" data is held in the sense amplifier circuit SA as temporary data.
[0235] <Reading "101" data> 20 to 24, the operation of the sense amplifier circuit SA when the memory cell (selected cell) MC stores data "101" will be described. When the memory cell MC stores data "101", the memory cell MC has the resistance state RS1.
[0236] 20 shows a timing chart of the operation of the sense amplifier circuit SA when reading data "101" in the memory device 1 of this embodiment. In FIG. 20, the horizontal axis corresponds to time, and the vertical axis corresponds to the bit line voltage VBL and the signal levels of each control signal.
[0237] Each of FIGS. 21 to 24 is a schematic diagram showing the state of the signal levels of various signals supplied to the sense amplifier circuit SA at a certain time in the memory device 1 of this embodiment.
[0238] (time t2) At time t2, the sense amplifier circuit SA starts an operation for reading data. In the sense amplifier circuit SA, the voltage sense circuit 141 senses the bit line voltage VBL.
[0239] As shown in FIG. 20, at time t2, the bit line voltage VBL is set to the voltage Vread.
[0240] The operational amplifier 41 compares the bit line voltage VBL with the reference voltage VrefH. The voltage Vread is higher than the reference voltage VrefH. Therefore, the operational amplifier 41 outputs a sense signal VDOH at the "H" level.
[0241] The operational amplifier 42 compares the bit line voltage VBL with the reference voltage VrefL. The voltage Vread is higher than the reference voltage VrefL. Therefore, the operational amplifier 42 outputs a sense signal VDOL at the "H" level.
[0242] At time t2, the inverted sense signal / VDOH at the "L" level and the inverted sense signal / VDOL at the "L" level are supplied to the switching circuit 142 of the sense amplifier circuit SA.
[0243] In the switching circuit 142, the AND gate 43 on the reference voltage VrefH side receives the inverted sense signal / VDOH and the feedback signal / Qmid. The AND gate 43 executes an AND operation on the inverted sense signal / VDOH and the feedback signal / Qmid.
[0244] The signal level of the feedback signal / Qmid corresponds to the signal held in a middle bit latch circuit (D-type flip-flop) 40M included in the middle bit determination circuit 143M. At time t2, the middle bit latch circuit (D-type flip-flop) 40M holds an initial value of a signal of "L" level ("0" data) at the Q node of the middle bit latch circuit (D-type flip-flop) 40M. A feedback signal / Qmid of "H" level ("1" data) is supplied to the AND gate 43.
[0245] Therefore, at time t2, the AND gate 43 performs an AND operation on the inverted sense signal / VDOH at the "L" level and the feedback signal / Qmid at the "H" level. As a result, the AND gate 43 outputs the signal SigE at the "L" level.
[0246] In the switching circuit 142, the AND gate 44 on the reference voltage VrefL side receives the inverted sense signal / VDOL and the control signal ValidHigh. The AND gate 44 executes an AND operation on the inverted sense signal / VDOL and the control signal ValidHigh.
[0247] The control signal ValidHigh is set to the “H” level during the period from the start of operation of the sense amplifier circuit SA to time t14.
[0248] Therefore, at time t2, the AND gate 44 performs an AND operation on the inverted sense signal / VDOL at the "L" level and the control signal ValidHigh at the "H" level. As a result, the AND gate 44 outputs the signal SigF at the "L" level.
[0249] The OR gate 45 receives the signals SigE and SigF. The OR gate 45 executes an OR operation on the "L" level signal SigE and the "L" level signal SigF. As a result, the OR gate outputs the "L" level signal CLK.
[0250] In the lower bit determination circuit 143L, the multiplexer 49L outputs either the supplied control signal LgcVrefH(L) or the control signal LgcVrefL(L) in response to the control signal Qmid.
[0251] The control signal Qmid corresponds to the signal held at the Q node of the Middle bit latch circuit (D-type flip-flop) 40M. Therefore, at time t2, the signal Qmid having an initial value of the signal level of the “L” level is supplied as a control signal to the multiplexer 49L.
[0252] As a result, the multiplexer 49L outputs the control signal LgcVrefH(L) in response to the control signal Qmid at the "L" level. At time t2, the control signal LgcVrefH(L) has a signal level of the "L" level ("0" data).
[0253] In the lower bit determination circuit 143L, the D-type flip-flop 40L of the lower bit latch circuit 40L receives the signal CLK from the switching circuit 142 and the control signal LgcVrefH(L) selected by the multiplexer 49L. The "L" level control signal LgcVrefH(L) from the multiplexer 49L is sent to the D node of the lower bit latch circuit (D-type flip-flop) 40L. The "L" level signal CLK from the switching circuit 142 is sent to the CLK node of the lower bit latch circuit (D-type flip-flop) 40L.
[0254] The lower bit latch circuit (D-type flip-flop) 40L does not receive the "L" level signal CLK at the CLK node. Therefore, the lower bit latch circuit (D-type flip-flop) 40L does not receive the control signal LgcVrefL(L) at the D node. As a result, the signals at the Q node and / Q node in the lower bit latch circuit (D-type flip-flop) 40L are maintained in the initial state.
[0255] In the Middle bit determination circuit 143M, the multiplexer 49M outputs either the supplied control signal LgcVrefH(M) or the supplied control signal LgcVrefL(M) in response to the control signal Qmid. The signal Qmid having a signal level of "L" level is supplied to the multiplexer 49M as a control signal. As a result, the multiplexer 49M outputs the control signal LgcVrefL(M) in response to the control signal Qmid at the "L" level. At time t2, the control signal LgcVrefH(M) has a signal level of "H" level ("1" data).
[0256] In the Middle bit determination circuit 143M, the D-type flip-flop 40M of the Middle bit latch circuit 40M receives the signal CLK from the switching circuit 142 and the control signal LgcVrefH(M) selected by the multiplexer 49M.
[0257] The “H” level signal LgcVrefH(M) from the multiplexer 49M is sent to the D node of the middle bit latch circuit (D-type flip-flop) 40M. The “L” level signal CLK from the switching circuit 142 is sent to the CLK node of the middle bit latch circuit (D-type flip-flop) 40M.
[0258] The middle bit latch circuit (D-type flip-flop) 40M does not receive the "L" level signal CLK at the CLK node. Therefore, the middle bit latch circuit (D-type flip-flop) 40M does not receive the control signal LgcVrefH(M) at the D node. As a result, the signals at the Q node and the / Q node in the middle bit latch circuit (D-type flip-flop) 40M are maintained in the initial state.
[0259] In the Upper bit determination circuit 143U, the multiplexer 49M outputs either the supplied control signal LgcVrefH(U) or the supplied control signal LgcVrefL(U) in response to the control signal Qmid. The signal Qmid having an "L" level signal level is supplied to the multiplexer 49U as a control signal.
[0260] As a result, the multiplexer 49U outputs the control signal LgcVrefH(U) in response to the control signal Qmid at the "L" level. At time t2, the control signal LgcVrefH(U) has a signal level of the "L" level ("0" data).
[0261] In the upper bit determination circuit 143U, the D-type flip-flop 40U of the upper bit latch circuit 40U receives the signal CLK from the switching circuit 142 and the control signal LgcVrefH(U) selected by the multiplexer 49U.
[0262] The “H” level signal LgcVrefH(U) from the multiplexer 49U is sent to the D node of the upper bit latch circuit (D-type flip-flop) 40U. The “L” level signal CLK from the switching circuit 142 is sent to the CLK node of the upper bit latch circuit (D-type flip-flop) 40U.
[0263] The upper bit latch circuit (D-type flip-flop) 40U does not receive the "L" level signal CLK at the CLK node. Therefore, the upper bit latch circuit (D-type flip-flop) 40U does not receive the control signal LgcVrefH(U) at the D node. As a result, the signals at the Q node and the / Q node in the upper bit latch circuit (D-type flip-flop) 40U are maintained in the initial state.
[0264] (time tb1) When the selected cell MC stores data "101", at time tb1, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH. As a result, in the voltage sense circuit 141, the signal level of the sense signal VDOH of the operational amplifier 41 changes from "H" level to "L" level. The operational amplifier 42 continues to output the "H" level sense signal VDOL.
[0265] As shown in FIG. 21, the switching circuit 142 receives the inverted sense signal / VDOH at the "H" level.
[0266] The AND gate 43 performs an AND operation on the inverted sense signal / VDOH at the “H” level and the feedback signal / Qmid at the “H” level. As a result, the AND gate 43 sends the signal SigE at the “H” level to the OR gate 45.
[0267] The AND gate 44 sends the signal SigF of the “L” level to the OR gate 45 .
[0268] The OR gate 45 performs an OR operation on the "H" level signal SigE and the "L" level signal SigF. The OR gate 45 outputs the "H" level signal CLK. The signal level of the signal CLK changes from the "L" level to the "H" level.
[0269] In the lower bit determination circuit 143L, the lower bit latch circuit (D-type flip-flop) 40L takes in the "H" level signal CLK from the switching circuit 142 at the CLK node. This causes the lower bit latch circuit (D-type flip-flop) 40L to take in the signal LgcVrefH(L) from the multiplexer 49L at the D node. At time tb1, the multiplexer 49L outputs the "L" level control signal LgcVrefH(L) to the D node of the lower bit latch circuit (D-type flip-flop) 40L.
[0270] In the lower bit latch circuit (D-type flip-flop) 40L, the signal level of the Q node is set to a value according to the signal level of the signal taken into the D node. As a result, at time tb1, in the lower bit latch circuit (D-type flip-flop) 40L related to the lower bit, an “L” level signal is held at the Q node.
[0271] In the middle bit determination circuit 143M, the middle bit latch circuit (D-type flip-flop) 40M takes in the "H" level signal CLK from the switching circuit 142 at the CLK node. This causes the middle bit latch circuit (D-type flip-flop) 40M to take in the signal LgcVrefH(M) from the multiplexer 49M at the D node. At time tb1, the multiplexer 49M outputs the "H" level control signal LgcVrefH(M) to the D node of the middle bit latch circuit (D-type flip-flop) 40M.
[0272] In the middle bit latch circuit (D-type flip-flop) 40M, the signal level of the Q node is set to a value corresponding to the signal level of the signal taken into the D node. As a result, at time tb1, in the middle bit latch circuit (D-type flip-flop) 40M related to the middle bit, an “H” level signal is held at the Q node.
[0273] In the upper bit determination circuit 143U, the upper bit latch circuit (D-type flip-flop) 40U receives the "H" level signal CLK from the switching circuit 142 at the CLK node. This causes the upper bit latch circuit (D-type flip-flop) 40U to receive the signal LgcVrefH(U) from the multiplexer 49U at the D node. At time tb1, the multiplexer 49U outputs the "L" level signal LgcVrefH(U) to the D node of the upper bit latch circuit (D-type flip-flop) 40U.
[0274] In the upper bit latch circuit (D-type flip-flop) 40U, the signal level of the Q node is set to a value corresponding to the signal level of the signal received at the D node. As a result, at time tb1, in the upper bit latch circuit (D-type flip-flop) 40U related to the upper bit, an “L” level signal is held at the Q node.
[0275] As described above, at time tb1, temporary data is temporarily stored in each latch circuit (D-type flip-flop) 40. The lower bit latch circuit (D-type flip-flop) 40L temporarily holds "0" data. The middle bit latch circuit (D-type flip-flop) 40M temporarily holds "1" data. The upper bit latch circuit (D-type flip-flop) 40U temporarily holds "0" data.
[0276] In this way, the 3-bit data represented by the three latch circuits (D-type flip-flops) 40 is "010" data.
[0277] (time tb2) As shown in FIG. 22, at time tb2, the signal level of the feedback signal / Qmid changes from "H" level to "L" level in response to the transition of the signal in the Middle bit latch circuit (D-type flip-flop) 40M related to the Middle bit.
[0278] The AND gate 43 performs an AND operation on the inverted sense signal / VDOH at the "H" level and the feedback signal / Qmid at the "L" level.
[0279] In response to the transition of the signal level of the feedback signal / Qmid to the "L" level, the AND gate 43 outputs the "L" signal SigE.
[0280] As a result, the signal level of the signal CLK of the OR gate 45 changes from "H" level to "L" level.
[0281] The signal CLK of the “L” level is sent to the CLK node of the latch circuit (D-type flip-flop) 40 of each decision circuit 143 .
[0282] (time t10) At time t10, the sequencer 180 changes the signal level of the control signal LgcVrefL(M) from the "H" level to the "L" level.
[0283] As described above, the Middle bit latch circuit (D-type flip-flop) 40M sends the control signal Qmid of the “H” level to the multiplexer 49 of each decision circuit 143 after time tb2.
[0284] In the lower bit determination circuit 143L, the multiplexer 49L selects the control signal LgcVrefL(L) based on the high level of the control signal Qmid. In the middle bit determination circuit 143M, the multiplexer 49M selects the control signal LgcVrefL(M) based on the high level of the control signal Qmid. In the upper bit determination circuit 143U, the multiplexer 49U selects the control signal LgcVrefL(U) based on the high level of the control signal Qmid.
[0285] When the bit line voltage VBL becomes equal to or lower than the high-side reference voltage Vref, the control signal LgcVrefL corresponding to the low-side reference voltage VrefL is temporarily selected. Note that the signal level of the control signal ValidHigh is maintained at the “H” level at time t10.
[0286] (time tb3) At time tb3, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefL. As a result, in the voltage sense circuit 141, the signal level of the sense signal VDOL of the operational amplifier 42 changes from "H" level to "L" level. The operational amplifier 41 continues to output the "L" level sense signal VDOH.
[0287] As shown in FIG. 23, the switching circuit 142 receives the inverted sense signal / VDOL at the "H" level.
[0288] The AND gate 44 performs an AND operation on the inverted sense signal / VDOL at the “H” level and the control signal ValidHigh at the “H” level. As a result, the AND gate 44 sends the signal SigF at the “H” level to the OR gate 45.
[0289] The AND gate 43 sends a signal SigE of "L" level to the OR gate 45 by ANDing the inverted sense signal / VDOH of "H" level and the feedback signal / Qmid of "L" level.
[0290] The OR gate 45 performs an OR operation on the "L" level signal SigE and the "H" level signal SigF. The OR gate 45 outputs the "H" level signal CLK. As a result, the signal level of the signal CLK changes from the "L" level to the "H" level.
[0291] In the lower bit determination circuit 143L, the lower bit latch circuit (D-type flip-flop) 40L takes in the "H" level signal CLK from the switching circuit 142 at the CLK node. This causes the lower bit latch circuit (D-type flip-flop) 40L to take in the control signal LgcVrefL(L) from the multiplexer 49L at the D node. At time tb3, the multiplexer 49L outputs the "H" level control signal LgcVrefL(L) to the D node of the lower bit latch circuit (D-type flip-flop) 40L.
[0292] In the lower bit latch circuit (D-type flip-flop) 40L, the signal level of the Q node is set to a value corresponding to the signal level of the signal taken into the D node. As a result, in the lower bit latch circuit (D-type flip-flop) 40L related to the lower bit, a "H" level signal is held at the Q node. After that, a "L" level signal, which is an inverted signal of the Q node signal, is held at the / Q node of the lower bit latch circuit (D-type flip-flop) 40L.
[0293] In the middle bit determination circuit 143M, the middle bit latch circuit (D-type flip-flop) 40M takes in the "H" level signal CLK from the switching circuit 142 at the CLK node. This causes the middle bit latch circuit (D-type flip-flop) 40M to take in the control signal LgcVrefL(M) from the multiplexer 49M at the D node. At time tb3, the multiplexer 49M outputs the "L" level control signal LgcVrefH(M) to the D node of the middle bit latch circuit (D-type flip-flop) 40M.
[0294] In the middle bit latch circuit (D-type flip-flop) 40M, the signal level of the Q node is set to a value according to the signal level of the signal taken into the D node. As a result, in the middle bit latch circuit (D-type flip-flop) 40M related to the middle bit, an "L" level signal is held at the Q node.
[0295] After that, a "H" level signal, which is an inverted signal of the signal at the Q node, is held at the / Q node of the Middle bit latch circuit (D-type flip-flop) 40M. This changes the signal level of the feedback signal / Qmid from the "L" level to the "H" level.
[0296] In the upper bit determination circuit 143U, the upper bit latch circuit (D-type flip-flop) 40U takes in the "H" level signal CLK from the switching circuit 142 at the CLK node. As a result, the upper bit latch circuit (D-type flip-flop) 40U takes in the control signal LgcVrefL(U) from the multiplexer 49U at the D node. At time tb3, the multiplexer outputs the "H" level control signal LgcVrefL(U).
[0297] In the upper bit latch circuit (D-type flip-flop) 40U, the signal level of the Q node is set to a value corresponding to the signal level of the signal taken into the D node. As a result, in the upper bit latch circuit (D-type flip-flop) 40U related to the upper bit, a "H" level signal is held at the Q node. After that, a "L" level signal, which is the inverted signal of the Q node signal, is held at the / Q node of the upper bit latch circuit (D-type flip-flop) 40U.
[0298] As described above, at time tb3, the data in each latch circuit (D-type flip-flop) 40 changes from temporary data to data corresponding to the sensed result of the bit line voltage VBL. The lower bit latch circuit (D-type flip-flop) 40L temporarily holds "1" data. The middle bit latch circuit (D-type flip-flop) 40M holds "0" data. The upper bit latch circuit (D-type flip-flop) 40U holds "1" data.
[0299] The 3-bit data represented by the three latch circuits (D-type flip-flops) 40 is "101" data.
[0300] In this way, the provisionally held "010" data is changed to "101" data.
[0301] (time t14) At times t11, t12, and t13, the sequencer 180 changes the signal levels of the control signals LgcVrefH(L), LgcVrefL(L), LgcVrefH(M), and LgcVrefL(M) at predetermined timings.
[0302] At time t14, the sequencer 180 changes the signal level of the control signal ValidHigh from the "H" level to the "L" level.
[0303] 24, the switch circuit 142 receives the control signal ValidHigh at the "L" level. After time tb3, each of the sense signals VDOH and VDOL has the signal level of the "L" level.
[0304] The AND gate 44 performs an AND operation on the inverted sense signal / VDOL at the “H” level and the control signal ValidHigh at the “L” level. As a result, the AND gate 44 sends the signal SigF at the “L” level to the OR gate 45.
[0305] The AND gate 43 performs an AND operation on the inverted sense signal / VDOH and the feedback signal / Qmid at the “H” level. When the Middle bit latch circuit (D-type flip-flop) 40M stores “0” data (a “L” level signal), a “H” level signal is supplied to the AND gate 43 from time tb3 onward.
[0306] Therefore, the AND gate 43 sends the signal SigE of the “H” level to the OR gate 45 after time t3b.
[0307] Therefore, the OR gate 45 continues to output the signal CLK at the "H" level after time t3b.
[0308] As a result, even if the signal level of the control signal ValidHigh transitions from "H" level to "L" level, the signal CLK output from the switching circuit 142 is fixed at "H" level after time t3b.
[0309] Therefore, even if the signal level of the control signal ValidHigh changes, the signal level of the signal CLK does not transition, and therefore no change occurs in the data in each latch circuit (D-type flip-flop) 40.
[0310] As a result, the 3-bit data presented by the three latch circuits (D-type flip-flops) 40 is fixed to "101" data.
[0311] After that, at time t15, the sequencer 180 changes the signal level of the control signal LgcVrefH(L).
[0312] At time t3, the sense amplifier circuit SA finishes the sensing operation.
[0313] The sense amplifier circuit SA sends the data of the latch circuit (D-type flip-flop) 40 to a data register 150.
[0314] This completes the read operation of the memory device 1 of this embodiment.
[0315] As described above, the sense amplifier circuit SA of FIGS. 10 to 13 performs a sensing operation to read out data "101" from the selected cell MC.
[0316] <Reading "011" data> 25 to 30, the operation of the sense amplifier circuit SA when the memory cell (selected cell) MC stores data "011" will be described. When the memory cell MC stores data "011", the memory cell MC has a resistance state RS5.
[0317] 25 shows a timing chart of the operation of the sense amplifier circuit SA when reading data "011" in the memory device 1 of this embodiment. In FIG. 25, the horizontal axis corresponds to time, and the vertical axis corresponds to the bit line voltage VBL and the signal levels of each control signal.
[0318] Each of FIGS. 26 to 30 is a schematic diagram showing the state of the signal levels of various signals supplied to the sense amplifier circuit SA at a certain time in the memory device 1 of this embodiment.
[0319] (time t2) At time t2, the sense amplifier circuit SA starts an operation for reading data.
[0320] As described above, the voltage sense circuit 141 senses the bit line voltage VBL. The operational amplifier 41 outputs a sense signal VDOH of an “H” level. The operational amplifier 42 outputs a sense signal VDOL of an “H” level. An inverted sense signal / VDOH of an “L” level and an inverted sense signal / VDOL of an “L” level are supplied to the switching circuit 142.
[0321] In the switching circuit 142, the AND gate 43 performs an AND operation on the inverted sense signal / VDOH at the "L" level and the feedback signal / Qmid at the "H" level, which is the initial value. The AND gate 43 outputs the signal SigE at the "L" level.
[0322] In the switching circuit 142, the AND gate 44 performs an AND operation on the inverted sense signal / VDOL at the "L" level and the control signal ValidHigh at the "H" level. The AND gate 44 outputs the signal SigF at the "L" level.
[0323] The OR gate 45 outputs a signal CLK at a "L" level by performing an OR operation on the signal SigE at a "L" level and the signal SigF at a "L" level.
[0324] In each determination circuit 143, the D-type flip-flop 40 serving as the latch circuit 40 does not receive the “L” level signal CLK at the CLK node. Therefore, each latch circuit (D-type flip-flop) 40 does not receive the control signal Lgc at the D node.
[0325] (time t10,t11) At time t10 and time t11, the sequencer 180 changes the signal levels of the control signal LgcVrefL and the control signal LgcVrefH to predetermined signal levels.
[0326] At a certain time between time t2 and time t11, the control signal LgcVrefH(L) has a signal level of "L" level ("0" data), the control signal LgcVrefH(M) has a signal level of "H" level ("1" data), and the control signal LgcVrefH(U) has a signal level of "L" level ("0" data).
[0327] When the memory cell MC stores data “011”, at a certain time before time t11, the bit line voltage VBL is higher than the reference voltage VrefH and the reference voltage VrefL, so the voltage sense circuit 141 continues to output the sense signal VDOH at the “H” level and the sense signal VDOL at the “H” level.
[0328] 26, the switching circuit 142 receives the inverted sense signals / VDOH, / VDOL at the “L” level. Therefore, the switching circuit 142 outputs the signal CLK at the “L” level to each of the determination circuits 143.
[0329] Therefore, the latch circuit (D-type flip-flop) 40 does not take in data in each decision circuit 143. Therefore, the state of the latch circuit (D-type flip-flop) 40 is maintained in the initial state.
[0330] As a result, the temporary data “010” is not taken into the decision circuit 143 .
[0331] (time tc1) At time t12, the sequencer 180 controls the signal levels of each of the control signals LgcVrefH(L), LgcVrefH(M), and LgcVrefH(U). At time t12, each of the control signals LgcVrefH(L), LgcVrefH(M), and LgcVrefH(U) has the following signal levels: The control signal LgcVrefH(L) has a signal level of "H". The control signal LgcVrefH(M) has a signal level of "H". The control signal LgcVrefH(U) has a signal level of "L".
[0332] At time tc1 after time t12, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH, so that the operational amplifier 41 outputs the sense signal VDOH at the “L” level.
[0333] The bit line voltage VBL is higher than the reference voltage VrefL, so the operational amplifier 42 outputs a high-level sense signal VDOL.
[0334] As shown in FIG. 27, the switching circuit 142 receives the inverted sense signal / VDOH at an "H" level and the inverted sense signal / VDOL at an "L" level.
[0335] The AND gate 43 performs an AND operation on the inverted sense signal / VDOH at the “H” level and the feedback signal / Qmid at the “H” level. As a result, the AND gate 43 sends the signal SigE at the “H” level to the OR gate 45.
[0336] The AND gate 44 outputs a signal SigF at an "L" level.
[0337] The OR gate 45 performs an OR operation on the "H" level signal SigE and the "L" level signal SigF. The OR gate 45 outputs the "H" level signal CLK. As a result, the signal level of the signal CLK changes from the "L" level to the "H" level.
[0338] In the lower bit determination circuit 143L, the lower bit latch circuit (D-type flip-flop) 40L for the lower bit captures, at the CLK node, the “H” level signal CLK from the switching circuit 142. As a result, the lower bit latch circuit (D-type flip-flop) 40L captures, at the D node, the “H” level signal LgcVrefH(L) selected by the multiplexer 49L.
[0339] In the lower bit latch circuit (D-type flip-flop) 40L, the signal level of the Q node is set to the "H" level according to the signal level of the signal received at the D node.
[0340] In the middle bit determination circuit 143M, the middle bit latch circuit (D-type flip-flop) 40M for the middle bit captures the "H" level signal CLK at the CLK node. This causes the middle bit latch circuit (D-type flip-flop) 40M to capture the "H" level signal LgcVrefH(M) selected by the multiplexer 49M at the D node.
[0341] In the middle bit latch circuit (D-type flip-flop) 40M, the signal level of the Q node is set to the "H" level according to the signal level of the signal received at the D node.
[0342] In the upper bit determination circuit 143U, the upper bit latch circuit (D-type flip-flop) 40U for the upper bit captures the “H” level signal CLK at the CLK node. As a result, the upper bit latch circuit (D-type flip-flop) 40U captures the “L” level signal LgcVrefH(U) selected by the multiplexer 49U at the D node.
[0343] In the latch circuit (D-type flip-flop) 40, the signal level of the Q node is set to the "L" level according to the signal level of the signal received at the D node.
[0344] As a result, at time tc1, each latch circuit (D-type flip-flop) 40 holds data as follows: The lower bit latch circuit (D-type flip-flop) 40L holds "1" data. The middle bit latch circuit (D-type flip-flop) 40M holds "1" data. The upper bit latch circuit (D-type flip-flop) 40U holds "0" data.
[0345] In this way, the 3-bit data represented by the three latch circuits (D-type flip-flops) 40 is "011" data.
[0346] (time tc2) In response to the transition of the internal signal of the latch circuit (D-type flip-flop) 40, the signal level of the / Q node in the D-type flip-flop 40M serving as the middle bit latch circuit 40M changes from the "H" level to the "L" level.
[0347] As a result, at time tc2, the signal level of the feedback signal / Qmid changes from "H" level to "L" level.
[0348] As shown in FIG. 28, the AND gate 43 sends a signal SigE of "L" level to the OR gate 45 by ANDing the inverted sense signal / VDOH of "H" level and the feedback signal / Qmid of "L" level.
[0349] The AND gate 44 sends the signal SIgF at the “L” level to the OR gate 45 .
[0350] As a result, the OR gate 45 outputs a low-level signal CLK, and the signal level of the signal CLK changes from a high-level to a low-level.
[0351] (time t14) As described above, the sequencer 180 changes the signal levels of the control signals LgcVrefL, LgcVrefH at predetermined timings (times t11, t12, and t13).
[0352] At time t14, the sequencer 180 changes the signal level of the control signal ValidHigh from the "H" level to the "L" level.
[0353] As shown in FIG. 29, the switching circuit 142 receives the control signal ValidHigh at the "L" level.
[0354] The AND gate 44 performs an AND operation on the inverted sense signal / VDOL at the “L” level and the control signal ValidHigh at the “L” level. As a result, the AND gate 44 sends the signal SigF at the “L” level to the OR gate 45.
[0355] The AND gate 43 sends a signal SigE of "L" level to the OR gate 45 by ANDing the inverted sense signal / VDOH of "H" level and the feedback signal / Qmid of "L" level.
[0356] The OR gate 45 outputs a signal CLK at a "L" level by performing an OR operation on the signal SigE at a "L" level and the signal SigE at a "L" level.
[0357] In this way, even if the signal level of the control signal ValidHigh changes from "H" level to "L" level, the signal level of the signal CLK is maintained at "L" level.
[0358] As a result, even if the signal level of the control signal ValidHigh transitions from the "H" level to the "L" level, no change occurs in the data held in each latch circuit (D-type flip-flop) 40.
[0359] (time tc3) At time tc3 after time t14, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefL.
[0360] The operational amplifier 42 outputs a sense signal VDOL at the "L" level.
[0361] As shown in FIG. 30, in the switching circuit 142, the AND gate 44 receives the inverted sense signal / VDOL at the "H" level.
[0362] The AND gate 44 sends a signal SigF of "L" level to the OR gate 45 by ANDing the inverted sense signal / VDOL of "H" level and the control signal ValidHigh of "L" level.
[0363] Similar to the above operation, the AND gate 43 sends the signal SigE of the “L” level to the OR gate 45 .
[0364] The OR gate 45 outputs a signal CLK at a "L" level by ORing the signal SigE at a "L" level and the signal SigF at a "L" level. Therefore, the signal level of the signal CLK is maintained at a "L" level. Therefore, no change occurs in the data held in each latch circuit (D-type flip-flop) 40.
[0365] As a result, the 3-bit data presented by the three latch circuits (D-type flip-flops) 40 is maintained as "011" data.
[0366] At time t3, the sense amplifier circuit SA finishes the sensing operation.
[0367] The sense amplifier circuit SA sends the data of the latch circuit (D-type flip-flop) 40 to a data register 150.
[0368] This completes the read operation of the memory device 1 of this embodiment.
[0369] As described above, the sense operation by the sense amplifier circuit SA of FIGS. 10 to 13 causes "011" data to be read from the selected cell MC.
[0370] (c) Summary The memory device 1 of the first embodiment reads out 3-bit data stored in one memory cell using a high-potential side reference voltage VrefH and a low-potential side reference voltage VrefL.
[0371] In the memory device 1 of the first embodiment, the sense amplifier circuit SA temporarily stores temporary data when the bit line voltage VBL becomes equal to or lower than the high potential side reference voltage VrefH within a certain period T1 from the start of data reading.
[0372] In the memory device of the first embodiment, when the bit line voltage VBL falls below the reference voltage VrefL within a range in which the sensing operation using the low-potential side reference voltage VrefL is effective, the provisional data is rewritten to data obtained from the memory cell by the sensing operation using the reference voltage VrefL.
[0373] This makes it possible for the memory device 1 of the first embodiment to prevent the signal levels of various control signals from transitioning within a narrow period of time.
[0374] As a result, the memory device of the first embodiment can ensure a relatively wide sense margin, which improves the reliability of the read operation.
[0375] The memory device of the first embodiment can achieve high speed read operations by using the above-mentioned configuration and operation.
[0376] As described above, the memory device of the first embodiment can improve the characteristics of the read operation.
[0377] (2) Second embodiment A memory device according to a second embodiment will be described with reference to FIGS.
[0378] (a) Configuration <Relationship between memory cell resistance state and data> FIG. 31 is a diagram showing the relationship between the resistance state and data of a memory cell in the memory device 1 of this embodiment.
[0379] As shown in FIG. 31, in the memory device 1 of this embodiment, the memory cell MC stores 3-bit data depending on the resistance state of the memory cell MC.
[0380] When the memory cell MC has the resistance state RS0 with the lowest resistance value, the memory cell MC stores "000" data. When the memory cell MC has the resistance state RS1 with the second lowest resistance value, the memory cell MC stores "001" data. When the memory cell MC has the resistance state RS2 with the third lowest resistance value, the memory cell MC stores "010" data. When the memory cell MC has the resistance state RS3 with the fourth lowest resistance value, the memory cell MC stores "011" data.
[0381] When the memory cell MC has a resistance state RS4 with the fourth highest resistance value, the memory cell MC stores "100" data. When the memory cell MC has a resistance state RS5 with the third highest resistance value, the memory cell MC stores "101" data. When the memory cell MC has a resistance state RS6 with the second highest resistance value, the memory cell MC stores "110" data. When the memory cell MC has a resistance state RS7 with the highest resistance value, the memory cell MC stores "111" data.
[0382] In this embodiment, "0" data is associated with the upper bits of the four resistance states RS0, RS1, RS2, and RS3 that have relatively low resistance values among the eight resistance states. "1" data is associated with the upper bits of the four resistance states RS4, RS5, RS6, and RS7 that have relatively high resistance values among the eight resistance states.
[0383] <Configuration example of sense amplifier circuit SA> FIG. 32 is a diagram showing an example of the configuration of a sense amplifier circuit SA in the memory device 1 of the present embodiment.
[0384] 32 includes a voltage sense circuit 141 and a data decision circuit 145. The data decision circuit 145 includes an upper bit decision circuit 500 and a lower-middle bit decision circuit 501.
[0385] The voltage sense circuit 141 includes operational amplifiers 41 and 42.
[0386] One input node of the operational amplifier 41 receives the bit line voltage VBL. The other input node of the operational amplifier 41 receives a reference voltage VrefH. The output node of the operational amplifier 41 is connected to an upper bit decision circuit 500 and a lower-middle bit decision circuit 501 of the data decision circuit 145.
[0387] The operational amplifier 41 performs an operation (comparison) to determine whether the bit line voltage VBL is higher than the reference voltage VrefH or not. The operational amplifier 41 sends a sense signal VDOH to the data decision circuit 145.
[0388] One input node of the operational amplifier 42 receives the bit line voltage VBL. The other input node of the operational amplifier 42 receives a reference voltage VrefL. The output node of the operational amplifier 42 is connected to a Lower-Middle bit decision circuit 501 of the data decision circuit 145.
[0389] The operational amplifier 42 performs an operation (comparison) to determine whether the bit line voltage VBL is higher than the reference voltage VrefL or not. The operational amplifier 42 sends a sense signal VDOL to the data decision circuit 145.
[0390] The upper bit determination circuit 500 performs a process of determining an upper bit included in the 3-bit data. The upper bit determination circuit 500 includes an OR gate (logical operation circuit) 51 and an upper bit latch circuit (data holding circuit) 52.
[0391] OR gate 51 includes two input nodes and one output node.
[0392] One input node of the OR gate 51 is connected to the output node of the operational amplifier 41. One input node of the OR gate 51 receives a signal VDOH. The other input node of the OR gate 51 receives a control signal (timing signal) ValidHigh. An output node of the OR gate 51 is connected to an upper bit latch circuit 52.
[0393] The OR gate 51 performs an OR operation on the sense signal VDOH and the control signal ValidHigh, and sends a signal SigA indicating the result of the OR operation to the upper bit latch circuit 52.
[0394] The control signal ValidHigh is a timing signal used to determine the value of the Upper bit. For example, when the bit line voltage VBL is equal to or lower than the reference voltage VrefH during a period in which the control signal ValidHigh has a signal level of "L" level, the value of the Upper bit of the 3-bit data stored in the memory cell MC is determined to be "0". When the bit line voltage VBL is higher than the reference voltage VrefH during a period in which the control signal ValidHigh has a signal level of "L" level, the value of the Upper bit of the 3-bit data stored in the memory cell MC is determined to be "1". For example, the control signal ValidHigh can indicate a period in which the sense result using the reference voltage VrefL is valid (or invalid).
[0395] The upper bit latch circuit 52 includes a D-type flip-flop 52. The D-type flip-flop 52 has two input nodes and two output nodes.
[0396] One input node (D node) of the upper bit latch circuit (D type flip-flop) 52 receives a voltage (e.g., a power supply voltage) VDD. The other input node (CLK node) of the upper bit latch circuit (D type flip-flop) 52 is connected to the output node of the OR gate 51. The CLK node of the upper bit latch circuit (D type flip-flop) 52 receives a signal SigA from the OR gate 51. The CLK node of the upper bit latch circuit (D type flip-flop) 52 is an inverting input node. The upper bit latch circuit (D type flip-flop) 52 takes in the voltage (signal) VDD supplied to the D node in response to the falling edge of the signal SigA.
[0397] One output node ( / Q node) of the upper bit latch circuit (D-type flip-flop) 52 outputs an inverted signal of the signal (signal at the output node (Q node)) held in the upper bit latch circuit (D-type flip-flop) 52. The / Q node of the upper bit latch circuit (D-type flip-flop) 52 is connected to a multiplexer 55 of the lower-middle bit determination circuit 501. A signal DoutPre output from the / Q node is supplied to the multiplexer 55 as a control signal (selection signal).
[0398] The output signal from the / Q node of the upper bit latch circuit (D-type flip-flop) 52 is the upper bit of the 3-bit data.
[0399] The other output node (Q node) of the upper bit latch circuit (D-type flip-flop) 52 is not connected to other components.
[0400] For example, a D-type flip-flop 52 serving as the upper bit latch circuit 52 has a reset node. The reset node of the upper bit latch circuit (D-type flip-flop) 52 receives a reset pulse. The upper bit latch circuit (D-type flip-flop) 52 is reset by the reset pulse. The state of the upper bit latch circuit (D-type flip-flop) 52 is set to the initial state by the reset. In the initial state at the start of a read operation, the upper bit latch circuit (D-type flip-flop) 52 holds an "L" level signal ("0" data) at the Q node. In this case, the upper bit latch circuit (D-type flip-flop) 52 holds an "H" level signal ("1" data) at the / Q node which has a complementary relationship with the Q node.
[0401] The lower-middle bit determination circuit 501 performs a process of determining the lower bit and the middle bit included in the 3-bit data. The lower-middle bit determination circuit 501 includes two OR gates (logical operation circuits) 53 and 54, a multiplexer (selection circuit) 55, a lower bit latch circuit (data holding circuit) 56, a middle bit latch circuit (data holding circuit) 57, and inverters (NOT gates) 59H and 59L.
[0402] OR gate 53 includes two input nodes and one output node.
[0403] One input node of the OR gate 53 is connected to the output node of the operational amplifier 41 via an inverter 59H. One input node of the OR gate 53 receives an inverted signal (inverted sense signal) / VDOH of the sense signal VDOH. The other input node of the OR gate 53 receives a control signal (timing signal) CLKH. An output node of the OR gate 53 is connected to a multiplexer 55.
[0404] The OR gate 53 performs an OR operation on the inverted sense signal / VDOH and the control signal CLKH, and sends a signal SigB indicating the result of the OR operation to the multiplexer 55.
[0405] OR gate 54 includes two input nodes and one output node.
[0406] One input node of the OR gate 54 is connected to the output node of the operational amplifier 42 via an inverter 59L. One input node of the OR gate 54 receives an inverted signal (inverted sense signal) / VDOL of the sense signal VDOL. The other input node of the OR gate 54 receives a control signal (timing signal) CLKL. The output node of the OR gate 54 is connected to a multiplexer 55.
[0407] The OR gate 54 performs an OR operation on the inverted sense signal / VDOL and the control signal CLKL and sends a signal SigC indicating the result of the OR operation to the multiplexer 55.
[0408] Multiplexer 55 includes two input nodes, one output node, and one control node.
[0409] One input node of the multiplexer 55 is connected to the output node of the OR gate 53. One input node of the multiplexer 55 receives the signal SigB output from the OR gate 53. The other input node of the multiplexer 55 is connected to the output node of the OR gate 54. The other input node of the multiplexer 55 receives the signal SigC output from the OR gate 54.
[0410] A control node of the multiplexer 55 is connected to a / Q node of the D-type flip-flop 52 serving as the upper bit latch circuit 52. The multiplexer 55 receives a signal (upper bit) DoutPre output from the upper bit latch circuit (D-type flip-flop) 52 as a control signal. When the signal level of the control signal DoutPre is at the "H" level ("1" data), the multiplexer 55 selects the signal SigB. When the signal level of the control signal DoutPre is at the "L" level ("0" data), the multiplexer 55 selects the signal SigC.
[0411] The output node of the multiplexer 55 is connected to the lower bit latch circuit 56. The output node of the multiplexer 55 outputs one of the signals SigB and SigC as the signal Mout to the lower bit latch circuit 56 in accordance with the signal level of the control signal DoutPre.
[0412] The lower bit latch circuit 56 includes a D-type flip-flop 56. The D-type flip-flop 56 serving as the lower bit latch circuit 56 includes two input nodes and two output nodes.
[0413] One input node (D node) of the lower bit latch circuit (D type flip-flop) 56 is connected to one output node ( / Q node) of the lower bit latch circuit (D type flip-flop) 56. The D node of the lower bit latch circuit (D type flip-flop) 56 receives a signal fed back from the / Q node of the lower bit latch circuit (D type flip-flop) 56.
[0414] The other input node (CLK node) of the lower bit latch circuit (D-type flip-flop) 56 is connected to the output node of the multiplexer 55. The CLK node of the lower bit latch circuit (D-type flip-flop) 56 receives the output signal (signal SigA or signal SigB) of the multiplexer 55. The CLK node of the lower bit latch circuit (D-type flip-flop 56) is an inverting input node. The lower bit latch circuit (D-type flip-flop) 56 captures the signal supplied to the D node in response to the falling edge of the output signal of the multiplexer 55.
[0415] One output node ( / Q node) of the lower bit latch circuit (D-type flip-flop) 56 is connected to the D node of the lower bit latch circuit (D-type flip-flop) 56. The / Q node of the lower bit latch circuit (D-type flip-flop) 56 sends an inverted signal of the signal held in the other output node of the lower bit latch circuit (D-type flip-flop) 56 to the D node of the lower bit latch circuit (D-type flip-flop) 56.
[0416] The other output node (Q node) of the lower bit latch circuit (D-type flip-flop) 56 is connected to the middle bit latch circuit 57. The Q node of the lower bit latch circuit (D-type flip-flop) 56 sends the signal held at the Q node of the lower bit latch circuit (D-type flip-flop) 56 to the middle bit latch circuit 57.
[0417] The output signal from the Q node of the lower bit latch circuit (D-type flip-flop) 56 becomes the lower bit of the 3-bit data.
[0418] For example, a D-type flip-flop 56 serving as the lower bit latch circuit 56 has a reset node. The reset node of the lower bit latch circuit (D-type flip-flop) 56 receives a reset pulse. The reset pulse resets the lower bit latch circuit (D-type flip-flop) 56. The reset sets the state of the lower bit latch circuit (D-type flip-flop) 56 to its initial state. In the initial state at the start of a read operation, the lower bit latch circuit (D-type flip-flop) 56 holds an "L" level signal ("0" data) at the Q node. In this case, the lower bit latch circuit (D-type flip-flop) 56 holds an "H" level signal ("1" data) at the / Q node, which has a complementary relationship with the Q node.
[0419] The middle bit latch circuit 57 includes a D-type flip-flop 57. The D-type flip-flop 57 includes two input nodes and two output nodes.
[0420] One input node (D node) of the middle bit latch circuit (D type flip-flop) 57 is connected to one output node ( / Q node) of the middle bit latch circuit (D type flip-flop) 57. The D node of the middle bit latch circuit (D type flip-flop) 57 receives a signal fed back from the / Q node of the middle bit latch circuit (D type flip-flop) 57.
[0421] The other input node (CLK node) of the middle bit latch circuit (D-type flip-flop) 57 is connected to the Q node of the D-type flip-flop (lower bit latch circuit) 56. The Q node of the middle bit latch circuit (D-type flip-flop) 57 is an inverting input node. The CLK node of the middle bit latch circuit (D-type flip-flop) 57 receives the output signal (lower bit) of the lower bit latch circuit (D-type flip-flop) 56. The middle bit latch circuit (D-type flip-flop) 57 captures the signal supplied to the D node of the D-type flip-flop 57 in response to the output signal of the lower bit latch circuit (D-type flip-flop) 56.
[0422] One output node ( / Q node) of the middle bit latch circuit (D-type flip-flop) 57 is connected to the D node of the middle bit latch circuit (D-type flip-flop) 57. The / Q node of the middle bit latch circuit (D-type flip-flop) 57 sends an inverted signal of the signal held at the other output node of the middle bit latch circuit (D-type flip-flop) 57 to the D node of the middle bit latch circuit (D-type flip-flop) 57.
[0423] The other output node (Q node) of the middle bit latch circuit (D-type flip-flop) 57 outputs the signal held in the middle bit latch circuit (D-type flip-flop) 57.
[0424] The output signal from the Q node of the middle bit latch circuit (D-type flip-flop) 57 becomes the middle bit of the 3-bit data.
[0425] For example, a D-type flip-flop 57 serving as the middle bit latch circuit 57 has a reset node. The reset node of the middle bit latch circuit (D-type flip-flop) 57 receives a reset pulse. The reset pulse resets the middle bit latch circuit (D-type flip-flop) 57. The reset sets the state of the middle bit latch circuit (D-type flip-flop) 57 to its initial state. In the initial state at the start of a read operation, the middle bit latch circuit (D-type flip-flop) 57 holds a "L" level signal ("0" data) at the Q node. In this case, the middle bit latch circuit (D-type flip-flop) 57 holds a "H" level signal ("1" data) at the / Q node, which has a complementary relationship with the Q node.
[0426] The lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 configure a 2-bit counter. The signal held in the middle bit latch circuit (D-type flip-flop) 57 changes according to the signal latch operation of the lower bit latch circuit (D-type flip-flop) 56.
[0427] The 3-bit data acquired by the sense amplifier circuit SA of FIG.
[0428] Fig. 33 is a waveform diagram showing various control signals supplied to the sense amplifier circuit SA in the memory device 1 of this embodiment. Fig. 33 also shows the change over time in the resistance value of the memory cell MC.
[0429] At time t2, each of the control signals CLKH and CLKL has a signal level of "H" level.
[0430] The signal level of the control signal CLKH is controlled to change from the "H" level to the "L" level at time t52, time t53, and time t54. In this manner, the signal level of the control signal CLKH changes from the "H" level to the "L" level three times.
[0431] The signal level of the control signal CLKH changes to the "H" level after a certain time has elapsed since it changed to the "L" level.
[0432] The signal level of the control signal CLKL is controlled to change from the "H" level to the "L" level at time t51, time t52, and time t53. In this manner, the signal level of the control signal CLKH changes from the "H" level to the "L" level three times.
[0433] The signal level of the control signal CLKL changes to "H" level after a certain time has elapsed since it changed to "L" level.
[0434] The timing (time t51) when the control signal CLKL changes for the first time from the "H" level to the "L" level is provided before the timing when the control signal CLKH changes for the first time from the "H" level to the "L" level.
[0435] For example, the timing of the first change of the control signal CLKL from the "H" level to the "L" level is set between the time when the bit line voltage VBL for the memory cell MC in the resistance state RS0 becomes lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC in the resistance state RS1 becomes lower than the reference voltage VrefL.
[0436] The timing of the first change of the control signal CLKH from the "H" level to the "L" level (time t52) coincides with the timing of the second change of the control signal CLKL from the "H" level to the "L" level.
[0437] For example, the timing of the first change of the control signal CLKH from the "H" level to the "L" level is set between the time when the bit line voltage VBL for the memory cell MC in the resistance state RS4 becomes lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC in the resistance state RS5 becomes lower than the reference voltage VrefH.
[0438] For example, the timing of the second change of the control signal CLKL from the "H" level to the "L" level is set between the time when the bit line voltage VBL for the memory cell MC in the resistance state RS1 becomes lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC in the resistance state RS2 becomes lower than the reference voltage VrefL.
[0439] The timing of the second change of the control signal CLKH from "H" level to "L" level (time t53) coincides with the timing of the third change of the control signal CLKL from "H" level to "L" level.
[0440] For example, the timing of the second change of the control signal CLKH from the "H" level to the "L" level is set between the time when the bit line voltage VBL for the memory cell MC in the resistance state RS5 becomes lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC in the resistance state RS6 becomes lower than the reference voltage VrefH.
[0441] For example, the timing of the third change of the control signal CLKL from the "H" level to the "L" level is set between the time when the bit line voltage VBL for the memory cell MC in the resistance state RS2 becomes lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC in the resistance state RS3 becomes lower than the reference voltage VrefL.
[0442] The timing (time t54) when the control signal CLKH changes from the “H” level to the “L” level for the third time is provided after the timing (time t53) when the control signal CLKL changes from the “H” level to the “L” level for the third time.
[0443] For example, the timing of the third change of the control signal CLKH from the "H" level to the "L" level is set between the time when the bit line voltage VBL for the memory cell MC in the resistance state RS6 becomes lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC in the resistance state RS7 becomes lower than the reference voltage VrefH.
[0444] The control signal ValidHigh is controlled to change from the “H” level to the “L” level at time t51. The timing of the change of the control signal ValidHigh from the “L” level to the “H” level is aligned with, for example, the first change of the control signal CLKL from the “H” level to the “L” level.
[0445] For example, the signal level of the signal DoutPre changes from the "H" level to the "L" level when the bit line voltage VBL becomes equal to or lower than the high potential reference voltage VrefH during the period when the signal level of the control signal ValidHigh is at the "L" level.
[0446] Using these various control signals CLKH, CLKL, and ValidHigh, the sense amplifier circuit SA acquires the data stored in the memory cell MC.
[0447] (b) Operation An operation example of the memory device 1 of this embodiment will be described with reference to FIGS.
[0448] As in the above-described embodiment, the memory device 1 of this embodiment performs a read operation in response to a read command.
[0449] When a read operation is performed, the sequencer 180 sets the state of the sense amplifier circuit SA to an initial state.
[0450] The sequencer 180 sets the signal level of the Q node to an “L” level signal (“0” data) as an initial value in the D-type flip-flops 52, 56, 57 serving as each latch circuit 52, 56, 57 of the data judgment circuit 145 of the sense amplifier circuit SA, and sets the signal level of the / Q node to an “H” level signal (“1” data) as an initial value.
[0451] As in the above-described embodiment, the voltage sense circuit 141 obtains the sense signals VDOH and VDOL based on the result of sensing the bit line voltage VBL.
[0452] The data decision circuit 145 receives the sense signal VDOH, an inverted signal / VDOH of the sense signal VDOH, and an inverted signal / VDOL of the sense signal VDOL.
[0453] The data decision circuit 145 receives the control signal ValidHigh, the control signal CLKH, and the control signal CLKL from the sequencer 180 .
[0454] The data decision circuit 145 executes decision processing using the signals VDOH, / VDOH, and / VDOL in response to changes in the signal levels of the control signals CLKH, CLKL, and ValidHigh.
[0455] <When reading "110" data> 34 to 40, the operation of the sense amplifier circuit SA of the memory device 1 of this embodiment will be described when the memory cell (selected cell) MC stores data "110". When the memory cell MC stores data "110", the memory cell MC has a resistance state RS6.
[0456] 34 shows a timing chart of the operation of the sense amplifier circuit SA when reading data "110" in the memory device 1 of this embodiment. In FIG. 34, the horizontal axis corresponds to time, and the vertical axis corresponds to the bit line voltage VBL and the signal levels of each control signal.
[0457] Each of FIGS. 35 to 40 is a schematic diagram showing the state of the signal levels of various signals supplied to the sense amplifier circuit SA at a certain time in the memory device 1 of this embodiment.
[0458] (time t50) As shown in FIGS. 34 and 35, at time t50, the data decision circuit 145 receives the control signal ValidHigh at an "L" level, the control signal CLKH at an "H" level, and the control signal CLKL at an "H" level.
[0459] If the selected cell MC stores "110" data, the selected cell MC has a resistance state RS6. In this case, at time t50, the bit line voltage VBL is higher than both the reference voltage VrefH and the reference voltage VrefL. Therefore, each of the sense signals VDOH and VDOL has a signal level of the "H" level. Each of the inverted sense signals / VDOH and / VDOL has a signal level of the "L" level.
[0460] In the lower-middle bit determination circuit 501, an OR gate 53 receives the inverted sense signal / VDOH at a low level and the control signal CLKH at a high level. The OR gate 53 sends a signal SigB at a high level to the multiplexer 55 by an OR operation.
[0461] In the lower-middle bit determination circuit 501, the OR gate 54 receives the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “H” level. The OR gate 54 sends the signal SigC at the “H” level to the multiplexer 55 by an OR operation.
[0462] In the upper bit determination circuit 500, an OR gate 51 receives the high-level sense signal VDOH and the low-level control signal ValidHigh. The OR gate 51 outputs a high-level signal SigA by OR operation.
[0463] The "H" level signal SigA is sent to the CLK node of the D-type flip-flop 52 of the upper bit latch circuit 52. The CLK node of the upper bit latch circuit (D-type flip-flop) 52 does not take in the "H" level signal SigA.
[0464] When signal SigA is at "H" level, upper bit latch circuit (D-type flip-flop) 52 does not capture the signal at the D node. In this case, in upper bit latch circuit (D-type flip-flop) 52, the signal level at the Q node of upper bit latch circuit (D-type flip-flop) 52 is maintained at "L" level. The signal level at the / Q node of upper bit latch circuit (D-type flip-flop) 52 is maintained at "H" level.
[0465] The upper bit latch circuit (D-type flip-flop) 52 outputs a signal DoutPre of "H" level from the / Q node.
[0466] The multiplexer 55 receives, as a control signal, a signal DoutPre at the “H” level of the / Q node of the Upper bit latch circuit (D-type flip-flop) 52 relating to the Upper bit.
[0467] The multiplexer 55 selects the signal SigB based on the "H" level signal DoutPre. The "H" level signal Mout is supplied to the CLK node of the D-type flip-flop 56 of the Lower bit latch circuit 56. The Lower bit latch circuit (D-type flip-flop) 56 does not take in the "H" level signal Mout at the CLK node, which is the inverting input node.
[0468] Therefore, when the signal Mout is at the "H" level, the D-type flip-flop 56 of the Lower bit latch circuit 56 does not capture the signal at the D node.
[0469] In this case, the signal level of the Q node of the lower bit latch circuit (D-type flip-flop) 56 and the signal level of the Q node of the middle bit latch circuit (D-type flip-flop) 57 are at the “L” level (a “0” data holding state).
[0470] (time t51) At time t51, the sequencer 180 changes the signal level of the control signal ValidHigh from the "L" level to the "H" level. At time t51, the sequencer 180 changes the signal level of the control signal CLKL from the "H" level to the "L" level.
[0471] When the selected cell MC stores data “110”, at time t51, the sense signals VDOH and VDOL each have a signal level of “H” level, and the inverted sense signals / VDOH and / VDOL each have a signal level of “L” level.
[0472] As shown in FIG. 36, the data decision circuit 145 receives a control signal ValidHigh of an "H" level, a control signal CLKH of an "H" level, and a control signal CLKL of an "L" level.
[0473] In the lower-middle bit determination circuit 501, the OR gate 54 performs an OR operation on the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “L” level in response to a change in the signal level of the control signal CLKL. The OR gate 54 sends the signal SigC at the “L” level to the multiplexer 55.
[0474] In the upper bit determination circuit 500, an OR gate 51 performs an OR operation on the “H” level sense signal VDOH and the “H” level control signal ValidHigh in response to a change in the signal level of the control signal ValidHigh. The OR gate 51 sends an “H” level signal SigA to an upper bit latch circuit (D-type flip-flop) 52.
[0475] At time t51, there is no change in the signal levels of the signals / VDOH and CLKH supplied to the OR gate 53. Therefore, the OR gate 53 sends the signal SigB at the “H” level to the multiplexer 55, similarly to time t50.
[0476] As described above, the D-type flip-flop 52, which is the upper bit latch circuit 52, does not capture the “H” level signal SigA at the CLK node. Therefore, the “H” level signal DoutPre is supplied to the multiplexer 55, similar to the case at time t50.
[0477] The multiplexer 55 sends a signal Mout of "H" level to a lower bit latch circuit (D-type flip-flop) 56 based on the signal DoutPre of "H" level.
[0478] The D-type flip-flop 56, which is the lower bit latch circuit 56, does not capture the “H” level signal Mout at the CLK node. Therefore, the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 maintain the same state as at time t50.
[0479] After that, the sequencer 180 changes the signal level of the control signal CLKL from the "L" level to the "H" level.
[0480] (time t52) At time t52, the sequencer 180 changes the signal levels of the control signals CLKH and CLKL from "H" level to "L" level.
[0481] Incidentally, the signal level of ValidHigh is maintained at the “H” level after time t51.
[0482] When the selected cell MC stores data “110”, at time t52, the sense signals VDOH and VDOL each have a signal level of “H” level. The inverted sense signals / VDOH and / VDOL each have a signal level of “L” level.
[0483] As shown in FIG. 37, the data decision circuit 145 receives a control signal ValidHigh of an "H" level, a control signal CLKH of an "L" level, and a control signal CLKL of an "L" level.
[0484] In the lower-middle bit determination circuit 501, the OR gate 53 performs an OR operation on the inverted sense signal / VDOH at a low level and the control signal CLKH at a low level. The OR gate 53 sends the signal SigB at a low level to the multiplexer 55.
[0485] In the lower-middle bit determination circuit 501, the OR gate 54 performs an OR operation on the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “L” level. The OR gate 54 sends the signal SigC at the “L” level to the multiplexer 55.
[0486] In the upper bit determination circuit 500, an OR gate 51 sends a high-level signal SigA to an upper bit latch circuit (D-type flip-flop) 52 by ORing a high-level sense signal VDOH and a high-level control signal ValidHigh.
[0487] As described above, the Upper bit latch circuit (D-type flip-flop) 52 does not capture the “H” level signal SigA at the CLK node. Therefore, the “H” level signal DoutPre is sent to the multiplexer 55, as in the case of time t51.
[0488] The multiplexer 55 selects the "L" level signal SigB based on the "H" level signal DoutPre. The signal level of the signal Mout changes from "H" level to "L" level. As a result, the multiplexer 55 sends the "L" level signal Mout to the lower bit latch circuit (D-type flip-flop) 56.
[0489] The D-type flip-flop 56, which is the lower bit latch circuit 56, captures the "L" level signal Mout at the CLK node in response to the change of the signal Mout from "H" level to "L" level.
[0490] As a result, in the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 which form a 2-bit counter, the value of the lower bit latch circuit (D-type flip-flop) 56 is updated (counted up).
[0491] Lower bit latch circuit (D-type flip-flop) 56 captures the “H” level signal of the / Q node at its D node. This changes the signal level of the Q node of lower bit latch circuit (D-type flip-flop) 56 from “L” level to “H” level.
[0492] The D-type flip-flop 56 for the lower bit holds an "H" level signal ("1" data) at the Q node.
[0493] A "H" level signal is sent to the CLK node of the middle bit latch circuit (D-type flip-flop) 57. The middle bit latch circuit (D-type flip-flop) 57 does not capture the "H" level signal at the CLK node. Therefore, the middle bit latch circuit (D-type flip-flop) 57 holds a "L" level signal ("0" data) at the Q node of the middle bit latch circuit (D-type flip-flop) 57.
[0494] As a result, at time t52, the Lower bit is set to "1" data, the Middle bit is set to "0" data, and the Upper bit is set to "1" data.
[0495] After that, the sequencer 180 changes the signal levels of the control signals CLKH and CLKL from the "L" level to the "H" level. In response to this, the signal level of the signal Mout changes from the "L" level to the "H" level.
[0496] (time t53) At time t53, the sequencer 180 changes the signal levels of the control signals CLKH and CLKL from "H" level to "L" level. When the selected cell MC stores data "110", at time t53, similarly to the state at time t52, the inverted sense signal / VDOH and the inverted sense signal / VDOL each have a signal level of the "L" level.
[0497] As shown in FIG. 38, the data decision circuit 145 receives a control signal ValidHigh at an "H" level, a control signal CLKH at an "L" level, and a control signal CLKL at an "L" level.
[0498] In the lower-middle bit determination circuit 501, the OR gate 53 performs an OR operation on the inverted sense signal / VDOH at a low level and the control signal CLKH at a low level. The OR gate 53 sends the signal SigB at a low level to the multiplexer 55.
[0499] In the lower-middle bit determination circuit 501, the OR gate 54 performs an OR operation on the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “L” level. The OR gate 54 sends the signal SigC at the “L” level to the multiplexer 55.
[0500] As in the case of time t52, the signal DoutPre at the “H” level is sent to the multiplexer 55.
[0501] The multiplexer 55 selects the signal SigB at the "L" level based on the signal DoutPre at the "H" level. As a result, the multiplexer 55 sends the signal Mout at the "L" level to the lower bit latch circuit (D-type flip-flop) 56. The signal level of the signal Mout changes from the "H" level to the "L" level.
[0502] The D-type flip-flop 56, which is the lower bit latch circuit 56, captures the "L" level signal Mout at the CLK node in response to the change of the signal Mout from "H" level to "L" level.
[0503] As a result, in the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 which form a 2-bit counter, the values of the latch circuits (D-type flip-flops) 56 and 57 are updated (counted up).
[0504] A lower bit latch circuit (D-type flip-flop) 56 receives at its D node the signal ("L" level signal) of the / Q node.
[0505] In the lower bit latch circuit (D-type flip-flop) 56 related to the lower bit, the signal level of the Q node changes from "H" level to "L" level. The Q node of the lower bit latch circuit (D-type flip-flop) 56 holds a "L" level signal. Accordingly, the signal level of the / Q node of the lower bit latch circuit (D-type flip-flop) 56 changes from "L" level to "H" level.
[0506] The signal level of the signal output from the Q node of the lower bit latch circuit (D-type flip-flop) 56 changes from the "H" level to the "L" level.
[0507] The Middle bit latch circuit (D-type flip-flop) 57 for the Middle bit captures an "L" level signal at the CLK node in response to the signal that has changed from "H" level to "L" level from the Lower bit latch circuit (D-type flip-flop) 56. As a result, the Middle bit latch circuit (D-type flip-flop) 57 captures the signal held at the / Q node at the D node.
[0508] As a result, the middle bit latch circuit (D-type flip-flop) 57 holds an “H” level signal at the Q node. Accordingly, the signal level at the / Q node of the middle bit latch circuit (D-type flip-flop) 57 changes from “H” level to “L” level.
[0509] At time t53, each of the latch circuits (D-type flip-flops) 52, 56, and 57 is in the following data holding state. The upper bit latch circuit (D-type flip-flop) 52 holds "1" data. The middle bit latch circuit (D-type flip-flop) 57 holds "1" data. The lower bit latch circuit (D-type flip-flop) 56 holds "0" data.
[0510] After that, the sequencer 180 changes the signal level of the control signal CLKH from the "L" level to the "H" level. The sequencer 180 maintains the signal level of the control signal CLKL at the "L" level.
[0511] (time td) After the signal level of the control signal CLKH changes to the "H" level, if the selected cell MC stores data "110" at time td, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH.
[0512] As a result, the signal level of the sense signal VDOH of the operational amplifier 41 changes from the "H" level to the "L" level. Accordingly, the signal level of the inverted sense signal / VDOH changes from the "L" level to the "H" level.
[0513] At time td, the bit line voltage VBL is higher than the reference voltage VrefL, so that the signal level of the sense signal VDOL is at the "H" level and the signal level of the inverted sense signal / VDOL is at the "L" level.
[0514] At this time, the signal level of the control signal CLKL is at the "L" level.
[0515] 39, in the upper bit determination circuit 500, an OR gate 51 receives a sense signal VDOH at an “L” level and a control signal ValidHigh at an “H” level. Even if the sense signal VDOH transitions from an “H” level to an “L” level, the OR gate 51 outputs a signal SigA at an “H” level.
[0516] Therefore, the upper bit latch circuit (D-type flip-flop) 52 sends the signal DoutPre of the “H” level to the multiplexer 55.
[0517] In the lower-middle bit determination circuit 501, an OR gate 53 receives an inverted sense signal / VDOH at an "H" level and a control signal CLKH at an "H" level. Even if the inverted sense signal / VDOH transitions from an "L" level to an "H" level, the OR gate 53 outputs a signal SigB at an "H" level in response to the control signal CLKH at an "H" level.
[0518] The OR gate 54 outputs the signal SigC at the "L" level.
[0519] The multiplexer 55 selects the signal SigB at "H" level based on the signal DoutPre at "H" level. The multiplexer 55 outputs the signal Mout at "H" level.
[0520] As in the above example, when the signal level of the signal Mout is at the “H” level, the Lower bit latch circuit (D-type flip-flop) 56 does not capture the “H” level signal SigB. Therefore, the values in the Lower bit latch circuit (D-type flip-flop) 56 and the Middle bit latch circuit (D-type flip-flop) 57 are not updated.
[0521] Therefore, the lower bit latch circuit (D-type flip-flop) 56 holds an “L” level signal at the Q node of the lower bit latch circuit (D-type flip-flop) 56. The middle bit latch circuit (D-type flip-flop) 57 holds an “H” level signal at the Q node of the middle bit latch circuit (D-type flip-flop) 57.
[0522] (time t54) At time t54, the sequencer 180 changes the signal level of the control signal CLKH from "H" level to "L" level. Note that the signal level of the control signal CLKL is maintained at "L" level after time t53.
[0523] When the selected cell MC stores data "110", at time t54, the sense signal VDOH has a signal level of "L" level, and the sense signal VDOL has a signal level of "H" level. The inverted sense signal / VDOH has a signal level of "H" level. The inverted sense signal / VDOL has a signal level of "L" level.
[0524] As shown in FIG. 40, the data decision circuit 145 receives a control signal ValidHigh at an "H" level, a control signal CLKH at an "L" level, and a control signal CLKL at an "L" level.
[0525] In the upper bit determination circuit 500, an OR gate 51 receives the sense signal VDOH at a low level and the control signal ValidHigh at a high level. The OR gate 51 outputs a signal SigA at a high level.
[0526] Therefore, similarly to the above example, the Upper bit latch circuit (D-type flip-flop) 52 sends the “H” level signal DoutPre from the / Q node to the multiplexer 55.
[0527] In the lower-middle bit determination circuit 501, an OR gate 53 receives the inverted sense signal / VDOH at "H" level and the control signal CLKH at "L" level, and outputs a signal SigB at "H" level.
[0528] In the lower-middle bit determination circuit 501, the OR gate 54 receives the inverted sense signal / VDOL at a low level and the control signal CLKL at a low level, and outputs the signal SigC at a low level.
[0529] The multiplexer 55 selects the signal SigB based on the signal DoutPre at the “H” level. As a result, the multiplexer 55 sends the signal Mout at the “H” level to the lower bit latch circuit (D-type flip-flop) 56.
[0530] Therefore, the lower bit latch circuit (D-type flip-flop) 56 does not receive the “H” level signal Mout. Therefore, the values of the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 which form the 2-bit counter are not updated.
[0531] At time t3, the sense amplifier circuit SA finishes the sensing operation.
[0532] At time t3, the data holding states of the latch circuits (D-type flip-flops) 52, 56, and 57 are as follows: The upper bit latch circuit (D-type flip-flop) 52 stores "1" data. The middle bit latch circuit (D-type flip-flop) 57 stores "1" data. The lower bit latch circuit (D-type flip-flop) 56 stores "0" data. As a result, the 3-bit data represented by the three latch circuits (D-type flip-flops) 52, 56, and 57 is "110" data.
[0533] The sense amplifier circuit SA sends the data of each of the latch circuits (D-type flip-flops) 52, 56, and 57 to the data register 150. In this manner, the “110” data is transferred from the sense amplifier circuit SA to the data register 150.
[0534] As described above, the sense amplifier circuit SA in FIG. 32 performs a sensing operation to read out data "110" from the selected cell MC.
[0535] <When reading "001" data> 41 to 46, the operation of the sense amplifier circuit SA of the memory device 1 of this embodiment will be described when the memory cell (selected cell) MC stores data "001". When the memory cell MC stores data "001", the memory cell MC has a resistance state RS1.
[0536] 41 shows a timing chart of the operation of the sense amplifier circuit SA when reading data "001" in the memory device 1 of this embodiment. In FIG. 41, the horizontal axis corresponds to time, and the vertical axis corresponds to the bit line voltage VBL and the signal levels of each control signal.
[0537] Each of FIGS. 42 to 46 is a schematic diagram showing the state of the signal levels of various signals supplied to the sense amplifier circuit SA at a certain time in the memory device 1 of this embodiment.
[0538] (time t2) As shown in FIG. 41, at time t2, the data decision circuit 145 receives the control signal ValidHigh at an "L" level, the control signal CLKH at an "H" level, and the control signal CLKL at an "H" level.
[0539] If the selected cell stores data “001”, the selected cell MC has a resistance state RS1 In this case, at time t2, the bit line voltage VBL is higher than both the reference voltage VrefH and the reference voltage VrefL.
[0540] Therefore, each of the sense signals VDOH and VDOL has a signal level of the "H" level, and each of the inverted sense signals / VDOH and / VDOL has a signal level of the "L" level.
[0541] In the lower-middle bit determination circuit 501, an OR gate 53 receives the inverted sense signal / VDOH at a low level and the control signal CLKH at a high level. The OR gate 53 sends a signal SigB at a high level to the multiplexer 55 by an OR operation.
[0542] In the lower-middle bit determination circuit 501, the OR gate 54 receives the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “H” level. The OR gate 54 sends the signal SigC at the “H” level to the multiplexer 55 by an OR operation.
[0543] In the upper bit determination circuit 500, an OR gate 51 receives the high-level sense signal VDOH and the low-level control signal ValidHigh. The OR gate 51 outputs a high-level signal SigA by OR operation.
[0544] When the signal SigA is at the “H” level, the D-type flip-flop 52 of the upper bit latch circuit 52 does not capture the signal at the D node.
[0545] In this case, the Upper bit latch circuit (D-type flip-flop) 52 for the Upper bit holds an “L” level signal, which is the initial value, at the Q node. The Upper bit latch circuit (D-type flip-flop) 52 holds an “H” level signal at the / Q node.
[0546] The “H” level signal of the / Q node of the upper bit latch circuit (D-type flip-flop) 52 is supplied to the multiplexer 55 as a control signal DoutPre.
[0547] The multiplexer 55 selects the signal SigB at the “H” level based on the control signal DoutPre at the “H” level. The multiplexer 55 sends the signal Mout at the “H” level to a lower bit latch circuit (D-type flip-flop) 56.
[0548] When the signal Mout is at the "H" level, the D-type flip-flop 56 of the Lower bit latch circuit 56 does not take in the signal Mout. In this case, the signal level of the Q node of the lower bit latch circuit (D-type flip-flop) 56 and the signal level of the Q node of the middle bit latch circuit (D-type flip-flop) 57 are at the initial value of the “L” level (data “0”).
[0549] (time te1) When the resistance state of the selected cell MC is one of the relatively low resistance states RS0, RS1, RS2, or RS3, the bit line voltage VBL becomes lower than the reference voltage VrefH at time te1 before the signal level of the control signal ValidHigh changes from the “L” level to the “H” level.
[0550] In this case, the operational amplifier 41 outputs a sense signal VDOH at the "L" level based on the comparison result between the bit line voltage VBL and the reference voltage VrefH.
[0551] At time tel, the bit line voltage VBL is higher than the reference voltage VrefL, so the signal level of the sense signal VDOL is high.
[0552] At time tel, the signal level of the control signal CLKH and the signal level of the control signal CLKL are both at "H" level.
[0553] 42, in the upper bit determination circuit 500, an OR gate 51 receives a sense signal VDOH at a low level. The OR gate 51 performs an OR operation on the sense signal VDOH at a low level and a control signal ValidHigh at a low level. The OR gate 51 sends a signal SigA at a low level to an upper bit latch circuit (D-type flip-flop) 52. The signal level of the signal SigA changes from a high level to a low level.
[0554] D-type flip-flop 52 of Upper bit latch circuit 52 captures the "L" level signal SigA at the CLK node in response to the change of signal SigA from "H" level to "L" level. This causes the data retention state of D-type flip-flop 52 of Upper bit latch circuit 52 to change from the initial state. In response to this, in Upper bit latch circuit (D-type flip-flop) 52, the signal level of the signal retained at the / Q node is set to "L" level.
[0555] The upper bit latch circuit (D-type flip-flop) 52 captures the voltage VDD ("H" level signal) supplied to the D node in response to the capture of the "L" level signal SigA at the CLK node. As a result, in the upper bit latch circuit (D-type flip-flop) 52, the signal level of the signal held at the Q node changes from the initial value of "L" level to "H" level.
[0556] A low-level signal DoutPre is output from the / Q node of the Upper bit latch circuit (D-type flip-flop) 52.
[0557] In the lower-middle bit determination circuit 501, the OR gate 53 receives the inverted sense signal / VDOH at the “H” level. The OR gate 53 performs an OR operation on the inverted sense signal / VDOH at the “H” level and the control signal CLKH at the “H” level. The OR gate 53 sends the signal SigB at the “H” level to the multiplexer 55.
[0558] In the lower-middle bit determination circuit 501, the OR gate 54 performs an OR operation on the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “H” level. The OR gate 54 sends the signal SigC at the “H” level to the multiplexer 55.
[0559] The multiplexer 55 selects the signal SigC in response to the “L” level signal DoutPre from the upper bit latch circuit (D-type flip-flop) 52. The multiplexer 55 sends the “H” level signal Mout to the lower bit latch circuit (D-type flip-flop) 56.
[0560] The lower bit latch circuit (D-type flip-flop) 56 does not capture the "H" level signal Mout into the CLK node of the lower bit latch circuit (D-type flip-flop) 56. Therefore, the data holding state of the lower bit latch circuit (D-type flip-flop) 56 and the data holding state of the middle bit latch circuit (D-type flip-flop) 57 do not change.
[0561] In this way, at the timing when the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH, the signal levels of the held signal (data) in the Upper bit latch circuit (D-type flip-flop) 52 and the control signal DoutPre change.
[0562] (time t51) At time t51, the sequencer 180 changes the signal level of the control signal ValidHigh from the "L" level to the "H" level. At time t51, the sequencer 180 changes the signal level of the control signal CLKL from the "H" level to the "L" level.
[0563] When the selected cell MC stores data "001", at time t51, the bit line voltage VBL is lower than the reference voltage VrefH and higher than the reference voltage VrefL. Therefore, at time t51, the sense signal VDOH has a signal level of "L" level, and the sense signal VDOL has a signal level of "H" level. The inverted sense signal / VDOH has a signal level of "H" level. The inverted sense signal / VDOL has a signal level of "L" level.
[0564] As shown in FIG. 43, the data decision circuit 145 receives a control signal ValidHigh of an "H" level, a control signal CLKH of an "H" level, and a control signal CLKL of an "L" level.
[0565] In the lower-middle bit determination circuit 501, the OR gate 53 performs an OR operation on the inverted sense signal / VDOH at “H” level and the control signal CLKH at “H” level. The OR gate 53 sends the signal SigB at “H” level to the multiplexer 55.
[0566] In the lower-middle bit determination circuit 501, the OR gate 54 performs an OR operation on the inverted sense signal / VDOL at the “L” level and the control signal CLKL at the “L” level. The OR gate 54 sends the signal SigC at the “L” level to the multiplexer 55.
[0567] In the upper bit determination circuit 500, an OR gate 51 performs an OR operation on the “L” level sense signal VDOH and the “H” level control signal ValidHigh. The OR gate 51 sends an “H” level signal SigA to an upper bit latch circuit (D-type flip-flop) 52.
[0568] As described above, the D-type flip-flop 52 which is the upper bit latch circuit 52 does not input the “H” level signal SigA to the CLK node, and the data holding state of the upper bit latch circuit (D-type flip-flop) 52 is maintained.
[0569] In response to the transition of the sense signal VDOH from the "H" level to the "L" level at the above-mentioned time tel, the Q node of the upper bit latch circuit (D-type flip-flop) 52 holds a "H" level signal different from the initial value. Accordingly, the / Q node of the upper bit latch circuit (D-type flip-flop) 52 holds a "L" level signal.
[0570] Therefore, at time t51 after time tel, the signal DoutPre at the “L” level is supplied to the multiplexer 55.
[0571] The multiplexer 55 selects the signal SigC at the "L" level based on the signal DoutPre at the "L" level. The multiplexer 55 sends the signal Mout at the "L" level to a lower bit latch circuit (D-type flip-flop) 56. The signal level of the signal Mout changes from the "H" level to the "L" level.
[0572] The D-type flip-flop 56, which is the lower bit latch circuit 56, captures the "L" level signal Mout at the CLK node in response to the change of the signal Mout from "H" level to "L" level. Therefore, the lower bit latch circuit (D-type flip-flop) 56 updates the value it holds.
[0573] In the lower bit latch circuit (D-type flip-flop) 56, the lower bit latch circuit (D-type flip-flop) 56 captures the signal at the / Q node at the D node. As a result, the lower bit latch circuit (D-type flip-flop) 56 holds an "H" level signal ("1" data) at the Q node. The lower bit latch circuit (D-type flip-flop) 56 sends the "H" level signal at the Q node to the CLK node of the middle bit latch circuit (D-type flip-flop) 57. After this, in the lower bit latch circuit (D-type flip-flop) 56, the signal level of the signal at the / Q node changes from "H" level to "L" level.
[0574] The middle bit latch circuit (D-type flip-flop) 57 does not capture an “H” level signal at the CLK node of the middle bit latch circuit (D-type flip-flop) 57. Therefore, the middle bit latch circuit (D-type flip-flop) 57 holds an “L” level signal (data “0”) at the Q node.
[0575] After that, the sequencer 180 changes the signal level of the control signal CLKL from the "L" level to the "H" level.
[0576] (time te2) At time te2, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH. In this case, the operational amplifier 42 outputs a sense signal VDOL of the "L" level based on the comparison result between the bit line voltage VBL and the reference voltage VrefL. The signal level of the inverted sense signal changes from the "L" level to the "H" level.
[0577] For example, at time te2, the signal level of the control signal CLKH is at the "H" level, and the signal level of the control signal CLKL is at the "L" level.
[0578] As shown in FIG. 44, in the upper bit determination circuit 500, an OR gate 51 sends a high-level signal SigA to an upper bit latch circuit (D-type flip-flop) 52 by ORing a low-level sense signal VDOH and a high-level control signal ValidHigh.
[0579] The D-type flip-flop 52 in the upper bit latch circuit 52 sends the signal DoutPre of “L” level to the multiplexer 55 without receiving the signal SigA of “H” level at the CLK node.
[0580] In the lower-middle bit determination circuit 501, the OR gate 53 sends a signal SigB of "H" level to the multiplexer 55 by ORing the inverted sense signal / VDOH of "H" level and the control signal CLKH of "H" level.
[0581] The OR gate 54 receives the inverted sense signal / VDOL at the “H” level. The OR gate 54 performs an OR operation on the inverted sense signal / VDOL at the “H” level and the control signal CLKL at the “L” level. The OR gate 54 sends the signal SigC at the “H” level to the multiplexer 55.
[0582] The multiplexer 55 selects the signal SigC in response to the “L” level signal DoutPre from the upper bit latch circuit (D-type flip-flop) 52. The multiplexer 55 sends the “H” level signal Mout to the lower bit latch circuit (D-type flip-flop) 56.
[0583] The lower bit latch circuit (D-type flip-flop) 56 does not capture the "H" level signal Mout into the CLK node of the lower bit latch circuit (D-type flip-flop) 56. Therefore, the data holding state of the lower bit latch circuit (D-type flip-flop) 56 and the data holding state of the middle bit latch circuit (D-type flip-flop) 57 do not change.
[0584] (time t52) At time t52, the sequencer 180 changes the signal levels of the control signals CLKH and CLKL from "H" to "L" while the signal level of the control signal ValidHigh is maintained at "H".
[0585] When the selected cell MC stores data “001”, at time t52, both the sense signal VDOH and the sense signal VDOL have a signal level of “L” level. Therefore, both the inverted sense signal / VDOH and the inverted sense signal / VDOL have a signal level of “H” level.
[0586] As shown in FIG. 45, the data decision circuit 145 receives a control signal ValidHigh of an "H" level, a control signal CLKH of an "L" level, and a control signal CLKL of an "L" level.
[0587] In the upper bit determination circuit 500, an OR gate 51 sends a high-level signal SigA to an upper bit latch circuit (D-type flip-flop) 52 by ORing a low-level sense signal VDOH and a high-level control signal ValidHigh.
[0588] As described above, the upper bit latch circuit (D-type flip-flop) 52 does not receive the “H” level signal SigA. Therefore, the “L” level signal DoutPre is supplied to the multiplexer 55.
[0589] In the lower-middle bit determination circuit 501, the OR gate 53 performs an OR operation on the inverted sense signal / VDOH at “H” level and the control signal CLKH at “L” level. The OR gate 53 sends the signal SigB at “H” level to the multiplexer 55.
[0590] In the lower-middle bit determination circuit 501, the OR gate 54 performs an OR operation on the inverted sense signal / VDOL at “H” level and the control signal CLKL at “L” level. The OR gate 54 sends the signal SigC at “H” level to the multiplexer 55.
[0591] The multiplexer 55 selects the signal SigC at the “H” level based on the signal DoutPre at the “L” level. The multiplexer 55 sends the signal Mout at the “H” level to a lower bit latch circuit (D-type flip-flop) 56.
[0592] The D-type flip-flop 56, which is the lower bit latch circuit 56, does not input the "H" level signal Mout to the CLK node.
[0593] Therefore, in the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 which form a 2-bit counter, the values of the latch circuits (D-type flip-flops) 56 and 57 are not updated.
[0594] A lower bit latch circuit (D-type flip-flop) 56 for the lower bit holds an "H" level signal at the Q node.
[0595] A high-level signal is sent to the CLK node of the middle bit latch circuit (D-type flip-flop) 57 .
[0596] The middle bit latch circuit (D-type flip-flop) 57 does not receive a high-level signal at the CLK node. Therefore, in the middle bit latch circuit (D-type flip-flop) 57 related to the middle bit, the signal level at the Q node is maintained at a low level.
[0597] After that, the sequencer 180 changes the signal level of the control signal CLKH and the signal level of the control signal CLKL from the "L" level to the "H" level.
[0598] (time t53) At time t53, the sequencer 180 changes the signal levels of the control signals CLKH and CLKL from "H" level to "L" level. When the selected cell MC stores data “001”, at time t53, the sense signals VDOH and VDOL each have a signal level of “L” level, and the inverted sense signals / VDOH and / VDOL each have a signal level of “H” level.
[0599] As in the example of FIG. 45, the data decision circuit 145 receives the control signal ValidHigh at an "H" level, the control signal CLKH at an "L" level, and the control signal CLKL at an "L" level.
[0600] In this case, similarly to the case of time t52 (see FIG. 45), the upper bit latch circuit (D-type flip-flop) 52 outputs a signal DoutPre of a low level. The multiplexer 55 sends a signal Mout of a high level to the lower bit latch circuit (D-type flip-flop) 56 based on the signal DoutPre of a low level.
[0601] The lower bit latch circuit (D-type flip-flop) 56 does not capture the "H" level signal Mout at the CLK node. As a result, the values of the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 of the 2-bit counter are not updated and are maintained in the same state as at time t52. The lower bit latch circuit (D-type flip-flop) 56 holds a "H" level signal ("1" data) at the Q node. The middle bit latch circuit (D-type flip-flop) 57 holds a "L" level signal ("0" data) at the Q node.
[0602] After that, the sequencer 180 changes the signal level of the control signal CLKH from the "L" level to the "H" level.
[0603] (time t54) At time t54, the sequencer 180 changes the signal level of the control signal CLKH from "H" level to "L" level. Note that the signal level of the control signal CLKL is maintained at "L" level after time t53.
[0604] The signal levels of the sense signals VDOH and VDOL are at "L" level. The signal levels of the inverted sense signals / VDOH and / VDOL are at "H" level.
[0605] As shown in FIG. 46, the data decision circuit 145 receives a control signal ValidHigh of an "H" level, a control signal CLKH of an "L" level, and a control signal CLKL of an "L" level.
[0606] In the upper bit determination circuit 500, the OR gate 51 outputs a signal SigA at a "H" level by ORing the sense signal VDOH at a "L" level and the control signal ValidHigh at a "H" level.
[0607] The upper bit latch circuit (D-type flip-flop) 52 sends the signal DoutPre at the “L” level to the multiplexer 55 without taking in the signal SigA at the “H” level.
[0608] In the lower-middle bit determination circuit 501, the OR gate 53 performs an OR operation on the inverted sense signal / VDOH at the “H” level and the control signal CLKH at the “L” level, so that the OR gate 53 outputs the signal SigB at the “H” level.
[0609] In the lower-middle bit determination circuit 501, the OR gate 54 outputs a signal SigC at a high level by ORing the inverted sense signal / VDOL at a high level and the control signal CLKH at a low level.
[0610] The multiplexer 55 selects the signal SigC based on the signal DoutPre at the “L” level. The multiplexer 55 sends the signal Mout to a lower bit latch circuit (D-type flip-flop) 56.
[0611] The signal level of the signal Mout based on the selected signal SigC is at the “H” level. Therefore, the Lower bit latch circuit (D-type flip-flop) 56 does not input the signal Mout to the CLK node of the Lower bit latch circuit (D-type flip-flop) 56.
[0612] Therefore, the values of the lower bit latch circuit (D-type flip-flop) 56 and the middle bit latch circuit (D-type flip-flop) 57 which form the 2-bit counter are not updated.
[0613] At time t3, the sense amplifier circuit SA finishes the sensing operation.
[0614] At time t3, the data holding states of the latch circuits (D-type flip-flops) 52, 56, and 57 are as follows: The upper bit latch circuit (D-type flip-flop) 52 stores "0" data. The middle bit latch circuit (D-type flip-flop) 57 stores "0" data. The lower bit latch circuit (D-type flip-flop) 56 stores "1" data. As a result, the 3-bit data represented by the three latch circuits (D-type flip-flops) 52, 56, and 57 is "001" data.
[0615] The sense amplifier circuit SA sends the data of each of the latch circuits (D-type flip-flops) 52, 56, and 57 to the data register 150. In this manner, the data "001" is transferred from the sense amplifier circuit SA to the data register 150.
[0616] As described above, the sense amplifier circuit SA in FIG. 32 performs a sensing operation to read out "001" data from the selected cell MC.
[0617] (c) Summary The memory device 1 of the second embodiment can ensure a relatively wide sense margin by the configuration and operation of the sense amplifier circuit SA described above. The memory device of the second embodiment can achieve high speed read operations.
[0618] As described above, the memory device of the second embodiment can improve the characteristics of the read operation.
[0619] (3) Third embodiment A memory device according to a third embodiment will be described with reference to FIGS.
[0620] (a) Configuration <Relationship between memory cell resistance state and data> FIG. 47 is a diagram showing the relationship between the resistance state of a memory cell and stored data in the memory device 1 of this embodiment.
[0621] As shown in FIG. 47, in the memory device 1 of this embodiment, like the memory device 1 of the above-described first embodiment, the memory cells store data according to the resistance state of the memory cell.
[0622] Based on the above-mentioned Figure 18, depending on the time when the magnitude relationship of the bit line voltage VBL with respect to each reference voltage VrefH, VrefL changes, the time (time) at which the data stored in the memory cell MC is determined can be determined for each resistance state of the memory cell.
[0623] The "000" data corresponding to resistance state RS0 may be determined at the earliest time. The "010" data corresponding to resistance state RS4 may be determined at the second earliest time. The "101" data corresponding to resistance state RS1 may be determined at the third earliest time. The "011" data corresponding to resistance state RS5 may be determined at the fourth earliest time. The "100" data corresponding to resistance state RS2 may be determined at the fifth earliest time. The "110" data corresponding to resistance state RS3 may be determined at the sixth earliest time (third latest time). The "001" data corresponding to resistance state RS6 may be determined at the seventh earliest time (second latest time). The "111" data corresponding to resistance state RS7 may be determined at the latest time (eighth earliest time).
[0624] In the memory device 1 of this embodiment, the sense amplifier circuit SA reads the data of the selected cell MC by executing a determination operation at a timing based on the data determination time.
[0625] <Configuration example of sense amplifier circuit SA> FIG. 48 is a diagram showing an example of the configuration of a sense amplifier circuit SA in the memory device 1 of the present embodiment.
[0626] As shown in FIG. 48, the sense amplifier circuit SA includes a voltage sense circuit 141.
[0627] As in the above-described embodiment, the voltage sense circuit 141 includes two operational amplifiers 41 and 42. One input node of the operational amplifier 41 is connected to the bit line BL. One input node of the operational amplifier 41 receives the bit line voltage VBL. The other input node of the operational amplifier 41 receives a reference voltage VrefH. The output node of the operational amplifier 41 outputs a sense signal VDOH.
[0628] One input node of the operational amplifier 42 is connected to the bit line BL. One input node of the operational amplifier 42 receives a bit line voltage VBL. The other input node of the operational amplifier 42 receives a reference voltage VrefL. The output node of the operational amplifier 42 outputs a sense signal VDOL.
[0629] The inverter 199H receives the sense signal VDOH and outputs an inverted sense signal / VDOH to each circuit 147, which will be described later.
[0630] The inverter 199L receives the sense signal VDOL and outputs an inverted sense signal / VDOL to each circuit 147, which will be described later.
[0631] The sense amplifier circuit SA includes a lower bit determination circuit 147L, a middle bit determination circuit 147M, an upper bit determination circuit 147U, and control circuits 148 and 149.
[0632] The lower bit determination circuit 147L performs a determination process for a lower bit included in the 3-bit data. The lower bit determination circuit 147L includes two AND gates (logical operation circuits) 80L and 81L, an OR gate (logical operation circuit) 82L, and a lower bit latch circuit (data holding circuit) 85L.
[0633] The AND gate 80L has three input nodes and one output node. A first input node of the AND gate 80L is connected to a signal line 79. A first input node of the AND gate 80L receives a signal SigZ output from a control circuit 148 described later. A second input node of the AND gate 80L receives an inverted signal (inverted sense signal) / VDOH of the sense signal VDOH. A third input node of the AND gate 80L receives a control signal LgcVrefH(L). An output node of the AND gate 80L is connected to an OR gate 82L.
[0634] The AND gate 80L performs an AND operation on the control signal SigZ, the inverted sense signal / VDOH, and the control signal LgcVrefH(L). The AND gate 80L sends a signal AL1 indicating the result of the AND operation to the OR gate 82L.
[0635] The AND gate 81L has three input nodes and one output node. A first input node of the AND gate 81L receives a control signal ValidHigh. A second input node of the AND gate 81L receives an inverted signal (inverted sense signal) / VDOL of the sense signal VDOL. A third input node of the AND gate 81L receives a control signal LgcVrefL(L). An output node of the AND gate 81L is connected to the OR gate 82L.
[0636] The AND gate 81L performs an AND operation on the control signal ValidHigh, the inverted sense signal / VDOL, and the control signal LgcVrefL(L). The AND gate 81L sends a signal AL2 indicating the result of the AND operation to the OR gate 82L.
[0637] The OR gate 82L has two input nodes and one output node. One input node of the OR gate 82L is connected to the output node of the AND gate 80L. One input node of the OR gate 82L receives the output signal AL1 of the AND gate 80L. The other input node of the OR gate 82L is connected to the output node of the AND gate 81L. The other input node of the OR gate 82L receives the output signal AL2 of the AND gate 81L. The output node of the OR gate 82L is connected to the Lower bit latch circuit 85L.
[0638] The OR gate 82L executes an OR operation on the signals AL1 and AL2, and sends a signal CLKLb indicating the result of the OR operation to the lower bit latch circuit 85L.
[0639] The lower bit latch circuit 85L includes a D-type flip-flop 85L. The D-type flip-flop 85L serving as the lower bit latch circuit 85L has two input nodes and two output nodes.
[0640] One input node (D node) of the lower bit latch circuit (D type flip-flop) 85L receives a signal of the "H (1)" level. The other input node (CLK node) of the lower bit latch circuit (D type flip-flop) 85L is connected to the output node of the OR gate 82L. The CLK node of the lower bit latch circuit (D type flip-flop) 85L receives the signal CLKLb from the OR gate 82L. The lower bit latch circuit (D type flip-flop) 85L takes in the signal supplied to the D node in response to the rising edge of the signal CLKLb. One output node (Q node) of the lower bit latch circuit (D type flip-flop) 85L outputs the signal held in the lower bit latch circuit (D type flip-flop) 85L. The other output node ( / Q node) of the lower bit latch circuit (D type flip-flop) 85L holds the inverted signal of the signal held in the Q node.
[0641] The output signal from the Q node of the lower bit latch circuit (D-type flip-flop) 85L becomes the lower bit of the 3-bit data.
[0642] In the initial state of the lower bit latch circuit (D-type flip-flop) 85L, the Q node holds an "L" level signal ("0" data).
[0643] The middle bit determination circuit 147M performs a determination process for the middle bit included in the 3-bit data. The middle bit determination circuit 147M includes two AND gates (logical operation circuits) 80M and 81M, an OR gate (logical operation circuit) 82M, and a middle bit latch circuit (data holding circuit) 85M.
[0644] The AND gate 80M has three input nodes and one output node. A first input node of the AND gate 80M is connected to the signal line 79. A first input node of the AND gate 80M receives the signal SigZ output from the control circuit 148. A second input node of the AND gate 80M receives the inverted sense signal / VDOH. A third input node of the AND gate 80M receives the control signal LgcVrefH(M). An output node of the AND gate 80M is connected to the OR gate 82M.
[0645] The AND gate 80M performs an AND operation on the control signal SigZ, the inverted sense signal / VDOH, and the control signal LgcVrefH(M). The AND gate 80M sends a signal AM1 indicating the result of the AND operation to the OR gate 82M.
[0646] The AND gate 81M has four input nodes and one output node. A first input node of the AND gate 81M receives a control signal ValidHigh. A second input node of the AND gate 81M receives an inverted sense signal / VDOL. A third input node of the AND gate 81M receives a control signal LgcVrefL(M). A fourth input node of the AND gate 81M receives a control signal Sig3 from a control circuit 149 described below. An output node of the AND gate 81M is connected to an OR gate 82M.
[0647] The AND gate 81M executes an AND operation on the control signal ValidHigh, the inverted sense signal / VDOL, the control signal LgcVrefL(M), and the control signal Sig3. The AND gate 81M sends a signal AM2 indicating the result of the AND operation to the OR gate 82M.
[0648] The OR gate 82M has two input nodes and one output node. One input node of the OR gate 82M is connected to the output node of the AND gate 80M. One input node of the OR gate 82M receives the output signal AM1 of the AND gate 80M. The other input node of the OR gate 82M is connected to the output node of the AND gate 81M. The other input node of the OR gate 82M receives the output signal AM2 of the AND gate 81M. The output node of the OR gate 82M is connected to the Middle bit latch circuit 85M.
[0649] The OR gate 82M executes an OR operation on the signals AM1 and AM2, and sends a signal CLKMb indicating the result of the OR operation to the Middle bit latch circuit 85M.
[0650] The middle bit latch circuit 85M includes a D-type flip-flop 85M. The D-type flip-flop 85M serving as the middle bit latch circuit 85M has two input nodes and two output nodes.
[0651] One input node (D node) of the middle bit latch circuit (D type flip-flop) 85M receives a signal of "H" level. The other input node (CLK node) of the middle bit latch circuit (D type flip-flop) 85M is connected to the output node of the OR gate 82M. The CLK node of the middle bit latch circuit (D type flip-flop) 85M receives the signal CLKMb from the OR gate 82M. The middle bit latch circuit (D type flip-flop) 85M takes in the signal supplied to the D node in response to the rising edge of the signal CLKMb. One output node (Q node) of the middle bit latch circuit (D type flip-flop) 85M outputs the signal held in the middle bit latch circuit (D type flip-flop) 85M. The other output node ( / Q node) of the middle bit latch circuit (D type flip-flop) 85M holds the inverted signal of the signal held in the Q node.
[0652] The output signal from the Q node of the middle bit latch circuit (D-type flip-flop) 85M becomes the middle bit of the 3-bit data.
[0653] In the initial state of the Middle bit latch circuit (D-type flip-flop) 85M, the Q node holds an "L" level signal ("0" data).
[0654] The upper bit determination circuit 147U performs a determination process on the upper bit included in the 3-bit data. The upper bit determination circuit 147U includes two AND gates (logical operation circuits) 80U and 81U, an OR gate (logical operation circuit) 82U, and an upper bit latch circuit (data holding circuit) 85U.
[0655] The AND gate 80U has three input nodes and one output node. A first input node of the AND gate 80U is connected to the signal line 79. A first input node of the AND gate 80U receives the signal SigZ output from the control circuit 148. A second input node of the AND gate 80U receives the inverted sense signal / VDOH. A third input node of the AND gate 80U receives the control signal LgcVrefH(U). An output node of the AND gate 80U is connected to the OR gate 82U.
[0656] The AND gate 80U performs an AND operation on the control signal SigZ, the inverted sense signal / VDOH, and the control signal LgcVrefH(U). The AND gate 80U sends a signal AU1 indicating the result of the AND operation to the OR gate 82U.
[0657] The AND gate 81U has three input nodes and one output node. A first input node of the AND gate 81U receives a control signal ValidHigh. A second input node of the AND gate 81U receives an inverted sense signal / VDOL. A third input node of the AND gate 81U receives a control signal LgcVrefL(U). An output node of the AND gate 81U is connected to an OR gate 82U.
[0658] The AND gate 81U performs an AND operation on the control signal ValidHigh, the inverted sense signal / VDOL, and the control signal LgcVrefL(U). The AND gate 81U sends a signal AU2 indicating the result of the AND operation to the OR gate 82U.
[0659] The OR gate 82U has two input nodes and one output node. One input node of the OR gate 82U is connected to the output node of the AND gate 80U. One input node of the OR gate 82U receives the output signal AU1 of the AND gate 80U. The other input node of the OR gate 82U is connected to the output node of the AND gate 81U. The other input node of the OR gate 82U receives the output signal AU2 of the AND gate 81U. The output node of the OR gate 82M is connected to the Upper bit latch circuit 85U.
[0660] The OR gate 82U executes an OR operation on the signals AU1 and AU2, and sends a signal CLKUb indicating the result of the OR operation to the Upper bit latch circuit 85U.
[0661] The upper bit latch circuit 85U includes a D-type flip-flop 85U. The D-type flip-flop 85U serving as the upper bit latch circuit 85U has two input nodes and two output nodes.
[0662] One input node (D node) of the upper bit latch circuit (D type flip-flop) 85U receives an "H" level signal. The other input node (CLK node) of the upper bit latch circuit (D type flip-flop) 85U is connected to the output node of the OR gate 82U. The CLK node of the upper bit latch circuit (D type flip-flop) 85U receives the signal CLKUb from the OR gate 82U. The upper bit latch circuit (D type flip-flop) 85U captures the signal supplied to the D node in response to the rising edge of the signal CLKUb. One output node (Q node) of the upper bit latch circuit (D type flip-flop) 85U outputs the signal held in the upper bit latch circuit (D type flip-flop) 85U. The other output node ( / Q node) of the upper bit latch circuit (D type flip-flop) 85U holds the inverted signal of the signal held in the Q node.
[0663] The output signal from the Q node of the upper bit latch circuit (D-type flip-flop) 85U becomes the upper bit of the 3-bit data.
[0664] In the initial state of the upper bit latch circuit (D-type flip-flop) 85U, the Q node holds an “L” level signal (“0” data).
[0665] Each latch circuit (D-type flip-flop) 85 has a reset node. The reset node of the latch circuit (D-type flip-flop) 85 receives a reset pulse. The reset pulse resets the latch circuit (D-type flip-flop) 85. The reset sets the state of the latch circuit (D-type flip-flop) 85 to its initial state.
[0666] In the following, when the Lower bit decision circuit 147L, the Middle bit decision circuit 147M, and the Upper bit decision circuit 147U are not distinguished from one another, these circuits 147L, 147M, and 147U will be referred to as decision circuit 147.
[0667] The control circuit 148 controls the operation states of the plurality of decision circuits 147. The control circuit 148 includes three NAND gates 70, 71, and 72.
[0668] The NAND gate 70 has four input nodes and one output node. A first input node of the NAND gate 70 receives an inverted sense signal / VDOH. A second input node of the NAND gate 70 receives an inverted signal / LgcVrefH(L) of the control signal LgcVrefH(L). A third input node of the NAND gate 70 receives a control signal LgcVrefH(M). A fourth input node of the NAND gate 70 receives an inverted signal / LgcVrefH(U) of the control signal LgcVrefH(U). An output node of the NAND gate 70 is connected to a subsequent NAND gate 71.
[0669] The NAND gate 70 performs a negative logical product operation (NAND operation) on the inverted sense signal / VDOH, the control signal / LgcVrefH(L), the control signal LgcVrefH(M), and the control signal / LgcVrefH(U). The NAND gate 70 sends a signal SigX indicating the result of the NAND operation to the NAND gate 71.
[0670] The NAND gate 71 has two input nodes and one output node. One input node of the NAND gate 71 is connected to the output node of the NAND gate 70 in the previous stage. One input node of the NAND gate 71 receives the output signal SigX of the NAND gate 70. The other input node of the NAND gate 71 is connected to the output node (and signal line 79) of the NAND gate 72 in the subsequent stage. The other input node of the NAND gate 71 receives the control signal SigZ output from the NAND gate 72. The output node of the NAND gate 71 is connected to the NAND gate 72.
[0671] The NAND gate 71 performs a NAND operation on the output signal of the preceding NAND gate 70 and the output signal of the following NAND gate 72. The NAND gate 71 sends to the NAND gate 72 a signal SigY indicating the result of the NAND operation.
[0672] The NAND gate 72 has two input nodes and one output node. One input node of the NAND gate 72 is connected to the output node of the preceding NAND gate 71. One input node of the NAND gate 72 receives the output signal SigY of the NAND gate 71. The other input node of the NAND gate 72 receives a signal (reset signal) NANDrst. The output node of the NAND gate 72 is connected to a signal line 79.
[0673] The NAND gate 72 performs a NAND operation on the output signal SigY and the reset signal NANDrst of the preceding NAND gate 71. The NAND gate 72 sends a signal SigZ indicating the result of the NAND operation via a signal line 79 to the AND gates 80L, 80M, and 80U.
[0674] The control circuit 148 controls the operation state of the Middle bit determination circuit 147 M. The control circuit 149 includes three NAND gates 74 , 75 , and 76 .
[0675] The NAND gate 74 has two input nodes and one output node. A first input node of the NAND gate 74 receives the inverted sense signal / VDOL. A second input node of the NAND gate 74 receives the inverted signal / LgcVrefL(M) of the control signal LgcVrefL(M). The output node of the NAND gate 74 is connected to the subsequent NAND gate 75.
[0676] The NAND gate 74 performs a NAND operation on the inverted sense signal / VDOL and the control signal / LgcVrefL(M) and sends a signal Sig1 indicating the result of the NAND operation to the NAND gate 75.
[0677] The NAND gate 75 has two input nodes and one output node. One input node of the NAND gate 75 is connected to the output node of the NAND gate 74 in the previous stage. One input node of the NAND gate 75 receives the output signal Sig1 of the NAND gate 74. The other input node of the NAND gate 75 is connected to the output node of the NAND gate 76 in the subsequent stage. The other input node of the NAND gate 75 receives the output signal Sig3 of the NAND gate 76. The output node of the NAND gate 75 is connected to the NAND gate 76 in the subsequent stage.
[0678] The NAND gate 75 performs a NAND operation on the output signal Sig1 of the preceding NAND gate 74 and the output signal Sig3 of the following NAND gate 76. The NAND gate 75 sends a signal Sig2 indicating the result of the NAND operation to the NAND gate 76.
[0679] The NAND gate 76 has two input nodes and one output node. One input node of the NAND gate 76 is connected to the output node of the preceding NAND gate 75. One input node of the NAND gate 76 receives the output signal Sig2 of the NAND gate 75. The other input node of the NAND gate 76 receives the reset signal NANDrst. The output node of the NAND gate 76 is connected to the fourth input node of the AND gate 81M of the Middle bit determination circuit 147M.
[0680] The NAND gate 76 performs a NAND operation on the output signal Sig2 and the reset signal NANDrst of the preceding NAND gate 75. The NAND gate 76 sends a signal Sig3 indicating the result of the NAND operation to the AND gate 81M.
[0681] Fig. 49 is a waveform diagram showing various control signals supplied to the sense amplifier circuit SA in the memory device 1 of this embodiment. Fig. 49 also shows the change in resistance value of the memory cell MC over time.
[0682] The control signal LgcVrefL(L) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefL(L) changes from "H" level to "L" level at time t63. Time t63 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS1 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS2 becomes equal to or lower than the reference voltage VrefL.
[0683] The control signal LgcVrefL(M) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefL(M) changes from "H" level to "L" level at time t61. Time t61 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS0 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS1 becomes equal to or lower than the reference voltage VrefL. The signal level of the control signal LgcVrefL(M) changes from "L" level to "M" level at time t64. Time t64 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS2 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS3 becomes equal to or lower than the reference voltage VrefL.
[0684] The control signal LgcVrefL(U) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefL(U) changes from "H" level to "L" level at time t65. Time t65 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS3 becomes equal to or lower than the reference voltage VrefL and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS4 becomes equal to or lower than the reference voltage VrefL.
[0685] The control signal LgcVrefH(L) has a signal level of the "L" level at time t2. The signal level of the control signal LgcVrefH(L) changes from the "L" level to the "H" level at time t62. The time t62 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS4 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS5 becomes equal to or lower than the reference voltage VrefH. The signal level of the control signal LgcVrefH(L) changes from the "H" level to the "L" level at time t66. The time t66 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS6 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS7 becomes equal to or lower than the reference voltage VrefH.
[0686] The control signal LgcVrefH(M) has a signal level of "H" level at time t2. The signal level of the control signal LgcVrefL(U) changes from "H" level to "L" level at time t64. Time t64 is provided between the time when the bit line voltage VBL for the memory cell MC having the resistance state RS5 becomes equal to or lower than the reference voltage VrefH and the time when the bit line voltage VBL for the memory cell MC having the resistance state RS6 becomes equal to or lower than the reference voltage VrefH.
[0687] The control signal LgcVrefH(U) has a signal level of "L" level at time t2. The signal level of the control signal LgcVrefL(U) is maintained at "L" level during the period from time t2 to time t3.
[0688] The control signal ValidHigh has a signal level of "H" level at time t2. The signal level of the control signal ValidHigh changes from "H" level to "L" level at time t67. Time t67 is a time after time t66. Time t67 is provided between time t66 and the time at which the bit line voltage VBL for the memory cell MC having the resistance state RS7 becomes equal to or lower than the reference voltage VrefH.
[0689] (b) Operation An operation example of the memory device 1 of this embodiment will be described with reference to FIGS.
[0690] As in the above-described embodiment, the memory device 1 of this embodiment performs a read operation in response to a read command.
[0691] When a read operation is performed, the sequencer 180 sets the state of the sense amplifier circuit SA to an initial state.
[0692] The sequencer 180 sets the signal level of the Q node in each D-type flip-flop 85 serving as each latch circuit 85 of the data judgment circuit 147 of the sense amplifier circuit SA to an “L” level signal (“0” data) as an initial value, and sets the signal level of the / Q node to an “H” level signal (“1” data) as an initial value.
[0693] As in the above-described embodiment, the voltage sense circuit 141 obtains the sense signals VDOH and VDOL based on the result of sensing the bit line voltage VBL.
[0694] In the sense amplifier circuit SA, each determination circuit 147 executes a sensing operation for reading data based on various signals supplied thereto.
[0695] <Operation of the sense amplifier circuit SA> When the sensing operation starts, the voltage sense circuit 141 acquires the sense signals VDOH and VDOL. The inverted sense signals / VDOH and / VDOL are supplied to the circuits 147, 148, and 149 in the sense amplifier circuit SA, respectively.
[0696] The control circuit 148 operates as follows.
[0697] The NAND gate 70 receives an inverted signal / LgcVrefH(L) of the control signal LgcVrefH(L), a control signal LgcVrefH(M), an inverted signal / LgcVrefH(U) of the control signal LgcVrefH(U), and an inverted sense signal / VDOH.
[0698] The NAND gate 70 performs a NAND operation on the signals / LgcVrefH(L), LgcVrefH(M), / LgcVrefH(U), and / VDOH. The NAND gate 70 outputs a signal SigX indicating the result of the NAND operation.
[0699] As described above, in the initial state at the start of the sensing operation, the signal level of the control signal LgcVrefH(L) is set to the “L(0)” level, the signal level of the control signal LgcVrefH(M) is set to the “H(1)” level, and the signal level of the control signal LgcVrefH(U) is set to the “L(0)” level.
[0700] Therefore, during the period T1 from the start of the sensing operation to a certain time, a control signal / LgcVrefH(L) at an "H" level, a control signal LgcVrefH(M) at an "H" level, and a control signal / LgcVrefH(U) at an "H" level are supplied to the NAND gate 70.
[0701] In period T1, when the signal level of the inverted sense signal / VDOH is at the "H" level, the NAND gate 70 outputs the signal SigX at the "L" level. In period T1, when the signal level of the inverted sense signal / VDOH is at the "L" level, the NAND gate 70 outputs the signal SigX at the "H" level.
[0702] When the signal level of the signal SigX during the period T1 is the "L" level, the resistance state of the selected cell MC to be read is one of the relatively low resistance states RS0, RS1, RS2, and RS3. When the signal level of the signal SigX during the period T1 is the "H" level, the resistance state of the selected cell MC is one of the relatively high resistance states RS4, RS5, RS6, and RS7.
[0703] The NAND gate 71 receives a signal SigX and a control signal SigZ from a NAND gate 72. The NAND gate 72 performs a NAND operation on the signals SigX and SigZ. The NAND gate 72 outputs a signal SigY indicating the result of the NAND operation.
[0704] The NAND gate 72 receives the signal SigY and the reset signal NANDrst. The NAND gate 72 performs a NAND operation on the signal SigY and the signal NANDrst. The NAND gate 72 outputs a signal SigZ indicating the result of the NAND operation. For example, before the sense amplifier circuit SA starts to operate, a signal NANDrst at an "L" level is supplied to the NAND gate 72. At the timing when the sense amplifier circuit SA starts to operate (for example, at time t2), the signal level of the reset signal NANDrst is set to an "H" level.
[0705] The signal SigZ is supplied to each determination circuit 147 via a signal line 79. In an initial state at the start of a sensing operation, the initial state of the signal level of the signal SigZ is set to the “H” level by the reset signal NANDrst at the “L” level.
[0706] The control circuit 149 operates as follows.
[0707] The NAND gate 74 receives an inverted signal / LgcVrefL(M) of the control signal LgcVrefL(M) and an inverted signal / VDOL of the sense signal VDOL. The NAND gate 74 performs a NAND operation on the signals / LgcVrefL(M) and / VDOL. The NAND gate 74 outputs a signal Sig1 indicating the result of the NAND operation.
[0708] The NAND gate 75 receives the signal Sig1 and an output signal Sig3 from the NAND gate 76. The NAND gate 75 performs a NAND operation on the signals Sig1 and Sig3. The NAND gate 75 outputs a signal Sig2 indicating the result of the NAND operation.
[0709] The NAND gate 76 receives the signal Sig2 and the reset signal NANDrst. The NAND gate 76 performs a NAND operation on the signal SigY and the signal NANDrst. The NAND gate 76 outputs a signal Sig3 indicating the result of the NAND operation.
[0710] In an initial state at the start of a sense operation, the initial state of the signal level of the signal Sig3 is set to the "H" level by the reset signal NANDrst which is at the "L" level.
[0711] When the inverted sense signal / VDOL is set to the "H" level during a period in which the signal level of the control signal LgcVrefL(M) is at the "L" level, the control circuit 149 outputs the "L" level signal Sig3.
[0712] When the inverted sense signal / VDOL is set to the "H" level during a period in which the signal level of the control signal LgcVrefL(M) is at the "H" level, the control circuit 149 outputs the "H" level signal Sig3.
[0713] The lower bit determination circuit 147L receives the signal SigZ, the inverted sense signal / VDOH, the inverted sense signal / VDOL, the control signal LgcVrefH(L), the control signal LgcVrefL(L), and the control signal ValidHigh.
[0714] The AND gate 80L performs an AND operation on the signal SigZ, the inverted sense signal / VDOH, and the control signal LgcVrefH(L), and outputs a signal AL1 indicating the result of the AND operation to the OR gate 82L.
[0715] The AND gate 81L executes an AND operation on the control signal ValidHigh, the inverted sense signal / VDOL, and the control signal LgcVrefL(L), and outputs a signal AL2 indicating the result of the AND operation to the OR gate 82L.
[0716] The OR gate 82L executes an OR operation on the signals AL1 and AL2, and outputs a signal CLKLb indicating the result of the OR operation.
[0717] The lower bit latch circuit 85L of the D-type flip-flop 85L receives the signal CLKLb.
[0718] When the signal level of the signal CLKLb changes from the "L" level to the "H" level, the lower bit latch circuit (D-type flip-flop) 85L captures the "H" level signal CLKLb into the CLK node of the lower bit latch circuit (D-type flip-flop) 85L. In response to the capture of the signal CLKLb, the signal level of the Q node of the lower bit latch circuit (D-type flip-flop) 85L changes.
[0719] When the signal level of the signal CLKLb is at the "L" level, the lower bit latch circuit (D-type flip-flop) 85L does not input the "L" level signal CLKLb to the CLK node of the lower bit latch circuit (D-type flip-flop) 85L. When the signal CLKLb is not input to the CLK node, the signal level of the Q node of the lower bit latch circuit (D-type flip-flop) 85L is maintained.
[0720] As a result, the lower bit latch circuit (D-type flip-flop) 85L holds the lower bit of the 3-bit data stored in the memory cell MC.
[0721] The Middle bit determination circuit 147M receives the signal SigZ, the inverted sense signal / VDOH, the inverted sense signal / VDOL, the control signal LgcVrefH(M), the control signal LgcVrefL(M), and the control signal ValidHigh.
[0722] The AND gate 80M executes an AND operation on the signal SigZ, the inverted sense signal / VDOH, and the control signal LgcVrefH(M), and outputs a signal AM1 indicating the result of the AND operation to the OR gate 82M.
[0723] The AND gate 81M executes an AND operation on the control signal ValidHigh, the inverted sense signal / VDOL, the control signal LgcVrefL(M), and the signal Sig3, and outputs a signal AM2 indicating the result of the AND operation to the OR gate 82M.
[0724] The OR gate 82M executes an OR operation on the signals AM1 and AM2, and outputs a signal CLKMb indicating the result of the OR operation.
[0725] The Middle bit latch circuit 85M of the D-type flip-flop 85M receives the signal CLKMb.
[0726] When the signal level of the signal CLKMb changes from the "L" level to the "H" level, the middle bit latch circuit (D-type flip-flop) 85M captures the "H" level signal CLKMb into the CLK node of the middle bit latch circuit (D-type flip-flop) 85M. In response to the capture of the signal CLKMb, the signal level of the Q node of the middle bit latch circuit (D-type flip-flop) 85M changes.
[0727] When the signal level of the signal CLKMb is at the "L" level, the middle bit latch circuit (D-type flip-flop) 85M does not input the "L" level signal CLKMb to the CLK node of the middle bit latch circuit (D-type flip-flop) 85M. When the signal CLKMb is not input to the CLK node, the signal level of the Q node of the middle bit latch circuit (D-type flip-flop) 85M is maintained.
[0728] As a result, the middle bit latch circuit (D-type flip-flop) 85M holds the middle bit of the 3-bit data stored in the memory cell MC.
[0729] The upper bit determination circuit 147U receives the signal SigZ, the inverted sense signal / VDOH, the inverted sense signal / VDOL, the control signal LgcVrefH(U), the control signal LgcVrefL(U), and the control signal ValidHigh.
[0730] The AND gate 80U performs an AND operation on the signal SigZ, the inverted sense signal / VDOH, and the control signal LgcVrefH(U), and outputs a signal AU1 indicating the result of the AND operation to the OR gate 82U.
[0731] The AND gate 81U executes an AND operation on the control signal ValidHigh, the inverted sense signal / VDOL, and the control signal LgcVrefL(U), and outputs a signal AU2 indicating the result of the AND operation to the OR gate 82U.
[0732] The OR gate 82U executes an OR operation on the signals AU1 and AU2, and outputs a signal CLKUb indicating the result of the OR operation.
[0733] The upper bit latch circuit 85U of the D-type flip-flop 85U receives the signal CLKUb.
[0734] When the signal level of the signal CLKUb changes from "L" level to "H" level, the Upper bit latch circuit (D-type flip-flop) 85U captures the "H" level signal CLKUb into the CLK node of the Upper bit latch circuit (D-type flip-flop) 85U. In response to the capture of the signal CLKUb, the signal level of the Q node of the Upper bit latch circuit (D-type flip-flop) 85U changes.
[0735] When the signal level of the signal CLKUb is at the "L" level, the Upper bit latch circuit (D-type flip-flop) 85U does not capture the "L" level signal CLKUb into the CLK node of the Upper bit latch circuit (D-type flip-flop) 85U. When the signal CLKUb is not captured into the CLK node, the signal level of the Q node of the Upper bit latch circuit (D-type flip-flop) 85U is maintained.
[0736] As a result, the upper bit latch circuit (D-type flip-flop) 85U holds the upper bit of the 3-bit data stored in the memory cell MC.
[0737] <Reading "101" data> 50 to 58, the operation of the sense amplifier circuit SA when the memory cell (selected cell) MC stores data "101" will be described. When the memory cell MC stores data "101", the memory cell MC has the resistance state RS1.
[0738] 50 shows a timing chart of the operation of the sense amplifier circuit SA when reading data "101" in the memory device 1 of this embodiment. In Fig. 20, the horizontal axis corresponds to time, and the vertical axis corresponds to the bit line voltage VBL and the signal levels of each control signal.
[0739] Each of FIGS. 51 to 58 is a schematic diagram showing the state of the signal levels of various signals supplied to the sense amplifier circuit SA at a certain time in the memory device 1 of this embodiment.
[0740] (time t2) 50, at the start of a sense operation, the signal level (electric potential) of the signal line 79 is initially set to the “H” level. As a result, the “H” level signal SigZ is supplied to the AND gate 80 of each determination circuit 147 in the initial state.
[0741] At time t2, the bit line voltage VBL is set to a voltage Vread which is higher than the reference voltages VrefH and VrefL. The operational amplifier 41 outputs a sense signal VDOH of an "H" level. The operational amplifier 42 outputs a sense signal VDOL of an "H" level.
[0742] In the control circuit 148, the NAND gate 70 receives the inverted sense signal / VDOH at the "L" level. Therefore, the NAND gate 70 sends the signal SigX at the "H" level to the NAND gate 70.
[0743] The NAND gate 71 sends a signal SigY of "L" level to the NAND gate 72 based on the result of the NAND operation of the signal SigX of "H" level and the signal SigZ of "H" level.
[0744] The NAND gate 72 sends a high-level signal SigZ to each decision circuit 147 via a signal line 79 based on the result of the NAND operation of the low-level signal SigY and the high-level reset signal NANDrst.
[0745] The control signal ValidHigh has a signal level of "H" level.
[0746] In period T1 until the bit line voltage VBL for the memory cell MC in resistance state RS4 becomes lower than the reference voltage VrefH, the control signal LgcVrefH(L) has a signal level of "L" level. In period T1, the control signal LgcVrefH(M) has a signal level of "H" level. In period T1, the control signal LgcVrefH(U) has a signal level of "L" level.
[0747] In the control circuit 149, the NAND gate 74 receives the inverted sense signal / VDOL at the "L" level. Therefore, the NAND gate 74 sends the signal Sig1 at the "H" level to the NAND gate 75.
[0748] The NAND gate 75 sends a signal Sig2 at a "L" level to the NAND gate 76 based on the result of the NAND operation of the signal Sig1 at a "H" level and the signal Sig3 at a "H" level.
[0749] The NAND gate 72 sends a "H" level signal Sig3 to the AND gate 81M of the Middle bit determination circuit 147M based on the result of the NAND operation of the "L" level signal Sig2 and the "H" level reset signal NANDrst.
[0750] (time tx1) 50 and 51, at time tx1 in period T1, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH. The operational amplifier 41 outputs a sense signal VDOH of an “L” level. As a result, an inverted sense signal / VDOH of an “H” level is supplied to each determination circuit 147 and control circuit 148.
[0751] The NAND gate 70 receives the inverted sense signal / VDOL of "H" level, the inverted signal / LgcVrefH(L) of "H" level, the control signal LgcVrefH(M) of "H" level, and the inverted signal / LgcVrefH(U) of "H" level. The NAND gate 70 sends the signal SigX of "L" level to the NAND gate 71 by NANDing the four received "H" level signals.
[0752] The NAND gate 71 sends a high-level signal SigY to the NAND gate 72 by performing a NAND operation on the low-level signal SigX and the high-level signal SigZ.
[0753] The NAND gate 72 receives the signal SigY at "H" level and the signal NANDrst at "H" level. The NAND gate 72 performs a NAND operation on the two signals SigY and NANDrst at "H" level. As a result, the NAND gate 72 sends the signal SigZ at "L" level to the signal line 79.
[0754] The signal level of the signal line 79 changes from "H" level to "L" level.
[0755] At time tx1, the inverted sense signal / VDOL is at the “L” level, so the signal Sig3 output from the control circuit 149 is maintained at the “H” level.
[0756] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0757] The AND gate 80L receives the control signal SigZ at the "L" level, the inverted sense signal / VDOH at the "H" level, and the control signal LgcVrefH(L). At time tx1, the signal level of the control signal LgcVrefH(L) is at the "L" level. The AND gate 80L sends a signal AL1 at the "L" level to the OR gate 82L based on the result of the AND operation of the three signals SigZ, / VDOH, and LgcVrefH(L).
[0758] The AND gate 81L receives a high-level control signal ValidHigh, a low-level inverted sense signal / VDOL, and a high-level control signal LgcVrefL(L). The AND gate 81L sends a low-level signal AL2 to the OR gate 82L based on the result of an AND operation of the three signals ValidHigh, / VDOL, and LgcVrefL(L).
[0759] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2.
[0760] The lower bit latch circuit (D-type flip-flop) 85L does not capture the "L" level signal CLKLb at the CLK node of the lower bit latch circuit (D-type flip-flop) 85L. Therefore, the state of the lower bit latch circuit (D-type flip-flop) 85L is maintained in the initial state. The lower bit latch circuit (D-type flip-flop) 85L related to the lower bit holds an "L" level signal ("0" data) at the Q node.
[0761] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0762] The AND gate 80M receives the signal SigZ at the "L" level, the inverted sense signal / VDOH at the "H" level, and the control signal LgcVrefH(M). At time tx1, the signal level of the control signal LgcVrefH(M) is at the "H" level. Based on the result of the AND operation of the three signals SigZ, / VDOH, and LgcVrefH(M), the AND gate 80M sends a signal AM1 at the "L" level to the OR gate 82M.
[0763] The AND gate 81M receives the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, the "H" control signal LgcVrefL(M), and the "H" level signal Sig3. The AND gate 81 sends the "L" level signal AM2 to the OR gate 82M based on the result of the AND operation of the four signals ValidHigh, / VDOL, LgcVrefL(M), and Sig3.
[0764] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0765] The middle bit latch circuit (D-type flip-flop) 85M does not capture the "L" level signal CLKMb at the CLK node of the middle bit latch circuit (D-type flip-flop) 85M. Therefore, the state of the middle bit latch circuit (D-type flip-flop) 85M is maintained in the initial state. The middle bit latch circuit (D-type flip-flop) 85M related to the middle bit holds the "L" level signal at the Q node.
[0766] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0767] The AND gate 80U receives the signal SigZ at the "L" level, the inverted sense signal / VDOH at the "H" level, and the control signal LgcVrefH(U). At time tx1, the signal level of the control signal LgcVrefH(U) is at the "L" level. Based on the result of the AND operation of the three signals SigZ, / VDOH, and LgcVrefH(U), the AND gate 80U sends a signal AU1 at the "L" level to the OR gate 82U.
[0768] The AND gate 81U receives the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, and the control signal LgcVrefL(U) at a high level. The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the three signals ValidHigh, / VDOL, and LgcVrefL(U).
[0769] The OR gate 82U sends a low-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the low-level signal AU2.
[0770] The upper bit latch circuit (D-type flip-flop) 85U does not capture the "L" level signal CLKUb at the CLK node of the upper bit latch circuit (D-type flip-flop) 85U. Therefore, the state of the upper bit latch circuit (D-type flip-flop) 85U is maintained in the initial state. The upper bit latch circuit (D-type flip-flop) 85U for the upper bit holds the "L" level signal at the Q node.
[0771] In this way, when the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH at time tx1 in the period T1, the data retention states of the latch circuits (D-type flip-flops) 85L, 85M, and 85U are maintained in the initial state.
[0772] (time t61) As shown in FIG. 50, at time t61, the sequencer 180 changes the signal level of the control signal LgcVrefL(M) from "H" level to "L" level.
[0773] At time t61, the bit line voltage VBL is higher than the reference voltage VrefL and equal to or lower than the reference voltage VrefH. The operational amplifier 41 outputs a sense signal VDOH of the "L" level. The operational amplifier 42 outputs a sense signal VDOL of the "H" level.
[0774] At time t61, the control signal LgcVrefH(L) has a signal level of "L" level. At time t61, the control signal LgcVrefH(M) has a signal level of "H" level. At time t61, the control signal LgcVrefH(U) has a signal level of "L" level.
[0775] In the control circuit 148, the NAND gate 70 outputs a signal SigX of the "H" level.
[0776] The NAND gate 71 outputs a high-level signal SigY based on the result of a NAND operation of a high-level signal SigX and a low-level signal SigZ.
[0777] The NAND gate 71 receives the signal SigY at the “H” level and the reset signal NANDrst at the “H” level. Therefore, the NAND gate 72 outputs the signal SigZ at the “L” level to the signal line 79, similarly to the time tx1.
[0778] Each determination circuit 147 receives the signal SigZ at the "L" level.
[0779] The control circuit 149 receives the inverted sense signal / VDOL at the "L" level. Therefore, similarly to the time tx1, the control circuit 149 sends the signal Sig3 at the "H" level to the AND gate 81M.
[0780] As shown in FIG. 52, in the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0781] The AND gate 80L performs an AND operation on the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a low level. The AND gate 80L outputs a signal AL1 at a low level based on the result of the AND operation on the three signals SigZ, / VDOH, and LgcVrefH(L).
[0782] The AND gate 81L performs an AND operation on the “H” level control signal ValidHigh, the “L” level inverted sense signal / VDOL, and the “H” level control signal LgcVrefL(L). The AND gate 81L outputs a “L” level signal AL2 based on the result of the AND operation on the three signals ValidHigh, / VDOL, and LgcVrefL(L).
[0783] The OR gate 82L outputs a low-level signal CLKLb based on the result of an OR operation of the low-level signal AL1 and the low-level signal AL2. The signal level of the signal CLKLb is maintained at the low level.
[0784] The lower bit latch circuit (D-type flip-flop) 85L maintains the initial state (a "0" data holding state) without receiving the "L" level signal CLKLb at the CLK node.
[0785] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0786] The AND gate 80M performs an AND operation on the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a high level. The AND gate 80M outputs a signal AM1 at a low level based on the result of the AND operation on the received signals.
[0787] The AND gate 81M performs an AND operation on the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, the control signal LgcVrefL(M) at a low level, and the signal Sig3 at a high level. The AND gate 81M outputs a signal AM2 at a low level based on the result of the AND operation on the received signals.
[0788] The OR gate 82M outputs a signal CLKMb at a low level based on the result of an OR operation of the signal AM1 at a low level and the signal AM2 at a low level. The signal level of the signal CLKMb is maintained at a low level.
[0789] The middle bit latch circuit (D-type flip-flop) 85M maintains the initial state (a "0" data holding state) without receiving the "L" level signal CLKMb at the CLK node.
[0790] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0791] The AND gate 80U performs an AND operation on the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(U) at a low level. The AND gate 80U outputs a signal AU1 at a low level based on the result of the AND operation on the three signals SigZ, / VDOH, and LgcVrefH(U).
[0792] The AND gate 81U performs an AND operation on the “H” level control signal ValidHigh, the “L” level inverted sense signal / VDOL, and the “H” level control signal LgcVrefL(U). The AND gate 81U outputs a “L” level signal AU2 based on the result of the AND operation on the three signals ValidHigh, / VDOL, and LgcVrefL(U).
[0793] The OR gate 82U outputs a low-level signal CLKUb based on the result of an OR operation of the low-level signal AL1 and the low-level signal AL2. The signal level of the signal CLKUb is maintained at the low level.
[0794] The upper bit latch circuit (D-type flip-flop) 85U maintains the initial state (a "0" data holding state) without receiving the "L" level signal CLKUb at the CLK node.
[0795] (time tx2) 50, at time tx2, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefL. The operational amplifier 42 outputs a sense signal VDOL at the "L" level.
[0796] As a result, as shown in FIG. 53, the inverted sense signal / VDOL of the "H" level and the inverted sense signal / VDOH of the "H" level are supplied to each of the determination circuit 147 and the control circuits 148 and 149.
[0797] In the control circuit 149, the NAND gate 74 receives the inverted sense signal / VDOL at the "H" level. At this time, the signal level of the control signal LgcVrefL(M) is set to the "L" level.
[0798] Therefore, the NAND gate 74 receives the inverted sense signal / VDOL at the "H" level and the control signal (inverted signal) / LgcVrefL(M) at the "H" level. This causes the NAND gate 74 to send a signal Sig1 at the "L" level to the NAND gate 75 based on the result of the NAND operation of the two signals / VDOL and / LgcVrefL(M).
[0799] The NAND gate 75 sends a high-level signal Sig2 to the NAND gate 76 based on the result of the NAND operation of the low-level signal Sig1 and the high-level signal Sig3.
[0800] The NAND gate 76 sends a "L" level signal Sig3 to the AND gate 81M of the Middle bit determination circuit 147M based on the result of the NAND operation of the "H" level signal Sig2 and the "H" level reset signal NANDrst.
[0801] The control circuit 148 outputs the signal SigZ at the "L" level.
[0802] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0803] The AND gate 80L performs an AND operation on the signal SigZ at the “L” level, the inverted sense signal / VDOH at the “H” level, and the control signal LgcVrefH(L) at the “L” level. As a result, the AND gate 80L outputs the signal AL1 at the “L” level.
[0804] The AND gate 81L receives a high-level control signal ValidHigh, a high-level inverted sense signal / VDOL, and a high-level control signal LgcVrefL(L). The AND gate 81L performs an AND operation on the three high-level signals ValidHigh, / VDOL, and LgcVrefL(L). As a result, the AND gate 81L outputs a high-level signal AL2.
[0805] The OR gate 82L performs an OR operation on the "L" level signal AL1 and the "H" level signal AL2. As a result, the OR gate 82L outputs the "H" level signal CLKLb. The signal level of the signal CLKLb output from the OR gate 82L changes from the "L" level to the "H" level.
[0806] In response to a change in signal CLKLb from "L" level to "H" level, the lower bit latch circuit (D-type flip-flop) 85L captures the "H" level signal CLKLb at the CLK node of the lower bit latch circuit (D-type flip-flop) 85L.
[0807] As a result, the lower bit latch circuit (D-type flip-flop) 85L captures an "H" level signal at the D node of the lower bit latch circuit (D-type flip-flop) 85L. As a result, in the lower bit latch circuit (D-type flip-flop) 85L, the signal level at the Q node of the lower bit latch circuit (D-type flip-flop) 85L changes from "L" level to "H" level. The lower bit latch circuit (D-type flip-flop) 85L holds an "H" level signal ("1" data) at the Q node.
[0808] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0809] The AND gate 80M performs an AND operation on the signal SigZ at the “L” level, the inverted sense signal / VDOH at the “H” level, and the control signal LgcVrefH(M) at the “H” level. As a result, the AND gate 80M outputs the signal AM1 at the “L” level.
[0810] The AND gate 81M performs an AND operation on the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a high level, the control signal LgcVrefL(M) at a low level, and the signal Sig3 at a low level. The AND gate 81M outputs a signal AM2 at a low level based on the result of the AND operation on the four signals ValidHigh, / VDOL, LgcVrefL(M), and Sig3.
[0811] The OR gate 82M performs an OR operation on the "L" level signal AM1 and the "L" level signal AM2. As a result, the OR gate 82M outputs the "L" level signal CLKMb. The signal level of the signal CLKMb is maintained at the "L" level.
[0812] The middle bit latch circuit (D-type flip-flop) 85M maintains the "0" data holding state without receiving the "L" level signal CLKMb at the CLK node.
[0813] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0814] The AND gate 80U performs an AND operation on the signal SigZ at the “L” level, the inverted sense signal / VDOH at the “H” level, and the control signal LgcVrefH(U) at the “L” level. As a result, the AND gate 80U outputs the signal AU1 at the “L” level.
[0815] The AND gate 81U receives a high-level control signal ValidHigh, a high-level inverted sense signal / VDOL, and a high-level control signal LgcVrefL(U). The AND gate 81U executes an AND operation on the three high-level signals ValidHigh, / VDOL, and LgcVrefL(U). As a result, the AND gate 81U outputs a high-level signal AU2.
[0816] The OR gate 82U performs an OR operation on the "L" level signal AU1 and the "H" level signal AU2. As a result, the OR gate 82U outputs the "H" level signal CLKUb. The signal level of the signal CLKUb output from the OR gate 82U changes from the "L" level to the "H" level.
[0817] The upper bit latch circuit (D-type flip-flop) 85U captures the "H" level signal CLKUb at the CLK node of the upper bit latch circuit (D-type flip-flop) 85U in response to a change of the signal CLKUb from the "L" level to the "H" level.
[0818] As a result, upper bit latch circuit (D-type flip-flop) 85U captures an "H" level signal at the D node of upper bit latch circuit (D-type flip-flop) 85U. As a result, in upper bit latch circuit (D-type flip-flop) 85U, the signal level at the Q node of upper bit latch circuit (D-type flip-flop) 85U changes from "L" level to "H" level. Upper bit latch circuit (D-type flip-flop) 85U holds an "H" level signal at the Q node.
[0819] As a result, at time tx2, each latch circuit (D-type flip-flop) 85L, 85M, 85U holds data as follows: The lower bit latch circuit (D-type flip-flop) 85L holds "1" data. The middle bit latch circuit (D-type flip-flop) 85M holds "0" data. The upper bit latch circuit (D-type flip-flop) 85U holds "1" data.
[0820] In this way, at the timing (time tx2) when the bit line voltage VBL becomes equal to or lower than the low potential side reference voltage VrefL, the 3-bit data represented by the three latch circuits (D-type flip-flops) 85L, 85M, and 85U becomes “101” data.
[0821] (time t62) 50 and 54, at time t62, the sequencer 180 changes the signal level of the control signal LgcVrefH(L) from the "L" level to the "H" level. Accordingly, the signal level of the control signal / LgcVrefH(L) changes to the "L" level.
[0822] In the control circuit 148, a NAND gate 70 receives an inverted sense signal / VDOH at a "H" level, a signal / LgcVrefH(L) at a "L" level, a signal LgcVrefH(M) at a "H" level, and a signal / LgcVrefH(U) at a "H" level. The NAND gate 70 performs a NAND operation on the four signals / VDOH, / LgcVrefH(L), LgcVrefH(M), and / LgcVrefH(U). As a result, the signal level of the signal SigX output from the NAND gate 70 changes from a "L" level to a "H" level.
[0823] The NAND gate 71 outputs a high-level signal SigY based on the result of a NAND operation of a high-level signal SigX and a low-level signal SigZ.
[0824] The NAND gate 72 outputs a control signal SigZ at a "L" level based on the result of the NAND operation of the "H" level signal SigY and the "H" level signal NANDrst.
[0825] Incidentally, the control circuit 149 outputs the signal Sig3 at the "L" level.
[0826] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0827] The AND gate 80L receives the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a high level. The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the three signals SigZ, / VDOH, and LgcVrefH(L).
[0828] The AND gate 81L sends a high-level signal AL2 to the OR gate 82L based on the result of an AND operation of the high-level control signal ValidHigh, the high-level inverted sense signal / VDOL, and the high-level control signal LgcVrefL(L).
[0829] The OR gate 82L sends a high-level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the low-level signal AL1 and the high-level signal AL2.
[0830] The lower bit latch circuit (D-type flip-flop) 85L maintains the data holding state without fetching the maintained "H" level signal CLKLb into the CLK node of the lower bit latch circuit (D-type flip-flop) 85L. Therefore, the lower bit latch circuit (D-type flip-flop) 85L holds the "H" level signal in the Q node of the lower bit latch circuit (D-type flip-flop) 85L.
[0831] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0832] The AND gate 80M sends a signal AM1 of a low level to the OR gate 82M by ANDing the control signal SigZ of a low level, the inverted sense signal / VDOH of a high level, and the control signal LgcVrefH(M) of a high level.
[0833] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, the "L" level control signal LgcVrefL(M), and the "L" level signal Sig3.
[0834] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0835] The middle bit latch circuit (D-type flip-flop) 85M maintains the "0" data holding state at the Q node of the middle bit latch circuit (D-type flip-flop) 85M without receiving the "L" level signal CLKMb.
[0836] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0837] The AND gate 80U sends a signal AU1 of a "L" level to the OR gate 82U by ANDing the control signal SigZ of a "H" level, the inverted sense signal / VDOH of a "H" level, and the control signal LgcVrefH(U) of a "L" level.
[0838] The AND gate 81U sends a high-level signal AU2 to the OR gate 82U by ANDing the high-level control signal ValidHigh, the high-level inverted sense signal / VDOL, and the high-level control signal LgcVrefL(U).
[0839] The OR gate 82U sends a high-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the high-level signal AU2.
[0840] The upper bit latch circuit (D-type flip-flop) 85U maintains the data holding state without fetching the maintained "H" level signal CLKUb into the CLK node of the upper bit latch circuit (D-type flip-flop) 85U. Therefore, the upper bit latch circuit (D-type flip-flop) 85U holds the "H" level signal in the Q node of the upper bit latch circuit (D-type flip-flop) 85U.
[0841] (time t63) As shown in FIGS. 50 and 55, at time t63, the sequencer 180 changes the signal level of the control signal LgcVrefL(L) from the "H" level to the "L" level.
[0842] The control circuit 148 outputs the signal SigZ at the "L" level.
[0843] The control circuit 149 outputs a signal Sig3 at an "L" level.
[0844] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0845] The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a high level.
[0846] The AND gate 81L receives the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, and the "L" level control signal LgcVrefL(L). The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of the AND operation of the three signals ValidHigh, / VDOL, and LgcVrefL(L). In this way, the signal level of the signal output from the AND gate 81L changes from "H" level to "L" level.
[0847] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2. In this way, the signal level of the signal CLKLb changes from "H" level to "L" level.
[0848] The lower bit latch circuit (D-type flip-flop) 85L maintains the state in which an “H” level signal is held at the Q node of the lower bit latch circuit (D-type flip-flop) 85L without incorporating the shifted “L” level signal CLKLb.
[0849] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0850] The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a high level.
[0851] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, the "L" level control signal LgcVrefL(M), and the "L" level signal Sig3.
[0852] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0853] The middle bit latch circuit (D-type flip-flop) 85M maintains a state in which a "L" level signal is held at the Q node of the middle bit latch circuit (D-type flip-flop) 85M without taking in the "L" level signal CLKMb.
[0854] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0855] The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(U) at a low level.
[0856] The AND gate 81U sends a high-level signal AU2 to the OR gate 82U based on the result of an AND operation of the high-level control signal ValidHigh, the high-level inverted sense signal / VDOL, and the high-level control signal LgcVrefL(U).
[0857] The OR gate 82U sends a high-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the high-level signal AU2.
[0858] The upper bit latch circuit (D-type flip-flop) 85U maintains the state in which an “H” level signal is held at the Q node of the upper bit latch circuit (D-type flip-flop) 85U without incorporating the maintained “H” level signal CLKUb into the CLK node of the upper bit latch circuit (D-type flip-flop) 85U.
[0859] (time t64) 50 and 56, at time t64, the sequencer 180 changes the signal levels of the control signal LgcVrefH(M) and the control signal LgcVrefL(M). The sequencer 180 changes the signal level of the control signal LgcVrefH(M) from the "H" level to the "L" level. The sequencer 180 changes the signal level of the control signal LgcVrefL(M) from the "L" level to the "H" level.
[0860] Accordingly, in the control circuit 148, the NAND gate 70 receives the inverted sense signal / VDOH at the "H" level, the signal / LgcVrefH(L) at the "L" level, the signal LgcVrefH(M) at the "L" level, and the signal / LgcVrefH(U) at the "H" level. The NAND gate 70 executes a NAND operation of the four signals / VDOH, / LgcVrefH(L), LgcVrefH(M), and / LgcVrefH(U). As a result, the NAND gate 70 sends the signal SigX at the "H" level to the NAND gate 71.
[0861] The NAND gate 71 sends a high-level signal SigY to the NAND gate 72 based on the result of the NAND operation of the high-level signal SigX and the low-level signal SigZ.
[0862] The NAND gate 72 outputs a signal SigZ at a "L" level based on the result of a NAND operation of the signal SigY at a "H" level and the reset signal NANDrst at a "H" level.
[0863] In the control circuit 149, a NAND gate 74 receives an inverted sense signal / VDOL at an “H” level and a signal / LgcVrefL(M) at an “L” level. The NAND gate 74 sends a signal Sig1 at an “H” level to a NAND gate 75 based on the result of a NAND operation of the two signals / VDOL and / LgcVrefL(M).
[0864] The NAND gate 75 sends a signal Sig2 of "H" level to itself based on the result of the NAND operation of the signal Sig1 of "H" level and the signal Sig3 of "L" level.
[0865] The NAND gate 76 outputs a signal Sig3 at a "L" level based on the result of the NAND operation of the signal Sig2 at a "H" level and the reset signal NANDrst at a "H" level.
[0866] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0867] The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a high level.
[0868] The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, and the "L" level control signal LgcVrefL(L).
[0869] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2. The signal level of the signal CLKLb is maintained at the "L" level.
[0870] The lower bit latch circuit (D-type flip-flop) 85L maintains the holding state of the "H" level signal at the Q node of the lower bit latch circuit (D-type flip-flop) 85L without taking in the "L" level signal CLKLb.
[0871] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0872] The AND gate 80M receives the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a low level. The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the signals SigZ, / VDOH, and LgcVrefH(M).
[0873] The AND gate 81M receives the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, the "H" level control signal LgcVrefL(M), and the "L" level signal Sig3. The AND gate 81M executes an AND operation on the four signals ValidHigh, / VDOL, LgcVrefL(M), and Sig3. As a result, the AND gate 81M sends the "L" level signal AM2 to the OR gate 82M.
[0874] The OR gate 82M sends a signal CLKMb of a "L" level to a middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the signal AM1 of a "L" level and the signal AM2 of a "L" level. The signal level of the signal CLKMb is maintained at a "L" level.
[0875] In response to the signal CLKMb being maintained at the "L" level, the middle bit latch circuit (D-type flip-flop) 85M does not capture the signal CLKMb at the "L" level at the CLK node of the middle bit latch circuit (D-type flip-flop) 85M. As a result, the middle bit latch circuit (D-type flip-flop) 85M does not capture a signal at the D node of the middle bit latch circuit (D-type flip-flop) 85M.
[0876] As a result, the middle bit latch circuit (D-type flip-flop) 85M holds an "L" level signal ("0" data) at the Q node of the middle bit latch circuit (D-type flip-flop) 85M.
[0877] In this way, when the signal level of the sense signal VDOL changes to the "L" level within the period in which the signal level of the control signal LgcVrefL(M) is set to the "L" level, even if the signal level of the control signal LgcVrefL(M) changes from the "L" level to the "H" level, the data held in the latch circuit (D-type flip-flop) 85M is maintained as "0" data by the "L" level signal Sig3.
[0878] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0879] The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(U) at a low level.
[0880] The AND gate 81U sends a high-level signal AU2 to the OR gate 82U based on the result of an AND operation of the high-level control signal ValidHigh, the high-level inverted sense signal / VDOL, and the high-level control signal LgcVrefL(U).
[0881] The OR gate 82U sends a high-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the high-level signal AU2.
[0882] The upper bit latch circuit (D-type flip-flop) 85U continues to hold the "H" level signal at the Q node of the upper bit latch circuit (D-type flip-flop) 85U due to the signal CLKUb being maintained at the "H" level.
[0883] (time t65) As shown in FIGS. 50 and 57, at time t65, the sequencer 180 changes the signal level of the control signal LgcVrefL(U) from "H" level to "L" level.
[0884] The control circuit 148 outputs the signal SigZ at the "L" level.
[0885] The control circuit 149 outputs a signal Sig3 at an "L" level.
[0886] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0887] The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a high level.
[0888] The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, and the "L" level control signal LgcVrefL(L).
[0889] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2.
[0890] The lower bit latch circuit (D-type flip-flop) 85L maintains the state of holding the "H" level signal at the Q node of the lower bit latch circuit (D-type flip-flop) 85L due to the signal CLKLb being maintained at the "L" level.
[0891] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0892] The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a low level.
[0893] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, the "H" level control signal LgcVrefL(M), and the "L" level signal Sig3.
[0894] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0895] The middle bit latch circuit (D-type flip-flop) 85M maintains the holding state of the "L" level signal at the Q node of the middle bit latch circuit (D-type flip-flop) 85M due to the signal CLKMb being maintained at the "L" level.
[0896] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0897] The AND gate 80U sends a signal AU1 of a low level to the OR gate 82U based on the result of an AND operation of the signal SigZ of a high level, the inverted sense signal / VDOH of a high level, and the control signal LgcVrefH(U) of a low level.
[0898] The AND gate 81U receives the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a high level, and the control signal LgcVrefL(U) at a low level. The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the three signals ValidHigh, / VDOL, and LgcVrefL(U).
[0899] The OR gate 82U sends a low-level signal CLKUb to the upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the low-level signal AU2. The signal level of the signal CLKUb changes from high to low.
[0900] The upper bit latch circuit (D-type flip-flop) 85U maintains the holding state of the "H" level signal at the Q node of the upper bit latch circuit (D-type flip-flop) 85U by the "L" level signal CLKUb.
[0901] (time t66) 50 and 58, at time t66, the sequencer 180 changes the signal level of the control signal LgcVrefH(L) from "H" level to "L" level. Accordingly, the signal level of the signal / LgcVrefH(L) changes from "L" level to "H" level.
[0902] In the control circuit 148, a NAND gate 70 receives an inverted sense signal / VDOH at a high level, a signal / LgcVrefH(L) at a high level, a signal LgcVrefH(M) at a low level, and a signal / LgcVrefH(U) at a high level. The NAND gate 70 outputs a signal SigX at a high level based on the result of a NAND operation on the four signals / VDOH, / LgcVrefH(L), LgcVrefH(M), and / LgcVrefH(U).
[0903] The NAND gate 71 outputs a high-level signal SigY based on the result of a NAND operation of a high-level signal SigX and a low-level signal SigZ.
[0904] The NAND gate 72 outputs a control signal SigZ at a "L" level based on the result of the NAND operation of the "H" level signal SigY and the "H" level signal NANDrst.
[0905] The control circuit 149 outputs a signal Sig3 at an "L" level.
[0906] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0907] The AND gate 80L receives the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a low level. The AND gate 80L outputs a signal AL1 at a low level based on the result of an AND operation of the three signals SigZ, / VDOH, and LgcVrefH(L).
[0908] The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, and the "L" level control signal LgcVrefL(L).
[0909] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2.
[0910] The lower bit latch circuit (D-type flip-flop) 85L maintains the state of holding the "H" level signal at the Q node of the lower bit latch circuit (D-type flip-flop) 85L due to the signal CLKLb being maintained at the "L" level.
[0911] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0912] The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a low level.
[0913] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "H" level inverted sense signal / VDOL, the "H" level control signal LgcVrefL(M), and the "L" level signal Sig3.
[0914] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0915] The middle bit latch circuit (D-type flip-flop) 85M maintains the holding state of the "L" level signal at the Q node of the middle bit latch circuit (D-type flip-flop) 85M due to the signal CLKMb being maintained at the "L" level.
[0916] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0917] The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(U) at a low level.
[0918] The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a high level, and the control signal LgcVrefL(U) at a low level.
[0919] The OR gate 82U sends a low-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the low-level signal AU2.
[0920] The upper bit latch circuit (D-type flip-flop) 85U maintains the holding state of the "H" level signal at the Q node of the upper bit latch circuit (D-type flip-flop) 85U due to the signal CLKUb being maintained at the "L" level.
[0921] (time t67) As shown in FIGS. 50 and 58, at time t67, the sequencer 180 changes the signal level of the control signal ValidHigh from the "H" level to the "L" level.
[0922] The control circuit 148 outputs the signal SigZ at the "L" level.
[0923] The control circuit 149 outputs a signal Sig3 at an "L" level.
[0924] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0925] The AND gate 80L receives the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(L) at a low level. The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the three signals SigZ, / VDOH, and LgcVrefH(L).
[0926] The AND gate 81L receives a low-level control signal ValidHigh, an high-level inverted sense signal / VDOL, and a low-level control signal LgcVrefL(L). The AND gate 81L sends a low-level signal AL2 to the OR gate 82L based on the result of an AND operation of the three signals ValidHigh, / VDOL, and LgcVrefL(L).
[0927] The OR gate 82L outputs a low-level signal CLKLb based on the result of an OR operation of the low-level signal AL1 and the low-level signal AL2.
[0928] Therefore, the lower bit latch circuit (D-type flip-flop) 85L maintains the “H” level signal held at the Q node of the lower bit latch circuit (D-type flip-flop) 85L based on the maintained “L” level signal CLKLb.
[0929] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0930] The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the control signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a low level.
[0931] The AND gate 81M receives the control signal ValidHigh at a low level, the inverted sense signal / VDOL at a high level, the control signal LgcVrefL(M) at a high level, and the signal Sig3 at a low level. The AND gate 81M outputs a signal AM2 at a low level based on the result of an AND operation of the four signals ValidHigh, / VDOL, LgcVrefL(M), and Sig3.
[0932] The OR gate 82 outputs a signal CLKMb at a low level based on the result of an OR operation on the signal AM1 at a low level and the signal AM2 at a low level.
[0933] Therefore, the middle bit latch circuit (D-type flip-flop) 85M maintains the signal at the “L” level held at the Q node of the middle bit latch circuit (D-type flip-flop) 85M based on the signal CLKMb maintained at the “L” level.
[0934] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0935] The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the signal SigZ at a low level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(U) at a low level.
[0936] The AND gate 81U receives the control signal ValidHigh at a low level, the inverted sense signal / VDOL at a high level, and the control signal LgcVrefL(U) at a low level. The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the three signals ValidHigh, / VDOL, and LgcVrefL(U).
[0937] The OR gate 82U outputs a signal CLKUb at a low level based on the result of an OR operation on the signal AU1 at a low level and the signal AU2 at a low level.
[0938] Therefore, the upper bit latch circuit (D-type flip-flop) 85U maintains the “H” level signal held at the Q node of the upper bit latch circuit (D-type flip-flop) 85U based on the signal CLKUb maintained at the “L” level.
[0939] In this way, when the selected cell MC stores data "101", even if the signal level of the control signal ValidHigh changes, the data held in each latch circuit (D-type flip-flop) 85 does not change.
[0940] At time t3, the sense amplifier circuit SA finishes the sensing operation.
[0941] At time t3, the data holding states of each latch circuit (D-type flip-flop) 85L, 85M, 85U are as follows: Upper bit latch circuit (D-type flip-flop) 85U stores "1" data. Middle bit latch circuit (D-type flip-flop) 85M stores "0" data. Lower bit latch circuit (D-type flip-flop) 85L stores "1" data. As a result, the 3-bit data represented by the three latch circuits (D-type flip-flops) 85 is "101" data.
[0942] The sense amplifier circuit SA sends the data of each latch circuit (D-type flip-flop) 85 to the data register 150. In this manner, the “101” data is transferred from the sense amplifier circuit SA to the data register 150.
[0943] As described above, in the memory device of this embodiment, the sense operation by the sense amplifier circuit SA in FIG. 47 causes "101" data to be read from the selected cell MC.
[0944] <Reading "011" data> 60 to 69, the operation of the sense amplifier circuit SA when the memory cell (selected cell) MC stores data "011" will be described. When the memory cell MC stores data "011", the memory cell MC has a resistance state RS5.
[0945] Fig. 60 shows a timing chart of the operation of the sense amplifier circuit SA when reading data "011" in the memory device 1 of this embodiment. In Fig. 60, the horizontal axis corresponds to time, and the vertical axis corresponds to the bit line voltage VBL and the signal levels of each control signal.
[0946] Each of FIGS. 61 to 69 is a schematic diagram showing the state of the signal levels of various signals supplied to the sense amplifier circuit SA at a certain time in the memory device 1 of this embodiment.
[0947] <Time t61> As shown in FIGS. 60 and 61, similarly to the above-described example, at time t61, the sequencer 180 changes the signal level of the control signal LgcVrefL(M) from the “H” level to the “L” level.
[0948] When the selected cell MC stores data “011”, at time t61, the signal levels of the sense signals VDOH and VDOL are “H” level, and therefore the signal levels of the inverted sense signals / VDOH and / VDOL are “L” level.
[0949] In the control circuit 148, a NAND gate 70 receives an inverted sense signal / VDOH at a low level, a control signal / LgcVrefH(L) at a high level, a control signal LgcVrefH(M) at a high level, and a control signal / LgcVrefH(U) at a high level. The NAND gate 70 outputs a signal SigX at a high level based on the result of a NAND operation on the received signals.
[0950] The NAND gate 71 outputs a signal SigY at a "L" level based on the result of a NAND operation of the signal SigX at a "H" level and the signal SigZ at a "H" level.
[0951] The NAND gate 72 outputs a signal SigZ at a "H" level based on the result of the NAND operation of the signal SigY at a "L" level and the reset signal NANDrst at a "H" level.
[0952] In the control circuit 149, the NAND gate 74 sends a high-level signal Sig1 to the NAND gate 75 based on the result of the NAND operation of the low-level inverted sense signal / VDOL and the high-level control signal / LgcVrefL(M).
[0953] The NAND gate 75 sends a signal Sig2 at a "L" level to the NAND gate 76 based on the result of the NAND operation of the signal Sig1 at a "H" level and the signal Sig3 at a "H" level.
[0954] The NAND gate 76 sends a signal Sig3 of "H" level to the AND gate 81M of the Middle bit determination circuit 147M based on the signal Sig2 of "L" level and the reset signal NANDrst of "H" level.
[0955] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0956] The AND gate 80L receives the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(L) at a low level. The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the signals SigZ, / VDOH, and LgcVrefH(L).
[0957] The AND gate 81L receives the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, and the control signal LgcVrefL(L) at a high level. The AND gate 81L sends a signal AL2 at a low level to the OR gate 82L based on the result of an AND operation of the signals ValidHigh, / VDOL, and LgcVrefL(L).
[0958] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2.
[0959] The lower bit latch circuit (D-type flip-flop) 85L maintains the initial state without receiving the "L" level signal CLKLb at the CLK node of the lower bit latch circuit (D-type flip-flop) 85L.
[0960] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0961] The AND gate 80M receives the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(M) at a high level. The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the signals SigZ, / VDOH, and LgcVrefH(M).
[0962] The AND gate 81M receives the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, the "L" level control signal LgcVrefL(M), and the "H" level signal Sig3. The AND gate 81M sends the "L" level signal AM2 to the OR gate 82M based on the result of the AND operation of the signals ValidHigh, / VDOL, LgcVrefL(M), and Sig3.
[0963] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0964] The middle bit latch circuit (D-type flip-flop) 85M maintains the initial state without receiving the "L" level signal CLKMb at the CLK node of the middle bit latch circuit (D-type flip-flop) 85M.
[0965] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0966] The AND gate 80U receives the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(U) at a low level. The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the signals SigZ, / VDOH, and LgcVrefH(U).
[0967] The AND gate 81U receives the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, and the control signal LgcVrefL(U) at a high level. The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the received signals ValidHigh, / VDOL, and LgcVrefL(U).
[0968] The OR gate 82U sends a low-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the low-level signal AU2.
[0969] The upper bit latch circuit (D-type flip-flop) 85U maintains the initial state without receiving the "L" level signal CLKUb at the CLK node of the upper bit latch circuit (D-type flip-flop) 85U.
[0970] <Time t62> As shown in FIGS. 60 and 62, at time t62, the sequencer 180 changes the signal level of the control signal LgcVrefH(L) from the "L" level to the "H" level.
[0971] When the selected cell MC stores data "011", the signal levels of the inverted sense signals / VDOH, / VDOL are at the "L" level at time t62, similarly to time t61.
[0972] In the control circuit 148, the NAND gate 70 sends a "H" level signal SigX to the NAND gate 71 based on the result of a NAND operation of the "L" level inverted sense signal / VDOH, the "L" level control signal / LgcVrefH(L), the "H" level control signal LgcVrefH(M), and the "H" level control signal / LgcVrefH(U).
[0973] The NAND gate 71 sends a signal SigY of "L" level to the NAND gate 72 based on the result of the NAND operation of the signal SigX of "H" level and the signal SigZ of "H" level.
[0974] The NAND gate 72 sends a signal SigZ of "H" level to a signal line 79 based on the result of the NAND operation of the signal SigY of "L" level and the signal NANDrst of "H" level.
[0975] The control circuit 149 sends a high-level signal Sig3 to the AND gate 81M of the Middle bit determination circuit 147M in response to the low-level inverted sense signal / VDOL and the high-level control signal / LgcVrefL(M) supplied to the NAND gate 74.
[0976] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0977] The AND gate 80L receives the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(L) at a high level. The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the signals SigZ, / VDOH, and LgcVrefH(L).
[0978] The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of an AND operation of the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, and the "H" level control signal LgcVrefL(L).
[0979] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2.
[0980] The lower bit latch circuit (D-type flip-flop) 85L maintains the initial state based on the "L" level signal CLKLb.
[0981] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[0982] The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(M) at a high level.
[0983] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, the "L" level control signal LgcVrefL(M), and the "H" level signal Sig3.
[0984] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[0985] The Middle bit latch circuit (D-type flip-flop) 85M maintains the initial state based on the signal CLKMb at the "L" level.
[0986] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[0987] The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(U) at a low level.
[0988] The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, and the control signal LgcVrefL(U) at a high level.
[0989] The OR gate 82U sends a low-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the low-level signal AU2.
[0990] Therefore, the upper bit latch circuit (D-type flip-flop) 85U maintains the initial state based on the signal CLKUb at the "L" level.
[0991] <Time t63> As shown in FIGS. 60 and 63, at time t63, the sequencer 180 changes the signal level of the control signal LgcVrefL(L) from the "H" level to the "L" level.
[0992] At time t63, the signal levels of the inverted sense signals / VDOH, / VDOL are at the “L” level, similarly to time t62.
[0993] The control circuit 148 sends the signal SigZ of the “H” level to the signal line 79 .
[0994] The control circuit 149 sends the signal SigZ of "H" level to the Middle bit determination circuit 147M.
[0995] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[0996] The AND gate 80L sends a signal AL1 at a low level to the OR gate 82L based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(L) at a high level.
[0997] The AND gate 81L receives a high-level control signal ValidHigh, a low-level inverted sense signal / VDOL, and a low-level control signal LgcVrefL(L). The AND gate 81L sends a low-level signal AL2 to the OR gate 82L based on the result of an AND operation of the signals ValidHigh, / VDOL, and LgcVrefL(L).
[0998] The OR gate 82L sends a "L" level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the "L" level signal AL1 and the "L" level signal AL2.
[0999] The lower bit latch circuit (D-type flip-flop) 85L maintains the initial state based on the "L" level signal CLKLb.
[1000] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[1001] The AND gate 80M sends a signal AM1 at a low level to the OR gate 82M based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(M) at a high level.
[1002] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, the "L" level control signal LgcVrefL(M), and the "H" level signal Sig3.
[1003] The OR gate 82M sends a "L" level signal CLKMb to a Middle bit latch circuit (D-type flip-flop) 85M based on the result of an OR operation of the "L" level signal AM1 and the "L" level signal AM2.
[1004] The Middle bit latch circuit (D-type flip-flop) 85M maintains the initial state based on the signal CLKMb at the "L" level.
[1005] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[1006] The AND gate 80U sends a signal AU1 at a low level to the OR gate 82U based on the result of an AND operation of the control signal SigZ at a high level, the inverted sense signal / VDOH at a low level, and the control signal LgcVrefH(U) at a low level.
[1007] The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, and the control signal LgcVrefL(U) at a high level.
[1008] The OR gate 82U sends a low-level signal CLKUb to an upper bit latch circuit (D-type flip-flop) 85U based on the result of an OR operation of the low-level signal AU1 and the low-level signal AU2.
[1009] The upper bit latch circuit (D-type flip-flop) 85U maintains the initial state based on the signal CLKUb at the "L" level.
[1010] <Time tq1> As shown in FIGS. 60 and 64, at time tq1 between time t63 and time t64, the bit line voltage VBL becomes equal to or lower than the reference voltage VrefH.
[1011] The operational amplifier 41 outputs a sense signal VDOH of the “L” level. An inverted sense signal / VDOH of the “H” level is sent to each determination circuit 147.
[1012] At time tq1, the bit line voltage VBL is higher than the reference voltage VrefL. The operational amplifier 42 outputs a sense signal VDOL at an “H” level. Therefore, an inverted sense signal / VDOL at an “L” level is sent to each determination circuit 147 and control circuit 149.
[1013] In the control circuit 148, the NAND gate 70 sends a "H" level signal SigX to the NAND gate 71 based on the result of a NAND operation of the "H" level inverted sense signal / VDOH, the "L" level control signal / LgcVrefH(L), the "H" level control signal LgcVrefH(M), and the "H" level control signal / LgcVrefH(U).
[1014] The NAND gate 71 sends a signal SigY of "L" level to the NAND gate 72 based on the result of the NAND operation of the signal SigX of "H" level and the signal SigZ of "H" level.
[1015] The NAND gate 72 sends a signal SigZ of "H" level to a signal line 79 based on the result of the NAND operation of the signal SigY of "L" level and the signal NANDrst of "H" level.
[1016] The control circuit 149 sends a signal Sig3 of "H" level to the Middle bit determination circuit 147M.
[1017] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[1018] The AND gate 80L receives the "H" level signal SigZ, the "H" level inverted sense signal / VDOH, and the "H" level control signal LgcVrefH(L). As a result, the AND gate 80L sends the "H" level signal AL1 to the OR gate 82L based on the result of the AND operation of the three "H" level signals SigZ, / VDOH, and LgcVrefH(L).
[1019] The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of an AND operation of the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, and the "L" level control signal LgcVrefL(L).
[1020] The OR gate 82L outputs a high-level signal CLKLb based on the result of an OR operation of the high-level signal AL1 and the low-level signal AL2. The signal level of the signal CLKLb changes from low to high.
[1021] In response to a change in the signal level of signal CLKLb from "L" level to "H" level, the lower bit latch circuit (D-type flip-flop) 85L captures the "H" level signal CLKLb at the CLK node of the lower bit latch circuit (D-type flip-flop) 85L. The lower bit latch circuit (D-type flip-flop) 85L captures the "H" level signal at the D node of the lower bit latch circuit (D-type flip-flop) 85L. In the lower bit latch circuit (D-type flip-flop) 85L, the level of the signal at the Q node of the lower bit latch circuit (D-type flip-flop) 85L changes from "L" level to "H" level.
[1022] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[1023] The AND gate 80M receives the signal SigZ at a high level, the inverted sense signal / VDOH at a high level, and the control signal LgcVrefH(M) at a high level. The AND gate 80M sends a signal AM1 at a high level to the OR gate 82M based on the result of an AND operation of the three signals SigZ, / VDOH, and LgcVrefH(M) at a high level.
[1024] The AND gate 81M sends a "L" level signal AM2 to the OR gate 82M based on the result of an AND operation of the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, the "L" level control signal LgcVrefL(M), and the "H" level signal Sig3.
[1025] The OR gate 82M outputs a high-level signal CLKMb based on the result of an OR operation of the high-level signal AM1 and the low-level signal AM2. The signal level of the signal CLKMb changes from low to high.
[1026] In response to a change in the signal level of signal CLKMb from "L" level to "H" level, the middle bit latch circuit (D-type flip-flop) 85M captures the "H" level signal CLKMb at the CLK node of the middle bit latch circuit (D-type flip-flop) 85M. The middle bit latch circuit (D-type flip-flop) 85M captures the "H" level signal at the D node of the middle bit latch circuit (D-type flip-flop) 85M. In the middle bit latch circuit (D-type flip-flop) 85M, the level of the signal at the Q node of the middle bit latch circuit (D-type flip-flop) 85M changes from "L" level to "H" level.
[1027] In the upper bit determination circuit 147U, the AND gates 80U and 81U, the OR gate 82U, and the upper bit latch circuit (D-type flip-flop) 85U operate as follows.
[1028] The AND gate 80U receives the signal SigZ at the “H” level, the inverted sense signal / VDOH at the “H” level, and the control signal LgcVrefH(U) at the “L” level. As a result, the AND gate 80U sends the signal AU1 at the “L” level to the OR gate 82U based on the result of the AND operation of the signals SigZ, / VDOH, and LgcVrefH(U).
[1029] The AND gate 81U sends a signal AU2 at a low level to the OR gate 82U based on the result of an AND operation of the control signal ValidHigh at a high level, the inverted sense signal / VDOL at a low level, and the control signal LgcVrefL(U) at a high level.
[1030] The OR gate 82U outputs the signal CLKUb at the "L" level by ORing the signal AU1 at the "L" level and the signal AU2 at the "L" level. In this way, the signal level of the signal CLKUb is maintained at the "L" level.
[1031] The upper bit latch circuit (D-type flip-flop) 85U does not capture the "L" level signal CLKUb at the CLK node of the upper bit latch circuit (D-type flip-flop) 85U. Therefore, in the upper bit latch circuit (D-type flip-flop) 85U, no signal is captured at the D node of the upper bit latch circuit (D-type flip-flop) 85U. Therefore, in the upper bit latch circuit (D-type flip-flop) 85U, the level of the signal at the Q node of the upper bit latch circuit (D-type flip-flop) 85U is maintained at the "L" level.
[1032] As described above, each of the lower bit latch circuit (D-type flip-flop) 85L and the middle bit latch circuit (D-type flip-flop) 85M holds "1" data. The upper bit latch circuit (D-type flip-flop) 85U holds "0" data. In this way, the 3-bit data represented by the three latch circuits (D-type flip-flops) 85 becomes "011" data.
[1033] (time t64) 60 and 65, at time t64, the sequencer 180 changes the signal levels of the control signal LgcVrefH(M) and the control signal LgcVrefL(M). The sequencer 180 changes the signal level of the control signal LgcVrefH(M) from the "H" level to the "L" level. The sequencer 180 changes the signal level of the control signal LgcVrefL(M) from the "L" level to the "H" level.
[1034] In the control circuit 148, the NAND gate 70 sends a "H" level signal SigX to the NAND gate 71 based on the result of a NAND operation of the "H" level inverted sense signal / VDOH, the "L" level control signal / LgcVrefH(L), the "L" level control signal LgcVrefH(M), and the "H" level control signal / LgcVrefH(U).
[1035] The NAND gate 71 sends a signal SigY of "L" level to the NAND gate 72 based on the result of the NAND operation of the signal SigX of "H" level and the signal SigZ of "H" level.
[1036] The NAND gate 72 sends a signal SigZ of "H" level to a signal line 79 based on the result of the NAND operation of the signal SigY of "L" level and the reset signal NANDrst of "H" level.
[1037] In the control circuit 149, the NAND gate 74 sends a signal Sig1 of "H" level to the NAND gate 75 based on the result of the NAND operation of the inverted sense signal / VDOL of "L" level and the signal / LgcVrefL(M) of "L" level.
[1038] The NAND gate 75 sends a signal Sig2 at a "L" level to the NAND gate 76 based on the result of the NAND operation of the signal Sig1 at a "H" level and the signal Sig3 at a "H" level.
[1039] The NAND gate 76 sends a "H" level signal Sig3 to the Middle bit determination circuit 147M based on the result of the NAND operation of the "L" level signal Sig2 and the "H" level reset signal NANDrst.
[1040] In the lower bit determination circuit 147L, the AND gates 80L and 81L, the OR gate 82L, and the lower bit latch circuit (D-type flip-flop) 85L operate as follows.
[1041] The AND gate 80L sends a high-level signal AL1 to the OR gate 82L based on the result of an AND operation of the high-level control signal SigZ, the high-level inverted sense signal / VDOH, and the high-level control signal LgcVrefH(L).
[1042] The AND gate 81L sends a "L" level signal AL2 to the OR gate 82L based on the result of an AND operation of the "H" level control signal ValidHigh, the "L" level inverted sense signal / VDOL, and the "L" level control signal LgcVrefL(L).
[1043] The OR gate 82L sends a high-level signal CLKLb to a lower bit latch circuit (D-type flip-flop) 85L based on the result of an OR operation of the high-level signal AL1 and the low-level signal AL2. The signal level of the signal CLKLb is maintained at the high level.
[1044] The lower bit latch circuit (D-type flip-flop) 85L maintains the holding state of the "H" level signal at the Q node of the lower bit latch circuit (D-type flip-flop) 85L based on the maintained "H" level signal CLKLb.
[1045] In the middle bit determination circuit 147M, the AND gates 80M and 81M, the OR gate 82M, and the middle bit latch circuit (D-type flip-flop) 85M operate as follows.
[1046] The AND gate 80M receives the control signal SigZ at a high level, the inverted sense signal / VDOH at a high level, and the control signa...
Claims
1. a memory cell connected to the bit line and the word line, storing a first data including a first bit, a second bit, and a third bit; a sense amplifier circuit that performs a first comparison of a bit line voltage of the bit line with a first reference voltage, performs a second comparison of the bit line voltage with a second reference voltage lower than the first reference voltage, and reads the first data from the memory cell based on a result of the first comparison and a result of the second comparison; Equipped with The sense amplifier circuit includes: holding second data having a first code when the bit line voltage becomes equal to or lower than the first reference voltage during a first period from the start of operation of the sense amplifier circuit to a first time; After the first period, the first data is retained. Memory device.
2. The sense amplifier circuit includes: a first data holding circuit for holding the first bit; a second data holding circuit for holding the second bit; a third data holding circuit for holding the third bit; a control circuit that controls a data retention state of the first data retention circuit, a data retention state of the second data retention circuit, and a data retention state of the third data retention circuit in response to a first signal from the second data retention circuit; Including, The memory device of claim 1 .
3. The control circuit includes: a first AND gate that performs a first AND operation on the first signal and a second signal according to a result of the first comparison; a second AND gate that performs a second AND operation on a third signal corresponding to a result of the second comparison and a fourth signal indicating a period during which the second comparison is valid; an OR gate that performs an OR operation on a result of the first AND operation and a result of the second AND operation, and outputs a fifth signal based on the result of the OR operation to the first, second, and third data holding circuits; Including, The memory device of claim 2 .
4. The sense amplifier circuit includes: a first multiplexer that outputs to the first data holding circuit either a first control signal indicating a value of the first bit at a certain time related to the first reference voltage or a second control signal indicating a value of the first bit at a certain time related to the second reference voltage; a second multiplexer that outputs to the second data holding circuit either a third control signal indicating a value of the second bit at a certain time related to the first reference voltage or a fourth control signal indicating a value of the second bit at a certain time related to the second reference voltage; a third multiplexer that outputs to the third data holding circuit either a fifth control signal indicating a value of the third bit at a certain time related to the first reference voltage or a sixth control signal indicating a value of the third bit at a certain time related to the second reference voltage; The memory device of claim 2 .
5. the first multiplexer selects one of the first control signal and the second control signal in response to a sixth signal having a complementary relationship with the first signal; the second multiplexer selects one of the third control signal and the fourth control signal in response to the sixth signal; the third multiplexer selects one of the fifth control signal and the sixth control signal in response to the sixth signal. The memory device of claim 4.
6. the first bit is a most significant bit of the first data; the second bit is a bit between the first bit and the third bit in the first data, the third bit is a least significant bit of the first data; the first data holding circuit holds a sixth signal having a complementary relationship with the first signal as the first bit; The memory device of claim 2 .
7. the second data holding circuit holds the first signal and the sixth signal; the sixth signal is complementary to the first signal and is associated with the second bit; an initial value of the first signal is a first signal level; an initial value of the sixth signal is a second signal level lower than the first signal level; The memory device of claim 2 .
8. When the memory cell has a first resistance state, the memory cell stores "111" data; when the memory cell has a second resistance state higher than the first resistance state, the memory cell stores "101" data; when the memory cell has a third resistance state higher than the second resistance state, the memory cell stores "100" data; when the memory cell has a fourth resistance state higher than the third resistance state, the memory cell stores "110" data; when the memory cell has a fifth resistance state higher than the fourth resistance state, the memory cell stores “010” data; when the memory cell has a sixth resistance state higher than the fifth resistance state, the memory cell stores “011” data; when the memory cell has a seventh resistance state higher than the sixth resistance state, the memory cell stores "001" data; When the memory cell has an eighth resistance state that is higher than the seventh resistance state, the memory cell stores "000" data; The first code is "010". The memory device of claim 1 .
9. a memory cell connected to the bit line and the word line, storing a first data including a first bit, a second bit, and a third bit; a sense amplifier circuit that performs a first comparison of a bit line voltage of the bit line with a first reference voltage, performs a second comparison of the bit line voltage with a second reference voltage lower than the first reference voltage, and reads the first data from the memory cell based on a result of the first comparison and a result of the second comparison; Equipped with the first bit is a most significant bit of the first data; the second bit is a bit between the first bit and the third bit in the first data, the third bit is a least significant bit of the first data; The sense amplifier circuit includes: a first determination circuit that determines a value of the first bit based on a first signal obtained from a result of the first comparison; a second determination circuit that determines a value of the second bit and a value of the third bit based on a second signal that is an inverted signal of the first signal, a third signal obtained from a result of the second comparison, and the first bit; Including, Memory device.
10. The first determination circuit includes: an OR gate that performs a first OR operation on the first signal and a first control signal; a first data holding circuit that holds the value of the first bit according to a result of the first OR operation; Including, The second determination circuit includes: a second OR gate that performs a second OR operation on the second signal and a second control signal; a third OR gate that performs a third OR operation on the third signal and a third control signal; a multiplexer that selects one of the result of the second OR operation and the result of the third OR operation based on the value of the first bit; a second data holding circuit for holding the value of the third bit in response to a selection of the multiplexer; a third data holding circuit that holds the value of the second bit in response to an output signal from the second data holding circuit; Including, The memory device of claim 9.
11. the second data holding circuit and the third data holding circuit constitute a 2-bit counter. The memory device of claim 10.
12. a signal level of the first control signal has a first signal level during a first period from the start of operation of the sense amplifier circuit, and has a second signal level different from the first signal level during a second period after the first period; when the first signal has the first signal level in the first period, the first bit has a first value corresponding to the first signal level; When the first signal has the second signal level in the first period, the first bit has a second value corresponding to the second signal level. The memory device of claim 10.
13. when the first signal has the first signal level, the bit line voltage is less than or equal to the first reference voltage; The memory device of claim 12.
14. a signal level of the second control signal transitions from a second signal level to a first signal level at a first time, a second time, and a third time; the third control signal transitions from the second signal level to the first signal level at a fourth time, a fifth time, and a sixth time; the fourth time is set before the first time, the first time is aligned with the fifth time, the second time is aligned with the sixth time, The third time is set to be later than the second time. The memory device of claim 10.
15. a memory cell connected to the bit line and the word line, storing a first data including a first bit, a second bit, and a third bit; a sense amplifier circuit that performs a first comparison of a bit line voltage of the bit line with a first reference voltage, performs a second comparison of the bit line voltage with a second reference voltage lower than the first reference voltage, and reads the first data from the memory cell based on a result of the first comparison and a result of the second comparison; Equipped with the first bit is a most significant bit of the first data; the second bit is a bit between the first bit and the third bit in the first data, the third bit is a least significant bit of the first data; The sense amplifier circuit includes: a first determination circuit for determining the first bit; a second determination circuit for determining the second bit; a third determination circuit for determining the third bit; a first control circuit for sending a first control signal to the first, second, and third determination circuits; a second control circuit that sends a second control signal to the second determination circuit; Including, Memory device.
16. The first determination circuit includes: a first logic circuit that performs a first logic operation using a first signal obtained by the first comparison, the first control signal, and a third control signal that indicates a value of the first bit at a certain time related to the first reference voltage; a second logic circuit that performs a second logic operation using a second signal obtained by the second comparison, a fourth control signal indicating a period during which a result of the second comparison is valid, and a fifth control signal indicating a value of the first bit at a certain time related to the second reference voltage; a third logic circuit that performs a third logic operation using a result of the first logic operation and a result of the second logic operation; a first data holding circuit that holds the first bit based on a result of the third logical operation; Including, The second determination circuit includes: a fourth logic circuit performing a fourth logic operation using the first signal, the first control signal, and a sixth control signal indicating a value of the second bit at a certain time related to the first reference voltage; a fifth logic circuit performing a fifth logic operation using the second signal, the second control signal, the fourth control signal, and a seventh control signal indicating a value of the second bit at a certain time related to the second reference voltage; a sixth logic circuit that performs a sixth logic operation using a result of the fourth logic operation and a result of the fifth logic operation; a second data holding circuit that holds the second bit based on a result of the sixth logical operation; Including, The third determination circuit includes: a seventh logic circuit performing a seventh logic operation using the first signal, the first control signal, and an eighth control signal indicating a value of the third bit at a certain time related to the first reference voltage; an eighth logic circuit that performs an eighth logic operation using the second signal, the fourth control signal, and a ninth control signal that indicates a value of the third bit at a certain time related to the second reference voltage; a ninth logic operation circuit that performs a ninth logic operation using a result of the seventh logic operation and a result of the eighth logic operation; a third data holding circuit that holds the third bit based on a result of the ninth logical operation; Including, 16. The memory device of claim 15.
17. When each of the first signal, the inverted signal of the third control signal, the sixth control signal, and the inverted signal of the eighth control signal is at a first signal level, the first control circuit changes a signal level of the first control signal from the first signal level to a second signal level.
17. The memory device of claim 16.
18. when the signal level of the second signal is the first signal level within a period in which the signal level of the inverted signal of the seventh control signal is the first signal level, the second control circuit changes the signal level of the second control signal from the first signal level to a second signal level.
17. The memory device of claim 16.
19. each of the first, second, fourth, fifth, seventh, and eighth logic circuits is an AND gate; Each of the third, sixth, and ninth logic circuits is an OR gate.
17. The memory device of claim 16.
20. each of the first, second and third data retention circuits is a D-type flip-flop; the D-type flip-flop of the first data holding circuit holds the first bit in response to a transition of a signal level of a signal indicating the result of the third logical operation; the D-type flip-flop of the second data holding circuit holds the second bit in response to a transition of a signal level of a signal indicating the result of the sixth logical operation; the D-type flip-flop of the third data holding circuit holds the third bit in response to a transition of a signal level of a signal indicating the result of the ninth logical operation.
20. The memory device of claim 19.
Citation Information
Patent Citations
Depth estimation method
JP2022061691A
