Skip to content

Original Research

Frontiers in Nanotechnology ·

Volume 8 - 2026 | https://doi.org/10.3389/fnano.2026.1866642

Programming arbitrary analog conductance states of memristors in one step

  • Yongxiang Li1,2
  • Shiqing Wang1,2
  • Yubiao Luo1,2
  • Zhong Sun1,2,3*corresponding author
  1. 1Institute for Artificial Intelligence, Peking University, Beijing, China
  2. 2School of Integrated Circuits, Peking University, Beijing, China
  3. 3Beijing Advanced Innovation Center for Integrated Circuits, Beijing, China
Article metrics0 viewsView details

Abstract

The exponential growth of data-intensive workloads, spanning large-scale neural inference and scientific computing, has exposed the inherent bottlenecks of conventional von Neumann architecture. In-memory analog computing, which leverages memristive crossbar arrays, has emerged as a compelling alternative by enabling highly parallel matrix computations through the exploitation of fundamental physical laws. However, due to the intrinsic stochasticity of resistive switching dynamics, achieving high-precision analog programming becomes difficult and mandates iterative write-verify procedures. These digitally-controlled loops introduce substantial latency and peripheral hardware overhead, undermining the throughput and energy efficiency inherent to analog acceleration. We introduce a novel closed-loop feedback architecture that transforms analog-state programming into a self-regulated physical evolution. Unlike traditional discrete control loops, the proposed circuit utilizes its intrinsic dynamics to continuously sense the discrepancy between the instantaneous device conductance and a predefined target value. This error is converted in real time into a regulated feedback signal that drives the device toward the desired state, automatically halting the programming stimulus once the target is reached. Based on the fabricated memristor devices, experiment results show the circuit can achieve analog programming in one step (∼100 ns). Experimental results also validate successful 3-bit analog tuning within 100 ns, regardless of the initial conductance state. The average relative programming error is only about 2.2%. Moreover, a hybrid approach that augments this autonomous feedback with traditional write-verify cycles is adopted to enhance the programming precision. This approach improves overall programming speed by 3.7× compared to the traditional write-verify scheme. This work significantly improves the analog programming speed of memristor devices and offers a critical advancement for leveraging resistive memory in data-intensive storage-class applications and AI hardware.

Keywords

1 Introduction

The rapid proliferation of artificial intelligence (AI) and the Internet of Things (IoT) has driven an explosive increase in data requiring storage, transmission, and processing (Marengo, 2024; Huang et al., 2024; Baek et al., 2025). Under these circumstances, the conventional von Neumann architecture is proving inadequate due to the physical separation of memory and computation, which necessitates the continuous data movement between storage and processing units (Hennessy and Patterson, 2019; Sun et al., 2023). This bottleneck severely limits both system throughput and energy efficiency, particularly in data- and compute-intensive workloads, such as neural network inference, combinatorial optimization, and scientific computing (Sze et al., 2017; Ballard et al., 2014; Cai et al., 2020; Wan et al., 2022). To address these challenges, in-memory analog computing based on memristors, including resistive random-access memory (RRAM), phase-change memory (PCM), magnetic tunnel junction (MTJ) and ferroelectric tunnel junction (FTJ), has attracted widespread attention and is regarded as a highly promising computing paradigm (Ielmini and Wong, 2018; Joshi et al., 2020; Le Gallo et al., 2023; Zuo et al., 2025; Li et al., 2024a). In these systems, matrix elements are directly encoded as the conductance states of devices in crossbar arrays, enabling in situ matrix-vector multiplication (MVM) by exploiting Kirchhoff’s current law (KCL) and Ohm’s law (Sun and Huang, 2021). This mechanism facilitates highly parallel computation with physical O (1) complexity, thus significantly reducing both latency and energy consumption relative to conventional digital implementations. Furthermore, by combining this hardware with appropriate feedback circuits or iterative algorithms, its utility extends to more complex matrix equation tasks, including matrix inversion (INV) (Sun et al., 2019a) and matrix pseudo-inversion (PINV) (Mannocci et al., 2021; Wang et al., 2026). Such architectures also support high-level algorithmic applications, such as hyperdimensional computing (HDC) (Karunaratne et al., 2020) and compressive sensing (CS) (Wang et al., 2023). Overall, memristor-based in-memory analog computing offers a compelling route towards high-throughput, energy-efficient information processing for future intelligent systems (Sun et al., 2023).

However, the practical viability of these computing schemes relies fundamentally on the ability to precisely program individual device conductance to target analog values (Sebastian et al., 2020; Aguirre et al., 2024). This requirement remains challenging for memristors because their resistive-switching dynamics are governed by complex and highly nonlinear physical mechanisms, such as ion migration, filament formation, and thermal effects, all of which introduce intrinsic stochasticity into conductance evolution (Ielmini, 2016; Sun et al., 2019b; Wang et al., 2018). Therefore, the modulation of device conductance is often accompanied by pronounced cycle-to-cycle (C2C) and device-to-device (D2D) variations (Boybat et al., 2018; Mannocci et al., 2023; Li et al., 2024b), meaning that high-precision analog programming still relies predominantly on the write-verify strategy (Li et al., 2018; Yao et al., 2020). As shown in Figure 1A, each programming pulse is followed by a read-verification operation, and the next pulse is adjusted based on the measured conductance error. Although this algorithmic closed-loop approach can improve programming accuracy, reaching the target state within a prescribed tolerance typically requires tens of repeated cycles, resulting in substantial latency (Figure 1B). This limitation poses a significant challenge for applications that demand frequent state updates, such as storage-class memory (SCM), in situ neural network training, and edge inference systems (Freitas and Wilcke, 2008; Zhang et al., 2023; Lin et al., 2025). In addition, the write-verify strategy relies on extra peripheral circuits for data conversion (ADCs and DACs) and control modules, introducing further energy consumption, chip area overhead, and system-level design complexity (Yao et al., 2020; Rao et al., 2023). These non-negligible costs can substantially erode, and in some cases even negate, the intrinsic advantages of in-memory analog computing (Sun et al., 2023).

Illustration of the write-verify scheme. **(A)** Flowchart of the programming process. Following each programming pulse, a read operation is performed to determine whether the current conductance (*G*) falls within error tolerance (Tol) of the target conductance (*G* <sub>target</sub>). If this condition is not satisfied, a new cycle is initiated and the programming count (*N*) is incremented. The process continues until the target conductance is reached or the maximum allowed number (*N* <sub>max</sub>) is exceeded. **(B)** Conductance evolution during programming. Owing to the stochastic conductance change induced by each pulse, multiple programming iterations are generally required to reach *G* <sub>target</sub>.
Figure 1. Illustration of the write-verify scheme. (A) Flowchart of the programming process. Following each programming pulse, a read operation is performed to determine whether the current conductance (G) falls within error tolerance (Tol) of the target conductance (G target). If this condition is not satisfied, a new cycle is initiated and the programming count (N) is incremented. The process continues until the target conductance is reached or the maximum allowed number (N max) is exceeded. (B) Conductance evolution during programming. Owing to the stochastic conductance change induced by each pulse, multiple programming iterations are generally required to reach G target.

Against this backdrop, the self-terminating circuit has emerged as an important alternative strategy (Alayan et al., 2019; Levisse et al., 2020). Early designs were developed primarily for binary operations or logic devices (Lee et al., 2017). In these approaches, the switching event is detected through the transient current or voltage response of the cell, and the programming pulse is immediately interrupted, thereby reducing both programming energy and latency. Recently, this concept has been extended to multilevel and analog programming (Wang et al., 2022). By replacing repetitive write-verify loops with circuit-level feedback and automatic termination, these approaches enable the device conductance to evolve autonomously towards the target value within a single programming event, offering reduced programming latency and simplified peripheral circuitry. Nevertheless, the achievable accuracy of current self-terminating methods remains limited. Experimental demonstrations have been restricted to 1-bit programming (Yang et al., 2021; Chen et al., 2017; Chang et al., 2015; Xue et al., 2013), and simulation results have reached only 2-bit resolution (Wang et al., 2022). This precision remains insufficient for applications requiring high-density memory and in-memory analog computing (Xia and Yang, 2019; Song et al., 2024). Therefore, a programming method that is simultaneously fast and precise is lacking.

In this work, we propose a closed-loop circuit for programming arbitrary analog states into memristor devices. The circuit continuously senses the difference between the instantaneous device conductance and the target value through its intrinsic physical dynamics, converts this difference in real-time into a feedback programming signal, and thereby drives continuous conductance evolution. As the device state approaches the target value, the programming voltage is automatically suppressed, enabling self-termination of the programming process without iterative verification. We fabricated memristor devices and integrated them into the proposed framework to experimentally validate the circuit. The results demonstrate rapid programming within 100 ns, reliably tuning devices from arbitrary initial states to 3-bit target levels. Coupling this rapid autonomous coarse-tuning stage with the write-verify module for fine adjustment, we achieved high-precision programming (±3 μS) while substantially reducing both latency and energy overhead. These outcomes highlight the potential of the proposed method for rapid and low-energy analog programming.

2 Methods

Figure 2 illustrates the proposed high-speed self-terminating analog programming circuit. Consisting of only two operational amplifiers (OAs) and several fixed resistors with conductance G 0, the core architecture remains highly compact, thereby minimizing hardware overhead. One OA is configured as an analog inverter, the detailed structure of which is shown in the inset, while the other operates as a positive-feedback amplifier (PFA) to establish a global feedback loop across the circuit. Furthermore, a multiplexer (MUX) is employed to select among different reference resistors, where the conductance of the chosen resistor dictates the target state (G target) to which the memristor is programmed. Similarly, through MUX-based routing, the programming circuit can be interfaced with various memristor cells within the array, enabling efficient module reuse and facilitating scalable array-level operations. To mathematically model the operating principle of the circuit, we define the key node voltages labelled in Figure 2, where V in is the externally applied input voltage, and V out represents the output voltage of the PFA. When a memristor with an initial conductance G mem is connected to the circuit, its conductance state alters the instantaneous balance of the reference resistor branch. After being processed by the global feedback loop, this change is reflected in the programming voltage across the memristor (V 2−V 4), thereby establishing a dynamic coupling between the instantaneous conductance state and the applied voltage difference throughout the entire programming process. Specifically, the quantitative relationships among these variables can be derived on the basis of Ohm’s law and KCL as follows.

V in − V 1 G 0 = V 1 − V out G 0 + V 1 − V 3 G 0 + V 1 − V 2 G target (1)

V 2 − V 4 G mem = V 1 − V 2 G target (2)

V 1 − V 3 G 0 = V 3 − V 4 G 0 (3)

Circuit architecture of the high-speed self-terminating analog programming scheme, which composed of two OAs and several fixed resistors. The reference resistor defines the target conductance state, *G* <sub>target</sub>, whereas *G* <sub>mem</sub> denotes the memristor to be programmed, with both selected through the MUX.
Figure 2. Circuit architecture of the high-speed self-terminating analog programming scheme, which composed of two OAs and several fixed resistors. The reference resistor defines the target conductance state, G target, whereas G mem denotes the memristor to be programmed, with both selected through the MUX.

Equations 2, 3 are obtained by applying the virtual-short and virtual-open approximations to the positive and negative input terminals of the OA. Further accounting for the open-loop gain function in the complex frequency domain (s), the relationship between the input and output voltages is given by where L 0 denotes the DC gain, and ω 0 represents the 3-dB bandwidth of the OA. By combining Equations 1–5, the five variables, V 1−V 4 and V out, can be expressed in terms of the external parameters and circuit constants. After neglecting higher-order terms to simplify the analysis, the dynamic equations for nodes V 2 and V 4 across the memristor can be obtained as

V out = L s V 2 = ω 0 L 0 s + ω 0 V 2 , (4)

V 4 = − L s V 3 = − ω 0 L 0 s + ω 0 V 3 , (5)

5 + 5 c + 2 d V 2 / 4 s s 2 + c + 3 + 2 d L 0 ω 0 V 2 / 4 s s + 1 − c L 0 2 ω 0 2 V 2 / 4 s − 1 − c L 0 ω 0 2 V in s = 0 . (6)

Here, c is defined as G target/G mem, and d as G target/G 0. When c > 1, namely, the memristor conductance is lower than G target, the pole of the circuit resides in the right half of the complex plane, as shown in Figure 3. Correspondingly, the voltage at node V 2 is non-zero, indicating that the PFA is operating in the saturation region, with V out clamped to the OA supply voltage V DD. By substituting this result back into Equations 1–5, the effective programming voltage across the memristor is expressed as

V 2 − V 4 = 2 c 3 c + 3 + 2 d V DD + V in . (7)

Phase plane illustration of the programming circuit dynamics, which is governed by the ratio *c*. For *c* > 1, the system operates in the programming regime, driving the device conductance increases toward the target state. As the conductance approaches *G* <sub>target</sub> (*c* ≈ 1), the effective programming voltage vanishes, leading to automatic termination of the programming process. The stable state is likewise maintained when *c* < 1.
Figure 3. Phase plane illustration of the programming circuit dynamics, which is governed by the ratio c. For c > 1, the system operates in the programming regime, driving the device conductance increases toward the target state. As the conductance approaches G target (c ≈ 1), the effective programming voltage vanishes, leading to automatic termination of the programming process. The stable state is likewise maintained when c < 1.

When V in is adjusted such that Equation 7 yields a positive value, the circuit operates in the SET programming mode, driving the memristor conductance to increase toward G target. In particular, prior to connecting the memristor to the circuit, the equivalent conductance G mem can be approximated as zero. Accordingly, c tends to infinity, and the voltage difference simplifies to 2(V DD + V in)/3, independent of all other circuit parameters. This feature allows the initial programming voltage to be conveniently tuned by adjusting V in, enabling the proposed scheme to accommodate to various memristors with different material systems, device structures, and switching characteristics. Such flexibility highlights the versatility of the circuit and its considerable potential for broad practical applicability.

As the memristor conductance approaches G target, the corresponding value of c decreases continuously. When c = 1, the coefficients of the last two terms in Equation 6 become zero. In this regime, the contribution of the higher-order terms to the second-order frequency-domain equation is no longer negligible, and the governing dynamic equation of the circuit becomes Equation 8.

10 + 2 d V 2 / 4 s s 2 + 4 + 2 d L 0 ω 0 V 2 / 4 s s + 8 + d L 0 ω 0 2 V 2 / 4 s − 2 ω 0 2 V in = 0 (8)

The pole of the circuit also shown in Figure 3, and is located in the left half of the complex plane. Both OAs therefore operate in the linear region, yielding V 2 = V 4 = 0. At this stage, the dynamic coupling between the memristor conductance and the programming voltage is terminated, and the circuit settles into a stable equilibrium state. This result indicates that the circuit can autonomously determine when the target state has been reached and terminate the programming process without external intervention. The same behavior holds for c < 1, where the circuit remains stable and induces no further change in the device state.

The overall operating process of the programming system can thus be established as follows. Before being connected to the circuit, the memristor was first initialized to a low conductance state by a random RESET pulse, such that the starting point for subsequent programming satisfied the condition c > 1. Immediately after the device was connected, a programming voltage determined by V in was generated, continuously driving the conductance towards G target. During this process, the global feedback loop dynamically monitored the circuit state and modulated the effective programming conditions in response to the instantaneous conductance of the device. As the memristor conductance approached G target, strong dynamic feedback from OAs rapidly quenched the voltage across the device to zero. This feature enables self-termination during rapid programming, thereby suppressing severe overshoot without the need for additional verification or external control. This mechanism is particularly beneficial for memristor devices with strongly nonlinear current-voltage (I-V) characteristics. As the voltage difference across the device gradually decease, the effective conductance sensed by the circuit actually decreases in the low-voltage regime owing to their nonlinear characteristics. This prolongs the programming process, allowing for the continuous adjustment of the device state as it approaches the termination condition. This dual automatic compensation mechanism further mitigates the impact of over-programming. Overall, the proposed scheme forms a closed-loop analog programming framework that unifies state detection, dynamic regulation and self-termination within a single circuit, while ensuring stable operation throughout the entire programming process.

3 Results

3.1 Device fabrication, characterization and circuit validation

To experimentally verify the proposed programming circuit, we fabricated the memristor devices on a SiO2/Si substrate. First, a 5 nm Ti adhesion layer and a 40 nm Pt layer were patterned via photolithography and magnetron sputtering, followed by lift-off. Subsequently, a 5 nm HfO2 dielectric layer was formed by atomic layer deposition (ALD), as the resistive-switching layer. Finally, the top electrode consisting of 30 nm Ta and 40 nm Pt was deposited and patterned to complete the device structure. Figure 4A presents a cross-sectional transmission electron microscopy (TEM) image of the device, demonstrating distinct interfaces between the layers alongside key structural and material parameters. The basic electrical characteristics were measured using a Keysight B1500 A semiconductor parameter analyzer. As shown in Figure 4B, multi-level I-V sweeps obtained under externally controlled compliance current (I cc) confirm the analog programmability of the device. The results also indicate that the threshold voltage (V set) is below 1 V, providing a basis for the selection of V in. We then packaged several individual memristors (typically 8) into a 16-pin dual in-line (DIP-16) package and mounted them on a custom printed circuit board (PCB), which integrated the remaining circuit components. In the following experimental setup, the target resistor (G target) was implemented using discrete fixed resistors, the OAs were AD823A, and the multiplexers (MUX) were replaced by analog switches (74HC4052D).

Ta/HfO2-based memristor device. **(A)** TEM image of the device. **(B)** *I*-*V* characteristics of memristor devices. The device conductance is modulated via the compliance current (*I* <sub>CC</sub>), with 10 distinct *I* <sub>CC</sub> levels and 20 cycles for each.
Figure 4. Ta/HfO2-based memristor device. (A) TEM image of the device. (B) I-V characteristics of memristor devices. The device conductance is modulated via the compliance current (I CC), with 10 distinct I CC levels and 20 cycles for each.

Before validating the circuit’s stability through device programming, we first analyzed the voltages at the critical node across various c values to confirm that the circuit’s driving capability and dynamic response aligned with theoretical predictions. In the experiments, the supply voltage (V DD) was fixed at 2.4 V, and the feedback conductance of OAs (G 0) was set to 100 μS. Using 333 μS as the reference conductance, we replaced the memristor with a series of fixed resistor to record the corresponding voltage responses. The pulse voltages for controlling the switches were generated by a Tabor Electronics Model WW5064 four-channel waveform generator, and signal capture was performed with a RIGOL MSO8104 four-channel digital oscilloscope. The results are shown in Figure 5A, where the upper and lower waveforms correspond to V 2 and V 4, respectively. When t < 0, the device remains disconnected, and V in is set to −0.4 V, yielding an initial programming voltage of 1.33 V, consistent with the value calculated from Equation 7. When the conductance of the connected device is lower than G target (c > 1), a positive voltage drop is maintained across the device. Furthermore, a larger deviation of the device state from G target results in a proportionally greater voltage drop, as quantified in Figure 5B. Conversely, as c approaches 1, the voltage drop is rapidly suppressed, diminishing to zero once c ≤ 1. Furthermore, we experimentally evaluated the role of V in in regulating the initial programming voltage. As shown in Figure 5C, reducing V in from 0 V to −1 V decreased the initial voltage difference from 1.6 V to 0.93 V, in full agreement with the theoretical prediction of Equation 7. Based on the measured threshold characteristics of the fabricated device, V in was set to −0.4 V in the subsequent circuit experiments to provide sufficient programming capability. Collectively, these results confirm the soundness and feasibility of the proposed circuit design.

Programming-voltage response of the proposed circuit. **(A)** Transient waveforms of the node voltages *V* <sub>2</sub> (upper) and *V* <sub>4</sub> (lower) for different device conductance states at a fixed target conductance of 333 μS **(B)** Quantified relationship between the programming voltage, *V* <sub>2</sub>−*V* <sub>4</sub>, and the conductance mismatch ratio *c*. The voltage difference increases with increasing *c* in the *c* > 1 regime, and decreases rapidly to near zero as *c* approaches and falls below 1 **(C)** Dependence of the initial programming voltage on the differential input bias *V* <sub>in</sub>.
Figure 5. Programming-voltage response of the proposed circuit. (A) Transient waveforms of the node voltages V 2 (upper) and V 4 (lower) for different device conductance states at a fixed target conductance of 333 μS (B) Quantified relationship between the programming voltage, V 2−V 4, and the conductance mismatch ratio c. The voltage difference increases with increasing c in the c > 1 regime, and decreases rapidly to near zero as c approaches and falls below 1 (C) Dependence of the initial programming voltage on the differential input bias V in.

3.2 Fast self-terminating multi-level programming

After verifying the basic characteristics of the circuit, we conducted experiments on memristor devices. The target conductance was again set to 333 μS (3 kΩ), and a 10 μs programming pulse was applied in the first experiment to capture the complete programming dynamics. Figure 6 shows a representative case where the initial device conductance was randomly RESET to 59.9 μS. At the beginning, the circuit provided a voltage difference of 1.33 V, exceeding the threshold voltage of the memristor. Thus, upon connection to the circuit, the device conductance increased immediately, leading to pronounced changes in the voltages at nodes V 2 and V 4. The final conductance reached 327 μS, corresponding to a deviation of only 1.8% from G target.

Illustration of the one-step analog conductance programming experiment. The left and right panels show the pre-read and post-read results of programming, respectively, and the middle panel shows the transient responses of the node voltages *V* <sub>2</sub> and *V* <sub>4</sub>. For *G* <sub>target</sub> = 333 μS and a 10 μs pulse, the device conductance was tuned from 59.9 μS to 327 μS, with a programming error of 1.8%.
Figure 6. Illustration of the one-step analog conductance programming experiment. The left and right panels show the pre-read and post-read results of programming, respectively, and the middle panel shows the transient responses of the node voltages V 2 and V 4. For G target = 333 μS and a 10 μs pulse, the device conductance was tuned from 59.9 μS to 327 μS, with a programming error of 1.8%.

It should be noted that the voltage waveform remained almost stable throughout the pulse, especially V 2 dropped close to zero. Although the voltage difference did not vanish completely due to parasitic parameters in the PCB circuit, it fell below the threshold voltage required to induce any further change in the state of our devices, indicating that the actual conductance update was concentrated within a much shorter interval at the onset of the pulse. For bulk-switching devices (Diao et al., 2025), whose conductance continuously responds to voltages with varying amplitudes, this persistent low-voltage feedback near the termination condition could introduce a more severe risk of conductance offset (G mem > G target). To address this issue, in addition to suppressing circuit non-idealities through a fully integrated implementation, the overshoot can also be mitigated by shortening the programming time. In this case, the device response can still be approximated as quasi-linear, while the proposed circuit maintains real-time feedback between the device conductance and the programming voltage.

To evaluate the speed limit of this scheme, we systematically carried out experiments using pulse widths of 5 μs, 1 μs, 300 ns, and 100 ns, targeting the same conductance state of 333 μS (Figure 7). As the pulse width decreased, the final conductance in all cases reached G target within an error of about 7%, supporting our interpretation that the initial unstable portion of the waveform captures the actual programming event. This observation is also consistent with the intrinsic fast-switching behavior of memristors, which arises from the abrupt nature of the SET process (Waser and Aono, 2007; Wong et al., 2012). These results indicate that the proposed closed-loop feedback mechanism supports not only self-termination, but also an exceptionally fast dynamic response on sub-microsecond timescales.

Transient waveforms of the programming process at different programming pulse widths, where **(A)** 5 μs, **(B)** 1 μs , **(C)** 300 ns and **(D)** 100 ns.
Figure 7. Transient waveforms of the programming process at different programming pulse widths, where (A) 5 μs, (B) 1 μs , (C) 300 ns and (D) 100 ns.

Under 100 ns pulse conditions, we further programmed the devices to predefined 3-bit target conductance levels and performed a statistical analysis of the programming performance. As shown in Figure 8A, the initial states were all generated by applying random RESET pulses, resulting in an approximately uniform conductance distribution in the range of 10–260 µS. This ensures that the evaluation faithfully reflects the reliability of the proposed scheme under diverse initial state conditions. The 3-bit target conductance levels were defined as [50, 66.7, 100, 137, 170, 213, 256, 333] µS, respectively, and 40 independent programming trials were carried out for each state to ensure statistical significance. Figure 8B quantifies the final distribution at each target level in the form of cumulative distribution function (CDF). The clear separation among these curves indicates that the programmed states are well resolved and remain highly distinguishable. Specifically, the maximum programming error is 9.1%, with an average error of 2.2%. Taken together, these results confirm the repeatability and stability of the proposed write circuit for rapid multi-level programming.

Statistical characteristics of multilevel analog conductance programming in the proposed circuit. **(A)** Statistical results of one-step programming to 3-bit conductance levels from arbitrary initial states. Different colors denote the *G* <sub>target</sub> of 50, 66.7, 100, 137, 170, 213, 256 and 333 μS, respectively, with 40 cycles for each level. **(B)** CDF of the final programmed conductance levels, demonstrating clear separation between the individual states.
Figure 8. Statistical characteristics of multilevel analog conductance programming in the proposed circuit. (A) Statistical results of one-step programming to 3-bit conductance levels from arbitrary initial states. Different colors denote the G target of 50, 66.7, 100, 137, 170, 213, 256 and 333 μS, respectively, with 40 cycles for each level. (B) CDF of the final programmed conductance levels, demonstrating clear separation between the individual states.

3.3 Hybrid programming with write-verify scheme

Considering that conductance variations across individual devices in an array can accumulate and propagate into output errors (Li et al., 2025), the proposed scheme is particularly suitable for inherently robust applications such as HDC, in which moderate programming inaccuracies can be tolerated without degrading overall performance (Ge and Parhi, 2020; Kent et al., 2020). In such contexts, programming speed and efficiency are often of greater practical importance than achieving extremely control over the final conductance state. By contrast, precision-sensitive applications, including scientific computing and signal processing (Zidan et al., 2018; Lu et al., 2014), impose far more stringent requirements on programming accuracy and device-state uniformity. Consequently, the proposed scheme alone is insufficient to satisfy the accuracy demands of these tasks.

To overcome this limitation, we integrated the proposed scheme with the write-verify strategy. The one-step programming circuit first rapidly brings the device conductance close to G target, after which the write-verify circuit is employed as a back-end fine-tuning module to further narrow the distribution of the coarsely programmed results. This hybrid scheme substantially reduces both the programming voltage and the number of cycles required to achieve the same tolerance, thus providing a more favorable trade-off among programming precision, latency and energy overhead than the write-verify-only approach. As illustrated in Figure 9, the one-step self-terminating scheme can be used directly in applications with an error tolerance of 5%–10%, whereas for more stringent scenarios, the write-verify module can be enabled to further tighten the device state distribution within a narrower window, for example, ±3–5 μS, with only a limited number of fine-tuning cycles.

Comparison of the one-step programming scheme and the hybrid programming scheme. **(A)** Schematic illustration of one-step programming, in which the device is driven directly to the vicinity of the target conductance, with a programming precision of approximately ±8%. **(B)** Schematic illustration of hybrid programming, in which a back-end write-verify module is introduced to further suppress programming variation, achieving a precision of ±3 μS (≈1%) within only a few cycles.
Figure 9. Comparison of the one-step programming scheme and the hybrid programming scheme. (A) Schematic illustration of one-step programming, in which the device is driven directly to the vicinity of the target conductance, with a programming precision of approximately ±8%. (B) Schematic illustration of hybrid programming, in which a back-end write-verify module is introduced to further suppress programming variation, achieving a precision of ±3 μS (≈1%) within only a few cycles.

Building on the previously demonstrated one-step 3-bit programming results, we further carried out fine-tuning experiments with a ±3 μS tolerance window. The write-verify module is fully automated through Python scripts that control a microcontroller unit (MCU). The MCU is integrated on the PCB and interfaces with DACs to apply precise voltage pulses to the memristor, while ADCs are used to monitor its current state. Figure 10A shows the results from 150 experimental trials for each target conductance level. The state distributions become more tightly confined, while the margins between adjacent states are substantially increased, enabling the accuracy required for high-precision in-memory analog computing. Meanwhile, the programming overhead is markedly reduced. As shown in Figure 10B, all target states are achieved in fewer than 12 cycles (with the average of 7.9 cycles), corresponding to a 3.7× reduction compared with the write-verify-only scheme. This benefit is especially pronounced for high-conductance states. For instance, the imposed error window for the 333 μS state corresponds to a tolerance of nearly 1%, a condition that remains challenging for conventional write-verify programming and requires 75 cycles in our experiments. Even under this stringent condition, the proposed hybrid scheme still achieves rapid programming, delivering a 6.6× speed improvement. Finally, we summarized all experimental results in Table 1, including the 3-bit target conductance values, initial-state range, final-state averages and distributions, deviations from the target states, and the required number of programming cycles for both the one-step programming scheme and the hybrid programming scheme with write-verify.

High-precision programming results enabled by the hybrid scheme. **(A)** 3-bit level distributions after fine-tuning following one-step programming, showing a final programming precision of approximately ±3 μS. **(B)** Comparison of the cycles required to achieve the final precision in the write-verify-only and hybrid schemes, with the hybrid scheme delivering an overall acceleration of 3.7×.
Figure 10. High-precision programming results enabled by the hybrid scheme. (A) 3-bit level distributions after fine-tuning following one-step programming, showing a final programming precision of approximately ±3 μS. (B) Comparison of the cycles required to achieve the final precision in the write-verify-only and hybrid schemes, with the hybrid scheme delivering an overall acceleration of 3.7×.

TABLE 1. Comparison of the one-step programming scheme and the hybrid programming scheme with write-verify.

One-step programming scheme
Target levelInitial state rangeFinal state averageFinal state rangeDeviation
Hybrid-programming with write-verify
Target levelFinal state averageFinal state rangeDeviationProgramming cycles
5018.6-38.249.745.5-53.82.4
66.718.2-51.065.961.5-71.23.1
10019.6-75.299.392.9-107.74.3
13717.5-92.0137.0126.7-147.46.3
17025.7-122.5169.6156.9-183.28.2
21324.8-163.0212.5196.8-229.99.9
25627.7-192.5249.4235.9-275.69.3
33320.3-110.9332.6306.4-353.015.1
5050.147.1-53.01.71.8
66.766.863.8-69.71.87.6
10099.997.0-103.01.96.0
137137.0134.0-140.01.87.9
170169.7167.1-172.91.79.5
213213.2210.1-216.01.711.0
256256.2253.2-259.01.78.2
333332.8330.0-336.01.811.4

4 Conclusion

In conclusions, by replacing iterative write-verify control with a continuously regulated feedback mechanism rooted in the intrinsic circuit physics, the proposed framework transforms analog-state programming from a digitally controlled, cycle-by-cycle adjustment process into a self-regulated analog evolution towards the target level. Experimental validation using fabricated memristor devices demonstrates successful tuning from arbitrary initial states to 3-bit target levels under 100 ns programming pulses, highlighting the feasibility of high-speed multi-level programming. When further combined with a write-verify module for fine tuning, the resulting hybrid scheme achieves high-precision programming with only a few additional cycles, providing a 3.7× improvement over the write-verify-only approach. These results together represent a substantial step towards ultra-fast, low-power analog-state programming and provide a promising pathway for the deployment of resistive memory technologies in SCM and AI hardware accelerators.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Footnotes

Edited by: Andrea Padovani, University of Modena and Reggio Emilia, Italy

Reviewed by: Zhuo Diao, Osaka University, Japan

K. Rajalakshmi, PSG College of Technology, India

Statements

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Funding

The author(s) declared that financial support was received for this work and/or its publication. This research was supported by the National Natural Science Foundation of China (Grant No. 62572011), the Beijing Natural Science Foundation (Grant No. 4252016), and the 111 Project (Grant No. B18001).

Data availability

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.

Author contributions

YoL: Writing – original draft, Writing – review and editing, Data curation, Formal Analysis, Investigation, Software, Validation, Visualization. SW: Writing – original draft, Conceptualization, Data curation, Formal Analysis, Investigation, Methodology, Validation, Visualization. YuL: Writing – original draft, Data curation, Investigation, Software, Validation. ZS: Writing – original draft, Writing – review and editing, Conceptualization, Funding acquisition, Methodology, Project administration, Resources, Supervision.

References

  1. Aguirre F., Sebastian A., Le Gallo M., Song W., Wang T., Yang J. J. (2024). Hardware implementation of memristor-based artificial neural networks. Nat. Commun. 15, 1974. doi:10.1038/s41467-024-45670-9
  2. Alayan M., Muhr E., Levisse A., Bocquet M., Moreau M., Nowak E. (2019). Switching event detection and self-termination programming circuit for energy efficient ReRAM memory arrays. IEEE Trans. Circuits Syst. II, Express Briefs 66, 748 – 752. doi:10.1109/TCSII.2019.2908967
  3. Baek Y., Bae B., Shin H., Sonnadara C., Cho H., Lin C.-Y. (2025). Edge intelligence through in-sensor and near-sensor computing for the artificial intelligence of things. npj Unconv. Comput. 2, 25. doi:10.1038/s44335-025-00040-6
  4. Ballard G., Carson E., Demmel J., Hoemmen M., Knight N., Schwartz O. (2014). Communication lower bounds and optimal algorithms for numerical linear algebra. Acta Numer. 23, 1 – 155. doi:10.1017/S0962492914000038
  5. Boybat I., Le Gallo M., Nandakumar S. R., Moraitis T., Parnell T., Tuma T. (2018). Neuromorphic computing with multi-memristive synapses. Nat. Commun. 9, 2514. doi:10.1038/s41467-018-04933-y
  6. Cai F., Kumar S., Van Vaerenbergh T., Sheng X., Liu R., Li C. (2020). Power-efficient combinatorial optimization using intrinsic noise in memristor hopfield neural networks. Nat. Electron. 3, 409 – 418. doi:10.1038/s41928-020-0436-6
  7. Chang M. F., Wu J. J., Chien T. F., Liu Y. C., Yang T. C., Shen W. C. (2015). Low VDDmin swing-sample-and-couple sense amplifier and energy-efficient self-boost-write-termination scheme for embedded ReRAM macros against resistance and switch-time variations. IEEE J. Solid-State Circuits 50, 2786 – 2795. doi:10.1109/JSSC.2015.2472601
  8. Chen W. H., Lin W. J., Lai L. Y., Li S., Hsu C. H., Lin H. T. (2017). A 16Mb dual-mode ReRAM macro with sub-14ns computing-in-memory and memory functions enabled by self-write termination scheme. in 2017 IEEE International Electron Devices Meeting (IEDM), 28.2.1 – 28.2.4. doi:10.1109/IEDM.2017.8268468
  9. Diao Z., Yamamoto R., Meng Z., Tohei T., Sakai A. (2025). Enhancing memristor multilevel resistance state with linearity potentiation via the feedforward pulse scheme. Nanoscale Horiz. 10, 780 – 790. doi:10.1039/D4NH00623B
  10. Freitas R. F., Wilcke W. W. (2008). Storage-class memory: the next storage system technology. IBM J. Res. Dev. 52, 439 – 447. doi:10.1147/rd.524.0439
  11. Ge L., Parhi K. K. (2020). Classification using hyperdimensional computing: a review. IEEE Circuits Syst. Mag. 20, 30 – 47. doi:10.1109/MCAS.2020.2988388
  12. Hennessy J. L., Patterson D. A. (2019). A new golden age for computer architecture. Commun. ACM 62, 48 – 60. doi:10.1145/3282307
  13. Huang Y., Ando T., Sebastian A., Chang M.-F., Yang J. J., Xia Q. (2024). Memristor-based hardware accelerators for artificial intelligence. Nat. Rev. Electr. Eng. 1, 286 – 299. doi:10.1038/s44287-024-00037-6
  14. Ielmini D. (2016). Resistive switching memories based on metal oxides: mechanisms, reliability and scaling. Semicond. Sci. Technol. 31, 063002. doi:10.1088/0268-1242/31/6/063002
  15. Ielmini D., Wong H.-S. P. (2018). In-memory computing with resistive switching devices. Nat. Electron. 1, 333 – 343. doi:10.1038/s41928-018-0092-2
  16. Joshi V., Le Gallo M., Haefeli S., Boybat I., Nandakumar S. R., Piveteau C. (2020). Accurate deep neural network inference using computational phase-change memory. Nat. Commun. 11, 2473. doi:10.1038/s41467-020-16108-9
  17. Karunaratne G., Le Gallo M., Cherubini G., Benini L., Rahimi A., Sebastian A. (2020). In-memory hyperdimensional computing. Nat. Electron. 3, 327 – 337. doi:10.1038/s41928-020-0410-3
  18. Kent S. J., Frady E. P., Sommer F. T., Olshausen B. A. (2020). Resonator networks, 2: factorization performance and capacity compared to optimization-based methods. Neural Comput. 32, 2332 – 2388. doi:10.1162/neco_a_01329
  19. Le Gallo M., Khaddam-Aljameh R., Stanisavljevic M., Vasilopoulos A., Kersting B., Dazzi M. (2023). A 64-core mixed-signal in-memory compute chip based on phase-change memory for deep neural network inference. Nat. Electron. 6, 680 – 693. doi:10.1038/s41928-023-01010-1
  20. Lee A., Lo C. P., Lin C. C., Chen W. H., Hsu K. H., Wang Z. (2017). A ReRAM-based nonvolatile flip-flop with self-write-termination scheme for frequent-OFF fast-wake-up nonvolatile processors. IEEE J. Solid-State Circuits 52, 2194 – 2207. doi:10.1109/JSSC.2017.2724024
  21. Levisse A., Bocquet M., Rios M. A., Alayan M., Moreau M., Nowak E. (2020). Write termination circuits for RRAM: a holistic approach from technology to application considerations. IEEE Access 8, 109297 – 109308. doi:10.1109/ACCESS.2020.3000867
  22. Li C., Hu M., Li Y., Jiang H., Ge N., Montgomery E. (2018). Analogue signal and image processing with large memristor crossbars. Nat. Electron. 1, 52 – 59. doi:10.1038/s41928-017-0002-z
  23. Li Y., Wang S., Yang K., Yang Y., Sun Z. (2024a). An emergent attractor network in a passive resistive switching circuit. Nat. Commun. 15, 7683. doi:10.1038/s41467-024-52132-9
  24. Li Y., Wang S., Sun Z. (2024b). “ The maximum storage capacity of open-loop written RRAM is around 4 bits,” in 2024 IEEE 17th International Conference on Solid-State and Integrated Circuit Technology (ICSICT) (Zhuhai, China), 1 – 3. doi:10.1109/ICSICT62049.2024.10831637
  25. Li Y., Wang S., Sun Z. (2025). Constraints on bit precision and row parallelism for reliable computing-in-memory. Electronics 14, 2532. doi:10.3390/electronics14132532
  26. Lin H., Ou J., Fan Z., Yan X., Hu W., Cui B. (2025). In situ training of an in-sensor artificial neural network based on ferroelectric photosensors. Nat. Commun. 16, 421. doi:10.1038/s41467-024-55508-z
  27. Lu L., Li G. Y., Swindlehurst A. L., Ashikhmin A., Zhang R. (2014). An overview of massive MIMO: benefits and challenges. IEEE J. Sel. Top. Signal Process 8, 742 – 758. doi:10.1109/JSTSP.2014.2317671
  28. Mannocci P., Pedretti G., Giannone E., Melacarne E., Sun Z., Ielmini D. (2021). A universal, analog, in-memory computing primitive for linear algebra using memristors. IEEE Trans. Circuits Syst. I, Regul. Pap. 68, 4889 – 4899. doi:10.1109/TCSI.2021.3122278
  29. Mannocci P., Farronato M., Lepri N., Cattaneo L., Glukhov A., Sun Z. (2023). In-memory computing with emerging memory devices: status and outlook. Apl. Mach. Learn. 1, 010902. doi:10.1063/5.0136403
  30. Marengo A. (2024). Navigating the nexus of AI and IoT: a comprehensive review of data analytics and privacy paradigms. Internet Things 27, 101318. doi:10.1016/j.iot.2024.101318
  31. Rao M., Tang H., Wu J., Song W., Zhang M., Yin W. (2023). Thousands of conductance levels in memristors integrated on CMOS. Nature 615, 823 – 829. doi:10.1038/s41586-023-05759-5
  32. Sebastian A., Le Gallo M., Khaddam-Aljameh R., Eleftheriou E. (2020). Memory devices and applications for in-memory computing. Nat. Nanotechnol. 15, 529 – 544. doi:10.1038/s41565-020-0655-z
  33. Song W., Rao M., Li Y., Li C., Zhuo Y., Cai F. (2024). Programming memristor arrays with arbitrarily high precision for analog computing. Science 383, 903 – 910. doi:10.1126/science.adi9405
  34. Sun Z., Huang R. (2021). Time complexity of in-memory matrix-vector multiplication. IEEE Trans. Circuits Syst. II Express Briefs 68, 2785 – 2789. doi:10.1109/TCSII.2021.3068764
  35. Sun Z., Pedretti G., Ambrosi E., Bricalli A., Wang W., Ielmini D. (2019a). Solving matrix equations in one step with cross-point resistive arrays. Proc. Natl. Acad. Sci. U. S. A. 116, 4123 – 4128. doi:10.1073/pnas.1815682116
  36. Sun W., Gao B., Chi M., Xia Q., Yang J. J., Qian H. (2019b). Understanding memristive switching via in situ characterization and device modeling. Nat. Commun. 10, 3453. doi:10.1038/s41467-019-11411-6
  37. Sun Z., Kvatinsky S., Si X., Mehonic A., Cai Y., Huang R. (2023). A full spectrum of computing-in-memory technologies. Nat. Electron. 6, 823 – 835. doi:10.1038/s41928-023-01053-4
  38. Sze V., Chen Y.-H., Yang T.-J., Emer J. S. (2017). Efficient processing of deep neural networks: a tutorial and survey. Proc. IEEE 105, 2295 – 2329. doi:10.1109/JPROC.2017.2761740
  39. Wan W., Kubendran R., Schaefer C., Eryilmaz S. B., Zhang W., Wu D. (2022). A compute-in-memory chip based on resistive random-access memory. Nature 608, 504 – 512. doi:10.1038/s41586-022-04992-8
  40. Wang C., Wu H., Gao B., Zhang T., Yang Y., Qian H. (2018). Conduction mechanisms, dynamics and stability in ReRAMs. Microelectron. Eng. 187–188, 121 – 133. doi:10.1016/j.mee.2017.11.003
  41. Wang Z., He Z., Yang R., Fan S., Lin J., Liu F. (2022). “ Self-terminating write of multi-level cell ReRAM for efficient neuromorphic computing,” in 2022 Design, Automation and Test in Europe Conference and Exhibition (DATE), 1251 – 1256. doi:10.23919/DATE54114.2022.9774550
  42. Wang S., Luo Y., Zuo P., Pan L., Li Y., Sun Z. (2023). In-memory analog solution of compressed sensing recovery in one step. Sci. Adv. 9, eadj2908. doi:10.1126/sciadv.adj2908
  43. Wang S., Luo Y., Zuo P., Li Y., Pan L., Ielmini D. (2026). In-memory analog computing for non-negative matrix factorization. Nat. Commun. 17, 1881. doi:10.1038/s41467-026-68609-8
  44. Waser R., Aono M. (2007). Nanoionics-based resistive switching memories. Nat. Mater. 6, 833 – 840. doi:10.1038/nmat2023
  45. Wong H. S. P., Lee H. Y., Yu S., Chen Y. S., Wu Y., Chen P. S. (2012). Metal-oxide RRAM. Proc. IEEE 100, 1951 – 1970. doi:10.1109/JPROC.2012.2190369
  46. Xia Q., Yang J. J. (2019). Memristive crossbar arrays for brain-inspired computing. Nat. Mater. 18, 309 – 323. doi:10.1038/s41563-019-0291-x
  47. Xue X., Jian W., Yang J., Xiao F., Chen G., Xu S. (2013). A 0.13 µm 8 Mb logic-based Cu x Si y O ReRAM with self-adaptive operation for yield enhancement and power reduction. IEEE J. Solid-State Circuits 48, 1315 – 1322. doi:10.1109/JSSC.2013.2247678
  48. Yang J., Xue X., Xu X., Wang Q., Jiang H., Yu J. (2021). “ 24.2 A 14nm-FinFET 1Mb embedded 1T1R RRAM with a 0.022 μm 2 cell size using self-adaptive delayed termination and multi-cell reference,” in 2021 IEEE International Solid-State Circuits Conference (ISSCC), 336 – 338. doi:10.1109/ISSCC42613.2021.9365945
  49. Yao P., Wu H., Gao B., Tang J., Zhang Q., Zhang W. (2020). Fully hardware-implemented memristor convolutional neural network. Nature 577, 641 – 646. doi:10.1038/s41586-020-1942-4
  50. Zhang W., Yao P., Gao B., Liu Q., Wu D., Yang X. (2023). Edge learning using a fully integrated neuro-inspired memristor chip. Science 381, 1205 – 1211. doi:10.1126/science.ade3483
  51. Zidan M. A., Jeong Y., Lee J., Chen B., Huang S., Kushner M. J. (2018). A general memristor-based partial differential equation solver. Nat. Electron. 1, 411 – 420. doi:10.1038/s41928-018-0100-6
  52. Zuo P., Wang Q., Luo Y., Xie R., Wang S., Cheng Z. (2025). Precise and scalable analogue matrix equation solving using resistive random-access memory chips. Nat. Electron. 8, 1222 – 1233. doi:10.1038/s41928-025-01477-0

Citation

Li, Y., et al. (2026). Programming arbitrary analog conductance states of memristors in one step. Frontiers in Nanotechnology, Volume 8. https://doi.org/
Received
Accepted
Published
Volume
8 - 2026

Copyright

Copyright © 2026 Li, Wang, Luo and Sun.

License: https://creativecommons.org/licenses/by/4.0/

*Correspondence: Zhong Sun

Article metrics

Views
0
Downloads
0
Citations
0
Shares
0