I look into the D-Type Flip Flop, so I checked it and found some logical diagrams, but they were all differents...
I have no idea what this gate do :
-Does it switch Q and /Q depending of the state of the clock and the activation of the other input :
Clock -> made the states switch only if the other input is true.
-Does if switch Q and /Q depending of the sate of the other input and refresh the output when the clock is true :
Input -> change the state depending on the input value, refresh the output when clock is true
So which one must I follow ?
Another diagram ?
here is what I get :
first one change the output depending of the clock state; the 2 other change their output depending on the input value. Refresh depending of the value of the clock.