I am trying to design a CMOS toggle flip flop (TFF) for use in a low-bit count ripple counter (something like 4 to 6 bits). I do not need any ability to reset the flip flop (i.e., I can live with whatever state it powers up in). This circuit does not have to count fast, almost certainly less than 100kHz. My big constraint is transistor count.
Currently, the best I have come up with is a design that seems to work and requires 14 transistors. But this shaves only 4 transistors off of what I can get by taking a DFFR (D-type FF w/Reset) and stripping the reset support out of it.
My approach is basically a master-slave design using two latches, each made with a pair of cross-coupled inverters (so that takes 8 transistors) and then three transistors for each latch that are used to set or reset the latch, based on the state of the other latch, under the control of a write strobe (the master updates when the ws is LO and the slave updates with the ws is HI). My biggest concern with the design is the risk of both latches updating as the ws transitions, but I think that as long as I have the two transistors that the ws goes to right next to each other, the propagation delay through the latches will be sufficient to prevent it oscillating. Simulations seem to support that, at least so far.
What I would love to do is find some clever approach that doesn't use a master-slave arrangement but, instead, uses a few additional transistors on a single latch to give it edge-triggered behavior.
Anyone know how to design such a fundamental mode circuit, have a reference to a good text on it, or have any clever thoughts?
Currently, the best I have come up with is a design that seems to work and requires 14 transistors. But this shaves only 4 transistors off of what I can get by taking a DFFR (D-type FF w/Reset) and stripping the reset support out of it.
My approach is basically a master-slave design using two latches, each made with a pair of cross-coupled inverters (so that takes 8 transistors) and then three transistors for each latch that are used to set or reset the latch, based on the state of the other latch, under the control of a write strobe (the master updates when the ws is LO and the slave updates with the ws is HI). My biggest concern with the design is the risk of both latches updating as the ws transitions, but I think that as long as I have the two transistors that the ws goes to right next to each other, the propagation delay through the latches will be sufficient to prevent it oscillating. Simulations seem to support that, at least so far.
What I would love to do is find some clever approach that doesn't use a master-slave arrangement but, instead, uses a few additional transistors on a single latch to give it edge-triggered behavior.
Anyone know how to design such a fundamental mode circuit, have a reference to a good text on it, or have any clever thoughts?