LATCH CIRCUIT

Abstract: A low-voltage latch adapted for differential mode with a supply voltage of 2.5V and a voltage swing of 200mV to 300mV is described. Two inverters are used, each having a non-inverting and an inverting input terminal and a non-inverted and an inverted output terminal. The non-inverted output terminals are connected to the input of an OR structure, and the inverted output terminals are connected to the input of another OR structure. The input terminals of one inverter form the input terminals of the latch. The input terminals of the other inverter are connected to the output terminals of the OR structures and form the output of the latch. The supply voltages of the inverters are varied, so that at any given time, only one inverter has an appropriate supply voltage. This inverter then controls the output of the latch. In this way, a latch function is achieved.

Description: LATCH CIRCUIT TECHNICAL FIELD The present invention relates to latch circuits. BACKGROUND Latches are used in electric circuits to hold information temporarily. For example, in a computer system, mcoming information may pass through a latch where it is held for a certain time so that it can be read. The development of sub-micron CMOS technologies results in new standards for voltage supplies. Currently, CMOS circuits use voltage supplies as low as 3.3V, and in the future, voltage supplies as low as 2.5V will probably be used. A traditional ECL gate typically uses voltages of approximately 4.5 V - 5 V. Therefore, there is a need for circuits that can operate at lower voltages. Also the technical development increases the need for faster circuits than those available today. Latches can be designed to work either in a differential mode or in a single-ended mode. In single-ended mode, the voltage at one of the inputs is held constant while the other one varies between two modes, one of which is higher, the other lower than the constant voltage at the first input. One drawback with the single-ended mode is that it requires at least twice the voltage swing of the differential mode. Typically the voltage swing in single-ended mode is 600mV-800mV. In differential mode the voltage at both input terminals are varied, and a voltage swing of 200mV-300mV is required. This configuration is faster and also less sensitive to noise than the single-ended mode. In logical circuits, several levels of transistors may be used, so that the output of one transistor controls a transistor at the next level. In ECL logic 3-4 levels of transistors are typically used. By reducing the number of levels, the required supply voltage is reduced. With a supply voltage of 2.5 V, only one level of transistors can be used, together with one resistor and one current source. DESCRIPTION OF RELATED ART In Razavi et al. "Design Techniques for Low- Voltage High-Speed Digital Bipolar Circuits", IEEE Journal of Solid-State Circuits, Vol. 29, No. 3, March 1994, a number of low-voltage circuits based on the ECL circuits are disclosed, among them a D-latch. This latch operates in a single ended mode and requires a supply voltage of 2.5 V and a voltage swing of approximately 600mV-800mV. SUMMARY OF THE INVENTION It is an object of the invention to provide a latch with a higher operating speed than known latches. It is another object of the invention to provide a latch which will operate at voltages down to 2.5V and with a voltage swing as low as 200m V to 300mV. It is yet another object of the invention to provide a latch which operates in differential mode and thus is less sensitive to noise than known low-voltage latches. The required supply voltage is reduced to 2.5V in the latch according to the invention by using only one level of transistors. The required voltage swing is kept low by letting the latch operate in a differential mode. The latch according to the invention is based on a simple inverter. A first and a second inverter are used, and a clock signal and the inverse of that clock signal are used to control the supply voltage to the inverters, so that at a given time, one inverter has an appropriate supply voltage and the other effectively has none. The output level of the inverter which has the appropriate supply level corresponds to the input level, while the other inverter has a low output level on both output terminals. The non-inverted outputs of the inverters are connected to the two input terminals of a OR structure, and the inverted outputs of the inverters are connected to the input terminals of another OR structure. Thus, the inverter across which the voltage is high at any given time, controls the output from the OR structures. According to the invention, the input terminals of the first inverter are the input terminals of the latch, and the input terminals of the second inverter are the output terminals of the latch. Thus, when the voltage across the first inverter is high, the input signal is fed to the output. When the voltage across the second inverter is high, the output signal is held. The latch according to the invention offers the following advantages: It is 10-20% faster than the traditional latch at the same current consumption. Also, it can operate at a lower voltage (down to 2.5V) than the traditional latches, which typically operate on 4.5V-5V. Therefore, the power consumption can be reduced, or the latch can work faster at the same power consumption. It can be operated in a fully differential mode with a small voltage swing (down to 200mV-300mV). This results in 5- 10% faster operation compared to the latch of Razavi. The operation also becomes less noise-sensitive because the latch operates in a fully differential mode. BRIEF DESCRIPTION OF THE DRAWINGS The invention will be described in more detail below, with reference to the appended drawing, on which: Figure 1 shows the logical symbol for an inverter; Figure 2 shows a logical representation of the latch according to the invention; Figure 3 shows a circuit diagram of the latch according to a preferred embodiment of the invention; Figure 4 shows a circuit diagram of a CML inverter used in a preferred embodiment of the invention. DETAILED DESCRIPTION OF THE INVENTION Figure 1 shows the logical symbol of an inverter 1. The inverter has a first, non- inverting input terminal 2, a second, inverting input terminal 3, a first, non-inverted output terminal 4 and a second, inverted output terminal 5 The inverter 1 is connected to a first supply voltage terminal 6 and a second supply voltage terminal 7. In normal operation, the input signal to the second input terminal 3 is the inverse of the input signal to the first input terminal 2. Thus, when the input signal IN to the first input terminal 2 is high, the input signal IN to the second input terminal 3 is low. The output signal OUT from the first output terminal 4 is then low, and the output signal O UT from the second output terminal 5 is high. Figure 2 shows a logical circuit diagram of the latch according to the invention. A first 11 and a second 11 ' inverter as shown in Figure 1 are used. Each inverter has a first, non-inverting input terminal 12, 12', a second, inverting input terminal 13, 13', a first, non-inverted output terminal 14, 14', and a second, inverted output terminal 15, 15'. The input terminals 12, 13 of the first inverter 11 form the input terminals of the latch. Each inverter further has a first supply voltage terminal 16, 16' and a second supply voltage terminal 17, 17'. The first, non-inverted output terminals 14, 14' of both inverters 11, 11' are connected to the input terminals of a first OR structure 20. The second, inverted output terminals 15, 15' are connected to the input terminals of a second OR structure 21. The output from the OR structures 20, 21 form the output terminals 23, 13' of the second inverter 11 '. The second supply voltage terminals 17, 17' are held at a constant voltage Vee. The voltage at the first voltage terminals 16, 16' varies between a supply voltage Vcc and a voltage lower than Vcc so that, at any given time, one inverter has an appropriate supply voltage while the other one does not. As shown in the figure, when the first supply voltage at the first inverter 11 equals Vee, the first supply voltage at the second inverter 11' is low and vice versa. When the voltage across the first inverter 11 is high, the voltage across the second inverter 11' is low. In this situation, both the output terminals 14', 15' of the second inverter 11' are low, which means that the output signals of the OR structures 20, 21 are controlled by the output of the first inverter 11. Thus, the output signals from the latch are controlled by the input signals to the latch. When the voltage across the second inverter 11' is high, the voltage across the first inverter 11 is effectively 0. In this situation, both the output teπrύnals 14, 15 of the first inverter 11 are low, which means that the output signals of the wired OR structures 20, 21 are controlled by the output of the second inverter 11 ' . As the input terminals 12', 13' of the second inverter are connected to the output terminals 23, 25 of the latch, the output of the latch is effectively held in this situation. Even though the latch is shown to have two output teraiinals, one inverted in relation to the other, it is to be noted at the latch could be provided in a circuit in which only one of the outputs is used. Thus, the latch in practice has at least one output. Figure 3 shows the latch according to an embodiment the invention, based on two inverters 31, 31' as shown in Figure 1. The first supply voltage terminal 36, 36' of the first 31 and second 31 ' inverters are connected to a first supply voltage terminal 40 via a resistor 41 and 42 respectively, and directly to the second voltage terminal 45. The first and second input terminals 32, 33 to the first inverter 31 are the input teπninals to the whole latch. The first, non-inverted output terminals 34, 34' of the inverters 31', 31" are connected to the base of a first and a second transistor 47, 49 respectively. The second, inverted output terminals 35, 35' are connected to the bases of a third and a fourth transistor 51, 53 respectively. The collectors of all four transistors, 47, 49, 51, 53 are connected to the first supply voltage terminal 40. The emitters of the first and second transistor 47 and 49 are interconnected and, via a current source 55, connected to the second supply voltage terminal 45. They are also connected to the first output terminal 71 of the whole circuit, which is connected to the first input terminal 32' of the second inverter 31'. The emitters of transistors 51 and 53 are interconnected and, via a current source 57. connected to the second supply voltage terminal 45. They are also connected to the second output terminal 73 of the whole circuit, which is connected to the second input terminal 33 ' of the second inverter 31 '. Because the emitters of transistors 47 and 49 are interconnected, they form a wired OR structure, which means that the transistor that has the highest base voltage of the two controls the output of the wired OR structure. In the same way transistors 51 and 53 form another wired OR structure. There is a fifth transistor 61, intended for receiving a first clock signal CLK, whose collector is connected between the second inverter 31 ' and the resistor 42. There is also a sixth transistor 63, intended for receiving an inverted clock signal CLK , whose collector is connected between the first inverter 31 and the resistor 41. The emitters of the transistors 61, 63 are interconnected, and, through a current source 55, connected to the second supply voltage terminal 45. The second clock signal CLK controls the supply voltage to the first inverter 31, and the first clock signal CLK controls the supply voltage to the second inverter 31'. Because the emitters of the two transistors 61, 63 are interconnected, they will act like a current switch, which means that the transistor which has the highest base voltage will be conducting while the other one will be blocked, even at voltage differences as low as 200mV. First assume that the first clock signal CLK is high, and the second clock signal CLK is low. The first inverter 31 then has a supply voltage approximately equal to the first supply voltage terminal 40 ( called "high"), while the supply voltage to the second inverter 31' is decreased ( "low"). Thus the base voltages of the transistors 49 and 53 are low and the input signals of the first inverter 31 are transmitted, through the wired OR structures to the output. If the output 34 from the first inverter 31 is high and the inverted output 35 is low, the base voltage of transistor 47 is high and the base voltage of transistor 51 is low. Thus, the first output terminal 71 of the latch will be high, and the second output terminal 73 will be low. If the output 34 from the first inverter 31 is low and the inverted output 35 is high, the base voltage of transistor 47 is low and the base voltage of transistor 51 is high. Thus, the first output terminal 71 of the latch will be low and the second output terminal 73 will be high. When the first control signal CLK is low, the second (inverted) control signal CLK is high. The second inverter 31 ' then has a high supply voltage, while the supply voltage to the first inverter 31 is effectively zero. Thus, the output signals OUT, O UT axe transmitted, through the second inverter 31' and the wired OR structures to the output; i.e. effectively, the output is held. Figure 4 shows a circuit diagram of a standard CML (Current Mode Logic) inverter used in a preferred embodiment of the invention. The inverter has a first input terminal 80 and a second input terminal 82. The first input terminal 80 is connected to the base of a first transistor 84, and the second input terminal 82 is connected to the base of a second transistor 86. The collector of each transistor 84, 86 is connected to a first supply voltage terminal 88 via a resistor 90 and 92 respectively. The emitters of the two transistors 84, 86 are inter-connected and, via a current source 94, connected to a second supply voltage terminal 96. A first output terminal 98 is located at the collector of the transistor 84, and a second output terminal 100, is located at the collector of the transistor 86. When the input is high, and the inverted input low, the transistor 84 conducts current, which means that the voltage of the first output terminal 98 is decreased. The transistor 86 does not conduct in this situation, and hence the voltage of the second output terminal 100 is approximately that of the first supply voltage terminal 88. When the input at the first input terminal 80 is low and the input at the second input terminal 82 is high, for symmetry reasons, the voltage of the first output terminal 98 is approximately that of the first voltage terminal 88 while the voltage of the second output terminal 100 is decreased. The voltage swing is approximately 200mV-300mV.

Claims: CLAIMS 1. A latch circuit comprising two input terminals, one of which is inverting, and at least one output teιτninal, characterized in that it comprises a first (11; 31) and a second (11'; 31') inverting means, each comprising a first and a second input terminal (12, 12', 13, 13'; 32, 32', 33, 33'), one being non-inverting, the other inverting, a first and a second output terminal (14, 14', 15, 15'; 34, 34', 35, 35'), one being inverted, the other non-inverted, and a first and a second voltage teπriinal (16, 16', 17, 17'; 36, 36', 37, 37') and that - one of the output terminals (14, 14'; 34, 34') of each inverting means (11, 11'; 31, 31') is connected to the first and second input terminal, respectively, of a first logical gate structure (20; 47 and 49); - the other output terminal (15, 15'; 35, 35') of each inverting means (11, 11'; 31, 31') is connected to the first and second input terminal, respectively, of a second logical gate structure (21; 51 and 53); - the output terminal of the first OR structure (20, 47 and 49) is connected to one of the input terminals (12') of the second inverting means (11'); - the output terminal of the second OR structure (21; 51 and 53) is connected to the other input terminal (13') of the second inverting means (11'); - the voltage supplies of the inverting means are adapted to receiving a voltage pattern that varies with time in such a way that the voltage pattern of one inverting means is the inverse of that of the other mverting means. - at least the output of one of the logical gate structures (20 or 21 ; 47 and 49 or 51 and 53) is an output (23 or 25; 71 or 73) of the latch circuit. 2. A latch according to claim 1, characterized in that each logical gate structure is a wired OR structure formed by two transistors (47, 49 and 51, 53 respectively) , so that the bases of the transistors are the input terminals of the wired OR structure, the collectors are connected to a first supply voltage terminal (40) and the emitters are interconnected and connected to a second supply voltage terminal (45) and form the output terminals of the latch. 3. A latch according to claim 1 or 2 characterized in that the inverting means are CML inverters (1). 4. A latch according any of the preceding claims, characterized in that the first voltage terminals (6, 6'; 36, 36') of the inverting means are connected via resistors to the first supply voltage terminal (40), and the second voltage terminals are connected to the second supply voltage terminal (45). 5. A latch according to claim 4, characterized in that the supply voltage to the inverting means (31, 31') is controlled by transistors (71, 73) whose collectors are connected to the first voltage terminal (36, 36') of each inverter (31, 31 '), whose emitters are interconnected, and, via a current source (65), connected to the second supply voltage (45), which transistors are intended for receiving a clock signal CLK and the inverse clock signal CLK , respectively, on their bases. 6. A method for controlling the output of an electronic circuit comprising a first and a second inverting means, characterized by the following steps: - feeding an input as a non-inverted signal and an inverted signal to the first inverter; - varying the supply voltage of the two inverting means so that, effectively, only one of them is working at any given time; - feeding the output signal from the first output terminals (4, 4'; 34, 34') of the two inverting means (11, 11'; 31, 31') as input signal to a first logical gate structure (20, 47 and 49); - feeding the output signal from the second output terminals (5, 5'; 35, 35') of the two inverting means (11, H '; 31, 31 ') as input signal to a second logical gate structure (21, 51 and 53); - feeding the output signal from the two logical gate structures (20, 21; 47 and 49, 51 and 53) as input signal to the second inverting means; - taking an output from at least one of the logical gate structures. 7. A method according to claim 5 characterized by varying the supply voltage by applying a clock signal CLK to the base of a first transistor (71), whose collector is connected to the first supply voltage terminal (36) of the first inverting means (31) and the inverse clock signal CLK to the base of a second transistor (73), whose collector is connected to the first supply voltage terminal (36') of the second inverting means (31').

Inventors: JESSEN JEPPE RUNE, JESSEN, JEPPE, RUNE
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Application year: 1998
Main classification: H03K19
IPC codes: H03K3, H03K19