• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2025, Vol. 47 ›› Issue (06): 976-987.

• High Performance Computing • Previous Articles     Next Articles

An automated physical compiler for multi-port register files

MING Tianbo1,LIU Biwei1,2,HU Chunmei1,2,WU Zhenyu1,2,SONG Ruiqiang1,2,SONG Fangfang1   

  1. (1.College of Computer Science and Technology, National University of Defense Technology, Changsha 410073; 
    2. Key Laboratory of Advanced Microprocessor Chips and Systems, Changsha 410073, China)

  • Received:2024-06-01 Revised:2024-08-15 Online:2025-06-25 Published:2025-06-26

Abstract: In the design of application-specific microprocessors, designers need to  iteratively  experiment with different architectural parameters to achieve optimal application support. Multi-port register files, as core components, still rely on full-custom design or traditional compiler-assisted design. However, these methods often struggle to balance high performance requirements with design flexibility, making it difficult to achieve co-optimization with the architecture. This paper proposes a physical compiler for multi-port register files, which can automatically and quickly generate register file circuits and layouts with specified capacity and port count. Additionally, this paper proposes an optimized port structure to enhance the parallel access performance of the register file and a performance-driven heuristic algorithm to achieve optimized placement and routing results. Experimental results show that the proposed compiler can generate register files in approximately  tens of hours to meet co-optimization requirements, achieving 31.5% speed improvement and 28.8% power reduction compared to full-custom designs, as well as 20.7% higher speed and 33.9% lower power consumption relative to traditional compiler-assisted designs.

Key words: multi-port register file, physical compiler, port optimization technique, heuristic algorithm, computer architecture