Interrupt accelerating device and interrupt processing system

An acceleration device and processing system technology, applied in the electronic field, can solve the problems that interrupt programs cannot occupy the CPU for a long time, system scheduling failure, etc., and achieve the effects of accelerating response to external events, reducing interrupt delay time, and reducing interrupt overhead

Active Publication Date: 2012-06-06
SANECHIPS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The interrupt program cannot occupy the CPU for a long time, resulting in the failure of system scheduling

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 accelerating device and interrupt processing system
  • Interrupt accelerating device and interrupt processing system
  • Interrupt accelerating device and interrupt processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The technical solution of the present invention will be described in more detail below with reference to the drawings and embodiments.

[0050] The core idea of ​​the present invention is to avoid the system overhead in the interrupt processing process of the existing CPU system by increasing the hardware resources, thereby improving the response speed of the interrupt. figure 1 It is the processing flow of the existing interrupt processing system software. Steps 101, 105 and 108 in the figure are the inevitable overheads of interrupt processing, which are indispensable steps for interruption, and the remaining steps are the system overhead of interrupt processing; the processing flow includes:

[0051] 101. The CPU responds to an interrupt;

[0052] 102. On-site protection, including: push CPU general-purpose registers, program control status registers, and PC registers;

[0053] 103. Read the interrupt controller and judge the interrupt source of the current interrup...

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 accelerating device and an interrupt processing system. The device comprises an interrupt RAM, an interrupt distributing and judging module and a spot protecting and receiving module, wherein the interrupt RAM is used for storing an interrupt vector and the correspondence between the interrupt vector and an interrupt identifier; the interrupt distributing and judging module is used for reading the interrupt identifier when triggered by an interrupt controller, finding the interrupt vector corresponding to the interrupt identifier from the interrupt RAM, storing the interrupt vector into a CP register in a CPU and sending a ready signal to a synchronous module after the storage; the spot protecting and receiving module is used for storing the spot when triggered by the interrupt controller, sending the ready signal to the synchronous module after the storage and recovering the spot after receiving a notification that the CPU completes an interrupt processing routine; and the synchronous module is used for sending a pause instruction to the CPU when triggered by the interrupt controller and sending a release instruction to the CPU after receivingthe ready signals which are sent by the spot protecting and recovering module and the interrupt distributing and judging module. The interrupt accelerating device and the interrupt processing system can shorten the interrupt processing time.

Description

technical field [0001] The invention relates to the field of electronics, in particular to an interrupt acceleration device and an interrupt processing system. Background technique [0002] Generally speaking, there are two methods for the processor to respond to external events. One is that the processor actively queries the status of the peripherals and finds an event that needs to be processed. After processing, continue normal program processing. The second method is that the external device has an event that needs to be processed, and actively initiates a processing request to the CPU. The CPU interrupts the current normal processing flow, processes the event requested by the peripheral device, and continues to execute the previous program flow after the peripheral device interrupt event is processed. This is interrupt. [0003] Since interrupts do not need to be pre-judged in advance, they are a more common means of responding to external events. For example, on some...

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): G06F13/24
Inventor 龚尤岗
Owner SANECHIPS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products