2025 · 10 citations · 11 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureEdge ComputingMicroelectronicsDevice ScalingEmbedded Memory BlocksHardware AccelerationIntegrated Circuit DesignMemory Hierarchy OptimizationVery-large-scale Integration LayoutAccuracyBit-width OptimizationCmos ScalingDynamic RangeEmbedded Processing UnitsNormalizationSuperscalar MicroarchitectureTechnology Scaling
The evolution of AI workloads demands ever higher resolutions, multiple data-format compatibility, and high-energy efficiency (EEF). Integer (INT) CIM macros [1]–[13], [24] enable high-EEF MAC operations at the cost of limited accuracy. Floating-point (FP) CI Ms [14]–[21] provide higher accuracy but at the cost of reduced EEF due to a higher bit-width and complex pre- and post-operation normalization. Emerging microscaling (MX) data formats [22]–[23] improve the tradeoff between accuracy and EEF by employing a shared-scale (SS) factor across k-elements within a block; thereby, allowing precise control over the dynamic range and resolution with a low bit-width for high EEF. Application-level metrics indicate that the optimal data format is workload-dependent, necessitating novel CIM macros that integrate MX hardware with FP-INT processing. As shown in Fig. 14.2.1, CIMs face challenges in achieving high-EEF multi-mode (MX-INT-FP) MAC operations; due to (1) high-energy consumption and system area overhead from system-to-CIM data transfers, including FP-to-MX conversion (FP2MX) and SS processing outside of the CIM; (2) significant area and energy consumption by the adder tree (ADT); and (3) inefficient data transfers along a single write path, i.e. to CIM memory (MEM) or ALU buffer (BUF), for various accumulation sizes <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$(\mathrm{N}_{\text{CH}})$</tex> across multiple layers of neural-network (NN) models. This paper presents an MX-INT-FP multi-mode CIM (M2-CIM) featuring: (1) a multi-mode input (IN) processing unit (M2-IPU) with an SS-variance-aware MAC flow (SS-VAF), which enables both FP2MX and SS processing within the CIM to eliminate system-to-CIM data transfers and reduce compute energy; (2) a pattern-aware hybrid adder tree (PAH-ADT) to reduce energy consumption for high-probability IN-patterns using a smaller area with higher EEF and area efficiency (AEF); and (3) an accumulation-aware data flow (A2-DF), supporting a dynamically reconfigurable data write path and a compute flow based on the workload <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathrm{N}_{\text{CH}}$</tex> to enhance hardware flexibility and reduce data-transfer energy consumption. A 16nm 216kb MX-INT-FP multi-mode gain-cell (GC) CIM is fabricated using compact-area 3.x transistors (3.xT) GCs. This design supports MX-MACs with 128 accumulations <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$(\mathrm{N}_{\text{ACCU}})$</tex> for MXFP8/MXINT8 INs and weights (W), which generate FP32 outputs (OUT). Also supported are FP-MAC operations with <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathrm{N}_{\text{ACCU}}=128/64/64$</tex> for FP8/FP16/BF16 Nand Wand FP32-0UT, as well as INT-MACs with <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathrm{N}_{\text{ACCU}}=128$</tex> for 4/8b IN and W, generating 15/23b-OUT. This M2-CIM achieves an MX-MAC EEF of 133.5TFLOPS/W in MXINT8 mode and an FP-MAC EEF of 91.9TFLOPS/W in BF16 mode.
11
16.3 A 28nm 384kb 6T-SRAM Computation-in-Memory Macro with 8b Precision for AI Edge Chips
Jian-Wei Su, Yen-Chi Chou, Ruhui Liu et al. · 2021 · 197 citations
Bonan Yan, Jeng-Long Hsu, Pang-Cheng Yu et al. · 2022 IEEE International Solid- State Circuits Conference (ISSCC) · 2022 · 133 citations