arXiv:2610.37601cs.AROct 2026

Manuscript Offprint

arXiv:2610.37601

SLICE-CiM: Selective Layer-wise Inference Control Engine with Confidence-Based Early Exit for SRAM based Digital Compute-in-Memory

Pratham Sharma, Mohd Faisal Khan, Santosh Kumar Vishvakarma

Pratham Sharma*, Mohd Faisal Khan*, and Santosh Kumar Vishvakarma*, (Senior Member, IEEE)

*Department of Electrical Engineering, Indian Institute of Technology Indore, Indore, India

Abstract—Digital SRAM compute-in-memory (CIM) macros enable energy-efficient CNN inference by eliminating off-chip weight transfers; however, peripheral control logic introduces three inefficiencies: bit-slice over-activation at reduced precision (L1), unnecessary accumulation depth (L2), and idle precision-transition stalls (L3). To address these, we present four synthesizable peripheral blocks: a Flush-Merge Enable (FME) controller, a Confidence-Based Early-Exit (EE) module, a Precision Register with Decoder (PR/PD), and a Bit-Serial Cycle Controller (CC), co-designed to minimize switching activity, wordline overhead, and leakage. Implemented in TSMC 65-nm CMOS at 335 MHz, the peripheral framework occupies 1769.760 μ\mum 2^2 post-synthesis and 1982.131 μ\mum 2^2 post-PnR. Gate-level VCD analysis reports 6.0706 μ\muW leakage and 288.2902 μ\muW (post-synthesis) / 322.8850 μ\muW (post-PnR) dynamic power, totaling 328.9556 μ\muW (0.2402% of system power). The EE module dominates dynamic power (58.2%), while WLG dominates area (58.1%). System evaluation on MobileNetV2 (CIFAR-100) shows efficiency scaling from 31.35 TOPS/W (8b/8b, 1.2 V) to 454.91 TOPS/W (2b/8b, 0.8 V), achieving 13.33× improvement without bitcell modification or retraining. The framework targets CNN workloads exploiting sparsity, with Transformer extension as future work.

Index Terms—Compute-in-memory (CIM), digital SRAM, bit-serial MAC, mixed-precision inference, early-exit computation, precision switching, peripheral circuits, wordline gating, edge AI acceleration.

I. INTRODUCTION

The rapid growth of deep neural network (DNN) workloads has increased the demand for energy-efficient real-time inference platforms. Conventional von Neumann architectures suffer from excessive data movement between memory and processing units, dominating latency and power. Compute-in-memory (CIM) architectures mitigate this bottleneck by performing multiply-accumulate (MAC) operations within memory arrays, reducing transfer overhead and improving efficiency [1], [2]. SRAM-based digital CIM (DCIM) macros are widely adopted due to CMOS compatibility, high speed, and scalability [3], [4]. Recent designs improve performance using programmable macros, bit-serial arithmetic, reconfigurable datapaths, and mixed-precision computation [5], [6], [7], [8], while algorithm-level techniques such as mixed-precision quantization and hardware-aware training further enhance efficiency [9], [10], [11]. Dynamic inference methods (e.g., early-exit) additionally reduce redundant computation. Despite these advances, prior works largely optimize array- and algorithm-level aspects independently, leaving peripheral control inefficiencies unresolved. Even with optimized arrays, peripherals introduce three key inefficiencies: (L1) bit-slice over-activation from imprecise wordline control, (L2) excess accumulation beyond convergence, and (L3) stalls during precision transitions. These stem from the lack of coordinated, precision- and confidence-aware control at the periphery. Although partially addressed via sparsity-aware and mixed-precision techniques [11], [6], [7], [8], no prior work resolves all three jointly. This work presents an SRAM-based DCIM macro with a unified peripheral control framework integrating precision-aware slice activation, confidence-based early exit, and zero-stall precision transitions. By coupling control with workload dynamics, the design eliminates redundant activations, reduces accumulation overhead, and avoids pipeline stalls, significantly improving energy efficiency and throughput for neural inference workloads.

The main contributions of this work are:

  1. A flush-merge enable controller that merges accumulator flush, counter reset, precision update, and wordline reconfiguration into the final compute cycle, eliminating mode-transition stalls.

  2. A registered-output early-exit mechanism that terminates bit-serial accumulation after confidence convergence, removing redundant accumulation depth.

  3. A precision register and decoder that selectively activates bit-slices using a training-free sensitivity metric, eliminating slice over-activation.

  4. A deterministic cycle controller that supports safe early termination with a formally bounded error constraint.

The remainder of this paper is organized as follows. Section II describes the baseline SRAM array and each proposed peripheral module from a transistor-level perspective. Section III derives the formal early-exit error bound. Section IV presents the training-free mixed-precision assignment. Section V reports experimental setup and results, power analysis, and system-level evaluation. Section VI concludes.