0

How do I create a circuit with two inputs A and B and one output Q using only one D flip-flop and logic gates? The circuit should perform the following when the clock ticks:

AB = 00: retains current value of Q 
AB = 01: reset Q 
AB = 10: set Q 
AB = 11: invert Q
ocrdu
  • 9,195
  • 22
  • 32
  • 42
  • 2
    sell the D-flip flop and the gates you have and buy one JK-flip flop. If nobody wants to buy them build a 4-to-1 multiplexer which drives the D input just with the wanted next output. –  Sep 22 '22 at 23:13
  • 1
    I searched for "jk flip flop using d flip flop" on google: https://electrosome.com/d-flip-flop-conversion-techniques/ – Miron Sep 23 '22 at 00:04
  • Tony, both responses above mine are useful to consider. There is a process (too quickly mentioned in the link by Miron) that can be followed: such as shown here or here. If you should be able to independently produce an answer after reading and considering these ideas (or links), feel free to write up your own answer here and select it as the answer. – jonk Sep 23 '22 at 01:55
  • This has the feel of homework. We don't answer homework until you have shown some effort. We help, but we do not do the heavy lifting. As in, waste your time (and ours) stating things you already know. Post an attempt and we will critique it. – StainlessSteelRat Sep 23 '22 at 15:27

0 Answers0