A Time-Based Readout for Vector-Matrix Multiplication in Fully Analog Memristive SNNs
Abstract
Artificial neural networks rely on vector–matrix multiplications (VMMs), whose implementation in von Neumann architectures is dominated by costly data movement between memory and processing units. Spiking neural networks (SNNs) mitigate this bottleneck by performing in-memory, analog VMMs using memristive crossbar arrays. However, conventional current-mode readout circuits incur significant area and power overhead.
This work proposes a fully analog readout architecture based on voltage-to-time conversion of the VMM output. By sensing the column voltage, the proposed approach avoids current-mode summing and scaling circuitry, improving area and energy efficiency. Post-layout simulations of a SNN implemented in a CMOS technology validate the proposed architecture, while application to a trained SNN for digit classification further demonstrates its feasibility for SNN inference.
Index Terms:
Spiking neural networks (SNNs), Memristor, Synapse, Neuromorphic Hardware, In-memory computingI Introduction
Inspired by the human brain, neuromorphic computing aims to emulate the event-driven and distributed processing of biological neural networks. In this paradigm, spiking neural networks (SNNs) encode information as discrete events in time (spikes), enabling asynchronous operation and improved energy efficiency when implemented in hardware [1, 2].
Crossbar arrays are a promising architecture for hardware SNNs [3], where synaptic weights are stored as conductances of non-volatile memory (NVM) devices. By exploiting Ohm’s and Kirchhoff’s laws, they inherently perform vector–matrix multiplications (VMMs), typically sensed as column currents (Fig. 1). Memristive devices are attractive NVM candidates due to non-volatility, multilevel programmability, and CMOS compatibility, and are commonly used in 1T1R configurations.
While crossbar arrays enable compact in-memory VMMs, overall area and energy efficiency depends strongly on the neuron and readout design [4]. Digital neuron approaches require per-column transimpedance amplifiers and ADCs [5], leading to high area and energy consumption, or time-multiplexed ADCs [6], which reduce area at the cost of throughput.
Analog neurons integrate column current on a capacitor, enabling low-power operation. However, scalability is limited by the large read currents. Metal-oxide memristive devices typically operate in the tens to hundreds of [7], resulting in column currents in the range for large arrays. Obtaining appropriate integration times then requires either large capacitances or additional readout circuitry, or restricting synaptic weights to binary values [8].
Conventional solutions rely on opamp-based readout [9] and current scaling circuits [10], which may also be required in digital schemes [5, 11]. However, these circuits often dominate area and power, and large scaling factors over wide dynamic ranges require complex multi-stage designs [12].
These limitations motivate alternatives to current-mode sensing. Voltage-sensing schemes have been used in compute-in-memory systems [13], while time-based encoding has been implemented in digital architectures [14, 15]. However, these approaches are not directly suited to analog SNNs.
This work proposes a readout circuit based on a voltage-to-time conversion of the VMM output for fully analog SNN. By avoiding current-mode readout and explicit scaling circuitry, the approach enables compact neuron design, multi-level weights, and improved area and energy efficiency.
II Voltage-to-time readout architecture
Fig. 2 shows the proposed fully analog memristive SNN architecture. Spiking inputs and output neurons are connected through 1T1R synapses, with weights encoded in the conductance . The VMM output is the column conductance (with ), sensed as a voltage .
A reference current is injected into each column, selected to keep below the SET voltage. Memristors share a common top electrode, so the current is distributed among active devices, yielding:
| (1) |
where the ON-resistance of the access transistor is neglected.
The proposed voltage-to-time (V2T) readout circuit converts the column voltage into a variable-width pulse. The circuit receives and a global enable SPK_EN, which is low while any input spike is present. The output signal CTRL is an active-low pulse with duration . Fig. 3 shows a high-level schematic and representative waveforms.
The voltage-to-time conversion is implemented by modulating the discharge time of capacitor . During SPK_EN, capacitor discharges through NMOS M1. After SPK_EN, PMOS M0 restores . The discharge time required for to reach the inverter threshold is:
| (2) |
with . Assuming transistor M1 operates in saturation, the capacitor discharge current follows the alpha-power-law. To ensure saturation, M1 is driven by a scaled and offset version of so that . Therefore, can be expressed as:
| (3) |
Combining (1), (2) and (3), the relation between the pulse duration and the column conductance is obtained:
| (4) |
Equation (4) describes the resulting conductance-to-time conversion, which is monotonic but inherently non-linear, following a power-law dependence of on . Through circuit tuning, a locally approximately linear region can be achieved, as shown in the next section.
CTRL is generated by OR-ing SPK_EN with the inverted capacitor voltage. As a result, the capacitor discharge time sets the pulse width (neglecting gate delays).
The IF neuron (Fig. 3a) incorporates a switched current source controlled by CTRL. The charge injected into the neuron is therefore proportional to the pulse duration :
| (5) |
Since the VMM output is encoded in time, can be set by neuron design constraints. This contrasts with current-sensing schemes, where the VMM result is encoded in the current amplitude and scales with the column output.
III Results and Discussion
A SNN prototype based on the architecture in Fig. 2 was implemented in CMOS and submitted for fabrication. The layout is shown in Fig. 4 and design parameters are summarized in Table I.
| Parameter | Value | Description |
|---|---|---|
| Memristor conductance | ||
| / | 1T1R access transistor | |
| Column voltage | ||
| Column current reference | ||
| V2T capacitor | ||
| Neuron membrane capacitor | ||
| Neuron feedback capacitor | ||
| Neuron charging current | ||
| Neuron discharging current |
The V2T circuit is designed for input spikes with pulse width at rates up to . The scaling and offset network is implemented using diode-connected MOS transistors, sized to draw negligible current compared to active memristors so that the read operation is not disturbed. The IF neuron operates on the input spikes timescale. All current sources are implemented using conventional CMOS current source structures. Robustness was verified through PVT corners and Monte Carlo simulations, with timing spread at the maximum-conductance operating point under combined process and mismatch variations.
III-A Post-layout simulation results
This subsection presents post-layout simulation results of the SNN prototype. The memristive devices are simulated using the Verilog-A model available in the PDK [16].
Fig. 5 shows the pulse duration as a function of the column conductance , obtained from a representative subset of active inputs and conductance combinations. From Fig. 5, it is confirmed that the relation in (4) is monotonic, enabling time-based representation of the VMM output over the operating range. The inset shows the approximately linear region, while saturation at higher conductance reflects the underlying power-law dependence. At high column conductance, additional simultaneously active inputs reduce the sensitivity of the conversion rather than preventing circuit operation.
Fig. 6 shows representative circuit waveforms for one and ten simultaneously active inputs at and synaptic weights. The resulting column voltage modulation produces distinct CTRL pulse durations, leading to neuron firing rates of and , respectively.
III-B Area and Energy
Table II reports the layout area of the implemented prototype (excluding access circuitry), also expressed in equivalent minimum-size inverters ().
| Sub-circuit | Area [] | Area [INV] |
|---|---|---|
| 1T1R synapses | ||
| V2T circuit | ||
| IF Neuron | ||
| Total |
Energy is evaluated at the level of the synaptic circuit (including the reference current generator) and the V2T circuit. The synaptic circuit draws independently of input activity, resulting in per read operation over . The V2T circuit draws in idle and during conversion, yielding per operation. The total energy per synaptic operation (synaptic readout plus voltage-to-time conversion) is .
Area and idle power scale approximately linearly with the number of output neurons, as each requires one current generator and one V2T circuit. However, 70% of the V2T circuit area is occupied by decoupling capacitors, which can be shared in larger systems. Idle power can be reduced by disabling the current generator when no input is active.
III-C Comparison with a current-sensing scheme
As a representative example of a current-sensing readout, [10] employs an opamp-based input stage and a current-scaling circuit providing attenuation. The per-column readout area in CMOS, estimated from an optical micrograph, occupies ( INV), over larger than the proposed V2T circuit.
The power per read operation reported in [10] is , corresponding to over our time window. While this energy is of the same order of magnitude, [10] considers a current range of . These currents correspond to a column conductance of (at ), which is of the range targeted here.
Using a current-sensing scheme, our SNN would produce column currents from to . Scaling these to the -range would require attenuation factors of – and additional circuitry to enforce a fixed read voltage, which would increase the energy of by several orders.
III-D Application to Digit Recognition
To further evaluate the proposed approach, a SNN was trained in software on the Digit dataset [17] using back-propagation, with synaptic weights constrained to be non-negative. The trained weights were quantized to ten conductance levels spanning the memristor range () and mapped to a schematic-level implementation, where the IF analog neurons were extended with leakage (implemented as a constant current source) and lateral inhibition.
Representative digit samples, rate-encoded over , produced the same classification outcome in both the software-trained network and the circuit implementation (Fig. 7), providing preliminary validation of the proposed architecture in a trained SNN inference task.
IV Conclusion
This work proposes a time-based readout circuit for fully analog SNNs with memristive synapses. The proposed approach converts the VMM output, sensed as a column voltage, into a time-domain signal that controls neuron current injection. By avoiding current-mode readout, the approach eliminates complex, area-intensive circuitry that becomes challenging at high column currents.
A SNN prototype with the proposed architecture was implemented in CMOS. Post-layout results confirm correct conductance-to-time conversion, achieving 20 area reduction over a representative current-sensing implementation with comparable energy efficiency. Application to a trained SNN further demonstrates the feasibility of the architecture for inference with quantized memristive weights.
Acknowledgment
This work has been supported by PID2022-141391OB-C22 funded by MCIN/AEI/10.13039/501100011033/FEDER, UE. The corresponding author gratefully acknowledges the Universitat Politècnica de Catalunya and Banco Santander for the financial support of her predoctoral FPI-UPC grant.
References
- [1] (2011) Neuromorphic silicon neuron circuits. Frontiers in Neuroscience 5. External Links: ISSN 1662-4548, Document Cited by: §I.
- [2] (2020) Memory devices and applications for in-memory computing. Nature Nanotechnology 15 (7), pp. 529–544. External Links: ISSN 1748-3395, Document Cited by: §I.
- [3] (2020) Neuro-inspired computing chips. Nature Electronics 3 (7), pp. 371–382. External Links: ISSN 2520-1131, Document Cited by: §I.
- [4] (2012) Hardware spiking neurons design: analog or digital?. In The 2012 International Joint Conference on Neural Networks (IJCNN), Brisbane, QLD, Australia, pp. 1–5. External Links: Document Cited by: §I.
- [5] (2019) A fully integrated reprogrammable memristor–CMOS system for efficient multiply–accumulate operations. Nature Electronics 2 (7), pp. 290–299. External Links: ISSN 2520-1131, Document Cited by: §I, §I.
- [6] (2022) An energy efficient time-multiplexing computing-in-memory architecture for edge intelligence. IEEE Journal on Exploratory Solid-State Computational Devices and Circuits 8 (2), pp. 111–118. External Links: ISSN 2329-9231, Document Cited by: §I.
- [7] (2018) A Ti/AlOx/TaOx/Pt analog synapse for memristive neural network. IEEE Electron Device Letters 39 (9), pp. 1298–1301. External Links: ISSN 1558-0563, Document Cited by: §I.
- [8] (2022) SPIRIT: a first mixed-signal snn using co-integrated cmos neurons and resistive synapses. In Analog Circuits for Machine Learning, Current/Voltage/Temperature Sensors, and High-speed Communication, pp. 63–81. External Links: ISBN 9783030917418, Document Cited by: §I.
- [9] (2015) A CMOS spiking neuron for brain-inspired neural networks with resistive synapses and in situ learning. IEEE Transactions on Circuits and Systems II: Express Briefs 62 (11), pp. 1088–1092. External Links: ISSN 1558-3791, Document Cited by: §I.
- [10] (2024) Versatile CMOS analog LIF neuron for memristor-integrated neuromorphic circuits. In 2024 International Conference on Neuromorphic Systems (ICONS), Los Alamitos, CA, USA, pp. 185–192. External Links: Document Cited by: §I, §III-C, §III-C.
- [11] (2023) ENNA: an efficient neural network accelerator design based on ADC-free compute-in-memory subarrays. IEEE Transactions on Circuits and Systems I: Regular Papers 70 (1), pp. 353–363. External Links: ISSN 1558-0806, Document Cited by: §I.
- [12] (2023) Pico-ampere current biasing platform for on-chip tuning of analog blocks. In 2023 IEEE 14th Latin America Symposium on Circuits and Systems (LASCAS), Quito, Ecuador, pp. 1–4. External Links: Document Cited by: §I.
- [13] (2020) A voltage-mode sensing scheme with differential-row weight mapping for energy-efficient RRAM-based in-memory computing. In 2020 IEEE Symposium on VLSI Technology, Honolulu, HI, USA, pp. 1–2. External Links: Document Cited by: §I.
- [14] (2018) Multiscale co-design analysis of energy, latency, area, and accuracy of a ReRAM analog neural training accelerator. IEEE Journal on Emerging and Selected Topics in Circuits and Systems 8 (1), pp. 86–101. External Links: ISSN 2156-3365, Document Cited by: §I.
- [15] (2025) Vector-matrix multiplier architecture for in-memory computing applications with RRAM arrays. IEEE Transactions on Nanotechnology 24, pp. 249–259. External Links: ISSN 1941-0085, Document Cited by: §I.
- [16] BiCMOS Technologies(Website) Note: Accessed: 2025-12-03 External Links: Link Cited by: §III-A.
- [17] (1996) Pen-based recognition of handwritten digits. Note: UCI Machine Learning RepositoryDOI: https://doi.org/10.24432/C5MG6K Cited by: §III-D.