1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Designing a sequential circuit

Discussion in 'Homework Help' started by ECESS, Nov 14, 2016.

  1. ECESS

    ECESS New Member

    Joined:
    Nov 14, 2016
    Messages:
    1
    Likes:
    0
    Any help on this problem would be very appreciated:

    So I am supposed to solve a push button problem and draw the circuit, using any gates and multiplexers.

    So the problem reads:
    Design a sequential circuit which will output Z = 1 for exactly four clock cycles each time a person pushes a button ( which sets X=1) . Since clock is fast, X may still be 1 when the four Z=1 output have been generated. Therefore, after Z is 1 for four clock cycles, Z goes to 0, until X returns to 0 and then becomes 1 again.

    So anyway I uploaded a photo of how far I got until I got stuck, I am not sure my state table is correct, any input would be appreciated.

    Thanks WP_20161114_00_25_22_Rich.jpg
     
  2. Les Jones

    Les Jones Well-Known Member

    Joined:
    May 15, 2015
    Messages:
    1,455
    Likes:
    190
    Location:
    Lancashire UK
    The problem is not sufficiently defined. How mny push buttons are there. How it the circuit supposed to behave if a button is pressed during the 4 clock cycles while Z=1 ?

    Les.
     
  3. spec

    spec Well-Known Member Most Helpful Member

    Joined:
    Oct 27, 2015
    Messages:
    5,828
    Likes:
    709
    Location:
    Somerset UK GMT
    Isn't it funny- I could design a circuit to do this function in 5 minutes, but it's taking a while to follow the state tables.:D

    spec
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Ratchit

    Ratchit Well-Known Member

    Joined:
    Mar 12, 2008
    Messages:
    1,948
    Likes:
    83

    On the state graph, you have S5 defined to return to itself no matter if the push button is pressed or not. You also have S5 returning to S0 when the button is released. So which is it? It cannot be both. What is the problem or question with the state table? The top table appears to be OK, and the bottom table is not fully displayed.

    Ratch
     

Share This Page