Circuit and method for receiving signals in integrated circuit device
By designing a circuit and method in an integrated circuit, using samplers and phase interpolator codes to generate multiple phase interpolator control signals, the problem of periodic jitter caused by the phase change of the clock signal in the CMOS phase interpolator is solved, and data transmission is improved. stability.
Patent Information
- Application Number
- CN201980027713.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-03-13
- Filing Date
- 2019-03-11
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2039-03-11
AI Technical Summary
In a CMOS phase interpolator, the phase change of the clock signal causes output period jitter, which affects the stability of data transmission. It is difficult to effectively reduce jitter with existing technology.
By designing a circuit and method in an integrated circuit, a sampler is used to generate sampled data and a recovered clock, and a phase interpolator code is generated based on the clock cycle, and multiple phase interpolator control signals are generated to reduce changes in the clock and data recovery codes. The step size gradually changes the CDR code, thereby reducing glitches.
It effectively reduces burrs in the phase interpolator, reduces the change step size of clock and data recovery codes, improves the stability of data transmission, and reduces period jitter.
Smart Images

Figure CN112075025B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates generally to integrated circuit devices, and more particularly to circuits and methods for receiving signals in integrated circuit devices. Background Art
[0002] Data transmission is an important operation performed by many integrated circuit devices. Phase interpolators are often used to receive data signals, where different phases of a clock signal are used to sample the data of the received data stream. Phase variations of the clock signal used by the receiver's phase interpolator to receive the data signal can cause output period jitter. This jitter can be a particular problem in jitter-sensitive complementary metal oxide semiconductor (CMOS) phase interpolator (PI) devices. In data transmission where the clock signal is not sent with the data, a clock recovery circuit is used on the receiving side to derive the clock signal from the incoming data. The phase of the clock signal needs to track any movement in the data edge. For this purpose, a clock phase interpolator is often used. A clock phase interpolator can generate an arbitrary clock phase based on the input digital code. When the code changes, the output clock phase should move. The code can jump many code steps at a time, which usually results in a larger than expected large period jitter of the output clock.
[0003] Circuits and methods for improving the operation of a phase interpolator, such as by reducing jitter when receiving data, would be beneficial. Summary of the invention
[0004] A circuit for receiving a signal in an integrated circuit is described. The circuit includes a sampler configured to receive an input data signal, wherein the sampler generates sampled data and a recovered clock; a clock and data recovery circuit configured to receive the sampled data and the recovered clock and generate a phase interpolator code; and a phase interpolator configured to receive the phase interpolator code; wherein the phase interpolator generates a plurality of phase interpolator control signals during a clock cycle based on the phase interpolator code generated for the clock cycle.
[0005] A method of receiving a signal in an integrated circuit is also described. The method includes receiving an input data signal; generating sampled data and a recovered clock based on the input data signal; generating a phase interpolator code based on the sampled data and the recovered clock; receiving the phase interpolator code at a phase interpolator; and generating a plurality of phase interpolator control signals during a clock cycle based on the phase interpolator code generated for the clock cycle. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 is a block diagram of an integrated circuit having a receiver circuit;
[0007] Figure 2 Yes, you can Figure 1 A block diagram of the receiver circuit implemented in;
[0008] Figure 3 Yes, you can Figure 2 A block diagram of a portion of a phase interpolator implemented in a receiver circuit of;
[0009] Figure 4 Yes, you can Figure 2 a block diagram of another portion of a phase interpolator implemented in a receiver circuit of;
[0010] Figure 5 is a timing diagram showing a clock signal provided to a phase interpolator and a selected phase of the phase interpolator output;
[0011] Figure 6 is a timing diagram illustrating glitches in an output multiplexer based on changes in a selected phase of a clock signal provided to a phase interpolator;
[0012] Figure 7 is a diagram showing the relationship between the output phase and the change of the phase interpolator code;
[0013] Figure 8 is another diagram showing the relationship between the output phase and the change of the phase interpolator code;
[0014] Fig. 9 is a timing diagram showing application of full-phase and half-phase interpolator codes;
[0015] Fig.10 is a timing diagram illustrating generation of a phase interpolator code according to a first method;
[0016] Fig.11 is a block diagram of a circuit for generating a phase interpolator code;
[0017] Fig.12 is a timing diagram showing generation of a phase interpolator code according to a second method; and
[0018] Fig.13 is a flow chart illustrating a method of receiving a signal in an integrated circuit. DETAILED DESCRIPTION
[0019] The circuit and method of the present invention reduce glitches in the phase interpolator of a receiver by generating multiple phase interpolator control signals during a clock cycle based on a phase interpolator code generated for the clock cycle. According to one implementation, the circuit and method reduce the step size of the change of the clock and data recovery (CDR) code to change the CDR code more gradually and thereby minimize any glitches. As an example, the step size can be reduced by changing the CDR code used by the phase interpolator at the rising and falling edges of the clock signal. According to another method, the CDR code can be selected based on a detected boundary crossing. For example, the current code and the next code can be compared to identify a boundary crossing, wherein the CDR code is changed during the middle of the clock cycle based on the detected boundary crossing.
[0020] Although the specification includes claims defining features of one or more implementations of the present invention that are believed to be novel, it is believed that the circuits and methods will be better understood by considering the specification in conjunction with the drawings. Although various circuits and methods are disclosed, it should be understood that these circuits and methods are merely examples of arrangements of the present invention that can be embodied in various forms. Therefore, the specific structural and functional details disclosed in this specification should not be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching those skilled in the art to variously adopt the arrangements of the present invention in virtually any appropriate detailed structure. In addition, the terms and phrases used herein are not intended to be limiting, but rather to provide an understandable description of the circuits and methods.
[0021] First go to Figure 1 , shows a block diagram of an integrated circuit device 100 having a transceiver for transmitting and receiving data. In particular, an input / output port 102 is coupled to a control circuit 104, which controls a programmable resource 106 having a configurable logic element 109. Configuration data may be provided by a configuration controller 110 to a configuration memory 108. The configuration data implements the operation of the programmable resource 106. A memory 113 may be coupled to the control circuit 104 and the programmable resource 106. A transceiver circuit 114 may be coupled to the control circuit 104, the programmable resource 106, and the memory 113, and may include a receiver to receive signals at the integrated circuit through I / O ports 116 and 117 as described below. Other I / O ports may be coupled to circuits of the integrated circuit device, such as an I / O port 118 coupled to the control circuit 104 as shown. A clock network 120 is coupled to Figure 1 For example, the circuits and methods described in more detail below may be implemented using Figure 1 circuit to receive data.
[0022] Now go to Figure 2 , showing that it can be Figure 11 is a block diagram of a receiver circuit 200 implemented in the transceiver circuit 114 of . The receiver circuit 200 includes a sampler 202, which is configured to receive and sample data of a data stream, which data stream can be, for example, a serial data stream. The sampler 202 (for example, which can be a capture trigger) generates sampled data (which can be output as a receiver output signal (RX output)) and a recovered clock signal (which can be a receiver output clock (RX output clock) signal). The sampled data and recovered clock generated by the sampler 202 can be routed to a deserializer 203, which generates serialized sampled data and recovered clock provided to a CDR circuit 204. The CDR circuit 204 generates a phase interpolator (PI) code and a CDR clock signal (CDR clock) (also called a start clock), which are provided to a phase interpolator 206 to generate a CDR recovered clock signal (CDR recovered clock). The clock generator 208 also generates a multi-phase clock signal. As will be described in more detail below, different phases of a multi-phase clock signal may be selected to generate a CDR recovered clock.
[0023] Phase interpolator 206 is part of the receiver CDR loop and is used to adjust the sampling phase of sampler 202 in order to recover data and clock from the received signal. Figure 2 As shown, the phase interpolator 206 obtains multiple phases of the clock signal from the clock generator 208 and generates a sampling clock based on the N-bit binary PI code from the CDR circuit 206. The multi-phase clock that can be evenly spaced over 360 degrees is selectively interpolated to achieve 360 / 2 N The phase resolution is 2 degrees, where the number of multiphase clocks is usually much less than 2 N , which requires phase interpolation. Figure 3 An exemplary phase interpolator 206 and generation of the sampling clock are described in greater detail.
[0024] Now go to Figure 3 , showing that it can be Figure 2 PI core 302 includes a first phase generating circuit 304 and a second phase generating circuit 306, whose outputs are coupled to a level shift buffer 308. The first phase generating circuit 304 ... which are coupled to a level shift buffer 308. The second phase generating circuit 306 also includes a plurality of multiplexers and buffers adapted to generate an inverted mixed output signal ( exist Figure 3 In the More specifically, the first phase generation circuit includes a first multiplexer 309 (MUX 1) configured to receive odd-numbered phase signals that can be selected by a first multiplexer selection signal. to A first buffer 310 at the output of the multiplexer 309 is configured to receive a first weight selection signal to provide a weight to the selected clock phase selected by the multiplexer. A second multiplexer 312 is coupled to receive an even phase signal of the clock signal to and is controlled by a second multiplexer select signal, the output of which is coupled to a second buffer 314 configured to receive a second weight select signal. As shown, the two selected and weighted clock phases are coupled to a buffer 316, which mixes the signals to generate a mixed output signal
[0025] Output signal The level shift buffer 308 is provided at a first capacitor 318, which is coupled to a first buffer 320 having a resistive element 322 coupled between its input and output. The output of the first buffer 320 is coupled to a second buffer 324, which generates an output clock signal at an output 326.
[0026] The second phase generating circuit 306 also includes a circuit adapted to generate a mixed output signal More specifically, the second phase generating circuit includes a third multiplexer 328, which is configured to receive an odd-numbered phase signal that can be selected by a third multiplexer selection signal. to The third buffer 330 at the output of the multiplexer 328 is configured to receive a third weight selection signal to provide a weight to the selected clock phase selected by the multiplexer 328. The fourth multiplexer 332 is coupled to receive the even phase signals Theta2 to Theta2 of the clock signal. and is controlled by a multiplexer select signal, the output of which is coupled to a fourth buffer 334 configured to receive a fourth weight select signal. As shown, the two selected and weighted clock phases are coupled to a buffer 336, which mixes the signals to generate an inverted mixed output signal
[0027] Output signal The level shift buffer 308 is provided at a second capacitor 338, which is coupled to a third buffer 340 having a resistive element 342 coupled between its input and output. The output of the third buffer 340 is coupled to a fourth buffer 344, which generates an inverted output clock signal at an output 346. Cross-coupled inverters 348 and 350 are coupled between the outputs of buffers 316 and 336 to minimize skew between the differential signals provided to level shift buffer 308 .
[0028] CMOS PI circuit topology can be as follows Figure 3 The implementation shown in FIG. 1 is a schematic diagram of an implementation in which a multi-phase input clock is continuously divided into two groups and fed into two M-to-1 phase selection multiplexers (i.e., multiplexers 309 and 312). Interpolation buffers (i.e., buffers 310 and 314) mix the two selected phases of the clock signal and provide the weighted sum as the output of the PI core. Signal transfer. It should be noted that the level shift buffer is required because the power supply voltage levels between the PI core and the subsequent buffers may be different. According to one implementation, the level shift buffer circuit 308 following the PI core 302 shifts the common mode of the "mixed" signal to the CMOS signal domain and also outputs Drive to the full CMOS swing. The second phase generation circuit 306 (including multiplexers 328 and 332 and buffers 330 and 334) is used to generate a differential clock signal (i.e., an inverted clock signal). One or more cross-coupled inverter pairs (here implemented as inverters 348 and 350) are used at the PI core output to eliminate the skew between the pseudo differential signals.
[0029] Now go to Figure 4 , showing that it can be Figure 2 A block diagram of another portion of a phase interpolator implemented in a receiver circuit of FIG. More specifically, Figure 4 The signal generator circuit 400 is implemented to generate Figure 3 The multiplexer select and weight select signals used in the CDR circuit are coupled to the CDR-PI timing interface 402 to generate a captured PI code, as will be described in more detail below. The captured PI code is coupled to a decoder 404 having a binary-to-one thermal circuit 406 and a binary-to-thermometer circuit 408. The multiplexer select signal and the weight select signal are coupled to a decoded PI code retimer circuit 410, which generates the multiplexer select signal and the weight select signal. The decoded PI code retimer circuit 410 is implemented to reduce skew due to routing and different path delays in the decoder.
[0030] The CDR-PI timing interface 402 captures and decodes full and half PI codes, which may be N-bit binary PI codes received from the CDR circuit 204, before retiming with the local CDR clock from the CDR circuit 204. As described above, the N-bit binary code is decoded and fed to the multiplexer and interpolation buffer of the PI core 302 as a multiplexer select signal and a weight select signal. More specifically, the multiplexer control signal is decoded by a binary-to-one hot decoder 406, and the weight select signal used as a buffer control signal is decoded, for example, by a binary-to-thermometer decoder 408. The thermometer decoder is implemented to enable the phase mixer of the phase interpolator to perform linear interpolation. The selected phase of the clock signal provided to the interpolation buffer is selected by the multiplexer, and the buffer weighting is controlled by enabling / disabling a portion of the buffer. It should be noted that the MUX1-MUX4 controls are referred to as "coarse" selections because they select between, for example, 0, 90, 180, and 270 degree clocks, while the buf1-buf4 controls are referred to as "fine" selections because they mix between, for example, 0 and 45 degree clocks. As the code changes one step at a time, when the output phase is between 0 and 45 degrees, the MUX1 output will be at the 0 degree clock, and the MUX2 output will be at the 45 degree clock. Since the output phase is very close to 45 degrees, buf2 has the most weight, and buf1 has almost no weight. At the point where it crosses 45 degrees, the mux1 output changes from 0 degrees to 90 degrees. Therefore, when you rotate the phase by changing 1 step at a time, when there is almost no weight, the coarse multiplexer output also changes, and any glitches on the multiplexer output will not propagate to the output. However, when changing in many steps, the phase may suddenly change from the middle of one octant to the middle of another octant, in which case both the coarse and fine controls need to change, so it is beneficial to control the timing of these controls. The number of input phases (M*2), the implementation of the interpolation buffer, and the size of each weighting unit are all design factors that can be derived from design specifications such as, for example, PI resolution or linearity.
[0031] Now go to Figure 5 , the timing diagram shows the phase of the clock signal provided to the phase interpolator and the selected phase interpolator output. Assuming M=4 and N=7, the 8 input phases divide the complete 360 degree phase rotation into 8 45 degree octants (selected by 3 binary bits and represented by the separation of 2 dotted lines), where each octant is further divided into 16 steps (selected by 4 binary bits). In other words, a complete PI rotation includes 128 steps, with every 16 steps marking an octant boundary. Example waveforms of the PI core input, PI core output, and level shift buffer output are shown in Figure 1. Figure 5As shown, the output level of the PI core signal is increased to generate a level-shifted output signal as shown. arrive is input to the PI, and the PI core output is and The level shift buffer 308 uses the level shift signal (eg, ) before driving the next block, the PI core output (for example, ) to the new common mode.
[0032] Now go to Figure 6 , this timing diagram shows glitches in the output multiplexer based on changes in the selected phase of the clock signal provided to the phase interpolator. When the phase of the clock used by the phase interpolator changes, such as in spread spectrum clocking (SSC) applications, the PI will typically rotate in one direction at a fixed rate in fixed steps. During certain code transitions, the multiplexer input will switch from one to the other to select a different clock phase for interpolation. Figure 6 As shown, when the MUX 1 selection signal (e.g., the selection signal of the multiplexer 309) is triggered at the point marked by the dashed line to switch from phase Switch to Phase Clock glitches (i.e., short pulses) can be observed at the output of MUX 1 when the PI code is switched to zero. Assuming short rise / fall times and fan-out, and assuming that the interpolation buffer (e.g., buf 1) has sufficient weight, the glitches at the multiplexer output will propagate to the PI output, which may be phase jitter generated by the output of the multiplexer in addition to the expected phase adjustment. Severe phase jitter can cause malfunctions in downstream circuits. Reduction in period jitter can be achieved by reducing the step size of the PI code change and reducing the impact of clock switching on the output due to boundary crossings, which will be described in more detail below.
[0033] Now go to Figure 7 and 8 , the figure shows the relationship between the output phase and the change of the phase interpolator code. Figure 7 and 8 The PI transfer function is shown in Figure 1, where the horizontal axis shows time and the vertical axis shows the clock phase delay. The ideal transfer function is Figure 7 In CMOS PI, any phase shift is instantaneous and will cause a jump in the transfer function, as shown in Figure 7Although the amplitude is predictable, this jump is considered period jitter (PJ) when compared to a linear transfer function. However, in actual circuit implementations, unexpected additional phase jitter can occur during code changes due to mismatches in the circuit architecture or physical implementation, such as Figure 8 The amount of this unexpected jitter is related to at least two factors. The first is the size of each code step, and the second is the result of any glitches caused by switching clock sources. Figure 8 As shown, the additional jitter during the code 12 to 18 jump (i.e., J2) at time t3 is greater than the jitter during the 0 to 6 jump (i.e., J1) at time t1 because the boundary crossing from one octant to another (16 is one of the boundary codes) requires a change in the clock source. While a larger step size results in a larger expected period jitter, it also means that the next code will be more likely to be far from the boundary, which means that the interpolation buffer receiving the glitch clock will have a larger drive strength and therefore a larger impact on the period jitter.
[0034] Now go to Fig. 9 , the timing diagram shows the application of full-phase and half-phase interpolator codes. In conventional devices, the CDR circuit sends one PI code in one CDR clock cycle (i.e., the rising edge of the clock to the next rising edge of the clock). In contrast, according to various implementations described below, the CDR circuit sends two PI codes in one CDR clock cycle. Fig. 9 As shown, the CDR circuit sends two PI codes and a CDR clock on the rising edge. PI uses the rising edge of the receive clock to capture the first code (designated as a half code), and then the second code (designated as a full code) can be captured on the falling edge of the receive clock, where the half code and the full code are part of a signal clock cycle. According to some implementations, the CDR circuit calculates the next code by adding the incremental code to the current code. Incremental codes can be used according to different methods of reducing period jitter by determining whether to apply and which PI code is used in the middle of the clock cycle (for example, on the falling edge, where the clock cycle is defined as extending from the rising edge to the next rising edge). According to the first method, the incremental code is divided by two, and half of the phase adjustment is performed in the first half cycle, and the other half of the phase adjustment is performed in the second half cycle. According to the second method, when changing from the current code to the next code, the phase boundary crossing condition is monitored, and in the case of boundary crossing, the boundary code is first executed before the next code. The advantage of these two methods is that the expected jitter (i.e., the jitter caused by the step size) and the unexpected jitter (i.e., the jitter caused by the boundary crossing) are reduced.
[0035] Now go to Fig.10 , a timing diagram shows the generation of a phase interpolator code according to a first method of dividing the delta code associated with the PI code. The first method reduces the step size by half, thereby reducing the average period jitter by half. Fig.10The PI transfer function is shown in solid line and compared with the traditional transfer function shown in dashed line. For example, in the process of code conversion from 12 to 18, the boundary code 16 is crossed with a step size of 6. In binary representation, it will be 000 1100 to 001 0010, and the boundary code is 001 0000. According to the first method, the incremental code is 6 and half of the incremental code is 3. Then, the CDR will send a PI code of 12+3=15 to capture in the PI in the first half cycle, and send a PI code of 12+6=18 to capture in the PI in the second half cycle. In binary representation, that is, 000 1100->000 1111->001 0010. To calculate the next code, the following code can be simply implemented in RTL: for half code: next code = current code + (incremental code / 2), and for full code: next code = current code + incremental code. From Fig.10 It can be clearly seen that the unexpected jitter of method 1 using dividing the incremental code associated with the PI code is significantly reduced compared to the conventional method of changing the PI code only once in the clock cycle at time t2 and time t3 (where the unexpected jitter is larger when crossing the boundary code 16).
[0036] Fig.11 The block diagram of FIG. 1 shows a circuit for generating a phase interpolator code according to the second method. XOR gate 1102 is coupled to receive the next code (next code <4> ) signal and the current code (current code <4> ) signals to generate a code selection signal, wherein the most significant bit of the incremental code (eg, the sign bit of the incremental code) is used as the code selection (code_select <0> ) signal. Code_Select<1:0> is used as a selection signal to select the next code (next code<6:0>) or a part of the next code or current code (i.e., next code<6:4> or current code<6:4>) as the first half of the PI code generated at the output of the multiplexer.
[0037] According to one implementation, the PI code will have 7 bits, with bits <6:4> used for octant selection and bits <3:0> used for finer phase selection within the octant. <4> Any change in indicates that, assuming bit <6:5> remains unchanged, the code transition will cross exactly one octant boundary. Incremental codes are signed binary codes that indicate the direction and size of the next step. Therefore, code_select <1> Indicates the change of octant, and code_select <0> Indicates the direction of the octant change. As shown in Table 1, it can be generated according to various conditions of the circuit Fig.11 The selection signal of the multiplexer circuit 1104.
[0038]
[0039] Table 1
[0040] The current code is the previous code that already exists, and the next code is a new code, so the end point is always the next code. Fig.11 Multiplexer 1104 is used to generate the PI code in half steps and provide an intermediate step (in this case, a half step) in case of boundary crossing. For 00 and 01, there is no boundary crossing; therefore, the entire next code can be propagated. That is, the PI code is unchanged in half steps. When there is a boundary crossing, and depending on whether the direction is positive or negative, entries 10 and 11 are provided. If the direction is negative, then code_select <0> is 1. For example, assume the current code is 010 0111 (39) and the next code is 001 1000 (24). The direction is negative; therefore, the multiplexer selection is 11. The intermediate code derives the MSB from the current code; therefore, the multiplexer selection is 010 0000 (32). If the direction is positive and there is a boundary crossing, the MSB comes from the next code. In the example above, if the next code is 011 1000 (56), the intermediate code is 011 0000 (48). An example describing the previous cycle and the current cycle is shown in Table 2 below.
[0041]
[0042] Table 2
[0043] It should be noted that the method described above is limited to one boundary crossing, and the circuit can be implemented to detect multiple boundary crossings.
[0044] Fig.12 The timing diagram of FIG. 1 shows the generation of the phase interpolator code according to the second method, which solves the boundary crossing situation, such as Fig.12 As shown, the modified transfer function has a smaller PJ during the code jump from 12 to 18 by providing a half code when the next code crosses the boundary. According to the second method, the CDR circuit can detect the boundary crossing by XORing the 4th bit of the current code and the next code. If the two bits are different, the code jump will cross the octant boundary. In this case, the boundary code will be sent in the first half of the CDR cycle and the next code will be sent in the second half of the cycle (for example, 000 1100->0010000->001 0010). It should be noted that the unexpected jitter may not be completely eliminated, but it will be reduced. The unexpected jitter caused by the octant crossing should be almost eliminated. What remains may be due to many code steps within the octant, which is highly implementation specific. The above about Figure 9-10The advantage of the first method described is that the intermediate code steps can be calculated accurately so that the step sizes are equal. For example, if the current is 000 1111 (15) and the next is 001 1111 (31), the intermediate code for method 1 will be 0010111 (23). On the other hand, the intermediate code for method 2 will be 001 0000 (32). If boundary crossing is a problem in circuit implementation, then Figure 11-12 The method described in is advantageous. For example, as the code goes from 000 1010 (10) to 001 0101 (21), if the arrival times between the coarse (MSB) and fine (LSB) control bits are different, false glitches other than 10 to 21, such as 001 1010 (26), may appear at the output. Method 2 is more robust to these false glitches.
[0045] Now go to Fig.13 , a flow chart illustrates a method of receiving a signal in an integrated circuit. According to one implementation, a method of receiving a signal in an integrated circuit includes: receiving an input data signal at block 1302. At block 1304, generating sampled data and a recovered clock based on the input data signal. At block 1306, generating a phase interpolator code also based on the sampled data and the recovered clock. At block 1308, receiving a phase interpolator code also at a phase interpolator. At block 1310, generating a plurality of phase interpolator control signals during a clock cycle based on the phase interpolator code generated for the clock cycle.
[0046] According to some implementations, receiving a phase interpolator code may include receiving a phase selection signal and a weighting signal. In addition, generating multiple phase interpolator control signals may include: generating a first phase interpolator control signal associated with the first half of the clock cycle; and generating a second phase interpolator control signal associated with the second half of the clock cycle. The method may also include calculating a second phase interpolator control signal based on the first phase interpolator control signal and a code for a previous clock cycle. The multi-phase interpolator control signal may include a code related to a first phase interpolator control signal applied during the first half of the clock cycle being changed by the first half of the code change, and the multi-phase interpolator control signal includes a code related to a second phase interpolator control signal applied during the second half of the clock cycle being changed by the second half of the code change.
[0047] The method may also include: changing the code associated with the first phase interpolator control signal applied during the first half of the clock cycle by half of the code change; and changing the code associated with the second phase interpolator control signal applied during the second half of the clock cycle by half of the code change.
[0048] For example, the code associated with the first phase interpolator control signal applied during the first half of the clock cycle (half of the code change) and the code associated with the second phase interpolator control signal applied during the second half of the clock cycle (half of the code change) can be based on a comparison of the current code and the next code. That is, if there is no boundary crossing, the next code can be the same as the current code. The method may also include: if the boundary crossing is in the positive direction, sending the current code as the next code of the second phase interpolator control signal, and if the boundary crossing is in the negative direction, sending the next code as the next code.
[0049] Fig.13 The various elements of the method may be used as described above Figure 1-12 Although specific elements of the method are described, it should be understood that the method can be implemented according to Figure 1-12 The disclosure of the present invention may be used to implement additional elements of the method or additional details related to these elements.
[0050] A circuit for receiving a signal in an integrated circuit may be provided. Such a circuit may include: a sampler configured to receive an input data signal, wherein the sampler generates sampled data and a recovered clock; a clock and data recovery circuit configured to receive the sampled data and the recovered clock and generate a phase interpolator code; and a phase interpolator configured to receive the phase interpolator code; wherein the phase interpolator generates a plurality of phase interpolator control signals during a clock cycle based on the phase interpolator code generated for the clock cycle.
[0051] In some such circuits, each phase interpolator control signal of the plurality of phase interpolator control signals may include a phase selection signal and a weighting signal.
[0052] In some such circuits, the plurality of phase interpolator control signals may include a first phase interpolator control signal associated with a first half of a clock cycle and a second phase interpolator control signal associated with a second half of a clock cycle.
[0053] In some such circuits, the first phase interpolator control signal may be determined based on the second phase interpolator control signal.
[0054] In some such circuits, the phase interpolator determines a change in a phase interpolator code from a first clock cycle to a second clock cycle, and generating multiple interpolator control signals during the clock cycle can include applying a phase interpolator code that can be adjusted by a portion of the change in the phase interpolator code in the middle of the clock cycle.
[0055] In some such circuits, the phase interpolator code may be adjusted by half of the change in the phase interpolator code from one clock cycle to the next clock cycle.
[0056] In some such circuits, the phase interpolator control signal generated during a clock cycle may be generated based on a comparison of bits of a current phase interpolator code and a next phase interpolator code.
[0057] In some such circuits, if a boundary crossing is not detected, the phase interpolator control signal generated during the clock cycle may be based on the next code.
[0058] In some such circuits, if a boundary crossing in the positive direction is detected, the phase interpolator control signal generated during the clock cycle may be based on the next code.
[0059] In some such circuits, the phase interpolator control signal generated during a clock cycle may be detected based on a current code in a boundary crossing in a negative direction.
[0060] In another example, a method of receiving a signal in an integrated circuit may be provided. Such a method may include: receiving an input data signal; generating sampled data and a recovered clock based on the input data signal; generating a phase interpolator code based on the sampled data and the recovered clock; receiving the phase interpolator code at a phase interpolator; and generating a plurality of phase interpolator control signals during a clock cycle based on the phase interpolator code generated for the clock cycle.
[0061] In some such methods, receiving a phase interpolator code at a phase interpolator may include receiving a phase selection signal and a weighting signal.
[0062] In some such methods, generating a plurality of phase interpolator control signals may include generating a first phase interpolator control signal associated with a first half of a clock cycle and a second phase interpolator control signal associated with a second half of a clock cycle.
[0063] In some such methods, the first phase interpolator control signal may be determined based on the second phase interpolator control signal.
[0064] Some such methods may also include determining a change in a phase interpolator code from a first clock cycle to a second clock cycle, wherein generating multiple interpolator control signals during the clock cycle may include applying a phase interpolator code in the middle of the clock cycle that is adjustable by a portion of the change in the phase interpolator code.
[0065] In some such methods, the phase interpolator code may be adjusted by half of the change in the phase interpolator code from one clock cycle to the next clock cycle.
[0066] In some such methods, generating the phase interpolator control signal during the clock cycle may include generating the phase interpolator control signal based on a comparison of bits of a current phase interpolator code and a next phase interpolator code.
[0067] In some such methods, generating the phase interpolator control signal during the clock cycle may include generating the phase interpolator control signal based on a next code if a boundary crossing is not detected.
[0068] In some such methods, generating the phase interpolator control signal during the clock cycle may include generating the phase interpolator control signal based on a next code if a boundary crossing in a positive direction is detected.
[0069] In some such methods, generating the phase interpolator control signal during the clock cycle may include generating the phase interpolator control signal based on detecting a current code in a boundary crossing in a negative direction.
[0070] It will therefore be appreciated that a new circuit and method for signal reception in an integrated circuit has been described. Those skilled in the art will appreciate that many alternatives and equivalents to the disclosed invention may be seen. As a result, the present invention is not limited by the foregoing implementations, but only by the appended claims.
Claims
1. A circuit for receiving a signal, comprising: a sampler configured to receive an input data signal, wherein the sampler generates sampled data and a receiver output clock; Clock and data recovery loop circuit, including: a clock and data recovery circuit coupled to the sampler and configured to receive the sampled data and the receiver output clock and to output a first phase interpolator code and a second phase interpolator code during a period of a clock of the clock and data recovery circuit; as well as A phase interpolator, the phase interpolator being configured to: capture the first phase interpolator code and the second phase interpolator code during a period of the phase interpolator clock, generate a first phase interpolator control signal and a second phase interpolator control signal based on the first phase interpolator code and the second phase interpolator code, and adjust the recovered clock based on the first phase interpolator control signal and the second phase interpolator control signal.
2. The circuit of claim 1, wherein each of the first phase interpolator control signal and the second phase interpolator control signal comprises a phase selection signal and a weighting signal.
3. A circuit according to claim 1, wherein the first phase interpolator control signal is applied to the reference clock signal during a first half of a subsequent cycle of the clock of the phase interpolator, and the second phase interpolator control signal is applied to the reference clock signal during a second half of the subsequent cycle of the clock of the phase interpolator.
4. A circuit according to any one of claims 1 to 3, wherein the first phase interpolator code comprises the sum of a current phase interpolator code and a first part of an incremental code, and wherein the second phase interpolator code comprises the sum of the current phase interpolator code and a second part of the incremental code.
5. The circuit of claim 4, wherein each of the first phase interpolator code and the second phase interpolator code further comprises a sum of the current phase interpolator code and half of the delta code.
6. The circuit of any one of claims 1 to 3, wherein the second phase interpolator control signal is selectively applied to the recovered clock based on a comparison of the first phase interpolator code and the second phase interpolator code with a boundary crossing.
7. The circuit of claim 6, wherein the second phase interpolator control signal is applied to the recovered clock if no boundary crossing is detected.
8. The circuit of claim 6, wherein if a boundary crossing in a positive direction is detected, a first boundary crossing control signal is applied to the recovered clock before the second phase interpolator control signal is applied to the recovered clock.
9. The circuit of claim 6, wherein if a boundary crossing in a negative direction is detected, a second boundary crossing control signal is applied to the recovered clock before the second phase interpolator control signal is applied to the recovered clock.
10. A method for receiving a signal, the method comprising: receiving an input data signal; generating sampled data and a receiver output clock based on the input data signal; generating a first phase interpolator code and a second phase interpolator code during a cycle of a clock of a clock and data recovery circuit based on the sampled data and the receiver output clock; receiving the first phase interpolator code and the second phase interpolator code at a phase interpolator during a cycle of a clock of the phase interpolator; as well as generating a first phase interpolator control signal and a second phase interpolator control signal based on the first phase interpolator code and the second phase interpolator code; as well as A recovered clock is adjusted based on the first phase interpolator control signal and the second phase interpolator control signal.
11. The method of claim 10, wherein the adjusting comprises: During a first portion of a subsequent cycle of the clock of the phase interpolator, the phase of the recovered clock is adjusted based on the first phase interpolator control signal, and during a second portion of the subsequent cycle of the clock of the phase interpolator, the phase of the recovered clock is adjusted based on the second phase interpolator control signal.
12. The method of claim 11, wherein the first phase interpolator code comprises the sum of a current phase interpolator code and a first portion of an increment code, and wherein the second phase interpolator code comprises the sum of the current phase interpolator code and a second portion of the increment code.
13. The method of claim 10, wherein the adjusting comprises: The recovered clock is selectively adjusted based on a comparison of the first phase interpolator code and the second phase interpolator code to a boundary crossing.
14. The method of claim 13, wherein the selectively adjusting comprises: If a boundary crossing is not detected, the recovered clock is adjusted based on the second phase interpolator code.
15. The method of claim 13, wherein the selectively adjusting comprises: If a boundary crossing is detected, the recovered clock is selectively adjusted based on a boundary crossing control signal before adjusting the recovered clock based on the second phase interpolator code.
