[Paper Review] Transaction-level Model Simulator for Communication-Limited Accelerators
This paper proposes AccTLMSim, a pre-RTL cycle-accurate SystemC TLM-based simulator for CNN accelerators that models communication bandwidth by accounting for DRAM latency and bus protocol overhead. It enables fast, accurate design space exploration—achieving millions of architectural options in tens of minutes—through a novel performance estimation model that outperforms conventional approaches in accuracy and speed.
Rapid design space exploration in early design stage is critical to algorithm-architecture co-design for accelerators. In this work, a pre-RTL cycle-accurate accelerator simulator based on SystemC transaction-level modeling (TLM), AccTLMSim, is proposed for convolutional neural network (CNN) accelerators. The accelerator simulator keeps track of each bus transaction between accelerator and DRAM, taking into account the communication bandwidth. The simulation results are validated against the implementation results on the Xilinx Zynq. Using the proposed simulator, it is shown that the communication bandwidth is severely affected by DRAM latency and bus protocol overhead. In addition, the loop tiling is optimized to maximize the performance under the constraint of on-chip SRAM size. Furthermore, a new performance estimation model is proposed to speed up the design space exploration. Thanks to the proposed simulator and performance estimation model, it is possible to explore a design space of millions of architectural options within a few tens of minutes.
Motivation & Objective
- Address the lack of accurate pre-RTL simulators that model communication bottlenecks in CNN accelerators.
- Overcome the limitations of existing simulators that assume static communication bandwidth, ignoring dynamic effects from DRAM latency and bus protocol overhead.
- Enable efficient and accurate design space exploration for communication-limited CNN accelerators with on-chip SRAM constraints.
- Develop a performance estimation model that accelerates exploration while maintaining high accuracy compared to cycle-accurate simulation.
- Optimize loop tiling strategies, including unconstrained tiling across multiple layers, to maximize performance under SRAM size constraints.
Proposed method
- Design a SystemC-based transaction-level model (AccTLMSim) that tracks all bus transactions between accelerator and DRAM with cycle-accuracy.
- Incorporate realistic DRAM latency and AXI bus protocol overhead into the simulation to model dynamic communication bandwidth.
- Validate the simulator against Xilinx Zynq FPGA implementation to ensure accuracy.
- Propose a new performance estimation model based on empirical scaling factors derived from simulation data, replacing static assumptions.
- Integrate the estimation model with the simulator to filter the design space (e.g., top-0.1%) before full simulation, drastically reducing exploration time.
- Extend the framework to support unconstrained loop tiling across multiple convolutional layers, enabling per-layer optimization of tile sizes and unroll factors.
Experimental results
Research questions
- RQ1How do DRAM latency and bus protocol overhead impact the effective communication bandwidth in CNN accelerators?
- RQ2Can a cycle-accurate TLM-based simulator accurately model communication-limited performance without RTL implementation?
- RQ3How does the proposed performance estimation model compare to conventional models in accuracy and speed for design space exploration?
- RQ4What is the performance gain from using unconstrained loop tiling across multiple convolutional layers compared to constrained tiling?
- RQ5To what extent can the proposed estimation model reduce exploration time while preserving accuracy in large-scale design space exploration?
Key findings
- The communication bandwidth in CNN accelerators is dynamically limited by DRAM latency and bus protocol overhead, not just peak bandwidth.
- The proposed simulator accurately reflects real-world performance, validated against Xilinx Zynq FPGA results.
- The new performance estimation model reduces design space exploration time by several orders of magnitude while maintaining high accuracy, outperforming conventional models even with top-1% filtering.
- Unconstrained loop tiling across multiple layers improves maximum performance by up to 25.5% compared to constrained tiling, due to per-layer optimization of tile sizes.
- The proposed model enables exploration of millions of architectural options within tens of minutes, making large-scale optimization feasible.
- Empirically chosen scaling factors in conventional models lead to significant performance degradation, especially when SRAM size exceeds 15k pixels/weights, highlighting the need for accurate modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.