Skip to main content

Evaluation and Optimization of Interrupt Response Mechanism in RISC-V Architecture

  • Conference paper
  • First Online:
Computer Engineering and Technology (NCCET 2019)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1146))

Included in the following conference series:

  • 528 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Lei, S.: Research on open source processor and SoC based on RISC-V. J. Microcontrollers Embedded Syst. (2017)

    Google Scholar 

  2. 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

    Google Scholar 

  3. RISC-V Foundation (2018). http://www.riscv.org. Accessed 17 Mar 2018

  4. Hu, Z.B.: How to design CPU: RISC-V processor articles (2018)

    Google Scholar 

  5. Li, Y.: Exceptions and Interrupts Handling and Design in Verilog HDL. Computer Principles and Design in Verilog HDL. Wiley, Hoboken (2016)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. Asanović, K., et al.: The rocket chip generator. Technical report UCB/EECS-2016-17, EECS Department, University of California, Berkeley, April 2016

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Xu, P.: Study of interrupt control IP core for embedded system. J. Inf. Technol. 11, 121–123 (2006)

    Google Scholar 

  15. Joseph, Y.: The definitive guide to the ARM Cortex-M3 and Cortex-M4 (2015)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. Andrew, W., Krste, A.: The RISC-V Instruction Set Manual VolumeII: Privileged Architecture. University of California, Berkeley, 7 May 2017

    Google Scholar 

  18. Harry, H.P.: RISC-V: An Overview of the Instruction Set Architecture. Portland State University

    Google Scholar 

  19. David, A.P., John, L.H.: Computer Organization and Design (2018)

    Google Scholar 

  20. David, P., Andrew, W.: The RISC-V Reader: An Open Architecture Altlas, First Edition, 1.0.0. (2018)

    Google Scholar 

  21. Li, Y.M.: Computer Organization and Design (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yong Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics