ARMOR: Accelerating RTL Simulation by Mitigating the Front-End Bottleneck Using Node Compression

Jiaping Tang, Jianan Mu, Zhiteng Chao, Jingzhong Wen, Jing Ye, Huawei LiarXiv 2026

TL;DR

State-of-the-art Register-Transfer Level (RTL) simulators suffer from a severe CPU front-end bottleneck because fully unrolling circuit graphs creates instruction streams too massive for the L1 instruction cache. ARMOR solves this by compressing multiple narrow, structurally identical circuit nodes into a single 64-bit machine word, using bit-level data parallelism to drastically shrink the code footprint. This approach achieves up to a 2.7× speedup on AI accelerators and 1.6× on CPU designs without sacrificing critical compile-time optimizations.

What Problem Does This Paper Address?

In chip design, RTL simulation is a critical but notoriously slow bottleneck. To maximize simulation speed, modern compiled simulators fully unroll the circuit's dataflow graph, translating every logic gate and register into its own dedicated sequence of CPU instructions. While this allows the compiler to perform aggressive optimizations, it causes the code footprint to explode.

As a design grows, the instruction working set per cycle can reach megabytes, completely overwhelming the CPU's tiny (typically 32 KB) L1 Instruction Cache (L1-I). Profiling reveals that over 50%—and sometimes more than 70%—of CPU pipeline stalls in top-tier simulators are caused by this front-end bottleneck. The CPU spends more time waiting to fetch instructions than actually executing them.

Fig. 1: Profiling data for Conv2D [18] and Boom designs [19] are collected using Intel VTune [20] on the Platinum 8338 processors. (a): Micro-architectural profiling results of the Verilator [3] and Dedup [5]. (b): Instruction working set size per cycle of Verilator and Dedup.

Methods

ARMOR introduces a node compression framework that packs multiple narrow RTL nodes into a single machine word so that a single instruction sequence can evaluate them simultaneously. The pipeline consists of three main stages:

  1. Module-Aware Isomorphic Subgraph Identification: Finding identical subgraphs across a massive circuit is traditionally an NP-hard problem. ARMOR bypasses this by leveraging the natural hierarchy of hardware design. It groups identical module instances (which are highly prevalent in parallel architectures) and aligns structurally equivalent nodes linearly by matching their unique internal names.
  2. Alignment-Aware Dense Node Packing: Densely packing bits can sometimes introduce massive overhead if the simulator constantly has to shift bits around to match downstream dependencies. ARMOR uses a heuristic that balances packing density with dataflow alignment, ensuring that upstream "producer" bit layouts cleanly match downstream "consumer" layouts.
  3. Bit-Level Compression Execution: For simple bitwise logic (AND, OR, NOT), execution is naturally parallel across the word. For operations with cross-slice dependencies (like equality checks or shifts), ARMOR utilizes x86 BMI2 hardware intrinsics (_pext_u64 and _pdep_u64) and compact Lookup Tables (LUTs) to maintain high parallel performance.
Fig. 2: Example of a 2-stage pipeline. RTL simulation without node compression (a) and with node compression (b).

Datasets

The authors evaluated ARMOR using several scalable, real-world hardware designs generated via TensorLib and Chipyard:

  • AI Accelerators: Systolic array-based GEMM, Conv2D, and Gemmini DNN accelerators, configured with processing element (PE) arrays scaling up to 20×20.
  • CPU Designs: RocketChip (in-order RISC-V) and BOOM (out-of-order RISC-V) scaling up to 8 cores (Mega configuration).

Key Insights and Ideas

  • The Bit-Width Mismatch: Hardware signals are often narrow (e.g., 1-bit control signals or 8-bit weights), but modern CPUs are built for 64-bit operations. Standard simulators pad these narrow signals to standard 16- or 32-bit variables, severely wasting machine word space.
  • Exploiting Structural Redundancy: Highly parallel hardware architectures replicate the same sub-modules thousands of times. ARMOR turns this hardware replication into a software optimization opportunity by executing these identical structures in parallel within the same CPU word.
Fig. 4: Distribution of (a) Node bit-widths, (b) Node types, and (c) Node counts across topology levels in the RTL graph. For the Boom-8C design, the first 10% of topology levels are reserved for better visualization.
  • The Front-End / Back-End Tradeoff: Prior attempts to fix the code footprint problem "rolled up" loops or reused functions, but this destroyed compile-time optimizations and shifted the bottleneck to the CPU back-end (runtime memory resolution). ARMOR keeps the graph fully unrolled but uses bit-level parallelism to shrink the code footprint, capturing the benefits of both paradigms.

Key Results

  • Graph Reduction: ARMOR successfully compresses 57% of nodes on average, leading to a 34.5% net reduction in the RTL graph size after accounting for data rearrangement overhead.
  • Instruction Elimination: It eliminates roughly 29.4% of static instructions and 24.54% of dynamically executed instructions.
  • Simulation Speedup: Compared to state-of-the-art simulators (like Repcut and Verilator), ARMOR delivers an average 2.7× speedup on AI accelerators (peaking at 3.84× on Gemmini) and a 1.6× speedup on CPU designs.
  • Cache Efficiency: Micro-architectural profiling confirmed a drastic reduction in L1-I cache misses and a significant boost in Instructions Per Cycle (IPC), proving that the front-end bottleneck was successfully mitigated.

Limitations and Future Work

  • BMI2 Portability: ARMOR relies heavily on x86 BMI2 instructions (PEXT/PDEP) for handling complex bit-manipulations. On architectures where these instructions are slow (like older AMD Zen CPUs) or missing (non-x86 platforms), ARMOR must fall back to a conservative mode that only compresses simple bitwise operations.
  • Scalar vs. SIMD: Currently, ARMOR operates on standard scalar machine words. A promising future direction is extending this bit-level node compression to work inside SIMD (Vector) lanes to process multiple compressed words simultaneously.
  • Thread Load Balancing: ARMOR is orthogonal to multi-threaded simulation partitioning, but because different partitions contain different amounts of compressible logic, post-compression workloads might deviate from original thread-loading models. Future work is needed to balance parallel execution threads after compression.

Summary updated

BibTeX
@misc{tang2026armor,
  author = {Jiaping Tang and Jianan Mu and Zhiteng Chao and Jingzhong Wen and Jing Ye and Huawei Li},
  title = {{ARMOR: Accelerating RTL Simulation by Mitigating the Front-End Bottleneck Using Node Compression}},
  year = {2026},
  eprint = {2608.08462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.08462},
}
Figure