CN107621974A - Interrupt request distribution device and the operation method to this - Google Patents

Interrupt request distribution device and the operation method to this Download PDF

Info

Publication number
CN107621974A
CN107621974A CN201710564889.XA CN201710564889A CN107621974A CN 107621974 A CN107621974 A CN 107621974A CN 201710564889 A CN201710564889 A CN 201710564889A CN 107621974 A CN107621974 A CN 107621974A
Authority
CN
China
Prior art keywords
interrupt request
irq
interrupt
singal
distribution device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710564889.XA
Other languages
Chinese (zh)
Other versions
CN107621974B (en
Inventor
E.贝克尔
A.奥厄
J.哈格
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of CN107621974A publication Critical patent/CN107621974A/en
Application granted granted Critical
Publication of CN107621974B publication Critical patent/CN107621974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

The present invention relates to the interrupt request distribution device for being particularly used for the computing unit with least one calculating kernel, wherein interrupt request distribution device has at least one input for being used to receive input interrupt request singal and at least one output end for being used to export output interrupt request singal in particular to computing unit, wherein interrupt request distribution device is configured to form at least one output interrupt request singal according at least one input interrupt request singal, it is characterized in that, interrupt request distribution device has deferred mount, the deferred mount is configured to time delay that can be previously given by input interrupt request singal delay, to obtain the interrupt request singal of delay and to be exported the interrupt request singal of delay as output interrupt request singal at least one output end.

Description

Interrupt request distribution device and the operation method to this
Technical field
The present invention relates to a kind of interrupt request distribution device, is particularly used for the calculating list with least one calculating kernel There are at least one reception input interrupt requests that are used for believe for the interrupt request distribution device of member, wherein the interrupt request distribution device Number input and at least one output end for being used to export output interrupt request singal in particular to computing unit, wherein in this Disconnected request distributor be configured to be formed according at least one input interrupt request singal at least one output interrupts please Seek signal.
The invention further relates to a kind of operation method for being used for such interrupt request distribution device.
The invention further relates to a kind of electronic functional elements, and it is configured to at least one other component, particularly The calculating kernel of computing unit produces at least one interrupt request singal, and is related to electronic functional elements as a kind of be used for Operation method.
Background technology
The interrupt request distribution device for referring to type before is known and is also referred to as in English language area “interrupt router(Interrupt router)”.Interrupt(Interrupt requests)Such as stopping or interrupting currently in computing unit The program of upper operation and perform other and strict to time requirement/of short duration be defined or program in so-called interruption routine Computing.The program being interrupted before continuing to implement after interruption routine is completed.Interruption can be filled by interrupt request distribution Put and for example pass on to corresponding computing unit.Because can in systems simultaneously or the time upper of short duration follows each other by multiple sources Ground triggers multiple different interrupt requests, so proposing:It is that each interrupt requests are previously given in interrupt request distribution device And configuration preference level.Thus the interrupt requests of high priority can adversely extrude the interrupt requests of low priority.If it is determined that Interrupt requests within the previously given time for example due to priority without implement, then in involved interruption routine Required process may not implemented.It is unfavorable that this is particularly, because may cause complete system in case of system halt.
The content of the invention
The problem of present invention is based on is by interrupt request distribution device according to claim 1 and by according to side by side The method of claim 10 solves.Other aspects for the problem of present invention is based on pass through electronic work according to claim 8 Component and can be solved according to the method for claim 13 arranged side by side.Scheme is advantageously improved in the dependent claims to illustrate. Also found in the description that follows and in the accompanying drawings for the important feature of the present invention, wherein feature can not only individually but also It is important for the present invention with various combination, and this is not explicitly pointed out again.
The present invention relates to a kind of interrupt request distribution device, is particularly used for the calculating list with least one calculating kernel There are at least one reception input interrupt requests that are used for believe for the interrupt request distribution device of member, wherein the interrupt request distribution device Number input and at least one output end for being used to export output interrupt request singal in particular to computing unit, wherein in this Disconnected request distributor be configured to be formed according at least one input interrupt request singal at least one output interrupts please Seek signal.According to present invention provide that, interrupt request distribution device has deferred mount, and the deferred mount is configured to input Interrupt request singal delay can be previously given time delay, to obtain the interrupt request singal of delay and by delay Disconnected request signal is exported at least one output end as output interrupt request singal.It is advantageously able to according to the principle of the present invention Realize that the improved time control of interrupt requests arrives the output of other units, such as computing unit with it.Particularly in abundant profit It can correct in the case of the delay that can be realized according to the present invention with interrupt request singal and preferably distribute on the time The accumulation of disconnected request, this particularly works as at least a portion of interrupt requests and process, such as computer journey for treating periodically to implement The task of sequence or it is associated with the communication cycle of communication module when be favourable, the duty cycle(Such as with 10 millis The frame or similar of second)Implement on computing unit, the communication module can instead of or be complemented at computing unit be interrupt The source or place of request.In some embodiments it is also envisaged that can previously given time delay be zero.It can typically set Think, can be in about 0 μ s previously given time delay(Microsecond)About 100000 seconds(It is or also more)Between, it is especially excellent Selection of land is in about 0 μ s and about 1000ms(Millisecond)Between, further particularly preferred between about 0 μ s and about 50ms In the range of.
In one embodiment, output interrupt request singal can be directly output to computing unit or communication module, institute State computing unit or communication module and then for example introduce corresponding reaction(Interruption routine is finished, message is sent by communication bus Deng).Alternatively or additionally, output interrupt request singal can also be output to for interrupt requests multiplexer apparatus or be used for Other distributors of interrupt requests(It can be constructed according to of the invention or routine), it is possible thereby to realize involved component Cascade, this in processes break request when further improves flexibility.
In another embodiment, output interrupt request singal is formed according at least one input interrupt request singal The step of can include simple forwarding.I.e. institute " formation " interrupt request singal correspond directly to it is at least one input interrupt please Seek signal.Alternatively, the formation can also include the signal transacting continued(Such as buffering and/or it is anti-phase)Or input is interrupted and asked Ask signal for example with release signal or clock signal or similar(Logic)Connection.
Provide in another embodiment, there are interrupt request distribution device m to be used to receive input interrupt requests letter Number input, wherein m is more than 1, and/or wherein there is interrupt request distribution device n to be used to export output interrupt requests letter Number output end, wherein n be more than 1.Other possible modifications are:m=1(Only one input), m=n(With output end as many Input), m<>n(Inputs more more or less than output end), n=1(Only one output end).It is possible thereby to realize one The interrupt request singal in individual or multiple sources to one or more places flexible allocation, wherein delay interrupt request singal the advantages of be The following other free degree is provided according to the principle of the present invention.
Provide in another embodiment, interrupt request distribution device has multiple deferred mounts, the deferred mount Interrupt request singal will be inputted by being configured to postpones time delay for being same to each other or different to each other respectively, thus further improves spirit Activity and the typical cycle for being especially that by source or place of the delay of interrupt request singal for example to interrupt request singal n Time is effectively matched.
Provide in another embodiment, at least one timer device is set(English:Timer, timer), so as to It is determined that or previously given one or more time delays.Such as timer device can be in a way known by counter Part and reference clock signal are realized.According to other embodiment it is also envisaged that for multiple deferred mounts Interrupt request distribution device sets a common reference clock signal and sets single counter for multiple deferred mounts Part.Usually, for example can be by the timer integrated in interrupt request distribution device according to the time delay of the present invention Function(Timer)To determine or realize.
Provide in another embodiment, interrupt request distribution device, which is configured to receive from external module, matches somebody with somebody confidence Cease and/or configuration information is at least temporarily locally stored, wherein configuration information particularly characterizes the time delay or time delay. Thus the operation of interrupt request distribution device can be controlled effectively by external unit, such as computing unit or microcontroller, Particularly also controlled on time delay to be supplied.
In another embodiment, configuration information can include at least one in following information:One or more is prolonged The slow time, which(Delay)Input signal should be directed to the information of which output end, precedence information, the priority letter Breath for example illustrates that the input signals of some inputs is preferentially handled relative to the input signal of other inputs.
Provide in another embodiment, when interrupt request distribution device is configured to interrupt the delay currently run Between, wherein interrupt request distribution device is particularly configured to receive interrupt instruction simultaneously during the time delay currently run And the time delay currently run is interrupted in response to the reception of interrupt instruction.It is possible thereby to the delay advantageously to interrupt is simultaneously And involved interrupt requests do not export lingeringly further.Therefore in the case of the delay so to interrupt, finally Draw the actual delay time of involved interrupt request singal, when the actual delay time is less than initial previously given delay Between.
According to other embodiment, such interrupt instruction for example can be by distributing to interrupt request distribution device Source(Such as computing unit, communication module)Or place(Such as computing unit, communication module)To export, and/or please also by interrupting Distributor is sought in itself to export.
Provide in another embodiment, interrupt request distribution device at least in part, but preferably it fully structure Make as hardware circuit, preferably for example using having about 16nm(Nanometer)Physical dimension in the range of about 60nm Hardware circuit is configured in the case of semiconductor technology.In some embodiments, interrupt request distribution device for example can be straight Connect the Semiconductor substrate that is integrated in computing unit or communication module or similar upper.
Another solution as the task of the present invention illustrates method according to claim 10.Draw herein with before On the comparable advantage described by interrupt request distribution device.
Another solution of the task of the present invention is also illustrated by a kind of electronic functional elements.Electronic functional elements quilt It is configured to as the calculating kernel of at least one other component, particularly computing unit(Or such as communication module)Produce at least The one interrupt request singal and electronic functional elements are characterised by, the functional unit, which has, to be used to receive input signal Input and interrupt request singal generation device, wherein interrupt request singal generation device are configured to be produced according to input signal Raw at least one interrupt request singal, and functional unit has deferred mount, and the deferred mount is configured at least one The delay of individual interrupt request singal can be previously given time delay, to obtain the interrupt request singal of delay and by delay Interrupt request singal is output at least one other component as output interrupt request singal.
Therefore electronic functional elements can be advantageously carried out the interrupt request singal directly local delay in functional unit. Alternatively, electronic functional elements can also combine with foregoing interrupt request distribution device.
Provide in another embodiment, electronic functional elements are communication module, SPI(English:serial Peripheral interface, SPI)Or MSC(Microsecond bus, Microsecond grade bus)Interface or other Data source, the data source be configured to by interrupt request singal come ask or signal the transmission of data or other Action or event.Correspondingly, electronic functional module is in addition to the foregoing also comprising the processing and delay with interrupt requests The corresponding communication component of relevant component.
Provided in the another embodiment of electronic functional elements, at least one timer device is set(Such as therewith It is preceding comparable with reference to described by the embodiment of interrupt request distribution device), to determine or previously given time delay.
In the another embodiment of electronic functional elements, electronic functional elements are configured to receive from external module Configuration information and/or configuration information being temporarily, at least locally stored, wherein configuration information particularly characterizes time delay, such as with It is before comparable with reference to described by the embodiment of interrupt request distribution device.
In the another embodiment of electronic functional elements, electronic functional elements are configured to interrupt what is currently run Time delay, wherein electronic functional elements particularly are configured to receive interrupt instruction during the time delay currently run And the time delay currently run is interrupted in response to the reception of interrupt instruction, such as is filled with referring to interrupt request distribution before It is comparable described by the embodiment put.
In the another embodiment of electronic functional elements, electronic functional elements are at least in part but preferably completely Ground is configured to hardware circuit, preferably for example has about 16nm in use(Nanometer)Structure chi in the range of about 60nm Hardware circuit is configured in the case of very little semiconductor technology.
Particularly advantageously, interrupt request distribution device and/or electronic functional elements can be integrated into other unit, all In microcontroller such as computing unit, for example with least one calculating kernel, or it is integrated into(Such as SPI or MSC types) In communication module, can also particularly be arranged in in other unit identical Semiconductor substrate.
Another solution as the task of the present invention illustrates method according to claim 13.
Brief description of the drawings
The exemplary embodiment of the present invention is explained referring next to accompanying drawing.In the accompanying drawings:
Fig. 1 schematically shows the block diagram of the first embodiment of the interrupt request distribution device according to the present invention,
Fig. 2 schematically shows the block diagram of the second embodiment of the interrupt request distribution device according to the present invention,
Fig. 3 schematically shows a kind of time diagram of embodiment,
Fig. 4 schematically shows a kind of simplified flowchart of embodiment of the method according to the invention,
Fig. 5 schematically shows the block diagram of the first embodiment of the electronic functional elements according to the present invention,
Fig. 6 to 8 schematically shows the other embodiment of the present invention, and
Fig. 9 schematically shows the simplified flowchart of the another embodiment of the method according to the invention.
Embodiment
Fig. 1 schematically shows the interrupt request distribution device 100 according to the present invention, hereinafter simply also referred to as " distributor 100 " and English also referred to as interrupt router first embodiment block diagram.Distributor 100 has:Input 102, The distributor can receive input interrupt request singal irq_i from source 10 on the input;With at least one output end 112, For output interrupt request singal irq_o to be output into place 200, it can be computing unit 200, such as with meter that the place, which is particularly, Calculate the microcontroller of kernel 202.
Source 10 for example can be the communication module of SPI or MCS types or similar type, the communication module for example when its Through from external unit(It is not shown)Input interrupt request singal irq_i is output to distributor 100 when receiving data.Distribution dress Put 100 and then corresponding output interrupt request singal can be formed according at least one input interrupt request singal irq_i Irq_o and computing unit 200 is output in manner described subsequently.
According to the present invention, interrupt request distribution device 100 has a deferred mount 120, the deferred mount be configured to by The time delay that interrupt request singal irq_i delays can be previously given is inputted, to obtain the interrupt request singal irq_d of delay And exported the interrupt request singal irq_d of delay as output interrupt request singal irq_o to output end 112.According to this The principle of invention is advantageously able to realize that interrupt requests irq_i improved time control arrives the output of other units 200 with it. Particularly make full use of interrupt request singal according to the delay that can realize of the present invention in the case of can correct and the time On preferably assigned interrupt request accumulation, this particularly when interrupt requests at least a portion and treat the mistake periodically implemented The task of journey, such as computer program or it is associated with the communication cycle of communication module 10 when be favourable, task week Phase property(Such as with 10 milliseconds of frame or similar)Implement on computing unit 200, the communication module can instead of or It is complemented at the source or place that computing unit 200 is interrupt requests.In some embodiments it is also envisaged that can be previously given prolong The slow time is zero.Typically it is contemplated that can be in about 0 μ s previously given time delay(Microsecond)About 100000 seconds (It is or also more)Between, particularly preferably in about 0 μ s and about 1000ms(Millisecond)Between, further particularly preferred exist About 0 μ s and about between 50ms.
In one embodiment, exporting interrupt request singal irq_o can be as described in Fig. 1 and having been described above that before Sample is directly output to computing unit 200(Or communication module), the corresponding reaction of the computing unit and then such as introducing(In finishing Disconnected routine, message is sent by communication bus, etc.).Alternatively or additionally, exporting interrupt request singal irq_o can also be defeated Go out to the multiplexer apparatus for interrupt requests(It is not shown)Or other distributors for interrupt requests(It can be according to this Invention conventional constructs), it is possible thereby to realize the cascade of involved component, this breaks in processes further improves when asking Flexibility.
Fig. 4 shows a kind of flow chart of embodiment for illustrating the method according to the invention.Receive in step 400 Come from the input interrupt request singal irq_i in source 10, referring to Fig. 1.In Fig. 4 step 410, the input interruption received please Ask signal irq_i delay can be previously given time delay, to obtain the interrupt request singal irq_d of delay, and The interrupt request singal irq_d postponed in step 420 is finally exported at least one defeated as output interrupt request singal irq_o Go out end 112.
In one embodiment, the output interrupt request singal irq_o formed except entering in step 410 if necessary Capable time delay(As long as with regard to previously given time delay it is zero i.e. unexceptional)Outside can correspond to input interrupt requests letter Number irq_i.In other embodiment, output interrupt request singal irq_o formation can be except the time in step 410 Also include the signal transacting continued outside delay(Such as buffer(Such as in the sense that the regeneration of signal level)It is and/or anti-phase) Or input interrupt request singal irq_i for example with release signal or clock signal or similar(Logic)Connection.
Provided in the embodiment that another kind is schematically shown in fig. 2, interrupt request distribution device 100' has m For receive input interrupt request singal irq_i1 ..., irq_i4 input 102a ..., 102d, wherein m be more than 1, currently According to Fig. 2 m=4, and/or there are wherein interrupt request distribution device 100' n to be used to export output interrupt request singal irq_ O1 ..., irq_o4 output end 112a ..., 112d, wherein n be more than 1, currently according to Fig. 2 n=4.
Other possible modifications are:m=1(Only one input), m=n(With the input of output end as many), referring to Fig. 2, m<>n(Inputs more more or less than output end), n=1(Only one output end).It is possible thereby to realize one or more Individual source 10(Fig. 1)Interrupt request singal irq_i, irq_i1 ..., irq_i4 to one or more places 200,200' flexibly point Match somebody with somebody, wherein to provide the other free degree as follows according to the principle of the present invention the advantages of delay interrupt request singal.
Currently, interrupt request distribution device 100' as already described altogether have 4 output end 112a, 112b, 112c, 112d, by four output ends, it is corresponding export interrupt request singal irq_o1 ..., irq_o4 can be output to Four of computing unit 200' calculate kernel 202a, 202b, 202c, 202d.
Provide in another embodiment, interrupt request distribution device 100' have multiple deferred mount 120a, 120b, 120c, the deferred mount are configured to input interrupt request singal irq_i1, irq_i2, irq_i3, irq_i4 difference Postpone the time delay being same to each other or different to each other, thus further improve flexibility and be especially that by interrupt requests letter Number source of the delay for example to interrupt request singal n or the typical cycle time of place be effectively matched.In one embodiment, Multiple deferred mount 120a, 120b, 120c can be statically assigned to determine input 102a ..., 102d.Alternatively, It is contemplated that the dynamically distributes of multiple deferred mount 120a, 120b, 120c to different inputs.
Provide in another embodiment, at least one timer device is set(English:Timer, timer)130, To determine or previously given one or more time delays.Such as timer device 130 can be borrowed in a way known Counter unit and reference clock signal is helped to realize.According to other embodiment it is also envisaged that for prolonging with multiple Slow device 120a, 120b, 120c interrupt request distribution device 100' set a common reference clock signal and are more Individual deferred mount sets single counter unit.Usually, for example can be by interrupting according to the time delay of the present invention Ask the timer function of being integrated in distributor 100'(Timer)130 determine or realize.
Fig. 3 schematically shows a time diagram, and the time diagram illustrates the prolonging according to the present invention of input interrupt request singal Late.In time point t0, exemplarily received according to Fig. 2 distributor 100' on its first input end 102 in first input Disconnected request signal irq_i1.First input interrupt request singal delays for example according to the present invention by the first delay cell 120a The the first time delay T1 configured before, it is derived from the first interrupt request singal of delay, the first interrupt requests of the delay Then, i.e. signal exports interrupt request singal irq_ in time point t1 after the first time delay T1 terminates, i.e. as first O1 is output to computing unit 200' by output end 112a.In the second input interrupt request singal that time point t0 is reached by root The second time delay T2 is delayed up to time point t2 and hereafter as in the second output according to Fig. 3 the second delay cell 120b Disconnected request signal irq_o2 is output to computing unit 200' by output end 112b.In the 3rd input that time point t01 is reached Disconnected request signal by the 3rd time delay T3 is delayed according to Fig. 3 the 3rd delay cell 120c until time point t3 and this Computing unit 200' is output to by output end 112c as the 3rd output interrupt request singal irq_o3 afterwards.
Provide in another embodiment, interrupt request distribution device 100,100' are configured to from external module 10th, 200,200' receives configuration information and/or configuration information is at least temporarily locally stored, referring to the reference 140 in Fig. 2, Wherein configuration information 140 particularly characterizes the time delay or time delay.Thus interrupt request distribution device 100' fortune Row can be controlled effectively by external unit 200', such as computing unit or microcontroller, particularly also on to be supplied Time delay T1, T2, T3 are controlled.
In another embodiment, configuration information 140 can include at least one in following information:Time delay T1, T2, T3, which(Delay)Input signal should be directed to which output end 112a, 112b, 112c, 112d information, excellent First level information, the precedence information for example illustrate some inputs 102a, 102b input signal relative to other inputs 102c, 102d input signal are preferentially handled.
Provide in another embodiment, interrupt request distribution device 100,100' are configured to interrupt current operation Time delay T1, wherein interrupt request distribution device particularly be configured to connect during the time delay T1 currently run Receive interrupt instruction HLT(Fig. 2)And interrupt the time delay T1 currently run in response to interrupt instruction HLT reception.Thus Can advantageously interrupt delay and involved interrupt requests do not export lingeringly further.Therefore in so In the case of the delay of disconnected operation, finally draw the actual delay time of involved interrupt request singal, during the actual delay Between be less than initial previously given time delay.
According to other embodiment, such interrupt instruction for example can be by distributing to interrupt request distribution device Source 10(Such as computing unit, communication module)Or place 200,200'(Such as computing unit, communication module)To export, and/or Exported in itself by interrupt request distribution device 100,100'.
Provide in another embodiment, interrupt request distribution device 100,100' are at least in part, but preferably it Hardware circuit is fully configured to, for example preferably there is about 16nm in use(Nanometer)Knot in the range of about 60nm Hardware circuit is configured in the case of the semiconductor technology of structure size.In some embodiments, interrupt request distribution device 100th, 100' can for example be directly integrated in computing unit 200,200' or communication module 10 Semiconductor substrate or similar upper.
Fig. 5 schematically shows the block diagram of the first embodiment of electronic functional elements 500, this hair during the electronic functional elements Bright another aspect.
Electronic functional elements 500 are configured to at least one other component, particularly in the calculating of computing unit Core(Or such as communication module)Produce at least one interrupt request singal and the electronic functional elements are characterised by, the work( Energy component 500 has the input 502 and interrupt request singal generation device 510 for being used for receiving input signal i, please wherein interrupting Signal generation device 510 is asked to be configured to produce at least one interrupt request singal irq according to input signal i, and it is described Functional unit 500 has deferred mount 520, and the deferred mount is configured to postpone at least one interrupt request singal irq Time delay T1 that can be previously given, to obtain the interrupt request singal irq_d of delay and to believe the interrupt requests of delay Number irq_d is output at least one other component 100'' as output interrupt request singal irq_o by output end 504.
Therefore electronic functional elements 500 can be advantageously carried out interrupt request singal irq directly local in functional unit 500 In delay.Alternatively, electronic functional elements 500 can also combine with foregoing interrupt request distribution device 100,100'.
Provide in another embodiment, electronic functional elements 500 are communication module, SPI(English:serial Peripheral interface, SPI)Or MSC(Microsecond bus, Microsecond grade bus)Interface or other Data source, the data source be configured to by interrupt request singal come ask or signal the transmission of data or other Action or event.Correspondingly, electronic functional module 500 is in addition to the foregoing also comprising the processing with interrupt requests irq The component 510 relevant with delay, 520 corresponding communication components 530.
Provide in another embodiment, can also be internally in electricity instead of the input signal that can be conveyed from outside " input signal " I', such as the production by communication component 530 or triggering interrupt request singal irq are formed in subfunction component 500 Raw module 508 is formed.In these cases, it may be necessary to save input 502.
Such as it can implement to set the mark in interrupt request singal generation device after determining computing in communication component 530 Will(Such as signal position), the mark signals the end of computing.Utilization institute's phase that start delay device 520 is set of mark The timer of the time delay T1 configurations of prestige(Timer), and signal is used by timer after T1 terminates in time delay Notice, such as can be corresponding with " breaking/off-position " according to a kind of embodiment with Operation switch 506, the switch.Currently, Therefore output interrupt request singal irq_o is just only output to place 100'' when switching 506 closure.
Place 100'' can be computing unit or other component, such as can also be conventional or according in the present invention Disconnected request distributor 100,100'(Interrupt router).
In another embodiment, electronic functional elements 500 can also be integrated into(It is existing)Communication module 1000' In, referring to Fig. 7, Fig. 7 shows SPI communication module 1000', and at least one electronic functional elements 500 are integrated into the SPI communication mould In block 1000'.In the case of the configuration, such as it can believe SPI communication module 1000' internal operation parameter as input Number i is conveyed to the input 502 of functional unit 500, the functional unit 500 cause interrupt request singal irq be previously formed and It postpones.
Provided in the another embodiment of electronic functional elements 500, at least one timer device is set(Such as with It is before comparable with reference to described by interrupt request distribution device 100' embodiment), to determine or previously given delay Time T1.
In the another embodiment of electronic functional elements 500, electronic functional elements 500 are configured to from outer set Part receives configuration information and/or configuration information 540 is temporarily, at least locally stored, when wherein configuration information particularly characterizes delay Between.
In the another embodiment of electronic functional elements 500, electronic functional elements 500 are configured to interrupt currently The time delay of operation, wherein electronic functional elements 500 are particularly configured to during the time delay currently run(When It is preceding exemplarily from computing unit 100'')Receive interrupt instruction HLT and interrupted in response to interrupt instruction HLT reception and worked as The time delay of preceding operation, for example, it is comparable described by interrupt request distribution device 100' embodiment with referring to before.
In the another embodiment of electronic functional elements 500, electronic functional elements are at least in part but it is preferred that complete Hardware circuit is configured to entirely, and for example preferably there is about 16nm in use(Nanometer)Structure in the range of about 60nm Hardware circuit is configured in the case of the semiconductor technology of size.
Particularly advantageously, interrupt request distribution device 100,100' and/or electronic functional elements 500 can be integrated into separately In outer unit, such as computing unit, the microcontroller for example with least one calculating kernel, or it is integrated into(Such as SPI or MSC types)In communication module, can also particularly be arranged in in other unit identical Semiconductor substrate.
On the other hand, Fig. 6 shows a kind of microcontroller 1000, interrupt request distribution device 100 is integrated into the microcontroller 1000 In, and Fig. 8 shows another microcontroller 2000 to this, electronic functional elements are integrated into the microcontroller 2000.
Fig. 9 schematically shows a kind of embodiment of the operation method according to the present invention for electronic functional elements 500 Simplified flowchart.Input signal i is received in step 600(Fig. 5), in step 610(Fig. 9)In thus produce it is at least one in Disconnected request signal irq(Fig. 5), postpone interrupt request singal irq in step 620, and in act 630 in output delay Disconnected request signal irq_o.
Can be advantageously with arbitrary as in for example occurring in microcontroller technical field according to the principle of the present invention Disconnected source and/or interruption Su Zuhe.By time delay it is suitable it is previously given can advantageously compensate reached interruption please The just corresponding interrupt requests of high time rate or time colonel asked, this is the application based on interrupt requests of operation(Task)Carry For more free spaces.Make full use of system according to the principles of the present invention can preferably internally the time it is upper balanced and It is derived from the stability improved.Especially it can be prevented from, multiple times, upper simultaneous interrupt requests were mutually blocked.
It can also be used particularly advantageously in following system according to the principle of the present invention, interrupt requests are used in the system Make direct memory access(Direct memory access, direct memory access (DMA), referred to as " DMA ")Trigger(Start Signal).In some communication modules(Such as SPI, MSC)In, communication can be with continuous time frame(Such as per 10ms)Operation is outer The bus user in portion(Such as slave).Here, communication or data transfer task by computing unit such as 10ms time frame Beginning be set to buffer(English:Queue, queue)In.All tasks must be transmitted within 10ms, because queue Refilled in next 10ms frames.Task advantageously by(Such as type " being transmitted ", " new task starts " etc.)In Disconnected request(Interrupt)Finished increasingly by computing unit.Therefore it is likely to occur at the beginning of 10ms frames for system very high Interrupt load because transmission it is almost back-to-back(Bursts)Carry out.Because the generally endless full packing from the time of 10ms frames, Relatively long rest is formed after the transmission until the next 10ms cycles start.At beginning, high fully loaded causes, other operations Task can not terminate in time.High task shake is talked about herein, and the high task shake makes whole system unstable.These Shortcoming can be avoided by using the principle according to the present invention, and its mode is, such as the beginning of the time frame in 10ms is tired out The interrupt requests that product occurs are corrected and therefore at this in time by appropriately selected different time delay T1, T2, T3 More uniformly it is distributed on time frame.

Claims (13)

1. particularly it is used for that to there is at least one calculating kernel(202)Computing unit(200)Interrupt request distribution device (100), wherein the interrupt request distribution device(100)It is used to receive with least one(400)Input interrupt request singal (irq_i)Input(102)It is used to export output interrupt request singal with least one(irq_o)In particular to computing unit (200)Output end(112), wherein the interrupt request distribution device(100)It is configured to according at least one input Disconnected request signal(irq_i)To form at least one output interrupt request singal(irq_o), it is characterised in that the interruption please Seek distributor(100)With deferred mount(120), the deferred mount is configured to that interrupt request singal will be inputted (irq_i)Delay(410)Time delay that can be previously given(T1), to obtain the interrupt request singal of delay(irq_d)And And by the interrupt request singal of delay(irq_d)As output interrupt request singal(irq_o)Output(420)To at least one defeated Go out end(112).
2. interrupt request distribution device according to claim 1(100), wherein the interrupt request distribution device(100) It is used to receive input interrupt request singal with m(irq_i1、irq_i2、irq_i3、irq_i4)Input(102a、 102b、102c、102d), wherein m is more than 1, and/or wherein described interrupt request distribution device(100)It is used to export with n Export interrupt request singal(irq_o)Output end(112a、112b、112c、112d), wherein n is more than 1.
3. the interrupt request distribution device according to one of the claims(100), wherein the interrupt request distribution fills Put(100)With multiple deferred mounts(120a、120b、120c), the deferred mount is configured to that interrupt requests will be inputted Signal(irq_i)Postpone the time delay being same to each other or different to each other respectively(T1、T2、T3).
4. the interrupt request distribution device according to one of the claims(100), it is provided with least one timer Device(130), to determine or previously given one or more time delays.
5. the interrupt request distribution device according to one of the claims(100), wherein the interrupt request distribution fills Put(100)It is configured to from external module(10;200;200')Receive configuration information and/or configuration is at least temporarily locally stored Information, wherein the configuration information particularly characterizes the time delay(T1)Or time delay(T1、T2、T3).
6. the interrupt request distribution device according to one of the claims(100), wherein the interrupt request distribution fills Put(100)It is configured to interrupt the time delay currently run(T1、T2、T3), wherein the interrupt request distribution device (100)Particularly it is configured in the time delay currently run(T1、T2、T3)Period receives interrupt instruction(HLT)And In response to interrupt instruction(HLT)Reception and interrupt the time delay currently run(T1、T2、T3).
7. the interrupt request distribution device according to one of the claims(100), wherein the interrupt request distribution fills Put(100)It is configured at least in part but preferably entirely hardware circuit.
A kind of 8. electronic functional elements(500), the electronic functional elements are configured to as at least one other component (100''), particularly computing unit(200)Calculating kernel(202)Produce at least one interrupt request singal(irq_o), its It is characterised by, the functional unit(500)With for receiving(600)Input signal(i)Input(502)And interrupt requests Signal generation device(510), wherein the interrupt request singal generation device(510)It is configured to according to input signal(i) Produce(610)At least one interrupt request singal(irq), and the functional unit(500)With deferred mount(520), institute Deferred mount is stated to be configured at least one interrupt request singal(irq)Delay(620)Time delay that can be previously given (T1), to obtain the interrupt request singal of delay(irq_d)And by the interrupt request singal of delay(irq_d)As output Interrupt request singal(irq_o)Output(630)To at least one other component(100'';202).
A kind of 9. computing unit(1000;1000';2000), particularly microcontroller, there is at least one calculating kernel, wherein The computing unit(1000;1000';2000)With at least one interrupt requests according to one of the claims point With device(100;100')And/or at least one electronic functional elements(500).
10. particularly it is used for that to there is at least one calculating kernel for running(202)Computing unit(200)Interrupt requests point With device(100)Method, wherein the interrupt request distribution device(100)It is used to receive with least one(400)Input Interrupt request singal(irq_i)Input(102)It is used to export output interrupt request singal with least one(irq_o)Especially It is to computing unit(200)Output end(112), wherein the interrupt request distribution device(100)It is configured to according to extremely Few input interrupt request singal(irq_i)To form at least one output interrupt request singal(irq_o), its feature exists In the interrupt request distribution device(100)By deferred mount(120)Interrupt request singal will be inputted(irq_i)Delay (410)Time delay that can be previously given(T1), to obtain the interrupt request singal of delay(irq_d)And by delay Disconnected request signal(irq_d)As output interrupt request singal(irq_o)Output(420)To at least one output end(112).
11. according to the method for claim 10, wherein from external module(10;200;200')Receive configuration information(140) And/or configuration information is at least temporarily locally stored(140), wherein the configuration information(140)When particularly characterizing the delay Between(T1)Or time delay(T1、T2、T3).
12. the method according to claim 10 or 11, wherein please in the interruption during the time delay currently run Ask and produced in distributor and/or interrupt instruction is received by the interrupt request distribution device(HLT), and wherein in response in Severed finger makes(HLT)Generation and/or reception and interrupt the time delay currently run.
13. for running electronic functional elements(500)Method, the electronic functional elements are configured to be at least one another Outer component(100''), particularly computing unit(200)Calculating kernel(202)Produce at least one interrupt request singal (irq), it is characterised in that:The functional unit(500)With for receiving input signal(i)Input(502)And interruption Request signal generation device(510), wherein the interrupt request singal generation device(510)According to input signal(i)Produce extremely A few interrupt request singal(irq);And it is characterized in that:The functional unit(500)With deferred mount(520), institute Deferred mount is stated by least one interrupt request singal(irq)Postpone time delay that can be previously given(T1), to be prolonged Slow interrupt request singal(irq_d)And by the interrupt request singal of delay(irq_d)As output interrupt request singal (irq_o)It is output at least one other component(100'';202).
CN201710564889.XA 2016-07-13 2017-07-12 Interrupt request distribution device and method for operating same Active CN107621974B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE102016212808.6 2016-07-13
DE102016212808.6A DE102016212808A1 (en) 2016-07-13 2016-07-13 Interrupt request distributor and operating method therefor

Publications (2)

Publication Number Publication Date
CN107621974A true CN107621974A (en) 2018-01-23
CN107621974B CN107621974B (en) 2023-11-28

Family

ID=60782486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710564889.XA Active CN107621974B (en) 2016-07-13 2017-07-12 Interrupt request distribution device and method for operating same

Country Status (2)

Country Link
CN (1) CN107621974B (en)
DE (1) DE102016212808A1 (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4495571A (en) * 1979-01-31 1985-01-22 Honeywell Information Systems Inc. Data processing system having synchronous bus wait/retry cycle
CN1200823A (en) * 1995-09-05 1998-12-02 英特尔公司 Dynamic deferred transaction mechanism
WO2003063002A1 (en) * 2002-01-24 2003-07-31 Fujitsu Limited Computer for determining interruption delay dynamically
US20040088461A1 (en) * 2002-11-06 2004-05-06 Mitsubishi Denki Kabushiki Kaisha Microcomputer
CN1698034A (en) * 2003-06-03 2005-11-16 索尼株式会社 Information processing device, process control method, and computer program
JP2006185365A (en) * 2004-12-28 2006-07-13 Renesas Technology Corp Semiconductor device and debugging method
JP2008217821A (en) * 2008-04-25 2008-09-18 Fujitsu Ltd Computer for dynamically determining interrupt delay
US20100241777A1 (en) * 2009-03-23 2010-09-23 Arm Limited Power efficient interrupt detection
CN102768648A (en) * 2011-05-02 2012-11-07 快捷半导体(苏州)有限公司 Low latency interrupt collector
CN103197966A (en) * 2011-11-02 2013-07-10 瑞萨电子株式会社 Semiconductor data processing device, time-triggered communication system, and communication system
CN103226494A (en) * 2012-01-30 2013-07-31 三星电子株式会社 A method for distributing multiple interrupt, a interrupt request signal distributing circuit, and a on-chip system
CN105024777A (en) * 2015-07-29 2015-11-04 上海新时达电气股份有限公司 Servo driver synchronized method based on Ether CAT real-time Ethernet

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4495571A (en) * 1979-01-31 1985-01-22 Honeywell Information Systems Inc. Data processing system having synchronous bus wait/retry cycle
CN1200823A (en) * 1995-09-05 1998-12-02 英特尔公司 Dynamic deferred transaction mechanism
WO2003063002A1 (en) * 2002-01-24 2003-07-31 Fujitsu Limited Computer for determining interruption delay dynamically
US20040236875A1 (en) * 2002-01-24 2004-11-25 Fujitsu Limited Computer for dynamically determining interrupt delay
US20040088461A1 (en) * 2002-11-06 2004-05-06 Mitsubishi Denki Kabushiki Kaisha Microcomputer
JP2004157730A (en) * 2002-11-06 2004-06-03 Renesas Technology Corp Microcomputer
CN1698034A (en) * 2003-06-03 2005-11-16 索尼株式会社 Information processing device, process control method, and computer program
JP2006185365A (en) * 2004-12-28 2006-07-13 Renesas Technology Corp Semiconductor device and debugging method
JP2008217821A (en) * 2008-04-25 2008-09-18 Fujitsu Ltd Computer for dynamically determining interrupt delay
US20100241777A1 (en) * 2009-03-23 2010-09-23 Arm Limited Power efficient interrupt detection
CN102768648A (en) * 2011-05-02 2012-11-07 快捷半导体(苏州)有限公司 Low latency interrupt collector
CN103197966A (en) * 2011-11-02 2013-07-10 瑞萨电子株式会社 Semiconductor data processing device, time-triggered communication system, and communication system
CN103226494A (en) * 2012-01-30 2013-07-31 三星电子株式会社 A method for distributing multiple interrupt, a interrupt request signal distributing circuit, and a on-chip system
CN105024777A (en) * 2015-07-29 2015-11-04 上海新时达电气股份有限公司 Servo driver synchronized method based on Ether CAT real-time Ethernet

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张根宝;陈文凯;张震强;: "基于ARM Cortex-M3内核微控制器的智能库容检测系统", 化工自动化及仪表, no. 04 *
袁红林, 徐晨: "一种应用于嵌入式实时系统的中断控制器研究", 南通工学院学报(自然科学版), no. 03 *

Also Published As

Publication number Publication date
DE102016212808A1 (en) 2018-01-18
CN107621974B (en) 2023-11-28

Similar Documents

Publication Publication Date Title
US9772879B2 (en) System and method for isolating I/O execution via compiler and OS support
US7660916B2 (en) Emulation of independent active DMA channels with a single DMA capable bus master hardware and firmware
CN102750132B (en) Thread control and call method for multithreading virtual assembly line processor, and processor
CN100483351C (en) Information processing device, process control method, and computer program
US20200089525A1 (en) Switch device, switching method, and computer program product
EP2031510A1 (en) Semiconductor integrated circuit
CN103389913B (en) A kind of Real-time Interrupt Processing method for linux system
US20170329632A1 (en) Device scheduling method, task manager and storage medium
CN102722402B (en) Processing system and method for dispatching multiple tasks in real time in non-preemptive mode
CN106062648A (en) Controller
CN102576315B (en) Computer system
CN103870337A (en) ESB assembly realization method based on SEDA
JP5726006B2 (en) Task and resource scheduling apparatus and method, and control apparatus
US9677920B2 (en) Automation device and method for reducing jitter
US8060769B2 (en) Duplexed field controller
CN107621974A (en) Interrupt request distribution device and the operation method to this
WO2017203776A1 (en) Motor drive system, motor control system, and self-propelled robot
CN105302640B (en) A kind of management of timeslice and control device and its management and control method
US9442761B2 (en) Sequence controller
CN110716791B (en) Real-time virtualization system and execution method thereof
CN110825596B (en) Efficient performance monitoring of integrated circuits with distributed clocks
CN114546926A (en) Core cluster synchronization, control method, data processing method, core, device, and medium
EP1450255B1 (en) Microcontroller device for complex processing procedures and corresponding interrupt management process
CN112579317A (en) System broadcast message processing method and system
WO2024004414A1 (en) Information processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant