RISC-Vs growing traction leads to the release of new RISC-V cores on a near monthly basis. In this growing and diverse ecosystem, understanding the performance and other properties of a RISC-V core is of great importance since selecting the best fitting core is mandatory for a successful project. Analyzing RISC-V cores by hand is not possible due to the ever-increasing number of available cores and available software benchmarks might not be fine-grained enough to understand a core completely. Programming and powerful programming languages have proven to provide the productivity that is required to keep pace with these fast developments. In this paper we present a case study in which we use WAWK, a front-end for the open-source Waveform Analysis Language, to analyze the performance of all instructions of SERV, a well known bit-serial RISC-V core. With WAWK, only a few lines of code are necessary to calculate the respective metric on the waveform generated during simulation.
翻译:随着RISC-V的日益普及,新的RISC-V内核几乎每月都会发布。在这个不断增长且多样化的生态系统中,理解RISC-V内核的性能及其他特性至关重要,因为选择最合适的内核是项目成功的关键。由于可用内核数量不断增加,手动分析RISC-V内核已不可行,而现有的软件基准测试可能粒度不够精细,无法完整理解内核。编程语言及强大的编程语言已被证明能够提供跟上这些快速开发所需的生产力。在本文中,我们提出一个案例研究,使用WAWK(一种开源波形分析语言的前端)来分析SERV(一款知名的位串行RISC-V内核)所有指令的性能。借助WAWK,只需几行代码即可计算仿真过程中生成的波形上的相应指标。