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

    Join Date
    Oct 2011
    Posts
    43
    Rep Power
    4

    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. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,995
    Rep Power
    481
    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 10:41 PM.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo