The disclosure relates generally to circuits and methods to backup state information in integrated circuits and more particularly to circuits and methods that save the state of the processor or logic chip and methods for performing same.
Logic chips and processors such as central processing units (CPUs), graphics processing units (GPUs), DSPs and other processing circuits employ known solutions to save the state information that are in various locations throughout the processor when, for example, power is to be shut down on the device or for switching to handle different processing threads or for other suitable purposes. Flip-flops as known in the art may be used in pipelines to store state information and may be used, for example, in state machines or any other suitable structure to allow devices to start and stop when power is to be removed, for example or if a pipeline is to be temporarily held to allow another thread to be processed. Saving the state of the processor can involve the tedious process of reading all of the architected states of the chip (or part of the chip) that is to be powered off and saved out to a section of the chip not to be powered off or power gated. Other solutions utilize the writing of the state of the chip onto a system bus to an off-chip non-volatile storage device that retains the data after power has been removed, such as a ROM disk or other non-volatile storage.
To restore the state, the reverse process is executed. The section of the chip, entire chip or system is powered up and the state is restored to its previous state from the save location and execution is resumed from the previous store point. Such state saving techniques can require significant amounts of power to save and restore the state of entire sections of a chip, the entire chip or system. This can defeat the purpose of power gating in an integrated circuit which allows the reduction or removal of power from subsections or portions of the chip to save power when they are not in use or otherwise slow down the operation to conserve power. Such power gating is useful for mobile devices for example. Such power gated integrated circuits may be used, for example, in handheld devices such as smart phones, laptops, tablet devices or any other suitable mobile devices. Energy efficiency is becoming more commonplace in non-mobile devices as well.
It is also known in the art to use shadow flip-flops that are active circuits that are connected to active flip-flops to attempt to save state. However, shadow flip-flops are typically connected to a separate supply voltage to keep the flip-flop on during power gating so that the data is not lost. This results in additional leakage current from the many shadow flip-flops that are employed to save state, drawing unnecessary power and adding unnecessary temperature increases.
A need exists for an improved state saving circuit and method.
The invention will be more readily understood in view of the following description when accompanied by the below figures and wherein like reference numerals represent like elements, wherein:
Briefly, an integrated circuit employs at least one active memory circuit and at least one memory state backup circuit wherein at least one memory state backup circuit includes at least one passive variable resistance memory (PVRM) cell and at least one passive variable resistance memory cell interface that are used to backup data from the active memory circuit to the PVRM cell. Data is then placed back into the active memory circuit from the PVRM cell during a restore operation. The PVRM cell interface is operative to read the PVRM cell in response to a restore signal. PVRM cell interface control logic is operative to remove power to the PVRM cell after backup of the data to the PVRM cell from the active memory circuit. A PVRM cell (e.g., a bit cell) is added to each memory circuit that stores state information on an integrated circuit. At the point of power gating the memory circuit, the data therein is transferred from the volatile section of the active memory circuit into the non-volatile PVRM cell using the appropriate save control signals. Once the PVRM cell is populated, power may be removed from the active memory circuit and from the PVRM cell since it is a non-volatile storage mechanism. Once data is restored to the memory circuit using restore control signals, the normal operation of the memory circuit may resume.
In one example, a new flip-flop design is employed that may provide direct backup of data in a flip-flop. In another example, the PVRM cell is written to each time the memory circuit is written to provide an always backed up and ready to be power gated flip-flop. In another example, a flip-flop or other memory circuit employs an active master latch stage and subsequent (serial) passive variable resistance memory based slave stage that stores the state from the master latch each time data is latched in the master latch.
Among other benefits, simplified power gating may be employed on a circuit, system level or integrated circuit level as there is no need to provide methods and paths to read the state of each flip-flop, register file and SRAM. Instead, when the clock is stopped to a flip-flop, for example, the data in the active memory circuit is captured in the co-resident passive variable resistance memory cell and power can be removed to the circuit. In order to return to the operational state, the power can be turned back on for the flip-flop and the state of the co-resident passive variable memory cell can be immediately written to the memory circuit and the clock can be started again. The resulting operation can be much faster than conventional techniques and more efficient allowing power savings over smaller intervals of time and may be easier to implement since the passive variable resistance cell can be built as co-resident with a flip-flop within an integrated circuit. In addition, power to the passive variable resistance memory cells can also be removed providing additional power savings. Since the passive variable resistance state backup circuitry is located on-die, the power supply of the chip may be shut off without losing state information on a chip level. Other benefits will be recognized by those of ordinary skill in the art.
The PVRM interface 306 controls the PVRM cell to store a logical 1 when the save switch is closed and Q is a logical 1 and stores a 0 if Q is 0. Other logic levels may also be used. For example, since the PVRM cell is a passive variable resistance structure, the single bit can be used to represent multiple states.
The restore switch 308 is coupled to an input 311 of the active memory circuit, in this example to the input of master latch 214 and to an output of the PVRM cell interface 306. The restore switch 308 is responsive to a restore signal 320 to cause the backup data in the PVRM cell to be input to the active memory circuit (e.g., the master latch). The PVRM interface reads out the PVRM value when the restore switch 308 is active. The save switch 307 is coupled to an output of the active memory circuit 200 and in this case, is coupled to the output of slave latch 220 and is also coupled to an input of the PVRM interface 306. The save switch is responsive to a backup signal 322 to pass data from the active memory circuit for example stored in slave latch 220 to PVRM cell 304. The control signals such as the save signal 322 and the restore signal 320 may be generated by any suitable control logic such as a processor executing a software application on the integrated circuit 300, dedicated hardware that automatically controls the state store operation during power gating, or any other suitable control mechanism.
The passive variable resistance memory cell 304 may be formed by thin-film deposition techniques such as CVD, thermal evaporation, sputtering, MBE, electroplating, spin-coating, or any other suitable techniques. The material of the passive variable resistance memory cell may be any suitable variable resistance material that is capable of storing state by resistance. Depending on the specific type of passive variable resistance memory, the material of the passive variable resistance memory layer may include, for example, one or more thin-film oxides (e.g., TiO2, SiO2, NiO, CeO2, VO2, V2O5, Nb2O5, Ti2O3, WO3, Ta2O5, ZrO2, IZO, ITO, etc.) for memristors, chalcogenide for phase-change memory, and ferromagnetic materials (e.g., CoFeB incorporated in MgO) for magnetoresistive memory.
It is known in the art that memory may be implemented by an array of memory cells. Each memory cell of the array includes a memory region as a place to store state, which represents one bit of information. In order to access each memory cell, the array of memory is organized by rows and columns, and the intersection point of each row-column pair is a memory region. The rows are also called word lines, whereas the columns are named bit lines.
In this example embodiment, the passive variable resistance memory cell 304 (e.g. one bit) may be a memristor of any suitable design. The passive variable resistance memory cell in this example embodiment, is implemented as a memory layer including a memristor passive variable-resistive memory cell (e.g., each 1 bit) and may be of any suitable design. Since a memristor includes a memory region (e.g., a layer of TiO2) between two metal contacts (e.g., platinum wires), memristors could be accessed in a cross point array style (i.e., crossed-wire pairs) with alternating current to non-destructively read out the resistance of each memory cell. A cross point array is an array of memory regions that can connect each wire in one set of parallel wires to every member of a second set of parallel wires that intersects the first set (usually the two sets of wires are perpendicular to each other, but this is not a necessary condition). The memristor disclosed herein may be fabricated using a wide range of material deposition and processing techniques. One example is disclosed in corresponding U.S. Patent Application Publication No. 2008/0090337, having a title “ELECTRICALLY ACTUATED SWITCH”, which is incorporated herein by reference.
In this example, first, a lower electrode is fabricated above the actual memory cell using conventional techniques such as photolithography or electron beam lithography, or by more advanced techniques, such as imprint lithography. This may be, for example, a bottom wire of a crossed-wire pair. The material of the lower electrode may be either metal or semiconductor material, preferably, platinum.
In this example, the next component of the memristor to be fabricated is the non-covalent interface layer, and may be omitted if greater mechanical strength is required, at the expense of slower switching at higher applied voltages. In this case, a layer of some inert material is deposited. This could be a molecular monolayer formed by a Langmuir-Blodgett (LB) process or it could be a self-assembled monolayer (SAM). In general, this interface layer may form only weak van der Waals-type bonds to the lower electrode and a primary layer of the memory region. Alternatively, this interface layer may be a thin layer of ice deposited onto a cooled substrate. The material to form the ice may be an inert gas such as argon, or it could be a species such as CO2. In this case, the ice is a sacrificial layer that prevents strong chemical bonding between the lower electrode and the primary layer, and is lost from the system by heating the substrate later in the processing sequence to sublime the ice away. One skilled in this art can easily conceive of other ways to form weakly bonded interfaces between the lower electrode and the primary layer.
Next, the material for the primary layer is deposited. This can be done by a wide variety of conventional physical and chemical techniques, including evaporation from a Knudsen cell, electron beam evaporation from a crucible, sputtering from a target, or various forms of chemical vapor or beam growth from reactive precursors. The film may be in the range from 1 to 30 nanometers (nm) thick, and it may be grown to be free of dopants. Depending on the thickness of the primary layer, it may be nanocrystalline, nanoporous or amorphous in order to increase the speed with which ions can drift in the material to achieve doping by ion injection or undoping by ion ejection from the primary layer. Appropriate growth conditions, such as deposition speed and substrate temperature, may be chosen to achieve the chemical composition and local atomic structure desired for this initially insulating or low conductivity primary layer.
The next layer is a dopant source layer, or a secondary layer, for the primary layer, which may also be deposited by any of the techniques mentioned above. This material is chosen to provide the appropriate doping species for the primary layer. This secondary layer is chosen to be chemically compatible with the primary layer, e.g., the two materials should not react chemically and irreversibly with each other to form a third material. One example of a pair of materials that can be used as the primary and secondary layers is TiO2 and TiO2-x, respectively. TiO2 is a semiconductor with an approximately 3.2 eV bandgap. It is also a weak ionic conductor. A thin film of TiO2 creates the tunnel barrier, and the TiO2-x forms an ideal source of oxygen vacancies to dope the TiO2 and make it conductive.
Finally, the upper electrode in the passive variable resistance memory layer is fabricated on top of the secondary layer in a manner similar to which the lower electrode was created. This may be, for example, a top wire of a crossed-wire pair. The material of the upper electrode may be either metal or semiconductor material, preferably, platinum. If the memory cell is in a cross point array style, an etching process may be necessary to remove the deposited memory region material that is not under the top wires in order to isolate the memory cell. It is understood, however, that any other suitable material deposition and processing techniques may be used to fabricate memristors for the passive variable-resistive memory. It will also be recognized that any other suitable passive variable resistance technology may be employed as mentioned above or that the order of operation may be rearranged in any suitable manner.
It will be understood that PVRM is a term used to describe any memory technology that stores state in the form of resistance instead of charge. That is, PVRM technologies use the resistance of a cell to store the state of a bit, in contrast to charge-based memory technologies that use electric charge to store the state of a bit. PVRM is referred to as being passive due to the fact that it does not require any active semiconductor devices, such as transistors, to act as switches. These types of memory are said to be “non-volatile” due to the fact that they retain state information following a power loss or power cycle. Passive variable resistive memory is also known as resistive non-volatile random access memory (RNVRAM or RRAM).
Examples of PVRM include, but are not limited to, Ferroelectric RAM (FeRAM), Magnetoresistive RAM (MRAM), Memristors, PRAM, Phase Change Memory (PCM), and Spin-Torque Transfer MRAM (STT-MRAM). While any of these technologies may be suitable for use in the IC 102 disclosed herein, PCM, memristors, and STT-MRAM are discussed below in additional detail.
Phase change memory (PCM) is a PVRM technology that relies on the properties of a phase change material, generally chalcogenides, to store state. Writes are performed by injecting current into the storage device, thermally heating the phase change material. An abrupt shutoff of current causes the material to freeze in an amorphous state, which has high resistivity, whereas a slow, gradual reduction in current results in the formation of crystals in the material. The crystalline state has lower resistance than the amorphous state; thus a value of 1 or 0 corresponds to the resistivity of a cell. Varied current reduction slopes can produce in-between states, allowing for potential multi-level cells. A PCM storage element consists of a heating resistor and chalcogenide between electrodes, while a PCM cell is comprised of the storage element and an access transistor.
Memristors are commonly referred to as the “fourth circuit element,” the other three being the resistor, the capacitor, and the inductor. A memristor is essentially a two-terminal variable resistor, with resistance dependent upon the amount of charge that passed between the terminals. Thus, a memristor's resistance varies with the amount of current going through it, and that resistance is remembered even when the current flow is stopped.
Spin-Torque Transfer Magnetoresistive RAM (STT-MRAM) is a second-generation version of MRAM, the original of which was deemed “prototypical” by the International Technology Roadmap for Semiconductors (ITRS). MRAM stores information in the form of a magnetic tunnel junction (MTJ), which separates two ferromagnetic materials with a layer of thin insulating material. The storage value changes when one layer switches to align with or oppose the direction of its counterpart layer, which then affects the junction's resistance. Original MRAM required an adequate magnetic field in order to induce this change. This was both difficult and inefficient, resulting in impractically high write energy. STT-MRAM uses spin-polarized current to reverse polarity without needing an external magnetic field. Thus, the STT technique reduces write energy as well as eliminating the difficult aspect of producing reliable and adequately strengthen magnetic fields. However, STT-MRAM, like PCM, requires an access transistor and thus its cell size scaling depends on transistor scaling.
Although simple flip-flops have been illustrated by way of example, the structures described herein may be applied to a wide variety of memory circuits such as register files that include registers and any other suitable memory circuits. By way of example,
The method may include controlling a corresponding passive variable resistance memory cell to backup the latch data by generating a backup signal to control reading of the data from the active memory circuit to be stored in the PVRM cell. Restoring data in the active memory circuit may include using the backup data in the PVRM cell by generating a restore signal to cause the backup data from the PVRM cell to be input to the active memory circuit such as performed by the circuit in
The disclosed integrated circuit designs may be employed in any suitable apparatus including but not limited to, for example, printers, high definition televisions, handheld devices such as smart phones, tablets, portable devices such as laptops or any other suitable device. Such devices may include for example, a display that is operatively coupled to the integrated circuit where the integrated circuit may be, for example, a GPU, CPU or any other suitable integrated circuit that provides image data for output on the display. Such an apparatus may employ the integrated circuits as noted above including the active memory circuit and memory state backup circuits as described as well as one or more of the described configurations.
Also, integrated circuit design systems (e.g., work stations including, as known in the art, one or more processors, associated memory in communication via one or more buses or other suitable interconnect and other known peripherals) are known that create wafers with integrated circuits based on executable instructions stored on a computer readable medium such as but not limited to CDROM, RAM, other forms of ROM, hard drives, distributed memory, etc. The instructions may be represented by any suitable language such as but not limited to hardware descriptor language (HDL), Verilog or other suitable language. As such, the logic and circuits described herein may also be produced as integrated circuits by such systems using the computer readable medium with instructions stored therein. For example, an integrated circuit with the aforedescribed logic and structure may be created using such integrated circuit fabrication systems. In such a system, the computer readable medium stores instructions executable by one or more integrated circuit design systems that causes the one or more integrated circuit design systems to produce an integrated circuit. The integrated circuit includes at least one active memory circuit, and at least one memory state backup circuit, operatively coupled to the active memory circuit, including at least one passive variable resistance memory (PVRM) cell and at least one PVRM cell interface operatively coupled to the active memory circuit and to the PVRM cell and operative to back up data to the PVRM cell from the active memory circuit. The produced integrated circuit may also include the other structure and operation set forth above.
The above detailed description of the invention and the examples described therein have been presented for the purposes of illustration and description only and not by limitation. It is therefore contemplated that the present invention cover any and all modifications, variations or equivalents that fall within the spirit and scope of the basic underlying principles disclosed above and claimed herein.
This application claims priority to the Provisional Application Ser. No. 61/535,730, filed on Sep. 16, 2011, having inventors Don R. Weiss et al., titled “METHOD AND APPARATUS FOR DIRECT BACKUP OF MEMORY CIRCUITS”, which is related to co-pending Provisional Application Ser. no. 61/535,733, filed on Sep. 16, 2011, having inventors David Mayhew et al., titled “METHOD AND APPARATUS FOR CONTROLLING STATE INFORMATION RETENTION IN AN APPARATUS”, and incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61535730 | Sep 2011 | US | |
61535733 | Sep 2011 | US |