Supercharge Your Innovation With Domain-Expert AI Agents!

Interrupt control system and method based on RISC-V

A RISC-V, control method technology, applied in program control design, address formation of the next instruction, instruments, etc., can solve the problems of difficult program development, slow interrupt response speed, etc., to solve the problem of slow response and ensure completeness. Effect

Active Publication Date: 2021-03-26
NANJING QINHENG MICROELECTRONICS CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Purpose of the invention: In order to solve the problems in the prior art of RISC-V architecture processor interrupt response speed is slow, program development is difficult, etc., the present invention provides an interrupt control system based on RISC-V

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Interrupt control system and method based on RISC-V
  • Interrupt control system and method based on RISC-V

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0061] Such as figure 2 As shown, the interrupt control system based on RISC-V includes processor CPU, fast interrupt controller, control and status registers (CSRs), general-purpose registers, and hardware storage area, which is used to store The value of the control and status register group and / or Caller-save type general-purpose register before the interrupt processing; the fast interrupt controller, in addition to receiving an external interrupt source, performing interrupt enabling, priority, threshold and other conditions of judgment and sending In addition to interrupt requests to the processor, it is also used to store the value of the control and status register group and / or Caller-save type general-purpose registers into the hardware storage area, or store the contents of the hardware storage area into the control and status registe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an interrupt control system and method based on RISCV, and the system comprises a processor, a quick interrupt controller, a Caller-save type general register, and a hardware storage region, and the hardware storage region is used for storing the value of the Caller-save type general register during the interrupt response. And the quick interrupt controller is used for storing the value of the Caller-save type general register into the hardware storage area, or storing the content of the hardware storage area back to the Caller-save type general register, and storing the value of the control and state register set into the hardware storage area when the nested interrupt occurs. According to the system, the interrupt processing speed of the RISC-V architecture processor is greatly improved, the program development difficulty is simplified, the application field of the RISC-V as a core single chip microcomputer is expanded, and particularly, the interrupt processing method has a wide prospect in the embedded application field.

Description

technical field [0001] The invention relates to the technical field of kernel interrupt processing, in particular to a RISC-V-based interrupt control system and method. Background technique [0002] RISC-V is an open source instruction set architecture. It uses the BSD License open source protocol. It has the characteristics of simplicity, scalability, easy programming / compilation / linking, etc. Its goal is to become Linux in the instruction set architecture, which is comparable to ARM. . With the help of the state, independent innovation and research and development of chips has become the general trend, and the RISC-V architecture has also been actively practiced and explored by the industry. However, the existing RISC-V interrupt controller solutions generally have shortcomings such as slow interrupt response speed, inability to support nested interrupts or cumbersome operations, and a large number of context saving and restoration instructions, such as figure 1 The righ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/32G06F9/38
CPCG06F9/327G06F9/3836Y02D10/00G06F9/4812G06F9/461G06F9/462G06F9/3004
Inventor 阙庆河
Owner NANJING QINHENG MICROELECTRONICS CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More