Interrupt processing method and device for slow peripheral device
By using asynchronous interrupt generator and clear circuit in the interrupt processing circuit, using slower clock signals to manage interrupts of fast clock domain circuits, the delay problem in interrupt processing of fast and slow clock domain circuits is solved, and fast response and low latency are achieved interrupt handling.
Patent Information
- Application Number
- CN202411125272.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2017-01-31
- Filing Date
- 2018-01-31
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art has significant delays in handling interrupts between fast and slow clock domain circuits, resulting in interrupt clear delays and possible interrupt events loss, especially in cases where clock speed differences are huge.
An interrupt processing circuit is designed to use the slower second clock signal to manage interrupts of the fast clock domain circuit asynchronously, generate an interrupt input signal synchronized with the second clock signal, and respond to confirmation. The signal asynchronously clears the interrupt input and output signals to reduce synchronization delay.
It realizes the generation of interrupts without introducing significant delay times, improves interrupt response speed, avoids interrupt event loss, and optimizes the service capabilities of fast clock domain circuits to slow clock domain circuits.
Smart Images

Figure CN119024924A_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application 2018800091312 (PCT / US2018 / 016206), whose international application date is January 31, 2018 and whose national phase entry date is July 30, 2019, and whose name is “Interrupt handling method and device for slow peripheral devices”. Background Art
[0002] Electronic circuits and systems typically include multiple circuit parts or clock domains that operate at different clock speeds. For example, a processor circuit typically operates at a high clock speed and interacts with one or more peripheral circuits that operate at a very low clock speed. A slow clock domain circuit typically generates an interrupt service request for being serviced by a fast clock domain circuit. Service and clearing interrupts from a slow clock domain circuit may take up many fast clock cycles and may cause the fast clock domain circuit to be unable to service other interrupts. In one example, an interrupt from a peripheral circuit operating at a very slow frequency (e.g., 10-100KHz) is serviced by a CPU operating at a high clock frequency of 1-100MHz or even higher. Application software executed by a fast clock domain processor circuit or CPU may need to update or write a new counter value in a register of a low clock speed pulse width modulation (PWM) control circuit in response to an interrupt triggered by a counter value reaching a predetermined value. Previous interrupt handling techniques and circuits synchronize a clear request from a service CPU with a slow clock signal and / or use a handshaking method to clear the interrupt request. This results in delaying two or more slow clock cycles and removing the interrupt request signal before the peripheral circuit receives the clear request. This interrupt clearing delay can be significant, especially for large differences in fast and slow clock speeds. For a peripheral operating at a 10KHz functional clock, the delay is at least 200 microseconds, which is very large for a CPU operating at 100MHz. During this period, the fast clock domain CPU must wait to avoid re-entering the same service route. In addition, if another interrupt event occurs in the peripheral circuit before the initial interrupt is cleared, the new interrupt event from the same peripheral will be lost. Moreover, conventional interrupt handling circuits and techniques generate interrupt requests with some delay time. For example, the slow clock domain interrupt generation condition can be based on a rising slow clock edge, and the interrupt request signal is generated based on a rising slow clock edge, or vice versa, where synchronization with the slow clock signal introduces further delays in servicing the interrupt event. Summary of the invention
[0003] The described examples include an interrupt handling circuit and method for managing interrupts of a first circuit in a fast clock domain by a second circuit in a slow clock domain, wherein the first circuit operates according to a first clock signal and the second circuit operates according to a second clock signal that is slower than the first clock signal. The described interrupt handling circuit includes: an interrupt generator circuit that generates an interrupt input signal; and an interrupt clearing circuit that resets the interrupt generator circuit asynchronously with respect to the second clock signal in response to an acknowledgement signal from the first circuit.
[0004] In some examples, the interrupt generator circuit includes a first input for receiving an interrupt request signal; a second input for receiving an interrupt clear signal; and an output for providing an interrupt input signal synchronized with the interrupt request signal to selectively interrupt the first circuit. In one example, the interrupt clear circuit includes an output synchronized with the first clock signal to provide an interrupt clear signal in response to an acknowledgement signal from the first circuit to reset the interrupt generator circuit.
[0005] A method of managing interrupts of a first circuit operating according to a first clock signal by a second circuit operating according to a slower second clock signal is described. The method includes generating an interrupt input signal synchronized with the second clock signal, providing an interrupt output signal to the first circuit in response to the interrupt input signal, and clearing the interrupt input and output signals asynchronously with respect to the second clock signal in response to an acknowledgement signal from the first circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 is a schematic diagram showing an interrupt processing circuit configured to manage interrupts of a first circuit in a fast clock domain through a second circuit in a slow clock domain.
[0007] Figure 2 It is shown Figure 1 A signal diagram of the operating signals in the circuit for arbitrary ratios of fast and slow clock speeds.
[0008] Figure 3 It is shown Figure 1 A signal diagram of the operating signals in a circuit for an example ratio of fast and slow clock speeds.
[0009] Figure 4 is a signal diagram illustrating a handshake acknowledgement interrupt handling technique with a missed interrupt event.
[0010] Figure 5 is a signal diagram illustrating interrupt generation with synchronization delay.
[0011] Figure 6 is a flow chart illustrating a process or method for managing interrupts of fast-domain circuits by slow-domain circuits. DETAILED DESCRIPTION
[0012] In the drawings, like reference numerals refer to like elements throughout, and the various features are not necessarily drawn to scale. In this specification, the term "coupled" includes indirect or direct electrical or mechanical connections, or a combination thereof. For example, if a first device is coupled to or with a second device, the connection may be made through a direct electrical connection, or through an indirect electrical connection via one or more intermediate devices and connections.
[0013] The described examples include integrated circuits, and interrupt handling circuits and processes for managing interrupts of a first circuit operating according to a first clock signal through a second circuit operating according to a slower second clock signal. The described techniques can be used in a variety of different applications where first and second clock domains or circuits operate according to different clock speeds, which can be asynchronous or synchronous with each other. Moreover, the described examples provide interrupt handling circuits and methods that can be used in association with first and second clock domain circuits of a single integrated circuit, or corresponding to fast and slow clock domain circuits on separate ICs or combinations thereof.
[0014] Figure 1 The circuit 100 includes an interrupt processing circuit 100, a first circuit 101 (a "fast domain circuit" marked as FD CKT in the figure) and a second circuit 102 ( Figure 1 104 is a system (a “slow domain circuit” labeled SD CKT in FIG. 105 ). The first and second circuits 101 and 102 operate according to different first and second clock signals FCLK and SCLK, respectively. Circuits 101 and 102 may be formed in separate integrated circuits (ICs), or may be circuits on a single IC. Circuits 101 and 102 are parts of two independent clock domains that operate according to corresponding clock signals FCLK and SCLK. The clock signals FCLK and SCLK may operate independently of each other with respect to clock phase and / or clock frequency, but this is not a strict requirement for all embodiments. The first clock signal FCLK is provided by a clock source (not shown) of the first circuit 101 on circuit node 103, and the clock signal SCLK is provided by a clock source (not shown) of the second circuit 102 on node 105. In this example, the second clock signal SCLK is slower than the first clock signal FCLK.
[0015] The interrupt handling circuit 100 includes an interrupt generator circuit 110, a synchronizer circuit 120, and interrupt clearing circuits 114, 116 to manage signaling and clearance of interrupt events associated with a second circuit 102 served by a first circuit 101. In this example, the interrupt generator circuit 110 includes inputs 104 and 105 and an output 118, and selectively interrupts the first circuit 101 synchronously with respect to a first clock signal FCLK. The interrupt clearing circuits 114, 116 include a flip-flop 116 and an AND gate 114, and an output 115 synchronized with the first clock signal FCLK to selectively provide an interrupt clearing signal CLEAR to reset the interrupt generator circuit 110 in response to an acknowledgement signal ACK from the first circuit 101. In addition, the interrupt clearing circuits 114, 116 asynchronously clear or reset the interrupt generator circuit 110 with respect to a second clock signal SCLK. In this manner, the interrupt handling circuit 100 mitigates or avoids synchronization delays associated with conventional interrupt clearing circuits and facilitates response by the interrupt generator circuit 110 to further interrupts from the second circuit 102 .
[0016] In operation, the second circuit 102 provides an interrupt request signal IR at a node 104 as an input to an interrupt generator circuit 110. The second circuit 102 also includes an output node 108 to provide a reset signal NRESET_SCLK to reset the interrupt generator circuit. The interrupt generator circuit 110 provides an interrupt input signal INT_IN at a node 118 as an input to a synchronizer circuit 120. The synchronizer circuit 120 provides an interrupt output signal INT_OUT at a node 128 connected to the first circuit 101. In turn, the first circuit 101 services the interrupt and generates an acknowledgement signal ACK at a circuit node 130, which is provided as an input to the interrupt clearing circuits 114, 116. The interrupt clearing circuits 114, 116 generate an interrupt clearing signal CLEAR at a node 115 to clear the interrupt input signal INT_IN.
[0017] Conventional fast / slow clock domain interrupt handling circuits and techniques typically introduce latency or delay in interrupt request signaling and suffer significant delays due to slow clock domain clear signal synchronization, which can result in delays in servicing and clearing interrupts and possible loss or omission of interrupt events.
[0018] To address the first problem, the present disclosure provides a solution that can generate an interrupt without significant delay time. In this example, the interrupt generator circuit 110 includes an interrupt flag or interrupt generator trigger 112, which in this case is a data or "D" trigger that generates an interrupt input signal INT_IN based on a synchronous interrupt request signal SET_FLAG on a circuit node 111 received from the trigger 106. The trigger 106 receives the interrupt request signal IR from the node 104 as a data input, and includes a clock input connected to the slow clock node 105. In operation, the second circuit 102 activates the interrupt request signal IR in an effective high state, and the trigger 106 generates a signal SET_FLAG in a high state on the node 111 at the next rising edge of the slow clock signal SCLK. The data (D) input of the interrupt generator trigger 112 is connected to a logic high signal ( Figure 1 ), and the clock input of the flip-flop 112 is connected to receive the synchronized interrupt request signal SET_FLAG from the node 111. The AND gate 114 provides the CLEAR signal to the clear input CLRZ of the flip-flop 112 to selectively reset the interrupt generator circuit 110 in response to the confirmation signal ACK from the first circuit 101.
[0019] In response to the second interrupt generator input 115 receiving the interrupt clear signal CLEAR in a low first state, the interrupt generator output 118 provides the interrupt input signal INT_IN in a low first state. When the interrupt clear signal CLEAR is in a high second state, the output 118 provides the interrupt input signal INT_IN in a high second state and provides a synchronous interrupt request signal SET_FLAG in response to a low-to-high transition. When the CLEAR signal is high, the flip-flop 112 generates the interrupt input signal INT_IN in a valid high state at or shortly after the rising edge of the slow clock signal SCLK when the interrupt request signal IR is asserted in a high state. In this way, the interrupt request signal SET_FLAG is synchronized with the second clock signal SCLK through the flip-flop 106 to avoid or mitigate metastable problems. The interrupt generation circuit 110 provides significant advantages over other interrupt generation circuits that often suffer from half-cycle or full-cycle synchronization delays, as described below in conjunction with Figure 5 The circuit 110 advantageously asserts the interrupt input signal INT_IN in a timely manner with respect to the rising edge of the interrupt request signal IR received from the second circuit 102 .
[0020] The interrupt clearing circuits 114 and 116 provide an interrupt clearing signal CLEAR in a low first state to reset the interrupt generator circuit 110 to set the interrupt input signal INT_IN to a low first state in response to the confirmation signal ACK from the first circuit 101. The flip-flop 116 in this example is a D flip-flop, in which the data input "D" is connected to the node 130 to receive the confirmation signal ACK, and the clock input is connected to the node 103 to receive the first clock signal FCLK. The output "Q" of the flip-flop 116 is connected to provide a clear flag signal CLR_FLAG on the node 113, as shown in FIG. Figure 1 As shown. AND gate 114 receives the CLR_FLAG signal via the inverting input and receives the reset signal NRESET_SCLK from the second circuit 102 via node 108. The second input of AND gate 114 allows the second circuit 102 to reset AND gate 114. In other possible embodiments, AND gate 114 can be omitted, and the CLR_FLAG signal can be directly provided to the CLRZ input of the interrupt generator trigger 112. In operation, the clearing circuits 114, 116 quickly clear the trigger 112 in response to the ACK signal going high, without synchronizing the delay associated with the second clock signal SCLK, thereby causing the interrupt input signal INT_IN and the interrupt output signal INT_OUT to become low asynchronously relative to the slow clock signal SCLK. In this way, once the first circuit 101 has serviced the pending interrupt, the pending interrupt signal INT_OUT is quickly cleared, thereby allowing the first circuit 101 to receive and properly service other subsequent interrupts from the second circuit 102.
[0021] In this example, the interrupt handling circuit 100 also includes a synchronizer circuit 120. In operation, the circuit 120 quickly synchronizes the interrupt input signal INT_IN with respect to the fast first clock signal FCLK to avoid any metastable problems with the INT_IN signal generated by the interrupt generator circuit 110. The synchronizer circuit 120 includes an input coupled to the interrupt generator output 118 to receive the interrupt input signal INT_IN, and an output 128 synchronized with the first clock signal FCLK to provide the interrupt output signal INT_OUT to the first circuit 101. The circuit 120 in this example includes a first flip-flop 122, whose data input D is connected to the interrupt generator output 118 and the clock input is connected to receive the first clock signal FCLK. The output 124 (Q) of the first synchronizer flip-flop 122 is connected to the data input D of the second synchronizer flip-flop 126, and the second synchronizer flip-flop 126 also has a clock input connected to the first clock signal FCLK at the node 103. The output Q of the second synchronizer flip-flop 126 is connected to the first circuit 101 to provide an interrupt output signal INT_OUT synchronized with the first clock signal FCLK. The synchronizer flip-flops 122 and 126 each include an active low clear input CLRZ connected to receive a reset signal NRESET_FCLK provided by the first circuit 101 on a circuit node 132 .
[0022] Figure 2 Shows the description Figure 1 A signal diagram 200 of operating signals for any ratio of fast and slow clock speeds in the interrupt handling circuit 100 is shown. In this example, two example cycles of the second clock signal SCLK are shown as curve 202, and the FCLK curve 204 can have any number of fast clock signal transitions, wherein the first and second clock signals FCLK and SCLK can be completely asynchronous with respect to clock speed and phase relationship. Figure 2 As shown in the example of , the flip-flop 106 of the interrupt generator circuit 110 responds to the rising edge of the interrupt request signal IR from the second circuit 102 and asserts the SET_FLAG signal (curve 206) effectively high at the rising edge of the second clock signal SCLK (curve 202). The interrupt generator circuit 110 generates an interrupt input signal INT_IN, and the synchronizer circuit 120 synchronizes the signal and generates a rising edge in the interrupt output signal INT_OUT (curve 210) asynchronously with respect to the second clock signal SCLK within two FCLK cycles. When the fast domain first circuit 101 completes the associated interrupt service routine, the first circuit 101 asserts the acknowledgement signal ACK at the node 130, which provides a valid high data input to the interrupt clear flip-flop 116. At the next rising edge of the first clock signal FCLK, the flip-flop 116 asserts the clear flag signal CLR_FLAG (effective high, Figure 2The signal transition clears the signal generator trigger 112, causing the interrupt input signal INT_IN to go low. The synchronizer circuit 120 synchronizes the falling edge transition within two fast clock cycles, resulting in a falling edge in the interrupt output signal INT_OUT. In this way, the interrupt processing circuit 100 effectively clears the interrupt signal INT_OUT provided to the first clock 101 within two FCLK cycles of the confirmation signal ACK.
[0023] Figure 3 Shows Figure 1 The circuit of the invention is used for operating signals of an example ratio (e.g., about 8) of fast and slow clock speeds. In this example, the slow domain (second) circuit 102 is a PWM timer peripheral service of the fast domain CPU or processor first circuit 101. In this example, the fast domain CPU provides a counter value to the PWM control peripheral second circuit 102 in a closed-loop control application for controlling the pulse width of a power converter signal (not shown). The peripheral second circuit 102 decrements the count value and issues and interrupt request signal IR when the count value reaches a predetermined value (e.g., "1" in this embodiment). Figure 3 The curve 302 in the figure illustrates the slow clock signal SCLK, and the curve 304 schematically illustrates the PWM timer / counter data value, in this case, first decrementing through 3, 2, 1 and then to 0 before being reprogrammed by the fast clock domain CPU to another value 2. The peripheral PWM timer second circuit 102 then decrements from the value 2 to 1 and then to 0 again. In this example, the curve 306 illustrates the SET_FLAG signal output from the flip-flop 106, the curve 308 shows the fast domain clock signal FCLK, the curve 310 illustrates the interrupt output signal INT_OUT from the synchronizer circuit 120, and the curve 312 illustrates the CLEAR_FLAG signal from the flip-flop 116. The second circuit 102 in this example asserts the interrupt request signal IR in response to the counter value reaching "1". Figure 3 As can be seen, the interrupt output signal INT_OUT undergoes a rising edge transition within two fast clock cycles of the rising edge of the SET_FLAG signal. In response to the interrupt output signal, the first circuit 101 begins an interrupt service routine or process. Once the first circuit 101 completes the interrupt service process, the first circuit 101 asserts the acknowledgement signal ACK, and the flip-flop 116 generates a rising edge in the CLEAR_FLAG signal, as shown in curve 312. The CLEAR_FLAG signal transition clears the interrupt generator flip-flop 112, and the synchronizer circuit 120 generates a resulting falling edge in the interrupt output signal INT_OUT (curve 310) within two fast clock cycles.
[0024] Figure 2 and Figure 3The example of the interrupt handling circuit 100 illustrates advantageous operation of the first circuit 101 regarding fast notification (e.g., within two fast clock cycles) of the occurrence of an interrupt event associated with the second circuit 102. Moreover, in response to the assertion of the acknowledgement signal ACK by the first circuit 101, the circuit 100 provides fast asynchronous clearing of the interrupt signal (e.g., within two fast clock cycles). These fast response advantages of the interrupt handling circuit 101 described provide significant advantages such as Figure 2 and Figure 3 The benefits shown. Furthermore, these advantages are more pronounced as the ratio between the fast and slow clock speeds increases. Thus, the benefits of the described circuits and techniques have particular utility associated with high-speed CPUs or other fast clock domain circuits interacting with relatively slow clock speed second circuits 102.
[0025] Figure 4 A signal diagram 400 is provided that illustrates a handshake acknowledgement interrupt handling technique with a missed interrupt event. Figure 4 Curve 402 in FIG. 4 illustrates an example slow clock signal ( Figure 4 LOW CLOCK in FIG. 4 ), curve 404 illustrates another example of a counter or timer value (PWM DATA) in a PWM timer peripheral, curve 406 shows an interrupt signal (INTERRUPT) from the PWM timer peripheral of a fast clock domain processor circuit, and curve 408 shows an example fast clock signal (FAST CLOCK). Figure 4 The curve 410 in FIG. 4 shows an interrupt signal synchronized with a fast clock signal, and the curve 412 shows an example interrupt clearing event from a fast clock domain circuit. Another curve 414 shows an interrupt clearing event signal synchronized with a slow clock signal, and the curve 416 shows an interrupt clearing event confirmation handshake signal from a peripheral circuit to a fast clock domain circuit. Figure 4 The signals in illustrate the adverse consequences of traditional handshaking / acknowledgement-based interrupt handling between fast and slow clock domain circuits. As seen in curves 404 and 406, for example, the slow domain circuit 102 generates an interrupt signal IR in response to the counter value reaching "1", and the subsequent fast domain circuit interrupt service routine reprograms the slow domain PWM counter value to "2". However, the synchronization of the interrupt clearing event with the slow second clock signal (shown in curves 412, 414 and 416) introduces a significant synchronization delay in providing the signal (the falling edge of curve 414) to actually terminate the interrupt signaling (the falling edge of curve 406). In the intermediate delay, in this example, the PWM counter value again transitions to 1, but the fast clock domain circuit is unable to respond and properly service the second interrupt event. As described above in conjunction with Figure 1-Figure 3As described, the interrupt processing circuit 100 described advantageously provides fast asynchronous clearing of interrupt request signaling, thereby facilitating proper interrupt service processing by the fast clock domain circuit 101 to avoid or mitigate Figure 4 The shortcomings described in .
[0026] Figure 5 A signal diagram 500 is provided that illustrates the advantages of the interrupt handling circuit 100 with respect to fast interrupt request signal generation. Figure 5 The diagram includes a curve 502 illustrating a slow clock signal SCLK, a curve 504 illustrating a PWM timer peripheral counter value, and curves 506, 508, and 510 illustrating generated interrupt signals with different delay times. Specifically, curve 506 illustrates an interrupt signal (e.g., INTHL provided to a fast clock domain service circuit) having a half-cycle delay time corresponding to half of the slow clock signal cycle, and curve 508 illustrates an interrupt signal INTFL having a full slow clock cycle delay time. In contrast, curve 510 shows the interrupt signal generated by the above-described Figure 1 100 is a fast interrupt generation (INT_OUT) provided by the interrupt generator 110 and the synchronizer 120. As previously described, previous solutions use synchronization circuits (not shown) to synchronize signaling associated with interrupt events in slow clock circuits, which introduces a half-cycle delay (e.g., curve 506) or a full slow clock cycle delay (curve 508). In contrast, the circuit 100 described above does not use a slow clock domain synchronizer, and after synchronizing the interrupt request signal SET_FLAG with the fast clock domain as the signal INT_OUT, the interrupt request signal SET_FLAG is transmitted as an interrupt request line, so that the asynchronous logic is completely contained. In this regard, the SET_FLAG signal on the node 111 is used as a clock for the trigger 112 that generates the interrupt input signal INT_IN, and the circuits 110, 120 generate the interrupt output signal INT_OUT without any loss in the slow clock domain.
[0027] Figure 6 A method 600 is shown for managing an interrupt of a first circuit (e.g., circuit 101 described above) operating according to a first clock signal by a second circuit (e.g., circuit 102) operating according to a second clock signal that is slower than the first clock signal. The method 600 may be implemented using any suitable interrupt handling circuit, such as circuit 100 described above, or in other circuits (not shown). At 602, an interrupt signal is generated, synchronized with the second clock signal. In one example, the slow clock domain circuit 102 described above provides the SET_FLAG signal to the interrupt generator flip-flop 112, synchronized with the SCLK signal via the flip-flop 106. This generates the interrupt input signal INT_IN at 602 without the slow clock domain delay time (e.g., avoiding the SCLK signal described above). Figure 5The delays shown in curves 506 and 508).
[0028] At 604 and 606, in response to the interrupt input signal, the interrupt output signal is provided to the first circuit 101. In the example described above, Figure 6 At 604 in the method 600, the interrupt generator trigger 112 provides the interrupt input signal INT_IN to the synchronizer circuit 120, and at 606 the synchronizer circuit 120 provides the interrupt output signal INT_OUT synchronized with the fast clock signal FCLK to the first circuit 101. At 608, the first circuit provides an acknowledgement signal (e.g., ACK described above) synchronized with the fast clock signal FCLK. The method 600 also includes clearing the interrupt input and output signals at 610. In some examples, in response to the acknowledgement signal ACK, the clearing circuits 114, 116 clear the INT_IN and INT_OUT signals asynchronously relative to the second clock signal SCLK. In the circuit 100, after the clearing trigger 116 receives the acknowledgement signal ACK, the interrupt input and output signals INT_IN and INT_OUT are quickly cleared within two cycles of the first clock signal FCLK.
[0029] The described example provides significant response time advantages compared to other solutions that use slow clock domain synchronization with a clear event signal generated in a fast clock domain. Figure 4 As shown, this alternative solution consumes two additional slow clock cycles for synchronization before actually clearing the interrupt signal provided to the fast clock domain circuit. In contrast, the described circuit 100 and method 600 avoid this additional interrupt clearing delay time or delay by clearing the interrupt generated in the slow clock domain asynchronously with the slow clock signal SCLK. For example, in the circuit 100, the clearing event signal ACK from the fast clock domain circuit 101 is used asynchronously with the same trigger 112 that clears the generated interrupt input signal INT_IN to reliably clear the interrupt output signal INT_OUT without any loss in the slow clock domain. For interrupt generation, the described circuit and method use a synchronizer circuit 120 to synchronously transmit the interrupt output signal INT_OUT relative to the fast clock signal FCLK to ensure that the signaling is cleared to avoid any asynchronous path (e.g., metastable state). In fact, this synchronization is a small delay, especially when the first clock speed is significantly higher than the slow clock speed. In addition, in the described circuit 100, a fast asynchronous clearing path is implemented while still keeping the final interrupt line fully synchronized with the fast clock domain.
[0030] Modifications are possible in the described embodiments, as well as other embodiments, within the scope of the claims.
Claims
1. A circuit, the circuit include: A first flip-flop comprising a first input and an output, wherein the first flip-flop is configured as: receiving at said first input a first signal indicative of an interrupt request, and generating a first output signal at the output based on the first signal; A second flip-flop comprising a first input and an output, wherein the second flip-flop is configured to: receiving at the first input a second signal indicative of an acknowledgement of the interrupt request, and generating a second output signal at the output based on the second signal; and a third flip-flop comprising a first input, a second input, and an output, the first input being coupled to the output of the first flip-flop, and the second input being coupled to the output of the second flip-flop, wherein the third flip-flop is configured to: Based on the first output signal and the second output signal, a third output signal is generated at the output.
2. The circuit of claim 1 , wherein the first input of the first flip-flop is a data input of the first flip-flop, wherein the first input of the second flip-flop is a data input of the second flip-flop; and wherein the first input of the third flip-flop is a clock input of the third flip-flop, and the second input of the third flip-flop is a clear input of the third flip-flop.
3. The circuit of claim 2, wherein the first flip-flop comprises a second input and is configured to receive a first clock signal at the second input, and wherein the second flip-flop comprises a second input and is arranged to receive a second clock signal at the second input. 4 . The circuit of claim 3 , wherein the second input of the first flip-flop is a clock input of the first flip-flop, and wherein the second input of the second flip-flop is a clock input of the second flip-flop.
5. The circuit according to claim 3, in, The first signal is generated based on the first clock signal, and the second signal is generated based on the second clock signal. The circuit of claim 3 , wherein a frequency of the first clock signal is different from a frequency of the second clock signal.
7. The circuit according to claim 6, in, The frequency of the first clock signal is less than the frequency of the second clock signal.
8. The circuit according to claim 3, further comprising: include: a fourth flip-flop, comprising a first input and an output, the first input being coupled to the output of the third flip-flop, wherein the fourth flip-flop is configured as: Based on the third output signal of the third flip-flop, a fourth output signal is generated at the output.
9. The circuit of claim 8, wherein the first input of the fourth flip-flop is a data input of the fourth flip-flop. 10 . The circuit of claim 8 , wherein the fourth flip-flop comprises a second input and is configured to receive the second clock signal at the second input.
11. The circuit of claim 11, wherein the second input of the fourth flip-flop is a clock input of the fourth flip-flop. 12 . The circuit of claim 1 , wherein the third flip-flop comprises a third input and is configured to receive a signal having a predetermined logic state at the third input.
13. The circuit of claim 12, wherein the third input of the third flip-flop is a data input of the third flip-flop. The circuit of claim 12 , wherein the predetermined logic state is a logic high state.
15. A method, include: receiving a first signal representing an interrupt request at a first input of a first flip-flop, wherein the first flip-flop includes the first input and an output; generating a first output signal at the output of the first flip-flop based on the first signal; receiving, at a first input of a second flip-flop, a second signal indicating confirmation of the interrupt request, wherein the second flip-flop includes the first input and an output; generating a second output signal at the output of the second flip-flop based on the second signal; and Based on the first output signal and the second output signal, a third output signal is generated at an output of a third flip-flop, wherein the third flip-flop includes a first input, a second input, and the output, and wherein the first input is coupled to the output of the first flip-flop, and the second input is coupled to the output of the second flip-flop.
16. The method of claim 15 , wherein the first input of the first flip-flop is a data input of the first flip-flop, wherein the first input of the second flip-flop is a data input of the second flip-flop; and wherein the first input of the third flip-flop is a clock input of the third flip-flop, and the second input of the third flip-flop is a clear input of the third flip-flop.
17. The method according to claim 16, further comprising: include: receiving a first clock signal at a second input of the first flip-flop; and A second clock signal is received at a second input of the second flip-flop. 18 . The method of claim 17 , wherein the second input of the first flip-flop is a clock input of the first flip-flop, and wherein the second input of the second flip-flop is a clock input of the second flip-flop.
19. The method of claim 17, wherein the first signal is generated based on the first clock signal, and the second signal is generated based on the second clock signal.
20. The method of claim 17, wherein the first clock signal has a frequency less than that of the second clock signal.
Citation Information
Patent Citations
Ethylene tetramerization catalyst system and method for preparing 1-octene using the same
US20180016206A1
