This invention relates to improvements in digital bistable circuits which can be asynchronously reset and in particular to data or "D" type flip flop circuits.
A commonly used circuit of this type includes master and slave flip flop stages, each comprising a latch connection of complementary metal-oxide-semiconductor (CMOS) field effect transistors (FET's). Information or data is sequentially accepted from a data input terminal via a transmission gate and applied to the master stage by a clocked signal, then shifted to the slave stage by the complement of the clocked signal via a further transmission gate, the data and its complement in the slave stage being available as output signals at complementary output terminals. Such circuits are capable of storing information over time and are commonly employed in watch circuits, for example, as counters or dividers for successively halving a particular oscillator frequency simply by applying the complement of the output signal to the data input terminal. In this condition the circuit alternately clocks information from the output of each stage to the input of the other through a respective clocked transmission gate and produces a square wave output signal at one-half the clock repetition rate. The low frequency signals produced in such a manner are used to control the electro-optic display devices of the watch, e.g., light emitting diodes or of liquid crystal cells of the watch.
Asynchronous resetting of such stages is desired for the purpose of automatic time correction systems, for example, wherein the counter in the watch circuit is instantaneously reset at the occurrence of a correction signal. Asynchronous resetting is achieved in the prior art by including a NOR circuit within the latch of both master and slave stages and simultaneously applying a reset signal to respective inputs of both NOR circuits forcing both master and slave stages into determinable logic states.
D type flip flops used in watch circuits and having asynchronous reset capability typically include a master stage followed in cascade connection by a slave stage each being formed of two types of signal inverting circuits, i.e., a NOR gate and an INVERTER. During one time phase of operation a clocked transmission gate connects the latter of these cascaded stages to the former to complete a regenerative feedback loop, conditioning them to latch in a stable state. During another timing phase of operation, a second clocked transmission gate applies an input signal to the former of these cascaded stages for updating data to be stored in them.
The master flip flop stage in the present invention has a NOR and INVERTER directly coupled in a regenerative feedback connection but the NOR is selectively energized under the control of a clocked signal rendering it alternately active and inactive. The NOR and INVERTER circuit are selectively connected to the data input terminal via a further INVERTER which is also selectively energized at times alternate to the NOR circuit being active. This further INVERTER in the master stage renders the output signal of the D flip flop circuit complementary to the data input. The particular circuit configuration lends itself to high density integrated circuit fabrication as the interconnections are particularly symmetric and require a minimum of monolithic die area. Economies in die area translate to circuits having higher circuit yield and greater reliability.
In the drawings:
FIG. 1 is a logical representation of the invention connected as a toggle type binary divider.
FIG. 2 is a voltage-time diagram for the circuit of FIG. 1.
FIG. 3 is a detailed circuit schematic of an embodiment of the invention shown in FIG. 1.
The FIG. 1 D-type flip flop includes master flip flop stage 10, selectively coupled to slave flip flop stage 20 inclusive of transmission gate 13 and having complementary output terminals 18 and 19 and a DATA input terminal 33. Feedback connection 25 coupled from output 18 to DATA input terminal 33 configures the D flip flop as a toggle type binary frequency divider having asynchronous reset capability via a reset connection designated R. (Flip flop stages 10 and 20 will hereafter be referred to simply as FF10 and FF20). Complementary output signals Q and Q are available at nodes 18 and 19 respectively which signals are square waves at a frequency that is one-half the frequency of applied complementary clock signals .phi. and .phi., assuming .phi. to be a continuous repetitive wave form such as is indicated in the FIG. 2 timing diagram. The duty cycle of the clock waveform does not effect the duty cycle of the output waveform.
Slave flip flop 20 comprises NOR circuit 15 (hereafter, simply NOR 15) having input nodes 26 and 27 and having an output terminal 18 which is coupled to the input electrode of a first logical INVERTER circuit 17. The output electrode of INVERTER 17 is selectively connected to input node 26 of NOR 15 via transmission gate 16 controlled by the clocked potential .phi..
For the condition that the reset signal R on input 27 is low, and transmission gate 16 is closed, INVERTER 17 provides regenerative feedback around NOR 15 to maintain its output in a constant logic state. This state is held for the duration of the .phi. clock pulse, unless the output is in a high state and a high reset is applied, in which case the output will change immediately following application of reset to a low state.
Simultaneous with the .phi. clock going to a low state, the .phi. clock goes to a high state opening the conduction path of transmission gate 16 between nodes 19 and 26 and completing the conduction path of transmission gate 13 between nodes 28 and 26. The logical state of NOR 15 is now controlled by the logical state present at node 28 which node is the output terminal of master flip-flop 10. Slave flip flop 20 is said to be subordinate to the FF10 under this set of conditions.
INVERTER 17 complements the logical signal present at the output terminal 18 of the FF20 providing a complementary output Q available at node 19 in addition to providing the regenerative feedback for NOR 15.
FF10 includes NOR circuit 14 and INVERTER circuits 11 and 12. Signal applied to DATA input terminal 33 is complemented by INVERTER 11 and selectively applied to node 21.
INVERTER 11 is selectively connected to supply potentials V.sub.DD and V.sub.SS via switches S1 which are closed (i.e., conductive) when the .phi. clock is high. These switches may, for example, comprise complementary conductivity FET's clocked in anti-phase, as shown. In the condition where switches S1 are conductive INVERTER 11 is active and operates in the conventional manner. Opening switches S1 causes the output of 11 to exhibit a high impedance condition, in effect disconnecting its output from the circuit.
INVERTER 12 is continuously energized having its output terminal connected to output terminal 28 of FF10 and further connected to NOR 14 input terminal 31. For the condition of INVERTER 11 energized, logical signal applied to DATA input 33 is twice complemented by INVERTERS 11 and 12 and provided in its true state at output 28 of FF10.
NOR 14 is similar to NOR 15 in operation; however, NOR 14 is selectively energized under the control of the .phi. clock, i.e., NOR 14 is connected to supply potentials V.sub.DD and V.sub.SS via switches S2 when .phi. is in a high state. Switches S2, like switches S1 may, for example, comprise complementary conductivity FET's clocked in anti-phase, as shown. In the energized condition NOR 14 completes a regenerative feedback loop around INVERTER 12, conditioning FF10 to maintain a stable logical state subject to the signal on reset. Opening switches S2 causes the output of NOR 14 to exhibit a high impedance, in effect disconnecting its output terminal from the circuit.
INVERTER 11 and NOR 14 are energized in the alternative. INVERTER 11, when active, complements the signal at the DATA input and establishes or updates the state of FF10. Subsequent to INVERTER 11 being inactivated, NOR 14 is energized to close the feedback loop and the updated data is latched in the master stage. During the transition from INVERTER 11 active to NOR 14 being active the logical states are retained unchanged by means of charge storage of inherent device capacitances.
Simultaneous with INVERTER 11 being inactive, transmission gate 13 conducts. The output of FF10 is applied to node 26 of FF20, and the slave is subordinated to the logic state of the master stage.
NOR 14 and NOR 15 have respective input nodes 32 and 27 connected for receiving logical reset signals R. The reset is normally a logical low, permitting NOR 14 and NOR 15 to respond to signals on their respective second inputs at nodes 31 and 26. Application of a high reset pulse forces the outputs of both NOR circuits to a logical low when the .phi. clock is high. In either case the output transition to the low state will occur immediately upon applying reset.
Assuming transmission gate 16 is closed, i.e., 100 is high, and a reset pulse is applied, node 18 goes low and node 19 high. The logical high state at node 19 is fed back through transmission gate 16 to node 26, which state will maintain the output of NOR 15 low if reset is removed, at least until the next positive-going transition of the .phi. clock.
In summary, upon application of a high .phi. clock signal, FF20 is isolated from the output of FF10 and latched in a stable state. FF10 is on the other hand being updated by signal present at DATA input 33. When the clocks change state, .phi.-low and .phi.-high, FF10 is isolated from DATA and is latched in the state present at DATA input immediately prior to the clock transition. FF20 is subordinated to and receives data from FF10. The cycle then repeats.
The connection from output terminals 18 to DATA input 33 configures the circuit as a binary divider which operates as a typical ripple counter in a manner analogous to that known in the art.
FIG. 3 is a schematic of an embodiment of the functional schematic of FIG. 1 wherein the primed numbers designate the elements of FIG. 3 which correspond to similarly numbered functional elements in FIG. 1. The circuit shown in designed in complementary symmetry field effect transistor (FET) technology utilizing-p-channel and n-channel enhancement mode transistors, but is not limited to this technology.
The p-channel FET's are arranged to conduct for a low potential, i.e., a logic low, applied to their gate or control electrodes and the n-channel FET's are arranged to conduct for a logical high applied to their gate or control electrodes. INVERTERS 12' and 17' formed respectively by transistors P6, N6 and P7, N7 are conventional complementary FET inverter circuits well known in the art. INVERTER circuit 11' is comprised of transistors P8 and N8 and operates similar to INVERTERS 12' and 17' with the exception that it selectively has supply potential applied through the switch means comprising transistors P9 and N9. P9 and N9, controlled by complementary clocks, simultaneously conduct to provide a current path between V.sub.DD and V.sub.SS, or are simultaneously non-conducting isolating P8 and N8 from both V.sub.DD and V.sub.SS. Transistors P9 and N9 having respectively .phi. and .phi. clocks applied to their gate electrodes conduct when .phi. is high, conditioning INVERTER 11' to be active when .phi. is high.
Transmission gates 13' and 16' constructed with respective complementary transistor pairs P10, N10 and P11, N11 and controlled by complementary clocks .phi. and .phi. conduct in the alternative. The transmission gates are shown as complementary transistor pairs but each may be comprised of a single transistor which if chosen complementary to each other could be driven by the same clock phase.
Transistors P2, P4, N4 and N5 provide the function of NOR 15. A first input node 26' is connected to apply logic signal to the gate electrode of P4 and N4 and a second input R is connected to apply logical reset potential to the gate electrodes of P2 and N5. An output signal is available at node 18'. The output potential is a logical high only for the condition that transistors P2 and P4 conduct to provide a connection to supply V.sub.DD and simultaneously that transistors N4 and N5 be non-conducting. A logically low potential applied to node 26' puts P4 in and N4 out of conduction due to the complementary characteristics of the two devices. Similarly a logic low applied to the R inputs puts P2 into and N5 out of conduction. The conduction paths of P2 and P4 connect node 18' to supply V.sub.DD and simultaneously N2 and N4 isolate it from reference V.sub.SS enabling node 18' to attain a potential substantially equal to V.sub.DD or a logic high. Conversely, a logic high on either R or node 26 turns off P2 (P4) isolating node 18' from V.sub.DD and turning on N5 (N4) connecting node 18' to reference potential V.sub.SS or logic low potential.
Transistors P2, P3, N2 and N3 provide the function of NOR 14. However, NOR 14 is active only when the composite arrangement of transistors P2, P3, N2 and N3 are connected between supply potentials V.sub.DD V.sub.SS conditioned by the switch means S2 comprising transistors P.sub.1 and N.sub.1 simultaneously conducting. P.sub.1 and N.sub.1 are controlled by complementary clocks .phi. and .phi. applied to their respective gate electrodes to effect this condition.
Transistor P2 shared by both NOR circuits reduces the device count but does not alter the functional operation of the NOR circuits.
Considering the FIG. 3 circuit in terms of the logic gates indicated for the respective composite arrangements of transistors, i.e., 11', 12', 13', etc., the operation of the FIG. 3 circuit is identical to the foregoing description for the FIG. 1 circuit.
A further embodiment of the invention includes an additional p-channel transistor connected between transistor P4 and V.sub.DD with connecting link 41 eliminated. Such an embodiment results in two independent NOR circuits.
Armed with the foregoing, one skilled in the art will be able to construe various deviations of the disclosed invention without straying from the spirit of the invention. For example, while the switch means are shown as FET's they may alternatively be bipolar devices.