敏捷硬件设计缺少什么?验证!
-
摘要:
敏捷硬件设计是一种灵活、快速适应变化的硬件开发方式,它受敏捷软件开发理念的启发,并在开源硬件社区中同样受到了欢迎。敏捷硬件设计的重点是在更短的开发周期内交付功能完善的硬件系统,同时保持高质量和客户满意度。敏捷硬件设计在开源硬件社区中备受关注。开源硬件开发,比如RISC-V,正处于推动硬件民主化和推动芯片设计创新的最前沿。敏捷设计对RISC-V社区至关重要,因为它支持快速迭代,适应不断发展的RISC-V 标准和自定义扩展的添加,助力解决与复杂架构特性相关的设计挑战。“香山”开源高性能RISC-V处理器核是基于敏捷硬件设计的重大创新之一,已成为目前性能最高的开源RISC-V乱序处理器核。“香山”处理器核开发团队在计算机体系结构旗舰会议MICRO上发表论文,介绍他们的敏捷设计方法论,这篇论文通过同行评审的方式,后续被评选为体系结构领域2023年度最佳12篇论文之一,并发表在IEEE Micro Top Picks专刊。“香山”团队的关键贡献之一是将硬件验证整合到敏捷开发方法中。通过检测和纠正设计错误、验证系统级功能、优化性能和功耗,硬件验证确保芯片按照RISC-V指令集架构规范正确、可靠地运行,这对芯片设计至关重要。近年来,芯片设计行业的发展趋势进一步强调了强大的验证对硬件设计的重要性,如摩尔定律放缓使硬件设计走向异构和多样、数字平台的安全性和完整性要求提高、开源硬件和开放硬件社区的出现等。因此,将验证整合到敏捷设计不仅对 RISC-V 社区很重要,对更广泛的硬件设计行业也极具吸引力。这篇题为“敏捷开发背景下的处理器功能验证:一个流程整合案例”的论文指出,现有敏捷硬件设计方法和传统功能验证之间存在效率差异,流程协作和信息交换的脱节阻碍了验证工作流程和工具链与敏捷开发实践的无缝集成。论文提出通过流程整合来解决这一问题,并将协作任务委派和动态信息交换作为实现敏捷处理器芯片设计与验证的两大基础原则。这篇论文进一步证明这种整合方法的有效性,以“果壳”和“香山”处理器核为例子,展示了如何使用论文所提出的工具提升处理器设计与验证效率。值得一提的是,论文不仅仅提出了概念性的新想法或原型,更展示了在“香山”这样的实际项目中得到落地应用的创新工具链和开发流程,凸显了这一工作在学术界和工业界的实用价值。
-
Agile hardware design is an approach to developing hardware systems that draws inspiration from the principles and practices of agile software development. It emphasizes collaboration, flexibility, iterative development, and quick adaptation to changing requirements. In agile hardware design, the focus is on delivering functional hardware systems in shorter development cycles while maintaining high-quality and customer satisfaction.
In particular, agile hardware design is of great interest in the open-source hardware community. Open-source hardware development—such as RISC-V—is at the forefront of initiatives to democratize hardware and drive innovation in chip design forward. Agile design is instrumental for the RISC-V community because it supports rapid iteration, accommodates the evolving RISC-V standard and the addition of custom extensions, improves community collaboration and time-to-market, and addresses the design challenges associated with complex architectural features.
Among significant innovations based on agile hardware design is the recently announced XiangShan RISC-V core which is currently the highest performing RISC-V out-of-order microprocessor core with single-thread performance exceeding both existing RISC-V cores and a state-of-the-art ARM core, Cortex-A76. The creators of this platform have published their agile design methodology in a flagship computer architecture venue, MICRO, with a paper that has been selected through peer review to be among the best dozen papers in all of computer architecture in one year for publication in IEEE Micro Top Picks.
A key contributor to this breakthrough has been integrating hardware verification into the agile methodology. Hardware verification is crucial in designing digital platforms, as it ensures that semiconductor chips operate correctly and reliably according to the architecture specifications. Verification guarantees compliance with standards, and helps detect and rectify design errors, validate system-level functionality, optimize performance and power consumption, and enhance hardware reliability and safety. It plays a fundamental role in creating robust and dependable CPUs that meet the requirements of various applications and workloads.
There are also a number of trends in recent years that have made robust verification indispensable to hardware design and deployment. These include the slowdown in Moore’s Law resulting in more heterogeneity and diversity in design, concerns about security and integrity in digital platforms, and the emergence of open-source hardware (e.g., RISC-V) which is anchored on collaboration among a large community of developers without centralized ownership and coordination. Therefore, contributions to integrating verification into agile design are not only of importance to the RISC-V community but also of great interest to the broader hardware design industry.
This paper titled ``Functional Verification for Agile Processor Development: A Case for Workflow Integration'' identifies a key limitation in the collaboration and information exchange between existing agile hardware design methodologies and conventional functional verification. This disconnect hinders the seamless integration of verification workflows and toolchains with agile development practices. The authors address this issue by proposing workflow integration that incorporates collaborative task delegation and dynamic information exchange as fundamental principles for achieving agile hardware design with functional verification.
The authors demonstrate the efficacy of their approach by presenting an RISC-V core design within the integrated agile design and verification framework. Through their evaluation, they showcase how functional bugs can be detected and resolved using the approach. It is important to note that these tools and methodologies are not merely conceptual ideas or prototypes but are practical toolchains that have been tested and applied to real-world designs, such as XiangShan. The latter underscores their relevance and applicability in both academic and industrial settings.
-
其他相关附件
计量
- 文章访问数: 440
- HTML全文浏览量: 49
- PDF下载量: 80