Flip Flops Flashcards
What is a Flip Flop?
A Flip Flop is like a light switch π‘ that a computer uses!
It can remember only two things:
On (like the light is on)
Off (like the light is off).
Computers use lots of these light switches to remember numbers, letters, and everything else! It helps them to remember things.
β’ Used for digital data transfers and system synchronisation.
D flip flop
Has a single data input
D flip-flop is like a copy machine π¨οΈ that only works when the clock says βgo!β β°
D is like the paper you put in.
Q is like the copy that comes out.
When the clock ticks, the copy machine makes a copy of the paper (D) and shows it as the output (Q). So, if D is 1, Q becomes 1, and if D is 0, Q becomes 0!
JK flip flop
Has 2 inputs, J and K, where J sets the flip-flop and K resets it.
Sets, resets, or toggles the output based on the combination of J and K inputs (no invalid state).
JK flip-flop is like a seesaw toy with two buttons, J and K! π€ΈββοΈ
J button: Pushes the seesaw up (makes it 1)!
K button: Pushes the seesaw down (makes it 0)!
If you push both buttons at the same time (J and K are both 1), the seesaw flips back and forth, like a light switch turning on and off, on and off! Itβs super fun and used to count and remember things in computers. π‘
RS flip flop
Has 2 inputs, Set (S) and Reset (R).
Sets the output (Q) to 1 when S = 1 and resets it to 0 when R = 1; invalid when both S and R are 1.
Typically asynchronous but can be clocked.
Simple memory storage and control circuits.