Registers: T flip-flops
Register with T flip-flops: for simplicity, implement with 2 flip-flops
How does T flip-flop hold the value?
T = 0
How does it load?
T = 1
toggles
If (
x != Q
), then toggle
MUX input 1:
T = x XOR Q