REALISATION OF COMPILER, ASSEMBLER AND EMULATOR COMPONENTS FOR RISC-V MICROPROCESSOR
DOI:
https://doi.org/10.24867/30BE36VidovicKeywords:
RISC-V, compiler, assemblerAbstract
This paper describes the development and implementation of a high-level C programming language translator (compiler) into assembly language, the imple-mentation of an assembler component responsible for translating assembly code into machine language, a software emulator that simulates the work of a single-cycle RISC-V microprocessor, and user application for graphical display of the output data of the described components.
References
[1] D. A. Patterson, J. L. Hennessy, “Computer Organization and Design RISC-V Edition: The Hardware Software Interface”, Morgan Kaufmann, 2017
[2] RISCV, History of RISC-V https://riscv.org/about/history/ (pristupljeno u junu 2024.).
[3] Z. Vujadzin Rakic, P. Rakic, T. Petric, “miniC Project for Teaching Compilers Course”, University of Novi Sad/Faculty of Technical Sciences, Novi Sad, Serbia, 2014.
[4] A. Z. Henley, “Let's make a Teeny Tiny compiler”, Carnegie Mellon University, 2020.
[5] G. J. Chaitin, “Register Allocation and Spilling via Graph Coloring”, IBM Research P.O.Box 218, Yorktown Heights, NY 10598, 1981.
[6] D. R. Koes, S. C. Goldstein, “Register Allocation Deconstructed”, Carnegie Mellon University
Pittsburgh, PA
[7] Writing a simple RISC-V emulator in plain C,
https://fmash16.github.io/content/posts/riscv-emulator-in-c.html (pristupljeno u februaru 2024.)
[2] RISCV, History of RISC-V https://riscv.org/about/history/ (pristupljeno u junu 2024.).
[3] Z. Vujadzin Rakic, P. Rakic, T. Petric, “miniC Project for Teaching Compilers Course”, University of Novi Sad/Faculty of Technical Sciences, Novi Sad, Serbia, 2014.
[4] A. Z. Henley, “Let's make a Teeny Tiny compiler”, Carnegie Mellon University, 2020.
[5] G. J. Chaitin, “Register Allocation and Spilling via Graph Coloring”, IBM Research P.O.Box 218, Yorktown Heights, NY 10598, 1981.
[6] D. R. Koes, S. C. Goldstein, “Register Allocation Deconstructed”, Carnegie Mellon University
Pittsburgh, PA
[7] Writing a simple RISC-V emulator in plain C,
https://fmash16.github.io/content/posts/riscv-emulator-in-c.html (pristupljeno u februaru 2024.)
Downloads
Published
2025-04-04
Issue
Section
Electrotechnical and Computer Engineering