[Tiny Tapeout Puzzles](https://tinytapeout.com/digital_design/puzzle_flipflop/)

A flip flop has been created from logic gates below. A NAND gate was needed to create the correct functionality.

| D       | E       | Q      | !Q     |
|---------|---------|--------|--------|
| 0       | 0       | 0      | 1      |
| 0       | 1       | 0      | 1      |
| 1       | 0       | 0      | 1      |
| 1       | 1       | 1      | 0      |

**assumes that Q has an initial state of 0*
Example D-Flip Flop.
Enable (E).
Input (D).
Output (Q).
Inverted Output (!Q).
Output (Q).
Inverted Output (!Q).
Loading
tt-block-input
Loading
tt-block-output