Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of interrupt control system and method based on risc-v

A RISC-V and control method technology, applied in the direction of program control design, address formation of the next instruction, instrument, etc., can solve problems such as difficult program development and slow interrupt response speed

Active Publication Date: 2021-05-14
NANJING QINHENG MICROELECTRONICS CO LTD
View PDF6 Cites 0 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
  • A kind of interrupt control system and method based on risc-v
  • A kind of 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] like 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 register g...

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 a RISC-V-based interrupt control system and method, including a processor, a fast interrupt controller, a Caller-save type general-purpose register and a hardware storage area, and the hardware storage area is used to store the Caller when responding to an interrupt. The value of the -save type general-purpose register; the fast interrupt controller is used to store the value of the Caller-save type general-purpose register into the hardware storage area, or store the contents of the hardware storage area back into the Caller-save type general-purpose register, when nesting occurs The value of the control and status register group can also be stored in the hardware storage area when interrupted. The invention greatly improves the interrupt processing speed of the RISC-V architecture processor, simplifies the difficulty of program development, expands the application field of RISC-V as the core single-chip microcomputer, and has broad prospects especially 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/32G06F9/38
CPCG06F9/327G06F9/3836Y02D10/00G06F9/4812G06F9/461G06F9/462G06F9/3004
Inventor 阙庆河
Owner NANJING QINHENG MICROELECTRONICS CO LTD