How do I convert the D-FlipFlop block here in everycircuit to one with reset function?
TRUTH TABLE:
===========
D || CLK || RST || Q
0 || / || 1 || 0
1 || / || 1 || 1
X || \ || 1 || X
X || X || 0 || 0
The problem with the solutions I come up with is that when I trigger reset, the output will return to D>Q if CLK is currently 1.
Q should only copy D if there is a positive trigger.