A gem5-based Simulation Framework for Computing-in-DRAM
Alexander Kusnezoff, Jo\~ao Paulo C. de Lima, Jeronimo Castrillon, Asif Ali Khan
Key points
From the paper's conclusion- We present gem5-CIMD, a full-application CIMD simulation framework built on the latest version of gem5.
Abstract
Computing-in-Memory using DRAM (CIMD) has demonstrated substantial energy and throughput gains for memory-bound workloads consisting of bulk-bitwise operations, by performing computation directly within DRAM subarrays. Realizing CIMD, however, requires a redesign of the memory controller and careful mapping of operands onto the memory arrays. Presently, accurate FPGA-based testbeds exist, but they are costly and labor-intensive, while open-source simulators are largely trace-based and cannot execute full application runs. The only full-application CIMD simulator available, included with MIMDRAM, is built on an outdated version of gem5 and its toolchains. We present gem5-CIMD, a full-application CIMD simulation framework built on the latest version of gem5. We extend the simulated instruction set from four bitwise operations to sixteen CIM instructions spanning arithmetic, relational, conditional, and utility operations across a range of data types and bitwidths (4 to 64 bits). A complete memory-management stack comprising multi-level huge-page support, a CIM-aware allocator, and a subarray-aware address-mapping scheme ensures that CIM operands are co-located in the same DRAM subarray. In addition, gem5-CIMD is aware of the DRAM refresh interval and faithfully models and schedules the mandatory refresh operations when needed. We provide a CIM standard library intended as a compiler target and evaluate gem5-CIMD on multiple case studies including an end-to-end KNN workload. The simulator sources, including the evaluated workloads, are publicly available.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A 269.47-GOPS Hybrid Current-Time-Domain SRAM-CIM with Novel Multi-Bit Weight Categorization and Time Readout for Extended Reality InferenceEngineering Research Express · 2026
- Achieving high precision in analog in-memory computing systemsnpj Unconventional Computing · 2026
- Tenon: A Unified Programming Framework for Retargetable PIM CompilationarXiv · 2026
- NeuroSim V1.5: Improved Software Backbone for Benchmarking Compute-in-Memory Accelerators with Device and Circuit-level Non-idealitiesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2026
- Hopfield Networks in Non-volatile MemoryarXiv · 2026
- Scaling Up Analog CIM: A Simulation Framework for Topology-Aware MappingarXiv · 2026