### Thread: Logic question regarding RESET?

1. No Profile Picture
Contributing User
Devshed Newbie (0 - 499 posts)

Join Date
Oct 2011
Posts
43
Rep Power
7

#### Logic question regarding RESET?

this is the truth table I have when Reset=0 (JK flip flop)
R I0 I1 Q0 Q1
0 0 0 1 0
0 0 0 1 1
0 0 0 1 0
0 0 0 1 1
0 0 1 0 0
0 0 1 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 1 1
0 1 0 0 0
0 1 0 1 1
0 1 0 0 0
0 1 1 0 1
0 1 1 0 0
0 1 1 0 0
0 1 1 0 1
0 1 1 0 0

What happens when Reset=1? Output =0?
2. according to this link and my code, which agrees,
Code:
```┌─┬─┬─┬──────────────────────────────────────────────┐
│J│K│Q│(J and not Q) or ((not K) and Q) JK Flip Flop │
├─┼─┼─┼──────────────────────────────────────────────┤
│0│0│0│0                                             │
│0│0│1│1                                             │
│0│1│0│0                                             │
│0│1│1│0                                             │
│1│0│0│1                                             │
│1│0│1│1                                             │
│1│1│0│1                                             │
│1│1│1│0                                             │
└─┴─┴─┴──────────────────────────────────────────────┘```
clearly,
j=1 k=1 q toggles,
j=1 k=0 q sets
j=0 k=1 q resets
j=0 k=1 q holds.
Last edited by b49P23TIvg; November 4th, 2012 at 09:41 PM.