Manuscript Offprint
arXiv:2611.08399Scaling Up Analog CIM: A Simulation Framework for Topology-Aware Mapping
Yuxin Ren, Danella Zhao, Huanrui Yang
Department of Electrical and Computer Engineering
The University of Arizona, Tucson, AZ, USA
{yuxinr, danellazhao, huanruiyang}@arizona.edu
Abstract—Analog compute-in-memory (CIM) enables energy-efficient AI inference by performing in-situ matrix multiplication. The growing demand for deploying larger models motivates chiplet integration to expand CIM capacity. However, simulation abstractions based on local operator costs and aggregate communication metrics obscure the impact of weight-mapping topology when CIM system scales up. We develop a phase analysis that quantifies how strongly mapping topology affects system performance across hardware configurations and how mapping optimization translates into latency gains. To evaluate and exploit this design space, we present Isobar, a simulation platform integrating CIM decompositions, heterogeneous execution, and resource modeling. Validated against silicon measurements and cycle-accurate simulation, Isobar provides reliable cost estimates that enable effective mapping search across model and hardware configurations. For Gemma-7B prefill, Isobar-guided mapping reduces communication time by 23.3% and end-to-end latency by 18.6% relative to the strongest baseline. Isobar's system-level modeling show that analog CIM retains energy-efficiency potential relative to GPU when scaled to thousands of dies, and identify topology-aware mapping as a key design dimension for efficient execution.
I. INTRODUCTION
Serving large language models (LLMs) requires substantial compute resources [1]. Analog compute-in-memory (CIM) based on resistive random-access memory (ReRAM) enables efficiency by performing matrix operations in place [2]. These benefits make deploying LLMs on analog CIM a promising direction [3]. However, scaling analog CIM to LLMs requires accommodating billions of parameters that far beyond individual CIM crossbar capacity, together with the difficulty in supporting the attention computation [4].
Early CIM studies explored multi-die integration to expand memory capacity [5] inspired by digital chiplet accelerators [6]. Heterogeneous architectures combine CIM dies with digital compute units to support attention [7]. While expanding system capabilities, these architectural extensions introduce large volumes of data traffic across the CIM system: partitioning large resident weight matrices across dies requires transfers of inputs and intermediate results; heterogeneous execution adds communication among CIM dies, digital units, and memory resources. Partitioning these matrices and assigning their blocks to physical CIM locations alone can produce different contention patterns on shared links and ports, leading to different communication delays even with the model and hardware configuration held fixed. This assignment of resident computations to locations within a fixed hardware, which we call topology-aware mapping, provides a software means of improving the efficiency. Existing simulation methods do not fully capture this mapping dependence. Digital chiplet frameworks emphasize pipelining and weight reloading [8], without modeling the decomposition and communication of resident analog execution. Analog simulators focus on local operators or prescribed chiplet organizations [5], [9], without resolving topology-dependent contention under alternative physical assignments.
To model and explore this space, we present Isobar, a simulation platform for topology-aware mapping in analog CIM chiplet systems. Isobar derives communication from CIM decompositions and heterogeneous execution, analyzes the resulting contention on shared links and ports based on physical placement, and thereby constructs a latency and dynamic-energy model that connects feasible mapping choices to their consequences. The resulting phase diagram (Fig. 1) quantitatively reveals the impact of topology-aware mapping, enabling comparison of deployments whose differences are hidden by previous metrics. Across CIM speeds and interconnect bandwidths, the mapping-dependent boundary envelope identifies where physical assignment becomes critical as communication dominates intra-die or package-level execution. Projected operating points from published CIM designs fall in mapping-sensitive regions under the reference workload, establishing the practicality of this design dimension.
Isobar further supports mapping search through incremental evaluation, enabling millisecond-scale evaluation and second-scale search with thousands of dies. Comparisons with silicon measurements [6] and independent BookSim simulations [10] validate Isobar's ability to reliably search and evaluate different mappings. Across three representative LLMs and three configurations,

Fig. 1. Mapping-dependent communication regimes for (a) intra-die macro mapping and (b) package-level die mapping.
Isobar-guided mapping reduces median communication time by 14.8–24.0% and end-to-end latency by 10.6–18.7% relative to the strongest evaluated baselines.
We further show that analog CIM retains energy-efficiency potential at LLMs scale, with full-request dynamic-energy estimates well below published GPU measurements. Controlled comparisons across capacity, matrix decomposition, and resource configurations reveal how these choices shape communication costs and mapping benefits, providing design guidance for efficient CIM scaling.
A. System Setting and Mapping Space
CIM deployment requires jointly determining where computation is allocated and how inputs and intermediate results are transferred, subject to hardware capacity constraints. We formulate this mapping space according to the CIM hardware hierarchy.
Consider a CIM chiplet system with four hardware levels: package, die, macro, and crossbar array. At the package level, we assume homogeneous CIM dies connected by a two-dimensional mesh. Digital units and associated memory resources support input-dependent attention and KV-cache access, following previous CIM-based Transformer systems [3], [7]. Within each die, an intra-die interconnect links multiple macros. Each macro combines ReRAM crossbar arrays for static-weight matrix operations with data-conversion peripherals, local buffers, and digital accumulation logic [2]. Array dimensions, macro and die capacities, interconnect geometry and bandwidth, and digital-resource organization are configurable in Isobar.
For CIM operators, weight precision, cell encoding, array dimensions, and die capacity constrain the legal
matrix decompositions. The weights and computation allocated to one macro form a logical macro instance; the macro instances allocated to one die form a logical die instance. We represent each candidate deployment as a triple:
Here, partitions the model's CIM-mapped linear operators into nonempty, consecutive groups . Each specifies how the operators' weight matrices are legally tiled and how the resulting encoded weight tiles are allocated to logical macro and die instances. The tilings also determine which tiles share inputs and which partial results must be summed [9]. The resulting logical die instances form , and denotes the macro instances belonging to logical die .
Given , let denote the available CIM die slots in the package and the macro slots within physical die . Die placement assigns each logical die to a package slot, while macro assignment assigns its macro instances to slots within the selected die :
with collecting the intra-die assignments. Both and each are injective, so each physical slot hosts at most one corresponding resident instance; unused slots are permitted. The feasible deployment space consists of triples that respect the grouping and slot-exclusivity constraints and satisfy each instance's capacity and resource-type requirements.
For placement comparisons, we fix , the workload, hardware, routing policy, and execution policy, including digital-unit locations and task allocation. Varying or changes transfer routes and contention on shared links and ports while preserving operator computations and logical data transfers.
B. Execution Costs and Boundary Envelopes
Under the mapping space in Eq. (1), we combine communication, computation, and memory-access costs to quantify how topology-aware mapping affects latency across hardware settings.
For inter-die placement comparisons, non-communication cost is
where is the CIM row-processing rate, and the four terms represent CIM execution, digital computation, KV-memory service, and other processing, respectively. Communication cost depends on how mapping distributes traffic across shared resources. For a stage of simultaneously ready transfers, let denote the total bytes routed through resource under mapping . The resource set includes directed links, injection and ejection ports, and digital-unit interfaces used by that stage. The communication-time estimate is
where is the effective bandwidth of r, C collects these bandwidths, and is the stage's propagation delay. The maximum term is a lower bound on the stage's service time, used as its estimate under the reference static model. Package communication and local execution are serialized under the reference policy, giving
In addition, fixed digital-interface bandwidths must be accounted when the mesh bandwidth B varies:
Where refers to CIM input and output ports bandwidth, is the maximum over mesh-link byte loads and CIM-port byte loads, is the largest service time among the fixed-bandwidth interfaces used by stage j. Once a fixed-bandwidth interface becomes the bottleneck, further increases in B cannot shorten that stage.
The inter-die boundary marks where communication time falls to or below the non-communication cost in the serialized package execution. For fixed , , and digital-interface bandwidths, we define
This boundary separates communication-dominated execution, , from execution where noncommunication work contributes at least as much latency, . Communication remains additive on both sides. An empty set gives .
Within a die, the reference schedule permits computation and communication service to overlap:
where and are j's computation and communication service times, respectively, and includes non-overlapped costs such as writes and propagation. The intra-die boundary therefore marks where communication service can be hidden by computation for every co-resident operator:
Different mappings reach these boundaries at different bandwidths. For package mappings evaluated under the same fixed conditions, the lowest and highest thresholds define the observed boundary envelope:
The intra-die envelope is obtained analogously from the extrema of over the evaluated macro assignments. At each CIM rate, the envelope divides bandwidth into three regions. Below , every evaluated mapping has communication-dominated execution at package level or exposed communication service at die level. Above , every evaluated mapping satisfies at package level or hides communication service for every operator at die level. Within the envelope, mapping determines which side of the corresponding execution boundary is reached. measures the variation in required bandwidth across the evaluated mappings.
C. Phase Interpretation and Design Implications
Using the preceding models, we sweep the CIM processing rate and interconnect bandwidth to quantify how mapping topology affects the boundary bandwidth and total latency, as shown in Fig. 1. At the reference speed, the ratio between the largest and smallest boundary bandwidths is across 70 intra-die macro assignments and across six Gemma-7B inter-die mappings. Thus, different mapping topologies require substantially different bandwidths to reach the same boundary. The dotted contours mark a total-latency spread of across the evaluated mappings, indicating a 20% difference attributable to mapping topology alone under the same workload, CIM speed, and interconnect bandwidth.
We further project existing CIM designs onto the phase diagrams to relate this variation to real hardware capabilities. ISAAC [2] provides an architectural reference for ReRAM acceleration. HERMES [11] and NeuRRAM [12] provide silicon implementations

Fig. 2. Isobar framework and communication modeling: (a) simulation workflow supporting phase analysis and mapping search; (b) shared-link contention in CIM–CIM transfers; (c) link, CIM-port, and digital-interface service times for a CIM–digital attention handoff.
of PCM- and RRAM-based CIM, respectively, while M1076 [13] represents a flash-based analog matrix processor. The reference configurations span a range of analog CIM baselines, from slow to fast, with different communication capabilities. Both HERMES operating modes are included to represent its speed–precision tradeoff between one-phase and four-phase computation. We also include Simba [14], a digital multi-chiplet accelerator, as a reference for ideal communication provisioning at the package level, using its range of demonstrated digital chiplet bandwidths. For the NeuRRAM-derived configurations, we pair NeuRRAM's compute timing with two bandwidth settings: HERMES's 0.4 GB/s on-chip link rate and Simba's maximum 12.5 GB/s die-to-die link rate. These endpoints define a range from an analog-CIM interconnect reference to an optimistic digital-chiplet reference, bracketing the boundary at the reference CIM speed.
Under the reference workloads, most projected design points lie in regions sensitive to topology-aware mapping, establishing it as a key determinant of execution efficiency for CIM systems with existing compute and interconnect capabilities. Capacity expansion also changes this sensitivity: when resident matrices must span more dies, input broadcasts, partial-sum reductions, and operator handoffs alter shared-resource loads and contention, shifting the phase boundaries. By deriving these loads from legal CIM decompositions, Isobar quantifies the communication cost of capacity expansion and enables the evaluation and optimization of topology-aware mappings.
III. THE ISOBAR PLATFORM
A. Simulation Framework
Figure 2(a) summarizes Isobar's simulation workflow, which takes a workload description, hardware and execution settings, and a candidate deployment as input.
The evaluation core derives communication demands and component costs, then returns total latency, dynamic energy, and resource-level cost breakdowns.
Starting from CiLoop's decompositions [9], Isobar uses tensor indices and reuse relationships to identify shared inputs and contributions to outputs, while operator dependencies determine producer–consumer handoffs. These relationships are converted into broadcasts, reductions, and handoffs, with each transfer's payload, endpoints, and execution stage recorded. Payloads are computed from the mapped tensor slices and their activation or accumulation, preserving the communication requirements of the chosen matrix decomposition.
Isobar supports prefill and decode with either a central digital attention unit or multiple distributed units. Unit locations, compute throughput, memory resources, and workspace capacities are configurable, and tasks can be assigned by layer or head group. These assignments determine which QKV outputs or partial sums each unit receives and where its outputs return to the CIM output projection. KV reads and writes follow the configured storage paths and are accounted for separately from transfers between compute units.
Isobar routes transfers under each candidate deployment to obtain the resource loads in Eq. (4). Figure 2(b) illustrates this accumulation: eight FFN handoff flows share the busiest link, whose 21.0 ms service time exceeds the 6.6 ms port bound, making shared-link contention the communication bottleneck. The heterogeneous handoff (Fig. 2(c)) is also limited by contention: the QKV-to-attention's 7.86 ms service time exceeds those of both the CIM port and the digital interface and determines the stage's 7.87 ms communication latency.
Isobar combines the resulting communication costs with CIM operator costs, digital computation, and memory service. Digital computation costs follow operation counts and the effective throughput of the assigned

(c) Evaluation cost
(d) Search progress
Fig. 3. Isobar accuracy and efficiency: (a) latency vs. chiplet separation validation; (b) latency and ranking agreement with BookSim; (c) full evaluation, incremental update, and repricing runtimes; (d) comm. cost vs. search time.
units. The memory model supports both materialized and tiled attention, accounting for KV reads and writes, intermediate spills, and block rereads under the configured workspace capacity. Automatic selection chooses the attention mode with lower modeled memory traffic. These costs are aggregated along the execution graph using the overlap and serialization rules in Section II-B. When multiple digital units cooperate on an attention stage, stage completion follows their critical path.
Dynamic energy is accumulated over the same execution:
The non-network terms follow the corresponding operator and memory-access costs. Network energy is computed as , where is the cumulative byte volume on link and is its energy per byte. This accounting retains the different effects of resource contention on latency and cumulative transmission work on energy. The shared evaluation core supports both the phase analysis and topology-aware mapping optimization.
B. Efficient Exploration and Validation
To use the framework for topology-aware mapping optimization, Isobar implements a hierarchical dynamic-programming-simulated-annealing (DP-SA) search over the deployment choices defined in Section II-A. Candidate deployments are scored using simulated execution latency . DP selects the consecutive groups of CIM-mapped linear operators, with their allocations determined by the fixed operator tilings and allocation rules . SA then optimizes the physical die assignment . For small intra-die assignment spaces, Isobar exhaustively enumerates the joint macro assignments . SA explores die exchanges, relocations, and group swaps that preserve allocation sizes and slot exclusivity. Improving moves are accepted directly, while uphill moves are accepted probabilistically under geometric cooling. Multiple starts explore alternative initial assignments, and each run retains its best visited mapping. The main inter-die experiments fix and and use as the SA objective, where is the communication time of a fixed baseline.
Fig. 3 validates Isobar's predictions. Simba's silicon measurement test runs the same workload on increasingly separated chiplets, directly measuring the latency penalty of physical placement [6]. Isobar reproduces the measured latency increase with chiplet separation, with only 5.1% relative error in the latency ratio between the most separated and adjacent placements, while methods that omit the transfer schedule fail to capture this trend (Fig. 3(a)). We further validate the communication model against BookSim [10], a cycle-accurate network simulator that provides a high-fidelity external reference for latency. Under different configurations, Isobar's mapping rankings keep closely agree with BookSim's (Fig. 3(b)).
To accelerate repeated evaluation, Isobar precomputes logical transfers and placement-independent execution costs for each fixed . Each SA move updates only the affected routes, resource loads, and stage costs. Parameter sweeps also reuse the decomposition when logical traffic and feasibility remain unchanged. Across deployments with 512–2,200 CIM dies, incremental evaluation takes 1.4–15.9 ms, achieving a 26–38 speedup over full evaluation (Fig. 3(c)). The representative search runs in Fig. 3(d) finish in 2.5–127.7 s, each producing a mapping with lower communication cost than its baseline. Together, these results demonstrate that Isobar retains the predictive accuracy needed to guide mapping decisions while making repeated evaluation practical at thousands-of-dies scale.
IV. MAPPING BENEFITS AND SCALING BEHAVIOR
A. Evaluation Setup
Table I lists the reference settings, with Gemma-7B as the main case. The models are also evaluated under two variants: 16 macros per CIM die, or four digital attention units assigned separate head groups while retaining the reference total digital-resource budget. The mapping experiments report Transformer-backbone latency and dynamic energy. For each configuration, the strongest baseline is the lowest-latency candidate in the pool.
B. Mapping Discrimination and Selection Quality
Figure 4(a) compares two mappings with identical logical transfers but different traffic distributions. Mapping B concentrates traffic on fewer links, increasing the peak
TABLE I
REFERENCE SETTINGS AND EVALUATION PROTOCOLS.
| Parameter | Setting |
|---|---|
| OPT-6.7B deployment | 768 CIM dies; mesh |
| Gemma-7B deployment | 1,232 CIM dies; mesh |
| OPT-13B deployment | 2,200 CIM dies; mesh |
| Input | Batch 1; 512-token prefill |
| CIM die | 8 macros; 256 arrays of cells |
| Cell / encoding | 4 bits/cell; differential weights |
| Activations / sums | 8-bit activations; 16-bit partial sums |
| CIM row time | 10.14 s, NeuRRAM-derived [12] |
| Digital attention | 1 central unit; 2 TMAC/s effective |
| KV memory | 2 GB; 25.6 GB/s |
| Workspace | 8 MB |
| Digital interface | 12.5 GB/s in each direction |
| Network | 2D mesh; XY routing; 20 ns/hop |
| Link / CIM port | 0.4 / 0.8 GB/s per direction ( ) |
| Network energy | 10 pJ per 8-bit word-hop |
| Digital energy | 1 pJ per MAC-equivalent operation |
| Main baseline pool | Feasible prescribed rules + 500 random layouts |
| Main search runs | 10 seeds; 3 starts per seed |
| Exploratory sweeps | 100 random layouts; 5 seeds |
(a) Equal word-hops, unequal load

A peak 4.2 M · 69 lanes B peak 10.5 M · 56 lanes
(b) BookSim performance of selected mappings

Fig. 4. Mapping discrimination and selection quality: (a) equal word-hops yield different link loads and latencies; (b) BookSim latency of each metric's selected mapping, normalized to the best candidate in the same pool.
link load from 4.2 M words in A to 10.5 M words. The Word-hops metric, which sums transferred words over all traversed links, assigns the two mappings equal costs. Isobar distinguishes their contention patterns and predicts a B/A communication-time ratio of 1.94, similar to 1.82 in BookSim.
Figure 4(b) evaluates whether this discrimination improves mapping selection in three different settings, using the candidate pools from Section III-B. For each workload, Isobar, Word-hops, and Max-hops each select
(a) Whole-model latency of the evaluated layouts

(b) Latency and dynamic energy
(c) By hand-off kind

(d) Bandwidth equivalent
Fig. 5. Topology-aware mapping benefits for Gemma-7B prefill: (a) backbone latency across mappings; (b) latency-dynamic-energy trade-offs; (c) communication time and savings by handoff, summed over layers; (d) bandwidth required by the strongest baseline to match the searched mapping at 0.4 GB/s.
the candidate with the lowest predicted cost; Max-hops uses the maximum route length. The selected mappings are then evaluated in BookSim, with their communication times normalized to the minimum BookSim time within the same pool. Thus, the bars compare the quality of mapping choices made by the three metrics.
Isobar selects mappings whose BookSim communication times are only 0.3–12.2% above the pool minimum, compared with 40.4–51.7% for Word-hops, and outperforms Max-hops in all three workloads. The range bars show the BookSim variation among candidates tied for each metric's minimum predicted cost. For single-layer decode, Isobar's tied candidates include the BookSim-best mapping, while the fixed tie-breaking rule selects the mapping with 12.2% higher latency. These results demonstrate that accounting for shared-resource contention improves topology-aware mapping selection.
C. Communication Benefits and Bandwidth Implications
We demonstrate Isobar's optimization performance across architectural configurations. For Gemma-7B prefill, Fig. 5(a) shows that Isobar reduces communication time by 77.7% to the default mapping, and 23.3%

Fig. 6. Communication speedups over default fill: (a) 8 macros/die and 1 digital unit; (b) 16 macros/die and 1 unit; (c) 8 macros/die and 4 head-group units. Bars show medians; caps mark the best. Percentages indicate communication-time reductions relative to the random median.

(c) Bandwidth response
(d) Context length
Fig. 7. Configuration dependence of mapping gains: (a) CIM capacity with a fixed-mesh; (b) digital-unit organization at fixed resources; (c) bandwidth response for a fixed mapping; (d) comm. and backbone latency reductions vs. context length in prefill and decode. Panels (b)–(d) use Gemma-7B.
to the strongest baseline, indicating a 18.6% end-to-end improvement. Figure 5(b) shows that this latency improvement is accompanied by a 0.65% reduction in dynamic energy relative to the same baseline. Least Manhattan achieves a larger energy reduction of 14.4% but increases latency by 29.1%, illustrating the different mapping choices favored by latency and energy objectives.
Figure 5(c) locates the main source of the communication savings. Transfers from the attention output to FFN1 and from FFN1 to FFN2 together account for 81.8% of the reduction, indicating shared links as the bottlenecks in the baseline handoffs, linking these gains to reduced contention along the FFN communication paths. Figure 5(d) shows that topology-aware mapping can reduce the interconnect bandwidth needed to meet a communication target. With the digital-interface capacity fixed, the baseline requires 30.4% more bandwidth to match the searched mapping's communication time.
TABLE II
QKV PARTITIONING FOR OPT-13B PREFILL (S = 512, 49 × 49 MESH).
| QKV split | CIM dies | QKV-to-unit traffic (GB) | (s) | (s) | (%) |
|---|---|---|---|---|---|
| Row | 2200 | 6.29 | 13.39 | 11.22 | 17.5 |
| Column | 2400 | 0.315 | 5.16 | 4.10 | 25.1 |
Figure 6 extends the comparison across model scales and attention configurations, improving the strongest baselines across all three configurations for the larger models. The smaller OPT-1.3B case shows that these gains depend on the communication structure produced by configuration, as capacity consolidation of certain settings leaves little contention to reduce. The results establish Isobar's ability to optimize topology-aware mappings across architectures.
D. Configuration Dependence and Design Guidance
Isobar's flexible configuration supports design studies that guide capacity provisioning, resource organization across workloads.
First, capacity choices should account for the communication patterns produced by matrix decompositions. Figure 7(a) shows that increasing die capacity does not consistently reduce the benefits of topology-aware mapping. Capacity consolidation removes competing handoff flows in OPT-1.3B, whereas wide fan-out handoffs retain concentrated contention in Gemma-7B. The Gemma-7B common-grid control preserves the nonmonotonic trend, showing that mesh size alone do not explain this behavior. Table II further illustrates the trade-off between resident footprint and communication demand. Column partitioning uses more dies but replaces repeated partial-sum transfers with disjoint QKV outputs, reducing QKV-to-unit traffic by and substantially lowering latency. Capacity, decomposition, and topology-aware mapping should therefore be evaluated jointly, since minimizing one does not necessarily minimize total cost.
Second, resource distribution must preserve computational parallelism while balancing communication and memory. Figure 7(b) shows that assigning attention head groups to separate units disperses communication while preserving the aggregate throughput. Assigning complete layers to separate units instead leaves part of the digital capacity idle, increasing latency relative to the central-unit configuration. Workspace allocation introduces another constraint: at longer contexts, dividing the workspace among distributed units requires more query tiles and repeated KV reads, offsetting part of the communication benefit. Complementary port sweeps
TABLE III REPORTED GPU AND MODELED CIM ENERGY PER INFERENCE REQUEST.
| Model | Macros/die | GPU (J) | CIM (J) | GPU/CIM |
|---|---|---|---|---|
| OPT-13B | 8 | 5,473.7 | 58.61 | 93× |
| 16 | 48.53 | 113× | ||
| Gemma-7B | 8 | 1,898.7 | 11.45 | 166× |
| 16 | 9.85 | 193× |
GPU energy from A100 [15] for OPT-13B, and average requests from Jetson AGX Thor board [16] for Gemma-7B. CIM values are simulated dynamic energy.
show that tight CIM-port limits also restrict mapping gains.
Third, the system benefit of communication optimization depends on the execution costs. Figure 7(c) illustrates this dependence by sweeping mesh bandwidth for a fixed mapping pair. Total latency savings initially decline while fractional communication savings remain nearly constant, as communication accounts for a smaller share of execution. Once the fixed-bandwidth digital interface becomes limiting, communication savings also decline. Figure 7(d) shows a related effect across workloads. As the decode context grows, topology-aware mapping retains similar communication savings, but increasing KV service costs progressively reduce their contribution to backbone acceleration. Prefill retains larger and more stable backbone gains across the evaluated context lengths. Long-context decode therefore requires attention to memory service alongside communication optimization, whereas prefill offers greater scope for acceleration through topology-aware mapping.
By exposing these dependencies, Isobar supports the joint evaluation and optimization of hardware configurations and topology-aware mappings according to the dominant costs of each deployment.
E. Energy Comparison with GPUs
Using the reference hardware settings and the searched mapping for each capacity configuration, we estimate dynamic energy for complete inference requests, including prefill, decoding, embeddings, and additional resident LM-head resources. At batch size one with 16-bit KV caches, we match the published GPU workloads: 64 input and 1,024 output tokens for OPT-13B, and 13–345 input and 500 output tokens for Gemma-7B. Table III shows that modeled CIM dynamic energy remains substantially below reported GPU energy after accounting for communication and non-CIM execution.
V. RELATED WORK
Existing analog CIM simulators model analog nonidealities [17], architectures, and workload mappings [9]. [18] optimize NoC mapping and routing, NMAP [19] incorporates link-bandwidth constraints, and
HALO [7] optimizes placement in heterogeneous IMC–CMOS systems using traffic-weighted distance, leaving mappings with equal distance but different bottleneck loads unchecked.
Timeloop [20] supports analytical loop-mapping exploration, Gemini [8] co-explores graph partitioning, spatial mapping, and chiplet architectures, and Rapid-Chiplet [21] provides fast interconnect evaluation. SIAM [5] integrates computation, communication, and memory costs, and CHIPSIM [22] models contention across concurrent workloads and pipelining. These tools primarily target digital accelerators.
Isobar jointly models resident CIM capacity constraints, heterogeneous execution, and shared-resource contention to evaluate and optimize topology-aware mappings across configurations.
VI. CONCLUSION
Isobar provides a configurable framework for evaluating and optimizing topology-aware mappings in large-scale analog CIM systems. It connects legal CIM decompositions, heterogeneous execution, and shared-resource contention to capture performance differences that aggregate traffic metrics miss. Validation against silicon measurements and BookSim supports its communication estimates and mapping selection, while incremental evaluation makes exploration practical at thousands-of-dies scale. The phase and configuration studies establish the importance of topology-aware mapping under existing hardware capabilities and identify how capacity, resource organization, and workload govern its system benefits. Full-request comparisons further demonstrate the energy-efficiency potential of these deployments, with modeled CIM dynamic energy remaining substantially below reported GPU energy after accounting for communication and non-CIM execution. These results establish topology-aware mapping as an integral part of CIM architecture design, with Isobar supporting hardware configuration choices and mapping optimization through a shared evaluation framework.
ACKNOWLEDGMENT
This work is supported in part by TetraMem, Inc., through a research collaboration grant and computational resources.
REFERENCES
[1] W. Kwon, Z. Li, S. Zhuang, Y. Sheng, L. Zheng, C. H. Yu, J. E. Gonzalez, H. Zhang, and I. Stoica, “Efficient memory management for large language model serving with PagedAttention,” in Proceedings of the 29th Symposium on Operating Systems Principles (SOSP), 2023, pp. 611–626.
[2] A. Shafiee, A. Nag, N. Muralimanohar, R. Balasubramonian, J. P. Strachan, M. Hu, R. S. Williams, and V. Srikumar, “ISAAC: A convolutional neural network accelerator with in-situ analog arithmetic in crossbars,” in 2016 ACM/IEEE 43rd Annual International Symposium on Computer Architecture (ISCA), 2016, pp. 14–26.
[3] A. Chen, S. Ambrogio, P. Narayanan, A. Okazaki, C. Mackin, A. Fasoli, M. J. Rasch, A. Friz, J. Luquin, T. Yasuda, M. Ishii, T. Kanamori, K. Hosokawa, T. Philicelli, S. Munetoh, V. Narayanan, H. Tsai, and G. W. Burr, “Demonstration of transformer-based ALBERT model on a 14nm analog AI inference chip,” Nature Communications, vol. 16, no. 1, p. 8661, Sep. 2025.
[4] X. Yang, B. Yan, H. Li, and Y. Chen, “ReTransformer: ReRAM-based processing-in-memory architecture for transformer acceleration,” in Proceedings of the IEEE/ACM International Conference on Computer-Aided Design (ICCAD), 2020.
[5] G. Krishnan, S. K. Mandal, M. Pannala, C. Chakrabarti, J.-S. Seo, U. Y. Ogras, and Y. Cao, “SIAM: Chiplet-based scalable in-memory acceleration with mesh for deep neural networks,” ACM Transactions on Embedded Computing Systems, vol. 20, no. 5s, pp. 1–24, Sep. 2021, art. no. 68.
[6] Y. S. Shao, J. Clemons, R. Venkatesan, B. Zimmer, M. Fojtik, N. Jiang, B. Keller, A. Klinefelter, N. Pinckney, P. Raina, S. G. Tell, Y. Zhang, W. J. Dally, J. Emer, C. T. Gray, B. Khailany, and S. W. Keckler, “Simba: Scaling deep-learning inference with multi-chip-module-based architecture,” in Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture (MICRO), 2019, pp. 14–27.
[7] A. Jaiswal, K. C. S. Shahana, S. Ravichandran, K. Adarsh, H. B. Bhat, B. K. Joardar, and S. K. Mandal, “HALO: Communication-aware heterogeneous 2.5-D system for energy-efficient LLM execution at edge,” IEEE Journal on Emerging and Selected Topics in Circuits and Systems, vol. 14, no. 3, pp. 425–439, Sep. 2024.
[8] J. Cai, Z. Wu, S. Peng, Y. Wei, Z. Tan, G. Shi, M. Gao, and K. Ma, “Gemini: Mapping and architecture co-exploration for large-scale DNN chiplet accelerators,” in 2024 IEEE International Symposium on High-Performance Computer Architecture (HPCA), 2024, pp. 156–171.
[9] T. Andrulis, J. S. Emer, and V. Sze, “CiMLoop: A flexible, accurate, and fast compute-in-memory modeling tool,” in 2024 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), 2024, pp. 10–23.
[10] N. Jiang, D. U. Becker, G. Michelogiannakis, J. Balfour, B. Towles, J. Kim, and W. J. Dally, “A detailed and flexible cycle-accurate network-on-chip simulator,” in Proceedings of the 2013 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), Apr. 2013, pp. 86–96.
[11] M. Le Gallo, R. Khaddam-Aljameh, M. Stanisavljevic, A. Vasilopoulos, B. Kersting, M. Dazzi, G. Karunaratne, M. Brändli, A. Singh, S. M. Müller, J. Büchel, X. Timoneda, V. Joshi, U. Egger, A. Garofalo, A. Petropoulos, T. Antonakopoulos, K. Brew, S. Choi, I. Ok, T. Philip, V. Chan, C. Silvestre, I. Ahsan, N. Saulnier, V. Narayanan, P. A. Francese, E. Eleftheriou, and A. Sebastian, “A 64-core mixed-signal in-memory compute chip based on phase-change memory for deep neural network inference,” Nature Electronics, vol. 6, no. 9, pp. 680–693, Sep. 2023.
[12] W. Wan, R. Kubendran, C. Schaefer, S. B. Eryilmaz, W. Zhang, D. Wu, S. Deiss, P. Raina, H. Qian, B. Gao, S. Joshi, H. Wu, H. S. P. Wong, and G. Cauwenberghs, “A compute-in-memory chip based on resistive random-access memory,” Nature, vol. 608, no. 7923, pp. 504–512, Aug. 2022.
[13] Mythic, Inc., M1076 Analog Matrix Processor Product Brief, Jun. 2021, version 1.0. [Online]. Available: https://www.mythic.ai/wp-content/uploads/2022/03/M1076-AMP-Product-Brief-v1.0-1.pdf.
[14] B. Zimmer, R. Venkatesan, Y. S. Shao, J. Clemons, M. Fojtik, N. Jiang, B. Keller, A. Klinefelter, N. Pinckney, P. Raina, S. G. Tell, Y. Zhang, W. J. Dally, J. S. Emer, C. T. Gray, S. W. Keckler, and B. Khailany, “A 0.32–128 TOPS, scalable multi-chip-module-based deep neural network inference accelerator with ground-referenced signaling in 16 nm,” IEEE Journal of Solid-State Circuits, vol. 55, no. 4, pp. 920–932, 2020.
[15] S. Park, K. Kim, J. So, J. Jung, J. Lee, K. Woo, N. Kim, Y. Lee, H. Kim, Y. Kwon, J. Kim, J. Lee, Y. Cho, Y. Tai, J. Cho, H. Song, J. Ahn, and N. S. Kim, “An LPDDR-based CXL-PNM platform for TCO-efficient inference of transformer-based large language models,” in 2024 IEEE International Symposium on High-Performance Computer Architecture (HPCA), 2024, pp. 970–982.
[16] A. Taherin, S. Taghipour Anvari, C. Amante, Y. Chen, R. Noroian, Z. Feric, N. Bohm Agostini, P. Zhao, J. Cano, B. Ren, Y. Wang, and D. Kaeli, “Hydra: Phase-aware workload characterization of LLM inference across edge SoC generations, backends, and quantization levels,” in 2026 IEEE International Symposium on Workload Characterization (IISWC), 2026, pp. 471–485.
[17] B. Feinberg, T. P. Xiao, C. J. Brinker, C. H. Bennett, M. J. Marinella, and S. Agarwal, “CrossSim: Accuracy simulation of analog in-memory computing,” [Online]. Available: https://github.com/sandialabs/cross-sim, 2022.
[18] J. Hu and R. Marculescu, “Energy- and performance-aware mapping for regular NoC architectures,” IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 24, no. 4, pp. 551–562, 2005.
[19] S. Murali and G. De Micheli, “Bandwidth-constrained mapping of cores onto NoC architectures,” in Proceedings of the Design, Automation and Test in Europe Conference and Exhibition (DATE), vol. 2, 2004, pp. 896–901.
[20] A. Parashar, P. Raina, Y. S. Shao, Y.-H. Chen, V. A. Ying, A. Mukkara, R. Venkatesan, B. Khailany, S. W. Keckler, and J. Emer, “Timeloop: A systematic approach to DNN accelerator evaluation,” in 2019 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), 2019, pp. 304–315.
[21] P. Iff, B. Bruggmann, B. Morel, M. Besta, L. Benini, and T. Hoeffler, “RapidChiplet: A toolchain for rapid design space exploration of inter-chiplet interconnects,” in Proceedings of the 22nd ACM International Conference on Computing Frontiers, 2025, pp. 168–171.
[22] L. Pfromm, A. Kanani, H. Sharma, J. R. Doppa, P. P. Pande, and Ü. Y. Ogras, “CHIPSIM: A co-simulation framework for deep learning on chiplet-based systems,” IEEE Open Journal of the Solid-State Circuits Society, vol. 5, pp. 410–423, 2025.