# Patent

## Title
Single stage and scalable serializer

## Abstract

According to an exemplary embodiment, a serializer includes upper and lower shift registers configured to perform a load function where parallel input data is loaded from a parallel input bus and a shift function where the parallel input data is shifted to an output register. The upper shift register is configured to perform the load function while the lower shift register performs the shift function, and the lower shift register is configured to perform the load function while the upper shift register performs the shift function. An output register is configured to alternately receive the parallel input data from the upper shift register and the parallel input data from the lower shift register. The upper and lower shift registers and the output register can comprise scan flip-flops.

## Background
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention is generally in the field of electrical circuits and systems. More particularly, the invention relates to electrical circuits and systems utilized in conversion of parallel data into serial data.
2. Background Art
A serializer can be used to convert low-speed data on a parallel input bus into high-speed data on a serial output. The parallel input bus includes multiple channels, which are sequentially selected by the serializer so as to transfer the data from the parallel input bus to the serial output. Conventional serializers typically include various features, which result in a slow conversion speed, high power consumption, and/or large size. Furthermore, many conventional serializer designs are not scalable and require substantial redesign when the number of channels of the parallel input bus is varied.
Conventional serializers typically convert the low-speed data into the high-speed data in multiple stages. For example, the parallel input bus can have sixteen channels where the low-speed data is converted by one stage into mid-speed data on four channels, which is then converted into the high-speed data on the serial output. However, designing a serializer with multiple stages can be result in a larger, slower, and/or more complicated design. Furthermore, these designs are typically not scalable, consume high power, and/or can be undesirably large. Conventional serializers may also place synchronization or re-time flip-flops and multiplexers or other combinational logic in a data conversion path of the serializer, thereby reducing conversion speed and increasing the size of the serializer. Some serializers may require a phase shifter to generate a signal for controlling selection of the channels in the serializer. However, the phase shifter can be difficult to design and is typically not scalable. Also, some serializers may utilize current mode logic (CML) for the conversion. While CML may be fast, additional circuitry may be required to convert from a complementary metal oxide semiconductor (CMOS) signal to a CML signal, thereby increasing the size of the serializer. Furthermore, CML requires a constant bias current resulting in high power consumption.
Thus, there is a need in the art for a serializer that can have high conversion speed, low power consumption, and small size while being scalable to accommodate variation in the number of channels of the parallel input.
SUMMARY OF THE INVENTION
A single stage and scalable serializer, substantially as shown in and/or described in connection with at least one of the figures, and as set forth more completely in the claims.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates an exemplary serializer, according to one embodiment of the invention.
FIG. 2 illustrates an exemplary control circuit of a serializer, according to one embodiment of the invention.
FIG. 3 illustrates exemplary upper and lower shift registers and an output register of a serializer, according to one embodiment of the invention.
FIG. 4 illustrates exemplary waveforms of a serializer, according to one embodiment of the invention.



DETAILED DESCRIPTION OF THE INVENTION
The present invention is directed to a single stage and scalable serializer. The following description contains specific information pertaining to the implementation of the present invention. One skilled in the art will recognize that the present invention may be implemented in a manner different from that specifically discussed in the present application. Moreover, some of the specific details of the invention are not discussed in order to not obscure the invention. The specific details not described in the present application are within the knowledge of a person of ordinary skill in the art.
The drawings in the present application and their accompanying detailed description are directed to merely exemplary embodiments of the invention. To maintain brevity, other embodiments of the invention that use the principles of the present invention are not specifically described in the present application and are not specifically illustrated by the present drawings.
FIG. 1 illustrates serializer 100, according to one embodiment of the invention. Serializer 100 includes control circuit 102, upper shift register 104, lower shift register 106, output register 108, parallel input bus 110, and serial output 112.
In FIG. 1, parallel input bus 110 comprises a plurality of channels and serializer 100 is configured to convert data from the plurality of channels into serial output 112. For example, in FIG. 1, serializer 100 is configured to convert parallel input data Pi1 and Pi2 into serial output data So. As an example, parallel input bus 110 can have eight channels and serializer 100 can convert the eight channels into serial output 112 comprising a single channel. Parallel input data Pi1 and Pi2 each comprise one bit per channel of parallel input bus 110. Thus, in the above example, parallel input data Pi1 and Pi2 each comprise eight bits.
In serializer 100, upper shift register 104 is configured to perform load function 114 where parallel input data Pi1 is loaded from parallel input bus 110 and shift function 116 where parallel input data Pi1 is shifted to output register 108. As described above, parallel input data Pi1 comprises one bit per channel of parallel input bus 110 and those bits are loaded in parallel into upper shift register 104 by load function 114. Output register 108 can receive parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH1, which comprises parallel input data Pi1 after being shifted through upper shift register 104 by shift function 116. Output register 108 can provide shifted (serialized) data SH1 in serial output data So at serial output 112.
Similarly, lower shift register 106 is configured to perform load function 118 where parallel input data Pi2 is loaded from parallel input bus 110 and shift function 120 where parallel input data Pi2 is shifted to output register 108. As described above, parallel input data Pi2 comprises one bit per channel of parallel input bus 110 and those bits are loaded in parallel into lower shift register 106 by load function 118. Output register 108 can receive parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2, which comprises parallel input data Pi2 after being shifted through lower shift register 106 by shift function 120. Output register 108 can provide shifted (serialized) data SH2 in serial output data So at serial output 112.
In serializer 100, output register 108 is configured to alternately receive parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2 to provide serial output data So at serial output 112. In the present embodiment, output register 108 is configured to alternate between receiving parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH1. Thus, serial output data So at serial output 112 comprises a stream of serialized data alternating between parallel input data Pi1 and parallel input data Pi2.
As shown in FIG. 1, serializer 100 receives load clock CLKL and shift clock CLKSH as inputs to convert parallel input data Pi1 and Pi2 into serial output data So. Control circuit 102 receives load clock CLKL and shift clock CLKSH to manage upper shift register 104 and lower shift register 106 to convert parallel input data Pi1 and parallel input data Pi2 into serial output data So. For example, control circuit 102 utilizes load clock CLKL to set frequency fL of load functions 114 and 118. More particularly, load functions 114 and 118 are performed by upper and lower shift registers 104 and 106 respectively at frequency fL, which in the present embodiment is the same frequency as load clock CLKL. In the present embodiment, load clock CLKL is a 1 GHz clock. Also, control circuit 102 utilizes shift clock CLKSH to set frequency fSH of shift functions 116 and 120. More particularly, shift functions 116 and 120 are performed by upper and lower shift registers 104 and 106 respectively at frequency fSH, which in the present embodiment is the same frequency as shift clock CLKSH. In the present embodiment, shift clock CLKSH is an 8 GHz clock.
Control circuit 102 provides function select clock CLKFS1 and function control clock CLKFC1 to upper shift register 104 to manage upper shift register 104 and provides function select clock CLKFS2 and function control clock CLKFC2 to lower shift register 106 to manage lower shift register 106 so as to convert parallel input data Pi1 and parallel input data Pi2 into serial output data So.
Upper shift register 104 is configured to select between performing load function 114 and shift function 116 responsive to function select clock CLKFS1. For example, in the present embodiment, when function select clock CLKFS1 is low, upper shift register 104 is configured to perform load function 114 and when function select clock CLKFS1 is high, upper shift register 104 is configured to perform shift function 116. Thus, in the present embodiment, upper shift register 104 is configured to repeatedly perform load function 114 and shift function 116 at a frequency of function select clock CLKFS1. In the present embodiment, function select clock CLKFS1 has half the frequency of load clock CLKL and is a 500 MHz clock signal.
Similarly, lower shift register 106 is configured to select between performing load function 118 and shift function 120 responsive to function select clock CLKFS2. For example, in the present embodiment, when function select clock CLKFS2 is low, lower shift register 106 is configured to perform load function 118 and when function select clock CLKFS2 is high, lower shift register 106 is configured to perform shift function 120. Thus, in the present embodiment, lower shift register 106 is configured to repeatedly perform load function 118 and shift function 120 at a frequency of function select clock CLKFS2. In the present embodiment, function select clock CLKFS2 has half the frequency of load clock CLKL and is a 500 MHz clock signal.
Function select clock CLKFS2 is the inverse of function select clock CLKFS1. Thus, while upper shift register 104 is performing load function 114 on parallel input data Pi1, lower shift register 106 is performing shift function 120 on parallel input data Pi2. Similarly, while upper shift register 104 is performing shift function 116 on parallel input data Pi1, lower shift register 106 is performing load function 118 on parallel input data Pi2. As such, upper shift register 104 is configured to perform load function 114 while lower shift register 106 performs shift function 120 and lower shift register 106 is configured to perform load function 118 while upper shift register 104 performs shift function 116.
As shown in FIG. 1, in the present embodiment, upper shift register 104 is configured to perform load and shift functions 114 and 116 at respective frequencies based on function control clock CLKFC1. More particularly, upper shift register 104 is configured to perform load function 114 at frequency fL of function control clock CLKFC1 and to perform shift function 116 at frequency fSH of function control clock CLKFC1. In the present embodiment, function control clock CLKFC1 alternates between having frequency fL and frequency fSH at the frequency of function select clock CLKFS1 and thus, will repeat this pattern at half the frequency of frequency fL, which is the same as the frequency of load clock CLKL (e.g. every 500 MHz function control clock CLKFC1 will repeat having frequency fL followed by having frequency fSH).
Similarly, lower shift register 106 is configured to perform load and shift functions 118 and 120 at respective frequencies based on function control clock CLKFC2. More particularly, lower shift register 106 is configured to perform load function 118 at frequency fL of function control clock CLKFC2 and to perform shift function 120 at frequency fSH of function control clock CLKFC2. In the present embodiment, function control clock CLKFC2 alternates between having frequency fL and frequency fSH at the frequency of function select clock CLKFS2 and thus, will repeat this pattern at half the frequency of frequency fL, which is the same as the frequency of load clock CLKL (e.g. every 500 MHz function control clock CLKFC2 will repeat having frequency fSH followed by having frequency fL).
Also in FIG. 1, control circuit 102 is configured to provide output select clock CLKOS to output register 108 so as to manage output register 108. Output register 108 is configured to alternately receive parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2 on output select clock CLKOS. In the present embodiment, when output select clock CLKOS is low, output register 108 is configured to receive parallel input data Pi1 from upper shift register 104 and when output select clock CLKOS is high, output register 108 is configured to receive parallel input data Pi2 from lower shift register 106. Thus, in the present embodiment, output register 108 can be configured to repeatedly alternate between receiving parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH2 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2 at a frequency of output select clock CLKOS.
Output register 108 is configured to receive upper shift register 104 when upper shift register 104 is performing shift function 116 and is configured to receive lower shift register 106 when lower shift register 106 is performing shift function 120. Thus, output select clock CLKOS can be equal to one of function select clocks CLKFS1 and CLKFS2. For example, in the present embodiment, output select clock CLKOS is equal to function select clock CLKFS2. Thus, output register 108 is configured to select between receiving parallel input data Pi1 from upper shift register 104 and parallel input data Pi2 from lower shift register 106 responsive to one of function select clocks CLKFS1 and CLKFS2.
Also in the present embodiment, output register 108 receives shift clock CLKSH. Output register 108 is configured to receive parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2 and output serial output data So at a frequency based on shift clock CLKSH. More particularly, output register 108 is configured to receive parallel input data Pi1 from upper shift register 104 at a frequency of shift clock CLKSH and receive parallel input data Pi2 from lower shift register 106 at a frequency of shift clock CLKSH to output serial output data So at a frequency of shift clock CLKSH. In the present example, shift clock CLKSH has frequency fSH. As described above, upper and lower registers 104 and 106 are configured to perform shift functions at frequency fSH of shift clock CLKSH. Thus, output register 108 is configured to alternately receive parallel input data pi1 as shifted (serialized) data SH1 from upper shift register 104 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2 at frequency fSH of shift clock CLKSH. The received parallel input data pi1 and parallel input data pi2 can be provided in serial output data So at frequency fSH of shift clock CLKSH. Thus, in the present embodiment, shift clock CLKSH can correspond to the conversion speed of serializer 100, which as one example can be 8 GHz. Serial output data So can be provided to a digital to analog converter (DAC) at 8 GHz, which is not shown in FIG. 1.
Conventional serializers typically convert low-speed data on a parallel input bus into high-speed data on a serial output in multiple stages. For example, conventionally parallel input bus 110 may have sixteen channels converted by one stage into four channels, which are then converted into serial output 112. Advantageously, in accordance with various embodiments of the present invention, serializer 100 can convert parallel input data Pi1 and Pi2 into serial output data So in a single stage. As such, based on the above example, parallel input data Pi1 and Pi2 can each be 16 bits (one bit per channel of parallel input bus 110), which are converted into serial output data So, which comprises a one bit data stream, in a single stage. It will be appreciated that parallel input bus 110 is not limited to 16 channels. As other specific examples, parallel input bus 110 can have 32 channels and parallel input data Pi1 and Pi2 can each be 32 bits or parallel input bus 110 can have 64 channels and parallel input data Pi1 and Pi2 can each be 64 bits.
Thus, as described above, serializer 100 does not require components needed to implement multiple stages. For example, serializer 100 does not require multiplexers or other combinational logic in the data path between parallel input bus 110 and serial output 112, which would reduce conversion speed of serializer 100 and does not require complex control circuitry to manage the multiple stages. As such, serializer 100 can be small and have low power consumption. Furthermore, serializer 100 can prevent redesign of the combinational logic and complex control circuitry, which may be required when the number of channels of parallel input bus 110 is varied. Thus, serializer 100 can be easily scalable thereby reducing design cost.
FIG. 2 illustrates control circuit 202, according to one embodiment of the invention. Control circuit 202 corresponds to control circuit 102 of serializer 100 in FIG. 1. Thus, shift clock CLKSH, load clock CLKL, function select clocks CLKFS1 and CLKFS2, function control clocks CLKFC1 and CLKFC2, and output select clock CLKOS in FIG. 2 correspond respectively to shift clock CLKSH, load clock CLKL, function select clocks CLKFS1 and CLKFS2, function control clocks CLKFC1 and CLKFC2, and output select clock CLKOS in FIG. 1.
Control circuit 202 includes function controllers 222 and 224, inverter 226, and frequency divider 228. Control circuit 202 is configured to generate function select clocks CLKFS1 and CLKFS2, function control clocks CLKFC1 and CLKFC2, and output select clock CLKOS from shift clock CLKSH and load clock CLKL. As described above, in the present embodiment, in FIG. 1, shift functions 116 and 120 are performed by upper and lower shift registers 104 and 106 respectively at frequency fSH, which is the frequency of shift clock CLKSH. Also described above, in the present embodiment, in FIG. 1, load functions 114 and 118 are performed by upper and lower shift registers 104 and 106 respectively at frequency fL, which is the frequency of load clock CLKL.
In the present embodiment, frequency fSH is equal to a frequency required to shift one bit of parallel input data Pi1 and Pi2. Also in the present embodiment, frequency fL is less than or equal to frequency fSH divided by the number of channels in parallel input bus 110. Thus, shift function 116, for example, can shift each and every bit of parallel input data Pi1 to output register 108 within one cycle of load clock CLKL. As a specific example, in the present embodiment, frequency fSH is 8 GHz and frequency fL is 1 GHz. Parallel input bus 110 comprises eight channels and frequency fL has one-eighth the frequency of frequency fSH. As such, shift function 116 can be performed to shift the eight bits of parallel input data Pi1 within one cycle of load clock CLKL. In some embodiments, load clock CLKL can easily be generated from shift clock CLKSH using, for example, a frequency divider.
In control circuit 202, function controller 222 is configured to generate function control clock CLKFC1 by selecting between load clock CLKL and shift clock CLKSH. Similarly, function controller 224 is configured to generate function control clock CLKFC2 by selecting between load clock CLKL and shift clock CLKSH. As described above, upper shift register 104 is configured to perform load function 114 at frequency fL of function control clock CLKFC1 and to perform shift function 116 at frequency fSH of function control clock CLKFC1. Similarly, lower shift register 106 is configured to perform load function 118 at frequency fL of function control clock CLKFC1 and to perform shift function 120 at frequency fSH of function control clock CLKFC1. Thus, function controllers 222 and 224 are configured to select load clock CLKL to control load functions 114 and 118 and to select shift clock CLKSH to control shift functions 116 and 120. As such, upper shift register 104 is configured to perform load function 114 and shift function 116 by selectively receiving load clock CLKL and shift clock CLKSH and lower shift register 106 is configured to perform load function 118 and shift function 120 by selectively receiving load clock CLKL and shift clock CLKSH.
In the present embodiment, function controllers 222 and 224 each are a multiplexer configured to select between load clock CLKL and shift clock CLKSH. As shown in FIG. 2, function controllers 222 and 224 are configured to select between load clock CLKL and shift clock CLKSH based on function select clocks CLKFS1 and CLKFS2 respectively. As described above, function select clock CLKFS2 is the inverse of function select clock CLKFS1. As shown in FIG. 2, in the present embodiment, inverter 226 generates function select clock CLKFS1 from function select clock CLKFS2. Thus, when function controller 222 is selecting shift clock CLKSH, function controller 224 is selecting load clock CLKL and when function controller 222 is selecting load clock CLKL, function controller 224 is selecting shift clock CLKSH.
Also in the present embodiment, upper and lower shift registers 104 and 106 in FIG. 1 is each configured to perform one respective load function 114 and 118 and one respective shift function 116 and 120 per cycle of respective function select clocks CLKFS1 and CLKFS2. In the example used above, upper shift register 104 can perform one load function 114 to load eight bits in parallel at 1 GHz and perform one shift function 116 to shift eight bits at 8 GHz all in one cycle of function select clock CLKFS1. Thus, function select clocks CLKFS1 and CLKFS2 can advantageously be generated from load clock CLKL. For example, in the present embodiment, control circuit 202 includes frequency divider 228, which is a divide-by-two frequency divider in the present example. As such, while load clock CLKL has a frequency of 1 GHz, function select clocks CLKFS1 and CLKFS2 have a frequency of 500 MHz. Thus, during every cycle of function select clock CLKFS1, for example, upper shift register 104 is configured to perform one load function 114 to load eight bits at 1 GHz in parallel and to perform one shift function 116 to shift the eight bits of parallel input data Pi1 into output register 108 at 8 GHz.
FIG. 2 shows output select clock CLKOS as equal to function select clock CLKFS2. As described above, output register 108 is configured to receive shifted (serialized) data SH1 from upper shift register 104 when upper shift register 104 is performing shift function 116 and is configured to receive shifted (serialized) data SH2 from lower shift register 106 when lower shift register 106 is performing shift function 120. As such, in FIG. 1, output register 108 can be configured to alternately receive parallel input data Pi1 from upper shift register 104 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 106 as shifted (serialized) data SH2 without additional control circuitry by utilizing one of function select clocks CLKFS1 and CLKFS2.
Thus, as described above, a serializer in accordance embodiments of the present invention can include a control circuit that is small and is not complex. For example, serializer 100 can include control circuit 202, which does not require a phase shifter to generate a signal for controlling selection of channels in serializer 100. Furthermore, control circuit 202 can easily be scaled when the number of channels in parallel input bus 110 is varied. For example, frequency FL of load clock CLKL and frequency fSH of shift clock CLKSH can easily be varied to accommodate more channels in parallel input bus 110. Also, frequency FL of load clock CLKL and frequency fSH of shift clock CLKSH can easily be varied to accommodate for throughput requirements of upper and lower shift registers 104 and 106 and output register 108. It will be appreciated that control circuit 202 is not limited to the specific design shown.
Turning to FIG. 3, FIG. 3 shows upper and lower shift registers 304 and 306 and output register 308, according to one embodiment of the invention. Upper and lower shift registers 304 and 306 and output register 308 correspond respectively to upper and lower shift registers 104 and 106 and output register 108 in FIG. 1. Thus, in FIG. 3, parallel input bus 310, parallel input data Pi1 and Pi2, shifted (serialized) data SH1 and SH2, and serial output data So, and serial output 312 correspond respectively to parallel input bus 310, parallel input data Pi1 and Pi2, shifted (serialized) data SH1 and SH2, and serial output data So in FIG. 1. Furthermore, control circuit 202 in FIG. 2 can provide function select clocks CLKFS1 and CLKFS2, function control clocks CLKFC1 and CLKFC2, and output select clock CLKOS as shown in FIG. 3.
As shown in FIG. 3, upper shift register 304 comprises scan flip-flops 330a, 330b, 330c, 330d, 330e, 330f, 330g, and 330h (also referred to herein as “scan flip-flops 330”). Each of scan flip-flops 330 have data inputs Du and data inputs Tiu and are configured to store one bit of parallel input data Pi1. As shown in FIG. 3, data inputs Du are configured to load parallel input data Pi1 from parallel input bus 310. For example, data inputs Du are connected to a corresponding channel of parallel input bus 310 and scan flip-flops 330 can each store one bit from a corresponding data input Du. Also shown in FIG. 3, data inputs TIu are configured to shift parallel input data Pi1 through upper shift register 304. For example, FIG. 3 shows data inputs TIu connected in cascade.
Similarly, lower shift register 306 comprises scan flip-flops 332a, 332b, 332c, 332d, 332e, 332f, 332g, and 332h (also referred to herein as “scan flip-flops 332”). Each of scan flip-flops 332 have data inputs D1 and data inputs Ti1 and are configured to store one bit of parallel input data Pi2. As shown in FIG. 3, data inputs D1 are configured to load parallel input data Pi2 from parallel input bus 310. For example, data inputs D1 are connected to a corresponding channel of parallel input bus 310 and scan flip-flops 332 can each store one bit from a corresponding data input D1. Also shown in FIG. 3, data inputs TI1 are configured shift parallel input data Pi2 through upper shift register 304. For example, FIG. 3 shows data inputs TI1 connected in cascade.
FIG. 3 also shows function select clock CLKFS1 connected to data input selector TEu of each scan flip-flop 330. Furthermore, function control clock CLKFC1 is connected to a clock input of each scan flip-flop 330. Similarly, function select clock CLKFS2 is connected to data input selector TE1 of each scan flip-flop 332. Furthermore, function control clock CLKFC2 is connected to a clock input of each scan flip-flop 330. Thus, control circuit 202 can manage upper and lower shift registers 304 and 306 to convert parallel input data Pi1 and parallel input data Pi2 into serial output data So, as described above.
In FIG. 3, output register 308 comprises scan flip-flop 334 having data inputs Do and TIo and data input selector TEo, which can store one bit at a time selected from shifted (serialized) data SH1 and shifted (serialized) data SH2. Data inputs Do and TIo are connected to respective outputs of upper and lower shift registers 304 and 306. Thus, data input selector TEo can receive output select clock CLKOS from control circuit 202 to select between receiving parallel input data Pi1 from upper shift register 304 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 306 as shifted (serialized) data SH2. As such, output register 308 is configured to alternately receive parallel input data Pi1 from upper shift register 304 as shifted (serialized) data SH1 and parallel input data Pi2 from lower shift register 306 as shifted (serialized) data SH2.
Thus, as described above, serializer 100 can comprise upper and lower shift registers 304 and 306 and output register 308 implemented using all scan flip-flops. Thus, serializer 100 does not require synchronization or re-time flip-flops and multiplexers or other combinational logic in the data conversion path, thereby allowing for fast conversion speed and smaller size. For example, serializer 100 can convert parallel input data Pi1 and Pi2 to serial output data So while only being limited by the performance of scan flip-flops 330, 332, and 334. Furthermore, in one embodiment, scan flip-flops 330, 332, and 334 comprise only 1V CMOS standard cells. Thus, serializer 100 can be smaller, consume less power, and be implemented without custom design that would increase design cost. Serializer 100 also does not require current mode logic (CML) for the conversion. As such, serializer 100 does not require circuitry that may be required to convert from a CMOS signal to a CML signal and does not require a constant bias current. In one embodiment, serializer 100 has an area of 167 um2 and consumes 0.94 mW per channel. Thus, the present invention allows for serializer 100 to be single stage and scalable while being efficient in power and area. In some embodiments, serializer 100 can operate at 8 GHz at the slow slow (SS) corner of a semiconductor wafer.
Referring to FIG. 4, FIG. 4 illustrates exemplary waveforms 400, according to one embodiment of the invention. FIG. 4 shows waveforms of shift clock CLKSH, load clock CLKL, function select clocks CLKFS1 and CLKFS2 and function control clocks CLKFC1 and CLKFC2 corresponding respectively to shift clock CLKSH, load clock CLKL, function select clocks CLKFS1 and CLKFS2 and function control clocks CLKFC1 and CLKFC2 in FIGS. 1 through 3. Also in the present embodiment, output selector CLKOS corresponds to output selector CLKOS in FIGS. 1 through 3 and is equal to function select clock CLKFS2 in the present embodiment.
Exemplary operation of serializer 100 in FIG. 1 will be described with respect to waveforms 400 in FIG. 4, control circuit 202 in FIG. 2, and upper and lower shift registers 304 and 306 and output register 308 in FIG. 3. In the present example, shift clock CLKSH has a frequency of 8 GHz and load clock CLKL has a frequency of 1 GHz. Thus, function select clock CLKFS2 has a frequency of 500 MHz due to frequency divider 228. Furthermore, function select clock CLKFS1 is the inverse of function select clock CLKFS2 due to inverter 226. Also, output selector CLKOS is equal to function select clock CLKFS2 as shown in FIG. 4.
For the purposes of the present example, each of scan flip-flops 330, 332, and 334 are positive edge triggered flip-flops. However, in other embodiments, scan flip-flops 330, 332, and 334 can be negative edge triggered. Between times t0 and t1, function select clock CLKFS1 is low. Thus, data input selectors TEu of scan flip-flops 330 are selecting for data inputs Du. Also between times t0 and t1, data input selectors TE1 of scan flip-flops 332 are selecting for data inputs TI1. Thus, between times t0 and t1, when function control clock CLKFC1 transitions high, each of scan flips-flops 330 will load one bit of parallel input data Pi1 through a corresponding data input Du in load function 114. Also between times t0 and t1, each time function control clock CLKFC2 transitions high, one bit of parallel input data Pi2 will be shifted through scan flip-flops 332. Thus, between times t0 and t1 scan flip-flops 332 will shift one bit per positive edge of function control clock CLKFC2 thereby shifting parallel input data Pi2 to output register 308 in shift function 120.
Also between times t0 and t1, output selector clock CLKOS is high. Thus, data input selector TEo of scan flip-flop 334 is selecting for data input TIo. As such, output register 308 will receive parallel input data Pi2 from lower shift register 306 as shifted (serialized) data SH2. As a clock of scan flip-flop 334 is connected to shift clock CLKSH, between times t0 and t1, each time shift clock CLKSH transitions high, one bit of parallel input data Pi2 will be shifted through output register 308 to serial output data So. Thus, between times t0 and t1, output register 308 will receive parallel input data Pi2 from lower shift register 306.
Between times t1 and t2, function select clock CLKFS2 is low. Thus, data input selectors TE1 of scan flip-flops 332 are selecting for data inputs D1. Also between times t1 and t2, data input selectors TEu of scan flip-flops 330 are selecting for data inputs TIu. Thus, between times t1 and t2, when function control clock CLKFC2 transitions high, each of scan flips-flops 332 will load one bit of parallel input data Pi2 through a corresponding data input D1 in load function 118. Also between times t1 and t2, each time function control clock CLKFC1 transitions high, one bit of parallel input data Pi1 will be shifted through scan flip-flops 330. Thus, between times t1 and t2 scan flip-flops 330 will shift one bit per positive edge of function control clock CLKFC1 thereby shifting parallel input data Pi1 in shift function 116.
Also between times t1 and t2, output selector clock CLKOS is low. Thus, data input selector TEo of scan flip-flop 334 is selecting for data input Do. As such, output register 308 will receive parallel input data Pi1 from upper shift register 304. As the clock of scan flip-flop 334 is connected to shift clock CLKSH, between times t1 and t2, each time shift clock CLKSH transitions high, one bit of parallel input data Pi1 will be shifted through output register 308 into serial output data So. Thus, between times t1 and t2, output register 308 will receive parallel input data Pi1 from upper shift register 304. The sequence described above between times t0 and t2 can be repeated as desired.
Thus, as discussed above, in the embodiments of FIGS. 1 through 4, the present invention can provide for a serializer configured to convert parallel input data from a parallel input bus into serial output data on a serial output. As described above, in accordance with various embodiments, the serializer can advantageously avoid various features, which would otherwise result in a slow conversion speed, high power consumption, and large size. Furthermore, the serializer is scalable and does not require substantial redesign when the number of channels of a parallel input bus is varied. Thus, the present invention can provide for a single stage and scalable serializer that is efficient in power and area.
From the above description of the invention it is manifest that various techniques can be used for implementing the concepts of the present invention without departing from its scope. Moreover, while the invention has been described with specific reference to certain embodiments, a person of ordinary skill in the art would appreciate that changes can be made in form and detail without departing from the spirit and the scope of the invention. Thus, the described embodiments are to be considered in all respects as illustrative and not restrictive. It should also be understood that the invention is not limited to the particular embodiments described herein but is capable of many rearrangements, modifications, and substitutions without departing from the scope of the invention.

## Claims

1. A serializer comprising:
upper and lower shift registers configured to perform a load function wherein parallel input data is loaded from a parallel input bus and a shift function wherein said parallel input data is shifted to an output register;
said upper shift register configured to perform said load function while said lower shift register performs said shift function and said lower shift register configured to perform said load function while said upper shift register performs said shift function;
an output register configured to alternately receive all of said parallel input data from said upper shift register followed by all of said parallel input data from said lower shift register.

2. The serializer of claim 1, wherein said output register is configured to alternate between receiving said parallel input data from said upper shift register and said parallel input data from said lower shift register.

3. The serializer of claim 1, wherein said upper and lower shift registers are configured to perform said shift function at a frequency of a shift clock and wherein said load function of said upper and lower shift registers is performed at a frequency of a load clock.

4. The serializer of claim 3, wherein said parallel input bus has a number of channels, said frequency of said load clock being equal to said frequency of said shift clock divided by said number of channels.

5. The serializer of claim 1, wherein said upper and lower shift registers are configured to perform said shift function at a frequency of a shift clock, said output register configured to alternately receive said parallel input data from said upper shift register and said parallel input data from said lower shift register at said frequency of said shift clock.

6. The serializer of claim 1, wherein said upper and lower shift registers are configured to perform said load function and said shift function by selectively receiving a load clock and a shift clock.

7. The serializer of claim 1, wherein said upper and lower shift registers are configured to select between performing said load function and said shift function responsive to a respective function select clock.

8. The serializer of claim 7, wherein said respective function select clock of said upper shift register is an in inverse of said respective function select clock of said lower shift register.

9. The serializer of claim 7, wherein said output register is configured to select between receiving said parallel input data from said upper shift register and said parallel input data from said lower shift register responsive to one of said respective function select clocks.

10. The serializer of claim 1, wherein said upper and lower shift register comprise scan flip-flops, said scan flip-flops having first and second data inputs, said first data inputs are configured to load said parallel input data from said parallel input bus and said second data inputs are connected in cascade.

11. The serializer of claim 1, wherein said output register is a flip-flop.

12. The serializer of claim 1, wherein said output register is a scan flip-flop having a first data input configured to receive said parallel input data from said upper shift register and a second data input configured to receive said parallel input data from said lower shift register.

13. A serializer comprising:
an upper shift register comprising scan flip-flops, each of said scan flip-flops having first and second data inputs, said first data inputs configured to load first parallel input data from a parallel input bus and said second data inputs configured to shift said first parallel input data through said upper shift register;
a lower shift register comprising scan flip-flops, each of said scan flip-flops having first and second data inputs, said first data inputs configured to load second parallel input data from said parallel input bus and said second data inputs configured to shift said second parallel input data through said lower shift register;
an output register configured to alternately receive said first parallel input data from said upper shift register and said second parallel input data from said lower shift register.

14. The serializer of claim 13, wherein said output register is configured to alternate between receiving said first parallel input data and said second parallel input data.

15. The serializer of claim 13, wherein said second data inputs of said upper shift register are connected in cascade and said second data inputs of said lower shift register are connected in cascade.

16. The serializer of claim 13, wherein said output register is a flip-flop.

17. The serializer of claim 13, wherein said output register is a scan flip-flop having a first data input configured to receive said first parallel input data from said upper shift register and a second data input configured to receive said second parallel input data from said lower shift register.

18. The serializer of claim 13, wherein said upper shift register is configured to select between loading said first parallel input data from said parallel input bus and shifting said first parallel input data responsive to a function select clock.

19. The serializer of claim 13, wherein said upper shift register is configured to shift said first parallel input data at a frequency of a shift clock, said output register configured to alternately receive said first parallel input data from said upper shift register and said parallel input data from said lower shift register at said frequency of said shift clock.

20. The serializer of claim 13, wherein said scan flip-flops comprise complementary metal oxide semiconductor (CMOS) standard cells.