CIRCUIT FOR CALIBRATING CIRCUITRY IN AN INTEGRATED CIRCUIT DEVICE AND METHOD OF CALIBRATING - Patent application
The circuit arrangement with a main and replica circuit, along with a calibration circuit, addresses serial data communication inefficiencies by calibrating clock phases and duty cycles, enhancing reliability and reducing jitter in high-speed data transfer.
Patent Information
- Application Number
- JP2022504223
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-07-22
- Filing Date
- 2020-06-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-06-04
AI Technical Summary
Modern networks face challenges in serial data communication due to bit transition time issues, which affect simultaneous data arrival times and require trade-offs between parallel and serial transmission, leading to inefficiencies in high-speed data transfer.
A circuit arrangement is introduced that includes a main circuit, a replica circuit, and a calibration circuit to calibrate the clock phases and duty cycles, using a selection circuit to adjust clock signals and generate corrected control signals for improved synchronization and reduced jitter.
The calibration method enhances the reliability and noise immunity of high-speed serializer/deserializer applications by reducing output jitter and maintaining optimal clock phase alignment, thereby improving data transfer efficiency.
Smart Images

Figure 0007575444000002 
Figure 0007575444000003 
Figure 0007575444000004
Abstract
Description
[Technical field]
[0001] Various embodiments relate generally to integrated circuits, and more particularly to circuits and methods for calibrating circuits within an integrated circuit device. [Background technology]
[0002] Modern networks are responsible for interconnecting computing devices operable to exchange data. Data may be exchanged from circuit board to circuit board along a common backplane, for example within a computer or server. In some implementations, data may be exchanged over long distances, for example from a travel agent's computer to an airline server on a cloud network. Modern networks may use any number of media, including physical wires, radio frequency (RF) channels, or optical fibers. Data exchanged between computing devices may include data packets that contain multiple bits. In some network implementations, bits may be sent and received simultaneously. Such communication may be what is known as parallel communication and may include multiple parallel connections known as a bus. In some implementations, data may be transmitted one bit at a time, i.e., serially.
[0003] For a given common signal frequency, serial data communication is slower than parallel communication because in serial communication each bit is sent individually, whereas in parallel communication groups of bits are communicated simultaneously in sequential time slices. However, as communication signal frequencies increase (and time slices decrease), bit transition times become a significant factor and can cause challenges to simultaneous data arrival times in parallel data implementations. Because serial transmission implementations transmit data one bit at a time, there is essentially no simultaneous data. This aspect of serial transmission can allow data to be transmitted at higher signaling frequencies. Thus, network designers can trade off the various advantages and disadvantages of parallel versus serial data transmission for a particular application. Summary of the Invention
[0004] A circuit arrangement for calibrating a circuit in an integrated circuit device is described that may include a main circuit configured to receive input data at a first input and generate output data at a first output, where the output data is based on the input data and a function of the main circuit, a replica circuit configured to receive calibration data at a second input and generate calibration output data based on the calibration data at a second output, where the replica circuit provides a replica function of the function of the main circuit, and a calibration circuit configured to receive the output data from the main circuit during a foreground calibration mode and the calibration output data from the replica circuit during a background calibration mode, where the calibration circuit provides control signals to the main circuit during the background calibration mode.
[0005] In some implementations, the circuitry can further include a selection circuit configured to receive the output data from the main circuit and the calibration output data from the replica circuit, the selection circuit controlling selection of the output data and the calibration output data during the foreground calibration mode.
[0006] In some implementations, the main circuitry can include a first serializer circuit configured to receive parallel input data and generate serial output data, the first serializer circuit generating the serial output data during an operational mode.
[0007] In some implementations, the replica circuit can include a second serializer circuit configured to receive a parallel test pattern during the operational mode and generate the calibration output data.
[0008] In some implementations, the calibration circuit may be configured to receive multiple clock phases of an input clock signal, and a corrected clock signal generated by the calibration circuit may be coupled to a first control terminal of the main circuit and a second control terminal of the replica circuit.
[0009] In some implementations, the calibration circuitry can be configured to receive the calibration output data of the replica circuitry during the foreground calibration mode to determine an initial replica correction code.
[0010] In some implementations, the calibration circuitry can be configured to receive the calibration output data of the replica circuit during the background calibration mode to determine updated replica correction codes.
[0011] In some implementations, the calibration circuitry can determine a difference in the initial replica correction code and the updated replica correction code.
[0012] In some implementations, the calibration circuit can generate corrected control signals to the main circuit and the replica circuit based on an initial calibration correction code for the main circuit and the difference in the initial replica correction code and the updated replica correction code.
[0013] In some implementations, the compensated control signal may include a compensated clock signal.
[0014] A method for calibrating a circuit in an integrated circuit device is also described, which may comprise configuring a main circuit to receive input data at a first input and generate output data at a first output, where the output data is based on the input data and a function of the main circuit, configuring a replica circuit to receive calibration data at a second input and generate calibration output data based on the calibration data at a second output, where the replica circuit provides a replica function of the function of the main circuit, and configuring the calibration circuit to receive the output data from the main circuit during a foreground calibration mode and the calibration output data from the replica circuit during a background calibration mode, where the calibration circuit provides control signals to the main circuit and the replica circuit during the background calibration mode.
[0015] In some implementations, the method may further include configuring a selection circuit to receive the output data from the main circuit and the calibration output data from the replica circuit, the selection circuit controlling the selection of the output data and the calibration output data during the foreground calibration mode.
[0016] In some implementations, the main circuitry can include a first serializer circuit configured to receive parallel input data and generate serial output data, the first serializer circuit generating the serial output data during an operational mode.
[0017] In some implementations, the replica circuit can include a second serializer circuit configured to receive a parallel test pattern during the operational mode and generate the calibration output data.
[0018] In some implementations, the method may further include configuring the calibration circuit to receive multiple clock phases of an input clock signal, and coupling a corrected clock signal generated by the calibration circuit to a first control terminal of the main circuit and a second control terminal of the replica circuit.
[0019] In some implementations, the calibration circuitry can be configured to receive the calibration output data of the replica circuitry during the foreground calibration mode to determine an initial replica correction code.
[0020] In some implementations, the calibration circuitry can be configured to receive the calibration output data of the replica circuit during the background calibration mode to determine updated replica correction codes.
[0021] In some implementations, the method can further include determining a difference in the initial replica correction code and the updated replica correction code.
[0022] In some implementations, the method may further include generating corrected control signals to the main circuit and the replica circuit based on an initial correction code for the main circuit and the difference in an initial replica correction code and the updated replica correction code.
[0023] In some implementations, the compensated control signal may include a compensated clock signal.
[0024] The details of various embodiments are set forth in the accompanying drawings and the description below. Other features and advantages will be apparent from the description and drawings, and from the claims. [Brief description of the drawings]
[0025] [Figure 1]FIG. 1 illustrates an example multiplexer clock phase calibration module implemented within a serializer integrated circuit (IC) or module that improves reliability and noise immunity in high-speed serializer / deserializer (SERDES) applications. [Diagram 2] FIG. 1 illustrates an exemplary 4:1 multiplexer implementation. [Diagram 3] FIG. 1 illustrates a multiplexer combined with an exemplary clock phasing module. [Figure 4] 1A-C illustrate output data streams from an exemplary multiplexer circuit having a variable duty cycle responsive to a variable clock phase. [Diagram 5] FIG. 2 illustrates an example duty cycle calibration module. [Figure 6A] FIG. 2 illustrates an example clock phasing module. [Figure 6B] FIG. 2 illustrates an example clock phasing module. [Figure 7] 1 is an exemplary eye diagram illustrating clock jitter without a multiplexer clock phase calibration module. [Figure 8] 1 is an exemplary eye diagram illustrating clock jitter with a multiplexer clock phase calibration module. [Figure 9A] FIG. 1 illustrates an example programmable integrated circuit (IC) in which the disclosed circuits and processes may be implemented. [Figure 9B] FIG. 1 illustrates an example programmable integrated circuit (IC) in which the disclosed circuits and processes may be implemented. [Figure 10] 4 is a flow chart of an exemplary clock phasing method. [Figure 11] FIG. 2 is a block diagram of a circuit arrangement for calibrating a main circuit using a replica circuit. [Figure 12]1 is a flow chart illustrating a method of calibrating a circuit for receiving input data and generating output data. [Figure 13] 6 is another flow chart illustrating a method of calibrating a circuit for receiving input data and generating output data. [Figure 14] FIG. 2 is another block diagram of a circuit for calibrating a serializer that receives parallel data and generates serial data. [Figure 15] FIG. 2 is another block diagram of a circuit for calibrating a serializer that receives parallel data and generates serial data. [Figure 16] FIG. 1 is an example block diagram of a circuit that can provide IQ detection. [Figure 17] FIG. 1 is an example block diagram of a circuit that can provide IQ correction. [Figure 18] 1 is a graph showing mismatch as a function of size(N) versus simulation and 1 / sqrt(N). [Figure 19] 1 is a flow chart illustrating a method for performing calibration of a circuit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] Like reference symbols in the various drawings indicate like elements.
[0027] To aid in understanding, the present specification is organized as follows. First, an exemplary use case is briefly introduced with reference to FIG. 1. Second, with reference to FIG. 2, an exemplary multiplexer circuit of the kind used herein is presented. Next, with reference to FIG. 3, a multiplexer is replicated and used in an exemplary phase alignment module, which generates a set of clocks (based on in-phase and quadrature input clocks) that are adjusted for duty cycle and phase. Next, with reference to FIG. 4, an exemplary diagram is presented to aid in understanding the replicated multiplexer (RMUX) described in FIG. 2. Next, with reference to FIG. 5, the function of an exemplary sensing module is described. FIGS. 6A and 6B present sequential and recursive clock adjustment functions in an exemplary duty cycle and phase adjustment module. Next, with reference to FIGS. 7 and 8, further explanatory discussion and experimental data are presented to explain the improvement in clock jitter. Next, with reference to FIGS. 9A and 9B, an exemplary programmable integrated circuit (IC) in which the disclosed circuits and processes may be implemented is described. Finally, with reference to FIG. 10, an exemplary clock phasing method is presented.
[0028] Throughout this application, the notation CK will be used to define clock signals. x is sometimes used, where the subscript x indicates the relative phase delay in degrees. Also, the clock signal CK 0 and C.K. 180 CK as a shorthand for defining a pair of 0,180 A clock signal CK may be used. 90 and C.K. 270 CK as shorthand for pairs of 90,270 The term in-phase clock refers to the clock differential pair CK 0,180 The term quadrature clocks can be used to define a differential pair of clocks, CK 90,180 The term system clock refers to the combination of in-phase and quadrature clocks (CK 0,180,90,270) in various examples. In various examples, the system clock may be generated external to the described embodiment. Additionally, the series switches shown throughout the figures may be controlled by logic signals coupled to the switch symbols. Unless otherwise specified, when the control logic is high, the switch is defined as closed. Correspondingly, when the control logic is low, the switch is defined as open.
[0029] Throughout this application, the term "replica" and variations thereof may be defined as something that is copied with the same circuit layout pattern on a common substrate. In this application, a main multiplexer (MMUX) having a given circuit layout pattern may be replicated to form a replica multiplexer (RMUX) for the purpose of replicating certain functions and timing (e.g., clock delays, signal delays, rise times, fall times) of the MMUX. Also, the RMUX may replicate or substantially emulate the MMUX timing across process, voltage, and temperature.
[0030] 1 illustrates an exemplary multiplexer clock calibration module implemented within a serializer module to improve reliability and noise immunity in high-speed serializer / deserializer (SERDES) applications. A computer communications application 100 includes a computing device 105 (e.g., a personal computer) in communication with a router 110 over a Gigabit Ethernet network 115. The computing device 105 provides high-speed serial data 140 from a serializer module 120.
[0031] In the illustrated example, serializer module 120 includes a multiplexer clock calibration module 125. Multiplexer clock calibration module 125 receives a set of system clocks (e.g., multiplexer clocks) 130 and input data 135. Multiplexer clock calibration module 125 sends serial data 140 in response to the input data 135 clocked by the set of system clocks 130 through multiplexer clock calibration module 125.
[0032] The multiplexer clock calibration module 125 includes a clock calibration controller 145 that receives a set of system clocks 130, detects their deviation from an expected duty cycle, and provides an error correction signal to the delay line module 150. The clock calibration controller 145 also outputs a delay line signal from the replica mux 155 to the delay line module 150. out-r signal, which is fed to a set of system clocks 130 (e.g., a common-phase clock set CK 0,180 , Quadrature clock set CK 90,270 ) is shown. The clock calibration controller 145 is connected to the in-phase clock set CK 0,180 and the quadrature clock set CK 90,270 and provides an error correction signal to the delay line module 150 in response to a deviation from an expected phase shift between the delay line module 150 and the
[0033] A set of corrected clocks 160 (CK 0’,180’ , C.K. 90’,270’) are sent to replica mux 155 for subsequent deviation determination. The multiplexer clock calibration module 125 provides iterative deviation detection and clock adjustment. The replica mux 155 may be fabricated as a substantial replica of the primary mux 165. The primary mux 165 receives the same set of corrected clocks 160 as the replica mux 155. The replica mux 155 replicates the timing parameters of the primary mux 165. Thus, the primary mux 165 provides a low bit error rate by serializing the input data 135 with the set of corrected clocks 160. The multiplexer clock calibration module 125 may be implemented, for example, in a multi-gigabit transceiver (MGT) on a field programmable gate array (FPGA).
[0034] 2 illustrates an exemplary 4:1 multiplexer implementation. The 4:1 data multiplexer 200 includes an input buffer 205. 0 , 205 1 , 205 2 , 205 3 (hereinafter collectively referred to as “input buffer 205”). The input buffer 205 receives the parallel input data D in0 , D in2 , D in1 , and D. in3 The input buffer 205 receives the serial switch 210 0 , 210 1 , 210 2 , and 210 3 (collectively referred to below as "series switch 210"). 0 and 210 1 are the quadrature clocks CK 90 and C.K. 270 Controlled by Data D 1 Serial switch 210 2 and 210 3 are the quadrature clocks CK 270 and C.K. 90 Controlled by Data D 2 Control.
[0035] Data D 1 and Data D 2 are the intermediate buffers 215 0 and 215 1 (collectively referred to hereinafter as "intermediate buffer 215"). Intermediate buffer 215 is coupled to serial switch 220. 0 , 220 1 (collectively referred to below as "series switch 220"). 0 and 220 1 are the in-phase clocks CK 180 and C.K. 0 , which controls the data to the final buffer 225. The final buffer 225 receives the output data D out Drives.
[0036] The 4:1 data multiplexer 200 is 90 and C.K. 180 is active (e.g., logic high) and CK 270 and C.K. 0 When is inactive (e.g., logic low), the input data D in0 The output data D out The 4:1 data multiplexer 200 can pass the 270 and C.K. 0 is active (e.g., logic high) and CK 90 and C.K. 180 When is inactive (e.g., logic low), the input data D in1 The output data D out The 4:1 data multiplexer 200 can pass the 270 and C.K. 180 is active (e.g., logic high) and CK 90 and C.K. 0 When is inactive (e.g., logic low), the input data D in2 The output data D out The 4:1 data multiplexer 200 can pass the 90 and C.K. 0 is active (e.g., logic high) and CK270 and C.K. 180 When is inactive (e.g., logic low), the input data D in3 The output data D out can be passed to
[0037] The 4:1 data multiplexer 200 may be a compact MUX structure. The 4:1 data multiplexer 200 is driven by a quarter-rate clock (e.g., CK 0,90,180,270 ) to inherently consume low power. The final stage switch (series switch 220) is 0 or CK 180 is high, it passes two consecutive bits. Therefore, the clocking power and the MUX output jitter are both substantially low. Simulations can be performed to demonstrate that the output jitter can be about 359 fs with a power consumption of about 2.4 mW, including the power consumption of the clock buffer (not shown).
[0038] The final stage switch (series switch 220) of this 4:1 data multiplexer 200 is CK 0 or CK 180 D outputs 2 bits when out To pass to the internal data D 1 and D. 2 CK 0 or CK 180 is directly affected by the clock phase alignment of the CK 0 or CK 180 D 1 and D. 2 If the data bits are not center-aligned, the bit width variation will be out and can lead to larger output data jitter.
[0039] In one illustrative example, the sequence of data signals is data signal D in0 , D in1 , D in2 , and D. in3 D in0 CK 90, and may be configured to connect to form a first internal node in response to in2 CK 270 D in1 CK 270 , and may be configured to connect to form a second internal node in response to in3 CK 90 The first internal node may be configured to connect to the second internal node in response to a CK 180 In response to D out and the second internal node may be configured to connect to form a CK 0 In response to D out may be configured to connect to form
[0040] 3 shows an example clock phase alignment module and combined multiplexer. The clock phase alignment module 300 is 0,180 ) 305 sets and quadrature clocks (CK 90,270 ) 310. Adjustable Delay Line (ADL1) 315 1 is the common clock (CK 0,180 ) 305 and a correction signal 320. 2 is the quadrature clock (CK 90,270 ) 310 and a correction signal 325. 1 and 315 2 may be collectively referred to as "adjustable delay lines 315." Each of the adjustable delay lines 315 may include one or more delay lines, each operable to generate a delayed input signal. The DCC 330 generates a corrected in-phase clock (CK 0’,180’ ) 335 from 50% duty. 90’,270’ 3. Adjustable Delay Line (ADL1) 315 generates a correction signal 325 in response to deviations from 50% duty of the set of delay lines (D1) 340. 1 In response to the correction signal 320, the in-phase clock (CK0,180 ) 305 to delay the rising and / or falling edges of the compensated in-phase clock (CK 0’,180’ ) 335. 2 In response to the correction signal 325, the quadrature clock (CK 90,270 ) 310 to delay the rising and / or falling edges of the corrected quadrature clock (CK 90’,270’ ) 340. Therefore, a set of corrected in-phase clocks (CK 0’,180’ ) 335 and the corrected quadrature clock (CK 90’,270’ ) 340 may have a substantially 50% duty cycle.
[0041] The adjustable delay line 315 generates a compensated in-phase clock (CK 0’,180’ ) 335 and the corrected quadrature clock (CK 90’,270’ ) 340 to a main multiplexer (MMUX) 345. In some examples, the MMUX 345 receives the clocks 335 and 340 through a multi-phase control input. The MMUX 345 provides a parallel input data bus (D in0 , D in1 , D in2 , D in3 )350 to Data Stream (D out ) Serialize to 355.
[0042] The replica multiplexer (RMUX) 360 also generates a corrected in-phase clock (CK 0’,180’ ) 335 and the corrected quadrature clock (CK 90’,270’ ) 340. In some examples, RMUX 360 receives clocks 335 and 340 through a multi-phase control input. RMUX 360 may be fabricated as a substantial replica of MMUX 345 and may be fabricated on a common substrate with primary multiplexer 345, replicating the settings, functionality, and timing characteristics of primary multiplexer 345. Thus, the data stream (D out The timing associated with the data bits in RMUX 360's data stream (D out-r) 370 may be a replica of the timing associated with the data bits in
[0043] RMUX360 is an input data bus (D in0-r , D in1-r , D in2-r , D in3-r ) 365. The input data bus (D in0-r , D in1-r , D in2-r , D in3-r ) 365 uses alternating data bit logic to convert the data stream (D out-r ) 370. out-r ) 370 is clocked through RMUX 360, which may be fabricated as a substantial replica of MMUX 345. Because RMUX 360 is fabricated on the same substrate as a replica of MMUX 345, the configuration, functionality, and timing characteristics of RMUX 360 may be replicas of MMUX 345. Also, the clock-data phasing on RMUX 360 may be replicas of the clock-data phasing on MMUX 345. In one illustrative example, a compensated in-phase clock (CK 0’,180’ ) 335 edge is the primary serial data stream (D out ) 355, the corrected in-phase clock (CK 0’,180’ )335 edge is the replica serial data stream (D out-r ) 370.
[0044] The data bits on the input of the RMUX360 are set with alternating logic so that the data stream (D out-r ) 370 may generate alternate bit logic. out-r ) 370 duty cycle is the compensated quadrature clock (CK 90’,270’ ) 340 using the corrected in-phase clock (CK 0’,180’ ) 335 from the RMUX 360. out-r) 370 is sent to the DCC 330. The DCC 330 receives the data stream (D out-r In response to a deviation of the duty cycle of the clocks 315, 370 from 50%, the DCC generates the correction signals 320 and / or 325. The deviation may involve a correction delay of the in-phase clock or a correction delay of the quadrature clock, so that the DCC generates the correction signals 320 and / or 325. In response to the correction signal 320, the adjustable delay line 315 1 is the corrected in-phase clock (CK 0’,180’ In response to the correction signal 325, the phase of the adjustable delay line 315 may be adjusted. 2 is the corrected quadrature clock (CK 90’,270’ ) 340. The corrected phase may be further adjusted in the data stream (D out ) 355.
[0045] In various implementations, the correction signals 320 and 325 may each be a set of data buses. For example, the correction signals 320 and 325 may each include a bus that includes a rising edge delay value and a falling edge delay value. Thus, the adjustable delay line 315 may adjust the phase of the clocks 335, 340 by changing the delay of the rising and falling edges by the same amount. The adjustable delay line 315 may also adjust the phase of the corrected in-phase clock (CK 0’,180’ ) 335 and the corrected quadrature clock (CK 90’,270’ ) 340 may be adjusted.
[0046] In various examples, the clock phase alignment module 300 may generate continuous duty-balanced and phase-aligned in-phase and quadrature clocks. The duty-balanced and phase-aligned clocks may advantageously reduce jitter in various serializer-deserializer (SERDES) applications. The implementation shown in FIG. 3 may be, for example, a clock phase calibrated multiplexer.
[0047] 4A, 4B, and 4C show output data streams from an exemplary multiplexer circuit having a variable output duty cycle in response to a variable clock phase. 0 ) and inverted common clock (CK 180 ) is input to the multiplexer 200 shown in FIG. 1 and data signal D 2 The multiplexer 200 may represent the logical configuration of the MMUX 345 and the RMUX 360. On the multiplexer 200 of FIG. in0 and D. in2 is tied high and the data input D in1 and D. in3 When tied low, the quadrature clock CK 90 and C.K. 270 A data stream with data that transitions to the opposite logic level for every transition of D 1 and D. 2 can be generated above.
[0048] The example waveforms of FIG. 4A, FIG. 4B, and FIG. 4C are based on the data input D in0 and D. in2 is tied with high, D in1 and D. in3 may be tied low and generated from multiplexer 200. In operation, referring to Figures 4A, 4B, and 4C, the in-phase clock CK 0 When is low, the data signal D 1 in real time out Also, the inverted common clock CK 180 When is high, the data signal D 2 in real time out The data signal D 1 and D. 2 Since D passes through the series switch 220, the actual data signal containing the data transitions is 1 From D out to, or D 2 From D out is selectively passed to
[0049] Therefore, D out The signal is D 1 and D. 2 The in-phase clock CK for the center of the transition above 0 and C.K. 180 It generates a duty cycle that responds to the proximity of the edges of the in-phase clock CK 0 and C.K. 180 The clocking edge of the data signal D 1 and D. 2 The closer to the midpoint between the transitions, the greater the D out The duty cycle of D is close to 50%. out The duty cycle of the data signal D 1 and D. 2 4 illustrates centering of the clock with a data boundary in
[0050] As shown in Figure 4A, the in-phase clock CK 0 D 1 and D. 2 D 1 and D. 2 The upper transition is the quadrature clock (CK in Fig. 2). 90 and C.K. 270 ) transitions. D out The quadrature clock (CK 90 , and C.K. 270 ) transitions so that they are substantially centered between the 0 , and C.K. 180 ) various clock phasing module embodiments may operate.
[0051] As shown in Figure 4B, the in-phase clock CK 0 is the data signal D 1 and D. 2 Early relative to the midpoint of the upper transition. In this example, D out produces a duty cycle greater than 50% in response to an early arriving in-phase clock.
[0052] As shown in Figure 4C, the in-phase clock CK 0 is the data signal D 1 and D. 2 Slower than the midpoint of the upper transition. In this example, D out produces a duty cycle less than 50% in response to a late arriving in-phase clock.
[0053] In some instances, data entry may be performed in a manner similar to that described in FIGS. 4A-4C. in0 and D. in2 is logic low and D in1 and D. in3 In such an example, the data signal D 1 and D. 2 can be inverted from that described in Figures 4A-4C. If the in-phase clock arrives early as shown in Figure 4B, D out The duty cycle of D can be less than 50%. If the common clock arrives late, as shown in Figure 4C, out The duty cycle of may be greater than 50%. The corresponding downstream circuitry may be implemented using the inverse logic to achieve the same overall result.
[0054] 4A, 4B, and 4C show details of the operation of replica multiplexer (RMUX) 360. In one illustrative example, the inputs of RMUX 360 are routed to alternate logic (e.g., D in0-r and Din 2-r to logic high, D in1-r and D. in3-r to logic low), a 14GHz clock waveform, for example, will not 1 and D. 2 CK 0,180 is the data signal D 1 and D. 2 When the data stream (D out-r ) 370 may be a 28 GHz signal with a substantially 50% duty cycle.0,180 In response to an early or late clock edge on the RMUX360, the output of the RMUX360 is a data stream (D out-r ) 370 may produce a duty cycle greater than or less than 50%.
[0055] FIG. 5 illustrates an example duty cycle calibration module (DCC). The duty cycle calibration module (DCC) 500 includes a sensing module 505 and a calibration processing module 510. In some examples, the DCC 500 can be the DCC 330 (FIG. 3). The sensing module 505 receives one or more differential pairs. In the illustrated example, the sensing module 505 receives the D out-r Differential pair, CK 0,180 Differential pairs, and CK 90,270 Receive differential pairs.
[0056] D out-r The differential pair is generated by RMUX (Figure 3, item 360). out-r The differential pair is filtered by a low pass filter (LPF) 515. The LPF 515 filters the average voltage V AVE (D out-r ) and V AVE (D out-r ) bar pair. The average voltage is sent to the error amplifier 520, which generates the quadrature clock (CK 90,270 ) Matching to In-Phase Clock (CK 0,180 ) is generated.
[0057] In one illustrative example, the detection module 505 detects a common clock (CK 0,180 ) is the quadrature clock (CK 90,270 ) to generate a zero error signal 520A. A 90° phase shift may indicate an optimum match. The sense module 505 may be configured to generate a zero error signal 520A when the in-phase clock (CK 0,180 ) is the quadrature clock (CK 90,270) to generate a positive error signal 520A when the in-phase clock (CK 0,180 ) is the quadrature clock (CK 90,270 ) to generate a negative error signal 520A when the CK 0 The rising and falling edges of (and CK 180 ) can be delayed simultaneously to increase the phase shift of the in-phase clock. 90 The rising and falling edges of (and CK 270 ) may be delayed simultaneously to increase the phase shift of the quadrature clocks. The error signal 520A may include a magnitude indicative of the deviation from 90°.
[0058] CK 0,180 The differential pair is filtered by LPF 525, which reduces the average voltage V AVE (CK 0 ) and V AVE (CK 180 The average voltage is sent to the error amplifier 530, where it is 0,180 An error signal 530A is generated that is indicative of the duty cycle of the differential pair.
[0059] In one illustrative example, the detection module 505 0,180 The detection module 505 may be configured to generate a zero error signal 530A when the differential pair is at a 50% duty cycle. 0,180 Generates a positive error signal 530A when the duty cycle of the differential pair is greater than 50%, and CK 0,180 It may be configured to generate a negative error signal 530A when the duty cycle of the differential pair is less than 50%. For example, in response to a positive error, CK 0 The rising edge of (and CK 180The associated falling edge of CK 1 may be delayed to reduce the in-phase clock duty cycle. 0 The falling edge of (and CK 180 ) may be delayed to increase the in-phase clock duty cycle. Error signal 530A may include a magnitude indicative of deviation from a 50% duty cycle.
[0060] CK 90,270 The differential pair is filtered by LPF 535, which reduces the average voltage V AVE (CK 90 ) and V AVE (CK 270 The average voltage is sent to the error amplifier 540, where it is 90,270 An error signal 540A is generated that is indicative of the duty cycle of the differential pair.
[0061] In one illustrative example, the detection module 505 90,270 The detection module 505 may be configured to generate a zero error signal 540A when the differential pair is at a 50% duty cycle. 90,270 Generates a positive error signal 540A when the duty cycle of the differential pair is greater than 50%, and CK 90,270 It may be configured to generate a negative error signal 540A when the duty cycle of the differential pair is less than 50%. For example, in response to a positive error, CK 90 The rising edge of (and CK 270 The associated falling edge of CK may be delayed to reduce the quadrature clock duty cycle. 90 The falling edge of (and CK 270 ) may be delayed to increase the quadrature clock duty cycle. In some examples, error signal 540A may include a magnitude indicative of a deviation from a 50% duty cycle.
[0062] Calibration processing module 510 receives error signals 520A, 530A, and 540A. Calibration processing module 510 generates in-phase clock correction signal 545 and quadrature clock correction signal 550.
[0063] In one illustrative example, the in-phase clock correction signal 545 may include one or more digital control and data buses. The digital control and data buses may include time delay magnitudes for both rising and falling edges, which may be fed to the adjustable delay line (ADL1) 315. 1 (FIG. 3), and in this manner the duty cycle and phase of the in-phase clock can be adjusted.
[0064] In one illustrative example, the quadrature clock correction signal 555 may include one or more digital control and data buses. The digital control and data buses may include time delay magnitudes for both rising and falling edges, which are fed to the adjustable delay line (ADL2) 315. 2 (FIG. 3), and in this manner the duty cycle and phase of the in-phase clock can be adjusted.
[0065] 6A and 6B show block diagrams and associated timing diagrams of an exemplary clock phase alignment module. With reference to FIG. 6A, the clock phase alignment module 600 includes a digital delay module 605. The clock phase alignment module 600 may be operable to adjust one or more input clocks 610. The input clocks 610 may be an in-phase differential pair (e.g., CK 0 , C.K. 180 ) and orthogonal differential pairs (e.g., CK 90 , C.K. 270), the adjustments to the input clock 610 may be controlled by a delay control signal 615. In the illustrated example, the delay control signal 615 includes one or more delay module control data buses. The digital delay module 605 adjusts the delay of the rising and / or falling edges of the set of input clocks 610 in response to the delay control signal 615 to generate an adjusted clock 620 (which is an in-phase adjusted clock CK 0’ , C.K. 180’ and quadrature-tuned clock CK 90’ , C.K. 270’ (which may be defined as: .times. ...
[0066] The detection module 625 receives the adjusted clock 620 and a data output signal 635 generated by the replica mux 640. The data output signal 635 may represent the phase alignment between the in-phase clock and the quadrature clock. The detection module 625 detects (1) the in-phase adjusted clock CK 0’ , C.K. 180’ ,(2) Quadrature-adjusted clock CK 90’ , C.K. 270’ , and (3) a duty cycle sense signal 630 indicative of the duty cycle of the data output signal 635.
[0067] The calibration processing module 645 receives the duty cycle sensed signal 630 generated by the sensing module 625. The calibration processing module 645 generates the delay control signal 615 based on the duty cycle sensed signal 630.
[0068] In the illustrated example, the calibration processing module 645 includes a pre-processing module 650 and a post-processing module 655. The pre-processing module 650 generates a set of magnitude and direction signals 660 in response to each of the received duty cycle sensing signals 630. The post-processing module 655 generates a delay control signal 615 in response to the set of magnitude and direction signals 660. The delay control signal 615 may include one or more delay module control data buses. The calibration processing module 645 may generate the delay control signal 615 based on the duty cycle sensing signals.
[0069] The calibration processing module 645 includes a clock divider 665. The clock divider 665 generates one or more enable signals 670 in response to a processing clock 675. The enable signals 670 may activate three functions (in-phase clock duty cycle, quadrature clock duty cycle, phase duty cycle) in the detection module 625 in a repetitive sequence.
[0070] In various examples, each of the three enable signals 670 may activate during one or more processing clocks 675 in a repeating pattern. The enable signals 670 may also select one of the sense signals from the sense module 625 as output to the duty cycle sense signal 630.
[0071] For example, during the period of the first enable signal (cal_i_duty_enable), the duty cycle sense signal 630 is 0,180) generated LPF sense signal. A pre-processing module 650 in the calibration processing module 645 may determine an in-phase clock magnitude and direction signal 660 based on the received duty cycle sense signal 630. A post-processing module 655 in the calibration processing module 645 may receive the magnitude and direction signal 660 and generate a magnitude of delay relative to the in-phase clock edges (e.g., cki_falling[7:0], cki_rising[7:0]). During this first enable signal (cal_i_duty_enable), the calibration processing module 645 may perform this determination eight times, with each determination lasting, for example, 16 processing clocks.
[0072] Then, during the second enable signal (cal_q_duty_enable), the duty cycle sense signal 630 may be the generated LPF sense signal of the quadrature clock. A pre-processing module 650 in the calibration processing module 645 may determine a magnitude and direction signal 660 of the quadrature clock based on the received duty cycle sense signal 630. A post-processing module 655 in the calibration processing module 645 may receive the magnitude and direction signal 660 and generate a magnitude of delay relative to the quadrature clock edges (e.g., ckq_falling[7:0], ckq_rising[7:0]). During this second enable signal (cal_q_duty_enable), the calibration processing module 645 may perform this determination eight times, with each determination lasting, for example, 16 processing clocks.
[0073] Finally, during the third enable signal (cal_iq_phase_enable), the duty cycle sense signal 630 may be a generated LPF sense signal of the data output signal 635 generated by the replica mux 640. A pre-processing module 650 in the calibration processing module 645 may determine a magnitude and direction signal 660 of the data output signal 635 generated by the replica mux 640 based on the received duty cycle sense signal 630. A post-processing module 655 in the calibration processing module 645 may receive the magnitude and direction signal 660 and generate a common delay magnitude for the in-phase and quadrature clock edges (e.g., cki_falling[7:0], cki_rising[7:0], ckq_falling[7:0], ckq_rising[7:0]). During this third enable signal (cal_iq_phase_enable), the calibration processing module 645 may perform this determination eight times, with each determination lasting, for example, 16 processing clocks.
[0074] Replica mux 640 is a replica of primary mux 680. In various examples, clock phase alignment module 600 can generate a set of adjusted clocks 620, which can be corrected copies of input clock 610 with adjusted duty cycles and phases. Primary mux 680 can generate a serial output data stream 685 with reduced jitter in response to the set of adjusted clocks 620.
[0075] 6B, the timing diagram of the example clock phase alignment module 600 includes sequential enable signals 670. As described in FIG. 6A, the enable signals activate one of three functions within the duty cycle detection module 625.
[0076] As shown in the example of FIG. 6B, when cki_Duty_enable is active (e.g., high), the duty cycle of the in-phase clock (as represented by the "i" in the signal name cki_Duty_enable) may be sensed and evaluated in the sense module 625. The sense module 625 may generate a duty cycle sense signal 630 having an in-phase clock duty LPF value and transmit the value to the calibration processing module 645. In various examples, the calibration processing module 645 may allow multiple cycles (represented as "n" cycles in FIG. 6B) to pass to allow the in-phase clock duty LPF value to stabilize. The calibration processing module 645 may generate the delay control signal 615 by converting the duty cycle sense signal 630 into correction values cki_Duty_cntl[7:0] and cki_Duty_dir.
[0077] When ckq_Duty_enable is active (e.g., high), the duty cycle of the quadrature clock (as represented by the “q” in the signal name ckq_Duty_enable) may be sensed and evaluated in the sense module 625. The sense module 625 may generate a duty cycle sense signal 630 having a quadrature clock duty LPF value and transmit the value to the calibration processing module 645. In various examples, the calibration processing module 645 may allow multiple cycles (represented as “n” cycles in FIG. 6B) to pass to allow the quadrature clock duty LPF value to stabilize. The calibration processing module 645 may generate the delay control signal 615 by converting the duty cycle sense signal 630 into correction values ckq_Duty_cntl[7:0] and ckq_Duty_dir.
[0078] When ckiq_Phase_enable is active (e.g., high), a duty cycle indicative of in-phase-quadrature fading, such as the data output signal 635, may be detected and evaluated in the detection module 625. The detection module 625 may generate a duty cycle detection signal 630 having an in-phase-quadrature fading duty LPF value and transmit the value to the calibration processing module 645. In various examples, the calibration processing module 645 may allow multiple cycles (represented as "n" cycles in FIG. 6B) to pass to allow the in-phase-quadrature fading duty LPF value to stabilize. The calibration processing module 645 may generate the delay control signal 615 by converting the duty cycle detection signal 630 into correction values ckiq_Phase_cntl[7:0] and ckiq_Phase_dir. In some examples, the calibration processing module 645 may generate the delay control signal 615 by converting the duty cycle sense signal 630 into correction values ckq_Phase_cntl[7:0] and ckq_Phase_dir. Correspondingly, the relative phases of the clocks may be adjusted by simultaneously delaying the rising and falling edges of the in-phase and / or quadrature clocks.
[0079] In various examples, the number of clock cycles for the stabilization time, as represented by the first "n" samples after activation of the enable signal 670, may vary from function to function. For example, the stabilization for in-phase clock duty detection may be 5 clocks, the stabilization time for quadrature clock duty detection may be 10 clocks, and the stabilization time for phase detection duty may be 12 clocks.
[0080] The calibration processing module 645 may control the detection module 625 via an enable signal 670 to indicate which parameters (e.g., in-phase clock, quadrature clock, fading between in-phase and quadrature clocks) should be sampled and corrected. The calibration processing module 645 may enable the parameters by sequential iterations as shown in FIG. 6B. The iterative corrections to the parameters (e.g., in-phase clock, quadrature clock, fading between in-phase and quadrature clocks) may provide real-time compensation for supply and temperature variations.
[0081] In some examples, the enables may be activated asymmetrically. For example, the calibration processing module 645 may enable in-phase clock duty cycle detection (ID), quadrature clock duty cycle detection (QD), then return to ID, and then activate in-phase-quadrature phasing (IQP) after QD. This principle may be further extended, and the calibration processing module 645 may generate an enable sequence of ID, QD, ID, QD, ID, QD, before activating IQP, for example. In various implementations, the enables may be activated in a different order, and the calibration processing module 645 may generate an enable sequence of QD, ID, IQP, for example. In some examples, the calibration processing module 645 may determine an enable sequence that is not based on a set pattern, but on other factors such as the relative magnitude of the duty cycle error signal or die temperature, for example.
[0082] In one illustrative example, the cki_Duty_dir and ckq_Duty_dir signals may indicate 0 for a duty cycle increase and 1 for a duty cycle decrease, and ckiq_Phase_dir may indicate 0 for delaying the in-phase clock path and 1 for delaying the quadrature clock path.
[0083] 7 shows an example eye diagram illustrating clock jitter without the multiplexer clock phase calibration module. In the example shown, the jitter measurement is 1.563 picoseconds.
[0084] 8 shows an example eye diagram representing clock jitter with the multiplexer clock phase calibration module. In the example shown, the jitter measurement is 0.514 picoseconds. With reference to FIG. 7, the measurement in FIG. 8 represents a jitter reduction of about 67%.
[0085] 9A and 9B show an example programmable integrated circuit (IC) in which the disclosed circuits and processes can be implemented. 9A and 9B are described in combination. The connection between 9A and 9B is shown by circled points A, B, C, and D. The programmable IC 900 includes field programmable gate array (FPGA) logic. The programmable IC 900 may be implemented with a variety of programmable resources and may be referred to as a system on a chip (SOC). The FPGA logic may include several different types of programmable logic blocks in an array.
[0086] 9A and 9B, for example, show a programmable IC 900 that includes a number of different programmable tiles, including a multi-gigabit transceiver (MGT) 901, a configurable logic block (CLB) 902, a block of random access memory (BRAM) 903, an input / output block (IOB) 904, configuration and clocking logic (CONFIG / CLOCKS) 905, a digital signal processing block (DSP) 906, specialized input / output blocks (I / O) 907 (e.g., clock ports), and other programmable logic 908 (e.g., digital clock managers, analog-to-digital converters, system monitoring logic). The programmable IC 900 includes a dedicated processor block (PROC) 910. The programmable IC 900 may include internal and external reconfiguration ports (not shown).
[0087] In various examples, the serializer / deserializer may be implemented using the MGT 901. The MGT 901 may include various data serializers and deserializers. The data serializer may include various multiplexer implementations. The data deserializer may include various demultiplexer implementations.
[0088] In some examples of FPGA logic, each programmable tile includes a programmable interconnect element (INT) 911 with standardized interconnects 924 between corresponding interconnect elements in each adjacent tile. Thus, the programmable interconnect elements collectively implement a programmable interconnect structure for the illustrated FPGA logic. The programmable interconnect element INT 911 includes internal connections 920 between programmable logic elements in the same tile, as shown by the example included in FIG. 9B. The programmable interconnect element INT 911 includes inter-INT connections 922 between programmable interconnect elements INT 911 in the same tile, as shown by the example included in FIG.
[0089] For example, the CLB 902 may include a configurable logic element (CLE) 912 that can be programmed to implement user logic, and a single programmable interconnect element INT 911. The BRAM 903 may include a BRAM logic element (BRL) 913 and one or more programmable interconnect elements. In some examples, the number of interconnect elements included in a tile may depend on the height of the tile. In the illustrated implementation, the BRAM tile has the same height as five CLBs, although other numbers (e.g., four) are also usable. The DSP tile 906 may include a DSP logic element (DSPL) 914 and one or more programmable interconnect elements. The IOB 904 may include, for example, two instances of an input / output logic element (IOL) 915 and one instance of a programmable interconnect element INT 911. For example, the actual I / O bond pads connected to the I / O logic element 915 may be fabricated using metal stacked on top of the various illustrated logic blocks and may not be limited to the area of the input / output logic element 915.
[0090] In the illustrated implementation, columnar regions near the center of the die (shown shaded in FIG. 9A) are used for configuration, clocks, and other control logic. Horizontal regions 909 extending from the columns distribute clock and configuration signals across the width of the programmable IC. Note that references to "columnar" and "horizontal" regions are relative when viewing the drawings in a portrait orientation.
[0091] Some programmable ICs utilizing the architecture shown in Figures 9A and 9B include additional logic blocks that break up the regular columnar structure that constitutes the bulk of the programmable IC. The additional logic blocks may be programmable blocks and / or dedicated logic. For example, the processor block PROC 910 shown in Figure 9A spans several columns of CLBs 902 and BRAMs 903.
[0092] It should be noted that Figures 9A and 9B are intended to illustrate only one example of a programmable IC architecture. The number of logic blocks in a column, the relative widths of the columns, the number and order of columns, the types of logic blocks contained within the columns, the relative sizes of the logic blocks, and the interconnect / logic implementation are provided merely as examples. For example, in an actual programmable IC, the location where CLB 902 appears may include multiple adjacent columns of CLB 902 to facilitate efficient implementation of user logic.
[0093] FIG. 10 shows a flow chart of an exemplary clock phase alignment method. The exemplary clock phase alignment method 1000 includes block 1005. At block 1005, the clock phase alignment method 1000 generates a replica serial data output signal (RDOUT) in response to an in-phase clock signal (CKI) and a quadrature clock signal (CKQ) using a replica multiplexer (RMUX). Execution then continues from block 1005 to block 1010. At block 1010, the clock phase alignment method 1000 receives clock signals CKI and CKQ using a DCC. The DCC may also receive the replica serial data output signal (RDOUT). Then, the method 1000 executes one of three decision blocks 1015, 1030, or 1045. The method 1000 may be executed iteratively, or each of the three decision blocks may be executed in a queue. In various examples, the method 1000 may execute each of the three decision blocks sequentially and periodically.
[0094] The method 1000 may execute decision block 1015. At decision block 1015, the method compares CKI to the inverted CKI. If the result is a signal with a 50% duty or greater, an adjustable delay line delays the falling edge of CKI at block 1020. If the result is a signal with a less than 50% duty, an adjustable delay line delays the rising edge of CKI at block 1025. Execution then continues to block 1060.
[0095] Method 1000 may execute decision block 1030. At decision block 1030, the method compares CKQ to inverted CKQ. If the result is a signal with a 50% duty or greater, an adjustable delay line delays the falling edge of CKQ at block 1035. If the result is a signal with a less than 50% duty, an adjustable delay line delays the rising edge of CKQ at block 1040. Execution then continues to block 1060.
[0096] The method 1000 may execute decision block 1045. At decision block 1030, the method compares RDOUT to inverted RDOUT. If the result is a signal with a 50% duty or greater, an adjustable delay line delays the rising and falling edges of CKI at block 1050. If the result is a signal with a less than 50% duty, an adjustable delay line delays the rising and falling edges of CKQ at block 1055. Execution then continues to block 1060.
[0097] At block 1060, the method 1000 uses a master multiplexer (MMUX) to replicate the multiplexing operations of the replica multiplexer in response to the CKI and CKQ. Execution of the method 1000 may then be completed.
[0098] The exemplary clock phase alignment method 1000 may be performed by the calibration processing module 510 with reference to Figure 5. The calibration processing module 510 may be implemented in hardware or software or a combination thereof.
[0099] Although various embodiments have been described with reference to figures, other embodiments are possible. For example, various embodiments may not be limited to four inputs and one output. Thus, a multiplexer may input 8, 16, 32, 64, or 128 or more bits and produce a single output. Various embodiments may implement a wider input bus using one or more 4:1 multiplexers connected in various configurations.
[0100] Various embodiments may generate the delay control signals through the use of a digital signal processor (DSP). For example, various differential signal pairs may be individually low-pass filtered and analog results read out by the DSP. The DSP may compare the analog results by executing pre-programmed instructions fetched from a memory device. The DSP may provide analog output signals to a compatible (analog input) delay line for further adjustment to the duty cycle and / or phase of a set of clocks. In some implementations, the DSP may provide one or more digital output buses to a compatible (digital input) delay line. In various implementations, the DSP may provide low-pass filtering. Also, in some examples, the DSP may provide the delay line functionality.
[0101] In various examples, clock timing distortion may be reflected as output jitter in both the MMUX and RMUX. The proposed clock calibration technique adjusts the CK to minimize output jitter. 0,180 The phase may be tuned / calibrated. The tuning resolution may be determined by the minimum tunable range of the delay line. Thus, the tuning loop may generate calibrated clock timing within the resolution of the delay line.
[0102] Various examples of modules may be implemented using circuits including various electronic hardware. By way of example, and not limitation, the hardware may include transistors, resistors, capacitors, switches, integrated circuits, and / or other modules. In various examples, the modules may include analog and / or digital logic, discrete components, traces, and / or memory circuits fabricated on silicon substrates including various integrated circuits (e.g., FPGAs, ASICs). In some embodiments, the modules may involve the execution of pre-programmed instructions and / or software executed by a processor. For example, various modules may involve both hardware and software.
[0103] In an exemplary aspect, the multiplexer clock calibration module may be adapted to track and compensate the multiplexer clock input over dynamic operating conditions. The multiplexer clock calibration module may include a primary multiplexer module (MMUX) configured to receive a first array of data signals and may be operable to generate a primary serial data output signal (MDout) by selecting one of the data signals in the first array in response to a multi-phase MMUX control input. The multiplexer clock calibration module may include a replica multiplexer module (RMUX) fabricated on a common substrate with the MMUX and configured to replicate the operation of the MMUX. The RMUX may be configured to receive a second array of data inputs and may be operable to generate a replica serial data output signal (RDout). The RMUX may be configured to generate the RDout by selecting one of the data inputs in the second array in response to a multi-phase RMUX control input. In various examples, the RMUX may be configured to emulate the operating characteristics of the MMUX over process, voltage, and temperature (PVT). The RDout and MDout may each be formed as a differential signal.
[0104] The multiplexer clock calibration module may include a duty cycle calibration module (DCC) with three signal processing circuits. Each of the signal processing circuits may include at least one low pass filter (LPF) coupled to the differential error amplifier. The DCC may be configured to generate a first delay control signal and a second delay control signal to adjust a phase relationship between the in-phase clock signal (CKI) and the quadrature clock signal (CKQ) in response to the RDout.
[0105] The multiplexer clock calibration module may include an adjustable delay line module (ADLM) configured to generate the CKI and CKQ signals. The ADLM may include a first adjustable delay line module, which may be adapted to delay a system in-phase clock signal (CK0, 180) in response to a first delay control signal to generate the CKI signal. The ADLM may include a second adjustable delay line module adapted to delay a system quadrature clock signal (CK90, 270) in response to a second delay control signal to generate the CKQ signal. The multi-phase MMUX control input and the multi-phase RMUX control input may be operatively connected to the ADLM to receive both the CKI and CKQ clock signals.
[0106] The DCC may be configured to dynamically modulate only the first delay control signal during a first portion of the time interval. The DCC may be configured to dynamically modulate only the second delay control signal during a second portion of the time interval. The DCC may be configured to dynamically modulate the first and second delay control signals during a third portion of the time interval. The first, second, and third portions may be non-overlapping.
[0107] In some embodiments, each of the first and second adjustable delay line modules may include a voltage-controlled delay line. In various examples, the DCC may be configured to inject an offset voltage into at least one of the first and second delay control signals to adjust at least one of the voltage-controlled delay lines in response to a variation in the duty cycle of RDout relative to a 50% duty cycle.
[0108] The DCC may be configured to repeat the dynamic modulation over multiple time intervals. The first adjustable delay line module may include a delay line that may be adapted to modulate a duty cycle of the CKI in response to a first delay control signal, and the second adjustable delay line module may include a delay line that may be adapted to modulate a duty cycle of the CKQ in response to a second delay control signal.
[0109] In some implementations, the first and second adjustable delay line modules may be configured to modulate the phase relationship between the CKI and CKQ by modulating the timing between the rising or falling edge of the CKI and the rising or falling edge of the CKQ. The duty cycles of the CKI and CKQ may be maintained substantially the same while modulating the timing between the rising or falling edge of the CKI and the rising or falling edge of the CKQ. The data input in the second array may be configured to form the RDout as a square wave clock signal with a duty cycle of substantially 50% at a frequency that is twice the frequency of any one of the CKI and CKQ.
[0110] As described below, Figures 11-18 provide a method for calibrating a main circuit using a replica circuit, which is used to perform a predetermined function of the main circuit (e.g., converting parallel data to serial data), and the replica circuit is formed for the purpose of replicating the specific function and timing (e.g., clock delay, signal delay, rise time, fall time) of the main circuit, thus performing the replica function of the main circuit. The circuits and methods as described below in Figures 11-18 can be incorporated into any circuit arrangement having a main circuit and a replica circuit, including a main and replica serializer circuit that may be implemented in a MUX. Calibration schemes are typically used in integrated circuits to measure electrical characteristics such as offset voltage, timing mismatch, and impedance. After those characteristics are measured, corresponding correction / adaptation schemes can be used to tune the performance of those circuits to desired conditions. Although calibration may be best when performed on the actual circuit being calibrated, replica circuits can be utilized. As described in more detail below, a replica circuit is a copy of an actual circuit to provide the same functionality and timing, although it may or may not be scaled to mimic the actual circuit behavior. A replica circuit may be necessary due to constraints from, for example, input patterns, loads, or placement. That is, any attempt to use the main circuit to obtain information that may be used in calibrating the main circuit may interrupt or otherwise adversely affect the operation of the main circuit. Although a serializer circuit implemented in a MUX is provided as an example, it should be understood that the circuit and method may be applied to any function implemented in a circuit.
[0111] The circuits and methods described below describe an energy-efficient method for calibrating circuits, including, for example, in-phase (I) and quadrature (Q) clock signals, collectively IQ clock signals or IQ. According to an implementation, IQ mismatch of a transmitter (TX) using a low-power 4:1 multiplexer (MUX) is described. As described above, the 4:1 mux is used instead of a 2:1 MUX as the final serialization stage for the TX, since it eliminates the need for a 2T clock (where T is the bit period), which is less power efficient in a given technology compared to the 4T clock required for the 4:1 MUX. As shown in the timing diagram of FIG. 2, the low-power 4:1 MUX uses four phases of the 4T clock, namely phases 0, 90, 180, and 270, to serialize the 4T parallel data into a 1T bit stream without the need for 1T pulse generation.
[0112] In addition to clock distortion between phases, there is also a delay mismatch between the I path of the MUX (which is clocked using phases 0, 180 of the clock signal) and the Q path of the MUX (which is clocked using phases 90, 270 of the clock signal), as seen in the schematic diagram of this low-power 4:1 MUX shown in Figure 2. If the IQ mismatch is not calibrated, it will appear as deterministic jitter (DJ) at the TX output. Deterministic jitter can degrade link performance, especially for high-speed transceivers operating at, for example, 112 Gb / s. However, IQ mismatch information can be obtained by sending fixed patterns (such as a 1010 pattern) to the four inputs of the 4:1 MUX. By observing the pulse widths of the serialized 1010 pattern that is output, the IQ mismatch is derived. Since it is not useful to constrain the input pattern of the link and it is not feasible to stop the real-time traffic of the main circuit for calibration, a replica 4:1 MUX is used for IQ calibration when such a 4:1 MUX is used as the main circuit. The replica path mimics the electrical characteristics of the real path, which limits the minimum size of the MUX: the smaller the size, the higher the IQ mismatch, so to minimize the mismatch, a larger replica MUX can be used.
[0113] However, if the MUX is sized such that the mismatch between the actual circuit and the replica circuit is within the allocated TX DJ budget, high clocking power may be required, negating the original low-power design intent. To overcome any limitations in sizing the replica circuit relative to the main circuit, the circuits and methods described in Figs. 11-18 implement a calibration scheme divided into two stages. First, a foreground calibration is performed on the main circuit to measure the actual IQ mismatch. Since the calibration is performed in the foreground (i.e., during operation before the main circuit is used for its intended function, such as providing serialized data by the serializer), there is no restriction on the input pattern to the 4:1 MUX. A smaller replica 4:1 MUX with a fixed input pattern may also be used to track changes in operating conditions, such as drift in voltage and temperature (VT), during the actual operation of the circuit, which may be referred to as mission mode operation. Because voltage and temperature deterministically affect electrical characteristics such as mobility and threshold voltage of the circuit's transistors, even a small replica MUX should provide first-order VT drift tracking. That is, even if a small replica MUX exhibits large random mismatch, any sizing restrictions of the replica 4:1 MUX to minimize IQ mismatch are removed by combining two stages of calibration, allowing lower clocking power as a result of using a 4:1 MUX. The circuit and method described below separates the continuous calibration with the replica circuit into a foreground calibration with the real circuit and a background calibration with the replica circuit. By doing so, low power operation can be achieved, where the replica circuit does not need to be larger than the main circuit and can be smaller (e.g., smaller transistors) than the main circuit.
[0114] FIG. 11 shows a block diagram of a circuit arrangement for calibrating a main circuit using a replica circuit. More specifically, the circuit arrangement 1100 comprises a main circuit 1102 and a replica circuit 1104, where the main circuit 1102 is configured to provide a function and the replica circuit is configured to provide the same function and is used to perform calibration of the main circuit 1102. The main circuit 1102 is configured to receive input data at an input 1106 and generate output data at an output 1108, where the output data is also provided at an input 1112 to a selection circuit 1110, shown here by way of example as a multiplexer. The selection circuit 1110 allows selection of the outputs of the main circuit and the replica circuit during foreground and background stages of the calibration in response to a selection control signal, as will be described in more detail below. The replica circuit 1104 is configured to receive calibration data at an input 1114 and generate calibration output data at an output 1116, where the calibration output data is provided at an input 1118 to the selection circuit 1110. As described in more detail below, the calibration data provided to the input of the replica circuit may include, for example, a fixed data pattern. The calibration circuit 1120 is configured to provide a control signal to the input 1122 to generate at the output 1124 the signals provided to the inputs 1112 and 1118. The calibration circuit 1120 may generate a correction code, as described in more detail below. A control signal, which may be based on, for example, the correction code, is then provided to the main circuit 1102. The control signal may control any aspect of the main circuit to change the operation or performance of the main circuit, including electrical characteristics such as, for example, offset voltage, timing mismatch, impedance, phase of the signal, frequency of the signal, duty cycle of the signal, etc.
[0115] According to one embodiment, the calibration circuit 1120 may operate in a two-stage operation. The calibration circuit 1120 may control the selection circuit 1110 during different phases to detect the outputs of the main circuit and the replica circuit, and may generate control signals that are provided to the main circuit and the replica circuit during operation of the main circuit without interrupting the input data stream of the main circuit. More specifically, in block 1202, a foreground calibration is performed (i.e., a calibration performed after an initial calibration operation to obtain an initial calibration code for the main circuit and before the main circuit operates to perform its normal function). During the foreground calibration of the main circuit, a control signal is provided to the selection circuit to enable the foreground calibration of the main circuit. It should be noted that the calibration function may depend on the function of the main circuit, and the calibration function may be used to initially calibrate the main circuit to operate correctly, for example by changing any adjustable parameter for changing the operation or performance of the main circuit, such as the voltage, frequency, phase, duty cycle, or offset of the clock signal. An initial value for the calculated parameter is determined for the parameter, where the initial value may be adjusted during normal operation of the main circuit (ie, during a background calibration phase, for example based on a correction code).
[0116] Then, at block 1204, a foreground calibration of the replica path is performed on the replica circuit to determine an initial value of the parameter for the replica circuit. That is, a control signal generated by the calibration circuit enables a selection of the output of the replica circuit to be received by the calibration circuit during the foreground calibration of the replica circuit. An initial value of the parameter associated with the replica circuit can be determined, which can be, for example, an initial correction code. Then, a variation in the value of the parameter from the initial value for the replica circuit can be monitored, where the variation in the parameter for the replica circuit is used to determine a change in the operating environment, such as, for example, a change in voltage or a change in temperature. More specifically, during block 1206, a background calibration is performed on the replica circuit to determine a change in the operating environment.
[0117] Then, based on the detected changes in the parameters associated with the replica circuit, a correction of the main circuit may be performed. That is, in step 1208, the variations in the parameters associated with the replica circuit detected during the background calibration are used to adjust the parameters of the main circuit. For example, the parameters of the main circuit are adjusted based on the detected changes in the same parameters of the replica circuit. According to one implementation, a parameter associated with a clock signal, such as the phase of a clock signal used for a transmitter circuit (e.g., a serializer circuit for receiving parallel data and generating serial data), may be adjusted during the background calibration of the transmitter circuit based on the changes detected during the background calibration of the replica circuit. For example, a correction clock signal as described above may be generated by a calibration circuit and provided to the main circuit. Additional examples of foreground and background calibrations are described below with reference to FIG. 19.
[0118] 13 shows another flow chart illustrating a method of calibrating a circuit for receiving input data and generating output data. At block 1302, a main circuit is configured to receive input data at a first input and generate output data at a first output, where the output data is based on the input data and a function of the main circuit. At block 1304, a replica circuit is configured to receive calibration data at a second input and generate calibrated output data based on the calibration data at a second output, where the replica circuit provides a replica function of the function of the main circuit. At block 1306, the calibration circuit is configured to receive output data from the main circuit during a foreground calibration mode and calibrated output data from the replica circuit during a background calibration mode. At block 1308, the calibration circuit provides control signals to the main circuit and the replica circuit during the background calibration mode to enable correction of the main circuit.
[0119] The method may further include configuring a selection circuit to receive output data from the main circuit and calibration output data from the replica circuit, the selection circuit controlling selection of the output data and the calibration output data during the foreground calibration mode. The main circuit may include a first serializer circuit configured to receive parallel input data and generate serial output data, the first serializer circuit generating the serial output data during the operational mode. The replica circuit may include a second serializer circuit configured to receive parallel test patterns and generate calibration output data during the operational mode. The background calibration may be performed continuously or periodically during the operational mode. The method may also include configuring the calibration circuit to receive multiple clock phases of the input clock signal and coupling a corrected clock signal generated by the calibration circuit to a first control terminal of the main circuit and a second control terminal of the replica circuit.
[0120] The calibration circuit may also be configured to receive an output of the replica circuit during the foreground calibration mode to determine an initial replica calibration code, and to receive an output of the replica circuit during the background calibration mode to determine an updated replica calibration code. The method may further include determining a difference in the initial replica calibration code and the updated replica calibration code. And, based on the initial calibration code for the main circuit and the difference in the initial replica calibration code and the updated replica calibration code, corrected control signals may be provided to the main circuit and the replica circuit, where the corrected control signals include a corrected clock signal.
[0121] The circuits and methods described in Figures 11-13 can be extended to any calibration scheme that requires replica paths due to input pattern constraints, such as the inability to pause the input of data to the main circuit to perform the calibration. Also, any mismatch problems can be avoided by using a foreground calibration and then using the replica paths to track any systematic variations due to changes in the operating environment. The circuits and methods can be used for any kind of circuit where variations in the environment (e.g. voltage and temperature) result in deterministic and unidirectional changes in the paths of both the real and replica circuits.
[0122] FIG. 14 shows another block diagram of a circuit arrangement 1400 for calibrating a serializer circuit that receives parallel data and generates serial data. A primary serializer circuit 1402 and a replica serializer circuit 1404, shown here as an example 4:1 serializer circuit, are configured to receive parallel data and generate serial data. More specifically, the primary serializer circuit 1402 is configured to receive parallel input data at an input 1406 and generate serial data at an output 1410. The primary serializer circuit 1402 is used to receive parallel input data during normal operation of the serializer circuit (i.e., operation of the serializer circuit after a foreground calibration has been performed). The replica serializer circuit 1404 is configured to receive calibration data at an input 1412 and generate serialized data at an output 1414.
[0123] A selection circuit 1416, shown by way of example as a multiplexer, is configured to receive the output of the primary serializer circuit 1402 at an input 1418 and the output of the replica serializer at an input 1420. A selection control signal provided to a control input 1422 generates a selected one of the signals coupled to the input 1418 or the input 1420 at an output 1424. A calibration circuit 1426 is coupled to receive the selected signal generated at an output of the selection circuit 1416, whereupon the calibration circuit 1426 generates a selection control signal that is provided to a control input of the selection circuit 1416. The calibration circuit also receives input clock signals, shown here by way of example as four in-phase and quadrature (I and Q) phases 1428 of the clock signal, denoted CLK0, CLK90, CLK180, and CLK270. The calibration circuit 1426 generates an output clock signal (e.g., a corrected clock signal) at output 1430, which may have different electrical characteristics, such as offset voltage, timing mismatch, frequency, phase, or impedance, and is provided to selection inputs 1432 and 1434. The calibration circuit 1426 may generate a correction code, as described in more detail below. The output clock signal may be, for example, a delayed clock signal. The output clock signal generated by the calibration circuit may be generated as described above with reference to Figures 3-10.
[0124] Thus, the circuit arrangement of FIG. 14 with a 4:1 MUX can be used in a transmitter final serialization stage clocked by four phases (0, 90, 180, 270) of a 4T clock, where T is the bit period. Using only a 4T clock for 4:1 serialization eliminates the need for a higher frequency clock, resulting in substantial power savings in clock generation and propagation. However, as mentioned above, this topology has an inherent IQ mismatch that needs to be calibrated. Since a fixed input pattern can be useful to calibrate the 4:1 MUX, a replica path can be used so that calibration can be performed continuously at all times, for example to track voltage and temperature drifts.
[0125] 15 shows another block diagram of a circuit arrangement 1500 for calibrating a serializer circuit that receives parallel data and generates serial data. The implementation of FIG. 15 is similar to the implementation of FIG. 14, but includes a first level serializer circuit 1502, shown as an example N:4 serializer, configured to receive parallel input data at a plurality of inputs 1504 and generate an output at an output 1506. The output 1506 of the first level serializer 1502 is provided to an input of a serializer circuit 1508, shown here as an example 4:1 serializer circuit, where serialized output data is generated at an output 1510 in response to a clock signal provided to a control input 1512 of the serializer circuit 1508.
[0126] The replica serializer circuit 1514 is configured to receive an input signal at an input 1516, shown by way of example as a fixed input pattern "1010", and its output is generated at an output 1518 in response to a clock signal provided to a control terminal 1520. The output 1510 of the serializer circuit 1508 and the output 1518 of the replica serializer 1514 are coupled at inputs 1524 and 1526 to a selection circuit 1522, shown here by way of example as a multiplexer. A selection control signal provided to a control terminal 1528 enables a selection of one of the signals provided to the inputs 1524 and 1526 to be generated at an output 1530 and coupled to a calibration circuit 1532.
[0127] The calibration circuit 1532 includes an IQ detection circuit 1534 and an IQ correction circuit 1536. An example of the IQ detection circuit 1534 is shown in FIG. 16, and an example of the IQ correction 1536 is shown in FIG. 17. It should be understood that while the circuits of FIGS. 16 and 17 are shown as examples, other IQ detection and IQ correction circuits may be implemented. The calibration circuit 1532 receives an input clock 1538C (K 0 , C.K. 90 , C.K. 180 , C.K. 270) and is adapted to generate at output 1540 a corrected clock signal that is coupled to control terminals 1512 and 1520 to select inputs to the main serializer circuit 1508 and replica serializer circuit 1514 that are coupled to selection circuit 1522. That is, as part of the calibration process, the corrected clock signal is provided to at least the main circuit to enable operation of the main circuit based on the IQ mismatch detected and corrected using calibration circuit 1532. The IQ detection circuit 1534 and the IQ correction circuit 1536 may be implemented in the DDC circuit 500 of FIG. 5 to generate in-phase-quadrature matching.
[0128] Figure 16 shows the in-phase and quadrature phase of the clock signal (I(CK 0 ), Q(CK 90 ), Ib(CK 180 ), Qb(CK 27016 shows an example block diagram of a circuit that may provide IQ mismatch detection for detecting mismatches in a power supply 1602 and a power supply 1604. The IQ detection circuit 1600 comprises a first detection block 1602 and a second detection block 1604. The first detection block 1602 comprises an output node 1605, the output node 1605 being coupled to a first terminal of a resistor 1606 (having a second terminal coupled to a power reference node), the output node 1605 being coupled to a first terminal of a capacitor 1607 having a second terminal coupled to a ground node. The first detection block also comprises a plurality of signal paths between the node 1605 and a node 1608 coupled to a current source 1610 providing a current path to ground. The plurality of signal paths includes a first signal path, the first signal path having a first transistor 1611 having a gate coupled to receive an I clock signal and a second transistor 1612 having a gate coupled to receive a Qb clock signal, the first transistor 1611 being coupled in series with the second transistor 1612. The second signal path comprises a first transistor 1614 having a gate coupled to receive the Qb clock signal and a second transistor 1616 having a gate coupled to receive the I clock signal, the first transistor 1614 coupled in series with the second transistor 1616. The third signal path comprises a first transistor 1618 having a gate coupled to receive the Q clock signal and a second transistor 1620 having a gate coupled to receive the Ib clock signal, the first transistor 1618 coupled in series with the second transistor 1620. The fourth signal path comprises a first transistor 1622 having a gate coupled to receive the Ib clock signal and a second transistor 1624 having a gate coupled to receive the Qb clock signal, the first transistor 1622 coupled in series with the second transistor 1624.
[0129] The second detection block 1604 comprises an output node 1625, which is coupled to a first terminal of a resistor 1626 (having a second terminal coupled to a power reference node), and the output node 1625 is coupled to a first terminal of a capacitor 1627 having a second terminal coupled to a ground node. The multiple signal paths of the second detection block 1604 include a first signal path, which comprises a first transistor 1630 having a gate coupled to receive an I clock signal and a second transistor 1632 having a gate coupled to receive a Q clock signal, the first transistor 1630 being coupled in series with the second transistor 1632. The second signal path comprises a first transistor 1634 having a gate coupled to receive a Q clock signal and a second transistor 1636 having a gate coupled to receive an I clock signal, the first transistor 1634 being coupled in series with the second transistor 1636. The third signal path includes a first transistor 1638 having a gate coupled to receive the QB clock signal and a second transistor 1640 having a gate coupled to receive the Ib clock signal, the first transistor 1638 being coupled in series with the second transistor 1640. The fourth signal path includes a first transistor 1642 having a gate coupled to receive the Ib clock signal and a second transistor 1644 having a gate coupled to receive the Qb clock signal, the first transistor 1642 being coupled in series with the second transistor 1644. A detection circuit 1646 is coupled to the nodes 1605 and 1625 to detect a voltage difference at the nodes. If I and Q are perfectly balanced, the voltages are the same. If not, the I and Q clock signals are corrected. According to one implementation, the I and Q signals can be corrected using, for example, the IQ mismatch correction circuit of FIG. 17.
[0130] FIG. 17 illustrates an example block diagram of a circuit 1700 that may provide IQ correction. The circuit 1700 comprises a first circuit 1701 adapted to correct a clock CK_I and a second circuit 1702 adapted to correct a clock CK_Q. The first circuit 1701 comprises a first transistor string 1703 adapted to generate a delayed clock signal based on an input clock signal. More specifically, a p-channel transistor 1704 is coupled between a reference voltage and a second p-channel transistor 1706. An n-channel transistor 1708 is also coupled in series with the transistor 1706 as shown, with a gate coupled to the gate of the transistor 1706. An n-channel transistor 1710 is coupled to the transistor 1708. The transistor 1704 has a gate configured to receive an output of a digital-to-analog converter (DAC) 1712, and the transistor 1710 is configured to receive an output of the DAC 1714. The circuit 1701 further comprises a series of inverters 1716-1720 for generating various delayed corrected output signals, where t 1 is generated at the output of inverter 1716, and t 2 is generated at the output of inverter 1716, and t 3 is generated at the output of inverter 1716, and t 4 is produced at the output of inverter 1716. The gates of transistors 1706 and 1708 are coupled together at the output of inverter 1716, while the drain of transistor 1706 and the drain of transistor 1708 are coupled together at the output of inverter 1717.
[0131] The first circuit 1701 includes a second string of transistors 1722 adapted to generate a delayed clock signal based on an input clock signal. More specifically, a p-channel transistor 1724 is coupled between a reference voltage and a second p-channel transistor 1726. An n-channel transistor 1728 is also coupled in series with the transistor 1726 as shown, with a gate coupled to the gate of the transistor 1726. An n-channel transistor 1730 is coupled to the transistor 1728. The transistor 1724 has a gate configured to receive the output of a digital-to-analog converter (DAC) 1732, and the transistor 1730 is configured to receive the output of the DAC 1734. The gates of the transistors 1726 and 1728 are both coupled at the output of the inverter 1717, while the drain of the transistor 1726 and the drain of the transistor 1728 are both coupled at the output of the inverter 1717. The second circuit 1702 is configured similarly to the first circuit 1701, but adapted to receive the clock signal CK_Q.
[0132] Inverters 1716-1720 introduce delays relative to the clock edges of the inputs of first circuit 1701 and second circuit 1702 to eliminate IQ mismatch. DACs 1712, 1714, 1732, and 1734 represent digital codes used to vary the rising and falling edges of the clock edges. The digital codes may be iteratively adjusted using the IQ detection circuit of FIG. 16 to reduce or eliminate IQ mismatch.
[0133] FIG. 18 shows a graph of mismatch as a function of size (N) for simulation and 1 / sqrt(N), where N is related to the size of the replica circuit. As shown in FIG. 18, timing mismatch is inversely proportional to 1 / sqrt(area), and reducing mismatch by increasing size is a power-costly exercise. For example, to reduce timing mismatch by a factor of two, the area must be increased by a factor of four. The circuit and method using the two-stage calibration process eliminates the need for large replica circuits to be implemented to reduce timing mismatch. Simulation results shown in Table 1 also show the benefit of using a two-stage calibration process, such as reducing IQ mismatch based on VT tracking. Simulations measure the IQ error of a 4:1 MUX in the presence of random mismatch. With replica path VT tracking, the average IQ error is reduced from about 300 fs to about 100 fs, and the sigma value is halved from about 130 fs to about 60 fs, compared to the VT drift without replica path tracking. TIFF0007575444000001.tif143170
[0134] FIG. 19 shows a flow chart illustrating a method for performing calibration of a circuit. According to the method of FIG. 19, a two-stage calibration process is performed, including a first calibration mode including a foreground calibration mode and a second calibration mode including a background calibration mode. The foreground calibration mode is performed before the circuit to be calibrated functions in an operational mode. For example, the operational mode of a serializer circuit is when the serializer circuit is receiving parallel data to be converted to serial data. The background calibration mode is performed during the operational mode of the circuit to be calibrated. The method of FIG. 19 can be implemented using the circuits of FIG. 11, FIG. 14, and FIG. 15 as described above, or any other suitable circuit.
[0135] At block 1902, foreground calibration is enabled. Foreground calibration may be enabled, for example, in response to power-up or reset of a device having a circuit to be calibrated, or during power-up or reset of the circuit to be calibrated. At block 1904, a "replica" signal is set to 0, indicating that IQ detection should be performed on data associated with the circuit to be calibrated (i.e., during foreground calibration, the main circuit receives the data and performs calibration on the data). By way of example, the replica signal may be provided to a selection control terminal of a selection circuit configured to receive the output of the main circuit or the replica circuit, as described above with respect to FIG. 11, FIG. 14, and FIG. 15. Then, at block 1906, IQ detection is performed on the main circuit. For example, as described above with respect to FIG. 16, during IQ detection, a variation of the clock edges for different phases of the clock signal may be detected, and then IQ correction is performed in an iterative process, as described above with respect to FIG. 17, and the IQ correction is performed at block 1910. Thus, thereafter, in block 1908, it is determined whether IQ correction for the main circuit is complete. If variations in the clock edges of different phases of the clock signal may need to be corrected, indicating that IQ correction for the path may still be required, then in block 1910, IQ correction is performed. After IQ correction for correction of the main circuit is completed, in block 1912, an initial correction code for the main circuit is set equal to N, which may be, for example, an IQ correction code. As described in more detail below, the initial correction code N represents a current correction code that may be adjusted or updated during the operation mode of the main circuit based on changes in the replica circuit during a period of background calibration.
[0136] Then, in block 1914, the replica signal is set to "1" to perform IQ compensation on the replica circuit by resetting the replica compensation code in block 1916, which may be, for example, a replica IQ compensation code, and performing IQ detection associated with the replica circuit in block 1918. Then, in block 1920, it is determined whether the IQ compensation on the replica circuit is complete. If not, in block 1922, IQ compensation is performed, and then IQ detection is performed in block 1918 in an iterative process until the IQ mismatch is corrected. After it is determined in block 1920 that the IQ compensation on the replica circuit is complete, in block 1924, the replica compensation code is set to RO, which may be a replica IQ compensation code, where RO represents an initial replica compensation code for the replica circuit. As described in more detail below, the initial replica compensation code for the replica circuit may be used to determine changes in the replica circuit, such as due to changes in voltage or temperature, where the changes detected in the replica circuit are used to update or correct the compensation code for the main circuit.
[0137] More specifically, after the replica correction code is determined in block 1924, background calibration is enabled in block 1926. Then, IQ detection is performed on the replica circuit in block 1928, and it is determined in block 1930 whether the IQ correction code for the main circuit should be updated. That is, if there is no change in the replica correction code based on the IQ detection step 1928, the correction code for the main circuit is maintained at N in block 1932, and the process performs IQ detection in block 1928. However, if it is determined in block 1930 that an IQ code update is required, then in block 1934, an updated replica correction code is set equal to Rn, which may be the updated IQ replica correction code. In block 1936, the updated correction code for the main circuit is set equal to N. new=N+(Rn-R0), the updated correction code may be the updated IQ correction code, and in block 1938, IQ correction is performed. Thus, the method of FIG. 19 approximates changes in the correction code of the main circuit based on changes in the operation of the replica circuit during the operation mode of the main circuit, which may be due to, for example, changes in voltage or temperature. Thus, to avoid sizing constraints imposed by timing mismatch, a two-stage calibration scheme may be implemented. The correction code may be used to control and generate control signals provided to the main circuit and replica circuit, such as controlling clock signals provided to the main circuit and replica circuit, where, for example, rising and falling edges may be adjusted using DAC values as described in FIG. 17. Although IQ correction codes and IQ correction are described in FIG. 19 as examples, it should be understood that the method of FIG. 19 may relate to any type of correction code provided to the main circuit and replica circuit in response to detection of a need for correction to any type of operation of the circuits.
[0138] Several implementations have been described. However, it is understood that various modifications may be made. For example, advantageous results may be achieved when the steps of the disclosed techniques are performed in a different order, or when the components of the disclosed systems are combined in a different manner, or when the components are supplemented with other components. Accordingly, other implementations are within the scope of the following claims.
Claims
1. 1. A circuit apparatus for calibrating a circuit in an integrated circuit device, comprising: a main circuit including a first serializer circuit configured to receive parallel input data at a first input and generate serial output data at a first output, the serial output data being based on the parallel input data and a function of the main circuit to convert parallel data to serial data; a replica circuit including a second serializer circuit configured to receive a parallel test pattern at a second input and generate calibration output data based on the parallel test pattern at a second output, the replica circuit providing replica functionality and timing of the functionality of the main circuit; receiving the serial output data from the main circuit and the calibration output data from the replica circuit during a foreground calibration mode to determine an initial replica correction code, and receiving the calibration output data from the replica circuit during a background calibration mode to determine an updated replica correction code; determining a difference between the initial replica correction code and the updated replica correction code; and providing corrected control signals to the main circuit and the replica circuit during a background calibration mode, the control signals being determined based on the difference between the initial replica correction code and the updated replica correction code; The calibration circuit is set up as follows: A circuit device comprising:
2. 2. The circuit apparatus of claim 1, further comprising a selection circuit configured to receive the serial output data from the main circuit and the calibration output data from the replica circuit, the selection circuit controlling selection of the serial output data and the calibration output data during the foreground calibration mode.
3. The circuit device of claim 1, wherein the first serializer circuit generates the serial output data during an operating mode.
4. 4. The circuit arrangement of claim 3, wherein the second serializer circuit is configured to receive the parallel test pattern and generate the calibration output data during the operational mode.
5. 5. The circuit arrangement of claim 4, wherein the calibration circuit is configured to receive a plurality of clock phases of an input clock signal, and a corrected clock signal generated by the calibration circuit is coupled to a first control terminal of the main circuit and a second control terminal of the replica circuit.
6. 2. The circuit arrangement of claim 1, wherein the calibration circuit generates the corrected control signal based on an initial calibration correction code for the main circuit and the difference in the initial replica correction code and the updated replica correction code.
7. 7. The circuit arrangement of claim 6, wherein the compensated control signal comprises a compensated clock signal.
8. 1. A method for calibrating a circuit in an integrated circuit device, comprising: configuring a main circuit including a first serializer circuit to receive parallel input data at a first input and generate serial output data at a first output, the serial output data being based on the parallel input data and a function of the main circuit to convert parallel data to serial data; configuring a replica circuit including a second serializer circuit to receive a parallel test pattern at a second input and generate calibration output data based on the parallel test pattern at a second output, the replica circuit providing replica functionality and timing of the functionality of the main circuit; configuring a calibration circuit to receive the serial output data from the main circuit and the calibration output data of the replica circuit during a foreground calibration mode to determine an initial replica correction code, and to receive the calibration output data from the replica circuit during a background calibration mode to determine an updated replica correction code; determining a difference between the initial replica correction code and the updated replica correction code; and generating a corrected control signal based on the difference between the initial replica correction code and the updated replica correction code. Including, The method, wherein the calibration circuit provides the corrected control signals to the main circuit and the replica circuit during the background calibration mode.
9. 9. The method of claim 8, further comprising configuring a selection circuit to receive the serial output data from the main circuit and to receive the calibration output data from the replica circuit, wherein the selection circuit controls selection of the serial output data and the calibration output data during the foreground calibration mode, the first serializer circuit generating the serial output data during an operational mode, and the second serializer circuit configured to receive the parallel test pattern and generate the calibration output data during the operational mode.
10. configuring the calibration circuit to receive a plurality of clock phases of an input clock signal; and coupling a corrected clock signal generated by the calibration circuit to a first control terminal of the main circuit and to a second control terminal of the replica circuit.
10. The method of claim 9.
11. The method of claim 8 , wherein the corrected control signal is further determined based on an initial correction code of the main circuit.
Citation Information
Patent Citations
Parallel-serial converter, and parallel data output unit
JP2011066821A
Methods of Reducing Skew Between Multiphase Signals and Related Phase Correction Circuits
US20080036509A1
Duty cycle distortion (DCD) jitter modeling, calibration and generation methods
US20090177457A1
Methods and apparatus for performing clock and data duty cycle correction in a high-speed link
US20190215146A1
