Dynamic aging monitor and correction for critical path duty cycle and delayed degradation
By designing a duty cycle monitor in the clock signal system and using a counter to monitor and correct the duty cycle of the clock signal, the problem of duty cycle degradation caused by asymmetric aging is solved and high-resolution and accurate duty cycle monitoring is achieved. and correction to improve system stability.
Patent Information
- Application Number
- CN202380019519.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-22
- Filing Date
- 2023-02-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-02-08
AI Technical Summary
Asymmetric aging leads to duty cycle degradation in the clock path, which may cause timing problems that are difficult to effectively monitor and correct with existing technologies.
A system including a duty cycle monitor is designed, which counts high-bit and low-bit periods in the cycle of a reference signal through first and second counters, generates count values to monitor and correct the duty cycle of the clock signal, and does not It is necessary to record the count value before aging or to accurately know the frequency of the clock signal.
It achieves high-resolution monitoring and correction of the clock signal duty cycle, avoids the use of memory and frequency inaccuracies, and improves the stability and accuracy of the system.
Smart Images

Figure CN118633028A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to and the benefit of non-provisional patent application serial number 17 / 652,092 filed in the U.S. Patent Office on February 22, 2022, and thereafter published as patent No. 11,533,045 on December 20, 2022, the entire contents of which are incorporated herein as if fully set forth in their entirety below and for all applicable purposes.
[0003] background Technical Field
[0004] Aspects of the present disclosure relate generally to aging, and more particularly to monitoring duty cycle degradation due to aging. Background Art
[0005] The system may include a clock generator (e.g., a phase-locked loop) configured to generate a clock signal for timing the operation of one or more circuits (e.g., sequential logic, processors, memory, etc.) in the system. The system may also include a clock path for distributing the clock signal from the clock generator to the one or more circuits. A challenge with clock distribution is that asymmetric aging in the clock path may cause duty cycle degradation in the clock signal, which may cause timing issues (e.g., timing violations) in the one or more circuits. Summary of the invention
[0006] The following content presents a simplified summary of one or more implementations in order to provide a basic understanding of such implementations. This summary is not an exhaustive overview of all contemplated implementations, and is not intended to identify key or important elements of all implementations, nor is it intended to delineate the scope of any or all implementations. Its sole purpose is to present some concepts of one or more implementations in a simplified form as a prelude to the more detailed description that is presented later.
[0007] A first aspect relates to a system. The system includes a duty cycle monitor. The duty cycle monitor includes: a first oscillator having an output; and a trigger having a signal input, a clock input, and an output, wherein the signal input is coupled to the input of the duty cycle monitor, and the clock input is coupled to the output of the first oscillator. The duty cycle monitor also includes a first counter, the first counter having a count input, an enable input, and a count output, wherein the count input of the first counter is coupled to the output of the first oscillator, and the enable input of the first counter is coupled to the output of the trigger. The duty cycle monitor also includes a second counter, the second counter having a count input, an enable input, and a count output, wherein the count input of the second counter is coupled to the output of the first oscillator, and the enable input of the second counter is coupled to the output of the trigger.
[0008] A second aspect relates to a method for monitoring a duty cycle, the method comprising: receiving a clock signal and a reference signal, inputting the clock signal to a signal input terminal of a trigger, inputting the reference signal to a clock input terminal of the trigger, counting the number of cycles of the reference signal in which the output terminal of the trigger is at a high level to generate a first count value, and counting the number of cycles of the reference signal in which the output terminal of the trigger is at a low level to generate a second count value. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 Examples of systems including clock generators, clock paths, and circuits according to certain aspects of the present disclosure are shown.
[0010] Figure 2A An example of a clock path including a clock buffer in accordance with certain aspects of the present disclosure is shown.
[0011] Figure 2B An example is shown in which an input of a clock path is parked low in idle mode in accordance with certain aspects of the present disclosure.
[0012] Figure 2C is a timing diagram illustrating an example of duty cycle shift in a clock path due to asymmetric aging in accordance with certain aspects of the present disclosure.
[0013] Figure 2D An example is shown in which an input of a clock path is parked high in idle mode in accordance with certain aspects of the present disclosure.
[0014] Figure 2E is a timing diagram illustrating another example of duty cycle shift in a clock path due to asymmetric aging in accordance with certain aspects of the present disclosure.
[0015] Figure 3 An example of a system with duty cycle correction according to certain aspects of the present disclosure is shown.
[0016] Figure 4A An example of a duty cycle monitor according to certain aspects of the present disclosure is shown.
[0017] Figure 4B Another example of a duty cycle monitor according to certain aspects of the present disclosure is shown.
[0018] Figure 5 is a timing diagram illustrating example operation of a duty cycle monitor according to certain aspects of the present disclosure.
[0019] Figure 6 An exemplary implementation of a readout circuit according to certain aspects of the present disclosure is shown.
[0020] Figure 7 is a flow chart illustrating a method of duty cycle monitoring according to certain aspects of the present disclosure. DETAILED DESCRIPTION
[0021] The specific embodiments described below in conjunction with the accompanying drawings are intended to be descriptions of various configurations and are not intended to represent the only configurations in which the concepts described herein can be practiced. In order to provide a comprehensive understanding of the various concepts, the specific embodiments include specific details. However, it is apparent to those skilled in the art that these concepts can be practiced without these specific details. In some cases, in order to avoid blurring such concepts, known structures and components are shown in block diagram form.
[0022] Figure 1 An example of a system 110 including a clock generator 115, a clock path 120, and a circuit 130 according to certain aspects is shown. The clock generator 115 is configured to generate a clock signal for timing the operation of the circuit 130. The circuit 130 may include sequential logic, a processor, a memory, etc. The clock generator 115 may be implemented with a phase-locked loop (PLL) or another type of clock generator. The clock path 120 is configured to distribute the clock signal from the clock generator 115 to the circuit 130. As used herein, a "clock signal" may be a periodic signal that oscillates between a high position and a low position. The clock signal has a duty cycle, which may be expressed as a percentage or fraction of a clock period (i.e., a clock cycle) in which the clock signal is at a high position (i.e., 1).
[0023] In some aspects, system 110 includes clock gating circuit 140 configured to gate a clock signal to save power when circuit 130 is inactive (e.g., in idle mode), and pass the clock signal when circuit 130 is active. Clock gating is a known technique for reducing dynamic power consumption when a circuit is inactive. Figure 1 , one clock gating circuit 140 is shown between clock generator 115 and clock path 120, but it should be understood that system 110 may include two or more clock gating circuits (e.g., at different locations along clock path 120). It should also be understood that clock path 120 may include multiple branches (not shown) forming a clock tree to distribute the clock signal to multiple circuits including circuit 130.
[0024] Aging effects such as bias temperature instability (BTI) may degrade the performance of clock path 120 over time. For example, BTI stress in the clock path during idle mode may cause a duty cycle shift in the clock path over time, which may cause timing issues (e.g., timing violations) to occur in circuit 130.
[0025] Now refer to FIG. 2A to FIG. 2E An example of duty cycle shift due to aging is discussed. Figure 2A An example is shown in which the clock path 120 includes serially coupled clock buffers 220-1 to 220-4. Figure 2A Four clock buffers 220-1 to 220-4 are shown in FIG. 1 , but it should be understood that the clock path 120 may include a large number of clock buffers. Figure 2A In the example shown, each of the clock buffers 220-1 to 220-4 is implemented with a corresponding complementary inverter including a corresponding one of the transistors 225-1 to 225-4 (e.g., an n-type field effect transistor) and a corresponding one of the transistors 230-1 to 230-4 (e.g., a p-type field effect transistor). However, it should be understood that each of the clock buffers 220-1 to 220-4 may be implemented with another type of circuit or logic gate.
[0026] When circuit 130 is in active mode, clock path 120 receives a clock signal, and the clock signal is propagated to circuit 130 through clock buffers 220-1 to 220-4. When circuit 130 is in idle mode, clock gating circuit 140 may hold (i.e., maintain) the input of clock path 120 high or low for an idle period.
[0027] Figure 2BAn example is shown where the input of the clock path 120 is parked low (ie, logic 0) in idle mode. Figure 2B Also shown are the logic states at the input and output of each of the clock buffers 220-1 to 220-4. In this example, in idle mode, the output of the clock path 120 is at a low level (i.e., logic 0). In this example, transistors 230-1, 225-2, 230-3, and 225-4 are turned on in idle mode, and transistors 225-1, 230-2, 225-3, and 230-4 are turned off in idle mode. Figure 2B , transistors 230-1, 225-2, 230-3, and 225-4 that are turned on in idle mode are shown in bold. The transistors 230-1, 225-2, 230-3, and 225-4 that are turned on in idle mode are stressed in idle mode, while the transistors 225-1, 230-2, 225-3, and 230-4 that are turned off in idle mode are not stressed in idle mode. This can lead to asymmetric aging, where the transistors 230-1, 225-2, 230-3, and 225-4 that are stressed in idle mode age faster than the transistors 225-1, 230-2, 225-3, and 230-4 that are not stressed in idle mode.
[0028] In this example, the asymmetric aging shifts the threshold voltages of transistors 230-1, 225-2, 230-3, and 225-4 that are stressed in the idle mode, thereby causing an increase in the falling edge delay at the output of the clock path 120 relative to the rising edge delay at the output of the clock path 120. The increase in the falling edge delay relative to the rising edge delay causes a shift in the duty cycle in the clock path 120. Figure 2C An example of duty cycle shifting is illustrated in the timing diagram shown. Figure 2C In the example shown, a clock signal 250 having a 50% duty cycle is input to the clock path 120 in the active mode. Figure 2C Also shown is a clock signal 260 at the output of the clock path 120 after propagating through the clock path 120. The clock path 120 delays the rising edge of the clock signal 250 by a delay T r , and delays the falling edge of the clock signal 250 by a delay T f .like Figure 2C As shown, due to asymmetric aging, the delay T of the falling edge f Longer than the rising edge delay T r In this example, the longer delay of the falling edge results in an increased duty cycle of the clock signal 260 at the output of the clock path 120 (ie, results in a duty cycle greater than 50%).
[0029] exist Figure 2B and Figure 2C In the illustrated example, the input of the clock path 120 is parked at a low level in the idle mode. Asymmetric aging also occurs in the case where the input of the clock path 120 is parked at a high level in the idle mode. In this regard, Figure 2D An example is shown in which the input of the clock path is parked high (ie, logic 1) in idle mode. Figure 2D Also shown are the logic states at the input and output of each of the clock buffers 220-1 to 220-4. In this example, in idle mode, the output of the clock path 120 is high (i.e., logic 1). In this example, transistors 225-1, 230-2, 225-3, and 230-4 are turned on in idle mode, and transistors 230-1, 225-2, 230-3, and 225-4 are turned off in idle mode. Figure 2D , transistors 225-1, 230-2, 225-3, and 230-4 that are turned on in the idle mode are shown in bold. The transistors 225-1, 230-2, 225-3, and 230-4 that are turned on in the idle mode are stressed in the idle mode, while the transistors 230-1, 225-2, 230-3, and 225-4 that are turned off in the idle mode are not stressed in the idle mode, which results in asymmetric aging, wherein the transistors 225-1, 230-2, 230-3, and 230-4 that are stressed in the idle mode age faster than the transistors 230-1, 225-2, 230-3, and 225-4.
[0030] In this example, the asymmetric aging shifts the threshold voltages of transistors 225-1, 230-2, 225-3, and 230-4 that are stressed in the idle mode, thereby causing an increase in the rising edge delay at the output of the clock path 120 relative to the falling edge delay at the output of the clock path 120. The increase in the rising edge delay relative to the falling edge delay causes a shift in the duty cycle in the clock path 120. Figure 2E An example of duty cycle shifting is illustrated in the timing diagram shown. Figure 2E In the example shown, a clock signal 250 having a 50% duty cycle is input to the clock path 120 in the active mode. Figure 2E Also shown is a clock signal 270 at the output of the clock path 120 after propagating through the clock path 120. The clock path 120 delays the rising edge of the clock signal 250 at the output of the clock path 120 by a delay T r And the falling edge of the clock signal 250 is delayed by a delay T f .like Figure 2E As shown, due to asymmetric aging, the delay T of the rising edge rLonger than the falling edge delay T f In this example, the longer delay of the rising edge results in a reduced duty cycle of the clock signal 270 at the output of the clock signal (ie, results in a duty cycle of less than 50%).
[0031] Thus, asymmetric aging in idle mode may result in duty cycle shift (i.e., duty cycle degradation) over time. Duty cycle shift raises or lowers the duty cycle depending on, for example, whether the input of clock path 120 is held low or high in idle mode and / or the number of clock buffers in clock path 120. Duty cycle shift may cause timing issues in circuit 130. For examples where circuit 130 includes sequential logic, duty cycle shift may result in setup and / or hold time violations.
[0032] To account for duty cycle shift (i.e., degradation) due to asymmetric aging, the system may employ duty cycle correction. In this regard, Figure 3 An example of a system 310 with duty cycle correction according to certain aspects is shown. In this example, the system 310 includes the clock generator 115, clock path 120, circuit 130, and clock gating circuit 140 discussed above. For duty cycle correction, the system 310 also includes a duty cycle monitor 320, a control circuit 330, and a duty cycle adjuster 340.
[0033] The duty cycle monitor 320 has an input 322 and an output 324. Figure 3 In the example of , an input 322 of a duty cycle monitor 320 is coupled to an output of the clock path 120. The duty cycle monitor 320 is configured to receive a clock signal at the input 322, measure one or more parameters of the clock signal related to the duty cycle of the clock signal, and output a measurement signal indicating the one or more measured parameters at an output 324. Examples of measured parameters are provided below according to certain aspects. The duty cycle monitor 320 may also be referred to as a duty cycle detector, a duty cycle measurement circuit, or another term.
[0034] The duty cycle adjuster 340 has a clock input 342, a control input 346, and a clock output 344. The clock input 342 is coupled to the clock generator 115 (e.g., via the clock gating circuit 140 in the active mode), and the clock output 344 is coupled to the input of the clock path 120. The duty cycle adjuster 340 is configured to receive a clock signal at the clock input 342 and a control signal at the control input 346. The control signal is provided by the control circuit 330, as discussed further below. The duty cycle adjuster 340 is configured to adjust the duty cycle of the clock signal based on the control signal and output the duty cycle adjusted clock signal at the output 344. The duty cycle adjuster 340 may also be referred to as a clock shaper, a duty cycle shifter, or another term.
[0035] The control circuit 330 has an input 332 and an output 334. The input 332 of the control circuit 330 is coupled to the output 324 of the duty cycle monitor 320, and the output 334 of the control circuit 330 is coupled to the control input 346 of the duty cycle regulator 340. The control circuit 330 is configured to receive a measurement signal indicative of one or more measured parameters from the duty cycle monitor 320 via the input 332. As discussed above, the one or more measured parameters are related to the duty cycle of the clock signal at the output of the clock path 120, and thus provide information about the duty cycle of the clock signal at the output of the clock path 120 to the control circuit 330.
[0036] The control circuit 330 is configured to determine a duty cycle correction of the clock signal based on the one or more measured parameters, and to generate a control signal based on the determined duty cycle correction. The control circuit 330 outputs the generated control signal to a control input 346 of a duty cycle adjuster 340, which adjusts the duty cycle of the clock signal based on the control signal. The control signal causes the duty cycle adjuster 340 to adjust (i.e., shift) the duty cycle of the clock signal in a direction that compensates for the duty cycle shift caused by the clock path 120.
[0037] Thus, in this example, duty cycle monitor 320 monitors the duty cycle of the clock signal at the output of clock path 120, and control circuit 330 causes duty cycle adjuster 340 to adjust the duty cycle of the clock signal based on the monitored duty cycle to correct for the duty cycle shift caused by clock path 120. In some aspects, duty cycle correction may be performed each time system 310 is started.
[0038] Various circuits have been developed to implement duty cycle monitor 320. In one approach, duty cycle monitor 320 uses beat frequency detection to calculate the duty cycle shift of the clock signal due to aging (also called stress) in clock path 120. In this approach, duty cycle monitor 320 includes generating a pulse having a value F ref The duty cycle monitor 320 uses a counter to count the number of cycles of the reference signal in one beat cycle to generate a count value. One beat cycle is equal to 1 / F 拍 , where F 拍 is the frequency of the reference signal (i.e., F ref ) and the frequency of the clock signal. In order to determine the shift in the duty cycle of the clock signal due to aging, the duty cycle monitor 320 generates a count value before aging and a count value after aging. Then, the control circuit 330 calculates the shift in the duty cycle based on the count value before aging, the count value after aging, the frequency of the clock signal, and the propagation delay of the clock path 120 before aging.
[0039] However, this method has several disadvantages. First, this method requires a memory (e.g., an Efuse memory) to record the count value before aging. In addition, this method requires knowing the frequency of the clock signal to calculate the shift of the duty cycle. The frequency of the clock signal may not be accurately known and / or vary from process corner to process corner, which may negatively affect the ability of the control circuit 330 to accurately calculate the shift of the duty cycle of the clock signal.
[0040] Figure 4A An example of a system 410 including an exemplary duty cycle monitor 420 according to certain aspects that overcomes one or more of the shortcomings of the duty cycle monitor 320 discussed above is shown. The duty cycle monitor 420 has an input 422 and an output 424. Figure 4A In the example shown, the duty cycle monitor 420 includes a first oscillator 425, a flip-flop 430 (eg, a D flip-flop), a first counter 440, a second counter 450, and a readout circuit 460. The first oscillator 425 is configured to generate a reference frequency F ref The first oscillator 425 oscillates a reference signal and outputs the reference signal at an output terminal 427 of the first oscillator 425. In this regard, the first oscillator 425 may also be referred to as a reference oscillator. The duty cycle monitor 420 is further discussed below according to certain aspects.
[0041] In this example, the system 410 also includes the clock path 120, the duty cycle adjuster 340, the control circuit 330, the circuit 130, and the clock generator 115 discussed above. The system 410 also includes a first selection circuit 470, a second selection circuit 480, and a second oscillator 465. The second oscillator 465 is configured to generate a clock having a frequency close to the reference frequency F ref , and output the test clock signal at the output terminal 467 of the second oscillator 465. For example, the frequency of the test clock signal may be ref within 5% (i.e., at 0.95F ref With 1.05F ref As discussed further below, having the frequency of the test clock signal close to the reference frequency improves the resolution of the duty cycle monitor 420. Each of the first oscillator 425 and the second oscillator 465 may be implemented with a respective ring oscillator or another type of oscillator.
[0042] The first selection circuit 470 has a first input 472 coupled to the clock generator 115, a second input 474 coupled to the output 467 of the second oscillator 465, an output 476 coupled to the input 342 of the duty cycle regulator 340, and a selection input 478. The first selection circuit 470 is configured to receive a selection signal at the selection input 478, select the first input 472 or the second input 474 based on the selection signal, and couple the selected one of the first input 472 and the second input 474 to the output 476. The selection signal may come from the control circuit 330 or another control circuit. The first selection circuit 470 may be implemented with a multiplexer.
[0043] The second selection circuit 480 has an input 482 coupled to the clock path 120, a first output 484 coupled to the circuit 130, a second output 486 coupled to the input 422 of the duty cycle monitor 420, and a selection input 488. In this example, the clock path 120 is coupled between the output 344 of the duty cycle regulator 340 and the input 482 of the second selection circuit 480. The second selection circuit 480 is configured to receive a selection signal at the selection input 478, select the first output 484 or the second output 486 based on the selection signal, and couple the input 482 to the selected one of the first output 484 and the second output 486.
[0044] exist Figure 4A In the example of FIG. 4 , the input terminal 332 of the control circuit 330 is coupled to the output terminal 424 of the duty cycle monitor 420. The output terminal 334 of the control circuit 330 is coupled to the control input terminal 346 of the duty cycle regulator 340, as described above with reference to FIG. Figure 3Although Figure 4A Although not explicitly shown in FIG. 4 , the control circuit 330 may be coupled to the selection inputs 478 and 488 of the selection circuits 470 and 480 to control the selection of the selection circuits 470 and 480 .
[0045] According to certain aspects, the selection circuits 470 and 480 allow the system 410 to switch between a task mode and a test mode. In the task mode, the control circuit 330 causes the first selection circuit 470 to select the first input terminal 472, and causes the second selection circuit 480 to select the first output terminal 484. Therefore, the first selection circuit 470 couples the clock generator 115 to the duty cycle regulator 340, and the second selection circuit 480 couples the clock path 120 to the circuit 130. This allows the clock signal generated by the clock generator 115 (e.g., PLL) to propagate to the circuit 130 via the duty cycle regulator 340 and the clock path 120. As discussed above, the duty cycle regulator 340 can adjust the duty cycle of the clock signal to correct the duty cycle shift in the clock path 120 due to aging. As discussed further below, the duty cycle adjustment for correcting the duty cycle shift is determined in the test mode. The test mode and the task mode may also be referred to as the first mode and the second mode, respectively.
[0046] although Figure 4A 115 and the circuit 130 to gate the clock signal when the circuit 130 is inactive. When the circuit is active, the one or more clock gating circuits pass the clock signal from the clock generator 115 to the circuit 130.
[0047] In the test mode, the control circuit 330 causes the first selection circuit 470 to select the second input 474, and causes the second selection circuit 480 to select the second output 486. Therefore, the first selection circuit 470 couples the output 467 of the second oscillator 465 to the duty cycle regulator 340, and the second selection circuit 480 couples the clock path 120 to the input 422 of the duty cycle monitor 420. This allows the test clock signal generated by the second oscillator 465 to propagate to the input 422 of the duty cycle monitor 420 via the duty cycle regulator 340 and the clock path 120. Since the test clock signal propagates through the clock path 120 to reach the duty cycle monitor 420, the duty cycle of the test clock signal is shifted by the clock path 120. This allows the control circuit 330 to determine the duty cycle shift caused by the clock path 120 based on the measurement of the test clock signal by the duty cycle monitor 420, as discussed further below. For examples where system 410 includes the one or more clock gating circuits (not shown), the one or more clock gating circuits can pass a test clock signal in the test mode.
[0048] The duty cycle monitor 420 will now be discussed in accordance with certain aspects. Figure 4A In the example of , the flip-flop 430 has a signal input 434 (labeled "D"), a clock input 432, and an output (labeled "Q"). The signal input 434 may also be referred to as a D input or another term. The signal input 434 is coupled to the input 422 of the duty cycle monitor 420 and thus receives a test clock signal in the test mode. The clock input 432 is coupled to the output 427 of the first oscillator 425 and thus receives a reference signal from the first oscillator 425.
[0049] In some aspects, the flip-flop 430 is configured to latch the logic state of the test clock signal at the signal input 434 on each rising edge of the reference signal (for a positive edge triggered implementation of the flip-flop 430) or each falling edge of the reference signal (for a negative edge triggered implementation of the flip-flop 430), and output the latched logic state at the output 436. This causes the flip-flop 430 to output a signal at the output 436 having a frequency approximately equal to the difference between the frequency of the reference signal and the frequency of the test clock signal. In some aspects, the frequency of the test clock signal is close to the frequency of the reference signal (e.g., within 5% of the frequency of the reference signal). As discussed further below, having the frequency of the test clock signal close to the frequency of the reference signal increases the resolution of the duty cycle monitor 420. The output signal of the flip-flop 430 is used to measure the duty cycle of the test clock signal, as discussed further below.
[0050] exist Figure 4AIn the example of , the first counter 440 has a count input 442, a count output 446, and an enable input 444. The count input 442 is coupled to the output 427 of the first oscillator 425, and thus receives the reference signal from the first oscillator 425. The enable input 444 is coupled to the output 436 of the flip-flop 430, and thus receives the output signal of the flip-flop 430. The count output 446 is coupled to the first input 462 of the readout circuit 460. In some aspects, the first counter 440 is configured to count the cycles of the reference signal to generate a count value when the output signal at the enable input 444 is high (i.e., logic 1), and output the count value at the count output 446. For example, the first counter 440 may increment the count value on each rising edge of the reference clock signal when the enable input 444 is high (i.e., logic 1). As discussed further below, the count value from the first counter 440 is used to measure the high phase of the test clock signal, where the high phase is the duration in which the test clock signal is high during each cycle of the test clock signal.
[0051] exist Figure 4A In the example of , the second counter 450 has a count input 452, a count output 456, and an enable input 454. The count input 452 is coupled to the output 427 of the first oscillator 425, and thus receives the reference signal from the first oscillator 425. The enable input 454 is coupled to the output 436 of the flip-flop 430, and thus receives the output signal of the flip-flop 430. The count output 456 is coupled to the second input 464 of the readout circuit 460. In some aspects, the second counter 450 is configured to count the cycles of the reference signal to generate a count value when the output signal at the enable input 454 is low (i.e., logic 0), and output the count value at the count output 456. For example, the second counter 450 may increment the count value on each rising edge of the reference clock signal when the enable input 454 is low (i.e., logic low). As discussed further below, the count value from the second counter 450 is used to measure the low phase of the test clock signal, where the low phase is the duration in which the test clock signal is low during each cycle of the test clock signal. Figure 4B An alternative implementation of the second counter 450 is discussed.
[0052] Now we will refer to some aspects Figure 5 An exemplary operation of duty cycle monitor 420 is discussed below. Figure 5 is a timing diagram showing an example of a test clock signal (labeled “Clk”), a reference signal (labeled “Ref”), and an output signal (labeled “Q”) of flip-flop 430. Figure 5In the example of , the trigger 430 is implemented as a positive edge triggered trigger. However, it should be understood that the present disclosure is not limited to this example, as discussed below.
[0053] exist Figure 5 In the example of FIG. 1 , the rising edge of the reference signal sweeps across the high phase of the test clock signal, wherein for each period of the reference clock signal, the rising edge of the reference signal is shifted by ΔT relative to the test clock signal, wherein ΔT is the period of the test clock signal (labeled as “Tclk”) and the period of the reference signal (labeled as “T ref ”). Figure 5 As shown, when the rising edge of the reference signal sweeps across the high phase of the test clock signal, the output signal (labeled as “Q”) of the flip-flop 430 is at a high level.
[0054] exist Figure 5 In the example of , the first counter 440 counts the number of cycles of the reference clock signal in which the output signal of the flip-flop 430 is high, and obtains a count value M. Therefore, in this example, it takes M cycles of the reference signal for the rising edge of the reference signal to sweep through the high phase of the test clock signal. Since the rising edge of the reference signal is shifted by ΔT relative to the test clock signal for each cycle of the reference clock signal, the rising edge of the reference signal is shifted by M·ΔT to sweep through the high phase of the test clock signal. Therefore, the high phase of the test clock signal is approximately equal to M·ΔT. Therefore, the count value M from the first counter 440 provides a measure of the high phase of the test clock signal. As discussed above, the high phase is the duration that the test clock signal is high during each cycle of the test clock signal. The resolution of the high phase measurement depends on the size of the shift ΔT. The smaller the shift ΔT, the higher the resolution. A small shift ΔT is achieved by making the frequency of the test clock signal close to the frequency of the reference signal.
[0055] exist Figure 5 In the example of , the rising edge of the reference signal also sweeps across the low phase of the test clock signal, wherein for each cycle of the reference clock signal, the rising edge of the reference signal is shifted by ΔT relative to the test clock signal. Figure 5 As shown, when the rising edge of the reference signal sweeps across the low phase of the test clock signal, the output signal (labeled as “Q”) of the flip-flop 430 is at a low level.
[0056] exist Figure 5In the example of , the second counter 450 counts the number of cycles of the reference clock signal in which the output signal of the flip-flop 430 is in the low position, and obtains a count value N. Therefore, in this example, it takes N cycles of the reference clock signal for the rising edge of the reference clock signal to sweep through the low phase of the test clock signal. Since the rising edge of the reference signal is shifted by ΔT relative to the test clock signal for each cycle of the reference clock signal, the rising edge of the reference signal is shifted by N·ΔT to sweep through the low phase of the test clock signal. Therefore, the low phase of the test clock signal is approximately equal to N·ΔT. Therefore, the count value N from the second counter 450 provides a measure of the low phase of the test clock signal. As discussed above, the low phase is the duration that the test clock signal is in the low position during each cycle of the test clock signal. The resolution of the low phase measurement depends on the size of the shift ΔT. The smaller the shift ΔT, the higher the resolution. A small shift ΔT is achieved by making the frequency of the test clock signal close to the frequency of the reference signal.
[0057] exist Figure 5 In the example of, the trigger 430 is implemented by a positive edge triggered trigger. However, it should be understood that the present disclosure is not limited to this example. In another example, the trigger 430 can be implemented by a negative edge triggered trigger. In this example, the first counter 440 provides an M count value by counting the number of cycles of the reference signal required for the falling edge of the reference signal to sweep across the high phase of the test clock signal. In addition, in this example, the second counter 450 provides an N count value by counting the number of cycles of the reference signal required for the falling edge of the reference signal to sweep across the low phase of the test clock signal. Therefore, the trigger 430 can be a positive edge triggered or a negative edge triggered.
[0058] The count value M from the first counter 440 and the count value N from the second counter 450 may be used to determine the duty cycle of the test clock signal. The duty cycle of the test clock signal is given by:
[0059]
[0060] Among them, T H is the high phase of the test clock signal, and T L is the low phase of the test clock signal. Substituting M·ΔT into the high phase and N·ΔT into the low phase in formula (1) yields:
[0061]
[0062] By canceling out ΔT, the equation can be simplified to:
[0063]
[0064] Thus, the count value M from the first counter 440 and the count value N from the second counter 450 allow the duty cycle of the test clock signal to be determined. In certain aspects, the duty cycle shift of the test clock signal may be given by:
[0065]
[0066] DC 目标 is a target duty cycle (eg, 0.5). In these aspects, the target duty cycle may be a desired duty cycle at the output of the clock path 120 .
[0067] In certain aspects, the readout circuit 460 is configured to receive the count value M from the first counter 440 and the count value N from the second counter 450 via input terminals 462 and 464, and output the count values M and N to the control circuit 330 via the output terminal 424. The control circuit 330 can use the count values M and N to estimate the duty cycle shift caused by the clock path 120 and determine a correction for the duty cycle shift. Since the test clock signal propagates through the clock path 120 to reach the duty cycle monitor 420, the duty cycle of the test clock signal is shifted by the clock path 120 before reaching the duty cycle monitor 420. Therefore, the duty cycle of the test clock signal (as measured using the count values M and N) allows the control circuit 330 to determine (e.g., based on equation (3) or (4)) an appropriate correction for the duty cycle shift caused by the clock path 120. The control circuit 330 may then generate a control signal based on the determined duty cycle correction and output the control signal to the control input 346 of the duty cycle adjuster 340 to perform the correction. As discussed above, the duty cycle adjuster 340 corrects the duty cycle shift caused by the clock path 120 by shifting the duty cycle of the clock signal in a direction that compensates for the duty cycle shift caused by the clock path 120. For example, the control circuit 330 may estimate the duty cycle shift caused by the clock path 120 using the count values M and N (e.g., based on equation (4)) and generate a control signal that causes the duty cycle adjuster 340 to apply an opposite duty cycle shift to the clock signal to correct the duty cycle shift caused by the clock path 120.
[0068] The duty cycle monitor 420 has one or more advantages. For example, the duty cycle monitor 420 does not need to record the count value before aging, and thus eliminates the need for a memory (e.g., an Efuse memory) to store the count value before aging. In addition, the duty cycle monitor 420 does not need to accurately know the frequency of the test clock signal or the frequency of the reference signal to calculate the duty cycle of the test clock signal. For example, as shown in formula (3), the duty cycle can be determined based on the count value M and the count value N from the counters 440 and 450.
[0069] In some aspects, the first oscillator 425 and the second oscillator 465 are implemented with similar structures and integrated on the same chip. For example, each of the first oscillator 425 and the second oscillator 465 can be implemented with a ring oscillator, a PLL, etc. Since the first oscillator 425 and the second oscillator 465 have similar structures in this example and are integrated on the same chip, the frequency of the test clock signal and the frequency of the reference signal are affected in a similar manner across process corners. In other words, due to process variations, the frequency of the reference signal changes with the changes in the frequency of the test clock signal. This allows the frequency of the reference signal to remain close to the frequency of the test clock signal across process corners to keep ΔT small and maintain high resolution of the duty cycle monitor 420 across process corners.
[0070] Figure 4B Another exemplary implementation for generating a count value N according to certain aspects is shown. In this example, Figure 4A The output terminal 436 in the embodiment includes a first output terminal 436-1 and a second output terminal 436-2, wherein the first output terminal 436-1 (labeled as "Q") is coupled to the enable input terminal 444 of the first counter 440 and the second output terminal 436-2 (labeled as "Qb") is coupled to the enable input terminal 454 of the second counter 450. The flip-flop 430 outputs the output signal discussed above at the first output terminal 436-1 and outputs the inverse (i.e., complementary signal) of the output signal at the second output terminal 436-2 (i.e., the output terminals 436-1 and 436-2 are complementary). In this example, the enable input terminal 444 of the first counter 440 receives the output signal discussed above, and the second output terminal 436-2 is coupled to the enable input terminal 454 of the second counter 450. Figure 4A Operate in the same manner as discussed.
[0071] The enable input 454 of the second counter 450 receives the inverted output signal. In this example, the second counter 450 is configured to count the cycles of the reference signal when the inverted output signal is high to generate a count value N. Since the inverted output signal (labeled as "Qb") is high when the output signal (labeled as "Q") is low, this is equivalent to counting the cycles of the reference signal when the output signal (labeled as "Q") is low to generate a count value N. Therefore, the count value N in this example is the same as Figure 4A The count value N is the same as in the example of Figure 5 , which illustrates that counting the number of periods of the reference signal when the inverted output signal (labeled "Qb") is high is equivalent to counting the number of periods of the reference signal when the output signal (labeled "Q") is low.
[0072] It should be understood that in alternative implementations, Figure 4BThe first counter 440 and the second counter 450 in the embodiment may each be enabled when the corresponding enable inputs 444 and 454 are at a low level instead of a high level. In this case, the first counter 440 may generate a count value N and the second counter 450 may generate a count value M. Therefore, it should be understood that the present disclosure is not limited to a specific implementation of the flip-flop 430 and the counters 440 and 450 for generating count values N and M.
[0073] Figure 6 An exemplary implementation of a sense circuit 460 according to certain aspects is shown. In this example, the sense circuit 460 includes a first sense latch 610 and a second sense latch 620. Additionally, in this example, the sense circuit 460 has a first output 466-1 coupled to the first output 424-1 of the duty cycle monitor 420 and a second output 466-2 coupled to the second output 424-2 of the duty cycle monitor 420. The outputs 424-2 and 424-2 are coupled to the input 332 of the control circuit 330. As discussed further below, a count value M is output from the first output 424-1 to the control circuit 330 and a count value N is output from the second output 424-2 to the control circuit 330. Each of the sense latches 610 and 620 may be implemented with a D flip-flop or another type of latch.
[0074] The first sense latch 610 has a data input 614, a clock input 612, and an output 616. The data input 614 is coupled to the output 446 of the first counter 440 to receive the count value M. In some aspects, the count value M is a plurality of bits and the first sense latch 610 is a multi-bit latch (i.e., a latch capable of latching a multi-bit value). The clock input 612 of the first sense latch 610 is coupled to the first output 436-1 of the flip-flop 430 to receive the output signal (labeled “Q”) of the flip-flop 430.
[0075] In operation, the first read latch 610 is configured to latch the count value M from the output terminal 446 of the first counter 440 at the falling edge 510 of the output signal (labeled as “Q”) from the flip-flop 430, as shown in the example of FIG. Figure 5 As shown. Figure 5 As shown, when the output signal transitions from high to low, a falling edge 510 of the output signal occurs. Therefore, the latched count value M indicates the number of reference cycles counted by the first counter 440 during the time when the output signal is at a high level. The first sense latch 610 outputs the latched count value M to the control circuit 330 via the first output terminal 466-1.
[0076] The second sensing latch 620 has a data input 624, a clock input 622, and an output 626. The data input 624 is coupled to the output 456 of the second counter 450 to receive the count value N. In some aspects, the count value N is a plurality of bits and the second sensing latch 620 is a multi-bit latch. The clock input 622 of the second sensing latch 620 is coupled to the second output 436-2 of the flip-flop 430 to receive the inverted output signal (labeled “Qb”) of the flip-flop 430.
[0077] In operation, the second read latch 620 is configured to latch the count value N from the output terminal 456 of the second counter 450 at the falling edge 520 of the inverted output signal (labeled as “Qb”) from the flip-flop 430, as shown in the example of FIG. Figure 5 The second sensing latch 620 outputs the latched count value N to the control circuit 330 via the second output terminal 466-2.
[0078] exist Figure 6 In the example of , each of the first sensing latch 610 and the second sensing latch 620 is a falling edge triggered latch (also referred to as a negative edge triggered latch). However, it should be understood that the present disclosure is not limited to this example.
[0079] Figure 7 A method 700 of duty cycle monitoring according to certain aspects is illustrated.
[0080] At block 710, a clock signal and a reference signal are received. For example, the clock signal may correspond to a test clock signal from the second oscillator 465, and the reference signal may correspond to a reference signal from the first oscillator 425. In some aspects, the reference signal is an oscillating signal, and the frequency of the clock signal is within 5% of the frequency of the reference signal.
[0081] At block 720, the clock signal is input to a signal input of the flip-flop. For example, the clock signal may be input to the signal input 434 of the flip-flop 430. The signal input 434 may also be referred to as a D input.
[0082] At block 730 , a reference signal is input to a clock input of a flip-flop. For example, the reference signal may be input to the clock input 432 of the flip-flop 430 .
[0083] At block 740, the number of periods of the reference signal in which the output of the flip-flop is high is counted to generate a first count value. For example, the number of periods of the reference signal in which the output of the flip-flop is high may be counted by the first counter 440. The first count value may correspond to the count value M. The output of the flip-flop may correspond to the output 436 of the flip-flop 430.
[0084] At block 750, the number of periods of the reference signal in which the output of the flip-flop is low is counted to generate a second count value. For example, the number of periods of the reference signal in which the output of the flip-flop is low may be counted by the second counter 450. The second count value may correspond to the count value N.
[0085] In some aspects, the duty cycle of the clock signal is determined based on the first count value and the second count value. For example, the control circuit 330 may determine the duty cycle based on equation (3).
[0086] In certain aspects, the duty cycle shift of the duty cycle adjuster can be controlled based on the determined duty cycle.For example, the duty cycle adjuster can correspond to the duty cycle adjuster 340, and the duty cycle shift of the duty cycle adjuster can be controlled by the control circuit 330 based on the determined duty cycle.
[0087] In some aspects, the output of the flip-flop includes a first output and a second output, wherein the first output and the second output are complementary. For example, the first output may correspond to the first output 436-1 and the second output may correspond to the second output 436-2. In these aspects, counting the number of cycles of the reference signal in which the output of the flip-flop is high may include counting the number of cycles of the reference signal in which the first output of the flip-flop is high or low, and counting the number of cycles of the reference signal in which the output of the flip-flop is low may include counting the number of cycles of the reference signal in which the second output of the flip-flop is high or low.
[0088] It should be understood that the output terminals disclosed herein may include a single output terminal or multiple parallel output terminals. For example, the count output terminals 446 and 456 of each of the counters 440 and 450 may include a single serial output terminal or multiple parallel output terminals (e.g., for outputting the bits of the corresponding count values in parallel). Similarly, the input terminals disclosed herein may include a single input terminal or multiple parallel input terminals.
[0089] The control circuit 330 may be implemented with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete hardware components (e.g., logic gates), or any combination thereof designed to perform the functions described herein. The processor may perform the functions described herein by executing software including code for performing the functions described herein. The software may be stored on a computer readable storage medium, such as RAM, ROM, EEPROM, optical disk, and / or magnetic disk.
[0090] Specific implementation examples are described in the following numbered clauses:
[0091] 1. A system, comprising:
[0092] A duty cycle monitor, the duty cycle monitor comprising:
[0093] a first oscillator having an output;
[0094] a flip-flop having a signal input, a clock input, and an output, wherein the signal input is coupled to an input of the duty cycle monitor and the clock input is coupled to the output of the first oscillator;
[0095] a first counter having a count input, an enable input, and a count output, wherein the count input of the first counter is coupled to the output of the first oscillator and the enable input of the first counter is coupled to the output of the flip-flop; and
[0096] A second counter having a count input, an enable input and a count output, wherein the count input of the second counter is coupled to the output of the first oscillator and the enable input of the second counter is coupled to the output of the trigger.
[0097] 2. A system according to clause 1, wherein:
[0098] The first counter is enabled when the enable input terminal of the first counter is at a high level; and
[0099] The second counter is enabled when the enable input terminal of the second counter is at a low level.
[0100] 3. A system according to clause 1, wherein:
[0101] The output terminal of the trigger includes a first output terminal and a second output terminal, wherein the first output terminal and the second output terminal are complementary;
[0102] The enable input of the first counter is coupled to the first output of the flip-flop; and
[0103] The enable input of the second counter is coupled to the second output of the flip-flop.
[0104] 4. A system according to clause 3, wherein:
[0105] The first counter is enabled when the enable input terminal of the first counter is at a high level; and
[0106] The second counter is enabled when the enable input terminal of the second counter is at a high level.
[0107] 5. A system according to clause 3, wherein:
[0108] The first counter is enabled when the enable input terminal of the first counter is at a low level; and
[0109] The second counter is enabled when the enable input terminal of the second counter is at a low level.
[0110] 6. The system of any one of clauses 1 to 5, wherein the duty cycle monitor further comprises a readout circuit coupled to the count output of the first counter and the count output of the second counter.
[0111] 7. The system of clause 6, wherein the readout circuit comprises:
[0112] a first sense latch having a data input, a clock input, and an output, wherein the data input of the first sense latch is coupled to the count output of the first counter, the clock input of the first sense latch is coupled to the output of the flip-flop, and the output of the first sense latch is coupled to a first output of the duty cycle monitor; and
[0113] A second read latch, the second read latch having a data input, a clock input and an output, wherein the data input of the second read latch is coupled to the count output of the second counter, the clock input of the second read latch is coupled to the output of the trigger, and the output of the second read latch is coupled to the second output of the duty cycle monitor.
[0114] 8. A system according to clause 7, wherein:
[0115] The output terminal of the trigger includes a first output terminal and a second output terminal, wherein the first output terminal and the second output terminal are complementary;
[0116] The clock input of the first sense latch is coupled to the first output of the flip-flop; and
[0117] The clock input of the second sense latch is coupled to the second output of the flip-flop.
[0118] 9. A system according to any one of clauses 1 to 8, further comprising:
[0119] a second oscillator having an output; and
[0120] A clock path is coupled between the output of the second oscillator and the input of the duty cycle monitor.
[0121] 10. The system of clause 9, wherein the clock path comprises serially coupled clock buffers.
[0122] 11. A system according to clause 9 or 10, wherein the frequency of the second oscillator is
[0123] within 5% of the frequency of the first oscillator.
[0124] 12. The system of any of clauses 9 to 11, further comprising a duty cycle regulator coupled between the output of the second oscillator and the clock path.
[0125] 13. The system of clause 12, further comprising a control circuit coupled between the duty cycle monitor and the duty cycle regulator.
[0126] 14. The system according to any one of clauses 1 to 8, further comprising:
[0127] a second oscillator having an output;
[0128] Clock generator;
[0129] a first selection circuit having a first input, a second input, and an output, wherein the first input is coupled to the output of the second oscillator and the second input is coupled to the clock generator;
[0130] a second selection circuit having an input, a first output, and a second output, wherein the first output is coupled to the input of the duty cycle monitor and the second output is coupled to at least one of sequential logic, a processor, and a memory; and
[0131] A clock path is coupled between the output of the first selection circuit and the input of the second selection circuit.
[0132] 15. The system of clause 14, wherein the frequency of the second oscillator is within 5% of the frequency of the first oscillator.
[0133] 16. The system of clause 14 or 15, further comprising a duty cycle regulator coupled between the output of the first selection circuit and the clock path.
[0134] 17. The system of clause 16, further comprising a control circuit coupled between the duty cycle monitor and the duty cycle regulator.
[0135] 18. A system according to any one of clauses 14 to 17, wherein:
[0136] In a first mode, the first selection circuit is configured to select the first input terminal and the second selection circuit is configured to select the first output terminal; and
[0137] In a second mode, the first selection circuit is configured to select the second input terminal and the second selection circuit is configured to select the second output terminal.
[0138] 19. A method for monitoring duty cycle, the method comprising:
[0139] receiving a clock signal and a reference signal;
[0140] Inputting the clock signal to the signal input terminal of the trigger;
[0141] Inputting the reference signal to a clock input terminal of the flip-flop;
[0142] counting the number of cycles of the reference signal in which the output terminal of the flip-flop is high to generate a first count value; and
[0143] The number of cycles of the reference signal in which the output terminal of the flip-flop is low is counted to generate a second count value.
[0144] 20. The method of clause 19, wherein the reference signal is an oscillating signal and the frequency of the clock signal is within 5% of the frequency of the reference signal.
[0145] 21. The method of clause 19 or 20, further comprising determining a duty cycle of the clock signal based on the first count value and the second count value.
[0146] 22. The method of clause 21, further comprising controlling a duty cycle shift of a duty cycle adjuster based on the determined duty cycle.
[0147] 23. A method according to clause 22, wherein:
[0148] Receiving the clock signal comprises receiving the clock signal from an output of a clock path; and
[0149] The duty cycle adjuster is coupled to an input of the clock path.
[0150] 24. A method according to any one of clauses 19 to 23, wherein:
[0151] The output terminal of the trigger includes a first output terminal and a second output terminal;
[0152] The first output terminal and the second output terminal are complementary;
[0153] Counting the number of periods of the reference signal in which the output of the flip-flop is high comprises counting the number of periods of the reference signal in which the first output of the flip-flop is high or low; and
[0154] Counting the number of periods of the reference signal in which the output of the flip-flop is low includes counting the number of periods of the reference signal in which the second output of the flip-flop is high or low.
[0155] Within this disclosure, the word "exemplary" is used to mean "serving as an example, instance, or illustration." Any specific implementation or aspect described herein as "exemplary" is not necessarily to be construed as preferred or superior to other aspects of the disclosure. Likewise, the term "aspect" does not require that all aspects of the disclosure include the discussed feature, advantage, or mode of operation. The term "coupled" is used herein to refer to a direct or indirect electrical coupling between two structures.
[0156] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A system, comprising: A duty cycle monitor, the duty cycle monitor comprising: a first oscillator having an output; a flip-flop having a signal input, a clock input, and an output, wherein the signal input is coupled to an input of the duty cycle monitor and the clock input is coupled to the output of the first oscillator; a first counter having a count input, an enable input, and a count output, wherein the count input of the first counter is coupled to the output of the first oscillator and the enable input of the first counter is coupled to the output of the flip-flop; and A second counter having a count input, an enable input and a count output, wherein the count input of the second counter is coupled to the output of the first oscillator and the enable input of the second counter is coupled to the output of the flip-flop.
2. The system of claim 1, wherein: The first counter is enabled when the enable input terminal of the first counter is at a high level; and The second counter is enabled when the enable input terminal of the second counter is at a low level.
3. The system of claim 1, wherein: The output terminal of the trigger comprises a first output terminal and a second output terminal, wherein the first output terminal and the second output terminal are complementary; The enable input of the first counter is coupled to the first output of the flip-flop; and The enable input of the second counter is coupled to the second output of the flip-flop.
4. The system of claim 3, wherein: The first counter is enabled when the enable input terminal of the first counter is at a high level; and The second counter is enabled when the enable input terminal of the second counter is at a high level.
5. The system of claim 3, wherein: The first counter is enabled when the enable input terminal of the first counter is at a low level; and The second counter is enabled when the enable input terminal of the second counter is at a low level.
6. The system of claim 1, wherein the duty cycle monitor further comprises a readout circuit coupled to the count output of the first counter and the count output of the second counter.
7. The system of claim 6, wherein the readout circuit comprises: a first sense latch having a data input, a clock input, and an output, wherein the data input of the first sense latch is coupled to the count output of the first counter, the clock input of the first sense latch is coupled to the output of the flip-flop, and the output of the first sense latch is coupled to a first output of the duty cycle monitor; and A second read latch, the second read latch having a data input, a clock input and an output, wherein the data input of the second read latch is coupled to the count output of the second counter, the clock input of the second read latch is coupled to the output of the trigger, and the output of the second read latch is coupled to the second output of the duty cycle monitor.
8. The system of claim 7, wherein: The output terminal of the trigger includes a first output terminal and a second output terminal, wherein the first output terminal and the second output terminal are complementary; The clock input of the first sense latch is coupled to the first output of the flip-flop; and The clock input of the second sense latch is coupled to the second output of the flip-flop.
9. The system according to claim 1, further comprising: a second oscillator having an output; and A clock path is coupled between the output of the second oscillator and the input of the duty cycle monitor.
10. The system of claim 9, wherein the clock path comprises serially coupled clock buffers.
11. The system of claim 9, wherein the frequency of the second oscillator is within 5% of the frequency of the first oscillator. 12 . The system of claim 9 , further comprising a duty cycle regulator coupled between the output of the second oscillator and the clock path.
13. The system of claim 12, further comprising a control circuit coupled between the duty cycle monitor and the duty cycle regulator.
14. The system according to claim 1, further comprising: a second oscillator having an output; Clock generator; a first selection circuit having a first input, a second input, and an output, wherein the first input is coupled to the output of the second oscillator and the second input is coupled to the clock generator; a second selection circuit having an input, a first output, and a second output, wherein the first output is coupled to the input of the duty cycle monitor and the second output is coupled to at least one of sequential logic, a processor, and a memory; and A clock path is coupled between the output of the first selection circuit and the input of the second selection circuit.
15. The system of claim 14, wherein the frequency of the second oscillator is within 5% of the frequency of the first oscillator. 16 . The system of claim 14 , further comprising a duty cycle regulator coupled between the output of the first selection circuit and the clock path.
17. The system of claim 16, further comprising a control circuit coupled between the duty cycle monitor and the duty cycle regulator.
18. The system of claim 14, wherein: In a first mode, the first selection circuit is configured to select the first input terminal and the second selection circuit is configured to select the first output terminal; and In a second mode, the first selection circuit is configured to select the second input terminal and the second selection circuit is configured to select the second output terminal.
19. A method for monitoring duty cycle, the method comprising: receiving a clock signal and a reference signal; Inputting the clock signal to the signal input terminal of the trigger; Inputting the reference signal to a clock input terminal of the flip-flop; counting the number of cycles of the reference signal during which the output of the flip-flop is high to generate a first count value; as well as The number of cycles of the reference signal in which the output terminal of the flip-flop is low is counted to generate a second count value.
20. The method of claim 19, wherein the reference signal is an oscillating signal, and the frequency of the clock signal is within 5% of the frequency of the reference signal.
21. The method of claim 19, further comprising determining a duty cycle of the clock signal based on the first count value and the second count value.
22. The method of claim 21, further comprising controlling a duty cycle shift of a duty cycle adjuster based on the determined duty cycle.
23. The method of claim 22, wherein: Receiving the clock signal comprises receiving the clock signal from an output of a clock path; and The duty cycle adjuster is coupled to an input of the clock path.
24. The method of claim 19, wherein: The output terminal of the trigger includes a first output terminal and a second output terminal; The first output terminal and the second output terminal are complementary; Counting the number of periods of the reference signal in which the output of the flip-flop is high comprises counting the number of periods of the reference signal in which the first output of the flip-flop is high or low; and Counting the number of periods of the reference signal in which the output of the flip-flop is low includes counting the number of periods of the reference signal in which the second output of the flip-flop is high or low.
Citation Information
Patent Citations
Dynamic aging monitor and correction for critical path duty cycle and delay degradation
US11533045B1
Duty correction circuit
CN101814906A
Oscillator circuit
CN103312265A
Test circuit and test method thereof
CN106291148A
Synchronous mirror delay (SMD) circuit and method including a ring oscillator for timing coarse and fine delay intervals
CN1695305A
