Abstract
RISC-V (Reduced Instruction Set Computer-Five) is an emerging universal open ISA, targeting to become as popular for processors as Linux for operating systems. Currently, many research institutions and companies publish various RISC-V processor cores. One of the most important feature of processors is the ability to response to interrupt events. This paper studies the interrupt mechanism of Hummingbird e203, which is an open-source RISC-V processor. By analyzing the existing interrupt mechanism, we propose a new mechanism of interrupt vectorization, which can achieve faster interrupt response. We also carry out simulation and logical synthesising for these two different response mechanism. Theoretical analyzing and evaluation results show that our design is feasible and efficient, improving the response speed to 1.6x–3.5x.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Lei, S.: Research on open source processor and SoC based on RISC-V. J. Microcontrollers Embedded Syst. (2017)
Asanovic, K., Patterson, D.: Instruction sets should be free: the case for RISC-V. Technical Report UCB/EECS-2014-146, EECS Department, University of California, Berkeley, August 2014
RISC-V Foundation (2018). http://www.riscv.org. Accessed 17 Mar 2018
Hu, Z.B.: How to design CPU: RISC-V processor articles (2018)
Li, Y.: Exceptions and Interrupts Handling and Design in Verilog HDL. Computer Principles and Design in Verilog HDL. Wiley, Hoboken (2016)
Ye, Q.Y., Liu, Q.: Analysis and implementation of interrupt stack based on ARM in operating system. J. Wuhan Univ. Technol. 26(1), 87–89 (2004)
Jan, G.: GRVI phalanx: a massively parallel RISC-V FPGA accelerator accelerator. In: Proceedings of the 2016 IEEE 24th Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM), pp. 17–20 (2016)
Asanović, K., et al.: The rocket chip generator. Technical report UCB/EECS-2016-17, EECS Department, University of California, Berkeley, April 2016
Christopher, C., Patterson, D., Asanović, K.: The Berkeley Out-of-Order Machine (BOOM): an industry-competitive, synthesizable, parameterized RISC-V processor. Technical report UCB/EECS-2015-167.EECS Department, University of California, Berkeley (2015)
Gala, N., Menon, A., Bodduna, R., et al.: SHAKTI processors: an open-source hardware initiative. In: the 29th International Conference on VLSI Design and 2016 15th International Conference on Embedded Systems (VLSID). IEEE (2016)
Neethu, B.M., Cecilia, G.A., Trevor, E.C.: Flexible timing simulation of RISC-V processors with sniper. In: The Second Workshop on Computer Architecture Research with RISC-V (CARRV), Los Angeles, CA. USA (2018)
Tuan, T., Lin, C., Christopher, B.: Simulating multi-core RISC-V systems in gem5. In: The Second Workshop on Computer Architecture Research with RISC-V (CARRV), Los Angeles, CA, USA (2018)
Paul, R., Borivoje, N.: Designing digital signal processors with rocket chip. In: The Second Workshop on Computer Architecture Research with RISC-V (CARRV), Los Angeles, CA, USA (2018)
Xu, P.: Study of interrupt control IP core for embedded system. J. Inf. Technol. 11, 121–123 (2006)
Joseph, Y.: The definitive guide to the ARM Cortex-M3 and Cortex-M4 (2015)
Shi, J., Wang, Y.H., Su, Y.: Design and interrupt program framework design of MQX interrupt mechanism based on ARM Cortex-M4. J. Comput. Sci. 40(6), 41–44 (2013)
Andrew, W., Krste, A.: The RISC-V Instruction Set Manual VolumeII: Privileged Architecture. University of California, Berkeley, 7 May 2017
Harry, H.P.: RISC-V: An Overview of the Instruction Set Architecture. Portland State University
David, A.P., John, L.H.: Computer Organization and Design (2018)
David, P., Andrew, W.: The RISC-V Reader: An Open Architecture Altlas, First Edition, 1.0.0. (2018)
Li, Y.M.: Computer Organization and Design (2011)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Xu, K., Li, Y., Yuan, B., Su, D. (2019). Evaluation and Optimization of Interrupt Response Mechanism in RISC-V Architecture. In: Xu, W., Xiao, L., Li, J., Zhu, Z. (eds) Computer Engineering and Technology. NCCET 2019. Communications in Computer and Information Science, vol 1146. Springer, Singapore. https://doi.org/10.1007/978-981-15-1850-8_17
Download citation
DOI: https://doi.org/10.1007/978-981-15-1850-8_17
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-1849-2
Online ISBN: 978-981-15-1850-8
eBook Packages: Computer ScienceComputer Science (R0)