Skip to main content

2020 | OriginalPaper | Buchkapitel

Extensible and Configurable RISC-V Based Virtual Prototype

verfasst von : Vladimir Herdt, Daniel Große, Hoang M. Le, Rolf Drechsler

Erschienen in: Languages, Design Methods, and Tools for Electronic System Design

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Internet-of-Things (IoT) opens a new world of possibilities for both personal and industrial applications. At the heart of an IoT device, the processor is the core component. Hence, as an open and free instruction set architecture RISC-V is gaining huge popularity for IoT. A large ecosystem is available around RISC-V, including various RTL implementations at one end and high-speed instruction set simulators (ISSs) at the other end. These ISSs facilitate functional verification of RTL implementations as well as early SW development to some extent. However, being designed predominantly for speed, they can hardly be extended to support further system-level use cases such as design space exploration, power/timing/performance validation, or analysis of complex HW/SW interactions. In this paper, we propose and implement the first RISC-V based Virtual Prototype (VP) with the goal of filling this gap. We provide a RISC-V RV32IM core, a PLIC-based interrupt controller, and an essential set of peripherals together with SW debug capabilities. The VP is designed as extensible and configurable platform with a generic bus system and implemented in standard-compliant SystemC and TLM-2.0. The latter point is very important, since it allows to leverage cutting-edge SystemC-based modeling techniques needed for the mentioned use cases. Our VP allows a significantly faster simulation compared to RTL, while being more accurate than existing ISSs. Finally, our RISC-V VP is fully open source to help expanding the RISC-V ecosystem and stimulating further research and development.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Fußnoten
2
Support for integration with the C/C++ library is also available, e.g., by executing the instructions at the beginning of the main function or integrating them directly into the crt0.S file, which is the entry point of the C library and similarly to the bare-metal code also calls the main function after performing some basic initialization tasks.
 
3
Example based on the newlib port https://​github.​com/​riscv/​riscv-newlib.
 
4
It is also possible to execute a trap handler, similar to the interrupt handler described in the previous section (e.g., essentially, jump to the level-0 interrupt handler with the mcause CSR being set to a syscall number), and then redirect the write to e.g. a terminal component.
 
Literatur
1.
Zurück zum Zitat Bailey, B., Martin, G., & Piziali, A. (2007). ESL design and verification: A prescription for electronic system level methodology. Morgan Kaufmann/Elsevier Bailey, B., Martin, G., & Piziali, A. (2007). ESL design and verification: A prescription for electronic system level methodology. Morgan Kaufmann/Elsevier
4.
Zurück zum Zitat Große, D. & Drechsler, R. (2010). Quality-driven SystemC design. SpringerCrossRef Große, D. & Drechsler, R. (2010). Quality-driven SystemC design. SpringerCrossRef
5.
Zurück zum Zitat Grüttner, K., Görgen, R., Schreiner, S., Herrera, F., Peñil, P., Medina, J., et al. (2017). CONTREX: Design of embedded mixed-criticality CONTRol systems under consideration of extra-functional properties. Microprocessors and Microsystems, 51, 39–55.CrossRef Grüttner, K., Görgen, R., Schreiner, S., Herrera, F., Peñil, P., Medina, J., et al. (2017). CONTREX: Design of embedded mixed-criticality CONTRol systems under consideration of extra-functional properties. Microprocessors and Microsystems, 51, 39–55.CrossRef
6.
Zurück zum Zitat Herdt, V., Le, H. M., Große, D. & Drechsler, R. (2016). On the application of formal fault localization to automated RTL-to-TLM fault correspondence analysis for fast and accurate VP-based error effect simulation - a case study. In FDL (pp. 1–8). Herdt, V., Le, H. M., Große, D. & Drechsler, R. (2016). On the application of formal fault localization to automated RTL-to-TLM fault correspondence analysis for fast and accurate VP-based error effect simulation - a case study. In FDL (pp. 1–8).
7.
Zurück zum Zitat Herdt, V., Le, H. M., Große, D., & Drechsler, R. (2017). Towards early validation of firmware-based power management using virtual prototypes: A constrained random approach. In FDL (pp. 1–8). Herdt, V., Le, H. M., Große, D., & Drechsler, R. (2017). Towards early validation of firmware-based power management using virtual prototypes: A constrained random approach. In FDL (pp. 1–8).
9.
Zurück zum Zitat IEEE Std. 1666. (2011). IEEE Standard SystemC Language Reference Manual. IEEE Std. 1666. (2011). IEEE Standard SystemC Language Reference Manual.
10.
Zurück zum Zitat Leupers, R., Schirrmeister, F., Martin, G., Kogel, T., Plyaskin, R., Herkersdorf, A., & Vaupel, M. (2012). Virtual platforms: Breaking new grounds. In DATE (pp. 685–690). Leupers, R., Schirrmeister, F., Martin, G., Kogel, T., Plyaskin, R., Herkersdorf, A., & Vaupel, M. (2012). Virtual platforms: Breaking new grounds. In DATE (pp. 685–690).
14.
Zurück zum Zitat Schuster, T., Meyer, R., Buchty, R., Fossati, L., & Berekovic, M. (2014). Socrocket - A virtual platform for the European Space Agency’s SoC development. In ReCoSoC (pp. 1–7). Schuster, T., Meyer, R., Buchty, R., Fossati, L., & Berekovic, M. (2014). Socrocket - A virtual platform for the European Space Agency’s SoC development. In ReCoSoC (pp. 1–7).
16.
Zurück zum Zitat Streubühr, M., Rosales, R., Hasholzner, R., Haubelt, C., & Teich, J. (2011). ESL power and performance estimation for heterogeneous MPSoCs using SystemC. In FDL (pp. 1–8) Streubühr, M., Rosales, R., Hasholzner, R., Haubelt, C., & Teich, J. (2011). ESL power and performance estimation for heterogeneous MPSoCs using SystemC. In FDL (pp. 1–8)
17.
Zurück zum Zitat Waterman, A., & Asanović, K. (2017). The RISC-V Instruction Set Manual; Volume I: User-Level ISA. SiFive Inc. and CS Division, EECS Department, University of California, Berkeley. Waterman, A., & Asanović, K. (2017). The RISC-V Instruction Set Manual; Volume I: User-Level ISA. SiFive Inc. and CS Division, EECS Department, University of California, Berkeley.
18.
Zurück zum Zitat Waterman, A., & Asanović, K. (2017). The RISC-V Instruction Set Manual; Volume II: Privileged Architecture. SiFive Inc. and CS Division, EECS Department, University of California, Berkeley. Waterman, A., & Asanović, K. (2017). The RISC-V Instruction Set Manual; Volume II: Privileged Architecture. SiFive Inc. and CS Division, EECS Department, University of California, Berkeley.
Metadaten
Titel
Extensible and Configurable RISC-V Based Virtual Prototype
verfasst von
Vladimir Herdt
Daniel Große
Hoang M. Le
Rolf Drechsler
Copyright-Jahr
2020
DOI
https://doi.org/10.1007/978-3-030-31585-6_7

Neuer Inhalt