Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Interrupt Control Method Based on Priority Sorting of Multiple Interrupt Sources

A technology of prioritization and control methods, applied in multi-programming devices, program startup/switching, energy-saving computing, etc., can solve problems such as high power consumption, delay, and uninterrupted source sorting, and achieve fast interrupt response speed and function. low consumption effect

Active Publication Date: 2017-10-27
苏州国芯科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Many current interrupt controllers, some have fixed priority, such as arranging priorities according to the order of fixed interrupt source numbers (hardware connections), such interrupt controllers will bring many restrictions when the system is applied, and cannot Sort all interrupt sources according to arbitrary priority
There are also some interrupt controllers that can set all interrupt sources to any priority by software, but every time an interrupt request occurs, all interrupt priorities will be compared to determine the current priority. The highest interrupt source to respond, and all these priority comparison logic will be active every time an interrupt request occurs, which will result in greater power consumption and greater delay

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 Method Based on Priority Sorting of Multiple Interrupt Sources
  • Interrupt Control Method Based on Priority Sorting of Multiple Interrupt Sources
  • Interrupt Control Method Based on Priority Sorting of Multiple Interrupt Sources

Examples

Experimental program
Comparison scheme
Effect test

other Embodiment approach

[0073] In other implementation manners, analogy is performed in a binary manner.

[0074] In summary, compared with the prior art, the present invention has the following effects:

[0075] 1. Low power consumption: the priority comparison logic is only active when the interrupt priority is configured, and it is static when subsequent interrupt requests and responses are made. Since the priority configuration information rarely changes after system startup, the dynamic power consumption of these priority comparison logic can be ignored.

[0076] 2. Fast interrupt response speed: When one or more interrupt requests occur, the interrupt response can be generated only through simple sorting logic, without having to go through multiple levels (32 interrupt sources require 5 levels) of priority Compare logic so that valid interrupt request signals can be generated earlier.

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 interruption control method based on multiple interrupt source priority ordering. The method comprises the following steps: S1, all interrupt sources are classified according to significance bits, interrupt types, interrupt priority levels and interrupt source sequence numbers, so as to form a plurality of arrangement units; S2, all the arrangement units are sequentially arranged according to the high-to-low sequence of the priority levels, so as to form an interrupt priority queue; S3, in case of an interrupt request, corresponding interrupt sources response sequentially according to the sequence of the interrupt priority queue. The method provided by the invention can achieve interruption control on a plurality of interrupt sources, and has the characteristics of fast speed and low power consumption.

Description

technical field [0001] The present application relates to the technical field of interrupt control, in particular to an interrupt control method based on prioritization of multiple interrupt sources. Background technique [0002] The interrupt controller generally includes several interrupt sources. The so-called interrupt means that when the CPU is running the program normally, the CPU temporarily suspends the running program due to internal and external events, and then executes the service of the internal and external events that request the CPU to temporarily suspend. The program returns to the suspended program after the service program finishes processing. The interrupt sources that can send interrupt requests to the CPU are called "interrupt sources". [0003] Many current interrupt controllers, some have fixed priority, such as arranging priorities according to the order of fixed interrupt source numbers (hardware connections), such interrupt controllers will bring ...

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/48
CPCY02D10/00
Inventor 郑茳肖佐楠匡启和谢伟军林峰
Owner 苏州国芯科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products