WO2020258200A1 - Interrupt information storage device and removable platform - Google Patents

Interrupt information storage device and removable platform Download PDF

Info

Publication number
WO2020258200A1
WO2020258200A1 PCT/CN2019/093496 CN2019093496W WO2020258200A1 WO 2020258200 A1 WO2020258200 A1 WO 2020258200A1 CN 2019093496 W CN2019093496 W CN 2019093496W WO 2020258200 A1 WO2020258200 A1 WO 2020258200A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
interrupt
register
enable signal
circuit
Prior art date
Application number
PCT/CN2019/093496
Other languages
French (fr)
Chinese (zh)
Inventor
李飞
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980011957.7A priority Critical patent/CN111699474A/en
Priority to PCT/CN2019/093496 priority patent/WO2020258200A1/en
Publication of WO2020258200A1 publication Critical patent/WO2020258200A1/en

Links

Images

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

Definitions

  • the embodiment of the present invention relates to the technical field of interrupt processing, in particular to an interrupt information storage device and a movable platform.
  • the interrupt sequence of the multiple interrupt signals is sometimes indispensable, and needs to be locked in the configuration register and read out through the software interface.
  • the existing method of obtaining interrupt signals in sequence usually uses multiple interrupt signals to share a counter. When each interrupt is latched, the counter value at this time is also latched together, and each interrupt latched counter value can be obtained by comparing each interrupt.
  • the sequence of interrupt signal interruption usually uses multiple interrupt signals to share a counter.
  • the existing method for obtaining the interrupt signal sequence relies on the counter. If the counter count overflows, the sequence of the latch will not be the true sequence, resulting in an error in the sequence of the interrupt signal.
  • the embodiment of the present invention provides an interrupt information storage device and a movable platform to store state information of the plurality of interrupt signals when the preset interrupt signal of the plurality of interrupt signals changes, so as to be based on the state of the plurality of interrupt signals
  • the information analyzes the sequence of the interrupt signal, improves the accuracy of the sequence acquisition of the interrupt signal, and avoids the risk of the sequence acquisition of the interrupt signal.
  • the first aspect of the embodiments of the present invention provides an interrupt information storage device, which includes a sampling circuit and a storage circuit connected to each other:
  • the sampling circuit is used to receive a plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, respond to the plurality of interrupt signals according to the first clock signal Sampling the status information of the multiple interrupt signals, and sending the status information of the multiple interrupt signals to the storage circuit;
  • the storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
  • the frequency of the first clock signal is greater than the frequency of the second clock signal.
  • a second aspect of the embodiments of the present invention provides a movable platform, including a sensor system, a power system, and the interrupt state storage device as described in the first aspect, and the sensor system is used to collect state information of the movable platform And/or environmental information; the power system is used to provide power for the movable platform;
  • the sensor system and the power system are also used to generate a plurality of interrupt signals to send to the interrupt state storage device;
  • the interrupted state storage device includes a sampling circuit and a storage circuit connected to each other;
  • the sampling circuit is configured to receive the plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, according to the first clock signal, the plurality of Sampling the status information of the interrupt signal, and sending the status information of the multiple interrupt signals to the storage circuit;
  • the storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
  • the frequency of the first clock signal is greater than the frequency of the second clock signal.
  • the sampling circuit when the preset interrupt signal in the multiple interrupt signals changes, the sampling circuit responds to the multiple interrupt signals according to the first clock signal with a relatively high frequency.
  • the status information of the multiple interrupt signals is sampled, and the status information of the multiple interrupt signals is sent to the storage circuit.
  • the storage circuit stores the status information of the multiple interrupt signals according to the relatively low-frequency second clock signal, so as to realize the
  • the preset interrupt signal changes the status information of the multiple interrupt signals is latched, so as to analyze the sequence of the interrupt signals according to the status information of the multiple interrupt signals, improve the accuracy of the sequence acquisition of the interrupt signals, and avoid the sequence of the interrupt signals Risk of getting errors.
  • Figure 1 is a structural diagram of an interrupt information storage device provided by an embodiment of the present invention.
  • FIG. 2 is a structural diagram of an interrupt information storage device provided by another embodiment of the present invention.
  • FIG. 3 is a structural diagram of an interrupt information storage device provided by another embodiment of the present invention.
  • FIG. 4 is a timing diagram of signals in an interrupt information storage device provided by an embodiment of the present invention.
  • Fig. 5 is a movable platform provided by an embodiment of the present invention.
  • a component when considered to be "connected" to another component, it may be directly connected to another component or a centered component may exist at the same time.
  • FIG. 1 is a structural diagram of an interrupt information storage device provided by an embodiment of the present invention. As shown in FIG. 1, the interrupt information storage device includes a sampling circuit 10 and a storage circuit 20 connected to each other.
  • the sampling circuit 10 is used to receive multiple interrupt signals (for example, the multiple interrupt signals shown in FIG. 1 may include interrupt signals a, b, and c) and a first clock signal; among the multiple interrupt signals
  • the multiple interrupt signals shown in FIG. 1 may include interrupt signals a, b, and c
  • a first clock signal for example, the multiple interrupt signals shown in FIG. 1 may include interrupt signals a, b, and c
  • the status information of the multiple interrupt signals is sampled according to the first clock signal, and the Sending the status information of the multiple interrupt signals to the storage circuit 20;
  • the storage circuit 20 is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
  • the frequency of the first clock signal is greater than the frequency of the second clock signal. That is, the sampling circuit 10 works in the high-speed clock domain, and the storage circuit 20 works in the low-speed clock domain (the height of the clock domain in this embodiment is relative).
  • the sampling circuit 10 working in the high-speed clock domain can sample the status information of the interrupt signals a, b, and c according to the first clock signal, for example, the interrupt signal a is generated.
  • the status information of the interrupt signals a, b, and c sampled by the sampling circuit 10 is 100, where 1 indicates that the interrupt has occurred, and 0 indicates that the interrupt has not occurred.
  • the interrupt signal a has interrupted before the interrupt signals b and c; if the interrupt signal c has been interrupted and the interrupt signal b has not been interrupted, the status information of the interrupt signals a, b, and c obtained by the sampling circuit 10 is 101.
  • the interrupt signal a occurs after the interrupt signal c and before the interrupt signal b. Since the sampling circuit 10 works in the high-speed clock domain, its sampling time granularity is finer, and the status information of each interrupt signal can be collected more accurately when the preset interrupt signal is interrupted, so that each interrupt signal can be distinguished more accurately The order of precedence. Further, the sampling circuit 10 can also latch the status information.
  • the storage circuit 20 stores the state information of a plurality of interrupt signals according to the second clock signal.
  • the storage circuit 20 in this embodiment can also provide an output port, and other analysis devices can read the status information of multiple interrupt signals latched in the storage circuit 20 through the output interface, and then can analyze the status information of the multiple interrupt signals , The sequence of acquiring the multiple interrupt signals, since the frequency of reading data by the analysis device is not high, the storage circuit 20 only needs to work in the low-speed clock domain.
  • the storage circuit 20 can realize the cross-domain crossing of multiple interrupt signal status information from the high-speed clock domain where the sampling circuit 10 is located to the low-speed clock domain where the storage circuit 20 is located, and lock it in the storage circuit 20 for analysis The device reads.
  • the interruption status storage device may further include a processor; the processor is configured to access the storage circuit to obtain status information of the multiple interrupt signals. That is, the processor reads the status information of the multiple interrupt signals latched in the storage circuit 20 through the output port provided by the storage circuit 20, and then can analyze the status information of the multiple interrupt signals to obtain the information of the multiple interrupt signals. Priority.
  • the sampling circuit 10 when the preset interrupt signal of the multiple interrupt signals changes through the sampling circuit 10, the sampling circuit 10 responds to the multiple interrupt signals according to the first clock signal with a relatively high frequency. The status information is sampled, and the status information of the multiple interrupt signals is sent to the storage circuit 20.
  • the storage circuit 20 stores the status information of the multiple interrupt signals according to the relatively low-frequency second clock signal, so as to achieve When the preset interrupt signal changes, the status information of the multiple interrupt signals is latched, so as to analyze the sequence of each interrupt signal according to the status information of the multiple interrupt signals, improve the accuracy of the sequence acquisition of the interrupt signals, and avoid the interruption signal Risk of getting the wrong order.
  • FIG. 2 is a structural diagram of interrupt information storage provided by another embodiment of the present invention; based on the technical solution provided by the embodiment shown in FIG. 1, the interrupt information storage device further includes a first enable signal generator 30, The first enable signal generator 30 is connected to the sampling circuit 10;
  • the first enable signal generator 30 is configured to receive the preset interrupt signal; when the preset interrupt signal has a state change, generate a first enable signal and send it to the sampling circuit 10;
  • the sampling circuit 10 is specifically configured to sample the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
  • the first user determines whether the preset interrupt signal changes. It can be realized by the signal generator 30. Specifically, by inputting the preset interrupt signal into the first enable signal generator 30, it is possible to determine whether the preset interrupt signal has changed according to the first enable signal generator 30, and when it is determined that the preset interrupt signal has changed At this time, the first enable signal is generated and sent to the sampling circuit 10, and the sampling circuit 10 samples the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
  • the first enable signal generator 30 is configured to generate the first enable signal according to the transition edge of the preset interrupt signal.
  • the transition of the preset interrupt signal is used as a sign of the change of the preset interrupt signal
  • the first enable signal can generate the first enable signal according to the transition edge of the preset interrupt signal
  • the first enable signal generator 30 may specifically include a first register 31, a first inverter 32, and a first AND circuit 33 connected in sequence;
  • the first register 31 is used to generate the preset interrupt signal after delay processing, and output the first delay signal to the first inverter 32;
  • the first inverter 32 is used to invert the first delay signal to generate a first inverted signal, and output to the first AND circuit 33 via the first inverted signal ;
  • the first AND circuit 33 is configured to receive the first reverse signal and the preset interrupt signal, perform a logical AND operation on the first reverse signal and the preset interrupt signal, and generate the The first enable signal, and the first enable signal is output to the sampling circuit 10.
  • the first register 31 delays the preset interrupt signal, when the preset interrupt signal transitions, for example, from 0 ⁇ 1, the output of the first register 31 is delayed due to the delay.
  • the first delay signal has not yet become 1, so the first delay signal is 0 at this time.
  • the first reverse signal is 1, and it is input to the first AND circuit 33 at this time.
  • the signal includes: a preset interrupt signal and a first reverse signal, both of which are 1, so the first AND circuit 33 outputs 1 after performing a logical AND operation, that is, outputs the first enable signal.
  • the sampling circuit 10 includes a plurality of first selectors 111, 112, 113 and a plurality of second registers 121, 122, 123;
  • a selector 111, 112, 113 and a plurality of second registers 121, 122, 123 are connected in a one-to-one correspondence, and the plurality of interrupt signals are input to the plurality of first selectors 111, 112, 113 in a one-to-one correspondence;
  • the first enable signal generator 30 is connected to the first selectors 111, 112, and 113; in the following embodiments, only one set of corresponding first selectors and second registers is used for description, for example, the first selector 111 As with the second register 121, other corresponding first selectors and second registers have the same working principles.
  • the first selector 111 is configured to send the state information of the interrupt signal a to the second register 121 according to the first enable signal;
  • the second register 121 is used to receive the first clock signal, latch the state information of the interrupt signal a according to the first clock signal, and send the state information of the interrupt signal a to The storage circuit 20.
  • the first enable signal generator 30 when the first enable signal generator 30 outputs the first enable signal to each first selector 111, the first selector 111 responds to the first enable signal and responds to the input to the first selector 111
  • the interrupt signal 111 outputs the status information of the interrupt signal a to the second register 121, which is latched by the second register 121 and sent to the storage circuit 20.
  • the signal timing diagram of this embodiment can be seen in FIG. 4.
  • the state information of the interrupt signal b is 0, and the state information of the interrupt signal c is 1, through the first selector 111, 112 and 113 sample the interrupt signals a, b, and c respectively, and obtain the status information of the interrupt signals a, b, and c as 101.
  • the second register 121 is also used to send the state information currently stored in the second register 121 to the first selector 111;
  • the first selector 111 is also configured to select the state information of the interrupt signal a and the state information currently stored in the second register 121 according to the first enable signal, and output the interrupt signal Status information to the second register 121;
  • the second register 121 is also used to latch the state information of the interrupt signal according to the first clock signal.
  • the first selector 111 is a one-of-two selector, and its two data input terminals respectively input an interrupt signal and the state information currently stored in the second register 121, and the first enable signal is input to the first selector After 111, the first selector 111 outputs the status information of the interrupt signal a to the second register 121; if the first selector 111 does not input the first enable signal, the first selector 111 selects the second register 121 to currently store The status information is output to the second register 121, that is, the data in the second register 121 has been kept unchanged, so that the first selector 111 after receiving the first enable signal, according to the first enable signal The status information of the interrupt signal a is sent to the second register 121 to change the status information currently stored in the second register 121.
  • the interrupt information storage device further includes a plurality of interrupt signal registers 51, 52, 53, a plurality of the interrupt signal registers 51, 52, 53 and a plurality of the first selectors 111, 112, 113 one-to-one correspondence connection;
  • the interrupt signal registers 51, 52, and 53 are used to receive the first clock signal and respectively output corresponding interrupt signals a, b, and c according to the first clock signal.
  • interrupt signal register multiple interrupt signals are provided by the interrupt signal register, and each interrupt signal register outputs an interrupt signal, and the interrupt signal in the interrupt signal register can be input into the interrupt signal register by one or more interrupt sources.
  • interrupt source itself has an interrupt signal register
  • the interrupt information storage device of this embodiment may not set the interrupt signal register.
  • the sampling circuit 10, the first enable signal generator 30 and the interrupt signal register can work under the same clock signal.
  • the interrupt information storage device may further include a second enable signal generator 40, and the second enable signal generator 40 and the storage circuit 20 connection;
  • the second enable signal generator 40 is configured to receive the preset interrupt signal; generate a second enable signal according to the preset interrupt signal, and send it to the storage circuit 20;
  • the storage circuit 20 is specifically configured to perform a storage operation on the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
  • the storage circuit 20 needs to store the status information of the interrupt signal sent by the sampling circuit 10. Since the sampling circuit 10 and the storage circuit 20 are often connected, the sampling circuit 10 will continue to store the current information in the second register.
  • the status information is sent to the storage circuit 20, and the storage circuit 20 is to latch the status information of each interrupt signal when the preset interrupt signal changes, so it is necessary to know the time when the preset interrupt signal changes.
  • the preset interrupt signal is input into the second enable signal generator 40, so that the second enable signal generator 40 determines the time when the preset interrupt signal changes according to the preset interrupt signal. After the change occurs, the second enable signal is generated, so that the storage circuit 20 stores the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
  • the second enable signal generator 40 is used to:
  • the second enable signal is generated according to the transition edge of the preset interrupt signal.
  • the transition of the preset interrupt signal is used as a sign of the change of the preset interrupt signal
  • the second enable signal can generate the second enable signal according to the transition edge of the preset interrupt signal
  • the second enable signal generator 40 works under the second clock signal
  • the second enable signal generator 40 is used for:
  • the second enable signal is generated according to its transition edge.
  • the sampling circuit 10 works under the first clock signal and the storage circuit 20 works under the second clock signal
  • the second enable signal generator 40 also needs to work in the same clock domain as the storage circuit 20, that is, the second enable signal generator 40 works under the second clock signal
  • the transition edge of the preset interrupt signal after the cross-clock domain is determined, and the second enable signal is generated according to the transition edge.
  • the second enable signal generator 40 includes a third register 41, a fourth register 42, a second inverter 43, and a second and Gate circuit 44, and the third register 41 is also connected to the second AND gate circuit 44; wherein, the third register 41 and the fourth register 42 work in the second clock domain;
  • the third register 41 is used to perform a cross-clock domain operation on the preset interrupt signal, generate a first cross-domain signal, and output the first cross-domain signal to the fourth register 42 and the second Two AND gate circuit 44;
  • the fourth register 42 is used to generate a second delay signal after performing delay processing on the fourth register 42 and output the second delay signal to the second inverter 43;
  • the second inverter 43 is configured to invert the second delay signal to generate a second inverted signal, which is output to the second AND circuit 44 via the second inverted signal ;
  • the second AND circuit 44 is configured to receive the second inverted signal and the first cross-domain signal, and perform a logical AND operation on the second inverted signal and the first cross-domain signal to generate The second enable signal and output the second enable signal to the storage circuit 20.
  • the third register 41 is used to implement the preset interrupt signal to cross clock domains, where the third register 41 can include more than two registers, and the preset interrupt signal is reduced by more than two tapping cross domains.
  • the influence of metastability when crossing clock domains improves the stability of the preset interrupt signal (that is, the first cross-domain signal) after crossing domains.
  • the functions of the fourth register 42, the second inverter 43, and the second AND circuit 44 are similar to those of the above-mentioned first register 31, the first inverter 32, and the first AND circuit 33.
  • the specific , The fourth register 42 delays the first cross-domain signal.
  • the fourth register 42 has a second delay due to the delay.
  • the signal has not changed to 1, so the second delay signal is 0 at this time.
  • the second reverse signal is 1.
  • the signal input to the second AND circuit 44 includes:
  • the first cross-domain signal and the second inverted signal are both 1, so the second AND circuit 44 performs a logical AND operation and outputs 1, that is, outputs the second enable signal.
  • the storage circuit 20 includes a plurality of second selectors 211, 212, 213 and a plurality of fifth registers 221, 222, and 223;
  • the two selectors 211, 212, 213 and the plurality of fifth registers 221, 222, 223 are connected in a one-to-one correspondence, and the state information of the plurality of interrupt signals sent by the sampling circuit 10 is input into the plurality of second Selectors 211, 212, and 213;
  • the second enable signal generator 40 is connected to the second selectors 211, 212, and 213; in the following embodiments, only one set of the corresponding second selector and fifth
  • the registers are described, for example, the second selector 211 and the fifth register 221, and other corresponding second selectors and the fifth register work in the same principle.
  • the second selector 211 is configured to send the state information of the interrupt signal to the fifth register 221 according to the second enable signal;
  • the fifth register 221 is configured to receive the second clock signal, and latch the state information of the interrupt signal a according to the second clock signal.
  • the second enable signal generator 40 when the second enable signal generator 40 outputs the second enable signal to the second selector 211, the second selector 211 responds to the second enable signal according to the input to the second selector 211
  • the interrupt signal is output to the fifth register 221 and the status information of the interrupt signal a is latched by the fifth register 221.
  • the fifth register 221 is also used to send the status information currently stored in the fifth register 221 to the second selector 211;
  • the second selector 211 is further configured to select the status information of the interrupt signal a and the status information currently stored in the fifth register 221 according to the second enable signal, and output the interrupt State information of signal a to the fifth register 221;
  • the fifth register 221 is also used to latch the state information of the interrupt signal a according to the second clock signal.
  • the second selector 211 is a one-of-two selector, and its two data input terminals respectively input the status information of the interrupt signal a sent by the sampling circuit 10 (that is, the interrupt signal sent by the second register 121). a) and the status information currently stored in the fifth register 221.
  • the second selector 211 After the second enable signal is input to the second selector 211, the second selector 211 outputs the status information of the interrupt signal a to the fifth register 221; If the second selector 211 does not input the second enable signal, the second selector 211 selects the state information currently stored in the fifth register 221 to output to the fifth register 221, that is, the data in the fifth register 221 remains unchanged.
  • the second selector 211 sends the status information of the interrupt signal a to the fifth register 221 according to the second enable signal, and changes the status information currently stored in the fifth register 221 .
  • the storage circuit can store the state information of the interrupt signal sent by the sampling circuit, and finally the state information of the interrupt signal a, b, c stored in the storage circuit is 101.
  • the time when the second selectors 211, 212, and 213 receive the status information of the interrupt signal sent by the sampling circuit 10 of the second register is earlier than that of the second selector 211, 212, 213 time when the second enable signal is received.
  • the second selectors 211, 212, and 213 cannot send the status information of the interrupt signal to the fifth registers 221, 222, and 223 according to the second enable signal, so that the storage circuit 20 cannot accurately store each preset interrupt signal when the interrupt signal changes.
  • the status information of the interrupt signal in order to prevent the sampling circuit 10 from transmitting the status information of the interrupt signal to the second selectors 211, 212, 213 when the second selectors 211, 212, and 213 receive the second enable signal.
  • this embodiment requires that the second selectors 211, 212, 213 receive the status information of the interrupt signal sent by the sampling circuit 10 in the second register earlier than the second selectors 211, 212, 213 The time when the second enable signal is received, that is, the state information that needs to interrupt the signal first reaches the second selectors 211, 212, 213, and then the second enable signal reaches the second selectors 211, 212, 213.
  • the interrupt information storage device shown in FIGS. 2 and 3 in the above embodiment only deals with the case where the preset interrupt signal is the interrupt signal a, the first enable signal generator 30 and the second enable signal generator 40 can only generate an enable signal when the state of the interrupt signal a changes.
  • the sampling circuit 10 and the storage circuit 20 only sample and store the state information of the interrupt signals a, b, and c when the interrupt signal a changes state.
  • the enable signal generator 30, the second enable signal generator 40, the sampling circuit 10, and the storage circuit 20 are not applicable to the situation where the interrupt signal b and the interrupt signal c undergo a state change.
  • the preset interrupt signal is the interrupt signal b or c
  • a set of first enable signal generator, second enable signal generator, sampling circuit, and storage circuit need to be separately provided. That is, if you need to completely monitor the status information of each interrupt signal when the status of the three interrupt signals a, b, and c change, you need to set up three sets of the first enable signal generator, the second enable signal generator, and the sampling
  • the circuit and the storage circuit respectively record the state information of each interrupt signal when the state of the interrupt signal a changes, the state information of each interrupt signal when the state of the interrupt signal b changes, and the state information of each interrupt signal when the state of the interrupt signal c changes.
  • the specific working principles of the other two sets are the same as in the above-mentioned embodiment, and will not be repeated here.
  • FIG. 5 is a structural diagram of a movable platform provided by an embodiment of the present invention.
  • the movable platform 70 includes a sensor system 71, a power system 72, and an interruption state storage device 73 (as described in the above embodiment ), the sensor system 71 is used to collect status information and/or environmental information of the movable platform 70; the power system 72 is used to provide power for the movable platform 70;
  • the sensor system 71 and the power system 72 are also used to generate multiple interrupt signals and send them to the interrupt state storage device 73;
  • the interruption state storage device 73 includes a sampling circuit and a storage circuit connected to each other;
  • the sampling circuit is configured to receive the plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, according to the first clock signal, the plurality of Sampling the status information of the interrupt signal, and sending the status information of the multiple interrupt signals to the storage circuit;
  • the storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
  • the frequency of the first clock signal is greater than the frequency of the second clock signal.
  • the interruption state storage device 73 further includes a first enable signal generator, and the first enable signal generator is connected to the sampling circuit;
  • the first enable signal generator is configured to receive the preset interrupt signal; when the preset interrupt signal changes state, generate a first enable signal and send it to the sampling circuit;
  • the sampling circuit is specifically configured to sample the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
  • the first enable signal generator is used for:
  • the first enable signal is generated according to the transition edge of the preset interrupt signal.
  • the first enable signal generator includes a first register, a first inverter, and a first AND circuit connected in sequence;
  • the first register is used to generate a first delay signal after performing delay processing on the preset interrupt signal, and output the first delay signal to the first inverter;
  • the first inverter is used to invert the first delay signal to generate a first inverted signal, and output to the first AND circuit via the first inverted signal;
  • the first AND circuit is configured to receive the first reverse signal and the preset interrupt signal, perform a logical AND operation on the first reverse signal and the preset interrupt signal, and generate the first An enable signal, and output the first enable signal to the sampling circuit.
  • the sampling circuit includes multiple first selectors and multiple second registers; the multiple first selectors and multiple second registers are connected in a one-to-one correspondence, and the multiple One interrupt signal is inputted into the plurality of first selectors one by one; the first enable signal generator is connected to the first selector;
  • the first selector is configured to send the status information of the interrupt signal to the second register according to the first enable signal
  • the second register is used to receive the first clock signal, latch the state information of the interrupt signal according to the first clock signal, and send the state information of the interrupt signal to the storage Circuit.
  • the second register is also used to send the state information currently stored in the second register to the first selector
  • the first selector is further configured to select the status information of the interrupt signal and the status information currently stored in the second register according to the first enable signal, and output the status information of the interrupt signal To the second register;
  • the second register is also used to latch the state information of the interrupt signal according to the first clock signal.
  • the interrupt status storage device 73 further includes a plurality of interrupt signal registers, and the plurality of interrupt signal registers are connected to the plurality of first selectors in a one-to-one correspondence;
  • the interrupt signal register is used to receive the first clock signal and output a corresponding interrupt signal according to the first clock signal.
  • the interrupt state storage device 73 further includes a second enable signal generator, and the second enable signal generator is connected to the storage circuit;
  • the second enable signal generator is configured to receive the preset interrupt signal; generate a second enable signal according to the preset interrupt signal, and send it to the storage circuit;
  • the storage circuit is specifically configured to store the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
  • the second enable signal generator is used for:
  • the second enable signal is generated according to the transition edge of the preset interrupt signal.
  • the second enable signal generator works under the second clock signal
  • the second enable signal generator is used for:
  • the second enable signal is generated according to its transition edge.
  • the second enable signal generator includes a third register, a fourth register, a second inverter, and a second AND circuit connected in sequence, and the third register is also Connected to the second AND circuit; wherein the third register and the fourth register work in the second clock domain;
  • the third register is used to perform cross-clock domain operations on the preset interrupt signal, generate a first cross-domain signal, and output the first cross-domain signal to the fourth register and the second AND Gate circuit
  • the fourth register is used to generate a second delay signal after performing delay processing on the fourth register, and output the second delay signal to the second inverter;
  • the second inverter is configured to invert the second delay signal to generate a second inverted signal, and output to the second AND circuit via the second inverted signal;
  • the second AND circuit is used to receive the second reverse signal and the first cross-domain signal, perform a logical AND operation on the second reverse signal and the first cross-domain signal, and generate the The second enable signal, and output the second enable signal to the storage circuit.
  • the storage circuit includes multiple second selectors and multiple fifth registers; the multiple second selectors and multiple fifth registers are connected in a one-to-one correspondence, and the sampling The state information of the multiple interrupt signals sent by the circuit is input into the multiple second selectors in a one-to-one correspondence;
  • the second enable signal generator is connected to the second selector
  • the second selector is configured to send the status information of the interrupt signal to the fifth register according to the second enable signal
  • the fifth register is used for receiving the second clock signal, and latching the state information of the interrupt signal according to the second clock signal.
  • the fifth register is further configured to send the status information currently stored in the fifth register to the second selector;
  • the second selector is further configured to select the status information of the interrupt signal and the status information currently stored in the fifth register according to the second enable signal, and output the status of the interrupt signal Information to the fifth register;
  • the fifth register is also used to latch the state information of the interrupt signal according to the second clock signal.
  • the time when the second selector receives the status information of the interrupt signal sent by the sampling circuit of the second register is earlier than when the second selector receives the second Time when the signal is enabled.
  • the movable platform 70 further includes a processor 74;
  • the processor 74 is configured to access the storage circuit and obtain status information of the multiple interrupt signals.
  • the movable platform 70 includes at least one of the following:
  • Unmanned aerial vehicles Remote control vehicles, robots.
  • the sampling circuit in the interrupt state storage device is based on the relatively high frequency
  • a clock signal samples the status information of the multiple interrupt signals, and sends the status information of the multiple interrupt signals to the storage circuit, and the storage circuit analyzes the status of the multiple interrupt signals according to the relatively low frequency second clock signal Information is stored, so that the status information of the multiple interrupt signals can be latched when the preset interrupt signal changes, so as to analyze the sequence of each interrupt signal according to the status information of the multiple interrupt signals, and improve the sequence acquisition of interrupt signals The accuracy of the signal is avoided to avoid the risk of obtaining the wrong sequence of interrupted signals.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

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

Provided are an interrupt information storage device and a removable platform, when the preset interrupt signal in the multiple interrupt signals changes, the sampling circuit samples the status information of the multiple interrupt signals according to a first clock signal with relatively high frequency, and sends the status information of the multiple interrupt signals to the storage circuit, the storage circuit stores the status information of the multiple interrupt signals according to a second clock signal with relatively low frequency, so that the status information of the multiple interrupt signals can be latched when the preset interrupt signal changes, so as to analyze the sequence of each interrupt signal according to the status information of the multiple interrupt signals, improving the accuracy of the sequence acquisition of interrupt signals and avoiding the risk of incorrect sequence acquisition of interrupt signals.

Description

中断信息存储设备及可移动平台Interruption of information storage devices and removable platforms 技术领域Technical field
本发明实施例涉及中断处理技术领域,尤其涉及一种中断信息存储设备及可移动平台。The embodiment of the present invention relates to the technical field of interrupt processing, in particular to an interrupt information storage device and a movable platform.
背景技术Background technique
当中断源存在多个中断信号输出时,多个中断信号的中断先后顺序有时也是不可缺失的,需要锁存在配置寄存器中,通过软件接口读出。When the interrupt source has multiple interrupt signal outputs, the interrupt sequence of the multiple interrupt signals is sometimes indispensable, and needs to be locked in the configuration register and read out through the software interface.
现有的中断信号的顺序获取方法通常采用多个中断信号共用一个计数器,每个中断锁存时候,将此时的计数器值也一起锁存,比较每个中断锁存的计数器值即可得到各个中断信号中断的先后顺序。The existing method of obtaining interrupt signals in sequence usually uses multiple interrupt signals to share a counter. When each interrupt is latched, the counter value at this time is also latched together, and each interrupt latched counter value can be obtained by comparing each interrupt. The sequence of interrupt signal interruption.
现有的中断信号的顺序获取方法,依赖于计数器,若计数器计数溢出,则会导致锁存的先后顺序并不为真实的先后顺序,导致中断信号的顺序获取错误。The existing method for obtaining the interrupt signal sequence relies on the counter. If the counter count overflows, the sequence of the latch will not be the true sequence, resulting in an error in the sequence of the interrupt signal.
发明内容Summary of the invention
本发明实施例提供一种中断信息存储设备及可移动平台,以在多个中断信号中的预设中断信号发生变化时存储该多个中断信号的状态信息,以便根据该多个中断信号的状态信息分析中断信号的顺序,提高中断信号的顺序获取的准确性,避免中断信号的顺序获取错误的风险。The embodiment of the present invention provides an interrupt information storage device and a movable platform to store state information of the plurality of interrupt signals when the preset interrupt signal of the plurality of interrupt signals changes, so as to be based on the state of the plurality of interrupt signals The information analyzes the sequence of the interrupt signal, improves the accuracy of the sequence acquisition of the interrupt signal, and avoids the risk of the sequence acquisition of the interrupt signal.
本发明实施例第一方面提供一种中断信息存储设备,包括相互连接的采样电路和存储电路:The first aspect of the embodiments of the present invention provides an interrupt information storage device, which includes a sampling circuit and a storage circuit connected to each other:
所述采样电路用于,接收多个中断信号和第一时钟信号;在所述多个中断信号中的预设中断信号发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样,并将所述多个中断信号的状态信息发送至所述存储电路;The sampling circuit is used to receive a plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, respond to the plurality of interrupt signals according to the first clock signal Sampling the status information of the multiple interrupt signals, and sending the status information of the multiple interrupt signals to the storage circuit;
所述存储电路用于,接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;The storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。Wherein, the frequency of the first clock signal is greater than the frequency of the second clock signal.
本发明实施例第二方面提供一种可移动平台,包括传感器系统、动力系统、以及如第一方面所述的中断状态存储设备,所述传感器系统,用于采集所述可移动平台的状态信息和/或环境信息;所述动力系统,用于为所述可移动平台提供动力;A second aspect of the embodiments of the present invention provides a movable platform, including a sensor system, a power system, and the interrupt state storage device as described in the first aspect, and the sensor system is used to collect state information of the movable platform And/or environmental information; the power system is used to provide power for the movable platform;
所述传感器系统和所述动力系统还用于生成多个中断信号发送至所述中断状态存储设备;The sensor system and the power system are also used to generate a plurality of interrupt signals to send to the interrupt state storage device;
所述中断状态存储设备包括相互连接的采样电路和存储电路;The interrupted state storage device includes a sampling circuit and a storage circuit connected to each other;
所述采样电路用于,接收所述多个中断信号和第一时钟信号;在所述多个中断信号中的预设中断信号发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样,并将所述多个中断信号的状态信息发送至所述存储电路;The sampling circuit is configured to receive the plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, according to the first clock signal, the plurality of Sampling the status information of the interrupt signal, and sending the status information of the multiple interrupt signals to the storage circuit;
所述存储电路用于,接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;The storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。Wherein, the frequency of the first clock signal is greater than the frequency of the second clock signal.
本发明实施例提供的中断信息存储设备及可移动平台,通过在多个中断信号中的预设中断信号发生变化时,由采样电路根据频率相对较高的第一时钟信号,对多个中断信号的状态信息进行采样,并将多个中断信号的状态信息发送至存储电路,由存储电路根据频率相对较低的第二时钟信号,对多个中断信号的状态信息进行存储操作,从而可实现在预设中断信号发生变化时锁存该多个中断信号的状态信息,以便根据该多个中断信号的状态信息分析各中断信号的顺序,提高中断信号的顺序获取的准确性,避免中断信号的顺序获取错误的风险。In the interrupt information storage device and the movable platform provided by the embodiment of the present invention, when the preset interrupt signal in the multiple interrupt signals changes, the sampling circuit responds to the multiple interrupt signals according to the first clock signal with a relatively high frequency. The status information of the multiple interrupt signals is sampled, and the status information of the multiple interrupt signals is sent to the storage circuit. The storage circuit stores the status information of the multiple interrupt signals according to the relatively low-frequency second clock signal, so as to realize the When the preset interrupt signal changes, the status information of the multiple interrupt signals is latched, so as to analyze the sequence of the interrupt signals according to the status information of the multiple interrupt signals, improve the accuracy of the sequence acquisition of the interrupt signals, and avoid the sequence of the interrupt signals Risk of getting errors.
附图说明Description of the drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本发明实施例提供的中断信息存储设备的结构图;Figure 1 is a structural diagram of an interrupt information storage device provided by an embodiment of the present invention;
图2为本发明另一实施例提供的中断信息存储设备的结构图;2 is a structural diagram of an interrupt information storage device provided by another embodiment of the present invention;
图3为本发明另一实施例提供的中断信息存储设备的结构图;3 is a structural diagram of an interrupt information storage device provided by another embodiment of the present invention;
图4为本发明实施例提供的中断信息存储设备中的信号时序图;4 is a timing diagram of signals in an interrupt information storage device provided by an embodiment of the present invention;
图5为本发明实施例提供的可移动平台。Fig. 5 is a movable platform provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
需要说明的是,当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is considered to be "connected" to another component, it may be directly connected to another component or a centered component may exist at the same time.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of the present invention. The terms used in the description of the present invention herein are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例提供一种中断信息存储设备。图1为本发明实施例提供的中断信息存储设备的结构图,如图1所示,所述中断信息存储设备包括相互连接的采样电路10和存储电路20。The embodiment of the present invention provides an interrupt information storage device. FIG. 1 is a structural diagram of an interrupt information storage device provided by an embodiment of the present invention. As shown in FIG. 1, the interrupt information storage device includes a sampling circuit 10 and a storage circuit 20 connected to each other.
其中,所述采样电路10用于,接收多个中断信号(例如图1中示出多个中断信号可包括中断信号a、b、c)和第一时钟信号;在所述多个中断信号中的预设中断信号(本实施例中仅以中断信号a为预设终端信号作为示例)发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样,并将所述多个中断信号的状态信息发送至所述存储电路20;The sampling circuit 10 is used to receive multiple interrupt signals (for example, the multiple interrupt signals shown in FIG. 1 may include interrupt signals a, b, and c) and a first clock signal; among the multiple interrupt signals When a change occurs in the preset interrupt signal (in this embodiment, only the interrupt signal a is used as the preset terminal signal), the status information of the multiple interrupt signals is sampled according to the first clock signal, and the Sending the status information of the multiple interrupt signals to the storage circuit 20;
所述存储电路20用于,接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;The storage circuit 20 is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。也即采样电路10工作在高速时钟域中、而存储电路20工作在低速时钟域中(本实施例中时钟域的高低是相对而言的)。Wherein, the frequency of the first clock signal is greater than the frequency of the second clock signal. That is, the sampling circuit 10 works in the high-speed clock domain, and the storage circuit 20 works in the low-speed clock domain (the height of the clock domain in this embodiment is relative).
在本实施例中,当预设中断信号a发生中断时,可由工作在高速时钟域的采样电路10根据第一时钟信号对中断信号a、b、c的状态信息进行采样,例如中断信号a发生中断时,而中断信号b和c未发生中断,则采样电路10采样得到的中断信号a、b、c的状态信息为100,其中1表示已发生中断,0表示未发生中断,通过该状态信息即可得知中断信号a发生中断先于中断信号b和c;若中断信号c已发生中断,中断信号b未发生中断,则采样电路10采样得到的中断信号a、b、c的状态信息为101,通过该状态信息即可得知中断信号a发生中断在中断信号c之后、在中断信号b之前。由于采样电路10工作在高速时钟域中,其采样的时间粒度较细,可以更精确地在预设中断信号发生中断时采集到各中断信号的状态信息,从而可更精确的分辨出各中断信号的先后顺序。进一步的,采样电路10也可对状态信息进行锁存。In this embodiment, when the preset interrupt signal a is interrupted, the sampling circuit 10 working in the high-speed clock domain can sample the status information of the interrupt signals a, b, and c according to the first clock signal, for example, the interrupt signal a is generated. When interrupted, and the interrupt signals b and c are not interrupted, the status information of the interrupt signals a, b, and c sampled by the sampling circuit 10 is 100, where 1 indicates that the interrupt has occurred, and 0 indicates that the interrupt has not occurred. Through the status information It can be known that the interrupt signal a has interrupted before the interrupt signals b and c; if the interrupt signal c has been interrupted and the interrupt signal b has not been interrupted, the status information of the interrupt signals a, b, and c obtained by the sampling circuit 10 is 101. Through the status information, it can be known that the interrupt signal a occurs after the interrupt signal c and before the interrupt signal b. Since the sampling circuit 10 works in the high-speed clock domain, its sampling time granularity is finer, and the status information of each interrupt signal can be collected more accurately when the preset interrupt signal is interrupted, so that each interrupt signal can be distinguished more accurately The order of precedence. Further, the sampling circuit 10 can also latch the status information.
存储电路20根据第二时钟信号对多个中断信号状态信息进行存储操作。本实施例中的存储电路20还可提供输出端口,可由其他分析设备通过输出接口读取存储电路20中锁存的多个中断信号的状态信息,进而可对多个中断信号的状态信息进行分析,获取到多个中断信号的先后顺序,由于该分析设备读取数据的频率并不高,因此存储电路20仅需要工作在低速时钟域下即可。本实施例中通过存储电路20可实现将多个中断信号状态信息从采样电路10所在的高速时钟域跨域到存储电路20所在的低速时钟域跨域,并锁存在存储电路20中,以便分析设备进行读取。The storage circuit 20 stores the state information of a plurality of interrupt signals according to the second clock signal. The storage circuit 20 in this embodiment can also provide an output port, and other analysis devices can read the status information of multiple interrupt signals latched in the storage circuit 20 through the output interface, and then can analyze the status information of the multiple interrupt signals , The sequence of acquiring the multiple interrupt signals, since the frequency of reading data by the analysis device is not high, the storage circuit 20 only needs to work in the low-speed clock domain. In this embodiment, the storage circuit 20 can realize the cross-domain crossing of multiple interrupt signal status information from the high-speed clock domain where the sampling circuit 10 is located to the low-speed clock domain where the storage circuit 20 is located, and lock it in the storage circuit 20 for analysis The device reads.
在上述任一实施例的基础上,所述中断状态存储设备还可包括处理器;所述处理器用于对所述存储电路进行访问,获取所述多个中断信号的状态信息。也即由处理器通过存储电路20提供的输出端口读取存储电路20中锁存的多个中断信号的状态信息,进而可对多个中断信号的状态信息进行分析,获取到多个中断信号的先后顺序。On the basis of any of the foregoing embodiments, the interruption status storage device may further include a processor; the processor is configured to access the storage circuit to obtain status information of the multiple interrupt signals. That is, the processor reads the status information of the multiple interrupt signals latched in the storage circuit 20 through the output port provided by the storage circuit 20, and then can analyze the status information of the multiple interrupt signals to obtain the information of the multiple interrupt signals. Priority.
本实施例提供的中断信息存储设备,通过采样电路10在多个中断信号中的预设中断信号发生变化时,由采样电路10根据频率相对较高的第 一时钟信号,对多个中断信号的状态信息进行采样,并将多个中断信号的状态信息发送至存储电路20,由存储电路20根据频率相对较低的第二时钟信号,对多个中断信号的状态信息进行存储操作,从而可实现在预设中断信号发生变化时锁存该多个中断信号的状态信息,以便根据该多个中断信号的状态信息分析各中断信号的顺序,提高中断信号的顺序获取的准确性,避免中断信号的顺序获取错误的风险。In the interrupt information storage device provided in this embodiment, when the preset interrupt signal of the multiple interrupt signals changes through the sampling circuit 10, the sampling circuit 10 responds to the multiple interrupt signals according to the first clock signal with a relatively high frequency. The status information is sampled, and the status information of the multiple interrupt signals is sent to the storage circuit 20. The storage circuit 20 stores the status information of the multiple interrupt signals according to the relatively low-frequency second clock signal, so as to achieve When the preset interrupt signal changes, the status information of the multiple interrupt signals is latched, so as to analyze the sequence of each interrupt signal according to the status information of the multiple interrupt signals, improve the accuracy of the sequence acquisition of the interrupt signals, and avoid the interruption signal Risk of getting the wrong order.
本发明另一实施例提供一种中断信息存储设备。图2为本发明另一实施例提供的中断信息存储的结构图;在图1所示实施例提供的技术方案的基础上,所述中断信息存储设备还包括第一使能信号发生器30,所述第一使能信号发生器30与所述采样电路10连接;Another embodiment of the present invention provides an interrupt information storage device. 2 is a structural diagram of interrupt information storage provided by another embodiment of the present invention; based on the technical solution provided by the embodiment shown in FIG. 1, the interrupt information storage device further includes a first enable signal generator 30, The first enable signal generator 30 is connected to the sampling circuit 10;
所述第一使能信号发生器30用于,接收所述预设中断信号;在所述预设中断信号发生状态变化时,生成第一使能信号,并发送给所述采样电路10;The first enable signal generator 30 is configured to receive the preset interrupt signal; when the preset interrupt signal has a state change, generate a first enable signal and send it to the sampling circuit 10;
所述采样电路10具体用于,根据所述第一使能信号和所述第一时钟信号,对所述多个中断信号的状态信息进行采样。The sampling circuit 10 is specifically configured to sample the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
在本实施例中,为了实现采样电路10在预设中断信号发生变化时才进行多个中断信号的状态信息的采样和锁存,而对于预设中断信号是否发生变化的判断则由第一使能信号发生器30来实现。具体的,通过将预设中断信号输入到第一使能信号发生器30中,根据第一使能信号发生器30即可实现判断预设中断信号是否发生变化,当判断预设中断信号发生变化时,生成第一使能信号,并发送给采样电路10,由采样电路10根据第一使能信号和第一时钟信号,对多个中断信号的状态信息进行采样。In this embodiment, in order to realize that the sampling circuit 10 performs sampling and latching of the status information of the multiple interrupt signals only when the preset interrupt signal changes, the first user determines whether the preset interrupt signal changes. It can be realized by the signal generator 30. Specifically, by inputting the preset interrupt signal into the first enable signal generator 30, it is possible to determine whether the preset interrupt signal has changed according to the first enable signal generator 30, and when it is determined that the preset interrupt signal has changed At this time, the first enable signal is generated and sent to the sampling circuit 10, and the sampling circuit 10 samples the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
在上述实施例的基础上,所述第一使能信号发生器30用于:根据所述预设中断信号的跳变沿生成所述第一使能信号。On the basis of the foregoing embodiment, the first enable signal generator 30 is configured to generate the first enable signal according to the transition edge of the preset interrupt signal.
在本实施例中,以预设中断信号发生跳变作为预设中断信号发生变化的标志,而第一使能信号则可根据预设中断信号的跳变沿来生成第一使能信号。In this embodiment, the transition of the preset interrupt signal is used as a sign of the change of the preset interrupt signal, and the first enable signal can generate the first enable signal according to the transition edge of the preset interrupt signal.
在上述实施例的基础上,如图3所示,所述第一使能信号发生器30具体可包括依次连接的第一寄存器31、第一反相器32以及第一与门电路 33;On the basis of the foregoing embodiment, as shown in FIG. 3, the first enable signal generator 30 may specifically include a first register 31, a first inverter 32, and a first AND circuit 33 connected in sequence;
所述第一寄存器31用于,对所述预设中断信号进行延时处理后生成,并将所述第一延时信号输出至所述第一反相器32;The first register 31 is used to generate the preset interrupt signal after delay processing, and output the first delay signal to the first inverter 32;
所述第一反相器32用于,对所述所述第一延时信号进行反相后生成第一反向信号,经所述第一反向信号输出至所述第一与门电路33;The first inverter 32 is used to invert the first delay signal to generate a first inverted signal, and output to the first AND circuit 33 via the first inverted signal ;
所述第一与门电路33用于,接收所述第一反向信号和所述预设中断信号,对所述第一反向信号和所述预设中断信号进行逻辑与运算,生成所述第一使能信号,并将所述第一使能信号输出至所述采样电路10。The first AND circuit 33 is configured to receive the first reverse signal and the preset interrupt signal, perform a logical AND operation on the first reverse signal and the preset interrupt signal, and generate the The first enable signal, and the first enable signal is output to the sampling circuit 10.
在本实施例中,由于第一寄存器31对预设中断信号进行延迟,当预设中断信号发生跳变时刻,例如从0→1,而此时第一寄存器31中由于延迟,所以其输出的第一延时信号尚未变为1,所以第一延时信号此时为0,通过第一反相器32反向后,第一反向信号为1,此时输入到第一与门电路33的信号包括:预设中断信号和第一反向信号,两个信号均为1,所以第一与门电路33进行逻辑与运算后输出为1,也即输出第一使能信号。In this embodiment, because the first register 31 delays the preset interrupt signal, when the preset interrupt signal transitions, for example, from 0→1, the output of the first register 31 is delayed due to the delay. The first delay signal has not yet become 1, so the first delay signal is 0 at this time. After being reversed by the first inverter 32, the first reverse signal is 1, and it is input to the first AND circuit 33 at this time. The signal includes: a preset interrupt signal and a first reverse signal, both of which are 1, so the first AND circuit 33 outputs 1 after performing a logical AND operation, that is, outputs the first enable signal.
在上述任一实施例的基础上,如图3所示,所述采样电路10包括多个第一选择器111、112、113和多个第二寄存器121、122、123;所述多个第一选择器111、112、113和多个第二寄存器121、122、123一一对应连接,所述多个中断信号一一对应输入所述多个第一选择器111、112、113;所述第一使能信号发生器30与所述第一选择器111、112、113连接;以下实施例中仅以其中一组对应的第一选择器和第二寄存器进行说明,例如第一选择器111和第二寄存器121,其他对应的第一选择器和第二寄存器的工作原理相同。On the basis of any of the foregoing embodiments, as shown in FIG. 3, the sampling circuit 10 includes a plurality of first selectors 111, 112, 113 and a plurality of second registers 121, 122, 123; A selector 111, 112, 113 and a plurality of second registers 121, 122, 123 are connected in a one-to-one correspondence, and the plurality of interrupt signals are input to the plurality of first selectors 111, 112, 113 in a one-to-one correspondence; The first enable signal generator 30 is connected to the first selectors 111, 112, and 113; in the following embodiments, only one set of corresponding first selectors and second registers is used for description, for example, the first selector 111 As with the second register 121, other corresponding first selectors and second registers have the same working principles.
所述第一选择器111用于,根据所述第一使能信号,将所述中断信号a的状态信息发送至所述第二寄存器121;The first selector 111 is configured to send the state information of the interrupt signal a to the second register 121 according to the first enable signal;
所述第二寄存器121用于,接收所述第一时钟信号,并根据所述第一时钟信号对所述中断信号a的状态信息进行锁存,并将所述中断信号a的状态信息发送至所述存储电路20。The second register 121 is used to receive the first clock signal, latch the state information of the interrupt signal a according to the first clock signal, and send the state information of the interrupt signal a to The storage circuit 20.
在本实施例中,当第一使能信号发生器30将第一使能信号输出至各第一选择器111时,第一选择器111响应第一使能信号,根据输入该第一 选择器111的中断信号,向第二寄存器121输出该中断信号a的状态信息,由第二寄存器121进行锁存并发送至存储电路20。In this embodiment, when the first enable signal generator 30 outputs the first enable signal to each first selector 111, the first selector 111 responds to the first enable signal and responds to the input to the first selector 111 The interrupt signal 111 outputs the status information of the interrupt signal a to the second register 121, which is latched by the second register 121 and sent to the storage circuit 20.
本实施例的信号时序图可参见图4所示,当中断信号a发生跳变时,此时中断信号b的状态信息为0,中断信号c的状态信息为1,通过第一选择器111、112、113分别对中断信号a、b、c采样,得到中断信号a、b、c状态信息为101。The signal timing diagram of this embodiment can be seen in FIG. 4. When the interrupt signal a jumps, the state information of the interrupt signal b is 0, and the state information of the interrupt signal c is 1, through the first selector 111, 112 and 113 sample the interrupt signals a, b, and c respectively, and obtain the status information of the interrupt signals a, b, and c as 101.
更具体的,所述第二寄存器121还用于,将所述第二寄存器121当前存储的状态信息发送至所述第一选择器111;More specifically, the second register 121 is also used to send the state information currently stored in the second register 121 to the first selector 111;
所述第一选择器111还用于,根据所述第一使能信号,对所述中断信号a的状态信息和所述第二寄存器121当前存储的状态信息进行选择操作,输出所述中断信号的状态信息至所述第二寄存器121;The first selector 111 is also configured to select the state information of the interrupt signal a and the state information currently stored in the second register 121 according to the first enable signal, and output the interrupt signal Status information to the second register 121;
所述第二寄存器121还用于,根据所述第一时钟信号,对所述中断信号的状态信息进行锁存。The second register 121 is also used to latch the state information of the interrupt signal according to the first clock signal.
在本实施例中,第一选择器111为二选一选择器,其两个数据输入端中分别输入中断信号和第二寄存器121当前存储的状态信息,第一使能信号输入第一选择器111后,则由第一选择器111输出中断信号a的状态信息到第二寄存器121;若第一选择器111未输入第一使能信号,则第一选择器111选择第二寄存器121当前存储的状态信息输出至第二寄存器121,也即第二寄存器121中的数据一直保持不变,从而实现第一选择器111在接收到第一使能信号后,根据第一使能信号将所述中断信号a的状态信息发送至第二寄存器121,改变第二寄存器121中当前存储的状态信息。In this embodiment, the first selector 111 is a one-of-two selector, and its two data input terminals respectively input an interrupt signal and the state information currently stored in the second register 121, and the first enable signal is input to the first selector After 111, the first selector 111 outputs the status information of the interrupt signal a to the second register 121; if the first selector 111 does not input the first enable signal, the first selector 111 selects the second register 121 to currently store The status information is output to the second register 121, that is, the data in the second register 121 has been kept unchanged, so that the first selector 111 after receiving the first enable signal, according to the first enable signal The status information of the interrupt signal a is sent to the second register 121 to change the status information currently stored in the second register 121.
在上述任一实施例的基础上,所述中断信息存储设备还包括多个中断信号寄存器51、52、53,多个所述中断信号寄存器51、52、53和多个所述第一选择器111、112、113一一对应连接;On the basis of any of the foregoing embodiments, the interrupt information storage device further includes a plurality of interrupt signal registers 51, 52, 53, a plurality of the interrupt signal registers 51, 52, 53 and a plurality of the first selectors 111, 112, 113 one-to-one correspondence connection;
所述中断信号寄存器51、52、53用于,接收第一时钟信号,根据第一时钟信号分别输出对应的中断信号a、b、c。The interrupt signal registers 51, 52, and 53 are used to receive the first clock signal and respectively output corresponding interrupt signals a, b, and c according to the first clock signal.
在本实施例中,多个中断信号由中断信号寄存器提供,其中每一中断信号寄存器输出一个中断信号,而中断信号寄存器中的中断信号可由一个或多个中断源向中断信号寄存器中输入。当然,若中断源本身具有中断信号寄存器,则本实施例的中断信息存储设备可不设置中断信号寄存器。需 要说明的是,采样电路10、第一使能信号发生器30与中断信号寄存器可工作在相同的时钟信号下。In this embodiment, multiple interrupt signals are provided by the interrupt signal register, and each interrupt signal register outputs an interrupt signal, and the interrupt signal in the interrupt signal register can be input into the interrupt signal register by one or more interrupt sources. Of course, if the interrupt source itself has an interrupt signal register, the interrupt information storage device of this embodiment may not set the interrupt signal register. It should be noted that the sampling circuit 10, the first enable signal generator 30 and the interrupt signal register can work under the same clock signal.
在上述任一实施例的基础上,如图2所示,所述中断信息存储设备还可包括第二使能信号发生器40,所述第二使能信号发生器40与所述存储电路20连接;On the basis of any of the foregoing embodiments, as shown in FIG. 2, the interrupt information storage device may further include a second enable signal generator 40, and the second enable signal generator 40 and the storage circuit 20 connection;
所述第二使能信号发生器40用于,接收所述预设中断信号;并根据所述预设中断信号生成第二使能信号,并发送至所述存储电路20;The second enable signal generator 40 is configured to receive the preset interrupt signal; generate a second enable signal according to the preset interrupt signal, and send it to the storage circuit 20;
所述存储电路20具体用于,根据所述第二使能信号和所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作。The storage circuit 20 is specifically configured to perform a storage operation on the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
在本实施例中,存储电路20需要对采样电路10发送的中断信号的状态信息进行存储,由于采样电路10和存储电路20常连接,因此采样电路10会持续不断的将第二寄存器当前存储的状态信息发送给存储电路20,而存储电路20是为了锁存预设中断信号发生变化时各中断信号的状态信息,因此需要得知预设中断信号发生变化的时间。本实施例中将预设中断信号输入第二使能信号发生器40中,以使第二使能信号发生器40根据预设中断信号判断预设中断信号发生变化的时间,在预设中断信号发生变化后生成第二使能信号,进而使存储电路20根据第二使能信号和第二时钟信号,对多个中断信号的状态信息进行存储操作。In this embodiment, the storage circuit 20 needs to store the status information of the interrupt signal sent by the sampling circuit 10. Since the sampling circuit 10 and the storage circuit 20 are often connected, the sampling circuit 10 will continue to store the current information in the second register. The status information is sent to the storage circuit 20, and the storage circuit 20 is to latch the status information of each interrupt signal when the preset interrupt signal changes, so it is necessary to know the time when the preset interrupt signal changes. In this embodiment, the preset interrupt signal is input into the second enable signal generator 40, so that the second enable signal generator 40 determines the time when the preset interrupt signal changes according to the preset interrupt signal. After the change occurs, the second enable signal is generated, so that the storage circuit 20 stores the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
更具体的,所述第二使能信号发生器40用于:More specifically, the second enable signal generator 40 is used to:
根据所述预设中断信号的跳变沿生成所述第二使能信号。The second enable signal is generated according to the transition edge of the preset interrupt signal.
在本实施例中,以预设中断信号发生跳变作为预设中断信号发生变化的标志,而第二使能信号则可根据预设中断信号的跳变沿来生成第二使能信号。In this embodiment, the transition of the preset interrupt signal is used as a sign of the change of the preset interrupt signal, and the second enable signal can generate the second enable signal according to the transition edge of the preset interrupt signal.
进一步的,所述第二使能信号发生器40工作在所述第二时钟信号下;Further, the second enable signal generator 40 works under the second clock signal;
所述第二使能信号发生器40用于:The second enable signal generator 40 is used for:
对所述预设中断信号进行跨时钟域操作后,根据其跳变沿生成所述第二使能信号。After the cross-clock domain operation is performed on the preset interrupt signal, the second enable signal is generated according to its transition edge.
在本实施例中,由于采样电路10工作在第一时钟信号下,而存储电路20工作在第二时钟信号下,为了使采样电路10发送的多个中断信号的 状态信息能够被存储电路20在第二时钟信号下进行接收和存储,因此第二使能信号发生器40也需要工作在与存储电路20相同的时钟域下,也即第二使能信号发生器40工作在第二时钟信号下,并对预设中断信号进行跨时钟域操作后,再确定跨时钟域后的预设中断信号的跳变沿,根据其跳变沿生成第二使能信号。In this embodiment, since the sampling circuit 10 works under the first clock signal and the storage circuit 20 works under the second clock signal, in order to enable the state information of the multiple interrupt signals sent by the sampling circuit 10 to be stored by the storage circuit 20 Receiving and storing are performed under the second clock signal, therefore the second enable signal generator 40 also needs to work in the same clock domain as the storage circuit 20, that is, the second enable signal generator 40 works under the second clock signal , And after performing the cross-clock domain operation on the preset interrupt signal, the transition edge of the preset interrupt signal after the cross-clock domain is determined, and the second enable signal is generated according to the transition edge.
在上述任一实施例的基础上,如图3所示,所述第二使能信号发生器40包括依次连接的第三寄存器41、第四寄存器42、第二反相器43以及第二与门电路44,且所述第三寄存器41还与所述第二与门电路44连接;其中,所述第三寄存器41和所述第四寄存器42工作在所述第二时钟域下;On the basis of any of the foregoing embodiments, as shown in FIG. 3, the second enable signal generator 40 includes a third register 41, a fourth register 42, a second inverter 43, and a second and Gate circuit 44, and the third register 41 is also connected to the second AND gate circuit 44; wherein, the third register 41 and the fourth register 42 work in the second clock domain;
所述第三寄存器41用于,对所述预设中断信号进行跨时钟域操作,生成第一跨域信号,并将所述第一跨域信号输出至所述第四寄存器42和所述第二与门电路44;The third register 41 is used to perform a cross-clock domain operation on the preset interrupt signal, generate a first cross-domain signal, and output the first cross-domain signal to the fourth register 42 and the second Two AND gate circuit 44;
所述第四寄存器42用于,对所述第四寄存器42进行延时处理后生成第二延时信号,并将将所述第二延时信号输出至所述第二反相器43;The fourth register 42 is used to generate a second delay signal after performing delay processing on the fourth register 42 and output the second delay signal to the second inverter 43;
所述第二反相器43,用于对所述所述第二延时信号进行反相后生成第二反向信号,经所述第二反向信号输出至所述第二与门电路44;The second inverter 43 is configured to invert the second delay signal to generate a second inverted signal, which is output to the second AND circuit 44 via the second inverted signal ;
所述第二与门电路44用于,接收所述第二反向信号和所述第一跨域信号,对所述第二反向信号和所述第一跨域信号进行逻辑与运算,生成所述第二使能信号,并将所述第二使能信号输出至所述存储电路20。The second AND circuit 44 is configured to receive the second inverted signal and the first cross-domain signal, and perform a logical AND operation on the second inverted signal and the first cross-domain signal to generate The second enable signal and output the second enable signal to the storage circuit 20.
在本实施例中,通过第三寄存器41实现预设中断信号进行跨时钟域,其中第三寄存器41中可包括两个以上的寄存器,通过两次以上的打拍跨域,降低预设中断信号跨时钟域时亚稳态带来的影响,提高跨域后的预设中断信号(也即所述第一跨域信号)的稳定性。In this embodiment, the third register 41 is used to implement the preset interrupt signal to cross clock domains, where the third register 41 can include more than two registers, and the preset interrupt signal is reduced by more than two tapping cross domains. The influence of metastability when crossing clock domains improves the stability of the preset interrupt signal (that is, the first cross-domain signal) after crossing domains.
本实施例中第四寄存器42、第二反相器43和第二与门电路44的作用与上述第一寄存器31、第一反相器32和第一与门电路33的作用相似,具体的,第四寄存器42对第一跨域信号进行延迟,当第一跨域信号发生跳变时刻,例如从0→1,而此时第四寄存器42中由于延迟,所以其输出的第二延时信号尚未变为1,所以第二延时信号此时为0,通过第二反相器43反向后,第二反向信号为1,此时输入到第二与门电路44的信号包括: 第一跨域信号和第二反向信号,两个信号均为1,所以第二与门电路44进行逻辑与运算后输出为1,也即输出第二使能信号。In this embodiment, the functions of the fourth register 42, the second inverter 43, and the second AND circuit 44 are similar to those of the above-mentioned first register 31, the first inverter 32, and the first AND circuit 33. The specific , The fourth register 42 delays the first cross-domain signal. When the first cross-domain signal transitions, for example, from 0→1, the fourth register 42 has a second delay due to the delay. The signal has not changed to 1, so the second delay signal is 0 at this time. After being reversed by the second inverter 43, the second reverse signal is 1. At this time, the signal input to the second AND circuit 44 includes: The first cross-domain signal and the second inverted signal are both 1, so the second AND circuit 44 performs a logical AND operation and outputs 1, that is, outputs the second enable signal.
在上述任一实施例的基础上,如图3所示,所述存储电路20包括多个第二选择器211、212、213和多个第五寄存器221、222、223;所述多个第二选择器211、212、213和多个第五寄存器221、222、223一一对应连接,所述采样电路10发送的所述多个中断信号的状态信息一一对应输入所述多个第二选择器211、212、213;所述第二使能信号发生器40与所述第二选择器211、212、213连接;以下实施例中仅以其中一组对应的第二选择器和第五寄存器进行说明,例如第二选择器211和第五寄存器221,其他对应的第二选择器和第五寄存器的工作原理相同。On the basis of any of the foregoing embodiments, as shown in FIG. 3, the storage circuit 20 includes a plurality of second selectors 211, 212, 213 and a plurality of fifth registers 221, 222, and 223; The two selectors 211, 212, 213 and the plurality of fifth registers 221, 222, 223 are connected in a one-to-one correspondence, and the state information of the plurality of interrupt signals sent by the sampling circuit 10 is input into the plurality of second Selectors 211, 212, and 213; the second enable signal generator 40 is connected to the second selectors 211, 212, and 213; in the following embodiments, only one set of the corresponding second selector and fifth The registers are described, for example, the second selector 211 and the fifth register 221, and other corresponding second selectors and the fifth register work in the same principle.
所述第二选择器211用于,根据所述第二使能信号,将所述中断信号的状态信息发送至所述第五寄存器221;The second selector 211 is configured to send the state information of the interrupt signal to the fifth register 221 according to the second enable signal;
所述第五寄存器221用于,接收所述第二时钟信号,并根据所述第二时钟信号对所述中断信号a的状态信息进行锁存。The fifth register 221 is configured to receive the second clock signal, and latch the state information of the interrupt signal a according to the second clock signal.
在本实施例中,当第二使能信号发生器40将第二使能信号输出至第二选择器211时,第二选择器211响应第二使能信号,根据输入该第二选择器211的中断信号,向第五寄存器221输出该中断信号a的状态信息,并由第五寄存器221进行锁存。In this embodiment, when the second enable signal generator 40 outputs the second enable signal to the second selector 211, the second selector 211 responds to the second enable signal according to the input to the second selector 211 The interrupt signal is output to the fifth register 221 and the status information of the interrupt signal a is latched by the fifth register 221.
更具体的,所述第五寄存器221还用于,将所述第五寄存器221当前存储的状态信息发送至所述第二选择器211;More specifically, the fifth register 221 is also used to send the status information currently stored in the fifth register 221 to the second selector 211;
所述第二选择器211还用于,根据所述第二使能信号,对所述中断信号a的状态信息和所述第五寄存器221当前存储的状态信息进行选择操作,并输出所述中断信号a的状态信息至所述第五寄存器221;The second selector 211 is further configured to select the status information of the interrupt signal a and the status information currently stored in the fifth register 221 according to the second enable signal, and output the interrupt State information of signal a to the fifth register 221;
所述第五寄存器221还用于,根据所述第二时钟信号,对所述中断信号a的状态信息进行锁存。The fifth register 221 is also used to latch the state information of the interrupt signal a according to the second clock signal.
在本实施例中,第二选择器211为二选一选择器,其两个数据输入端中分别输入采样电路10发送的中断信号a的状态信息(也即上述第二寄存器121发送的中断信号a的状态信息)以及第五寄存器221当前存储的状态信息,第二使能信号输入第二选择器211后,则由第二选择器211输 出中断信号a的状态信息到第五寄存器221;若第二选择器211未输入第二使能信号,则第二选择器211选择第五寄存器221当前存储的状态信息输出至第五寄存器221,也即第五寄存器221中的数据一直保持不变,从而实现第二选择器211在接收到第二使能信号后,根据第二使能信号将所述中断信号a的状态信息发送至第五寄存器221,改变第五寄存器221中当前存储的状态信息。In this embodiment, the second selector 211 is a one-of-two selector, and its two data input terminals respectively input the status information of the interrupt signal a sent by the sampling circuit 10 (that is, the interrupt signal sent by the second register 121). a) and the status information currently stored in the fifth register 221. After the second enable signal is input to the second selector 211, the second selector 211 outputs the status information of the interrupt signal a to the fifth register 221; If the second selector 211 does not input the second enable signal, the second selector 211 selects the state information currently stored in the fifth register 221 to output to the fifth register 221, that is, the data in the fifth register 221 remains unchanged. Thus, after receiving the second enable signal, the second selector 211 sends the status information of the interrupt signal a to the fifth register 221 according to the second enable signal, and changes the status information currently stored in the fifth register 221 .
本实施例的信号时序图可参见图4所示,存储电路可对采样电路发送的中断信号的状态信息进行存储,最终得到存储电路存储的中断信号a、b、c状态信息为101。The signal timing diagram of this embodiment can be seen in FIG. 4, the storage circuit can store the state information of the interrupt signal sent by the sampling circuit, and finally the state information of the interrupt signal a, b, c stored in the storage circuit is 101.
在上述实施例的基础上,所述第二选择器211、212、213接收到所述第二寄存器所述采样电路10发送的中断信号的状态信息的时间早于所述第二选择器211、212、213接收到所述第二使能信号的时间。On the basis of the foregoing embodiment, the time when the second selectors 211, 212, and 213 receive the status information of the interrupt signal sent by the sampling circuit 10 of the second register is earlier than that of the second selector 211, 212, 213 time when the second enable signal is received.
在本实施例中,为了避免第二选择器211、212、213在接收到第二使能信号的时候,采样电路10尚未将中断信号的状态信息传输至第二选择器211、212、213,导致第二选择器211、212、213无法根据第二使能信号将中断信号的状态信息发送至第五寄存器221、222、223,使的存储电路20无法准确存储预设中断信号发生变化时各中断信号的状态信息,因此本实施例需要第二选择器211、212、213接收到第二寄存器所述采样电路10发送的中断信号的状态信息的时间早于第二选择器211、212、213接收到第二使能信号的时间,也即需要中断信号的状态信息先到达第二选择器211、212、213、第二使能信号后到达第二选择器211、212、213。In this embodiment, in order to prevent the sampling circuit 10 from transmitting the status information of the interrupt signal to the second selectors 211, 212, 213 when the second selectors 211, 212, and 213 receive the second enable signal, As a result, the second selectors 211, 212, and 213 cannot send the status information of the interrupt signal to the fifth registers 221, 222, and 223 according to the second enable signal, so that the storage circuit 20 cannot accurately store each preset interrupt signal when the interrupt signal changes. The status information of the interrupt signal. Therefore, this embodiment requires that the second selectors 211, 212, 213 receive the status information of the interrupt signal sent by the sampling circuit 10 in the second register earlier than the second selectors 211, 212, 213 The time when the second enable signal is received, that is, the state information that needs to interrupt the signal first reaches the second selectors 211, 212, 213, and then the second enable signal reaches the second selectors 211, 212, 213.
需要说明的是,上述实施例中图2和3所示的中断信息存储设备,仅针对预设中断信号为中断信号a的情况,第一使能信号发生器30、第二使能信号发生器40仅能够根据中断信号a发生状态变化时生成使能信号,采样电路10和存储电路20仅在中断信号a发生状态变化时采样和存储中断信号a、b、c的状态信息,而第一使能信号发生器30、第二使能信号发生器40、采样电路10和存储电路20并不适用于中断信号b、中断信号c发生状态变化的情况。因此若需要针对预设中断信号为中断信号b或c的情况,需要另行设置一套第一使能信号发生器、第二使能信号发生器、采 样电路和存储电路。也即,若需要完整的监控三个中断信号a、b、c发生状态变化时各中断信号的状态信息,则需要设置三套第一使能信号发生器、第二使能信号发生器、采样电路和存储电路,以分别记录中断信号a发生状态变化时各中断信号的状态信息、中断信号b发生状态变化时各中断信号的状态信息、中断信号c发生状态变化时各中断信号的状态信息,其他两套的具体工作原理同上述实施例,此处不再赘述。It should be noted that the interrupt information storage device shown in FIGS. 2 and 3 in the above embodiment only deals with the case where the preset interrupt signal is the interrupt signal a, the first enable signal generator 30 and the second enable signal generator 40 can only generate an enable signal when the state of the interrupt signal a changes. The sampling circuit 10 and the storage circuit 20 only sample and store the state information of the interrupt signals a, b, and c when the interrupt signal a changes state. The enable signal generator 30, the second enable signal generator 40, the sampling circuit 10, and the storage circuit 20 are not applicable to the situation where the interrupt signal b and the interrupt signal c undergo a state change. Therefore, if the preset interrupt signal is the interrupt signal b or c, a set of first enable signal generator, second enable signal generator, sampling circuit, and storage circuit need to be separately provided. That is, if you need to completely monitor the status information of each interrupt signal when the status of the three interrupt signals a, b, and c change, you need to set up three sets of the first enable signal generator, the second enable signal generator, and the sampling The circuit and the storage circuit respectively record the state information of each interrupt signal when the state of the interrupt signal a changes, the state information of each interrupt signal when the state of the interrupt signal b changes, and the state information of each interrupt signal when the state of the interrupt signal c changes. The specific working principles of the other two sets are the same as in the above-mentioned embodiment, and will not be repeated here.
本发明实施例提供一种可移动平台。图5为本发明实施例提供的可移动平台的结构图,如图5所示,所述可移动平台70包括传感器系统71、动力系统72、以及中断状态存储设备73(如上述实施例所述),所述传感器系统71,用于采集所述可移动平台70的状态信息和/或环境信息;所述动力系统72,用于为所述可移动平台70提供动力;The embodiment of the present invention provides a movable platform. FIG. 5 is a structural diagram of a movable platform provided by an embodiment of the present invention. As shown in FIG. 5, the movable platform 70 includes a sensor system 71, a power system 72, and an interruption state storage device 73 (as described in the above embodiment ), the sensor system 71 is used to collect status information and/or environmental information of the movable platform 70; the power system 72 is used to provide power for the movable platform 70;
所述传感器系统71和所述动力系统72还用于生成多个中断信号发送至所述中断状态存储设备73;The sensor system 71 and the power system 72 are also used to generate multiple interrupt signals and send them to the interrupt state storage device 73;
所述中断状态存储设备73包括相互连接的采样电路和存储电路;The interruption state storage device 73 includes a sampling circuit and a storage circuit connected to each other;
所述采样电路用于,接收所述多个中断信号和第一时钟信号;在所述多个中断信号中的预设中断信号发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样,并将所述多个中断信号的状态信息发送至所述存储电路;The sampling circuit is configured to receive the plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, according to the first clock signal, the plurality of Sampling the status information of the interrupt signal, and sending the status information of the multiple interrupt signals to the storage circuit;
所述存储电路用于,接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;The storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。Wherein, the frequency of the first clock signal is greater than the frequency of the second clock signal.
在上述实施例的基础上,所述中断状态存储设备73还包括第一使能信号发生器,所述第一使能信号发生器与所述采样电路连接;On the basis of the foregoing embodiment, the interruption state storage device 73 further includes a first enable signal generator, and the first enable signal generator is connected to the sampling circuit;
所述第一使能信号发生器用于,接收所述预设中断信号;在所述预设中断信号发生状态变化时,生成第一使能信号,并发送给所述采样电路;The first enable signal generator is configured to receive the preset interrupt signal; when the preset interrupt signal changes state, generate a first enable signal and send it to the sampling circuit;
所述采样电路具体用于,根据所述第一使能信号和所述第一时钟信号,对所述多个中断信号的状态信息进行采样。The sampling circuit is specifically configured to sample the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
在上述任一实施例的基础上,所述第一使能信号发生器用于:On the basis of any of the foregoing embodiments, the first enable signal generator is used for:
根据所述预设中断信号的跳变沿生成所述第一使能信号。The first enable signal is generated according to the transition edge of the preset interrupt signal.
在上述任一实施例的基础上,所述第一使能信号发生器包括依次连接的第一寄存器、第一反相器以及第一与门电路;On the basis of any of the foregoing embodiments, the first enable signal generator includes a first register, a first inverter, and a first AND circuit connected in sequence;
所述第一寄存器用于,对所述预设中断信号进行延时处理后生成第一延时信号,并将所述第一延时信号输出至所述第一反相器;The first register is used to generate a first delay signal after performing delay processing on the preset interrupt signal, and output the first delay signal to the first inverter;
所述第一反相器用于,对所述所述第一延时信号进行反相后生成第一反向信号,经所述第一反向信号输出至所述第一与门电路;The first inverter is used to invert the first delay signal to generate a first inverted signal, and output to the first AND circuit via the first inverted signal;
所述第一与门电路用于,接收所述第一反向信号和所述预设中断信号,对所述第一反向信号和所述预设中断信号进行逻辑与运算,生成所述第一使能信号,并将所述第一使能信号输出至所述采样电路。The first AND circuit is configured to receive the first reverse signal and the preset interrupt signal, perform a logical AND operation on the first reverse signal and the preset interrupt signal, and generate the first An enable signal, and output the first enable signal to the sampling circuit.
在上述任一实施例的基础上,所述采样电路包括多个第一选择器和多个第二寄存器;所述多个第一选择器和多个第二寄存器一一对应连接,所述多个中断信号一一对应输入所述多个第一选择器;所述第一使能信号发生器与所述第一选择器连接;On the basis of any of the above embodiments, the sampling circuit includes multiple first selectors and multiple second registers; the multiple first selectors and multiple second registers are connected in a one-to-one correspondence, and the multiple One interrupt signal is inputted into the plurality of first selectors one by one; the first enable signal generator is connected to the first selector;
所述第一选择器用于,根据所述第一使能信号,将所述中断信号的状态信息发送至所述第二寄存器;The first selector is configured to send the status information of the interrupt signal to the second register according to the first enable signal;
所述第二寄存器用于,接收所述第一时钟信号,并根据所述第一时钟信号对所述中断信号的状态信息进行锁存,并将所述中断信号的状态信息发送至所述存储电路。The second register is used to receive the first clock signal, latch the state information of the interrupt signal according to the first clock signal, and send the state information of the interrupt signal to the storage Circuit.
在上述任一实施例的基础上,所述第二寄存器还用于,将所述第二寄存器当前存储的状态信息发送至所述第一选择器;On the basis of any of the foregoing embodiments, the second register is also used to send the state information currently stored in the second register to the first selector;
所述第一选择器还用于,根据所述第一使能信号,对所述中断信号的状态信息和所述第二寄存器当前存储的状态信息进行选择操作,输出所述中断信号的状态信息至所述第二寄存器;The first selector is further configured to select the status information of the interrupt signal and the status information currently stored in the second register according to the first enable signal, and output the status information of the interrupt signal To the second register;
所述第二寄存器还用于,根据所述第一时钟信号,对所述中断信号的状态信息进行锁存。The second register is also used to latch the state information of the interrupt signal according to the first clock signal.
在上述任一实施例的基础上,所述中断状态存储设备73还包括多个中断信号寄存器,多个所述中断信号寄存器和多个所述第一选择器一一对应连接;On the basis of any of the foregoing embodiments, the interrupt status storage device 73 further includes a plurality of interrupt signal registers, and the plurality of interrupt signal registers are connected to the plurality of first selectors in a one-to-one correspondence;
所述中断信号寄存器用于,接收所述第一时钟信号,根据所述第一时钟信号输出对应的中断信号。The interrupt signal register is used to receive the first clock signal and output a corresponding interrupt signal according to the first clock signal.
在上述任一实施例的基础上,所述中断状态存储设备73还包括第二使能信号发生器,所述第二使能信号发生器与所述存储电路连接;On the basis of any of the foregoing embodiments, the interrupt state storage device 73 further includes a second enable signal generator, and the second enable signal generator is connected to the storage circuit;
所述第二使能信号发生器用于,接收所述预设中断信号;并根据所述预设中断信号生成第二使能信号,并发送至所述存储电路;The second enable signal generator is configured to receive the preset interrupt signal; generate a second enable signal according to the preset interrupt signal, and send it to the storage circuit;
所述存储电路具体用于,根据所述第二使能信号和所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作。The storage circuit is specifically configured to store the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
在上述任一实施例的基础上,所述第二使能信号发生器用于:On the basis of any of the foregoing embodiments, the second enable signal generator is used for:
根据所述预设中断信号的跳变沿生成所述第二使能信号。The second enable signal is generated according to the transition edge of the preset interrupt signal.
在上述任一实施例的基础上,所述第二使能信号发生器工作在所述第二时钟信号下;On the basis of any of the foregoing embodiments, the second enable signal generator works under the second clock signal;
所述第二使能信号发生器用于:The second enable signal generator is used for:
对所述预设中断信号进行跨时钟域操作后,根据其跳变沿生成所述第二使能信号。After the cross-clock domain operation is performed on the preset interrupt signal, the second enable signal is generated according to its transition edge.
在上述任一实施例的基础上,所述第二使能信号发生器包括依次连接的第三寄存器、第四寄存器、第二反相器以及第二与门电路,且所述第三寄存器还与所述第二与门电路连接;其中,所述第三寄存器和所述第四寄存器工作在所述第二时钟域下;On the basis of any of the foregoing embodiments, the second enable signal generator includes a third register, a fourth register, a second inverter, and a second AND circuit connected in sequence, and the third register is also Connected to the second AND circuit; wherein the third register and the fourth register work in the second clock domain;
所述第三寄存器用于,对所述预设中断信号进行跨时钟域操作,生成第一跨域信号,并将所述第一跨域信号输出至所述第四寄存器和所述第二与门电路;The third register is used to perform cross-clock domain operations on the preset interrupt signal, generate a first cross-domain signal, and output the first cross-domain signal to the fourth register and the second AND Gate circuit
所述第四寄存器用于,对所述第四寄存器进行延时处理后生成第二延时信号,并将将所述第二延时信号输出至所述第二反相器;The fourth register is used to generate a second delay signal after performing delay processing on the fourth register, and output the second delay signal to the second inverter;
所述第二反相器,用于对所述所述第二延时信号进行反相后生成第二反向信号,经所述第二反向信号输出至所述第二与门电路;The second inverter is configured to invert the second delay signal to generate a second inverted signal, and output to the second AND circuit via the second inverted signal;
所述第二与门电路用于,接收所述第二反向信号和所述第一跨域信号,对所述第二反向信号和所述第一跨域信号进行逻辑与运算,生成所述第二使能信号,并将所述第二使能信号输出至所述存储电路。The second AND circuit is used to receive the second reverse signal and the first cross-domain signal, perform a logical AND operation on the second reverse signal and the first cross-domain signal, and generate the The second enable signal, and output the second enable signal to the storage circuit.
在上述任一实施例的基础上,所述存储电路包括多个第二选择器和多个第五寄存器;所述多个第二选择器和多个第五寄存器一一对应连接,所述采样电路发送的所述多个中断信号的状态信息一一对应输入所述多个 第二选择器;On the basis of any of the above embodiments, the storage circuit includes multiple second selectors and multiple fifth registers; the multiple second selectors and multiple fifth registers are connected in a one-to-one correspondence, and the sampling The state information of the multiple interrupt signals sent by the circuit is input into the multiple second selectors in a one-to-one correspondence;
所述第二使能信号发生器与所述第二选择器连接;The second enable signal generator is connected to the second selector;
所述第二选择器用于,根据所述第二使能信号,将所述中断信号的状态信息发送至所述第五寄存器;The second selector is configured to send the status information of the interrupt signal to the fifth register according to the second enable signal;
所述第五寄存器用于,接收所述第二时钟信号,并根据所述第二时钟信号对所述中断信号的状态信息进行锁存。The fifth register is used for receiving the second clock signal, and latching the state information of the interrupt signal according to the second clock signal.
在上述任一实施例的基础上,所述第五寄存器还用于,将所述第五寄存器当前存储的状态信息发送至所述第二选择器;On the basis of any of the foregoing embodiments, the fifth register is further configured to send the status information currently stored in the fifth register to the second selector;
所述第二选择器还用于,根据所述第二使能信号,对所述中断信号的状态信息和所述第五寄存器当前存储的状态信息进行选择操作,并输出所述中断信号的状态信息至所述第五寄存器;The second selector is further configured to select the status information of the interrupt signal and the status information currently stored in the fifth register according to the second enable signal, and output the status of the interrupt signal Information to the fifth register;
所述第五寄存器还用于,根据所述第二时钟信号,对所述中断信号的状态信息进行锁存。The fifth register is also used to latch the state information of the interrupt signal according to the second clock signal.
在上述任一实施例的基础上,所述第二选择器接收到所述第二寄存器所述采样电路发送的中断信号的状态信息的时间早于所述第二选择器接收到所述第二使能信号的时间。On the basis of any of the foregoing embodiments, the time when the second selector receives the status information of the interrupt signal sent by the sampling circuit of the second register is earlier than when the second selector receives the second Time when the signal is enabled.
在上述任一实施例的基础上,所述可移动平台70还包括处理器74;On the basis of any of the foregoing embodiments, the movable platform 70 further includes a processor 74;
所述处理器74,用于对所述存储电路进行访问,获取所述多个中断信号的状态信息。The processor 74 is configured to access the storage circuit and obtain status information of the multiple interrupt signals.
在上述任一实施例的基础上,所述可移动平台70包括如下至少一种:On the basis of any of the foregoing embodiments, the movable platform 70 includes at least one of the following:
无人飞行器、遥控车、机器人。Unmanned aerial vehicles, remote control vehicles, robots.
本发明实施例提供的可移动平台的具体原理和实现方式均与上述实施例类似,此处不再赘述。The specific principles and implementation manners of the movable platform provided by the embodiment of the present invention are similar to the foregoing embodiment, and will not be repeated here.
本发明实施例提供的可移动平台,在传感器系统和/或动力系统生成的多个中断信号中的预设中断信号发生变化时,由中断状态存储设备中的采样电路根据频率相对较高的第一时钟信号,对多个中断信号的状态信息进行采样,并将多个中断信号的状态信息发送至存储电路,由存储电路根据频率相对较低的第二时钟信号,对多个中断信号的状态信息进行存储操作,从而可实现在预设中断信号发生变化时锁存该多个中断信号的状态信息,以便根据该多个中断信号的状态信息分析各中断信号的顺序,提高中 断信号的顺序获取的准确性,避免中断信号的顺序获取错误的风险。In the mobile platform provided by the embodiment of the present invention, when the preset interrupt signal among the multiple interrupt signals generated by the sensor system and/or the power system changes, the sampling circuit in the interrupt state storage device is based on the relatively high frequency A clock signal samples the status information of the multiple interrupt signals, and sends the status information of the multiple interrupt signals to the storage circuit, and the storage circuit analyzes the status of the multiple interrupt signals according to the relatively low frequency second clock signal Information is stored, so that the status information of the multiple interrupt signals can be latched when the preset interrupt signal changes, so as to analyze the sequence of each interrupt signal according to the status information of the multiple interrupt signals, and improve the sequence acquisition of interrupt signals The accuracy of the signal is avoided to avoid the risk of obtaining the wrong sequence of interrupted signals.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention range.

Claims (32)

  1. 一种中断信息存储设备,其特征在于,包括相互连接的采样电路和存储电路;An interrupt information storage device, characterized in that it comprises a sampling circuit and a storage circuit connected to each other;
    所述采样电路用于,接收多个中断信号和第一时钟信号;在所述多个中断信号中的预设中断信号发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样,并将所述多个中断信号的状态信息发送至所述存储电路;The sampling circuit is used to receive a plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, respond to the plurality of interrupt signals according to the first clock signal Sampling the status information of the multiple interrupt signals, and sending the status information of the multiple interrupt signals to the storage circuit;
    所述存储电路用于,接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;The storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
    其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。Wherein, the frequency of the first clock signal is greater than the frequency of the second clock signal.
  2. 根据权利要求1所述的设备,其特征在于,还包括第一使能信号发生器,所述第一使能信号发生器与所述采样电路连接;The device according to claim 1, further comprising a first enabling signal generator, the first enabling signal generator being connected to the sampling circuit;
    所述第一使能信号发生器用于,接收所述预设中断信号;在所述预设中断信号发生状态变化时,生成第一使能信号,并发送给所述采样电路;The first enable signal generator is configured to receive the preset interrupt signal; when the preset interrupt signal changes state, generate a first enable signal and send it to the sampling circuit;
    所述采样电路具体用于,根据所述第一使能信号和所述第一时钟信号,对所述多个中断信号的状态信息进行采样。The sampling circuit is specifically configured to sample the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
  3. 根据权利要求2所述的设备,其特征在于,所述第一使能信号发生器用于:The device according to claim 2, wherein the first enable signal generator is used for:
    根据所述预设中断信号的跳变沿生成所述第一使能信号。The first enable signal is generated according to the transition edge of the preset interrupt signal.
  4. 根据权利要求2或3所述的设备,其特征在于,所述第一使能信号发生器包括依次连接的第一寄存器、第一反相器以及第一与门电路;The device according to claim 2 or 3, wherein the first enable signal generator comprises a first register, a first inverter, and a first AND circuit connected in sequence;
    所述第一寄存器用于,对所述预设中断信号进行延时处理后生成第一延时信号,并将所述第一延时信号输出至所述第一反相器;The first register is used to generate a first delay signal after performing delay processing on the preset interrupt signal, and output the first delay signal to the first inverter;
    所述第一反相器用于,对所述所述第一延时信号进行反相后生成第一反向信号,经所述第一反向信号输出至所述第一与门电路;The first inverter is used to invert the first delay signal to generate a first inverted signal, and output to the first AND circuit via the first inverted signal;
    所述第一与门电路用于,接收所述第一反向信号和所述预设中断信号,对所述第一反向信号和所述预设中断信号进行逻辑与运算,生成所述第一使能信号,并将所述第一使能信号输出至所述采样电路。The first AND circuit is configured to receive the first reverse signal and the preset interrupt signal, perform a logical AND operation on the first reverse signal and the preset interrupt signal, and generate the first An enable signal, and output the first enable signal to the sampling circuit.
  5. 根据权利要求2-4任一项所述的设备,其特征在于,所述采样电路包括多个第一选择器和多个第二寄存器;所述多个第一选择器和多个第 二寄存器一一对应连接,所述多个中断信号一一对应输入所述多个第一选择器;所述第一使能信号发生器与所述第一选择器连接;The device according to any one of claims 2-4, wherein the sampling circuit comprises a plurality of first selectors and a plurality of second registers; the plurality of first selectors and a plurality of second registers One-to-one correspondence connection, the multiple interrupt signals are input to the multiple first selectors one-to-one correspondence; the first enable signal generator is connected to the first selector;
    所述第一选择器用于,根据所述第一使能信号,将所述中断信号的状态信息发送至所述第二寄存器;The first selector is configured to send the status information of the interrupt signal to the second register according to the first enable signal;
    所述第二寄存器用于,接收所述第一时钟信号,并根据所述第一时钟信号对所述中断信号的状态信息进行锁存,并将所述中断信号的状态信息发送至所述存储电路。The second register is used to receive the first clock signal, latch the state information of the interrupt signal according to the first clock signal, and send the state information of the interrupt signal to the storage Circuit.
  6. 根据权利要求5所述的设备,其特征在于,所述第二寄存器还用于,将所述第二寄存器当前存储的状态信息发送至所述第一选择器;The device according to claim 5, wherein the second register is further configured to send the status information currently stored in the second register to the first selector;
    所述第一选择器还用于,根据所述第一使能信号,对所述中断信号的状态信息和所述第二寄存器当前存储的状态信息进行选择操作,输出所述中断信号的状态信息至所述第二寄存器;The first selector is further configured to select the status information of the interrupt signal and the status information currently stored in the second register according to the first enable signal, and output the status information of the interrupt signal To the second register;
    所述第二寄存器还用于,根据所述第一时钟信号,对所述中断信号的状态信息进行锁存。The second register is also used to latch the state information of the interrupt signal according to the first clock signal.
  7. 根据权利要求5或6所述的设备,其特征在于,还包括多个中断信号寄存器,多个所述中断信号寄存器和多个所述第一选择器一一对应连接;The device according to claim 5 or 6, further comprising a plurality of interrupt signal registers, and the plurality of interrupt signal registers and the plurality of first selectors are connected in a one-to-one correspondence;
    所述中断信号寄存器用于,接收所述第一时钟信号,根据所述第一时钟信号输出对应的中断信号。The interrupt signal register is used to receive the first clock signal and output a corresponding interrupt signal according to the first clock signal.
  8. 根据权利要求1-7任一项所述的设备,其特征在于,还包括第二使能信号发生器,所述第二使能信号发生器与所述存储电路连接;7. The device according to any one of claims 1-7, further comprising a second enabling signal generator, the second enabling signal generator being connected to the storage circuit;
    所述第二使能信号发生器用于,接收所述预设中断信号;并根据所述预设中断信号生成第二使能信号,并发送至所述存储电路;The second enable signal generator is configured to receive the preset interrupt signal; generate a second enable signal according to the preset interrupt signal, and send it to the storage circuit;
    所述存储电路具体用于,根据所述第二使能信号和所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作。The storage circuit is specifically configured to store the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
  9. 根据权利要求8所述的设备,其特征在于,所述第二使能信号发生器用于:The device according to claim 8, wherein the second enable signal generator is used for:
    根据所述预设中断信号的跳变沿生成所述第二使能信号。The second enable signal is generated according to the transition edge of the preset interrupt signal.
  10. 根据权利要求9所述的设备,其特征在于,所述第二使能信号发生器工作在所述第二时钟信号下;The device according to claim 9, wherein the second enable signal generator works under the second clock signal;
    所述第二使能信号发生器用于:The second enable signal generator is used for:
    对所述预设中断信号进行跨时钟域操作后,根据其跳变沿生成所述第二使能信号。After the cross-clock domain operation is performed on the preset interrupt signal, the second enable signal is generated according to its transition edge.
  11. 根据权利要求10所述的设备,其特征在于,所述第二使能信号发生器包括依次连接的第三寄存器、第四寄存器、第二反相器以及第二与门电路,且所述第三寄存器还与所述第二与门电路连接;其中,所述第三寄存器和所述第四寄存器工作在所述第二时钟域下;The device according to claim 10, wherein the second enable signal generator comprises a third register, a fourth register, a second inverter, and a second AND circuit connected in sequence, and the first The third register is also connected with the second AND circuit; wherein, the third register and the fourth register work in the second clock domain;
    所述第三寄存器用于,对所述预设中断信号进行跨时钟域操作,生成第一跨域信号,并将所述第一跨域信号输出至所述第四寄存器和所述第二与门电路;The third register is used to perform cross-clock domain operations on the preset interrupt signal, generate a first cross-domain signal, and output the first cross-domain signal to the fourth register and the second AND Gate circuit
    所述第四寄存器用于,对所述第四寄存器进行延时处理后生成第二延时信号,并将将所述第二延时信号输出至所述第二反相器;The fourth register is used to generate a second delay signal after performing delay processing on the fourth register, and output the second delay signal to the second inverter;
    所述第二反相器,用于对所述所述第二延时信号进行反相后生成第二反向信号,经所述第二反向信号输出至所述第二与门电路;The second inverter is configured to invert the second delay signal to generate a second inverted signal, and output to the second AND circuit via the second inverted signal;
    所述第二与门电路用于,接收所述第二反向信号和所述第一跨域信号,对所述第二反向信号和所述第一跨域信号进行逻辑与运算,生成所述第二使能信号,并将所述第二使能信号输出至所述存储电路。The second AND circuit is used to receive the second reverse signal and the first cross-domain signal, perform a logical AND operation on the second reverse signal and the first cross-domain signal, and generate the The second enable signal, and output the second enable signal to the storage circuit.
  12. 根据权利要求8-11任一项所述的设备,其特征在于,所述存储电路包括多个第二选择器和多个第五寄存器;所述多个第二选择器和多个第五寄存器一一对应连接,所述采样电路发送的所述多个中断信号的状态信息一一对应输入所述多个第二选择器;The device according to any one of claims 8-11, wherein the storage circuit comprises a plurality of second selectors and a plurality of fifth registers; the plurality of second selectors and a plurality of fifth registers One-to-one correspondence connection, the state information of the multiple interrupt signals sent by the sampling circuit is input into the multiple second selectors one-to-one;
    所述第二使能信号发生器与所述第二选择器连接;The second enable signal generator is connected to the second selector;
    所述第二选择器用于,根据所述第二使能信号,将所述中断信号的状态信息发送至所述第五寄存器;The second selector is configured to send the status information of the interrupt signal to the fifth register according to the second enable signal;
    所述第五寄存器用于,接收所述第二时钟信号,并根据所述第二时钟信号对所述中断信号的状态信息进行锁存。The fifth register is used for receiving the second clock signal, and latching the state information of the interrupt signal according to the second clock signal.
  13. 根据权利要求12所述的设备,其特征在于,所述第五寄存器还用于,将所述第五寄存器当前存储的状态信息发送至所述第二选择器;The device according to claim 12, wherein the fifth register is further configured to send state information currently stored in the fifth register to the second selector;
    所述第二选择器还用于,根据所述第二使能信号,对所述中断信号的状态信息和所述第五寄存器当前存储的状态信息进行选择操作,并输出所 述中断信号的状态信息至所述第五寄存器;The second selector is further configured to select the status information of the interrupt signal and the status information currently stored in the fifth register according to the second enable signal, and output the status of the interrupt signal Information to the fifth register;
    所述第五寄存器还用于,根据所述第二时钟信号,对所述中断信号的状态信息进行锁存。The fifth register is also used to latch the state information of the interrupt signal according to the second clock signal.
  14. 根据权利要求13所述的设备,其特征在于,The device of claim 13, wherein:
    所述第二选择器接收到所述第二寄存器所述采样电路发送的中断信号的状态信息的时间早于所述第二选择器接收到所述第二使能信号的时间。The time when the second selector receives the state information of the interrupt signal sent by the sampling circuit of the second register is earlier than the time when the second selector receives the second enable signal.
  15. 根据权利要求1-14任一项所述的设备,其特征在于,还包括处理器;The device according to any one of claims 1-14, further comprising a processor;
    所述处理器用于,对所述存储电路进行访问,获取所述多个中断信号的状态信息。The processor is configured to access the storage circuit to obtain status information of the multiple interrupt signals.
  16. 一种可移动平台,其特征在于,包括传感器系统、动力系统、以及权利要求1-14任一项所述的中断状态存储设备,所述传感器系统,用于采集所述可移动平台的状态信息和/或环境信息;所述动力系统,用于为所述可移动平台提供动力;A movable platform, characterized by comprising a sensor system, a power system, and the interrupt state storage device according to any one of claims 1-14, and the sensor system is used to collect state information of the movable platform And/or environmental information; the power system is used to provide power for the movable platform;
    所述传感器系统和所述动力系统还用于生成多个中断信号发送至所述中断状态存储设备;The sensor system and the power system are also used to generate a plurality of interrupt signals to send to the interrupt state storage device;
    所述中断状态存储设备包括相互连接的采样电路和存储电路;The interrupted state storage device includes a sampling circuit and a storage circuit connected to each other;
    所述采样电路用于,接收所述多个中断信号和第一时钟信号;在所述多个中断信号中的预设中断信号发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样,并将所述多个中断信号的状态信息发送至所述存储电路;The sampling circuit is configured to receive the plurality of interrupt signals and a first clock signal; when a preset interrupt signal in the plurality of interrupt signals changes, according to the first clock signal, the plurality of Sampling the status information of the interrupt signal, and sending the status information of the multiple interrupt signals to the storage circuit;
    所述存储电路用于,接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;The storage circuit is configured to receive a second clock signal; perform a storage operation on the state information of the multiple interrupt signals according to the second clock signal;
    其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。Wherein, the frequency of the first clock signal is greater than the frequency of the second clock signal.
  17. 根据权利要求16所述的可移动平台,其特征在于,所述中断状态存储设备还包括第一使能信号发生器,所述第一使能信号发生器与所述采样电路连接;The mobile platform according to claim 16, wherein the interrupt state storage device further comprises a first enable signal generator, and the first enable signal generator is connected to the sampling circuit;
    所述第一使能信号发生器用于,接收所述预设中断信号;在所述预设中断信号发生状态变化时,生成第一使能信号,并发送给所述采样电路;The first enable signal generator is configured to receive the preset interrupt signal; when the preset interrupt signal changes state, generate a first enable signal and send it to the sampling circuit;
    所述采样电路具体用于,根据所述第一使能信号和所述第一时钟信号,对所述多个中断信号的状态信息进行采样。The sampling circuit is specifically configured to sample the status information of the multiple interrupt signals according to the first enable signal and the first clock signal.
  18. 根据权利要求17所述的可移动平台,其特征在于,所述第一使能信号发生器用于:The movable platform according to claim 17, wherein the first enabling signal generator is used for:
    根据所述预设中断信号的跳变沿生成所述第一使能信号。The first enable signal is generated according to the transition edge of the preset interrupt signal.
  19. 根据权利要求17或18所述的可移动平台,其特征在于,所述第一使能信号发生器包括依次连接的第一寄存器、第一反相器以及第一与门电路;The movable platform according to claim 17 or 18, wherein the first enable signal generator comprises a first register, a first inverter, and a first AND circuit connected in sequence;
    所述第一寄存器用于,对所述预设中断信号进行延时处理后生成第一延时信号,并将所述第一延时信号输出至所述第一反相器;The first register is used to generate a first delay signal after performing delay processing on the preset interrupt signal, and output the first delay signal to the first inverter;
    所述第一反相器用于,对所述所述第一延时信号进行反相后生成第一反向信号,经所述第一反向信号输出至所述第一与门电路;The first inverter is used to invert the first delay signal to generate a first inverted signal, and output to the first AND circuit via the first inverted signal;
    所述第一与门电路用于,接收所述第一反向信号和所述预设中断信号,对所述第一反向信号和所述预设中断信号进行逻辑与运算,生成所述第一使能信号,并将所述第一使能信号输出至所述采样电路。The first AND circuit is configured to receive the first reverse signal and the preset interrupt signal, perform a logical AND operation on the first reverse signal and the preset interrupt signal, and generate the first An enable signal, and output the first enable signal to the sampling circuit.
  20. 根据权利要求17-19任一项所述的可移动平台,其特征在于,所述采样电路包括多个第一选择器和多个第二寄存器;所述多个第一选择器和多个第二寄存器一一对应连接,所述多个中断信号一一对应输入所述多个第一选择器;所述第一使能信号发生器与所述第一选择器连接;The movable platform according to any one of claims 17-19, wherein the sampling circuit includes a plurality of first selectors and a plurality of second registers; the plurality of first selectors and a plurality of second registers; The two registers are connected in a one-to-one correspondence, the multiple interrupt signals are input to the multiple first selectors in a one-to-one correspondence; the first enable signal generator is connected to the first selector;
    所述第一选择器用于,根据所述第一使能信号,将所述中断信号的状态信息发送至所述第二寄存器;The first selector is configured to send the status information of the interrupt signal to the second register according to the first enable signal;
    所述第二寄存器用于,接收所述第一时钟信号,并根据所述第一时钟信号对所述中断信号的状态信息进行锁存,并将所述中断信号的状态信息发送至所述存储电路。The second register is used to receive the first clock signal, latch the state information of the interrupt signal according to the first clock signal, and send the state information of the interrupt signal to the storage Circuit.
  21. 根据权利要求20所述的可移动平台,其特征在于,所述第二寄存器还用于,将所述第二寄存器当前存储的状态信息发送至所述第一选择器;The movable platform according to claim 20, wherein the second register is also used to send the status information currently stored in the second register to the first selector;
    所述第一选择器还用于,根据所述第一使能信号,对所述中断信号的状态信息和所述第二寄存器当前存储的状态信息进行选择操作,输出所述中断信号的状态信息至所述第二寄存器;The first selector is further configured to select the status information of the interrupt signal and the status information currently stored in the second register according to the first enable signal, and output the status information of the interrupt signal To the second register;
    所述第二寄存器还用于,根据所述第一时钟信号,对所述中断信号的状态信息进行锁存。The second register is also used to latch the state information of the interrupt signal according to the first clock signal.
  22. 根据权利要求20或21所述的可移动平台,其特征在于,所述中断状态存储设备还包括多个中断信号寄存器,多个所述中断信号寄存器和多个所述第一选择器一一对应连接;The mobile platform according to claim 20 or 21, wherein the interrupt state storage device further comprises a plurality of interrupt signal registers, and the plurality of interrupt signal registers correspond to the plurality of first selectors one to one connection;
    所述中断信号寄存器用于,接收所述第一时钟信号,根据所述第一时钟信号输出对应的中断信号。The interrupt signal register is used to receive the first clock signal and output a corresponding interrupt signal according to the first clock signal.
  23. 根据权利要求16-22任一项所述的可移动平台,其特征在于,所述中断状态存储设备还包括第二使能信号发生器,所述第二使能信号发生器与所述存储电路连接;The movable platform according to any one of claims 16-22, wherein the interruption state storage device further comprises a second enable signal generator, and the second enable signal generator and the storage circuit connection;
    所述第二使能信号发生器用于,接收所述预设中断信号;并根据所述预设中断信号生成第二使能信号,并发送至所述存储电路;The second enable signal generator is configured to receive the preset interrupt signal; generate a second enable signal according to the preset interrupt signal, and send it to the storage circuit;
    所述存储电路具体用于,根据所述第二使能信号和所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作。The storage circuit is specifically configured to store the state information of the multiple interrupt signals according to the second enable signal and the second clock signal.
  24. 根据权利要求23所述的可移动平台,其特征在于,所述第二使能信号发生器用于:The movable platform of claim 23, wherein the second enable signal generator is used for:
    根据所述预设中断信号的跳变沿生成所述第二使能信号。The second enable signal is generated according to the transition edge of the preset interrupt signal.
  25. 根据权利要求24所述的可移动平台,其特征在于,所述第二使能信号发生器工作在所述第二时钟信号下;The movable platform of claim 24, wherein the second enable signal generator works under the second clock signal;
    所述第二使能信号发生器用于:The second enable signal generator is used for:
    对所述预设中断信号进行跨时钟域操作后,根据其跳变沿生成所述第二使能信号。After the cross-clock domain operation is performed on the preset interrupt signal, the second enable signal is generated according to its transition edge.
  26. 根据权利要求25所述的可移动平台,其特征在于,所述第二使能信号发生器包括依次连接的第三寄存器、第四寄存器、第二反相器以及第二与门电路,且所述第三寄存器还与所述第二与门电路连接;其中,所述第三寄存器和所述第四寄存器工作在所述第二时钟域下;The movable platform of claim 25, wherein the second enable signal generator includes a third register, a fourth register, a second inverter, and a second AND circuit connected in sequence, and The third register is also connected to the second AND circuit; wherein, the third register and the fourth register work in the second clock domain;
    所述第三寄存器用于,对所述预设中断信号进行跨时钟域操作,生成第一跨域信号,并将所述第一跨域信号输出至所述第四寄存器和所述第二与门电路;The third register is used to perform cross-clock domain operations on the preset interrupt signal, generate a first cross-domain signal, and output the first cross-domain signal to the fourth register and the second AND Gate circuit
    所述第四寄存器用于,对所述第四寄存器进行延时处理后生成第二延 时信号,并将将所述第二延时信号输出至所述第二反相器;The fourth register is used to generate a second delay signal after performing delay processing on the fourth register, and output the second delay signal to the second inverter;
    所述第二反相器,用于对所述所述第二延时信号进行反相后生成第二反向信号,经所述第二反向信号输出至所述第二与门电路;The second inverter is configured to invert the second delay signal to generate a second inverted signal, and output to the second AND circuit via the second inverted signal;
    所述第二与门电路用于,接收所述第二反向信号和所述第一跨域信号,对所述第二反向信号和所述第一跨域信号进行逻辑与运算,生成所述第二使能信号,并将所述第二使能信号输出至所述存储电路。The second AND circuit is used to receive the second reverse signal and the first cross-domain signal, perform a logical AND operation on the second reverse signal and the first cross-domain signal, and generate the The second enable signal, and output the second enable signal to the storage circuit.
  27. 根据权利要求23-26任一项所述的可移动平台,其特征在于,所述存储电路包括多个第二选择器和多个第五寄存器;所述多个第二选择器和多个第五寄存器一一对应连接,所述采样电路发送的所述多个中断信号的状态信息一一对应输入所述多个第二选择器;The movable platform according to any one of claims 23-26, wherein the storage circuit includes a plurality of second selectors and a plurality of fifth registers; the plurality of second selectors and a plurality of first Five registers are connected in one-to-one correspondence, and the state information of the multiple interrupt signals sent by the sampling circuit is input into the multiple second selectors in a one-to-one correspondence;
    所述第二使能信号发生器与所述第二选择器连接;The second enable signal generator is connected to the second selector;
    所述第二选择器用于,根据所述第二使能信号,将所述中断信号的状态信息发送至所述第五寄存器;The second selector is configured to send the status information of the interrupt signal to the fifth register according to the second enable signal;
    所述第五寄存器用于,接收所述第二时钟信号,并根据所述第二时钟信号对所述中断信号的状态信息进行锁存。The fifth register is used for receiving the second clock signal, and latching the state information of the interrupt signal according to the second clock signal.
  28. 根据权利要求27所述的可移动平台,其特征在于,所述第五寄存器还用于,将所述第五寄存器当前存储的状态信息发送至所述第二选择器;The movable platform according to claim 27, wherein the fifth register is further used to send the status information currently stored in the fifth register to the second selector;
    所述第二选择器还用于,根据所述第二使能信号,对所述中断信号的状态信息和所述第五寄存器当前存储的状态信息进行选择操作,并输出所述中断信号的状态信息至所述第五寄存器;The second selector is further configured to select the status information of the interrupt signal and the status information currently stored in the fifth register according to the second enable signal, and output the status of the interrupt signal Information to the fifth register;
    所述第五寄存器还用于,根据所述第二时钟信号,对所述中断信号的状态信息进行锁存。The fifth register is also used to latch the state information of the interrupt signal according to the second clock signal.
  29. 根据权利要求28所述的可移动平台,其特征在于,The movable platform according to claim 28, wherein:
    所述第二选择器接收到所述第二寄存器所述采样电路发送的中断信号的状态信息的时间早于所述第二选择器接收到所述第二使能信号的时间。The time when the second selector receives the state information of the interrupt signal sent by the sampling circuit of the second register is earlier than the time when the second selector receives the second enable signal.
  30. 根据权利要求16-29任一项所述的可移动平台,其特征在于,所述可移动平台还包括处理器;The movable platform according to any one of claims 16-29, wherein the movable platform further comprises a processor;
    所述处理器用于,对所述存储电路进行访问,获取所述多个中断信号 的状态信息。The processor is configured to access the storage circuit to obtain status information of the multiple interrupt signals.
  31. 根据权利要求16-30任一项所述的可移动平台,其特征在于,所述可移动平台包括如下至少一种:The movable platform according to any one of claims 16-30, wherein the movable platform comprises at least one of the following:
    无人飞行器、遥控车、机器人。Unmanned aerial vehicles, remote control vehicles, robots.
  32. 一种中断信息存储方法,其特征在于,包括步骤:A method for storing interruption information is characterized in that it comprises the steps:
    接收多个中断信号和第一时钟信号;在所述多个中断信号中的预设中断信号发生变化时,根据所述第一时钟信号,对所述多个中断信号的状态信息进行采样;Receiving a plurality of interrupt signals and a first clock signal; when a preset interrupt signal of the plurality of interrupt signals changes, sampling the status information of the plurality of interrupt signals according to the first clock signal;
    接收第二时钟信号;根据所述第二时钟信号,对所述多个中断信号的状态信息进行存储操作;其中,所述第一时钟信号的频率大于所述第二时钟信号的频率。Receiving a second clock signal; storing the state information of the plurality of interrupt signals according to the second clock signal; wherein the frequency of the first clock signal is greater than the frequency of the second clock signal.
PCT/CN2019/093496 2019-06-28 2019-06-28 Interrupt information storage device and removable platform WO2020258200A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980011957.7A CN111699474A (en) 2019-06-28 2019-06-28 Interrupt information storage device and movable platform
PCT/CN2019/093496 WO2020258200A1 (en) 2019-06-28 2019-06-28 Interrupt information storage device and removable platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/093496 WO2020258200A1 (en) 2019-06-28 2019-06-28 Interrupt information storage device and removable platform

Publications (1)

Publication Number Publication Date
WO2020258200A1 true WO2020258200A1 (en) 2020-12-30

Family

ID=72476444

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/093496 WO2020258200A1 (en) 2019-06-28 2019-06-28 Interrupt information storage device and removable platform

Country Status (2)

Country Link
CN (1) CN111699474A (en)
WO (1) WO2020258200A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920784A (en) * 2006-08-10 2007-02-28 北京中星微电子有限公司 Safeguard device and safeguard interruption prewarm method
CN101276292A (en) * 2008-05-13 2008-10-01 杭州华三通信技术有限公司 Interrupt synthetic method and apparatus as well as modularization host computer system
CN101937364A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Interrupt synthesizing method and device
US20110175653A1 (en) * 2010-01-18 2011-07-21 Fujitsu Limited Clock device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363526B1 (en) * 2004-09-07 2008-04-22 Altera Corporation Method for transferring data across different clock domains with selectable delay
CN100410911C (en) * 2006-05-31 2008-08-13 威盛电子股份有限公司 Interrupt controller, interrupt signal pretreating circuit and its interrupt control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920784A (en) * 2006-08-10 2007-02-28 北京中星微电子有限公司 Safeguard device and safeguard interruption prewarm method
CN101276292A (en) * 2008-05-13 2008-10-01 杭州华三通信技术有限公司 Interrupt synthetic method and apparatus as well as modularization host computer system
CN101937364A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Interrupt synthesizing method and device
US20110175653A1 (en) * 2010-01-18 2011-07-21 Fujitsu Limited Clock device

Also Published As

Publication number Publication date
CN111699474A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN102035673B (en) Fiber channel-based general automatic test system
CN100568208C (en) The flexible interface that is used for universal bus test instrument
US11061432B2 (en) Data handoff between two clock domains sharing a fundamental beat
CN105119671A (en) Multichannel scattering parameter testing circuit and method for complex modulation and phase coherence system
CN104267638A (en) Serializer/deserializer clock source based on clock managers and FPGA
JP2946658B2 (en) Flip-flop circuit
CN107306178A (en) clock data recovery device and method
JP3813151B2 (en) Transition detection, validation and memory circuit
WO2020258200A1 (en) Interrupt information storage device and removable platform
CN108120917B (en) Method and device for determining test clock circuit
US7137061B2 (en) Method and device for signaling a transmission fault on a data line
US20220337385A1 (en) Clock data calibration circuit
JP2005274531A (en) Network analyzer, transmission tracking measuring method, network analysis method, program and recording medium
EP4012423B1 (en) Detection circuit and detection method
US10935595B1 (en) Methods for identifying integrated circuit failures caused by asynchronous clock-domain crossings in the presence of multiple modes
CN110895501B (en) Serial port switching method and system thereof
CN113890779A (en) Access device for communication device and communication system
CN113821075A (en) Clock domain crossing processing method and device for asynchronous multi-bit signal
JP2018530248A (en) Pilot setting method and apparatus
JP4182096B2 (en) Pseudo base station equipment
Iles Performance and lessons of the CMS global calorimeter trigger
CN112711449A (en) Data processing method, device and system and computer storage medium
CN114326930B (en) Clock delay test method and clock delay test system
CN100492908C (en) Apparatus and method for determining clock domain changing abnormality
CN106646010B (en) System and method for testing discrete input and output signals

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19934575

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19934575

Country of ref document: EP

Kind code of ref document: A1