A Homogeneous Processing Fabric for Matrix-Vector Multiplication and Associative Search Using Ferroelectric Time-Domain Compute-in-Memory

Xunzhao Yin, Qingrong Huang, Franz Müller, Shan Deng, Alptekin Vardar, Sourav De, Zhouhang Jiang, Mohsen Imani, Cheng Zhuo, Thomas Kämpfe, Kai NiarXiv 2022

Abstract

In this work, we propose a ferroelectric FET (FeFET) time-domain compute-in-memory (TD-CiM) array as a homogeneous processing fabric for binary multiplication-accumulation (MAC) and content addressable memory (CAM). We demonstrate that: i) the XOR(XNOR)/AND logic function can be realized using a single cell composed of 2FeFETs connected in series; ii) a two-phase computation in an inverter chain with each stage featuring the XOR/AND cell to control the associated capacitor loading and the computation results of binary MAC and CAM are reflected in the chain output signal delay, illustrating full digital compatibility; iii) comprehensive theoretical and experimental validation of the proposed 2FeFET cell and inverter delay chains and their robustness against FeFET variation; iv) the homogeneous processing fabric is applied in hyperdimensional computing to show dynamic and fine-grain resource allocation to accommodate different tasks requiring varying demands over the binary MAC and CAM resources.

Introduction: The Analog-Digital Divide in CiM

Modern AI hardware faces two major hurdles: the "memory wall"—the energy-hungry process of moving data between memory and processors—and the "analog-digital divide." While Compute-in-Memory (CiM) aims to solve the memory wall by performing calculations directly inside memory arrays, traditional analog CiM designs often require power-hungry Analog-to-Digital Converters (ADCs).

Time-Domain CiM (TD-CiM) is a promising alternative that uses signal delay to represent values, making it more compatible with digital circuits. However, previous TD-CiM designs often placed memory cells directly in the signal path, leading to signal distortion and sensitivity to manufacturing variations.

Comparison of the proposed time-domain accelerator against conventional digital and analog CiM approaches.

Proposed Methodology: Decoupled Time-Domain Computing

The authors propose a novel 2FeFET cell and a homogeneous processing fabric to address these issues. A key innovation is the Decoupled Signal Path. Unlike previous designs that placed FeFETs in the pull-down or pull-up path of the delay stage (which distorts signals), this work places the FeFETs outside the signal propagation path.

Comparison of FeFET placement in delay stages: (b) conventional in-path vs (c) proposed decoupled path.

In this architecture, FeFETs act as switches that conditionally connect a load capacitor to an inverter chain. If the logic result (XOR/XNOR for search or AND for multiplication) is "1," the capacitor is connected, adding a specific amount of delay to the signal. This approach ensures signal integrity and allows for normal FeFET array programming.

To maintain a compact design, a two-phase inverter chain is used. By employing the rising edge of a pulse for even stages and the falling edge for odd stages, the system ensures signal integrity while accumulating the total delay representing the computation result.

Homogeneous Architecture and Dynamic Allocation

Because the same 2FeFET cell can perform both MAC and CAM, the entire array can be dynamically reconfigured. This "homogeneous" nature allows the hardware to shift resources between "encoding" (MAC-heavy) and "searching" (CAM-heavy) tasks on the fly, preventing "stranded resources" where specialized hardware sits idle.

Experimental Results and Benchmarking

The design was evaluated using experimental measurements on 28nm HKMG FeFETs and SPICE simulations. The fabric was benchmarked on Hyperdimensional Computing (HDC) tasks, including speech recognition, activity recognition, and face detection.

Key Performance Metrics:

  • Energy Efficiency: The design achieves 8563 TOPS/W, significantly outperforming many existing CiM solutions.
  • Speed and Energy vs. GPU: Compared to an NVIDIA RTX 3060 Ti, the FeFET TD-CiM array demonstrated a 106× reduction in energy and a 63× speedup.
  • Robustness: By using capacitive loading rather than tunable resistance, the design is resilient to device-to-device variation. As long as the FeFET's ON/OFF ratio is sufficient, the exact resistance value does not impact the delay accuracy.
  • Scalability: Simulations confirmed functionality up to 128 stages while maintaining a sufficient sense margin.

Conclusion and Future Outlook

This work demonstrates a highly efficient, digital-friendly approach to CiM. While the core array is exceptionally efficient, future work will focus on optimizing the peripheral overhead of Time-to-Digital Converters (TDCs) and extending the architecture to support multi-bit precision. The successful demonstration of dynamic resource allocation in HDC tasks highlights the potential for this homogeneous fabric in versatile, low-power AI edge devices.

Summary updated

BibTeX
@misc{yin2022homogeneous,
  author = {Xunzhao Yin and Qingrong Huang and Franz Müller and Shan Deng and Alptekin Vardar and Sourav De and Zhouhang Jiang and Mohsen Imani and Cheng Zhuo and Thomas Kämpfe and Kai Ni},
  title = {{A Homogeneous Processing Fabric for Matrix-Vector Multiplication and Associative Search Using Ferroelectric Time-Domain Compute-in-Memory}},
  year = {2022},
  eprint = {2209.11971},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.11971},
}
Figure