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

Method and apparatus for searching maximum priority interrupt from a plurality of effective interrupts

A technology with the highest priority and effective interruption, applied in the fields of instruments, electrical and digital data processing, etc., it can solve the problems such as the inconvenience of flexible priority configuration and product inconvenience, and achieve the effect of flexible priority, fast search speed, and improved system efficiency.

Inactive Publication Date: 2007-01-31
南通江涌投资开发有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The inability to flexibly configure the priority will bring a lot of inconvenience to the product

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
  • Method and apparatus for searching maximum priority interrupt from a plurality of effective interrupts
  • Method and apparatus for searching maximum priority interrupt from a plurality of effective interrupts
  • Method and apparatus for searching maximum priority interrupt from a plurality of effective interrupts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following uses an embodiment to describe in detail the device and method for finding the highest priority interrupt from multiple valid interrupts proposed by the present invention.

[0031] see image 3 , the device includes: a highest priority selection circuit and an interrupt search circuit, wherein the highest priority selection circuit can be further divided into a preprocessing part and a priority comparison part.

[0032] Assume that the system is configured with a total of n interrupts, some of which may not be used, hereinafter referred to as reserved interrupts, and actually used interrupts are hereinafter referred to as practical interrupts. The priority of each interrupt can be flexibly configured by software. If not configured, the system defaults to the lowest priority. In general, utility interrupts are configured with a higher priority than the lowest priority for easy lookup, while reserved interrupts can be configured with the lowest priority.

...

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 relates to a device to research highest priority interrupt from plural effective interrupts. The interrupt signal and the priority signal would be input into preprocess unit, which is also input a lowest priority signal. When the interrupt signal is effective, the priority signal of the interrupt would be output from the preprocess unit. Two signals from the priority signals are set to be a group and input to a compare unit of the first compare circuit. A signal would be output when a higher priority signal in the two inputs or two signals has the same priority. The output of the previous stage of comparing circuit could be input to comparing unit of the next comparing circuit until outputting the height priority signal. Interrupting and searching the current highest priority signal to other interrupt priority signal, the interrupt number of the current highest priority would be output. The invention could flexibly configure priority of interrupt and the process speed is rapid.

Description

technical field [0001] The invention relates to an interrupt control device and method, in particular to a method and device for searching the highest priority interrupt. Background technique [0002] In systems that contain a central processing unit (CPU), it is very important that hardware and software work together. When an event occurs in the hardware and needs to be processed by the software, a common method is to use an interrupt to notify the software. The interrupt controller is used to collect interrupts and send interrupts to the CPU. [0003] from figure 1 It can be seen that the existing interrupt controller performs an "AND" operation on the interrupt reported by each interrupt source and the enable signal of each interrupt source. When the interrupt source and the enable signal of the interrupt source are valid at the same time, the interrupt source is selected and Report this interrupt to the CPU. [0004] However, in the existing interrupt controller, the...

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 Applications(China)
IPC IPC(8): G06F13/26
Inventor 邹杨
Owner 南通江涌投资开发有限公司