Accelerating Precise End-to-End Simulation: Latency-Sensitive Many-core System Modeling
For researchers and engineers designing many-core accelerators with scratchpad memory, this work provides a practical simulation framework that balances speed and accuracy, enabling faster design space exploration and software optimization.
This paper presents a fast and accurate end-to-end modeling approach for latency-sensitive many-core architectures, achieving simulation errors below 7% compared to cycle-accurate RTL while delivering up to 115x faster simulation. The model enables efficient software development and hardware design exploration, demonstrated through optimization of FlashAttention-2 and NoC router remapping.
Modern large language model workloads put increasing demands on parallel compute capability and on-chip memory capacity, while also stressing fine-grained data movement and synchronization. These trends motivate exploring and designing many-core accelerators with tightly coupled scratchpad memory (SPM) for scalable compute and predictable, explicitly managed data access. However, this architectural shift raises two challenges: cycle-accurate register-transfer level (RTL) simulation becomes prohibitively slow as system complexity grows, and performance estimation requires precise modeling of latency-sensitive interconnect behavior. This paper presents a fast yet accurate end-to-end modeling approach for latency-sensitive many-core architectures, targeting large-scale instances such as TeraNoC with 1024 cores and a 4MiB globally shared L1 SPM. The approach captures timing behavior of latency-sensitive SPM accesses across multiple interconnect scales, while abstracting non-essential hardware details. Across diverse benchmarks, the model tracks a cycle-accurate RTL golden model with errors below 7%, while delivering up to 115x faster simulation. The framework also provides detailed profiling across processing elements and interconnect, enabling efficient end-to-end software development and hardware design exploration. Two case studies demonstrate its practicality: profiling-guided optimization of FlashAttention-2 to reduce interconnect stalls and synchronization overhead, and design space exploration of network-on-chip (NoC) router remapping to alleviate traffic imbalance and improve throughput.