EasyACIM: An End-to-End Automated Analog CIM with Synthesizable Architecture and Agile Design Space Exploration

Haoyi Zhang, Jiahao Song, Xiaohan Gao, Xiyuan Tang, Yibo Lin, Runsheng Wang, Ru Huang

Abstract

Analog Computing-in-Memory (ACIM) is a critical technology for high-efficiency AI edge computing, yet its design remains a labor-intensive, manual process. This paper introduces EasyACIM, the first end-to-end automated framework for ACIM design. By integrating a synthesizable architecture with agile design space exploration (DSE) and template-based hierarchical layout, EasyACIM generates high-performance ACIM macros that match manual state-of-the-art designs while reducing design time from months to minutes. Experimental results in TSMC 28nm demonstrate that EasyACIM produces macros achieving 50–750 TOPS/W, effectively bridging the gap between fixed hardware topologies and diverse application requirements.

Introduction: The Design Gap in Analog CIM

Analog Computing-in-Memory (ACIM) has emerged as a powerhouse for AI edge computing due to its exceptional energy efficiency and computational density. However, unlike its digital counterparts, ACIM design is currently a "boutique" process. Most existing macros feature unscalable topologies with fixed array dimensions and ADC resolutions. Adapting these designs to new applications—such as moving from a high-throughput CNN to a high-precision Transformer—typically requires months of manual effort by expert circuit designers.

The design gap between traditional fixed ACIM macros and the diverse requirements of modern AI applications.

This "design gap" stems from the complex, non-linear trade-offs between Signal-to-Noise Ratio (SNR), energy consumption, throughput, and silicon area inherent in analog circuits. Automation is essential to navigate this multi-dimensional space efficiently and reduce time-to-market for specialized AI hardware.

The EasyACIM Framework

EasyACIM automates the transition from high-level design specifications to final GDSII layouts through three integrated pillars: a synthesizable architecture, agile design space exploration, and a hierarchical layout generator.

The EasyACIM end-to-end automated design flow, from user specifications to final GDSII layout.

1. Synthesizable Architecture

The framework utilizes a Charge Redistribution (QR) compute model. A primary innovation is the dual-purpose use of compute capacitors: they serve both the initial computation and as the capacitor digital-to-analog converter (CDAC) for the Successive Approximation Register (SAR) ADC. This reuse significantly minimizes area overhead. Furthermore, the architecture introduces a tunable "L" factor—the number of SRAM cells sharing a single capacitor—allowing designers to trade off throughput for area efficiency.

2. Agile Design Space Exploration (DSE)

To find optimal configurations, EasyACIM employs the NSGA-II (Non-dominated Sorting Genetic Algorithm II). The tool builds analytical models for SNR, energy, area, and throughput to identify the "Pareto frontier." This allows users to select distilled solutions tailored to specific needs, such as high-SNR designs for sensitive Large Language Model (LLM) tasks or high-efficiency designs for simple vision tasks.

3. Template-based Hierarchical Layout

Bridging the gap between automated tools and manual quality, EasyACIM uses a hierarchical placer and router. This approach allows the use of manually optimized "standard" cells (e.g., dense 8T-SRAM bitcells) while the tool automates the complex interconnections and top-level organization, ensuring high density without the typical errors of manual routing.

Key Results and Benchmarking

The framework was evaluated using the TSMC 28nm process, generating various 16kb ACIM macros. Key performance metrics include:

  • Energy Efficiency: Solutions ranged from 50 TOPS/W to 750 TOPS/W.
  • Area Efficiency: Layouts achieved 1500 to 7500 $F^2$/bit.
  • Design Speed: Agile DSE for a specific array size takes approximately 30 minutes, with layout generation following in minutes. This represents a massive reduction from the 1-2 months required for manual design.

When compared against state-of-the-art (SOTA) manual designs from top-tier venues like ISSCC and JSSC, EasyACIM’s Pareto-optimal solutions consistently matched or outperformed manual efforts in both energy and area efficiency.

Conclusion

EasyACIM represents a significant step toward democratizing high-performance analog hardware for AI. By automating the most labor-intensive parts of the design flow, it enables rapid iteration and deployment of specialized edge AI hardware. Future work will focus on extending the architecture to support multi-bit inputs and weights, further expanding the framework's applicability across the evolving AI landscape.

Summary updated

BibTeX
@inproceedings{zhang2024easyacim,
  author = {Haoyi Zhang and Jiahao Song and Xiaohan Gao and Xiyuan Tang and Yibo Lin and Runsheng Wang and Ru Huang},
  title = {{EasyACIM: An End-to-End Automated Analog CIM with Synthesizable Architecture and Agile Design Space Exploration}},
  booktitle = {DAC},
  year = {2024},
  doi = {10.1145/3649329.3656229},
}
Figure