A HARDWARE IMPLEMENTATION OF A RISC-V PROCESSOR WITH PIPELINE PROCESSING THAT SUPPORTS THE RV32IM INSTRUCTION SET
DOI:
https://doi.org/10.24867/26BE11MilicKeywords:
RV32I, RV32IM, pipeline, Booth-4 algorithm, DSP, Zybo, set of instructionsAbstract
This paper briefly describes an implementation of the RV32IM instruction set that supports five stages of pipeline processing with hazard detection. The usual pipeline stages were used: IF, ID, EXE, MEM and WB. The starting point of the work was the initial version of the RV32I processor. The implementation of the complete I set of instructions followed. After that, the M instruction set was added. For implementation of the M instruction set, two ways of approaching the realization are taken into account. Both approaches produce the same logical results, the difference being in performance. The first method uses the Booth-4 algorithm, and the second uses DSPs from the Zybo board for multiplication instructions. The paper ends with a comparison of the performance of the RV32I processor with the RV32IM (Booth-4 algorithm and DSP).
References
[2]https://www.elektronika.ftn.uns.ac.rs/napredni-mikroprocesorski-sistemi/wp-content/uploads/sites/103/2018/03/Vezba1_Uvod_u_RISC-V_arhitekturu.pdf , pristupljeno septembar 2023.
[3] D. Patterson, "Reduced Instruction Set Computers Then and Now Computer, vol. 50, no. 12, pp. 10-12, 2017.
[4]https://en.wikipedia.org/wiki/Booth%27s_multiplication_algorithm, pristupljeno avgust 2023.
[5]https://www.xilinx.com/htmldocs/xilinx2017_4/sdaccel_doc/uwa1504034294196.html, pristupljeno jul 2023.