Memory device and method for operating memory device
By storing private program codes in RRAM and using lock bit circuits to determine the programming status, the problems of difficulty in programming OTP memory devices in integrated circuits and insufficient data security are solved, achieving efficient and reliable data storage.
Patent Information
- Application Number
- CN202311646797.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-08
- Filing Date
- 2023-12-04
- Publication Date
- 2024-10-08
AI Technical Summary
After the interconnection structure width of existing OTP memory devices is reduced in integrated circuits, the programming of fuse elements becomes challenging, and the security and reliability of data storage are insufficient.
Using a resistive random access memory (RRAM) cell array, the private program code is stored in the RRAM part, and the lock bit circuit is used to determine whether it has been programmed, and a low-programming method is used to perform OTP operations to ensure data security. Security and reliability.
It achieves efficient storage of private program codes in RRAM, improves data security and storage reliability, reduces programming resource consumption, and avoids the risk of repeated programming.
Smart Images

Figure CN118748034A_ABST
Abstract
Description
Technical Field
[0001] An embodiment of the present disclosure relates to a memory device and a method for operating the memory device, and more particularly to a memory device based on resistance random access memory and a method for operating the memory device. Background Art
[0002] With the increased use of integrated circuits in electronic devices that provide different types of information for a variety of different applications, there has been an increased need to properly protect sensitive and / or critical information that may be stored within an electronic device to limit access to such information to only other devices that are authorized to access the information. Some examples of applications include device authentication, protection of trusted information within a device, and securing communications between two or more devices. Summary of the invention
[0003] A memory device includes a first memory array, a second memory array, and a lock bit circuit. The first memory array includes a plurality of first memory bits, each of which is configured as a one-time programmable memory bit. The second memory array includes a plurality of second memory bits, each of which is configured as a multiple-time programmable memory bit. The lock bit circuit is operatively coupled to the first memory array. The lock bit circuit generates a lock bit, which indicates whether at least one of the first memory bits has been programmed.
[0004] A memory device includes a first memory array and a lock bit circuit. The first memory array includes a plurality of first memory bits, each of the first memory bits includes a first access transistor and a first resistor coupled in series, the first resistor having a first variable resistance. The lock bit circuit is operatively coupled to the first memory array. The lock bit circuit generates a lock bit indicating whether at least one of the first memory bits has been permanently programmed from having a first resistance value to having a second resistance value, the second resistance value being substantially lower than the first resistance value.
[0005] A method for operating a memory device comprises the following steps: providing a memory array, the memory array comprising a plurality of RRAM bits; permanently programming at least one RRAM bit based on changing a resistance value of at least one of the RRAM bits; comparing the resistance value of the at least one RRAM bit with a reference resistance value; and generating a lock bit based on the comparison result, the lock bit indicating whether the at least one RRAM bit has been permanently programmed. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] An aspect of an embodiment of the present disclosure is as follows Figure 1 It is best understood from the following detailed description when read together. It should be noted that, in accordance with standard industry practice, various features are not drawn to scale. It should be noted that the sizes of various features may be arbitrarily increased or reduced for clarity of discussion.
[0007] Figure 1 A cross-sectional diagram illustrating the operation of a resistive random access memory (RRAM) according to some embodiments;
[0008] Figure 2 illustrates a block diagram of a system including a RRAM one-time-programmable (OTP) device according to some embodiments;
[0009] Figure 3 is an example flow chart of a method for providing RRAM OTP according to some embodiments;
[0010] Figure 4 illustrates a circuit of a RRAM OTP device operating in a programming mode according to some embodiments;
[0011] Figure 5 A circuit diagram of a RRAM OTP element operating in a read mode according to some embodiments is shown.
[0012]
Explanation of symbols
[0013] 100: Resistive Random Access Memory (RRAM) Operation
[0014] 102: Operation
[0015] 104: Operation
[0016] 106: Operation
[0017] 108: Operation
[0018] 110: Resistor
[0019] 112: Transistor
[0020] 200: System
[0021] 202: Resistive Random Access Memory (RRAM) Controller
[0022] 204:Memory device
[0023] 206: Resistive Random Access Memory (RRAM) One-Time Programmable (OTP) Devices
[0024] 208: Resistive Random Access Memory (RRAM) Cell Array
[0025] 210: Lock bit generator / lock bit circuit
[0026] 212: Resistive Random Access Memory (RRAM) Cell Array
[0027] 214: First command CMD_1
[0028] 216: Lock bit
[0029] 218: Second command CMD_2
[0030] 220: The third command CMD_3
[0031] 300: Example method for providing or forming a resistive random access memory (RRAM) OTP device
[0032] 302: Operation
[0033] 304: Operation
[0034] 306: Operation
[0035] 308: Operation
[0036] 400: Circuit
[0037] 402: reference resistor R_ref
[0038] 404: first variable resistor
[0039] 406: Reference transistor
[0040] 408: first access transistor
[0041] 410: first clamp transistor
[0042] 412: Second clamp transistor
[0043] 416: First input
[0044] 418: Second input
[0045] 420:Logic bit / lock bit
[0046] 422: Logic Gates
[0047] 424: First Node
[0048] 426: Second Node
[0049] 500:Circuit
[0050] BE: Bottom Electrode
[0051] BL: Bit Line
[0052] SL: Select wiring
[0053] TE: Top Electrode
[0054] Vread: read voltage
[0055] Vwrite: write voltage
[0056] WL: Word Line
[0057] WR: control signal DETAILED DESCRIPTION
[0058] The following disclosure provides many different embodiments or examples for implementing the different features of the subject matter provided. Specific examples of components and configurations are described below to simplify the disclosure. Of course, these components and configurations are only examples and are not intended to be restrictive. For example, in the following description, forming a first feature above or on a second feature may include an embodiment in which the first and second features are directly contacted, and may also include an embodiment in which additional features may be formed between the first and second features so that the first and second features may not be directly contacted. In addition, the disclosure may repeat reference numbers and / or letters in various examples. This repetition is for the purpose of simplicity and clarity, and does not itself indicate the relationship between the various embodiments and / or configurations discussed.
[0059] Additionally, spatially relative terms, such as "below," "beneath," "lower," "above," "upper," "top," "bottom," and the like may be used herein for ease of description to describe the relationship of one element or feature to another element or feature as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.
[0060] A one-time-programmable (OTP) memory device is a type of non-volatile memory device used in an integrated circuit to adjust the circuit after the integrated circuit is manufactured. For example, an OTP memory device is used to provide repair information that controls the use of redundant cells in replacing defective cells of a memory array. Another use is for tuning analog circuits by trimming the capacitance or resistance values of analog circuits or enabling and disabling multiple parts of the system. A recent trend is that the same product is likely to be manufactured in different manufacturing facilities, albeit using common process technologies. Despite the best engineering efforts, it is likely that each facility will have slightly different processes. The use of OTP memory devices allows independent optimization of product functionality at each manufacturing facility.
[0061] As integrated circuit technology advances, integrated circuit features (e.g., the width of interconnect structures) have been reduced, thereby allowing more circuits to be implemented in the integrated circuit. Although OTP memory devices such as fuses, electronic fuses (e-fuses), etc. are implemented in integrated circuits, various challenges may be encountered. For example, in the case of reducing the width of the interconnect structure, in general, the individual dimensions of one or more fuse elements of the OTP memory device are thereby shrunk. Given the continued shrinking dimensions of the fuse element, programming (e.g., blowing) the fuse element may become significantly challenging. Therefore, existing OTP memory devices are not yet fully satisfactory in many aspects.
[0062] One embodiment of the present disclosure provides various embodiments of an OTP memory device (or OTP solution) that stores private program code in a portion / region of a resistive random access memory (RRAM) cell array. The private program code (e.g., a unique resistance state) can be used, for example, in the RRAM cell array, for example to encode / encrypt and / or decode / decrypt data of individual RRAM cells, thereby improving the security of data storage. In detail, a portion of the RRAM is configured or allocated for OTP purposes (e.g., an OTP device or element), and other portions of the RRAM are configured or allocated for multiple programmable purposes (e.g., conventional RRAM of a memory device). The OTP-allocated RRAM may be referred to as RRAM OTP. The features, functionality, or content of the RRAM OTP may be programmed or configured during chip probing (CP) testing, final testing (FT), or field testing stages during the manufacture of the RRAM. For example, the systems and methods discussed herein provide a memory device that operates RRAM to emulate or replicate a logic output (e.g., "0" or "1") depending on whether the RRAM is broken down or unformed. Depending on the structure of the circuit, the unformed RRAM can emulate a logic "0", while the broken down (e.g., voltage-formed) RRAM can emulate a logic "1" or vice versa. The memory device uses RRAM to emulate a logic (binary) output and can achieve desired or expected reliability performance. However, in certain situations, due to high operating voltages caused by breakdown (or strong set operations), such as field operations, the RRAM may have limited OTP programming capabilities. Therefore, the memory device of the technical solution discussed herein can make full use of a low programming method to perform RRAM OTP (e.g., a method of programming a memory device as discussed herein to minimize the programming required to store data).
[0063] In various implementations, the OTP memory device may include an RRAM cell array. The RRAM cell array may correspond to or be part of a RRAM (including a plurality of RRAM cell arrays). The RRAM cell array of the OTP memory device is allocated for OTP operation. Other portions of the RRAM (e.g., other RRAM cell arrays) are configured for MTP operation. The OTP memory device may include a lock bit generation circuit. The lock bit generation circuit (e.g., a lock bit generator) may be (e.g., electrically) coupled to the RRAM cell array. Depending on the state or configuration of the RRAM cell array, the lock bit generator may output a logic "0" or a logic "1" (e.g., a logic output of a logic gate), such as to indicate whether the OTP memory device has been programmed. For example, a logic "0" may indicate that the OTP memory device has not been programmed, and a logic "1" may indicate that the OTP memory device has been programmed.
[0064] In various configurations, the RRAM cell array can be programmed using a smart write function or algorithm to allow retryable write operations. The function / algorithm can be executed by a controller (e.g., an RRAM controller). The lock bit generator is implemented to enable or allow unipolar direction write operations to the RRAM cell (e.g., a one-time write operation). In the case of a unipolar direction write operation, the reverse write may not be performed after programming the RRAM cell array, thereby achieving the OTP function. In some aspects, the lock bit generator acts as a flag or indication, indicating that the RRAM cell array has not been programmed. After triggering the flag, a read operation can be performed on the associated RRAM cell array (assigned for the OTP function), and the write / programming operation is disabled when the lock bit is marked (e.g., a logic "1" output from the lock bit generator). Therefore, by using RRAM for OTP operations, the system and method of the technical solution discussed herein can provide a regional efficient OTP solution for storing private program code (e.g., program code for encoding and / or decoding data) in a conventional RRAM cell array. Additionally, the systems and methods may program the contents of the CP, FT, or field programmed OTP RRAM when the lock bit has not been programmed. For example, after programming the contents, the lock bit may be programmed such that the systems and methods lock out the OTP RRAM from programming (e.g., no longer being able to program the OTP RRAM).
[0065] View now Figure 1 , depicted is a cross-sectional view of an RRAM operation 100 according to various embodiments. The RRAM has a switching mechanism configured for changing resistance, such as from a relatively high resistance to a relatively low resistance or vice versa. Figure 1The cross-sectional views of 100 illustrate changes in a RRAM cell array at different stages of a RRAM operation 100. The RRAM cell array may be a component of a memory device including a plurality of RRAM cell arrays.
[0066] The RRAM cells of the RRAM cell array may be implemented as a 1-transistor-1-resistor (1-transistor-1-, 1T1R) structure. The RRAM cell array includes a resistor 110 (e.g., a variable resistor 110) connected in series to a transistor 112, or at least consists of the resistor 110. However, any of a variety of structures exhibiting characteristics of a variable resistor may be included in the RRAM cell, such as a 1-diode-1-resistor (1-diode-1-, 1D1R) structure, a 1-transistor-many (1T-manyR) structure, a crossbar structure, an electric fuse device, an anti-electric fuse device, etc., while remaining within the scope of an embodiment of the present disclosure.
[0067] In some embodiments, the resistor 110 of the RRAM cell of the RRAM cell array is formed as a multi-layer stack including a top electrode (TE), a cap layer, a variable resistance dielectric (VRD) layer, and a bottom electrode (BE). In some embodiments, the TE may be formed of at least one material selected from the group consisting of Pt, TiN / Ti, TiN, Ru, Ni, and combinations thereof; the cap layer may be formed of at least one transition metal material (e.g., a material capable of forming multiple oxidation states), such as Ti, Ni, Hf, Nb, Co, Fe, Cu, V, Ta, W, Cr, and combinations thereof; the VRD layer may be formed of at least one transition metal oxide material (e.g., a transition metal combined with oxygen), such as TiOx, NiOx, HfOx, NbOx, CoOx, FeOx, CuOx, VOx, TaOx, WOx, CrOx, and combinations thereof; and the BE may be formed of at least one material selected from the group consisting of TiN, TaN, W, Pt, and combinations thereof. In some embodiments, the VRD layer may include or correspond to a high-k dielectric layer. Generally speaking, the VRD layer may be formed by deposition, such as atomic layer deposition (ALD), chemical vapor deposition (CVD), metal-organic chemical vapor deposition (MOCVD), etc., to have a specific thickness and crystal thickness using a specific manufacturing process recipe.
[0068] As described above, each RRAM cell further includes a transistor 112 coupled in series to a respective resistor 110. In some embodiments, such a transistor is generally referred to as a "select transistor" or "enable transistor" for enabling current to flow through the conductive path coupled to the resistor 110. Figure 1 As shown in FIG. 1 , the selection transistor 112 is coupled in series to the resistor 110. In addition, in some embodiments, TE is coupled to a bit-line (BL) and is used to receive a set / reset voltage (e.g., a voltage or signal indicating a set or reset command); the drain of the selection transistor 112 is coupled to BE; the gate of the selection transistor 112 is coupled to a word-line (WL) and is used to receive one or more WL confirmation signals to enable the corresponding RRAM cell to be accessed; and the source of the transistor 112 is coupled to a select-line (SL) and is used to receive the above-mentioned set / reset voltage.
[0069] As discussed herein, transistor 112 may be one of any type of transistor suitable for a RRAM cell, such as a bipolar junction transistor (BJT), a field-effect transistor (FET) (e.g., N-channel or P-channel), or an insulated-gate bipolar transistor (IGBT), among others. For simplicity, for example, transistor 112 or other transistors discussed herein may be an n-channel metal-oxide semiconductor (nMOS). Transistor 112 may operate similar to a switch. For example, transistor 112 allows current to pass when turned on and does not allow current to pass when turned off, thereby allowing a write or read operation to be performed on a memory cell (e.g., a RRAM cell). BL, WL, and SL are used to carry signals or electrical connectivity to or from one or more components / elements of the RRAM cell.
[0070] The resistor 110 is constructed with a variable resistance such that a change in a voltage (e.g., applied at / on a terminal (or end) of the resistor 110) can change the resistance of the resistor 110 from a first resistance stage to a second resistance stage. For example, at operation 102, a fresh (new) sample of the RRAM cell is depicted. The fresh sample of the RRAM cell may refer to a stage after the RRAM cell is formed. At this stage, the resistor 110 is a relatively high resistance state (e.g., megaohm range). At operation 104, a vacancy formation (v-forming) stage of the RRAM cell is depicted. During the v-forming stage, oxygen vacancies may be formed in the high-K dielectric layer of the resistor 110 by providing a certain voltage (e.g., a predefined / predetermined voltage) at least at the BL, thereby allowing oxygen vacancies in the high-K dielectric layer. By forming oxygen vacancies, the RRAM cell may be enabled to perform a read or write operation.
[0071] After the oxygen vacancies are formed, the resistor 110 may be set or reset. At operation 106, the resistor 110 may be set by applying a relatively small voltage at the BL (compared to the voltage applied during the v-forming phase). In response to applying this voltage, more oxygen vacancies are formed in the resistive field, thereby increasing the conductivity of the high-K dielectric layer. For example, the increase in the conductivity of the high-K dielectric layer results in a relatively lower resistance state of the resistor 110, which may be used herein to indicate that the RRAM cell has been programmed.
[0072] In some devices, operation 108 may be performed to reset resistor 110. In this case, a voltage is applied to the RRAM cell (e.g., at transistor 112) to break down the oxygen vacancy violation, thereby causing the high-K dielectric layer to become more dielectric (e.g., increasing the resistance of resistor 110). Thus, in such devices, a reset operation may be performed to increase (or reset) the resistance of resistor 110. In various implementations discussed herein, the reset mode (e.g., operation 108) may be removed from the operation or mode of the RRAM cell discussed herein (e.g., to perform an OTP operation of a particular RRAM cell array). Figure 1 The RRAM cell can correspond to Figure 2 The RRAM cell array 212 or described in conjunction with the array.
[0073] See also Figure 2 , depicted is a block diagram of a system 200 including a RRAM one-time-programmable (OTP) device 206 (hereinafter “device”) according to various embodiments. The RRAM OTP device 206 may include a combination of Figure 1One or more RRAM cells described, or implemented by one or more RRAM cells. System 200 includes at least one RRAM controller 202 and at least one memory device 204. Memory device 204 includes an RRAM cell array 208 (hereinafter "array") and an element 206. Element 206 includes an RRAM cell array 212 (hereinafter "array") and a lock bit generator 210. In some implementations, array 212 may be a portion / component of array 208, where, for example, arrays 208, 212 may form a single RRAM cell array of memory device 204 (e.g., arrays 208, 212 may form or be part of a single RRAM cell array). For example, arrays 208, 212 may represent multiple portions of a single RRAM cell array allocated for different purposes. Array 208 is allocated for MTP, and array 212 is allocated for OTP. In some cases, Figure 1 The RRAM cells of may be implemented as or used, for example, as components of the array 208 and / or the array 212 discussed herein.
[0074] In some embodiments, each of the arrays 208, 212 includes a plurality of bits, and more specifically each bit includes two RRAM cells, wherein the respective RRAM cells of each bit are substantially similar to each other. Figure 2 Discussed in further detail, in addition to the top electrode, an optional cap layer, a variable resistance dielectric layer, and a bottom electrode forming a resistor (having a variable resistance), each RRAM cell further includes a transistor (e.g., similar to or corresponding to) coupled in series to the resistor. Figure 1 110). Therefore, in some embodiments of the present disclosure, each RRAM cell may include three nodes / terminals respectively coupled to a bit line (BL), a word line (WL), and a selector line (SL). Therefore, in some embodiments, each bit cell including two RRAM cells may include six terminals, and the terminals are respectively coupled to a first set of BL, WL, and SL, and a second set of BL, WL, and SL.
[0075] In various configurations, the RRAM controller 202 (hereinafter “controller”) may be a component of the memory device 204, such as a control logic circuit for controlling or providing instructions to the elements of the memory device 204. The controller 202 is used to control each of the components or elements of the memory device 204, such as the arrays 208, 212, and the lock bit generator 210. For example, the controller 202 may provide or send a command (a first command 214 (CMD_1)) to control the lock bit generator 210. The controller 202 may send a command (a second command 218 (CMD_2)) to the access array 212 (e.g., an OTP RRAM array) based on the lock bit 216 received from the lock bit generator 210. The controller 202 may send a command (e.g., a third command 220 (CMD_3)) to the access array 208 (e.g., an MTP RRAM array).
[0076] The controller 202 may perform read or write operations on the arrays 208, 212. For the array 208, the controller 202 may perform write operations multiple times to program or reprogram the array 208. For the array 212, the controller 202 may perform a single write operation (e.g., program the array 212 once). After programming the array 212, the controller 202 may disable or lock write operations from being performed on the array 212 based on the lock bit 216. In various configurations, the controller 202 receives the lock bit 216 from the lock bit generator 210. The lock bit generator 210 generates the lock bit 216 in a first logic state if it is determined that the array 212 has been programmed, and generates the lock bit 216 in a second logic state if it is determined that the array 212 has not been programmed. After receiving the lock bit 216, the controller 202 may recognize that the array 212 has not been programmed. As will be discussed below, array 212 is configured with a unipolar write path (e.g., a write operation involving one polarity, such as a high level (logic "1") or a logic level (logic "0")) to prevent a reset from occurring (e.g., preventing operation 108). That is, once array 212 has been programmed, array 212 cannot be programmed again.
[0077] View now Figure 3 , depicted is an example method 300 for providing or forming the RRAM OTP device 206 according to various aspects of the present disclosure. The method 300 may include or be combined with Figure 1 to Figure 2 For example, method 300 may be combined with Figures 4 to 5 , such as to provide the RRAM OTP element 206 for one-time programming of the array 212 .
[0078] At least some operations of method 300 may be used to form RRAM OTP device 206. For example, method 300 provides operations, features, or functionality of lock bit generator 210 and array 212 that form or are components of device 206, including but not limited to operations 302 to 308. It should be noted that method 300 is merely an example and is not intended to limit one embodiment of the present disclosure. Therefore, it should be understood that additional operations may be provided before, during, and after method 300, and some other operations may only be briefly described herein. The following discussion of method 300 may refer to Figure 1 to Figure 2 and / or Figures 4 to 5 One or more elements or features of an element.
[0079] In a succinct overview, the method 300 includes providing a memory array including RRAM bits at operation 302. At operation 304, the method 300 includes permanently programming at least one of the RRAM bits. At operation 306, the method 300 includes comparing a resistance of the at least one RRAM bit to a reference resistance. At operation 308, the method 300 includes generating a lock bit (e.g., lock bit 216) to indicate whether the at least one RRAM bit has been permanently programmed.
[0080] See also Figures 4 to 5 , depicted are circuits of the RRAM OTP element 206 operating in a write mode (e.g., circuit 400) and a read mode (e.g., circuit 500), respectively. In some implementations, Figures 4 to 5 The circuits 400, 500 may include more or fewer components, such as including at least Figure 1 to Figure 2 Other elements described, such as resistor 110, perform at least the features of resistor 404. As mentioned above, Figures 4 to 5 The structure of the circuit 400, 500 may be described in conjunction with the method 300. The circuit 400, 500 may include: Figure 1 to Figure 2 For example, resistor 404 may be made of similar materials or perform similar operations. Figure 1 In another example, the resistor 404 and its corresponding transistor 408 may function as an RRAM OTP to generate a lock bit. Figures 4 to 5 The circuits 400, 500 of FIG. 4 may illustrate one or more components associated with or included as part of the component 206. It should be understood that the circuits 400, 500 of FIG. 4 may illustrate one or more components associated with the component 206 or included as part of the component 206. Figures 4 to 5 The structures or components in the embodiment may include a plurality of other elements (for example, additionally or alternatively), such as those not shown for simplicity of illustration. Figures 4 to 5, resistors, transistors, voltage sources, etc. in the memory device 204. In various configurations, the circuits 400 and 500 may be components of the memory device 204, including a memory array (e.g., array 212) and a lock bit circuit 210 (e.g., lock bit generator 210). The circuits 400 and 500 include, for example, a first variable resistor 404 operatively coupled in series with a first access transistor 408 (e.g., to perform one or more operations similar to the resistor 110), a reference resistor 402 coupled in series with a reference transistor 406, the first access transistor 408 and the reference transistor cross-coupled to each other, a first clamping transistor 410 and a second clamping transistor 412 configured as a clamping circuit, and a logic gate 422 for generating a logic bit 420. As discussed herein, for example, elements of circuits 400, 500 may be configured or structured for OTP operation, such as by permanently programming a variable resistor (eg, permanently changing resistance) as an indicator that the memory array has not been programmed.
[0081] Corresponds to Figure 3 Operation 302, Figures 4 to 5 Element 206 is a component of memory device 204 that provides one or more memory arrays, such as a first memory array (e.g., such as array 212 for OTP use) and a second memory array (e.g., such as array 208 for MTP use). Element 206 may include, for example, a combination of Figures 4 to 5 Various components or elements are described, or formed or structured by various components or elements, including but not limited to resistors 402, 404, transistors 406, 408, 410, 412, etc. Each of the memory arrays includes a plurality of memory bits, such as a first memory bit of a first memory array and a second memory bit of a second memory array. The memory bits may be RRAM bits. Each of the first memory bits of the first memory array is configured as an OTP memory bit (e.g., programmable once).
[0082] For example, each of the first memory bits of the first memory array includes a first access transistor 408 and a first (variable) resistor / resistance 404 (e.g., similar to resistor 110) coupled in series. The first variable resistor 404 is formed with (or has) a first resistance (e.g., has an initial resistance state at or after the v-forming stage (e.g., operation 104)). The first variable resistor 404 is used to be programmed to a second resistance, such as by applying or changing (e.g., increasing or decreasing) a voltage applied at the terminals of the first variable resistor 404 (e.g., a Vwrite voltage applied to one of the terminals of the resistor 404). In various configurations discussed herein, the second resistance is substantially lower than the first resistance, such as changing from greater than 1M ohms as the first resistance to less than 5K ohms as the second resistance. In some implementations, for example, the first variable resistor 404 can be adjusted to other resistances, such as between 1M and 5K ohms, depending on the voltage applied at the terminals of the first variable resistor 404 (in addition to other variable resistors).
[0083] In addition, as shown in circuits 400 and 500, element 206 includes a lock bit circuit 210. Lock bit circuit 210 includes a reference resistor 402 (e.g., labeled R_ref) having a fixed resistance (e.g., pre-selected or configured), such as at least 50k ohms, although other predetermined resistances may be implemented for reference resistor 402. In some embodiments, the resistance value of reference resistor 402 may be selected between a first resistance and a second resistance of first variable resistor 404. Thus, reference resistor 402 may be used to compare with first variable resistor 404 in order to determine whether first variable resistor 404 is programmed to be the first resistance or the second resistance. Lock bit circuit 210 includes a reference transistor 406 connected in series to reference resistor 402. In addition, lock bit circuit 210 includes a first clamp transistor 410, a second clamp transistor 412, and a logic gate 422. Logic gate 422 is implemented as an AND gate, although other types of logic gates configured with similar functionality may be implemented herein.
[0084] The lock bit circuit 210 is operatively (e.g., electrically) coupled to the array 212 (e.g., the first memory array) to indicate that one or more cells within the array 212 have been programmed. The lock bit circuit 210 is used to generate a lock bit 420, which indicates whether at least one of the first memory bits has been programmed. The generated lock bit 420 corresponds to the output from the logic gate 422. For example, the lock bit circuit 210 can be used to control the OTP memory bit (e.g., the first memory bit is configured as an OTP memory bit) by generating the lock bit 420, which indicates whether the first memory bit is still allowed to be programmed or has been prevented from being programmed.
[0085] In various implementations, as shown in circuits 400 and 500, reference transistor 406 and first access transistor 408 are cross-coupled to each other. Figure 4 (and / or Figure 5 ), the gates of transistors 406, 408 may be coupled to each other's drains, such as the gate of transistor 406 is coupled to a first node 424 (e.g., the drain of transistor 408) and the gate of transistor 408 is coupled to a second node 426 (e.g., the drain of transistor 406) to form a pair of cross-coupled transistors 406, 408. The cross-coupled transistors 406, 408 may be used, for example, to implement a flip-flop, an oscillator, a voltage-controlled oscillator (VCO), a phase-locked loop, etc. By forming a cross-coupled circuit with the reference transistor 406 and the first access transistor 408, the respective resistances between the reference resistor 402 and the first variable resistor 404 may be compared. For example, in the case of a cross-coupled circuit, a voltage at a first node 424 associated with (e.g., between) the first variable resistor 404 and the first access transistor 408 may be compared to a voltage at a second node 426 associated with (e.g., between) the reference resistor 402 and the reference transistor 406. The first clamp transistor 410 and the second clamp transistor 412 are components of a clamp circuit, wherein the gates of the first clamp transistor 410 and the second clamp transistor 412 are electrically coupled to each other, or connected to the same source (e.g., receiving the same control signal). In some cases, for example, a cross-coupling circuit and / or a clamp circuit formed by transistors may be used to compare the resistance between the reference resistor 402 and the first variable resistor 404. For example, when the first variable resistor 404 has been programmed to be a fixed resistance less than the reference resistor 402, a first current flowing through the first variable resistor 404 may be substantially greater than a second current flowing through the reference resistor 402. In this case, the logic state corresponding to the voltage at the first node 424 (e.g., associated with the cross-coupling circuit and / or the clamping circuit) may be pulled up to "1", which may indicate that the resistance of the first variable resistor 404 is greater than the resistance of the reference resistor 402. When the first variable resistor 404 has not been programmed (e.g., has a resistance greater than the fixed resistance of the reference resistor 402), the first current flowing through the first variable resistor 404 may be substantially less than the second current flowing through the reference resistor 402. In this case, the logic state corresponding to the voltage at the first node 424 may be pulled down to "0", which may indicate that the resistance of the first variable resistor 404 is relatively less than the resistance of the reference resistor 402. Details regarding the comparison between the resistance of the reference resistor 402 and the resistance of the first variable resistor 404 are discussed below.
[0086] The lock bit 420 generated by the lock bit circuit 210 has one of two states depending on the input to the logic gate 422. One of the states may be a logic high state (e.g., a lock bit 420 of "1"), thereby indicating that at least one first memory bit of the first memory array has been programmed by the controller 202. The other state is a low logic state, thereby indicating that at least one first memory bit has not been programmed by the controller 202. To achieve or be in a high logic state, the logic gate 422 may receive a plurality of input signals of "1", thereby generating a logic "1" as an output. To be in a low logic state, the logic gate 422 may receive at least one input signal of "0", thereby generating a logic "0" as an output.
[0087] For example, the lock bit circuit 210 includes an AND gate as a logic gate 422, which has a first input 416 and a second input 418. The first input 416 is connected to a voltage sensed at a first node 424, which is determined based on whether the first variable resistor 404 has been programmed. For example, the first node 424 can be pulled up to "1" or "0" according to the first variable resistor 404 not being programmed, so the first input 416 can also indicate whether the first variable resistor 404 has been programmed. Specifically, this voltage at the first node 424 can be present at a junction or node between the first variable resistor 404 and the first access transistor 408. The voltage is determined based on whether at least one first memory bit (e.g., the first variable resistor 404) has a first resistance or a second resistance. For example, the first variable resistor 404 (e.g., labeled as an RRAM element (RE)) can be programmed to update the lock bit state. During a write operation (or programming mode) of the first memory array (or at least one cell within the first memory array) as mentioned in circuit 400, a write voltage (e.g., labeled Vwrite) for programming the first memory bit can be applied to the terminal of the first variable resistor 404. The write voltage can be configured or predefined and relatively greater than a read voltage (e.g., labeled Vread) for the read mode. When the write voltage is applied, the resistance of the first variable resistor 404 can correspond to (or be programmed to) a first resistance (e.g., a relatively high resistance) and the voltage presented by the at least one first memory bit, because the first input 416 can be "0".
[0088] In some cases, the resistance between the first variable resistor 404 and the reference resistor 402 may be compared (e.g., based on the logic state of the first node 424 and / or the second node 426). For example, during a programming mode, the resistance of the first variable resistor 404 is programmed to be less than the fixed resistance of the reference resistor 402, such as less than 5K ohms compared to about greater than 50K ohms. During a read mode, a cross-coupled circuit between the first memory array and the lock bit circuit 210 may be used to compare the resistance states of these resistors. Continuing with the example where the first variable resistor 404 has been programmed to be less than the fixed resistance of the reference resistor 402, the first current flowing through the first variable resistor 404 may be substantially greater than the second current flowing through the reference resistor 402. Therefore, the logic state corresponding to the voltage at the first node 424 may be pulled up to "1", while the logic state corresponding to the voltage at the second node 426 may be pulled down to "0". Therefore, the first access transistor 408 may be turned off, thereby floating the first node 424. At this time, the reference transistor 406, which is cross-coupled to the first access transistor 408, may be turned on, and thus the second node 426 is pulled down to ground or "0", which confirms that the first access transistor 408 is turned off. In an example where the first variable resistor 404 has not been programmed (e.g., has a resistance greater than the fixed resistance of the reference resistor 402), the first current flowing through the first variable resistor 404 may be substantially less than the second current flowing through the reference resistor 402. Therefore, the logic state corresponding to the voltage at the first node 424 may be pulled down to "0", while the logic state corresponding to the voltage at the second node 426 may be pulled up to "1". Therefore, the first access transistor 408 may be turned on, which confirms that the voltage at the first node 424 is connected to ground; and the cross-coupled reference transistor 406 may be turned off, thereby floating the second node 426.
[0089] In other examples, the second input 418 is used to receive a control signal from the controller 202 (e.g., Figures 4 to 5414 ). The second input 418 may receive a control signal directly from the controller 202 or via an inverter. In the circuits 400 and 500, the control signal from the controller 202 is applied at 414 (e.g., at the gates of the first clamp transistor 410 and the second clamp transistor 412). The control signal "1" is used for the programmed mode of the first variable resistor 404. As an example herein, the second input 418 corresponds to the inverted control signal from the controller 202. For example, if the controller 202 sends a control signal "1" to the element 206 (or the lock bit circuit 210), the logic gate 422 may receive an input of "0" inverted from the control signal as the second input 418. Similarly, if the controller 202 sends a control signal "0" to the lock bit circuit 210, the logic gate 422 may receive an input of "1" inverted from the control signal as the second input 418.
[0090] In various scenarios, a second memory array (e.g., array 208) includes a plurality of second memory bits. Each of the second memory bits of the second memory array is configured as an MTP memory bit. For example, each of the second memory bits is to be reversibly programmed between a first resistor and a second resistor (or other configurable resistor) such that the second memory bit can be programmed, pre-programmed, or reset by the controller 202. In such scenarios, for example, the second memory array can be referred to as an MTP RRAM array, and the first memory array can be referred to as an OTP RRAM array.
[0091] In various implementations, each of the second memory bits of the second memory array may include its respective at least one access transistor (e.g., similar to transistor 408) and resistor (e.g., similar to first resistor 404) coupled in series, wherein the second resistor has a second variable resistance. In this case, the lock bit circuit 210 is not operatively coupled to the second memory array, thereby operating as an MTP RRAM array (such as the array 208 configured for MTP use and disconnected from the lock bit circuit 210).
[0092] Corresponds to Figure 3 Operation 304 and see Figure 4, the circuit 400 can be used to permanently program at least one of a plurality of memory bits (e.g., RRAM bits) of a first memory array based on or in accordance with changing the resistance of at least one memory bit (e.g., the first variable resistor 404). For example, when the lock bit circuit 210 is in (or for the lock bit circuit 210 to be in) a programming mode or a write operation, the controller 202 is used to issue or send a control signal "1". The controller 202 applies a control signal at 414 so that the first clamp transistor 410 and the second clamp transistor 412 are enabled (e.g., allowing current to flow). By enabling these clamp transistors 410, 412, the lock bit circuit 210 is used to provide a conductive path for current to flow through the first variable resistor 404 to the first access transistor 408 and the first clamp transistor 410 (or one of the first clamp transistor 410 or the second clamp transistor 412 depending on the configuration of the components). The voltage applied to the terminals of the first variable resistor 404 is the write voltage, and the branch of the reference resistor 402 is floating during the programming mode. As the inverted signal of the control signal of "1", the second input 418 of the logic gate 422 is also "0". Therefore, the lock bit 420 generated by the lock bit circuit 210 is "0" during the programming mode, indicating that the first memory array has not been programmed or is being programmed.
[0093] In some variations of the circuits described herein, a control signal "1" may be configured for a read mode while a control signal "0" is configured for a programming mode. In such a configuration, various components or elements of the memory device 204 may be configured, reconfigured, or updated to perform similar features or functionality discussed herein.
[0094] Corresponds to Figure 3 Operation 306, Figure 5A circuit 500 is depicted in a read mode, the circuit 500 including the elements 206 (e.g., a first memory array (e.g., array 212) and the lock bit circuit 210). In various implementations, the lock bit circuit 210 may compare the resistance of a memory bit (e.g., RRAM bit) of the first memory array (e.g., the resistance of the first variable resistor 404) to the resistance of a reference resistor 402 (e.g., the reference resistance) based on the logic state of the first node 424 and / or the second node 426 or the current flowing through these resistors 402, 404, the current depending on whether the first variable resistor 404 is greater than or less than the reference resistor 402. The resistances may be compared by the lock bit circuit 210 to determine whether the resistance of the first variable resistor 404 is greater than or less than the resistance of the reference resistor 402. Based on whether the resistance of the first variable resistor 404 is greater than or less than the resistance of the reference resistor 402 , the lock bit circuit 210 determines whether the voltage at the node connected between the first variable resistor 404 and the first access transistor 408 is logic “1” or logic “0”.
[0095] For example, the controller 202 may adjust the mode of the lock bit circuit 210 to a read mode. In the read mode, a read voltage (e.g., Vread) is applied at a terminal of the first variable resistor 404 and at a reference branch of the reference resistor 402 corresponding to the lock bit circuit 210 (e.g., at a terminal of the reference resistor 402 opposite to the second node 426). The controller 202 applies the read voltage by triggering a switch (or by adjusting a voltage) from a write voltage connection to a read voltage connection (e.g., a voltage read source or a voltage write source at a terminal of the first variable resistor 404 opposite to the first node 424). Similarly, for the reference branch, the controller 202 applies the read voltage by, for example, adjusting a voltage at a terminal of the reference resistor 402 opposite to the terminal corresponding to the second node 426 or switching from a floating connection to a read voltage connection. Generally speaking, the read voltage is relatively smaller than the write voltage, which is used to change the resistance of the first variable resistor 404 when switching from reading to writing (for example, Vwrite is used to change the resistance state of the first variable resistor 404 when switching from Vread which is relatively smaller than Vwrite, where Vread is used to enable current to flow through the first variable resistor 404).
[0096] In addition, cross-coupled transistors (e.g., reference transistor 406 and first access transistor 408) are used to sense the resistance difference between the two branches (e.g., based on the logic state corresponding to the voltage at the first node 424 and / or the second node 426), such as the resistance difference between the first variable resistor 404 and the reference resistor 402. After reducing the resistance of the first variable resistor 404 (e.g., changing from 1M ohms to 5K ohms, among other values), the cross-coupled transistors determine that the resistance of the first variable resistor 404 is less than the resistance of the reference resistor 402, such as based on the logic state corresponding to the voltage at the first node 424 and / or the second node 426. Therefore, the logic state of the first node 424 corresponding to the first input 416 (or one of the two inputs) connected to the logic gate 422 can be "1" (e.g., the voltage at the node is in a logic high state). In various configurations, in the read mode, the controller 202 provides a "0" control signal at 414 to the lock bit circuit 210. Therefore, during this read mode, both clamp transistors 410 and 412 are off. A control signal (e.g., signal from 414) may be provided to the inverter as an input (e.g., at input 418) to logic gate 422. Based on inputs 416, 418, lock bit circuit 210 is used to generate lock bit 420 as either "0" or "1" using inputs 416, 418.
[0097] Corresponds to Figure 3 Operation 308, Figures 4 to 5 The lock bit circuit 210 may generate the lock bit 420 based at least on a comparison of the resistance between the reference resistor 402 and the first variable resistor 404. For example, depending on whether the resistance of the first variable resistor 404 is greater than or less than the resistance of the reference resistor 402, the lock bit circuit 210 may generate the lock bit 420, thereby indicating that at least one memory cell (e.g., RRAM bit) has been permanently programmed or has not been programmed.
[0098] For example, if the first variable resistor 404 has not been programmed or retains a first resistance (e.g., a relatively high resistance greater than, for example, 1M ohm), the resistance of the first variable resistor 404 is greater than the resistance of the reference resistor 402. In response to determining that the resistance of the first variable resistor 404 is greater than the reference resistance, the voltage at the node (e.g., the first node 424) between the first variable resistor 404 and the first access transistor 408 is sensed as a logic "0" (e.g., the voltage at the node is in a low logic state). Specifically, since the first variable resistor 404 has not been programmed to a low resistance, a conductive path cannot be formed by itself. In such a case, the lock bit circuit 210 generates (via the logic gate 422) the lock bit 420 as a logic "0" (e.g., a first logic state), thereby indicating that at least one memory bit has not been permanently programmed.
[0099] In another example, if the first variable resistor 404 is permanently programmed to the second resistance, the resistance of the first variable resistor 404 is less than the resistance of the reference resistor 402. In response to determining that the resistance of the first variable resistor 404 is lower than the reference resistance, the voltage at the node (e.g., the first node 424) between the first variable resistor 404 and the first access transistor 408 is sensed as a logic "1", which corresponds to the first input 416 to the logic gate 422. Specifically, since the first variable resistor 404 has been programmed to a low resistance, a conductive path can be formed by itself, which ultimately pulls the voltage at the node (e.g., the first node 424) between the first variable resistor 404 and the first access transistor 408 to be equal to about Vread. With the voltage at the node approximately equal to Vread (e.g., a logical "1"), the reference transistor 406 turns on, thereby pulling the node (e.g., the second node 426) between the reference resistor 402 and the reference transistor 406 to ground so as to firmly turn off the first access transistor 408. In addition, logic gate 422 receives an inverted signal of a control signal (e.g., labeled “WR” at 414) such that second input 418 is “1” during read mode. For example, the control signal may be provided by at least one element of system 200, such as RRAM controller 202. The control signal may be received at 414 (e.g., corresponding to the gates of first clamp transistor 410 and second clamp transistor 412). Point 414 of lock bit circuit 210 may be electrically connected to second input 418 of logic gate 422 via an inverter (not shown) that inverts the control signal. Thus, when a control signal of “1” is received at 414, second input 418 of logic gate 422 may be “0”; and when a control signal of “0” is received at 414, second input 418 of logic gate 422 may be “1”.
[0100] Because both inputs 416, 418 at the logic gate 422 are "1", the lock bit circuit 210 (e.g., via the logic gate 422) generates or outputs a lock bit 420 (e.g., a second logic state) of "1" based at least on the voltage at the node (during the read mode). The second logic state generated by the lock bit circuit 210 indicates that at least one memory bit has been permanently programmed. The logic bit 420 of "1" indicates that at least one memory bit of the first memory array (or the first variable resistor 404) has been programmed. Therefore, the first memory array of the memory device 204 or a portion of the memory array (e.g., one or more cells) can be configured as an OTP memory array (e.g., an OTP RRAM array), thereby reducing the size (of components) and resource consumption of implementing an OTP solution because the memory device 204 does not require separate components to implement the OTP memory array.
[0101] In one aspect of the present disclosure, a memory device is disclosed. The memory device includes a first memory array, the first memory array includes a plurality of first memory bits, each of the plurality of first memory bits is configured as a one-time-programmable (OTP) memory bit. The memory device includes a second memory array, the second memory array includes a plurality of second memory bits, each of the plurality of second memory bits is configured as a multi-time programmable (MTP) memory bit. The memory device includes a lock bit circuit, the lock bit circuit is operatively coupled to the first memory array. The lock bit circuit is used to generate a lock bit, the lock bit indicating whether at least one of the plurality of first memory bits has been programmed.
[0102] In some embodiments, the first memory bits and the second memory bits are each a resistance random access memory bit.
[0103] In some embodiments, the lock bit has (i) a high logic state indicating that at least one of the first memory bits has been programmed, and (ii) a low logic state indicating that at least one of the first memory bits has not been programmed.
[0104] In some embodiments, each of the first memory bits has a first variable resistor formed to have a first resistance value and programmed to have a second resistance value that is substantially lower than the first resistance value.
[0105] In some embodiments, the lock bit circuit includes an AND gate having a first input sensing a voltage presented by at least one memory bit and a second input receiving a control signal.
[0106] In some embodiments, the voltage is determined based on whether at least one of the first memory bits has a first resistance value or a second resistance value.
[0107] In another aspect of the present disclosure, a memory device is disclosed. The memory device includes a first memory array including a plurality of first memory bits, each of the plurality of first memory bits including a first access transistor and a first resistor coupled in series, the first resistor having a first variable resistance. The memory device includes a lock bit circuit operatively coupled to the first memory array. The lock bit circuit is used to generate a lock bit indicating whether at least one of the plurality of first memory bits has been permanently programmed from a first resistance to a second resistance that is substantially lower than the first resistance.
[0108] In some embodiments, the lock bit circuit includes a reference resistor, a reference transistor, a first clamp transistor, a second clamp transistor, and an AND gate. The reference resistor has a fixed resistance value. The reference transistor is connected in series to the reference resistor.
[0109] In some embodiments, the fixed resistance value is higher than the second resistance value but lower than the first resistance value.
[0110] In some embodiments, the reference transistor and the first access transistor are cross-coupled to each other.
[0111] In some embodiments, when the lock bit circuit is in the programming mode, the lock bit circuit provides a conduction path through the first resistor to the first access transistor and one of the first or second clamp transistors.
[0112] In some embodiments, when the lock bit circuit is in a read mode, the lock bit circuit compares the first resistor with a reference resistor to determine a voltage at a node connected between the first resistor and the first access transistor, the node being connected to one of two inputs of the AND gate.
[0113] In some embodiments, when the first resistor has been permanently programmed to have the second resistance value, the voltage at the node is in a high logic state.
[0114] In some embodiments, when the first resistor maintains the first resistance value, the voltage at the node is in a low logic state.
[0115] In some embodiments, the lock bit circuit generates the lock bit based on a voltage at the node.
[0116] In some embodiments, the memory device further includes a second memory array. The second memory array includes a plurality of second memory bits, each of the second memory bits includes a second access transistor and a second resistor coupled in series, the second resistor having a second variable resistance. The lock bit circuit is not operatively coupled to the second memory array.
[0117] In some embodiments, each of the second memory bits is reversibly programmable between a first resistance value and a second resistance value.
[0118] In yet another aspect of the present disclosure, a method for operating a memory device is disclosed. The method includes providing a memory array, the memory array including a plurality of resistive random access memory (RRAM) bits. The method includes permanently programming at least one of the plurality of RRAM bits based on changing a resistance of the at least one RRAM bit. The method includes comparing the resistance of the at least one RRAM bit to a reference resistance. The method includes generating a lock bit based on the comparison result, the lock bit indicating whether the at least one RRAM bit has been permanently programmed.
[0119] In some embodiments, the method further comprises the following steps: in response to determining that the resistance value is greater than the reference resistance value, generating a lock bit having a first logic state, the first logic state indicating that at least one RRAM bit has not been permanently programmed.
[0120] In some embodiments, the method further comprises the following steps: in response to determining that the resistance value is lower than the reference resistance value, generating a lock bit having a second logic state, the second logic state indicating that the at least one RRAM has been permanently programmed.
[0121] As used herein, the terms "about" and "approximately" generally mean plus or minus 10% of the stated value. For example, about 0.5 should include 0.45 and 0.55, about 10 will include 9 to 11, and about 1000 will include 900 to 1100.
[0122] The foregoing summarizes the features of several embodiments so that those skilled in the art can better understand the aspects of the present disclosure. Those skilled in the art will appreciate that they can readily use an embodiment of the present disclosure as a basis for designing or modifying other processes and structures for implementing the same purpose and / or achieving the same advantages of the embodiments introduced herein. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of an embodiment of the present disclosure, and such equivalent constructions may be variously changed, substituted, and replaced herein without departing from the spirit and scope of an embodiment of the present disclosure.
Claims
1. A memory device, characterized in that: Include: a first memory array comprising a plurality of first memory bits, each of the plurality of first memory bits being configured as a one-time programmable memory bit; a second memory array comprising a plurality of second memory bits, each of the plurality of second memory bits being configured as a multi-time programmable memory bit; a lock bit circuit operatively coupled to the first memory array; The lock bit circuit is used to generate a lock bit, and the lock bit indicates whether at least one of the plurality of first memory bits has been programmed.
2. The memory device according to claim 1, wherein: The lock bit has (i) a high logic state indicating that the at least one of the plurality of first memory bits has been programmed; and (ii) a low logic state indicating that the at least one of the plurality of first memory bits has not been programmed.
3. The memory device according to claim 1, wherein: wherein each of the plurality of first memory bits has a first variable resistor formed to have a first resistance value and programmed to have a second resistance value that is substantially lower than the first resistance value, The lock bit circuit includes an AND gate having a first input and a second input, the first input being used to sense a voltage presented by the at least one memory bit, and the second input being used to receive a control signal, The voltage is determined based on whether the at least one of the plurality of first memory bits has the first resistance value or the second resistance value.
4. A memory device, characterized in that: Include: a first memory array including a plurality of first memory bits, each of the plurality of first memory bits comprising a first access transistor and a first resistor coupled in series, the first resistor having a first variable resistance; a lock bit circuit operatively coupled to the first memory array; The lock bit circuit is used to generate a lock bit, which indicates whether at least one of the plurality of first memory bits has been permanently programmed from having a first resistance value to having a second resistance value, the second resistance value being substantially lower than the first resistance value.
5. The memory device according to claim 4, wherein: The lock bit circuit comprises: a reference resistor having a fixed resistance value; a reference transistor connected in series to the reference resistor; a first clamping transistor; a second clamping transistor; and An AND gate.
6. The memory device according to claim 5, wherein: The reference transistor and the first access transistor are cross-coupled to each other.
7. The memory device according to claim 5, wherein: When the lock bit circuit is in a programming mode, the lock bit circuit is used to provide a conduction path flowing through the first resistor to the first access transistor and one of the first or second clamp transistors.
8. The memory device according to claim 5, wherein: wherein when the lock bit circuit is in a read mode, the lock bit circuit is used to compare the first resistor with the reference resistor to determine a voltage at a node connected between the first resistor and the first access transistor, the node being connected to one of the two inputs of the AND gate, wherein when the first resistor has been permanently programmed to have the second resistance value, the voltage at the node is in a high logic state, wherein when the first resistor maintains the first resistance value, the voltage at the node is in a low logic state, The lock bit circuit is used for generating the lock bit based on the voltage at the node.
9. The memory device according to claim 4, wherein: Further including: a second memory array comprising a plurality of second memory bits, each of the plurality of second memory bits comprising a second access transistor and a second resistor coupled in series, the second resistor having a second variable resistance; The lock bit circuit is not operatively coupled to the second memory array, wherein each of the plurality of second memory bits is operable to be reversibly programmed between the first resistance value and the second resistance value.
10. A method for operating a memory device, characterized in that: The following steps are involved: Providing a memory array, the memory array comprising a plurality of resistive random access memory bits; Permanently programming at least one RRAM bit of the plurality of RRAM bits based on changing a resistance value of the at least one RRAM bit; comparing the resistance value of the at least one RRAM bit with a reference resistance value; and A lock bit is generated based on the comparison result, the lock bit indicating whether the at least one RRAM bit has been permanently programmed.
