Most digital circuits can be built in more than one way. However, the easiest way I've seen to build an edge-triggered D flip-flop is with a pair of D latches. One has WRITE
connected to CLOCK
, the other has WRITE
connected to the inverse of CLOCK
. This way, one latch is always write-enabled, and which one changes whenever the level of CLOCK
changes.
simulate this circuit – Schematic created using CircuitLab
What I ended up doing is to have two separate clock inputs instead. This way I can ensure that they're never both high at the same time; I can put some dead time where both of them are low.
Is it common to do something like that? Have I reinvented a common technique that has a name? Or is this a totally off-the-wall crazy way to design circuits?