DOUBLE CLOCK FREQUENCY TIMING SIGNAL GENERATOR

Abstract: A clock generating circuit having at least one loop (40) of at least two stages (22, 30; 24, 32; 26, 34; 28, 36). Each stage consists of a pass transistor (22; 24; 26; 28) serially connected to an inverter (30; 32; 34; 36). An inverter (38) couples the end of the loop to its beginning. The gate electrodes of the transistors in the serially connected stages are controlled alternately by a true (CT) and a complemented (CC) clock signal. Preferably, there are two such loops (40; 44) operating in parallel but which include initialization circuitry (41, 42) that initializes the two loops to complementary values.

Description: The invention relates generally to timing circuits. In particular, the invention relates to the generation of multiple timing signals that have a resolution of twice the frequency of a clock oscillator driving the circuit. In computer systems and other relatively complex electronic circuits, the need often exists for the generation of complex timing signals. A clock circuit, such as a quartz crystal oscillator, produces a binary clock signal with a period of T c . Although the clock signal itself is sufficient for timing control in relatively simple circuits, in more complex circuits the clock signal is converted into several timing signals that have different forms but have a fixed phase relation to each other. In US-A-3,683,415 entitled "Calculating Machines", multiplexer circuitry is described which derives control signals of different phases from a basic square wave oscillator pulse. The multiplexer includes a series connection of plural stages each comprising a transistor and an inverter (NOR gate). Alternating stages are controlled by the basic square wave oscillator pulse, and its complementary signal, respectively, to produce the phase-shifted control signals at the output terminals of the stages. To the output terminal of each stage, there is connected an inverter (NOR gate) for furnishing the inverted control signals. The state of the art disclosed is according to the preamble of the independent claim. A disadvantage is that the inverted control signals are not exactly the complements of the control signals delivered at the original outputs of the stages, but have some delay due to the delay required by the inverter circuits to produce their output signals. This may result, if original and inverted control signals are logically combined, in some perturbation of the respective output signal (glitch). A general object of this invention is to provide a timing signal generator that has a resolution better than the period of the clock signal driving the generator. In particular, the object of the invention is to provide a fully synchronous timing signal generator which, in response to a basic clock oscillator signal, furnishes timing signals of different phase, and also their exact complements. In the following, an embodiment of the invention is described with reference to the drawings. Fig. 1 is a single loop embodiment of a multiple-phase clock generator. Fig . 2 is a timing diagram for the clock generator of Fig.1. Fig. 3 is a block diagram of a double loop fully synchronous timing signal generator in accordance with the invention. Fig. 4 is a timing diagram for the timing signal generator of Fig. 3. Fig. 5 is a block diagram of a decoder producing a four-phase timing signal. Fig. 6 shows a transistor-level implementation of a two-stage double loop timing signal generator. Detailed Description of the Preferred Embodiments The present invention relies upon the use of both true and complementary versions of the clock signal to control alternate gates. A true clock signal CT would be, for instance, the output of the quartz crystal oscillator on line 23A. A complementary clock signal CC is the complement of the true clock signal CT and may be produced therefrom by an inverter 21 on line 23B, as shown in Fig. 1. A four-stage clock generator whose structure is similar to one shown in above mentioned US-A-3,683,415 is illustrated in Fig. 1. There are four serially connected NMOS transistors 22, 24, 26 and 28, acting as pass transistors, with intervening inverters 30, 32, 34 and 36. The output of the first inverter 30 is a true first timing signal A; the output of the second inverter 32, a complemented second timing signal -B; the output of the third inverter 34, a true third timing signal C; and the output of the fourth inverter 36, a complemented fourth timing signal -D. The distinction between true and complemented signals will become more apparent in the following description. The loop is completed by connecting the output of the fourth inverter 36 to an input of a NAND gate 38 that is connected to the input of the first transistor 22. The NAND gate 38 operates as an inverter in the loop. The gate electrodes of alternate transistors 22 and 26 are controlled by the true clock signal CT while the gates of the other transistors 24 and 28 are controlled by the complemented clock signal CC. The other input of the NAND gate 38 is connected to a negative reset signal -RESET that can be used to start the circuit by its transition to a high state. When the negative reset signal -RESET is held low for more than a few clock cycles, the clock generator is held in a static state irrespective of the two clock signals CT and CC. In this static, reset state, the true timing signals A and C are held low and the complemented timing signals -B and -D are held high. When the negative reset signal -RESET is released to a high state as shown in the timing diagram of Fig. 2, on the next upward transition of the true clock CT, the first gate 22 passes a negative signal which is inverted by the inverter 30 so as to raise the first timing signal A to a high state. On the next subsequent upward transition of the complemented clock CC, corresponding to a downward transition of the true clock CT, the second flip-flop 24 passes the high value of the first timing signal A, which is then inverted by the inverter 32 to a low state for the complemented second timing signal -B. The important point to notice, however, is that the transitions of the two timing signals A and -B are separated by one-half the clock period, that is, T c /2, rather than the full clock period. The alternating process continues for the transistors 26 and 28 to produce the third and fourth timing signals C and -D. When the complemented fourth timing signal -D is brought to a low state, it causes the NAND gate 38 to output a high signal, despite the reset signal -RESET being high. Then, on the next upward transition of the true clock CT, the true first timing signal A is brought low. This transition then propagates through the various transistors similarly to the previous passage except for an inversion of the states. Thus, the transition must propagate around the loop twice to bring it back to its original state. This dual passage, which arises from an odd number of inversions in the loop, requires four clock cycles 4T c but there are 8 different combinations of outputs during this time. The important point is that the transitions of the timing signals are separated by one-half the clock period T c /2 thus providing the ability to operate with a half frequency clock oscillator. It should be noted that the circuit of Fig. 1 is dynamic rather than static. When any of the transistors 22-28 is turned off (its clock signal being low), the input of the following inverter 30-36 is left floating. However, in MOS technology, there is sufficient capacitance on the line between the transistor and the inverter to hold the signal for a reasonable clock period. The circuit of Fig. 1 is a loop of master-master registers rather than the master-slave flip-flops used in earlier clock signal generation circuitry. A typical use of the timing signals A, -B, C and -D is to form a four-phase clock with respective four-phase clock signals PH0, PH1, PH2 and PH3. These four-phase clock signals are produced by combinational logic receiving the timing signals and performing the following logical operation; PH0 = AND (A, -C), PH1 = AND (B, D); PH2 = AND (-A, C); and PH3 = AND (-B, -D). It should be noted that inverters are required if these logic operations are to be performed with AND, NAND OR or NOR gates operating upon the four produced timing signals A, -B, C and -D. A disadvantage of this approach is that the inverters are required. An inverter necessarily has some delay in producing the inversion. If an AND gate has one inverted input and one non-inverted input, then for the period of the delay there is a possibility of the wrong set of signals being presented to the AND gate. As a result, a glitch can be produced at the output of the AND gate. The problem is that the timing signals of arbitrary polarity are not fully synchronous because of the inverter delay. Some desirable timing output signals, furthermore, would require an exclusive-OR (EXOR) gate receiving the indicated signals. Exclusive-OR gates are known to produce additional glitches. Thus, the timing generator of Fig.1 offers advantages but suffers from deficiencies. The invention is implemented in a fully synchronous timing signal generator, as illustrated in Fig.3. A first counter loop 40 is identical to the clock generator of Fig.1 although the negative reset signal -RESET is provided by a positive reset signal RESET on a line 41 passing through an inverter 42. A second counter loop 44 is similar to the first counter loop 40 with the following exceptions. Instead of the NAND gate 38, a NOR gate 46 receives the feedback signal and the positive reset signal RESET. That is, the second counter loop is reset on positive. The second counter loop 44 provides timing signals -A, B, -C and D that are complementary to the corresponding timing signals of the first counter loop. Some care needs to be exercised with the reset signal, particularly to avoid the delay of the reset inverter 42 bracketing the true clock transition. If the originating reset signal is asynchronous, it should be synchronized through a chain of clocked master-slave registers driven by the clock signals CT and CC driving the counter. During the pulse to the last slave register, the reset signal should propagate through the slave gate and its associated inverter, the reset inverter 42 and the AND gate 38 so that the reset signal that stabilizes in a complemented clock pulse is fully established for a following true clock pulse. The timing diagram for the timing signal generator of Fig. 3 is presented in Fig. 4. This timing diagram is very similar to that of Fig. 2 but includes all true and complementary versions of the timing signals. The transitions for the true and complementary versions of the same timing signal, the timing signals A and -A for example, occur at the same time. If there is a difference in the timing of the true and complementary timing signals, the difference is related to gate skew rather than to gate delay. Gate skew is usually much less than gate delay by a factor of ten. The four-phase clock signals may also be produced from the timing signals of Fig. 4, as illustrated by a decoder 48 in Fig. 5. The decoder 48 consists of four AND gates 49 receiving different combinations of the timing signal. However, in this case, the AND gates have available all the required input signals without the use of additional inverters since true and complementary values of all the timing signals are available from the clock generator. As well as the four-phase clock signal shown in Fig. 4, similar clock signals could be generated for other combinations of the timing signals. Furthermore, it is easy to use NOR gates rather than AND gates, if negative logic is used, since the negatives of the input values are immediately available. It should be mentioned that the logical combination used to create the four-phase clock signals are chosen such that both of the inputs to be combined in a logic gate 49 result from outputs of two transistors whose gate electrodes are driven by the true clock CT or by two transistors whose gates are driven by the complemented clock CC. This choice is important since all transistors, driven by the same polarity clock signal, transition at the same time within the gate skew. However, it is sometimes difficult to ensure that either of the true or complementary clock signals CT and CC is absolutely square, that is, has a precise 50% duty cycle. Thus, the transitions of two timing signals respectively controlled by the true and complementary clocks CT and CC may differ by the difference of time that the clock signal is in each of its two states. The decoder 48 of Fig. 5 thus provides clock signals PH0 and PH2 that may have transitions differing by periods other than T c /2 from the clock signals PH1 and PH3. Nonetheless, the inputs to the AND gates 49 are synchronized to within a gate skew. It is again mentioned that AND gates are typically not fabricated as such. Instead, NOR or NAND gates can be used since true and complemented timing signals are available. A transistor level implementation of the clock generator of Fig. 3, although restricted to a two-stage clock, is shown in Fig. 6 for CMOS technology. The NAND gate 38 is implemented by two PMOS transistors 50 and 52 and two NMOS transistors 54 and 56. The NOR gate 46 is likewise implemented with two PMOS transistors 58 and 60 and two NMOS transistors 62 and 64, although in a different configuration. The inverter 30, for example, has a series connection of a PMOS transistor 65 connected to the positive power supply and a NMOS transistor 66 connected to ground. Their coupling point is the output of the inverter 30 and provides the timing signal A. The gate electrodes of both of the transistors 65 and 66 are controlled by the input to the inverter 30. The NMOS transistors 22 and 24 in the first clock loop 40, as well as corresponding NMOS transistors in the second clock loop 44, are similarly connected as corresponding transistors in Fig. 3 and provide the same function. It is recommended, however, to provide PMOS transistor 68 and 70 in parallel with the NMOS transistors 22 and 24 and control them with the complement of the clock signal controlling the NMOS transistors 22 and 24 respectively. These parallel transistors provide increased speed and both phases of the clock signal are available. Furthermore, the parallel transistors provide better voltage swings. A MOS gate has a threshold voltage of approximately 1 1/2 volts. Hence, an N-type gate has transitions between 0 and 3.5 V while a P-type gate has transitions between 1.5 and 5 V. The impedances are such that parallel N-type and P-type gates have transitions between 0 and 5 volts. Although the invention has been described in terms of a clock generator, it can alternatively be used as an event counter or as a pulse program generator. In an event counter, the clock signal is replaced by a signal indicating the occurrence of an event. In a pulse program generator, the decoder has more complex logic that produces parallel sequences of timing or control signals, e.g. for direct control of interacting elements.

Claims: A timing signal apparatus comprising: first and second counters (40, 44), each of said counters including: a string of at least two serially connected shifting elements (22, 30; 24, 32; 26, 34; 28, 36), said string having a string input terminal and a string output terminal, each of said shifting elements comprising a series connection of an inverter (30; 32; 34; 36) and a transistor (22; 24; 26; 28) having two current-carrying electrodes and a control electrode; control means (38; 46) having an output connected to said string input terminal, a first input terminal connected to said string output terminal, and a second input terminal; clock means (21, 23A, 23B) for applying voltages of a given phase (CT) to the control electrode of the transistor (22; 26) of the first and any subsequent odd-numbered shifting element in said string, and for applying voltages of an opposite phase (CC) to the control electrode of the transistor (24; 28) of the second and any subsequent even-numbered shifting element in said string; each said control means (38; 46) being placed by a signal on said second input terminal into one of two modes, said control means resetting the respective counter in a first mode, and operating as an inverter in a second mode; characterized in that said control means (38) of said first counter and said control means (46) of said second counter are of different contructions such that said first and second counters are reset to, and operate in, polarities opposite to one another; and corresponding outputs (A, A ) of said first and second counters, respectively, furnis complementary timing signals. A system according to Claim 1, wherein said control means (38) of said first counter (40) is a NAND gate, and said control means (46) of said second counter (44) is a NOR gate. A system according to Claim 1, further including in each of said counters a plurality of output terminals (A, B , C, D ) each connected to the output of one of said shifting elements. A sytem according to Claim 3, further including a decoding circuit (48) having inputs connected to said output terminals of said first and second counters. A system according to Claim 3, further comprising a decoder (48) comprising at least one first logic gate (49) receiving signals from the output terminals of said odd-numbered shifting elements, and at least one second logic gate (49) receiving signals from said even-numbered shifting elements, said first and second logic gates producing timing signals. A system according to Claim 1, wherein each of said inverters (30) includes an N channel device and a P channel device (65, 66). A system according to Claim 6, wherein said tranistors (22; 24) in said shifting elements are MOS transistors of a first conductivity type and are each connected in parallel respectively with another MOS transistor (68; 70) of a second conductivity type, and wherein said clock means applies voltages of said opposite phase (CC) to said control electrodes of said other transistors (68) in said odd-numbered shifting elements and applies voltages of said given phase (CT) to the control electrodes of said other transistors (7) of said even-numbered shifting elements.

Inventors: FURMAN, ANATOL
Applicants: INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1987
Main classification: H03K5
IPC codes: G06F1, H03K5, H03K3