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,只需要几行代码即可在模拟期间生成的波形上计算相应的度量。