Teaching Computer Architecture through an Integrated Top-Down RISC-V Processor Design Approach
DOI:
https://doi.org/10.5753/ijcae.2025.6543Keywords:
Computer Archtecture Learning, Integrated Top-Down Design Approach, RISC-V, CompSim SimulatorAbstract
Computer organization and architecture teaching has historically been supported by didactic simulators, notably associated with the MIPS architecture, whose simplicity favored the understanding of fundamental concepts. However, the rise of the RISC-V architecture, conceived as an open, modular, and extensible model, has reshaped the educational landscape, demanding new pedagogical approaches. Beyond being fundamental for the initial understanding of concepts such as pipelining, memory hierarchy, and instruction execution, simulation also provides a means to explore multiple abstraction levels and validate designs against a formal reference model. This dual role reinforces conceptual learning and fosters a more practical and applied educational experience. In this context, integration with simulation tools that provide support at multiple abstraction levels significantly enhances the exploration of fundamental aspects in the teaching–learning process of computer organization and architecture, while also assisting in the design of complex digital systems. This article presents a didactic–methodological approach that articulates different abstraction levels, ranging from functional and RTL simulation to validation and testing, considering a reference model integrated with the tools. Such an approach fosters interactive experimentation and customization of the RISC-V ISA and brings the teaching process closer to professional practice in computer engineering. A comparative analysis of existing simulators and a description of the proposed methodology highlight that combining simulations at different abstraction levels strengthens student training, offering a robust, modern, and contemporary learning ecosystem aligned with computing demands. Finally, the article discusses the results of applying this teaching approach during one semester of the Computer Engineering program at UFPE.
Downloads
References
Bellard, F. (2005). Qemu, a fast and portable dynamic translator. In Proceedings of the USENIX Annual Technical Conference (FREENIX Track), pages 41-46. Available at: [link].
Binkert, N., Beckmann, B., Black, G., Reinhardt, S. K., Saidi, A., Basu, A., Hestness, J., Hower, D. R., Krishna, T., Sardashti, S., Sen, R., Sewell, K., Shoaib, M., Vaish, N., Hill, M. D., and Wood, D. A. (2011). The gem5 simulator. ACM SIGARCH Computer Architecture News, 39(2):1-7. DOI: 10.1145/2024716.2024718.
Esmeraldo, G. A. R. M., Feitosa, R. G. F., Barros, E. N. d. S., Proto, E. C. P. d. S., Mello, H. M. d., Lisboa, E. B., Bispo Jr., E. L., and Campos, G. A. L. d. (2023). Uma abordagem para ensino-aprendizado de projetos de sistemas computacionais com utilização do simulador compsim com suporte a arquitetura risc-v. Revista Brasileira de Informá¡tica na Educação, 31:271-288. DOI: 10.5753/rbie.2023.2951.
Fisler, G. (2020). Webrisc-v: Browser-based risc-v simulator for education. Available at: [link].
Hall, C. (2018). rv8: Risc-v simulator for performance and debugging. Available at: [link].
Hoover, S. R. (2020). emulsiv: A lightweight risc-v instruction set simulator. Available at: [link].
IEEE and Accellera Systems Initiative (2020). IEEE standard for universal verification methodology (UVM). Available at: [link].
Inc., S. (2019). Whisper: Risc-v instruction set simulator. Available at: [link].
Intel Corporation (2023). Quartus Prime Handbook: Memory Initialization File (.mif) Format. Intel FPGA. Available at: [link].
Larus, J. R. (1990). Spim s20: A mips r2000 simulator. Technical report, University of Wisconsin-Madison. Available at: [link].
Ltd., I. S. (2019). riscvovpsim: Reference simulator for risc-v. Available at: [link].
Mishra, P., Sirowy, B., and Govindarajan, S. (2019). Brisc-v: An educational risc-v cpu design space exploration toolbox. In Proceedings of the IEEE International Conference on Microelectronic Systems Education (MSE), pages 45-50. DOI: 10.1145/3289602.3293991.
Moraes, A. (2020). Jupiter: Risc-v assembly simulator. Available at: [link].
Patterson, D. and Hennessy, J. (2020). Computer Organization and Design RISC-V Edition: The Hardware Software Interface. The Morgan Kaufmann Series in Computer Architecture and Design. Morgan Kaufmann. Book.
Ramachandran, S. (2007). Digital vlsi systems design: A design manual for implementation of projects on fpgas and asics using verilog. DOI: 10.1007/978-1-4020-5829-5.
RISC-V International (2023). Risc-v architecture tests. Available at: [link] Accessed: 2025-09-07.
Stanford, D. K. (2019). Rars: Risc-v assembler and runtime simulator. Available at: [link].
Thor, M. (2019). Ripes: A visual computer architecture simulator and assembly ide. Available at: [link].
Vollmar, K. and McIver, P. (2005). Mars: An education-oriented mips assembly language simulator. Journal of Computing Sciences in Colleges, 21(1):50-56. DOI: 10.1145/1124706.1121415.
Waterman, A. and Asanović, K. (2017). The risc-v instruction set simulator (spike). Available at: [link].
Waterman, A., Lee, Y., Patterson, D., and Asanović, K. (2017). The risc-v instruction set manual, volume i: User-level isa, version 2.2. Technical report, RISC-V Foundation. Available at: [link].
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Guilherme Esmeraldo, Edson Lisboa, Victor Medeiros, Edna Barros

This work is licensed under a Creative Commons Attribution 4.0 International License.
