Pipe-DBT: enhancing dynamic binary translation simulators to support pipeline-level simulation
In response to the lack of pipeline behavior modeling in Instruction-Set Simulators (ISS) and the performance limitations of Cycle-Accurate Simulators (CAS), this paper proposes Pipe-DBT, a pipeline simulation framework based on Dynamic Binary Translation (DBT). This method achieves a balance between accuracy and efficiency through two key techniques: (1) the design of a pipeline state descriptor called Pipsdep, which abstracts data hazards and resource contentions in the form of formal rules about resource occupancy and read/write behaviors, thereby avoiding low-level hardware details; (2) the introduction of a coroutine-based instruction execution flow partitioning mechanism that employs dynamic suspension/resumption to realize cycle-accurate scheduling in multi-stage pipelines. Implemented on QEMU, Pipe-DBT supports variable-length pipelines, a Very Long Instruction Word (VLIW) architecture with four-issue capability, and pipeline forwarding. Under typical DSP workloads, it achieves a simulation speed of 400–1100 KIPS, representing a 2.3 $$\times$$ improvement over Gem5 in cycle-accurate mode. Experimental results show that only modular extensions to the host DBT framework are required to accommodate heterogeneous pipeline microarchitectures, thereby providing a high-throughput simulation infrastructure for processor design. To the best of our knowledge, this is the first pipeline-level simulation model implemented on a DBT simulator.
Authors
- Xiaowang Zhou (ORCID: https://orcid.org/0000-0001-5489-6509)
- Tjun Yip Tang (ORCID: https://orcid.org/0000-0002-8524-7912)
- Yi Man (ORCID: https://orcid.org/0000-0003-2498-2873)
- DAVID S. WANG
Institutions
- Beijing University of Posts and Telecommunications (CN)
- Hainan University (CN)
Publication Details
- Journal
- Automated Software Engineering
- Published
- 2025-04-05
- DOI
- https://doi.org/10.1007/s10515-025-00506-8
- Citations
- 2
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 4.54
Funders
- National Key Research and Development Program of China