The present invention generally relates to circuits and methods of serializing data. More particularly, the present invention is related to a circuit, system, and method for serializing data with two shift registers configured for rapid data throughput.
Computer systems and many other electronics systems often store data in a parallel format. The stored data is communicated to other portions within the system with a parallel bus architecture, where each data bit is communicated over a separate communication bus wire. Modern electronics device interfaces have begun to adopt serial communication interfaces as a way of simplifying the interface. Example electronics interfaces that use serial communication topologies include the Universal Serial Bus (USB) Interface, IEEE 1394 “Firewire” Interface, to name a few.
A data serializer is a device that receives parallel data and converts the parallel data into a serial data stream. Data serializers are useful in many devices such as interfacing a USB device to a computer system, where the computer system has a parallel data bus and the USB device communicates with serial data. A wide variety of applications exist for data serializers such as telecommunications, data communications, backplane/cable interconnect applications, and video interface applications, to name a few. Interface circuits are also becoming available for bi-directional communications that includes both serializing and de-serializing functions.
Non-limiting and non-exhaustive embodiments are described with reference to the following drawings:
Various embodiments of the present invention will be described in detail with reference to the drawings, where like reference numerals represent like parts and assemblies throughout the several views. Reference to various embodiments does not limit the scope of the invention, which is limited only by the scope of the claims attached hereto. Additionally, any examples set forth in this specification are not intended to be limiting and merely set forth some of the many possible embodiments for the claimed invention.
Throughout the specification and claims, the following terms take at least the meanings explicitly associated herein, unless the context clearly dictates otherwise. The meanings identified below are not intended to limit the terms, but merely provide illustrative examples for the terms. The meaning of “a,” “an,” and “the” includes plural reference, the meaning of “in” includes “in” and “on.” The term “connected” means a direct electrical connection between the items connected, without any intermediate devices. The term “coupled” means either a direct electrical connection between the items connected or an indirect connection through one or more passive or active intermediary devices. The term “circuit” means either a single component or a multiplicity of components, either active and/or passive, that are coupled together to provide a desired function. The term “signal” means at least one current, voltage, charge, data, or other signal.
Briefly stated, a data serializer includes a data aligner, two N-bit shift registers, a 2-1 multiplexer, and a driver, wherein N is the number of parallel input data bits. Data is received and aligned by the data aligner, which is arranged to drive odd and even data lines to a respective one of the N-bit shift registers. One N-bit shift register is arranged to operate with a clock that is 180 degrees out of phase with respect to the other N-bit shift register. The frequency of the clock for each N-bit shift register is related to an input clock frequency by a factor of N/2. The multiplexer is arranged to alternate the selection of the N-bit shift registers to provide the output signal. The output of the multiplexer corresponds to a high-speed serial data stream that can be provided to a driver such as LVDS, DVI, PPDS or RSDS drivers.
An N-bit Data (DIN) is coupled to the buffer circuit (X1), which is arranged to provide N-bit buffered data to an input terminal (DATA_IN) of the data aligner circuit (X2). The data aligner is arranged to align the input data (DIN), responsive to clock signals (e.g., CLKREF, CLKREF
The data aligner circuit (X2) and the buffer circuit (X1) may not be necessary in all system implementations. In some embodiments the data aligner circuit (X2) is arranged to receive two consecutive sets of parallel data that are interleaved together. An example 7-bit data path provides a first set of parallel data (A[6:0]) and a second set of parallel data (B[6:0]). For this example, the data aligner circuit (X2) may be configured to receive the two sets of parallel data and provide two outputs that apportion the bits into an EVEN portion (e.g., A[6], A[4], A[2], A[0], B[5], B[3], B[1]) and an ODD portion (e.g., A[5], A[3], A[1], B[6], B[4], B[2], B[0]).
The first N-bit shift register circuit (X3) is arranged to parallel store one of the portions of the aligned data (DIN
The multiplexer circuit (X5) is arranged to selectively couple one of the input terminals (S0, S1) to its output terminal in response to the selection control signal (e.g., CLKxM/2). The output signal (DOUT) can be either a single ended signal or a differential signal as may be required in some implementations. The driver circuit (X6) is arranged to condition the output signal (DOUT) for driving a specified load as signal DRVOUT, which can be in a specified format such as: Universal Serial Bus (USB), Firewire, low-voltage differential signaling (LVDS), digital video interfaces (DVI), point-to-point differential signaling (PPDS), or reduced swing differential signaling (RSDS).
The various clock and control signals can be generated by a timing control circuit (X7), which may include a control logic circuit (X8) and a clock generator circuit (X9). The clock generator circuit (X9) is configured to receive a reference clock signal (CLKREF) and generate a clock signal (CLKxM/2) and an inverse clock signal (CLKB×M/2). The clock signal (CLKxM/2) and the inverse clock signal (CLKB×M/2) correspond to a multiplied clock signal relative to the reference clock signal (CLKREF) according to a multiplier factor (M), which can be user provided or pre-selected by signal MULT. The multiplication factor (M) in a given system is equal to the number of parallel input data bits (N). The control logic circuit (X8) is configured to provide the load control signal (LOAD), the inverse load control signal (LOADB), and a half-clock (CLK/2) signal (CLKREF
The control logic portion (X8) includes: an inverter logic gate (X81), a divider (X82), a first flip-flop (X83), an AND logic gate (X84), and a second flip flop circuit (X85). The inverter logic gate (X81) receives the reference clock signal (CLKREF) and provides a buffered clock signal to the divider circuit (X82). The divider circuit (X82) is arranged to divide the input clock from the inverter logic gate (X81) by a division factor (e.g., divide by 2), and provide the divided clock signal (e.g., CLKREF
The clock generator portion (X9) is arranged as a clock multiplier phase locked loop (PLL) circuit that generates high-speed clock signals CLKxM/2 and CLKB×M/2 from the reference clock signal (CLKREF). The multiplication factor (M) for the PLL can be adjustably selected by a multiplier selection signal (MULT), or it can correspond to a predetermined multiplication factor. The multiplication factor (M) in a given system is equal to the number of parallel input data bits (N).
The PLL circuit includes a phase frequency detector (PFD) circuit (X91), a charge pump circuit (X92), a low pass filter circuit (X93), a voltage controlled oscillator (VCO) circuit (X94), and a feedback divider circuit (X95). PFD circuit X91 receives the reference clock signal (CLKREF) and compares it to a feedback clock signal (CLKFB). The output of PFD circuit X91 is coupled to charge pump circuit X92, which provides an output to low pass filter circuit X93 to generate a signal indicative of any phase frequency differences between the reference clock signal (CLKREF) and the feedback clock signal (CLKFB). The output of low pass filter circuit X93 is coupled to VCO circuit X94, which provides an output clock signal (CLKxM). The output clock signal (CLKxM) is an input to feedback divider circuit X95, which divides the signal by the multiplication factor (M) to provide the feedback clock signal (CLKFB). When the phase and frequency are locked between the feedback clock signal (CLKFB) and the reference clock signal (CLKREF), the frequency and phase of the output clock signal corresponds to CLKREF multiplied by the multiplication factor M. A divide by two circuit (X96) is arranged to provide complementary clock signals CLKxM/2 and CLKB×M/2 in response to the output clock signal (CLKxM) such that they have a duty cycle that is substantially equal to 50%.
In some embodiments, the clock signal (CLKxM/2) is used as the selection signal for the multiplexer circuit (X5) of
The described data serializer may be useful as a Low Voltage Differential Signaling (LVDS) transmitter. The data serializer receives 2*N-bit parallel data input from two consecutive 1× clock cycles, combines the received data as stored data, and divides the stored data into two N-bit parallel data streams from alternating bits of the stored data (e.g., see
A detailed example data aligner (X2) is illustrated in
7-bit input data (DIN[6:0]) is loaded into the data aligner resulting in a 14-bit data from 2 consecutive cycles. For example a first 7-bit data transfer from DIN corresponds to A[6:0], while a second 7-bit data transfer from DIN corresponds to B[6:0]. The 14-bit combined data is apportioned into even and odd group that are loaded into one of the two parallel shift register circuits. The DIN
The DIN
The output of the shift registers are multiplexed with a 2 to 1 multiplexer to provide 7× serial data stream speed. The multiplexer selects one of the shift register outputs in response to the selection control signal (MUX SEL). The selection control signal (MUX SEL) can simply correspond to the clock signal (CLK3.5×), or it can be arranged to transition prior to the transitions in the clock signal (CLK3.5×) using a delay circuit topology to ensure proper setup times are satisfied for the signal path through the multiplexer to the data output stream (DOUT). The data output changes on each edge of the selection control signal such that a 7× serial data stream speed is achieved.
As clock speeds are increased, proper load times for the shift registers can become difficult using a modern circuit topology, wherein the multiplexer would be a 7:1 multiplexer. The present disclosure has identified that it is quite difficult to achieve balanced delays between seven (7) signal paths which may result in data pulse position errors, The loading of the shift registers in the preset disclosure is accomplished by a “ping-pong” method that oscillates selection between data streams from the shift registers. The 2:1 multiplexer method described herein utilizes one selection path improving performance and simplifying implementation by eliminating the need to balance delay paths.
The clocking signals in the present disclosure operate at M/2 times the frequency of the reference clock signal, with a resulting output data stream rate of M times the frequency of the reference clock signal. For the above described example implementation, M=7 and the clock signals operate at 3.5× the frequency of the reference clock signal. The output data is streamed at a rate of 7× for this example. Since the shift registers are loaded with a load control signal that is pulsed for one period of the 3.5× clock signal, and shifted by a half cycle relative to the same clock, proper setup and hold times for the shift registers are met. The 2:1 multiplexer also uses the 3.5× clock signal to toggle between the two outputs of the shift registers, thereby obtaining a 7× speed serial data stream.
The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
| Number | Name | Date | Kind |
|---|---|---|---|
| 4079372 | Koenig | Mar 1978 | A |
| 5179101 | Huynh-Ba et al. | Jan 1993 | A |
| 5777567 | Murata et al. | Jul 1998 | A |
| 5862367 | Chiao-Yen | Jan 1999 | A |
| 6782067 | Boerker | Aug 2004 | B2 |
| 6911843 | Mizumoto et al. | Jun 2005 | B2 |
| 6970115 | Sardi et al. | Nov 2005 | B1 |
| 20050219083 | Boomer et al. | Oct 2005 | A1 |