Papers
Topics
Authors
Recent
Search
2000 character limit reached

Design and implementation of a synchronous Hardware Performance Monitor for a RISC-V space-oriented processor

Published 8 Apr 2024 in cs.AR | (2404.05389v1)

Abstract: The ability to collect statistics about the execution of a program within a CPU is of the utmost importance across all fields of computing since it allows characterizing the timing performance of a program. This capability is even more relevant in safety-critical software systems, where it is mandatory to analyze software timing requirements to ensure the correct operation of the programs. Moreover, in order to properly evaluate and verify the extra-functional properties of these systems, besides timing performance, there are many other statistics available on a CPU, such as those associated with resource utilization. In this paper, we showcase a Performance Measurement Unit, also known as Hardware Performance Monitor, integrated into a RISC-V On-Board Computer designed for space applications by our research group. The monitoring technique features a novel approach whereby the events triggered are not counted immediately but instead are propagated through the pipeline so that their annotation is synchronized with the executed instruction. Additionally, we demonstrate the use of this PMU in a process to characterize the execution model of the processor. Finally, as an example of the statistics provided by the PMU, the results obtained running the CoreMark and Dhrystone benchmarks on the RISC-V OBC are shown.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (28)
  1. C. Redmond, RISC-V: The Open Era of Computing (Apr. 2021) [Visited on 2023-05-29]. URL https://web.archive.org/web/20230119111955/https:/riscv.org/wp-content/uploads/2021/05/RISC-V-New-Era-04-19-2021.pptx
  2. doi:10.2514/1.I010735. URL https://arc.aiaa.org/doi/10.2514/1.I010735
  3. doi:10.1109/SCC49971.2021.00010.
  4. doi:10.23919/DATE54114.2022.9774557.
  5. doi:https://doi.org/10.1016/0165-6074(93)90012-A. URL https://www.sciencedirect.com/science/article/pii/016560749390012A
  6. doi:10.1109/EURMIC.1998.711803.
  7. doi:https://doi.org/10.1016/j.asr.2013.05.029. URL https://www.sciencedirect.com/science/article/pii/S0273117713003360
  8. doi:10.1016/j.actaastro.2013.11.004. URL https://www.sciencedirect.com/science/article/pii/S0094576513003962
  9. doi:10.1016/j.sysarc.2020.101920. URL https://doi.org/10.1016/j.sysarc.2020.101920
  10. doi:10.3390/electronics10101179. URL https://www.mdpi.com/2079-9292/10/10/1179
  11. doi:10.1109/TAES.2023.3284419.
  12. doi:10.3390/electronics9111873. URL https://www.mdpi.com/2079-9292/9/11/1873
  13. doi:10.1109/ISPASS.2008.4510746. URL https://doi.org/10.1109/ISPASS.2008.4510746
  14. doi:10.1109/FPL.2014.6927437.
  15. doi:10.1109/MM.2002.1028477.
  16. doi:10.1109/MICRO.1997.645821.
  17. doi:https://doi.org/10.48550/arXiv.2112.11767. URL https://arxiv.org/abs/2112.11767
  18. doi:10.1109/DSD.2017.28.
  19. doi:10.1109/ICSICT49897.2020.9278263.
  20. doi:10.1051/0004-6361/201935287. URL https://www.aanda.org/10.1051/0004-6361/201935287
  21. doi:10.1016/j.actaastro.2021.06.007. URL https://www.sciencedirect.com/science/article/pii/S0094576521003040
  22. doi:10.1109/ICES.2014.7008719.
  23. doi:10.1109/WISP.2007.4447578.
  24. doi:10.1145/3489517.3530613. URL https://dl.acm.org/doi/10.1145/3489517.3530613
  25. doi:10.1016/B978-0-12-388426-8.00004-5. URL https://www.sciencedirect.com/science/article/pii/B9780123884268000045
  26. doi:10.1109/RTAS.2011.33.
  27. GCC, RISC-V GNU Compiler Toolchain (2023) [Visited on 2023-05-31]. URL https://web.archive.org/web/20230515073157/https://github.com/riscv-collab/riscv-gnu-toolchain
  28. AMD, Xilinx Vivado design suite: UG973 (v2018.3) (Dec. 2018) [Visited on 2023-05-31]. URL https://web.archive.org/web/20230526075927/https://www.xilinx.com/products/design-tools/vivado.html

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.