MRAM Magnetic Interference Diagnosis System
By applying a magnetic interference field of predetermined strength to the MRAM cell array and utilizing error correction codes for read operations, read failures are identified and prevented, thereby improving the reliability and performance of MRAM and preventing application failures.
Patent Information
- Application Number
- CN201911278429.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-12-13
- Filing Date
- 2019-12-13
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2039-12-13
AI Technical Summary
MRAM cell arrays are susceptible to data corruption due to magnetic field interference in the surrounding environment, and existing technologies struggle to effectively identify and prevent potential read failures.
By applying a magnetic interference field of predetermined strength and using error correction code read operations, uncorrectable read positions in the MRAM cell array are identified, failure states are set, and avoidance actions are taken to prevent application failure.
It improves the reliability and performance of MRAM cell arrays, identifies and prevents potential read failures, and prevents catastrophic application failures.
Smart Images

Figure CN111326206B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to magnetoresistive random access memory (MRAM) systems, and more particularly to a diagnostic system using MRAM magnetic disturbance fields. Background Art
[0002] MRAM is a memory technology that uses magnetic polarization to store data, as opposed to random access memory (RAM) technology that uses charge to store data. One of the main benefits of MRAM is that it retains stored data in the absence of applied system power, making it a non-volatile memory suitable for implementation in a variety of devices. Although the productization of MRAM technology is relatively new and developing, the technology has tremendous application opportunities. Summary of the invention
[0003] According to a first aspect of the present invention, there is provided a method for operating a magnetoresistive random access memory (MRAM) diagnostic system, the method comprising:
[0004] preconditioning all bit cells in an MRAM cell array to a data value of one during a diagnostic mode, wherein the MRAM cell array is implemented in an active side of a semiconductor substrate;
[0005] applying a first magnetic interference field having a predetermined field strength to the MRAM cell array after the pre-processing, wherein the first magnetic interference field is generated by an antenna implemented in a plurality of conductive and dielectric material layers over the active side of the semiconductor substrate;
[0006] After the applying of the first magnetic interference field, performing a first error correction code (ECC) read operation to read the MRAM cell array; and
[0007] In response to detecting at least one uncorrectable read during the first ECC read operation, a fail status is set and the diagnostic mode is exited.
[0008] In one or more embodiments, applying the first magnetic interference field comprises:
[0009] A driving current signal passes through the antenna in a first direction, wherein the first magnetic interference field has a first polarity.
[0010] In one or more embodiments, applying the first magnetic interference field comprises:
[0011] A pulse current signal is generated at a predetermined frequency according to a predetermined duty cycle, wherein the values of the predetermined duty cycle and the predetermined frequency are selected to obtain the pulse current signal suitable for generating the first magnetic interference field.
[0012] In one or more embodiments, applying the first magnetic interference field comprises:
[0013] The first magnetic interference field is calibrated to the predetermined field strength using one or more sensors to detect a current field strength of the first magnetic interference field, wherein a current level is increased or decreased to increase or decrease the current field strength to the predetermined field strength, respectively.
[0014] In one or more embodiments, the predetermined field strength is strong enough to disturb weak bit cells in the MRAM cell array to flip their data values.
[0015] In one or more embodiments, the method further comprises:
[0016] In response to detecting that the fail state is set, retiring the location containing the uncorrectable read, wherein
[0017] The first ECC operation avoids reading any retired locations.
[0018] In one or more embodiments, the MRAM cell array is a sub-array of a plurality of sub-arrays, and
[0019] The antenna is one of a plurality of antennas implemented over a corresponding subarray, and
[0020] Each antenna is configured to generate a respective first magnetic interference field.
[0021] In one or more embodiments, the method further comprises:
[0022] In response to not detecting an uncorrectable read during the first ECC read operation, applying a second magnetic interference field having the predetermined field strength to the MRAM cell array, wherein the second magnetic interference field is generated by the antenna;
[0023] After the applying of the second magnetic interference field, performing a second ECC read operation to read the MRAM cell array; and
[0024] In response to detecting at least one uncorrectable read during the second ECC read operation, the fail status is set and the diagnostic mode is exited.
[0025] In one or more embodiments, applying the second magnetic interference field comprises:
[0026] The current signal is driven through the antenna in a second direction opposite to the first direction, wherein the second magnetic interference field has a second polarity opposite to the first polarity.
[0027] In one or more embodiments, the method further comprises:
[0028] In response to not detecting an uncorrectable read during the second ECC read operation, preconditioning all bit cells in the MRAM cell array to a data value of zero;
[0029] After the pre-processing, applying a third magnetic interference field having the predetermined field strength to the MRAM cell array, wherein the third magnetic interference field is generated by the antenna;
[0030] After applying the third magnetic interference field, performing a third ECC read operation to read the MRAM cell array; and
[0031] In response to detecting at least one uncorrectable read during the third ECC read operation, the fail status is set and the diagnostic mode is exited.
[0032] In one or more embodiments, applying the third magnetic interference field comprises:
[0033] The current signal is driven through the antenna in the first direction, wherein the third magnetic interference field has the first polarity.
[0034] In one or more embodiments, applying the third magnetic interference field comprises:
[0035] The third magnetic interference field is calibrated to the predetermined field strength using one or more sensors to detect a current field strength of the third magnetic interference field, wherein a current level is increased or decreased to increase or decrease the current field strength to the predetermined field strength, respectively.
[0036] In one or more embodiments, the method further comprises:
[0037] In response to determining that there is no uncorrectable read during the third ECC read operation, applying a fourth magnetic interference field having the predetermined field strength to the MRAM cell array;
[0038] After applying the fourth magnetic interference field, performing a fourth ECC read operation to read the MRAM cell array;
[0039] In response to determining at least one uncorrectable read during the fourth ECC read operation, the fail status is set and the diagnostic mode is exited.
[0040] In one or more embodiments, the method further comprises:
[0041] In response to determining that there are no uncorrectable reads during the fourth ECC read operation, a pass status is set and the diagnostic mode is exited.
[0042] According to a second aspect of the present invention, there is provided a magnetoresistive random access memory (MRAM) diagnostic system, comprising:
[0043] an MRAM cell array implemented in an active side of a semiconductor substrate;
[0044] an antenna implemented in a plurality of layers of conductive and dielectric materials over the active side of the semiconductor substrate;
[0045] a signal generator configured to drive a current signal on the antenna; and
[0046] A controller, the controller being configured to:
[0047] preconditioning all bit cells in the MRAM cell array to a data value of one during a diagnostic mode;
[0048] triggering the signal generator to drive the antenna to generate a first magnetic interference field with a predetermined field strength;
[0049] After said generating said first magnetic interference field, performing a first error correction code (ECC) read operation to read said MRAM cell array; and
[0050] In response to detecting at least one uncorrectable read during the first ECC read operation, a fail status is set and the diagnostic mode is exited.
[0051] In one or more embodiments, the MRAM diagnostic system further comprises:
[0052] one or more magnetic field sensors laterally adjacent to the MRAM cell array, wherein each of the one or more magnetic field sensors is configured to output a signal indicative of a field strength of the first magnetic interference field; and
[0053] a current source configured to output a reference current to the signal generator; wherein
[0054] The controller is further configured to:
[0055] receiving corresponding signals from the one or more magnetic field sensors;
[0056] determining whether the current field strength of the first magnetic interference field should be adjusted to reach the predetermined field strength; and
[0057] Based on the determination, a present current level of the reference current is adjusted.
[0058] In one or more embodiments, the controller is further configured to:
[0059] In response to not detecting an uncorrectable read during the first ECC read operation, triggering the signal generator to drive the antenna to generate a second magnetic interference field having the predetermined field strength;
[0060] After generating the second magnetic interference field, performing a second ECC read operation to read the MRAM cell array; and
[0061] In response to detecting at least one uncorrectable read during the second ECC read operation, the fail status is set and the diagnostic mode is exited.
[0062] In one or more embodiments, the controller is further configured to:
[0063] in response to detecting an uncorrectable read during the second ECC read operation, preconditioning all bit cells in the MRAM cell array to a data value of zero;
[0064] triggering the signal generator to drive the antenna to generate a third magnetic interference field having the predetermined field strength;
[0065] After generating the third magnetic interference field, performing a third ECC read operation to read the MRAM cell array; and
[0066] In response to detecting at least one uncorrectable read during the third ECC read operation, the fail status is set and the diagnostic mode is exited.
[0067] In one or more embodiments, the controller is further configured to:
[0068] In response to not detecting an uncorrectable read during the third ECC read operation, triggering the signal generator to drive the antenna to generate a fourth magnetic interference field having the predetermined field strength;
[0069] After generating the fourth magnetic interference field, performing a fourth ECC read operation to read the MRAM cell array; and
[0070] In response to detecting at least one uncorrectable read during the fourth ECC read operation, the fail status is set and the diagnostic mode is exited.
[0071] In one or more embodiments, the signal generator is configured to drive the current signal on the antenna in a first direction to generate a first polarity magnetic interference field,
[0072] The signal generator is further configured to drive the current signal on the antenna in a second direction opposite to the first direction to generate a second polarity magnetic interference field, the second polarity being opposite to the first polarity,
[0073] The first magnetic interference field and the third magnetic interference field have the first polarity, and
[0074] The second magnetic interference field and the fourth magnetic interference field have the second polarity.
[0075] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] The present invention may be better understood, and its numerous objects, features and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
[0077] Figure 1 is a block diagram depicting an example MRAM magnetic disturbance diagnostic system according to some embodiments of the present disclosure.
[0078] Figure 2A and 2B is a block diagram depicting example components of an MRAM magnetic disturbance diagnostic system implemented on a semiconductor substrate according to some embodiments of the present disclosure.
[0079] Figure 3A and 3B is a block diagram depicting example components of an MRAM magnetic interference diagnostic system implemented for two or more MRAM cell arrays according to some embodiments of the present disclosure.
[0080] Figure 4 is a flow chart depicting an example diagnostic process implemented by an MRAM magnetic interference diagnostic system according to some embodiments of the present disclosure.
[0081] Figure 5A and 5B is a block diagram depicting an example dedicated calibration component of an MRAM magnetic disturbance diagnostic system according to some embodiments of the present disclosure.
[0082] The present invention is illustrated by way of example and not limited by the accompanying drawings, in which like reference numerals indicate similar elements unless otherwise indicated. Elements in the drawings are illustrated for simplicity and clarity and have not necessarily been drawn to scale. DETAILED DESCRIPTION
[0083] The following sets forth a detailed description of various embodiments that is intended to illustrate the present invention and should not be construed as limiting.
[0084] Overview
[0085] Typically, a magnetoresistive random access memory (MRAM) includes a large number of magnetic bit cells formed on a semiconductor substrate, where each cell represents a data bit. Information is written to the bit cell by changing the magnetization direction of the magnetic element within the bit cell, and the bit cell is read by measuring the resistance of the bit cell (e.g., low resistance typically represents a "0" bit and high resistance typically represents a "1" bit). The bit cells are programmed using programming lines, which are typically called bit lines and digital (or word) lines.
[0086] One drawback of memory arrays implemented using MRAM cells is the lack of immunity to magnetic fields in the surrounding environment, which can corrupt the data values stored by the multiple magnetic bit cells. Managing the potential for latent read failures is a major barrier to enabling MRAM for mainstream applications.
[0087] The present disclosure provides a diagnostic system configured to identify impending read failures in an MRAM cell array by applying a magnetic disturbance field having a predetermined field strength strong enough to disturb any potential weak bits in the MRAM cell array and looking for uncorrectable read locations (such as by using an error correction code (ECC) read operation). In response to detecting any uncorrectable reads, the diagnostic system can then take evasive actions to prevent catastrophic application failures, such as retiring sectors, words, or locations with read failures. The diagnostic system improves the reliability and performance of the MRAM cell array.
[0088] Example Embodiments
[0089] Figure 1 An example magnetoresistive random access memory (MRAM) magnetic disturbance diagnostic system 100 (or MRAM diagnostic system 100 ) is shown, which includes an MRAM IP block 102 , a controller 104 , a current source 106 , a signal generator 108 , a magnetic field generator 110 , and one or more sensors 114 , as discussed further below.
[0090] The MRAM IP block 102 includes an MRAM bit cell array (also referred to as an MRAM cell array) and a Figure 3A Further discussed is the access circuit system for reading from and writing to the MRAM cell array. In some embodiments, the MRAM cell array can be divided into one or more sub-arrays, Figure 3AExamples of the one or more sub-arrays are also shown in . In some embodiments, the MRAM IP block 102 also includes a memory controller configured to receive read and write requests and control access circuitry for implementing read and write operations. The MRAM memory controller can also be configured to receive data to be written to the MRAM cell array and provide any data read from the MRAM cell array. MRAM bit cells can see degradation in magnetic interference immunity through use (e.g., write cycles), where potentially weaker bits are more susceptible to bit flips or interference.
[0091] The controller 104 implements a diagnostic system controller configured to control the current source 106 and the signal generator 108 to generate a current signal 126 suitable for generating a magnetic interference field 112 through a magnetic field generator 110, the magnetic field generator 110 being used to determine weak bits in the MRAM cell array. In some embodiments, the controller 104 has a bidirectional communication 118 with an MRAM memory controller. During the diagnostic mode, the controller 104 is configured to communicate with the MRAM memory controller to write a predetermined value (e.g., 1 or 0) to each bit cell in the MRAM cell array. The controller 104 is also configured to trigger the generation of a magnetic interference field (e.g., positive or negative) at a predetermined field strength applied to the MRAM cell array. The controller 104 is also configured to communicate with the MRAM memory controller to read each bit cell in the MRAM cell array to determine whether any bit flips have occurred. In some embodiments, the MRAM memory controller is configured to implement an error correction code (ECC) read operation, which is capable of detecting and correcting bit errors, the number of which depends on the correction scheme implemented by the ECC. In the event that a bit error cannot be corrected, the MRAM memory controller sets a fail flag to indicate that an uncorrectable bit has been detected. If no uncorrectable bit is detected, the diagnostic mode ends successfully. In some embodiments, the controller 104 may include the functionality of both a diagnostic system controller and an MRAM memory controller, wherein the controller 104 additionally has bidirectional communication 118 with the MRAM cell array via the access circuitry.
[0092] The controller 104 is configured to output one or more control signals 122 to the current source 106, which may include an enable signal that turns on (e.g., enables) the current source 106 during the diagnostic mode and turns off (e.g., disables) the current source 106 during the operating mode, and a current level selection signal indicating a desired current level. When enabled, the current source 106 is configured to output a reference current signal 124 at a constant DC (direct current) level according to the current level selection signal. In some embodiments, the current source 106 is a voltage-controlled current source that provides the reference current signal 124 based on an input voltage signal provided by a variable voltage source. The current level selection signal from the controller 104 may be a digital control signal that controls the voltage output of the variable voltage source, which in turn controls the DC level of the reference current signal 124.
[0093] The controller 104 is also configured to output one or more control signals 120 to the signal generator 108, which may include an enable signal that turns the signal generator 108 on during the diagnostic mode and turns the signal generator 108 off during the operating mode. When enabled, the signal generator 108 is configured to generate a current signal 126 based on the reference current signal 124. In some embodiments, the signal generator 108 may include a circuit system that implements a predetermined duty cycle to form a pulse at a predetermined frequency. The duty cycle of a signal indicates a portion of a cycle that the signal is valid, where one cycle is the time it takes for the signal to complete a switching cycle. The duty cycle can be expressed as a percentage or a ratio. For example, a 40% duty cycle indicates that the signal is turned on for 40% of the cycle and turned off for the remaining time, thereby forming a pulse. The signal frequency indicates the number of cycles per unit time. By implementing a predetermined duty cycle, the amount of current that the magnetic field generator can reliably handle is increased by 10 times relative to DC current excitation. The predetermined frequency and the predetermined duty cycle are selected to obtain a current signal 126 suitable for generating a magnetic interference field 112.
[0094] The magnetic field generator 110 includes one or more antennas 130, wherein a current signal 126 is driven on each antenna 130 to generate a magnetic interference field 112. In some embodiments, the signal generator 108 may optionally include one or more amplifiers to drive the current signal 126 on each of the antennas 130. Each antenna 130 may be a coil or other suitably shaped antenna configured to generate a substantially uniform magnetic interference field 112 that passes through at least a portion of a bit cell in an array of MRAM cells in the MRAM IP block 102, as discussed further below.
[0095] The one or more control signals 120 to the signal generator 108 may also include a direction indicator signal that indicates a desired direction of current flow through the one or more antennas 130. For example, each antenna may include two electrodes or wires, wherein the current signal 126 is applied to a first antenna electrode and a negative supply voltage (e.g., ground) is applied to a second antenna electrode. The signal generator 108 may include a switching circuit of one or more switches or a suitable device for changing the direction of current flow, wherein the current signal 126 is applied to the second antenna electrode and the first antenna electrode is grounded. By changing the direction of the current flow, the polarity (e.g., positive or negative) of the magnetic field may be changed.
[0096] One or more sensors 114 may also be positioned closely around the MRAM cell array to detect the field strength of the magnetic interference field 112. Each sensor 114 may be a Hall effect sensor, which is a transducer that changes its output voltage 116 in response to the magnetic flux of the field 112 passing through the sensor. In some embodiments, the output voltage 116 of the sensor 114 may change linearly according to the magnetic flux density, wherein the output voltage 116 generally increases as the field strength of the magnetic interference field 112 increases. In other embodiments, the output voltage 116 may change sharply at a predetermined magnetic flux density threshold, which corresponds to the magnetic interference field 112 at a predetermined field strength level.
[0097] The controller 104 is configured to receive the output voltage 116 of the one or more sensors 114 and adjust the field strength of the magnetic interference field 112 accordingly. For example, based on the value of the one or more output voltages 116 of the one or more sensors 114, the controller 104 can determine that the magnetic interference field 112 needs to be strengthened and increase the reference current signal 124 accordingly, such as by providing a current level selection signal of the control signal 122 that increases the DC level of the reference current signal 124. Similarly, the controller 104 can reduce the field strength of the field 112 by reducing the DC level of the reference current signal 124. The controller 104 can also determine that the field strength is sufficient and in response maintain the magnetic interference field 112 for a short period of time to interfere with the bit unit. As discussed below, Figure 2A and 3A An example of a system implementing one or more sensors in proximity to an MRAM cell array is shown in FIG.
[0098] In some embodiments, only one sensor 114 may be needed to calibrate the magnetic interference field 112, which is paired with a smaller antenna 130 implemented as a dedicated calibration antenna. The smaller antenna 130 generates a magnetic field representative of the magnetic interference field 112, and the single sensor 114 provides feedback to the controller 104. The controller 104 can then calibrate the magnetic interference field 112 based on the field output by the smaller antenna 130. In such embodiments, the signal generator 108 can also include a signal splitter or other device for providing a portion of the current signal 126 to the dedicated calibration antenna. As discussed below, Figure 5A An example of a dedicated calibration antenna is shown in .
[0099] Figure 2A is a top-down view of the xy plane, and Figure 2B 2 is a cross-sectional view in the z-direction showing details of an example coil antenna 130 implemented near the MRAM cell array 202. Figure 2B As shown, the MRAM cell array 202 and the sensor 114 are implemented on an active side 228 of a die 226, which may also include other active circuitry. The die 226 may be implemented on a semiconductor substrate, which may be any semiconductor material or combination of materials, such as gallium arsenide, silicon germanium, silicon on insulator (SOI), silicon, single crystal silicon, and the like, as well as combinations thereof.
[0100] like Figure 2B Also shown, antenna 130 is located above MRAM cell array 202 and is implemented in multiple conductive and dielectric layers formed over active side 228 of die 226. Figure 2A As shown, the antenna 130 includes several windings implemented in the xy plane of the patterned conductive layer 204. In the embodiment shown, the antenna 130 has a rectangular shape, wherein the windings are arranged relative to each other. Figure 2A The antenna 130 is implemented by a plurality of vertical portions 206 and horizontal portions 208 connected in series of the conductive layer 204. As used herein, with respect to the drawings, "vertical" generally indicates a direction from top to bottom, and "horizontal" generally indicates a left-right direction. In other embodiments, the antenna 130 may have different coil shapes, such as circular, elliptical, triangular, polygonal, or other irregular shapes implemented by curved, straight, or irregularly shaped portions of the conductive layer 204. The conductive layer 204 may be formed of a conductive material, examples of which include, but are not limited to, nickel, gold, copper, aluminum, or other suitable conductive metals or alloys composed of one or more suitable conductive metals.
[0101] Portions of the conductive layer 204 (such as portions 206 and 208) each have a width 212 and a thickness based on the thickness of the conductive layer 204. The portions are laterally separated from each other by spaces 214 to form a coil shape (e.g., vertical portion 206 is laterally separated from other vertical portions 206, and horizontal portion 208 is laterally separated from other horizontal portions 208). Generally, the width 212 should be large enough to handle the current signal 126 so as to induce the magnetic interference field 112 without overheating the MRAM cell array 202 or otherwise damaging the MRAM cell array 202. In some embodiments, a thicker conductive layer can be used to form the antenna 130, which increases the amount of current that the antenna can handle and enables the antenna to generate a stronger magnetic interference field 112. Each space 214 between the portions is filled with a dielectric material 210. The dielectric material 210 can be formed of an insulating material, examples of which can include, but are not limited to, silicon oxide, silicon nitride, silicon dioxide, silicon oxynitride, polyimide, other suitable materials including oxides, nitrides, etc.
[0102] The windings of antenna 130 are implemented in conductive layer 204 according to a coil pitch 230, where pitch 230 is equal to width 212 plus spacing 214. Figure 2B In the embodiment shown in , the width 212 and the spacing 214 are uniform, thereby providing a uniform pitch 230. In some embodiments, a minimum pitch of 37 μm (or microns) can be achieved, such as implementing a minimum width 212 of 35 μm and a minimum spacing 214 of 2 μm in one embodiment. By minimizing the pitch 230, the number of windings is increased, which enables the antenna 130 to generate a stronger magnetic interference field 112. In other embodiments, the width 212 is equal to the spacing 214, thereby providing a pitch 230 of 70 μm. In some embodiments, the width 212 and the spacing 214 can be selected to achieve a desired pitch-to-width ratio of 2:1.
[0103] The coil pitch 230 may also be optimized to obtain a more uniform field across the MRAM cell array 202, such as by implementing a graded pitch or a pitch that changes from the center of the antenna to the periphery of the antenna, such as Figure 3B 214. In such embodiments, the width 212 of the portions may vary, the size of the pitch 214 may vary, or both may vary. For example, the width of the portions closer to the center of the antenna 130 may be smaller than the width of the portions closer to the periphery of the antenna 130, or the width of the portions closer to the center of the antenna 130 may be larger than the width of the portions closer to the periphery of the antenna 130. Similarly, the spacing between portions closer to the center of the antenna 130 may be smaller than the spacing between portions closer to the periphery of the antenna 130, or the spacing between portions closer to the center of the antenna 130 may be larger than the spacing between portions closer to the periphery of the antenna 130.
[0104] Antenna 130 has two electrodes or wires 220 and 222. Figure 2B As shown, the electrodes 222 are implemented in another conductive layer 232 below the conductive layer 204, and the electrodes 222 in the layer 204 are separated vertically from the windings by the dielectric material 210 (e.g., relative to the Figure 2B In the conductive layer 204, a via 224 or other connection is formed as a central portion 234 (relative to Figure 2A , the center portion 234 can be part of the vertical portion 206 or the horizontal portion 208), thereby electrically contacting the electrode 222. The electrodes 220 and 222 are configured to receive the current signal 126 or a negative power supply signal (such as ground), depending on the switch setting in the signal generator 108. For example, the electrode 220 can be coupled to the current signal 126 (such as, in some embodiments, through an amplifier), and the electrode 222 can be coupled to the ground, which drives the current signal 126 through the antenna 130 in a first direction to generate a first polarity magnetic interference field. The current signal 126 and the ground signal can be switched to the electrodes 222 and 220, respectively, which drives the current signal 126 through the antenna 130 in a second direction opposite to the first direction to generate a second polarity magnetic interference field, wherein the second polarity is opposite to the first polarity. When driven with the current signal 126, the antenna 130 is in the z-direction (or relative to Figure 2B , in the vertical direction) generates a magnetic interference field which can be directed in the upward or downward z-direction, depending on the polarity of the field.
[0105] The MRAM cell array 202 has an outer perimeter within which the MRAM bit cells are located, such as Figure 2A. The antenna 130 has a footprint (or area) within which the windings of the antenna 130 are contained, the footprint generally corresponding to the total length 218 and the total width 216. Although the windings of the antenna 130 generate a substantially uniform magnetic interference field 112 within the footprint, the magnetic field strength of the field 112 depends on the distance from the antenna 130, which generally decreases or falls with increasing distance. In the illustrated embodiment, the footprint of the antenna 130 is larger than the outer perimeter of the MRAM cell array 202, which may be preferred to ensure that the magnetic interference field 112 delivers the desired magnetic field strength to all bit cells in the array 202. For example, the footprint of the antenna 130 may be 600 μm×600 μm. In other embodiments, the footprint of the antenna 130 is smaller than the outer perimeter of the MRAM cell array 202, and the magnetic interference region 112 is strong enough to deliver at least the minimum magnetic field strength to all bit cells in the array 202, including those located outside the footprint of the antenna. In both types of embodiments, antenna 130 exposes the bit cell to a magnetic interference field 112, which may be adjusted by controller 104 to be strong enough to interfere with potentially weak bits, as discussed further below.
[0106] In the illustrated embodiment, the sensor 114 is laterally adjacent to one side of the MRAM cell array 202, while in other embodiments, the sensor 114 may be laterally adjacent to a corner of the MRAM cell array 202 (eg, Figure 3A In the illustrated embodiment, the sensor 114 has an outer periphery ( Figure 2A 130 ), the outer perimeter at least partially falls within the footprint of the antenna 130, which may be preferred to ensure that the sensor 114 receives a magnetic field strength comparable to that received by the bit cells of the array 202 (or at least comparable to the bit cells on the outer edge of the array 202). In other embodiments, the outer perimeter of the sensor 114 may fall outside the footprint of the antenna 130 (but close enough to the antenna 130 to properly calibrate the magnetic interference field 112), wherein the amount of magnetic field strength of the magnetic interference field 112 received by the sensor 114 is reduced. In both types of embodiments, the sensor 114 indicates the field strength of the magnetic interference field 112 at the location of the sensor to the controller 104. The controller 104 then determines whether the field strength of the magnetic interference field 112 should be increased or decreased to achieve a minimum magnetic field strength at the location of the sensor, which ensures that the bit cells of the MRAM cell array located closer to the antenna 130 are receiving a desired field strength that is greater than the minimum field strength.
[0107] Although the magnetic interference field 112 is substantially uniform, the magnetic field strength of the field 112 can vary across the MRAM cell array, depending on the antenna implementation. For example, bit cells located near the conductive winding (e.g., directly under the conductive portion) can receive a greater field strength than those bit cells located between the windings (e.g., directly under the dielectric material). In addition, the magnetic field strength of the field 112 decreases as the distance from the antenna 130 increases. Therefore, the magnetic field strength can be viewed as having a normal distribution curve (e.g., a bell curve). Typically, the magnetic interference field 112 should have a minimum magnetic field strength of 100 Oe at the tail end of the distribution, which is strong enough to cause a potential weak bit flip. Depending on the antenna implementation and the current signal used to drive the antenna, the peak of the distribution can have a magnetic field strength of 500 Oe or greater.
[0108] It should also be noted that the magnetic interference field 112 is generated for a very short time, which is at least long enough to cause a weak bit flip, such as about a few microseconds to a few milliseconds. This allows a larger current to be driven on the antenna 130 than would normally be provided (for example, driving a larger current for a longer time may cause overheating or breakdown), which can generate a stronger magnetic interference field 112. However, the width 212 of the antenna's coil may still limit the amount of current that can be safely handled by the antenna 130. For example, a width of 4 μm may limit the antenna 130 to handle a current of approximately 48 mA, while a width of 35 μm may have a larger limit of approximately 1680 mA. The number of windings or loops implemented in the antenna 130 also affects the field strength of the magnetic interference field 112, with each loop effectively acting as a multiplier of the magnetic field strength.
[0109] Figure 3A is a top-down view of an MRAM IP block 102 including an MRAM cell array implementing two sub-arrays 202(1) and 202(2), and Figure 3B 1 is a top-down view of an example magnetic field generator 110 including two antennas 130(1) and 130(2) configured to cover sub-arrays 202(1) and 202(2), respectively. Although two sub-arrays 202(1)-(2) and two antennas 130(1)-(2) are shown, in other embodiments, additional sub-arrays 202 with corresponding antennas 130 may be implemented.
[0110] exist Figure 3AA simplified MRAM bit cell 302 of the MRAM array 202 is shown within the dashed circle of FIG. The MRAM bit cell 302 includes a magnetic tunnel junction (MTJ) core formed by a first ferromagnetic layer 304, a second ferromagnetic layer 306, and an insulating layer 308 between the layers 304 and 306. The MTJ core is connected between an upper electrode 310 and a lower electrode 312, which can be metal wires extending perpendicular to each other. In this example, the first ferromagnetic layer 304 can be a free magnetic layer because its magnetization direction can be switched to change the bit state of the bit cell 302, and the second ferromagnetic layer 306 can be a fixed magnetic layer because its magnetization direction is configured not to rotate or change direction with a normal write field. The resistance across the bit cell 302 is lower when the magnetization in the first ferromagnetic layer 304 is parallel to the magnetization in the second ferromagnetic layer 306 than when the magnetization in the first ferromagnetic layer 304 is antiparallel to the magnetization in the second ferromagnetic layer 306. The data (eg, 0 or 1) is determined by measuring the resistance of the bit cell 302 .
[0111] The MRAM IP block 102 also includes access circuitry 314 for reading from and writing to each bit cell 302, which may include a plurality of conductive lines (commonly referred to as bit lines and digit lines or word lines) that are electrically connected or coupled to electrodes of each MRAM cell 302. The access circuitry 314 may also include additional circuitry, such as an isolation transistor for each bit cell, a sense amplifier for reading the bit cell, and programming circuitry for writing to the bit cell.
[0112] In the illustrated embodiment, four sensors 114(1)-(4) are implemented at the corners of subarray 202(1), and four sensors 114(5)-(8) are implemented at the corners of subarray 202(2). Figure 2A and 2B In the manner shown in FIG. 1 , antenna 130(1) is formed over subarray 202(1), and antenna 130(2) is formed over subarray 202(2). Antenna 130(1) generates field 112(1) across the bit cells of subarray 202(1) and sensors 114(1)-(4), and antenna 130(2) generates field 112(2) across the bit cells of subarray 202(2) and sensors 114(5)-(8). Each sensor 114 provides feedback to controller 104 to ensure that all bit cells within each subarray 202 receive field 112(1)-(2), respectively, at a strength sufficient to interfere with weak bits.
[0113] Note that antennas 130(1)-(2) are implemented with a graded pitch 316, where a larger pitch 316(1) is implemented near the center of antennas 130(1)-(2) and a smaller pitch 316(2) is implemented near the perimeter of antennas 130(1)-(2). Both antennas 130(1)-(2) produce a substantially uniform magnetic interference field 112, where a minimum magnetic field strength is delivered to all bit cells of subarrays 202(1)-(2). In other embodiments, different sized pitches and widths may be implemented. For example, having Figure 2A The antenna 130 of the shape shown in FIG. 1 may be implemented for each subarray 202 ( 1 )-( 2 ) rather than for antennas 130 ( 1 )-( 2 ) having a graded pitch.
[0114] Figure 5A A top-down view of an example dedicated calibration antenna 530 and its corresponding magnetic field 512 is shown, and Figure 5B A top-down view of an example antenna 130 and its corresponding magnetic interference field 112 is shown. Antenna 530 can be implemented in magnetic field generator 110 to perform calibration of magnetic interference field 112 without placing one or more sensors 114 near MRAM cell array 202. As shown, antenna 530 is a replica of one or more antennas 130 used to generate magnetic interference field 112 (1). Antenna 530 is positioned above dedicated calibration sensor 114 to expose sensor 114 to magnetic field 512, while antenna 130 is positioned above MRAM cell array 202 to expose array 202 to magnetic interference field 112. Although Figure 5A A single array 202 is shown in FIG. 1 , but the MRAM cell array may include several sub-arrays, each of which has Figure 3A and 3B A corresponding antenna 130 is shown.
[0115] The antenna 530 is configured to receive at least a portion of the current signal 126 provided to the antenna 130. The antenna 530 is configured to generate a magnetic field 512 received by the sensor 114. The field strength of the magnetic field 512 is proportional to the field strength of the magnetic interference field 112 generated by the antenna 130 based on a predetermined ratio between the portion of the current signal 126 implemented by the signal generator 108 (e.g., implemented by a signal splitter or other circuit in the signal generator 108) and the full current signal 126. The controller 104 is configured to receive the output voltage from the sensor 114 and determine whether the magnetic field strength of the field 112 should be increased, decreased, or maintained based on the magnetic field strength of the field 512.
[0116] Figure 4is a flow chart depicting an example diagnostic process implemented by the MRAM diagnostic system 100. For example, the controller 104 may trigger the operation of the diagnostic process, which is then implemented by various components of the MRAM diagnostic system 100. Any of the above-described embodiments of the system 100 may implement the process. The process may be triggered upon startup or reset of an MRAM IP block 102 in a memory device, where the MRAM diagnostic system 100 is implemented as part of the memory device.
[0117] The process begins at operation 402, where the system enters a diagnostic mode. The process continues to operation 404, where all bit cells of the MRAM cell array (including all bit cells of any subarray) are pre-conditioned (or programmed or written) to a data value of 1. For example, the controller 104 can instruct the MRAM memory controller to write a data value of 1 to all bit cells. The process continues to operation 406, where a predetermined positive magnetic interference field is applied to the MRAM cell array. For example, the controller 104 can send an enable control signal (e.g., turning on the current source 106) and a current level selection signal to the current source 106, which outputs a corresponding reference current 124 to the signal generator 108 at a predetermined DC current level (based on the selection signal). The signal generator 108 receives the direction indication control signal from the controller 104 and drives an appropriate current signal 126 (based on the reference current 124) on one or more antennas 130 to generate a magnetic interference field.
[0118] As discussed above, the magnetic interference field has a predetermined field strength and polarization. Positive polarization is achieved by directing the current signal through each of the one or more antennas 130 in a first direction according to the direction indication provided by the controller 104. The magnetic interference field can be calibrated as part of the initialization of operation 406 using one or more sensors 114, which can be positioned adjacent to the MRAM cell array and positioned near the MRAM cell array, or can be positioned together with a dedicated calibration antenna. Based on the output of the one or more sensors 114, the controller 104 can adjust the current level of the current signal 126, such as by increasing or decreasing the DC current level output by the current source 106. The adjusted current signal 126 then adjusts the current field strength of the magnetic interference field to be closer to the predetermined field strength. Once it is determined that the magnetic interference field has a predetermined field strength (or is within an acceptable margin of the predetermined field strength), the magnetic interference field is maintained for a short period of time to interfere with the bit cell. Once the time is completed, the controller 104 disables the current source 106, and the signal generator 108 stops driving the current signal 126 on the one or more antennas 130, which stops generating the positive magnetic interference field. In some embodiments, the controller 104 also includes a memory (e.g., a register, a buffer, etc.) for storing the current DC current level value as a predetermined current level for generating the next magnetic interference field.
[0119] The process continues to operation 408, where an ECC read operation is performed on the MRAM cell array. After exposure to the magnetic interference field, any potential weak bits may have flipped from 1 to 0. The ECC read operation is performed to detect and correct bit errors in the MRAM cell array based on the correction capabilities of the ECC (e.g., single-bit correction, double-bit correction, etc.). For example, the controller 104 can instruct the MRAM memory controller to perform an ECC read operation. If any uncorrectable reads are encountered, such as when more bit errors occur than the ECC correction can handle, then the ECC flag is set (e.g., logic high to indicate that an uncorrectable error was found), which is also referred to as setting a failure state.
[0120] The process continues to operation 410, which determines whether any uncorrectable reads are found, such as by the controller 104 checking whether the ECC flag is set. If any uncorrectable reads are found, the diagnostic mode indicates a failure and the process continues to operation 412, which performs actions to address the failure. For example, the controller 104 can determine whether the location (such as a sector or word) containing the uncorrectable read should be retired, and can instruct the MRAM memory controller to identify the location as retired. The process then ends (e.g., exiting the diagnostic mode), but the process can be repeated to check the rest of the MRAM cell array, with each ECC read operation avoiding any retired locations (such as sectors or words).
[0121] In embodiments where the MRAM cell array is implemented as part of a non-failure system, any uncorrectable reads indicate an impending failure condition of the MRAM cell array. As a result, the diagnostic system 100 can be configured to alert the non-failure system (e.g., an automotive system) of the failure condition as part of operation 412. The non-failure system can take evasive action to prevent application failure, such as retiring the location containing the uncorrectable read, switching to a spare MRAM cell array (if available), or as a worse case option by disabling or disconnecting the MRAM cell array.
[0122] Returning to operation 410, if an uncorrectable read is not detected, the process continues to operation 414, where a predetermined negative interference field is applied to the MRAM cell array. For example, the controller 104 enables the current source 106 and provides a current level selection signal indicating a predetermined DC current level. The controller 104 also provides a direction indication opposite to the direction indication given in operation 406. Negative polarization is achieved by directing the current signal through one or more antennas 130 in the opposite direction (according to the direction indication), and the opposite direction is a second direction opposite to the first direction. At this point, the field strength of the magnetic interference field has been calibrated. As a result, the negative magnetic interference field is maintained for a certain short time to interfere with the bit cell. Once completed, the controller 104 disables the current source 106, and the signal generator 108 stops driving the current signal 126, which stops generating the negative magnetic interference field.
[0123] The process continues to operation 416 where another ECC read operation is performed on the MRAM cell array similar to that discussed above in operation 408. The process continues to operation 418 where it is determined whether any uncorrectable reads were found, such as by checking whether the ECC flag is set by the controller 104. If any uncorrectable reads were found, then the diagnostic mode indicates a failure and the process continues to operation 412 where actions to address the failure are performed as described above.
[0124] Returning to operation 418, if an uncorrectable read is not detected, the process continues to operation 420, where all bit cells of the MRAM cell array (including all bit cells of any subarray) are pre-processed (or programmed or written) to a data value of 0. For example, the controller 104 can instruct the MRAM memory controller to write a data value of 0 to all bit cells. The process continues to operation 422, where a predetermined positive magnetic interference field is applied to the MRAM cell array in a manner similar to that described above in operation 406. As described above, positive polarization is achieved by directing a current signal through one or more antennas 130 in a first direction. As also described above in operation 406, the magnetic interference field can be calibrated as part of the initialization of operation 422 using one or more sensors 114. Once it is determined that the magnetic interference field has a predetermined field strength, the magnetic interference field is maintained for a small amount of time to interfere with the bit cells, and then stopped.
[0125] The process continues to operation 424 where another ECC read operation is performed on the MRAM cell array similar to that discussed above in operation 408. After exposure to the magnetic disturbance field, any potential weak bits may have flipped from 0 to 1, which is detected during the ECC read operation. The process continues to operation 426 where it is determined whether any uncorrectable reads were found, such as by the controller 104 checking whether the ECC flag is set. If any uncorrectable reads were found, the diagnostic mode indicates a failure and the process continues to operation 412 where actions to address the failure are performed as described above.
[0126] Returning to operation 426, if an uncorrectable read is not detected, the process continues to operation 428, where a predetermined negative disturbance field is applied to the MRAM cell array in a manner similar to that described above in operation 414. Negative polarization is achieved by directing a current signal in a reverse direction or in a second direction opposite to the first direction through the one or more antennas 130. At this point, the field strength of the magnetic disturbance field has been calibrated, and the negative magnetic disturbance field is maintained for a small amount of time to disturb the bit cell, and then stopped.
[0127] The process continues to operation 430, where another ECC read operation is performed on the MRAM cell array similar to that discussed above in operation 408. The process continues to operation 432, which determines whether any uncorrectable reads are found, such as by the controller 104 checking whether the ECC flag is set. If any uncorrectable reads are found, the diagnostic mode indicates a failure and the process continues to operation 412, which performs actions to resolve the failure as described above. If no uncorrectable reads are found, the diagnostic mode is passed and the process ends with operation 434, which can include recording a successful diagnostic test in a log (also referred to as setting a pass status). The MRAM system 100 can then return to the operating mode.
[0128] Note that the magnitude of the field strength of the magnetic interference field generated in operations 406, 414, 422, and 428 may be the same magnitude. Typically, the first magnetic interference field and the third magnetic interference field have the same polarity (e.g., positive), and the second magnetic interference field and the fourth magnetic interference field have the same polarity, which is opposite to the first polarity (e.g., negative). Depending on the needs of the system 100, in some embodiments, the second calibration at operation 422 may be optional.
[0129] The active circuitry including components of the MRAM diagnostic system 100 is formed on a semiconductor substrate such as a wafer, which may be singulated in a plurality of dies 226, such as by using a series of many process steps applied to the semiconductor substrate, including but not limited to: depositing semiconductor materials including dielectric materials and metals, such as growth, oxidation, sputtering, and conformal deposition; etching the semiconductor material, such as using a wet etchant or a dry etchant; planarizing the semiconductor material, such as performing chemical mechanical polishing or planarization; performing photolithography for patterning, including depositing and removing photolithographic masks or other photoresist materials, ion implantation, annealing, and the like. Examples of integrated circuit components include but are not limited to processors, memories, logic, analog circuitry, sensors, MEMS (micro-electromechanical systems) devices, stand-alone discrete devices such as resistors, inductors, capacitors, diodes, power transistors, and the like. In some embodiments, the active circuitry may be a combination of the integrated circuit components listed above or may be another microelectronic device.
[0130] System 100 may be implemented as an integrated circuit (IC), which may be formed as part of a semiconductor die. The IC may be attached to an underlying carrier substrate (such as a microcontroller board or PCB) to form part of a memory device, wherein the carrier substrate includes conductive features on a non-conductive substrate formed using polyimide or FR4 or BT resin. In some embodiments, the IC may include the above combined Figure 1 In other embodiments, Figure 1 The components shown in may be implemented in multiple separate ICs, which may be attached to and connected to each other via a carrier substrate.
[0131] By now it should be appreciated that an MRAM diagnostic system has been provided that is configured to identify impending read failures in an MRAM cell array by applying a predetermined magnetic disturbance field and looking for uncorrectable read locations. The diagnostic system can then take evasive action to prevent catastrophic application failures, such as retiring sectors or locations with read failures.
[0132] In one embodiment of the present disclosure, a method for operating a magnetoresistive random access memory (MRAM) diagnostic system is provided, the method comprising: pre-processing all bit cells in an MRAM cell array to a data value of one during a diagnostic mode, wherein the MRAM cell array is implemented in an active side of a semiconductor substrate; after the pre-processing, applying a first magnetic interference field with a predetermined field strength to the MRAM cell array, wherein the first magnetic interference field is generated by an antenna implemented in a plurality of conductive and dielectric material layers above the active side of the semiconductor substrate; after the applying of the first magnetic interference field, performing a first error correction code (ECC) read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the first ECC read operation, setting a fail state and exiting the diagnostic mode.
[0133] An aspect of the above embodiment provides that applying the first magnetic interference field includes: driving a current signal through the antenna in a first direction, wherein the first magnetic interference field has a first polarity.
[0134] Another aspect of the above embodiment provides that applying the first magnetic interference field includes: generating a pulse current signal according to a predetermined duty cycle at a predetermined frequency, wherein the values of the predetermined duty cycle and the predetermined frequency are selected to obtain the pulse current signal suitable for generating the first magnetic interference field.
[0135] Another aspect of the above embodiment is that applying the first magnetic interference field includes: using one or more sensors to calibrate the first magnetic interference field to the predetermined field strength to detect the current field strength of the first magnetic interference field, wherein the current level is increased or decreased to increase or decrease the current field strength to the predetermined field strength, respectively.
[0136] Another aspect of the above embodiment provides that the predetermined field strength is strong enough to disturb weak bit cells in the MRAM cell array so as to flip their data values.
[0137] Another aspect of the above embodiment provides that the method further comprises: in response to detecting that the fail status is set, retiring the locations containing the uncorrectable read, wherein the first ECC operation avoids reading any retired locations.
[0138] Another aspect of the above embodiment provides that the MRAM cell array is one of a plurality of subarrays, and the antenna is one of a plurality of antennas implemented above the corresponding subarray, and each antenna is configured to generate a corresponding first magnetic interference field.
[0139] Another aspect of the above embodiment provides that the method further includes: in response to not detecting an uncorrectable read during the first ECC read operation, applying a second magnetic interference field with the predetermined field strength to the MRAM cell array, wherein the second magnetic interference field is generated by the antenna; after applying the second magnetic interference field, performing a second ECC read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the second ECC read operation, setting the failure state and exiting the diagnostic mode.
[0140] Still another aspect of the above embodiment provides that applying the second magnetic interference field includes: driving the current signal through the antenna in a second direction opposite to the first direction, wherein the second magnetic interference field has a second polarity opposite to the first polarity.
[0141] Yet another aspect of the above embodiment provides that the method further includes: in response to not detecting an uncorrectable read during the second ECC read operation, preprocessing all bit cells in the MRAM cell array to a data value of zero; after the preprocessing, applying a third magnetic interference field with the predetermined field strength to the MRAM cell array, wherein the third magnetic interference field is generated by the antenna; after the applying of the third magnetic interference field, performing a third ECC read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the third ECC read operation, setting the failure state and exiting the diagnostic mode.
[0142] Still another aspect of the above embodiment provides that applying the third magnetic interference field includes: driving the current signal through the antenna in the first direction, wherein the third magnetic interference field has the first polarity.
[0143] Another yet further aspect of the above embodiment provides that applying the third magnetic interference field includes: using one or more sensors to calibrate the third magnetic interference field to the predetermined field strength to detect the current field strength of the third magnetic interference field, wherein the current level is increased or decreased to increase or decrease the current field strength to the predetermined field strength, respectively.
[0144] Even further aspects of the above embodiments provide that the method further comprises: in response to determining that there is no uncorrectable read during the third ECC read operation, applying a fourth magnetic interference field having the predetermined field strength to the MRAM cell array; after the applying of the fourth magnetic interference field, performing a fourth ECC read operation to read the MRAM cell array; in response to determining at least one uncorrectable read during the fourth ECC read operation, setting the failure state and exiting the diagnostic mode.
[0145] Another even further aspect of the above embodiment provides that the method further comprises: in response to determining that there are no uncorrectable reads during the fourth ECC read operation, setting a pass status and exiting the diagnostic mode.
[0146] In another embodiment of the present disclosure, a magnetoresistive random access memory (MRAM) diagnostic system is provided, the MRAM diagnostic system comprising: an MRAM cell array, the MRAM cell array being implemented in an active side of a semiconductor substrate; an antenna, the antenna being implemented in a plurality of conductive and dielectric material layers above the active side of the semiconductor substrate; a signal generator, the signal generator being configured to drive a current signal on the antenna; and a controller, the controller being configured to: pre-process all bit cells in the MRAM cell array to a data value of one during a diagnostic mode; trigger the signal generator to drive the antenna to generate a first magnetic interference field having a predetermined field strength; after the generating of the first magnetic interference field, perform a first error correction code (ECC) read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the first ECC read operation, set a failure state and exit the diagnostic mode.
[0147] One aspect of the above embodiment provides that the MRAM diagnostic system further includes: one or more magnetic field sensors laterally adjacent to the MRAM cell array, wherein each of the one or more magnetic field sensors is configured to output a signal indicating the field strength of the first magnetic interference field; and a current source, the current source being configured to output a reference current to the signal generator; wherein the controller is further configured to: receive corresponding signals from the one or more magnetic field sensors; determine whether the current field strength of the first magnetic interference field should be adjusted to reach the predetermined field strength; and adjust the current current level of the reference current based on the determination.
[0148] Another aspect of the above embodiment provides that the controller is further configured to: in response to not detecting an uncorrectable read during the first ECC read operation, trigger the signal generator to drive the antenna to generate a second magnetic interference field with the predetermined field strength; after generating the second magnetic interference field, perform a second ECC read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the second ECC read operation, set the failure state and exit the diagnostic mode.
[0149] Another aspect of the above embodiment provides that the controller is further configured to: in response to detecting an uncorrectable read during the second ECC read operation, preprocess all bit cells in the MRAM cell array to a data value of zero; trigger the signal generator to drive the antenna to generate a third magnetic interference field with the predetermined field strength; after generating the third magnetic interference field, perform a third ECC read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the third ECC read operation, set the failure state and exit the diagnostic mode.
[0150] Still another aspect of the above embodiment provides that the controller is further configured to: in response to not detecting an uncorrectable read during the third ECC read operation, trigger the signal generator to drive the antenna to generate a fourth magnetic interference field with the predetermined field strength; after generating the fourth magnetic interference field, perform a fourth ECC read operation to read the MRAM cell array; and in response to detecting at least one uncorrectable read during the fourth ECC read operation, set the failure state and exit the diagnostic mode.
[0151] Yet another aspect of the above embodiment provides that the signal generator is configured to drive the current signal on the antenna in a first direction to generate a first polarity magnetic interference field, and the signal generator is further configured to drive the current signal on the antenna in a second direction opposite to the first direction to generate a second polarity magnetic interference field, the second polarity is opposite to the first polarity, the first magnetic interference field and the third magnetic interference field have the first polarity, and the second magnetic interference field and the fourth magnetic interference field have the second polarity.
[0152] Because the apparatus implementing the present invention is largely composed of electronic components and circuits known to those skilled in the art, as described above, the circuit details will not be explained more than is deemed necessary in order to facilitate understanding and appreciation of the basic concepts of the present invention and to avoid obscuring or diverting attention away from the teachings of the present invention.
[0153] As used herein, "node" means any internal or external reference point, connection point, junction, signal line, conductive element, etc., at which a given signal, logic level, voltage, data pattern, current or quantity exists. In addition, two or more nodes may be implemented by one physical element (and two or more signals may be multiplexed, modulated, or otherwise distinguished even when received or output in a common mode).
[0154] The following description refers to nodes or features that are "connected" or "coupled" together. As used herein, unless otherwise expressly stated, "coupling" means that one node or feature is directly or indirectly connected to another node or feature (or is directly or indirectly connected to another node or feature), and is not necessarily physical. As used herein, unless otherwise expressly stated, "connection" refers to a node or feature being directly connected to another feature or node (or being directly connected to another node or feature). For example, a switch can be "coupled to multiple nodes", but all those nodes do not need to always be "connected" to each other; the switch can connect different nodes to each other depending on the state of the switch. In addition, although the various schematic diagrams shown herein depict certain example arrangements of elements, in actual embodiments, there may be additional intervening elements, devices, features, or components (assuming that the function of a given circuit is not adversely affected).
[0155] In some embodiments, the switches may be implemented using one or more transistors (e.g., n-channel or p-channel transistors) or other suitable switching devices. The switch control signals are each configured to open or close the corresponding switch (e.g., to close the switch and complete the path between the first end and the second end of the switch by making the switch conductive, or to open the switch and destroy the path between the first end and the second end of the switch by making the switch non-conductive).
[0156] It should be noted that as used herein, the term "neighboring" means "adjacent to" (e.g., immediately adjacent to and without any intervening objects), and as used herein, "laterally" means "in a lateral direction" (e.g., a horizontal direction parallel to the plane of the substrate).
[0157] As used herein, the terms "substantially" and "essentially" mean sufficient to achieve the stated purpose or value in a practical manner, taking into account any minor defects or deviations caused by usual and expected anomalies that may occur during operation, if any, which are not important for the stated purpose or value. Also as used herein, the terms "approximately" and "about" mean a value that is close to or within an acceptable range of an indicated value, quantity, or quality, which also includes the exact indicated value itself.
[0158] Although the present invention is described herein with reference to specific embodiments, various modifications and changes may be made without departing from the scope of the present invention as set forth in the claims below. For example, additional or fewer sensors may be implemented in FIG. 3 . Therefore, the present specification and drawings should be regarded as illustrative rather than restrictive, and all such modifications are intended to be included within the scope of the present invention. Any benefits, advantages, or solutions to problems described herein with respect to specific embodiments are not intended to be construed as key, required, or essential features or elements of any or all of the claims.
[0159] Furthermore, the terms "front", "back", "top", "bottom", "above", "below", etc., if any, in the description and claims are used for descriptive purposes and are not necessarily intended to describe invariant relative positions. It is understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other orientations than those illustrated or otherwise described herein.
[0160] In addition, the terms "a" or "an" as used herein are defined as one or more than one. Moreover, the use of introductory phrases such as "at least one" and "one or more" in the claims should not be interpreted as implying that another claim element introduced by the indefinite article "a" or "an" will limit any particular claim containing such introduced claim element to an invention containing only one such element, even when the same claim includes the introductory phrases "one or more" or "at least one" and an indefinite article such as "a" or "an". The same is true for the use of definite articles.
[0161] Unless otherwise stated, terms such as "first" and "second" are used to arbitrarily distinguish between the elements such terms describe. Therefore, these terms are not necessarily intended to indicate temporal or other prioritization of such elements.
Claims
1. A method for operating a magnetoresistive random access memory (MRAM) diagnostic system, characterized in that: The method comprises: preconditioning all bit cells in an MRAM cell array to a data value of one during a diagnostic mode, wherein the MRAM cell array is implemented in an active side of a semiconductor substrate; applying a first magnetic interference field having a predetermined field strength to the MRAM cell array after the pre-processing, wherein the first magnetic interference field is generated by an antenna implemented in a plurality of conductive and dielectric material layers over the active side of the semiconductor substrate; After applying the first magnetic interference field, performing a first error correction code (ECC) reading operation to read the MRAM cell array; and In response to detecting at least one uncorrectable read during the first error correction code (ECC) read operation, a fail status is set and the diagnostic mode is exited.
2. The method according to claim 1, characterized in that The applying the first magnetic interference field comprises: A driving current signal passes through the antenna in a first direction, wherein the first magnetic interference field has a first polarity.
3. The method according to claim 1, characterized in that The applying the first magnetic interference field comprises: A pulse current signal is generated at a predetermined frequency according to a predetermined duty cycle, wherein the values of the predetermined duty cycle and the predetermined frequency are selected to obtain the pulse current signal suitable for generating the first magnetic interference field.
4. The method according to claim 1, characterized in that: The applying the first magnetic interference field comprises: The first magnetic interference field is calibrated to the predetermined field strength using one or more sensors to detect a current field strength of the first magnetic interference field, wherein a current level is increased or decreased to increase or decrease the current field strength to the predetermined field strength, respectively.
5. A magnetoresistive random access memory (MRAM) diagnostic system, characterized in that: include: an MRAM cell array implemented in an active side of a semiconductor substrate; an antenna implemented in a plurality of layers of conductive and dielectric materials over the active side of the semiconductor substrate; a signal generator configured to drive a current signal on the antenna; as well as A controller, the controller being configured to: preconditioning all bit cells in the MRAM cell array to a data value of one during a diagnostic mode; triggering the signal generator to drive the antenna to generate a first magnetic interference field with a predetermined field strength; After said generating said first magnetic interference field, performing a first error correction code (ECC) reading operation to read said MRAM cell array; and In response to detecting at least one uncorrectable read during the first error correction code (ECC) read operation, a fail status is set and the diagnostic mode is exited.
6. The magnetoresistive random access memory MRAM diagnostic system according to claim 5, characterized in that: Further including: one or more magnetic field sensors laterally adjacent to the MRAM cell array, wherein each of the one or more magnetic field sensors is configured to output a signal indicative of a field strength of the first magnetic interference field; as well as a current source configured to output a reference current to the signal generator; in The controller is further configured to: receiving corresponding signals from the one or more magnetic field sensors; determining whether the current field strength of the first magnetic interference field should be adjusted to reach the predetermined field strength; and Based on the determination, a present current level of the reference current is adjusted.
7. The magnetoresistive random access memory (MRAM) diagnostic system according to claim 5, characterized in that: The controller is further configured to: In response to not detecting an uncorrectable read during the first ECC read operation, triggering the signal generator to drive the antenna to generate a second magnetic interference field having the predetermined field strength; After generating the second magnetic interference field, performing a second ECC read operation to read the MRAM cell array; and In response to detecting at least one uncorrectable read during the second ECC read operation, the fail status is set and the diagnostic mode is exited.
8. The magnetoresistive random access memory MRAM diagnostic system according to claim 7, characterized in that: The controller is further configured to: in response to detecting an uncorrectable read during the second ECC read operation, preconditioning all bit cells in the MRAM cell array to a data value of zero; triggering the signal generator to drive the antenna to generate a third magnetic interference field having the predetermined field strength; After generating the third magnetic interference field, performing a third ECC read operation to read the MRAM cell array; and In response to detecting at least one uncorrectable read during the third ECC read operation, the fail status is set and the diagnostic mode is exited.
9. The magnetoresistive random access memory MRAM diagnostic system according to claim 8, characterized in that: The controller is further configured to: In response to not detecting an uncorrectable read during the third ECC read operation, triggering the signal generator to drive the antenna to generate a fourth magnetic interference field having the predetermined field strength; After generating the fourth magnetic interference field, performing a fourth ECC read operation to read the MRAM cell array; and In response to detecting at least one uncorrectable read during the fourth ECC read operation, the fail status is set and the diagnostic mode is exited.
10. The magnetoresistive random access memory MRAM diagnostic system according to claim 9, characterized in that: The signal generator is configured to drive the current signal on the antenna in a first direction to generate a first polarity magnetic interference field, The signal generator is further configured to drive the current signal on the antenna in a second direction opposite to the first direction to generate a second polarity magnetic interference field, the second polarity being opposite to the first polarity, The first magnetic interference field and the third magnetic interference field have the first polarity, and The second magnetic interference field and the fourth magnetic interference field have the second polarity.
