This application claims priority from German Patent Application No. 10 2007 006 375.1, filed Feb. 8, 2007.
The invention relates to a flip-flop; and, more specifically, to a flip-flop with a complementary output. The invention relates further to a memory system including a data buffer with a flip-flop having a complementary output.
Flip-flops are well-known in the art and are used as standard cells for all kinds of digital data processing, buffering and storing. Multiple flip-flops are often arranged to form registers, which are used for state machines together with combinatorial logical circuitry. Some applications require flip-flops with a full-swing complementary output signal to provide improved signal integrity. A zero offset and a crossing point of the two complementary output signals at half the supply voltage is often required. A conventional approach for providing complementary output signals consists of coupling an inverter to one output of a flip-flop for providing a complementary output signal by the inverter. However, even in a very fast technology, in which inverters have only minimum delay, the inverter at the output causes a slight timing offset (and maybe other non-idealities) between the two output signals. This effect introduces an asymmetry into the complementary output, with a resulting offset, i.e., a shift of the crossing point of the output signals away from half the supply voltage, and a time shift. The non-idealities introduced by the inverter are also process, temperature and supply voltage dependent.
In view of the above considerations, it is an object of the invention to provide a flip-flop with a complementary output having improved offset and crossing point characteristics, which are less dependent on process variations and operating conditions than the conventional flip-flops.
A flip-flop according to described embodiments of the invention includes a clock input for receiving a clock signal, a master stage having a master data input for receiving a digital data input signal, a master data output and a first bistable element; wherein the first bistable element is coupled between the master data input and the master data output and is adapted to switch between one of two states during a first edge of the clock in response to the state of the digital data input signal. Further, the flip-flop according to described embodiments of the invention includes a first slave stage having a first slave data input coupled to the master data output, a slave data output, and a second bistable element coupled between the first slave data input and the slave data output; the second bistable element being adapted to switch during a second edge of the clock in response to the state of the master data output. An inverter is coupled to the master data output, and a second slave stage having a second slave data input is coupled to an output of the inverter. A complementary slave data output and a third bistable element coupled between the second slave data input and the complementary slave data output is also present in the second slave stage. The third bistable element is adapted to switch during the second edge of the clock in response to the state of the output signal of the inverter.
Generally, the flip-flop according to the invention includes a master stage, and two slave stages. The master stage is set to one of two states in response to the input data signal during a first edge (for example, the rising or positive edge) of the input clock. The slave stages are triggered by a second edge of the clock (for example, the falling or negative edge). The inverter for providing the complementary signal is disposed between the master stage and one of the slave stages. Accordingly, the delay and the respective influence of the inverter is moved from the output of the flip-flop in between the two stages. As the two stages are decoupled from each other by use of different edges of a clock, delays and offsets introduced by the inverter are irrelevant for the flip-flop according to the described embodiments. The influence of process variations and operating conditions (supply voltage, temperature, etc.) is reduced as long as the delay of the inverter is kept shorter than half the period the clock, i.e., shorter than the time between the falling and the rising edges. As a consequence, the crossing point of the complementary output signals will be synchronous and at half the supply voltage, and any offset of the complementary output signal can be minimized.
The described flip-flop may be further improved by matching the components of the first and second slave stages, such that the electrical characteristics of the two slave stages are almost identical. Matching the components of the two slave stages will further improve symmetry of the complementary output. An exact matching will provide almost identical timing of the two slave stages in response to the clock, and thereby optimum offset and crossing point characteristics.
The first slave and the second slave may preferably be implemented as bistable elements with two cross-coupled inverters, with the output of one inverter coupled to the input of the respective other inverter through a transfer gate. This approach provides efficient control of the state of the bistable element, in particular for an edge triggered flip-flop. In particular, if the master stage is implemented in substantially the same way as the slave stages, however with inverted clock inputs to the transfer gates, the rising edge of the input clock may be used to trigger the master stage and the falling edge can be used to trigger the two slave stages.
According to a specific implementation, the flip-flop may preferably be a master and slave D-flip-flop. However, other types of flip-flops will equally profit from the invention.
The invention relates also to a memory system including a memory controller and at least one memory board. In an embodiment, the memory board may include a digital data buffer with an output register comprising flip-flops according to the invention and a plurality of RAM modules, wherein digital address and clock signals from the memory controller are applied to each data path of the digital data buffer as digital data input signal and clock input signal, and the data output signals and clock output signals from the digital data buffer are applied in parallel to the RAM modules. As the timing of the digital data and address data signals is an important issue in the such memory systems, the flip-flops according to the invention are very beneficial, particularly if they are inserted as an output register of the data buffer. The data buffer serves to adjust the timing and phase offset of the data and address data from the memory controller before they are conveyed from the output register of the buffer to the RAM modules. DDR3 is a typical application where the above configuration of a memory systems occurs.
The new flip-flop architecture and the benefits of the inventive flip-flop will be apparent from the below description of embodiments, taken together with the accompanying drawings, wherein:
A preferred application for a flip-flop implemented in accordance with the invention relates to memory systems, in particular to DDR2 or DDR3 memory systems. Flip-flops according to the invention may preferably be used for data buffers for DDR3 applications. Practically, all applications, where a precise output timing, minimum offset, and an optimum crossing point of complementary digital output signals are required will profit from flip-flops implemented in accordance with the invention.
By way of a preferred application,
Those skilled in the art to which the invention relates will appreciate that there are also many other ways to implement the claimed invention.
Number | Date | Country | Kind |
---|---|---|---|
10 2007 006 375.1 | Feb 2007 | DE | national |