Built-in self-tuning device, system and method of operation thereof
By automatically calibrating the voltage regulator in the integrated circuit through the built-in self-tuning circuit, the problems of long testing time and high cost in the prior art are solved, and more efficient voltage regulator fine-tuning is achieved, which improves circuit speed and saves chip area.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TAIWAN SEMICONDUCTOR MANUFACTURING CO LTD
- Filing Date
- 2025-09-02
- Publication Date
- 2026-06-19
Smart Images

Figure CN122245389A_ABST
Abstract
Description
Technical Field
[0001] One embodiment of this disclosure provides a built-in self-adjusting voltage regulator device, a system with a built-in self-adjusting voltage regulator, and a method for operating the built-in self-adjusting voltage regulator device. Background Technology
[0002] An integrated circuit (IC) can contain various hardware circuit devices or logic types, including FPGAs, application-specific integrated circuits (ASICs), logic gates, registers, or transistors, as well as various interconnections between circuit devices. ICs can be manufactured using or composed of semiconductor materials, for example, as part of electronic devices such as computers, portable devices, smartphones, and Internet of Things (IoT) devices. The development and increasing complexity of ICs have driven greater demands for higher computing efficiency and speed. More specifically, ICs can be configurable and / or programmable to perform calculations in a sequence or variation required by the manufacturer, developer, technician, or programmer. Summary of the Invention
[0003] One embodiment of this disclosure discloses a system with a built-in self-adjusting device. The system includes memory circuitry, multiple bias generator circuits, and a built-in self-adjusting circuit, each bias generator circuit corresponding to an individual input of the memory circuitry. The built-in self-adjusting circuit receives a feedback signal from a first bias generator circuit among the multiple bias generator circuits. Based on the feedback signal and a voltage reference, the built-in self-adjusting circuit generates a fine-tuning code for the first bias generator circuit, causing the first bias generator circuit to generate an output voltage for an individual input of the memory array.
[0004] In another embodiment of this disclosure, a built-in self-adjusting device is disclosed. The built-in self-adjusting device includes a comparator circuit, a first search circuit coupled to the comparator circuit, and a second search circuit for generating a trim code for a bias generator circuit based on the output of the comparator circuit, wherein the output is generated based on a feedback signal from the bias generator circuit.
[0005] In yet another embodiment of this disclosure, a method for operating a built-in self-tuning device is disclosed. The method includes calibrating the built-in self-tuning circuitry of a memory device using a first search operation. The method includes determining a tuning code for a bias generator circuitry of the memory device using the built-in self-tuning circuitry and a second search operation. The method includes generating a voltage for at least one control input in a memory array of the memory device using the bias generator circuitry. Attached Figure Description
[0006] The state of this disclosure is in relation to the accompanying items. Figure 1 The best way to understand this text is by referring to the detailed description below. Note that, according to industry standards, the features are not drawn to scale. In practice, the dimensions of the features can be arbitrarily increased or decreased for clarity of explanation.
[0007] Figure 1 The figure shows a block diagram of an example memory system with built-in self-tuning circuitry for a voltage regulator circuit, according to some embodiments of the present disclosure.
[0008] Figure 2 The illustration shows a block diagram of an example of a built-in self-tuning circuit used to calibrate a voltage regulator circuit according to some embodiments of the present disclosure.
[0009] Figure 3 The illustration shows a configuration for calibrating multiple voltage regulator circuits according to some embodiments of this disclosure. Figure 2 The example has a block diagram of a built-in self-tuning circuit;
[0010] Figure 4 The figure shows a block diagram of another example of a built-in self-tuning circuit used to calibrate a voltage regulator circuit based on direct voltage output, according to some embodiments of this disclosure.
[0011] Figure 5 The illustrations are based on some embodiments of this disclosure for calibrating multiple voltage regulator circuits. Figure 4 The example has a block diagram of a built-in self-tuning circuit;
[0012] Figure 6 The figure shows a block diagram of another example memory system that uses a one-time programmable memory circuit to implement a built-in self-tuning circuit for a voltage regulator circuit, according to some embodiments of the present disclosure.
[0013] Figure 7 The illustration shows a block diagram of an example built-in self-tuning circuit for calibrating multiple voltage regulator circuits using a one-time programmable memory circuit according to some embodiments of the present disclosure.
[0014] Figure 8 The illustration is a schematic diagram of an example binary search process that can be implemented by one or more circuits described herein, according to some embodiments of the present disclosure.
[0015] Figure 9 The illustration is a schematic diagram of an example linear search process that can be implemented by one or more circuits described herein, according to some embodiments of the present disclosure.
[0016] Figure 10 The illustration shows a flowchart of an example method for operating the disclosed circuit according to some embodiments of this disclosure.
[0017] [Symbol Explanation]
[0018] 100: Memory System
[0019] 100: Memory System
[0020] 102: Bandgap voltage generator circuit
[0021] 104: Voltage Reference Generator Circuit
[0022] 106: Analog BIST Circuit
[0023] 108A~108C: Bias Generator Circuit
[0024] 110: Memory Array Circuit
[0025] 200: Built-in self-adjusting circuit
[0026] 202: Bias Generator Circuit
[0027] 204: Voltage Regulator Circuit
[0028] 206: Feedback Circuit
[0029] 208: Fine-tuning register circuit
[0030] 210: Analog BIST Circuit
[0031] 212: First search circuit
[0032] 214: Second Search Circuit
[0033] 216: Comparator Circuit
[0034] 300: Memory System
[0035] 302: Analog BIST Circuit
[0036] 304A~304B: Bias Generator Circuit
[0037] 400: Built-in self-adjusting circuit
[0038] 402: Bias Generator Circuit
[0039] 404: Voltage Regulator Circuit
[0040] 406: Feedback Circuit
[0041] 408: Fine-tuning register circuit
[0042] 410: Analog BIST Circuit
[0043] 412: First search circuit
[0044] 414: Second Search Circuit
[0045] 416: Comparator Circuit
[0046] 500: Memory System
[0047] 502: Analog BIST Circuit
[0048] 504A~504B: Bias Generator Circuit
[0049] 600: Memory System
[0050] 602: Bandgap voltage generator circuit
[0051] 604: Voltage Reference Generator Circuit
[0052] 606: Analog BIST Circuit
[0053] 608A~608C: Bias Generator Circuit
[0054] 610: Memory Array Circuit
[0055] 612: Data Circuit
[0056] 614: OTP circuit
[0057] 616: Controller
[0058] 700: Memory System
[0059] 702: Analog BIST Circuit
[0060] 704A~704B: Bias Generator Circuit
[0061] 706: Data / Controller Circuit
[0062] 708: OTP circuit
[0063] 800: Binary Search Process
[0064] 900: Linear Search Process
[0065] 1000: Method
[0066] 1002~1006: Operation
[0067] Block SEL: Block Select Signal
[0068] CAL_A: First calibration signal
[0069] CAL_B: Second calibration signal
[0070] CLK: Clock signal / clock cycle
[0071] EN: Enable signal
[0072] FB: Feedback Signal
[0073] REF: Reference Input
[0074] SEL: Select Input
[0075] SEL1: Individual Selection Signal
[0076] SEL2: Individual Selection Signal
[0077] TARGET: Target Input
[0078] TRIM: Spincode / Search Value
[0079] TRIM LOAD: Fine-tuning the load signal
[0080] TRIM OUT: Trimmer code / Output trimmer code / Adjust trimmer code
[0081] TRIM2: Second fine-tuning code
[0082] UP: Output error signal
[0083] VBG: Voltage
[0084] Voltage Input: Voltage input
[0085] Vout_1: Output voltage
[0086] Vout_1_FB: Target Input
[0087] Vout_2: Output voltage
[0088] Vout_2_FB: Target Input
[0089] VREF: Voltage Reference Input
[0090] VREF Input: Voltage Reference Input
[0091] VREF1: First voltage reference
[0092] VREF2: Second voltage reference
[0093] WBL, RBL, WWL, RWL: Voltage Detailed Implementation
[0094] The following disclosure provides numerous different embodiments or instances for implementing various features of the provided subject matter. Specific examples of components and configurations are described below to simplify this disclosure. These are, of course, merely examples and are not intended to be limiting. For instance, the formation of a first feature above or on a second feature in the following description may include embodiments where the first and second features are formed in direct contact, and may also include embodiments where additional features may be formed between the first and second features such that the first and second features are not in direct contact. Furthermore, reference numerals and / or letters may be repeated in various instances of this disclosure. This repetition is for simplicity and clarity and does not, in itself, indicate any relationship between the various embodiments and / or configurations discussed.
[0095] Furthermore, for ease of description, spatial relative terms such as “below,” “under,” “lower,” “above,” “upper,” “top,” “bottom,” and the like are used herein to describe the relationship between one element or feature illustrated in the figures and another element(s). Spatial relative terms are intended to cover different orientations of the device during use or operation, other than those depicted in the figures. Devices may be oriented in other ways (rotated 90 degrees or otherwise), and the spatial relative descriptors used herein can be interpreted similarly.
[0096] Voltage regulators can be used in memory devices to generate precise bias voltages for memory operation. However, achieving accurate voltage bias often requires fine-tuning within the memory circuitry, which introduces additional testing costs and requires additional die area for storing on-chip fine-tuning bits. Conventional methods to alleviate fine-tuning requirements (such as auto-zeroing or chopper stabilizer designs) can mitigate some of these problems, but lead to several drawbacks, including slower circuit operation, increased circuit area, or the introduction of clock noise.
[0097] Fine-tuning voltage regulators involves generating "trim codes," which are numerical representations of adjustments to the voltage output determined to achieve the desired output voltage. Fine-tuning multiple voltage regulators on a single chip using conventional methods results in significant test time because the correct trim code must be determined for each regulator within the memory chip. Additionally, a large amount of on-chip eFuse storage is required to hold these trim codes. Conventional methods involve using external tester circuitry to set the trim codes. This involves loading trim bits into on-chip registers, measuring an analog voltage with the tester, comparing the measured voltage to an accurate voltage reference, and adjusting the trim bits based on the comparison. This iterative process (including waiting for the voltage to stabilize and repeating the measurement and comparison until the voltage substantially approaches the target reference voltage) is inherently slow and has a significant impact on overall die cost.
[0098] To address these and other challenges, the techniques described herein introduce a built-in self-tuning engine designed to reduce testing time and cost while minimizing the need for one-time programmable (OTP) storage of the trim codes. The circuitry described herein can incorporate multiple self-calibrating comparators or operational amplifiers, enabling on-chip tuning without external calibration tools. In some implementations, a single tuning circuit can be used to set the trim codes for all regulators in the memory device. The tuning circuitry described herein can execute automatically upon device power-on or reset, allowing the memory device to be completely powered off after tuning is complete.
[0099] For example, the trimming circuit described herein is designed to automatically calibrate all voltage regulators to the desired accuracy by adjusting their trim codes during the initial power-on sequence. To this end, the built-in self-trimming circuit described herein can automatically iterate via each memory device, using feedback from the voltage regulators to update the trim codes and store them in the voltage regulator's trim register. In some implementations, OTP circuitry (such as eFuse or other memory elements) can be used to continuously store the generated trim codes after calibration, which may reduce the overall device power-on time in some implementations.
[0100] Figure 1 The illustration shows a block diagram of an example memory system 100 implementing a built-in self-trimming (BIST) circuit 106 according to some embodiments of the present disclosure. The memory system 100 is shown as including a bandgap voltage generator circuit 102, a voltage reference generator circuit 104, an analog BIST circuit 106, a collection of bias generator circuits 108A-108C (sometimes generally referred to as "(multiple) bias generator circuits 108" or "(multiple) voltage regulator circuits 108"), and a memory array circuit 110. Each of the components of the memory system 100 may be part of a single memory device, for example, provided on a single semiconductor die or multiple semiconductor dies communicating with each other. The analog BIST circuit 106 may be a built-in component of the memory system rather than an external component.
[0101] The memory system 100 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuitry and logic gates implementing the memory system 100 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistor can be any suitable type of transistor, including but not limited to metal oxide semiconductor field effect transistors (MOSFETs), complementary metal oxide semiconductor (CMOS) transistors, P-channel metal-oxide semiconductor (PMOS), N-channel metal-oxide semiconductor (NMOS), bipolar junction transistors (BJTs), high-voltage transistors, high-frequency transistors, P-channel and / or N-channel field effect transistors (PFETs / NFETs), FinFETs, planar MOS transistors with convex source / drain electrodes, nanosheet FETs, nanowire FETs, or similar.
[0102] The memory system 100 is shown to include a bandgap voltage generator 102. The bandgap voltage generator 102 provides a stable reference voltage, sometimes referred to as the bandgap voltage, which is relatively insensitive to temperature variations. The bandgap voltage generator 102 may include any suitable circuitry for generating the bandgap voltage. In some embodiments, the bandgap voltage generator 102 may include a combination of a transistor and resistor network connected to a forward-biased diode, which together generate a voltage proportional to the bandgap voltage of the semiconductor material of the bandgap voltage generator 102. In some embodiments, the bandgap voltage generator 102 may be incorporated into a current mirror circuit to ensure that the generated voltage remains consistent under different operating conditions. The generated bandgap voltage can then be provided to a voltage reference generator 104 to facilitate the generation of an accurate and stable reference voltage.
[0103] Memory system 100 is shown to include a bandgap voltage generator 102. A voltage reference generator 104 may receive a bandgap voltage from the bandgap voltage generator 102 and may generate one or more reference voltages, which are provided to analog BIST circuit 106 and one or more bias generator circuits 108. The voltage reference generator 104 may include various components such as operational amplifiers, resistor networks, and voltage divider circuitry. In some embodiments, the voltage reference generator 104 may utilize operational amplifiers or similar circuitry that amplify the bandgap voltage and generate one or more stable reference voltages. The operational amplifier may be coupled to a resistor network to scale the bandgap voltage to a desired reference voltage level. In some embodiments, the voltage reference generator 104 may incorporate voltage divider circuitry to further refine the generated reference voltage to match the reference voltage inputs of analog BIST circuit 106 and bias generator circuit 108. In some embodiments, the voltage reference generator 104 may include temperature compensation circuitry to maintain the stability of the reference voltage under varying operating temperatures.
[0104] The memory system is shown as including an analog BIST circuit 106. As shown, the analog BIST circuit 106 can receive a reference voltage from a voltage reference generator 104 and can generate output trimming codes (shown as "TRIM OUT") for one or more bias generator circuits 108. In some implementations, the analog BIST circuit 106 may include control circuitry that outputs a block selection signal (shown as "Block SEL") to select one or more of the bias generator circuits 108 for trimming. Further details relating to the structure of the analog BIST circuit 106 are detailed below. Figure 2 Describe it.
[0105] The analog BIST circuit 106 facilitates the automatic generation of trim codes for one or more of the bias generator circuits 108, such that the generated bias voltage satisfies the requirement of producing an output voltage compatible with the memory array circuit 110. As shown, the analog BIST circuit 106 can receive one or more feedback voltages (shown here as "VoltageIn") from the selected bias generator circuit 108, which can be used in conjunction with the trimming operation described further in detail herein. The analog BIST circuit 106 can use the received feedback voltage to iteratively generate trim codes for the selected bias generator circuit 108. The iterative process may involve adjusting the trim codes until the feedback voltage matches the reference voltage within a specified tolerance.
[0106] In some implementations, the analog BIST circuit 106 can automatically perform a fine-tuning process upon device power-on or reset (e.g., by receiving a corresponding reset signal, power-on signal, or initialization signal). For this purpose, control circuitry within the analog BIST circuit 106 can use block select signals to isolate and adjust individual bias generator circuits 108, thereby sequentially selecting each of the bias generator circuits 108 for fine-tuning. The analog BIST circuit 106 can generate fine-tuning codes for each selected bias generator circuit 108 and store them in corresponding fine-tuning registers for these bias generator circuits 108.
[0107] The memory system 100 is shown to include one or more bias generator circuits 108. As shown, each bias generator circuit 108 can generate a corresponding bias voltage for a corresponding input signal of the memory array circuit 110. For this purpose, each bias generator circuit 108 can receive a corresponding reference voltage from a voltage reference generator 104, which can correspond to an individual input of the memory array circuit 110. For example, bias generator circuit 108A can receive a reference voltage corresponding to the input voltage of the write bit line of the memory array circuit 110. The bias generator circuits 108 can generate bias voltages for one or more voltage signals of the memory array circuit (including but not limited to write bit line voltage, read bit line voltage, write word line voltage, or read word line voltage, etc.). Further details related to the structure and functionality of each bias generator circuit 108 are discussed in conjunction with... Figure 2 Describe it.
[0108] As described further in detail herein, each bias generator circuit 108 may include one or more registers storing trimming codes generated by the analog BIST circuit 106. These trimming codes can be used to adjust the generated bias voltage to meet the requirements of the memory array circuit 110. In one example, the bias generator circuit 108 may include a voltage regulator circuit comprising an operational amplifier or similar component that receives trimming codes to modify the output bias voltage. As shown, each of the bias generator circuits 108 can provide voltage feedback to the analog BIST circuit 106 to facilitate trimming operations. In some implementations, a block select signal can be used to select which of the bias generator circuits 108 to be trimmed.
[0109] The memory system 100 is shown to include at least one memory array circuit 110, which can receive bias voltage signals from one or more bias generator circuits 108. The memory array circuit 110 may include an array of any number of memory elements, including but not limited to dynamic random-access memory (DRAM) cells, static random-access memory (SRAM) cells, flash memory cells, eFuse memory cells, or other types of memory cells capable of electronically storing information. The memory array circuit 110 can perform read and write operations to store and retrieve data. In some implementations, the memory array circuit 110 may include additional components, such as sense amplifiers, decoders, and input / output circuitry, to support various memory operations.
[0110] Figure 2 The figure shows a block diagram of an example of a built-in self-tuning circuit 200 used to calibrate a voltage regulator circuit according to some embodiments of the present disclosure. The built-in self-tuning circuit 200 is shown as including a bias generator circuit 202 and an analog BIST circuit 210. The bias generator circuit 202 may be similar to... Figure 1 The bias generator circuit 108 includes any of its structure and implements any of its functionality. The analog BIST circuit 210 may be similar to... Figure 1 The analog BIST circuit 106, including any of its structure and any of its functions.
[0111] The built-in self-tuning circuit 200 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuit and logic gates implementing the built-in self-tuning circuit 200 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to MOSFETs, CMOS transistors, PMOS, NMOS, BJTs, high-voltage transistors, high-frequency transistors, PFETs / NFETs, FinFETs, planar MOS transistors with convex source / drain terminals, nanosheet FETs, nanowire FETs, or the like.
[0112] The bias generator circuit 202 is shown as including a voltage regulator circuit 204, a feedback circuit 206, and a fine-tuning register circuit 208. The bias generator circuit 202 can receive a selection input (shown here as "SEL"), which is activated (e.g., in a logic high state, an active logic state, etc.) when the bias generator circuit 202 is selected for the fine-tuning operation described herein. As shown, the bias generator circuit 202 may include switches at the inputs of the fine-tuning register circuit, which close when the selection input is activated, thereby enabling modification of the fine-tuning code stored in the fine-tuning register circuit 208. The bias generator circuit 202 includes another switch at the output of the feedback circuit 206, which closes when the selection input is active, enabling the bias generator circuit 202 to output feedback from the feedback circuit 206 to the analog BIST circuit 210, as shown. The bias generator circuit 202 includes a fourth switch coupled to the voltage reference input (shown as “VREF”), which, when closed (e.g., when the select input is activated), provides the voltage reference as an output to the analog BIST circuit 210, as shown.
[0113] The voltage regulator circuit 204 can be any type of voltage generation circuit, including but not limited to low-drop-out (LDO) buck converters, charge pumps, or other voltage generators. The voltage regulator circuit 204 can generate an output voltage signal (displayed as "VOUT"), which can be used as a memory circuit, such as... Figure 1 The bias voltage of the memory array circuit 110. The voltage regulator circuit 204 can receive a voltage reference input and a feedback signal (displayed as "FB") generated by the feedback circuit 206. The voltage regulator circuit 204 can receive a trimming code from the trimming register circuit 208, which can be used to fine-tune the output voltage signal, as described in further detail herein.
[0114] Voltage regulator circuit 204 generates an output voltage such that the feedback signal generated by feedback circuit 206 based on the output voltage is equal to a reference voltage when affected by a trimming code. The trimming code received by voltage regulator circuit 204 can adjust internal parameters of voltage regulator circuit 204, thereby modifying the output voltage of voltage regulator circuit 204. For example, the trimming code can modify the input offset voltage of the operational amplifier within voltage regulator circuit 204, the gain of the operational amplifier within voltage regulator circuit 204, or any other parameter of any component of voltage regulator circuit 204. In some implementations, the trimming code can adjust the resistance value of resistive elements within voltage regulator circuit 204, which can affect the voltage division and thus the output voltage.
[0115] Feedback circuit 206 may receive the voltage output (VOUT) of voltage regulator circuit 204 and generate a feedback signal (FB). Feedback circuit 206 may include a voltage divider or another type of circuit to precisely reduce the output voltage. For example, feedback circuit 206 may include a network of resistor dividers that proportionally reduces the output voltage to a level suitable for comparison with a reference voltage. Feedback circuit 206 may have circuit elements (e.g., resistor dividers, etc.) selected such that when the desired output voltage is generated, the resulting feedback signal is equal to the reference voltage. In some implementations, feedback circuit 206 may include additional components, such as operational amplifiers or comparators, to further refine the feedback signal and ensure its matching with the reference voltage under various operating conditions.
[0116] The trimming register circuit 208 may include one or more storage elements, such as flip-flops, latches, or other storage elements, to store trimming codes for the voltage regulator circuit 204. The trimming register circuit 208 may receive a trimming load signal (displayed as “TRIM LOAD”) from the analog BIST circuit 210, indicating that trimming codes are to be written to the trimming register circuit 208. The trimming register circuit 208 may receive trimming codes (displayed as “TRIM OUT”) from the analog BIST circuit 210 and store them in a flip-flop, latch, or other memory element. The trimming register circuit 208 may provide the stored trimming codes to the voltage regulator circuit 204 to adjust the output voltage.
[0117] The analog BIST circuit 210 is shown as including a first search circuit 212, a second search circuit 214, and a comparator circuit 216. Although shown herein as a comparator, it should be understood that the comparator circuit 216 may include any type of circuit capable of comparing two inputs, including but not limited to operational amplifiers. The analog BIST circuit 210 may receive a clock signal (shown as “CLK”) that can synchronize the various logic components in the analog BIST circuit 210. The analog BIST circuit 210 may receive a feedback signal and a voltage reference signal from the bias generator circuit 202 as a target input (shown as “TARGET”) and a reference input (shown as “REF”), respectively. The analog BIST circuit 210 may use the techniques described herein to generate trim codes via the TRIM OUT and TRIM LOAD signals.
[0118] Before generating the trim code, the analog BIST circuit 210 performs a self-calibration process to calibrate the output of the comparator circuit 216. As shown, the analog BIST circuit 210 includes two switches at the second input of the comparator circuit 216. The first switch can be closed during the self-calibration process and can be controlled by a first calibration signal (displayed as "CAL_A"). When the first switch is closed, the second switch is open, and the first switch sets both inputs of the comparator circuit 216 to the reference voltage. The second switch can be closed during the trimming process of the bias generator circuit 202 and can be controlled by a second calibration signal (displayed as "CAL_B"). When the second switch is closed, the first switch is open (after calibration), and the second switch sets the second input of the comparator circuit 216 to the feedback voltage.
[0119] For example, the first and second calibration circuits may be provided from control circuitry, which may include a portion of or communicate with the analog BIST circuitry 210. In some implementations, the comparator circuitry 216 may include an enable input that can receive an enable signal that enables the comparator circuitry 216 to generate an output. The comparator circuitry 216 may operate as an error amplifier to amplify a small voltage difference between its first and second inputs into an output error signal (shown here as "UP") for self-calibration and / or generating trimming codes according to the techniques described herein.
[0120] To perform calibration, the first calibration signal can be set to an active logic state, and the second calibration signal can be set to an inactive logic state, such that both inputs of the comparator circuit 216 receive a voltage reference signal (e.g., an equal voltage signal). During the self-calibration process, the output of the comparator circuit 216 can indicate an internal error of the comparator circuit 216, which will be compensated by a second trim code (shown here as "TRIM2") generated using the second search circuit 214.
[0121] The first search circuit 212 and the second search circuit 214 may each be a circuit that performs a search operation to generate a trimmer code. In some implementations, the first search circuit 212 and the second search circuit 214 may be decision tree circuits that perform a binary search operation. Further details of the binary search operation are detailed below. Figure 8 The following description is provided. In some implementations, the first search circuit 212 and the second search circuit 214 may each be a counter circuit that performs a linear search operation. Further details of the linear search operation are provided below. Figure 9 Describe it.
[0122] To perform self-calibration, the second search circuit 214 can iteratively apply a search algorithm (e.g., binary search, linear search) to converge to the trim code for the comparator circuit 216. At the start of the self-calibration process, the second search circuit 214 can be initialized to include an initial set of trim codes (e.g., stored in an internal register and provided as output), which can be iteratively adjusted based on the output of the comparator circuit 216 over various clock cycles (or sets of clock cycles). If the comparator circuit 216 outputs logic high, the second search circuit 214 can adjust the trim code to decrease the detected voltage difference. Conversely, if the comparator circuit 216 outputs logic low, the second search circuit 214 can adjust the trim code to increase the detected voltage difference. The second search circuit 214 can update a second trim value (e.g., the trim code) until the comparator circuit 216 alternates between logic high and logic low outputs, indicating that the detected voltage difference of the input detected by the comparator circuit 216 has been minimized. Once this situation is detected, the second search circuit 214 and / or control circuit can generate a signal indicating that the comparison circuit 216 has been calibrated.
[0123] Once the self-calibration of the comparator circuit 216 has been performed, the first search circuit 212 can be used to generate a trim code for the voltage regulator circuit 204. For this purpose, the first calibration signal can be set to an inactive logic state, and the second calibration signal can be set to an active logic state. This causes the first input of the comparator circuit 216 to receive a voltage reference signal, and the second input of the comparator circuit 216 to receive a feedback signal (e.g., via the TARGET input port of the analog BIST circuit 210). During the calibration process of the voltage regulator circuit 204, the output of the comparator circuit 216 can indicate an internal error in the comparator circuit 216, which will be compensated for by using the trim code generated by the second search circuit 214 as a TRIM OUT signal.
[0124] To perform calibration of the voltage regulator circuit 204, the first search circuit 212 can iteratively apply a search algorithm (e.g., binary search, linear search) to converge to a trim code for the voltage regulator circuit 204. At the start of the calibration process, the first search circuit 212 can be initialized to store an initial trim code (e.g., stored in an internal register and provided as an output), which can be iteratively adjusted at each clock cycle (or set of clock cycles) based on the output of the comparator circuit 216. The first search circuit 212 can generate a trim code for the search operation at each clock cycle (or set of clock cycles) and can automatically assert a trim load (displayed as “TRIM LOAD”) signal to write the trim code to the storage element of the trim register circuit 208.
[0125] The trim code written to the trim register circuit 208 causes the voltage regulator circuit 204 to change its output voltage, thereby causing a corresponding change in the feedback signal generated by the feedback circuit 206. The feedback signal is then provided to the comparator circuit 216 for comparison over one or more subsequent clock cycles. If the comparator circuit 216 outputs logic high, the first search circuit 212 can adjust the trim code to reduce the detected voltage difference. Conversely, if the comparator circuit 216 outputs logic low, the first search circuit 212 can adjust the trim code to increase the detected voltage difference. The second search circuit 214 can iteratively update the trim code provided to the bias generator circuit 202 until the comparator circuit 216 alternates between logic high and logic low outputs, indicating that the detected voltage difference of the input detected by the comparator circuit 216 has been minimized. Once this condition is detected, the first search circuit 212 and / or the control circuit can generate a signal indicating that the voltage regulator 204 has been calibrated.
[0126] Figure 3 The illustration shows a configuration for calibrating multiple voltage regulator circuits according to some embodiments of this disclosure. Figure 2 A block diagram of an example memory system 300 with built-in self-tuning circuitry is provided. The memory system 300 is shown as including an analog BIST circuit 302 and one or more bias generator circuits 304A-304B (sometimes generally referred to as "(multiple) bias generator circuits 304"). The analog BIST circuit 302 may be similar to... Figure 2 The analog BIST circuit 210, and includes any of its structure and implements any of its functionality. Each of the bias generator circuits 304 may be similar to... Figure 2 The bias generator circuit 202 includes any of its components and implements any of its functionalities. The analog BIST circuit 302 can perform iterative calibration of each of the components in the bias generator circuit 304. In some implementations, before performing calibration of the bias generator circuit 304, the analog BIST circuit 302 can perform a similar calibration as combined with... Figure 2 The self-calibration process described above.
[0127] The memory system 300 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuitry and logic gates implementing the memory system 300 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to MOSFETs, CMOS transistors, PMOS, NMOS, BJTs, high-voltage transistors, high-frequency transistors, PFETs / NFETs, FinFETs, planar MOS transistors with convex source / drain terminals, nanosheet FETs, nanowire FETs, or the like.
[0128] Each of the bias generator circuits 304 may include an individual selection signal (shown here as "SEL1" for bias generator circuit 304A and "SEL2" for bias generator circuit 304B). Although two bias generator circuits 304 are shown here, it should be understood that any number of bias generator circuits 304 may exist, each with a corresponding selection signal and voltage reference signal. After calibrating the analog BIST circuit 302, one of the bias generator circuits 304 can be selected, while the others can be deselected. For example, the selection of the bias generator circuits 304 can be performed via control circuitry or via the analog BIST circuit 302. (See also...) Figure 2 The selection of the bias generator circuit 304 allows the feedback signal and voltage reference from the bias generator circuit 304 to be provided as the target input and voltage reference for the calibration process.
[0129] The analog BIST circuit 302 can be used in combination Figure 2 The described technique performs calibration, in which a feedback signal is compared to a reference voltage, generating appropriate trim codes for the selected bias generator circuit 304. Once the calibration process for the selected bias generator circuit 304 is complete, the calibrated bias generator circuit 304 can be deselected, and the next uncalibrated bias generator circuit 304 can be selected for calibration. This iterative process can be repeated until all bias generator circuits 304 have been calibrated. During each iteration, the analog BIST circuit 302 can generate and store appropriate trim codes for the selected bias generator circuit 304. The trim codes can be used to adjust the output voltage of each bias generator circuit 304 to ensure that the feedback signal matches the voltage reference within a specified tolerance.
[0130] Figure 4The figure shows a block diagram of an example of a built-in self-tuning circuit 400 for calibrating a voltage regulator circuit based on a direct voltage output, according to some embodiments of this disclosure. The built-in self-tuning circuit 400 is shown as including a bias generator circuit 402 and an analog BIST circuit 410. The bias generator circuit 402 may be similar to... Figure 2 The bias generator circuit 202, and includes any of its structure and implements any of its functionality. The analog BIST circuit 410 may be similar to Figure 2 The analog BIST circuit 210, including any of its structure and any of its functionality.
[0131] The built-in self-tuning circuit 400 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuit and logic gates implementing the built-in self-tuning circuit 400 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to MOSFETs, CMOS transistors, PMOS, NMOS, BJTs, high-voltage transistors, high-frequency transistors, PFETs / NFETs, FinFETs, planar MOS transistors with convex source / drain terminals, nanosheet FETs, nanowire FETs, or the like.
[0132] The bias generator circuit 402 is shown to include a voltage regulator circuit 404, a feedback circuit 406, and a fine-tuning register circuit 408, which may be similar to... Figure 2 The voltage regulator circuit 204, feedback circuit 206, and trimmer register circuit 208, and include any of their structures and implement any of their functions. The analog BIST circuit 410 is shown as including a comparator circuit 416, a first search circuit 412, and a second circuit 414, each of which may be similar to... Figure 2 The comparison circuit 216, the first search circuit 212, and the second circuit 214, and including any of the components thereof and implementing any of their functionality.
[0133] In the example's built-in fine-tuning circuit 400, the output voltage of the voltage regulator circuit 404 can be provided as a feedback / target input signal, rather than providing the output of the feedback circuit 406 as a feedback signal (e.g., a target input signal) to the analog BIST circuit 410. To compensate for voltage differences, two reference voltages can be used. The first voltage reference (shown as "VREF1") can be used as an input to the bias generator circuit 402, to be compared with the feedback signal generated by the feedback circuit 406, similar to combining... Figure 2The voltage reference is described above. A second voltage reference (shown as "VREF2") is provided to the analog BIST circuit 410 for comparison with the output voltage of the bias generator circuit 402. As shown, the output of the voltage regulator circuit 404, in addition to providing the output voltage of the bias generator circuit 402, is also coupled to a switch controlled by a selection signal. If the selection signal is active, the switch closes, thereby providing an output voltage to the analog BIST circuit 410 as the target input signal.
[0134] Figure 5 The diagram illustrates a circuit for calibrating multiple voltage regulators according to some embodiments of this disclosure. Figure 4 A block diagram of an example memory system 500 with built-in self-adjusting circuitry. The memory system 500 is shown as including an analog BIST circuit 502 and one or more bias generator circuits 504A-504B (sometimes generally referred to as "(multiple) bias generator circuits 504"). The analog BIST circuit 502 can be similar to... Figure 4 The analog BIST circuit 410, including any of its structure and implementing any of its functionality. The components in the bias generator circuit 504 may be similar to... Figure 4 The bias generator circuit 402 includes any of its components and implements any of its functionalities. The analog BIST circuit 502 can perform iterative calibration of each of the components in the bias generator circuit 504. In some implementations, before performing calibration of the bias generator circuit 504, the analog BIST circuit 502 can perform a similar calibration as in combination with... Figure 2 The self-calibration process described above.
[0135] Memory system 500 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuitry and logic gates implementing memory system 500 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to MOSFETs, CMOS transistors, PMOS, NMOS, BJTs, high-voltage transistors, high-frequency transistors, PFETs / NFETs, FinFETs, planar MOS transistors with convex source / drain terminals, nanosheet FETs, nanowire FETs, and the like.
[0136] Memory system 500 can be similar to Figure 3 The memory system 300 differs in that it includes the combination of Figure 4 The aforementioned analog BIST circuit and bias generator circuit are similar to... Figure 3The configuration shown allows each of the bias generator circuits 504 to include an individual selection signal (shown here as "SEL1" for bias generator circuit 504A and "SEL2" for bias generator circuit 504B). Although two bias generator circuits 504 are shown here, it should be understood that any number of bias generator circuits 504 may exist, each with a corresponding selection signal and voltage reference signal. After calibrating the analog BIST circuit 502, one of the bias generator circuits 504 can be selected, while the others are deselected. For example, the selection of the bias generator circuits 504 can be performed via control circuitry or via the analog BIST circuit 502. (See also...) Figure 4 The selection of bias generator circuit 504 allows its output voltage to serve as the target input for analog BIST circuit 502 (shown here as "Vout_1_FB" for bias generator circuit 504A and "Vout_2_FB" for bias generator circuit 504B). Additionally, the control circuit can match the voltage reference provided as input to analog BIST circuit 502 with the target voltage to be calibrated by the selected bias generator circuit 504.
[0137] The analog BIST circuit 502 can be combined with Figure 2 The described technique performs calibration, wherein the voltage output of the selected bias generator circuit 504 is compared with an input voltage reference to generate appropriate trim codes for the selected bias generator circuit 504. Once the calibration process for the selected bias generator circuit 504 is complete, the calibrated bias generator circuit 504 can be deselected, and the next uncalibrated bias generator circuit 504 can be selected for calibration. This iterative process can be repeated until all of the bias generator circuits 504 have been calibrated. During each iteration, the analog BIST circuit 502 can generate and store appropriate trim codes for the selected bias generator circuit 504. The trim codes can be used to adjust the output voltage of each bias generator circuit 504 to ensure that the feedback signal matches the voltage reference within a specified tolerance, as described herein.
[0138] Figure 6 The illustration shows a block diagram of another example of a memory system 600 that implements a built-in self-tuning circuit for a voltage regulator circuit using a one-time programmable memory circuit according to some embodiments of this disclosure. The memory system 600 may be similar to... Figure 1The memory system 100. The memory system 600 is shown as including a bandgap voltage generator circuit 602, a voltage reference generator circuit 604, an analog BIST circuit 606, a set of bias generator circuits 608A to 608C (sometimes generally referred to as "(multiple) bias generator circuits 608" or "(multiple) voltage regulator circuits 608"), a memory array circuit 610, a data circuit 612, an OTP circuit 614, and a controller 616.
[0139] The memory system 600 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuitry and logic gates implementing the memory system 600 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to MOSFETs, CMOS transistors, PMOS, NMOS, BJTs, high-voltage transistors, high-frequency transistors, PFETs / NFETs, FinFETs, planar MOS transistors with convex source / drain terminals, nanosheet FETs, nanowire FETs, or the like.
[0140] Each of the bandgap voltage generator circuit 602, voltage reference generator circuit 604, analog BIST circuit 606, bias generator circuit set 608, and memory array circuit 610 can be similar to Figure 1 The bandgap voltage generator circuit 102, the voltage reference generator circuit 104, the analog BIST circuit 106, the bias generator circuit 108, and the memory array circuit 110, including any of the above in their structure and implementing any of their functionality. Figure 6 In the configuration shown, the analog BIST circuit 606 can be similarly combined with Figure 4 The configuration described above accesses the voltage output of the bias generator circuit. However, it should be understood that in some implementations, the analog BIST circuit 606 may use a feedback signal from the feedback circuit, such as in conjunction with... Figure 2 As stated above.
[0141] Memory System 600 can be with Figure 1The memory system 100 operates in a similar manner, and also includes a persistent memory device to store calculated trim codes for one or more of the bias generator circuits 608. Storing the trim codes in persistent memory allows the memory system 600 to initialize the bias generator circuits 608 with the trim codes during startup / reset without recalibrating the bias generator circuits 608. This method reduces the time required to initialize the bias generator circuits 608 for use in conjunction with the memory array circuits 610, because the trim codes can be provided from persistent memory instead of being generated each time the memory system 600 is reset or reinitialized.
[0142] To implement these techniques, the analog BIST circuit 606 can perform an initial calibration on each of the bias generator circuits 608 to generate trim codes for storage in persistent memory elements. Calibration can be performed using methods similar to those described herein. In this example, the controller 616 can control a block selection signal (e.g., a “Block SEL” signal) to iteratively select each of the bias generator circuits 608. The analog BIST circuit 606 can perform the calibration techniques described herein to iteratively generate adjustment trim codes (shown here as “TRIM OUT”) to the selected bias generator circuit 608. The trim codes can be provided from the analog BIST circuit 606 via data circuitry 612, which also controls read / write operations to the OTP circuit 614. In addition to providing the block selection signal, the controller 616 can also provide an address signal corresponding to the selected bias generator circuit 608 as an input to the OTP circuit 614.
[0143] Once the optimal trim code for the selected bias generator 608 is determined, the data circuit 612 can automatically perform a write operation (e.g., in response to a signal from the controller 616 and / or the analog BIST circuit 606 indicating that the calibration process is complete). The write operation updates the persistent memory elements of the OTP circuit 614 with the trim code determined for the selected bias generator circuit 608. The controller 616 can then select the next uncalibrated bias generator circuit 608 and repeat the calibration process until all bias generator circuits 608 have been calibrated and the corresponding trim code has been written to the OTP circuit 614.
[0144] OTP circuit 614 may include any type of persistent memory element, including but not limited to OTP memory elements, eFuse memory elements, flash memory, or any other type of memory that can store trim codes for bias generator circuit 608. OTP circuit 614 may include a control circuitry system to facilitate read and write operations via data circuit 612 and controller 616. Once OTP circuit 614 has been updated to include trim codes for each of the bias generator circuits 608, subsequent resets and / or initializations of bias generator circuit 608 do not necessarily require calibration.
[0145] For example, to initialize bias generator circuit 608 with a trim code, controller 616 may iteratively provide block select signals to each of the bias generator circuits 608 and corresponding address signals to OTP circuit 614. To initialize the selected bias generator circuit 608, data circuit 612 may issue a read operation to retrieve the trim code stored in OTP circuit 614 and provide the retrieved trim code to the selected bias generator circuit 608 to update its trim register circuitry. This may be repeated until all trim registers in bias generator circuit 608 are updated to include the previously generated trim code stored in OTP circuit 614. In some implementations, OTP circuit 614 may include rewritable memory elements. In such implementations, bias generator circuit 608 may be recalibrated in response to a corresponding signal (e.g., from external circuitry) to update OTP circuit 614 with the updated trim code of bias generator circuit 608.
[0146] Figure 7 The illustration shows a block diagram of an example memory system 700 for calibrating multiple voltage regulator circuits using a one-time programmable memory circuit, according to some embodiments of the present disclosure. The memory system 700 may be similar to... Figure 5 The memory system 500. The memory system 700 is shown as including an analog BIST circuit 702 and one or more bias generator circuits 704A-704B (sometimes generally referred to as "(multiple) bias generator circuits 704"). The analog BIST circuit 702 may be similar to... Figure 5 The analog BIST circuit 510, including any of its structure and implementing any of its functionality. The components in the bias generator circuit 704 may be similar to... Figure 5 The bias generator circuit 504 includes any of its components and implements any of its functionalities. The analog BIST circuit 702 can perform iterative calibration of each component in the bias generator circuit 704. In some implementations, before performing calibration of the bias generator circuit 704, the analog BIST circuit 702 can perform a similar process to combining... Figure 2 The self-calibration process described above.
[0147] The memory system 700 may include one or more logic gates and various sub-circuits that may be composed of one or more logic gates. A logic gate is an electronic device that performs logical operations on one or more input signals to generate a single output signal. Various embodiments of the circuitry and logic gates implementing the memory system 700 may include various transistors. The transistors described herein may have a certain type (n-type or p-type), but the embodiments are not limited thereto. The transistors may be any suitable type of transistor, including but not limited to MOSFETs, CMOS transistors, PMOS, NMOS, BJTs, high-voltage transistors, high-frequency transistors, PFETs / NFETs, FinFETs, planar MOS transistors with convex source / drain terminals, nanosheet FETs, nanowire FETs, or the like.
[0148] The memory system 700 is similar to the memory system 500, and also includes a data / controller circuit 706 and an OTP circuit 708. The data / controller circuit 706 may be similar to... Figure 6 The memory circuit 600 includes the controller circuit 616 and / or data circuit 612, and includes any of these components in its structure and implements any of their functionality. The OTP circuit 708 may be similar to... Figure 6 The memory system 600 includes an OTP circuit 614, and includes any of its structure and implements any of its functionality. As shown, the analog BIST circuit 702 provides a trim code (displayed as “TRIM OUT”, and a corresponding “TRIM LOAD” signal indicating a write) to the data / controller circuit 706, rather than directly providing an output trim code to one of the selectors in the bias generator circuit 704.
[0149] Such as combination Figure 6 During the calibration phase of bias generator circuit 704 (e.g., before the trim code is written to OTP circuit 708), data / controller circuit 706 may provide trim codes to the selected bias generator circuit 704. Once the optimal trim code for the selected bias generator circuit 704 is identified, data / controller circuit 706 may write the trim code to the corresponding memory element in OTP circuit 708. This process may be repeated for each of the bias generator circuits 704. Data / controller circuit 706 may automatically retrieve the stored trim codes from OTP circuit 708 and provide them to the corresponding bias generator circuit 704 (e.g., for storage in trim register circuits as described herein), rather than recalibrating the bias generator circuits 704 during device reset or startup.
[0150] Figure 8The illustration shows a schematic diagram of an example binary search process 800, which can be implemented by one or more circuits described herein, according to some embodiments of this disclosure. For example, the binary search process 800 can be implemented as any of the search circuits described herein (e.g., first search circuit 212 or second search circuit 214, first search circuit 412 or second search circuit 414, etc.). For example, the binary search process 800 can be implemented using a decision tree circuit.
[0151] Figure 8 The schematic diagram illustrates a binary search process 800 over five clock cycles, as shown by individual values of the CLK signal. Each clock cycle of the binary search process 800 is represented as a number row. An "X" provided on the number row indicates the "target" value being searched (the number determined by the binary search process 800). The search value (displayed as "TRIM") is illustrated in binary and decimal format below the number row, representing the search operation value for the corresponding clock cycle. In this example, the trim code has a four-bit resolution, so the search space (represented by the number rows) can include up to sixteen values, ranging from zero to fifteen. However, it should be understood that any suitable resolution of the trim code described herein can be used.
[0152] In the first iteration of binary search procedure 800 (where CLK has a value of zero), the trimmer is initialized to the midpoint of the search space (in binary representation, the most significant bit is set to one, and all other bits are set to zero), which in this instance is the value eight. Figure 8 In this context, the search values for each clock cycle are represented as circles on the number row. As described herein, the eight-bit trim code is provided to a trim register circuit (e.g., trim register circuit 208) to adjust the output voltage of a voltage regulator (e.g., voltage regulator 204).
[0153] In the next iteration (e.g., CLK = 1), the output voltage (or the resulting feedback signal) is compared to the reference voltage. If the output voltage is less than the reference voltage, the most significant bit of the trim code (e.g., a bit from the previous clock cycle) remains binary "1", and the next most significant bit is set to one. If the output voltage is less than the reference voltage, the most significant bit of the trim code (e.g., a bit from the previous clock cycle) is set to binary "0", and the next most significant bit is set to binary "1". In this example, the output voltage is less than the reference voltage, and the trim code is set to twelve (binary "1100").
[0154] In the next iteration (e.g., CLK = 2), the output voltage (or the resulting feedback signal) is again compared to the reference voltage. If the output voltage is less than the reference voltage, the bit modified in the previous clock cycle of the trim code (e.g., the second most significant bit) can remain binary "1", and the next most significant bit can be set to one. If the output voltage is greater than the reference voltage, the bit modified in the previous clock cycle of the trim code (e.g., the second most significant bit) can be set to binary "0", and the next most significant bit can be set to binary "1". In this example, the output voltage is again less than the reference voltage, and the trim code is set to fourteen (binary "1110").
[0155] In the next iteration (e.g., CLK = 3), the output voltage (or the resulting feedback signal) is again compared to the reference voltage. If the output voltage is less than the reference voltage, the bit modified in the previous clock cycle of the trim code (e.g., the third most significant bit) remains binary "1", and the next most significant bit is set to one. If the output voltage is greater than the reference voltage, the bit modified in the previous clock cycle of the trim code (e.g., the third most significant bit) is set to binary "0", and the next most significant bit is set to binary "1". In this example, the output voltage is greater than the reference voltage (as shown by the circle above the "X"), and the trim code is set to thirteen (binary "1101").
[0156] This process is repeated in subsequent iterations until the least significant bit of the trimmer code switches between iterations, as indicated by clock cycles CLK=4 and CLK=5, which indicates that the search is complete. As the binary search operation iteratively modifies the values of each bit in the trimmer code, for a given 2... N The binary search process 800 for a single trim code can be completed within N clock cycles. In this example, since there may be sixteen trim codes, the search is completed within four clock cycles (e.g., at CLK=4), where the trim code is set to 12 (binary "1100").
[0157] Figure 9 The illustration shows a schematic diagram of an example linear search process 900 implemented by one or more circuits described herein, according to some embodiments of this disclosure. For example, the linear search process 900 may be implemented as any of the search circuits described herein (e.g., first search circuit 212 or second search circuit 214, first search circuit 412 or second search circuit 414, etc.). For example, the linear search process 900 may be implemented using a counter circuit.
[0158] Figure 9The diagram illustrates a linear search process 900 over five clock cycles, as shown by individual values of the CLK signal. Each clock cycle of the linear search process 900 is represented as a number row. An "X" provided on the number row indicates the "target" value being searched (the number determined by the linear search process 900). The search value (displayed as "TRIM") is illustrated in binary and decimal format below the number row, representing the value generated from the search operation (e.g., a trim code) for the corresponding clock cycle. In this example, the trim code has a four-bit resolution, so the search space (represented by the number rows) can include up to sixteen values, ranging from zero to fifteen. However, it should be understood that any suitable resolution of the trim code described herein can be used.
[0159] In the first iteration of the linear search process 900 (where CLK has a value of zero), the trimmer is initialized to the midpoint of the search space (in binary representation, the most significant bit is set to one, and all other bits are set to zero), which in this instance is the value eight. Figure 9 In this context, the search values for each clock cycle are represented as circles on the number row. As described herein, the eight-bit trim code is provided to a trim register circuit (e.g., trim register circuit 208) to adjust the output voltage of a voltage regulator (e.g., voltage regulator 204).
[0160] In the next iteration (e.g., CLK = 1), the output voltage (or the resulting feedback signal) is compared to the reference voltage. If the output voltage is less than the reference voltage, the trim code is incremented by one. If the output voltage is greater than the reference voltage, the trim code is decremented by one. In this example, the output voltage is less than the reference voltage, and the trim code is set to nine (binary "1001"). This process is repeated iteratively until the search direction changes. This indicates that the linear search process 900 has been completed. In this example, the linear search operation continued for five clock cycles, incrementing the trim code to thirteen (binary "1101"), after which the search direction changed (e.g., the output voltage is greater than the reference voltage).
[0161] refer to Figure 10 The illustration shows a flowchart of an example method 1000 for operating the disclosed circuitry according to some embodiments of this disclosure. Method 1000 can be used to perform self-fine-tuning of a bias generator circuitry according to the techniques described herein. Method 1000 can be performed in conjunction with any of the systems, devices, circuits, or components described herein. It should be understood that in Figure 10 Additional operations are available before, during, and after Method 1000, and this article may only briefly describe some of these additional operations.
[0162] In brief, method 1000 begins with operation 1002, which includes using a first search operation (e.g., combining...). Figure 8 and Figure 9 The search operation (e.g.,) calibrates the built-in self-adjusting circuitry (e.g., analog BIST circuits 106, 210, 302, 410, 502, 606, 702, etc.). Method 1000 continues with operation 1004, including using the built-in self-adjusting circuitry and the second search operation to determine a fine-tuning value (e.g., a fine-tuning code) for the bias generator circuitry (e.g., bias generator circuits 108, 202, 304, 402, 504, 608, 704, etc.). Method 1000 continues with operation 1006, including using the bias generator circuitry to generate a voltage (e.g., WBL, RBL, WWL, RWL, etc.) for at least one control input in the memory array of the memory device.
[0163] Referring to operation 1002, method 1000 may include using a first search operation (e.g., combined with...) Figure 8 and Figure 9 The search operation described above calibrates the built-in self-tuning circuitry (e.g., analog BIST circuits 106, 210, 302, 410, 502, 606, 702, etc.). By implementing a self-calibration process, the built-in self-calibration circuitry can be used to calibrate the built-in self-tuning circuitry, such as in conjunction with... Figure 2 As described above. Therefore, the built-in self-adjusting circuitry can use comparator circuits (e.g., comparator circuit 216, comparator circuit 416, etc.) to compare identical voltages to determine if a shift exists. Search operation (e.g., combined with...) Figure 8 The binary search operation, combined Figure 9 The linear search operation described herein can be implemented using search circuitry (e.g., second search circuitry 214, second search circuitry 414, etc.) to determine an adjustment code for a comparator circuit with built-in self-adjusting circuitry that minimizes the voltage offset between the inputs of the comparator circuitry, as described herein.
[0164] Referring to operation 1004, method 1000 may include using a built-in self-adjusting circuit and a second search operation to determine a fine-tuning value (e.g., a trimming code) for a bias generator circuit (e.g., bias generator circuits 108, 202, 304, 402, 504, 608, 704, etc.). Once the built-in self-adjusting circuit has been calibrated, it can be used to determine the adjustment code for one or more bias generator circuits. As described herein, the bias generator circuit may include a voltage regulator that generates a stable output voltage based on an input reference voltage. The trimming code may be provided to the voltage regulator (e.g., stored in a trimming register circuit 208, 408, etc.) to tune the voltage regulator's output. For example, an input voltage offset of the voltage regulator's comparator circuit (e.g., an operational amplifier, etc.) may cause the voltage regulator's output voltage to deviate from a target value. The trimming code provided to the voltage regulator may optionally compensate for this offset, thereby causing the voltage regulator to generate a target output voltage.
[0165] To determine the trim code for the voltage regulator, the built-in self-trimming circuit can perform a search operation (e.g., using first search circuits 212, 412, etc.), such as in combination with Figure 2 The search operation can be combined with... Figure 8 The binary search operation, combined Figure 9 The linear search operation, or any other type of search operation, can be used. The search operation iteratively generates candidate trim codes for the voltage regulator, causing the voltage regulator output to receive a voltage (or feedback signal) from the built-in self-tune circuitry. The built-in self-tune circuitry can use a comparator circuit (e.g., comparator circuits 216, 416) calibrated in step 1002 to compare the output of the bias generator circuitry with a voltage reference. The built-in self-tune circuitry can automatically update the trim code as described herein to minimize comparisons, as described herein. This process can be repeated until a stopping condition is met. In some implementations, the trim code for the bias generator circuitry can be stored in persistent memory elements (e.g., OTP circuitry 614, OTP circuitry 708). In some implementations, as described herein, the built-in self-tune circuitry can iteratively generate trim codes for multiple bias generator circuits.
[0166] Referring to operation 1006, method 1000 may include using a bias generator circuit to generate a voltage (e.g., WBL, RBL, WWL, RWL, etc.) for at least one control input in a memory array of a memory device. (As in conjunction with...) Figure 1 Once calibrated, a bias generator circuit can be used to generate a bias voltage for the control input of the memory array circuit. For this purpose, the bias generator circuit can receive one or more corresponding reference voltages. The bias generator circuit can use the reference voltage to generate an output voltage using a voltage regulator tuned according to the trim code generated at step 1004. The output voltage can be provided to at least one control input in the memory device (e.g., memory array circuits 110, 610) to facilitate memory operation.
[0167] One embodiment of this disclosure discloses a system with a built-in self-adjusting device. The system includes memory circuitry, multiple bias generator circuits, and a built-in self-adjusting circuit, each bias generator circuit corresponding to an individual input of the memory circuitry. The built-in self-adjusting circuit receives a feedback signal from a first bias generator circuit among the multiple bias generator circuits. Based on the feedback signal and a voltage reference, the built-in self-adjusting circuit generates a fine-tuning code for the first bias generator circuit, causing the first bias generator circuit to generate an output voltage for an individual input of the memory array.
[0168] In some embodiments, a voltage reference generator circuit is further included for generating a plurality of voltage references, each corresponding to a bias generator circuit.
[0169] In some embodiments, the built-in self-adjusting circuitry is further used to iteratively generate multiple adjustment codes for the first bias generator circuitry using a search operation.
[0170] In some embodiments, the search operation includes a binary search operation or a linear search operation.
[0171] In some embodiments, a one-time programmable (OTP) memory circuit is further included, wherein the built-in self-scratching circuit is further used to provide a trimming code for storage in the one-time programmable memory circuit.
[0172] In some embodiments, the first bias generator circuit includes a feedback circuit for generating a feedback signal based on the output voltage of the first bias generator circuit.
[0173] In some embodiments, the first bias generator circuit includes a switch for providing the output voltage of the first bias generator circuit as a feedback signal.
[0174] In some embodiments, the built-in self-adjusting circuitry is further used to perform a self-calibration process before generating the adjustment code.
[0175] In some embodiments, the built-in self-adjusting circuitry is used to generate a write signal to store the adjustment code in the adjustment register of the first bias generator circuit.
[0176] In some embodiments, the built-in self-adjusting circuitry and the memory circuitry are defined on the same semiconductor die.
[0177] In another embodiment of this disclosure, a built-in self-adjusting device is disclosed. The built-in self-adjusting device includes a comparator circuit, a first search circuit coupled to the comparator circuit, and a second search circuit for generating a trim code for a bias generator circuit based on the output of the comparator circuit, wherein the output is generated based on a feedback signal from the bias generator circuit.
[0178] In some embodiments, the first search circuit is used to generate a second trim code for the comparison circuit during the self-calibration process.
[0179] In some embodiments, a first switch is further included, which is configured to enable a first input and a second input of the comparator circuit to receive a voltage reference signal during the self-calibration process.
[0180] In some embodiments, a second switch is further included, which is used to cause the first input of the comparator circuit to receive a voltage reference signal and the second input of the comparator circuit to receive a feedback signal during a calibration process for the bias generator circuit.
[0181] In some embodiments, the comparison circuitry includes either a comparator or an operational amplifier.
[0182] In some embodiments, the comparator circuit includes an input port for receiving a second trimming code corresponding to a voltage offset of the comparator circuit.
[0183] In some embodiments, the second search circuit is further configured to generate a write signal for the trimming register of the bias generator circuit.
[0184] In some embodiments, the second search circuit is further configured to generate a plurality of candidate trim codes for the bias generator circuit.
[0185] In yet another embodiment of this disclosure, a method for operating a built-in self-tuning device is disclosed. The method includes calibrating the built-in self-tuning circuitry of a memory device using a first search operation. The method includes determining a tuning code for a bias generator circuitry of the memory device using the built-in self-tuning circuitry and a second search operation. The method includes generating a voltage for at least one control input in a memory array of the memory device using the bias generator circuitry.
[0186] In some embodiments, the method further includes the step of generating a plurality of candidate trim codes for the bias generator circuit based on a feedback signal from the bias generator circuit.
[0187] As used herein, the terms “about” and “approximately” generally mean plus or minus 10% of the stated value. For example, about 0.5 would include 0.45 and 0.55, about 10 would include 9 to 11, and about 1000 would include 900 to 1100.
[0188] The foregoing outlines the features of several embodiments to enable those skilled in the art to better understand the nature of this disclosure. Those skilled in the art will understand that this disclosure can be readily used as a basis for designing or modifying other processes and structures for implementing the embodiments introduced herein and / or achieving the same objectives and / or advantages. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of this disclosure, and that such equivalent constructions can be modified, substituted, and replaced herein without departing from the spirit and scope of this disclosure.
Claims
1. A system with a built-in self-adjusting device, characterized in that, It includes: A memory circuit; Multiple bias generator circuits, each of which corresponds to a specific input of the memory circuit; and A built-in self-adjusting circuit is used to: Receive a feedback signal from a first bias generator circuit among the plurality of bias generator circuits; and Based on the feedback signal and a voltage reference, a fine-tuning code is generated for the first bias generator circuit, causing the first bias generator circuit to generate an output voltage for the individual input of the memory circuit.
2. The system as described in claim 1, characterized in that, It further includes a voltage reference generator circuit for generating multiple voltage references corresponding to the plurality of bias generator circuits.
3. The system as described in claim 1, characterized in that, The built-in self-adjusting circuitry is further used to iteratively generate multiple adjustment codes for the first bias generator circuitry using a search operation.
4. The system as described in claim 1, characterized in that, It further includes a one-time programmable memory circuit, wherein the built-in self-adjusting circuit is further used to provide the adjustment code for storage in the one-time programmable memory circuit.
5. The system as described in claim 1, characterized in that, The first bias generator circuit includes a feedback circuit that generates the feedback signal based on the output voltage of the first bias generator circuit.
6. The system as described in claim 1, characterized in that, The first bias generator circuit includes a switch that provides the output voltage of the first bias generator circuit as the feedback signal.
7. The system as described in claim 1, characterized in that, The built-in self-adjusting circuitry is further used to perform a self-calibration process before generating the adjustment code.
8. The system as described in claim 1, characterized in that, The built-in self-adjusting circuit and the memory circuit are defined on the same semiconductor die.
9. A built-in self-adjusting device, characterized in that, It includes: A comparator circuit; A first search circuit, coupled to the comparator circuit; and A second search circuit is used to generate a trim code for a bias generator circuit based on an output of the comparator circuit, wherein the output is generated based on a feedback signal from the bias generator circuit.
10. A method for operating a built-in self-adjusting device, characterized in that, It includes the following steps: A built-in self-tuning circuit of a memory device is calibrated using a first search operation. The built-in self-adjusting circuitry and a second search operation are used to determine a trimming code for a bias generator circuit of the memory device; and The bias generator circuit is used to generate a voltage for at least one control input in a memory array of the memory device.