Sequence Counter with D ffs

Discussion in 'Homework Help' started by logicpro9999, Apr 3, 2010.

  1. logicpro9999

    Thread Starter New Member

    Apr 3, 2010
    4
    0
    I want to design a sequence counter with 2 D flipflops
    Counter sequence is 0 1 0 2 0 1 0 2 and goes on...
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Make a counter work, then add external gates to give that sequence. Post your attempts.
     
  3. logicpro9999

    Thread Starter New Member

    Apr 3, 2010
    4
    0
    I made a counter with D flipflops
    D1 LSB and D2 MSB

    two outpout z2,z1 z2 MSB,z1 LSB

    Q1=not D1
    Q2=D2 xor D1

    z1=q1 and (not q2)
    z2=q1 and q2
    z1,z2 gives the 0102 sequence
    is this correct?
     
    Last edited: Apr 3, 2010
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Schematics are always helpful.
     
    logicpro9999 likes this.
Loading...