Simplifying my solution?

Discussion in 'Homework Help' started by jkang, Sep 28, 2014.

  1. jkang

    Thread Starter New Member

    Sep 28, 2014
    1
    0
    My assignment is to create a counter with a 7 segment display that changes the display every 2 seconds (and repeats a cycle). Depending on a button or switch, the order of the cycle is reversed.
    When button is 1, the cycle is 0, 2, 1, 3, 0, 2, ...
    When button is 0, the cycle is 0, 3, 1, 2, 0, 3, ...

    I used D flip flops for this.
    Here's my table and equation (sorry, I'm not very neat):
    http://i.imgur.com/ol6Hkht.jpg

    If I did this right, i feel like my second input makes the building more complicated. Using a simulator software called Logisim I ended up with this (Q2 should be Q0):
    http://i.imgur.com/Fr2jBGV.png

    It works but I wanted to know if there is a simpler way of doing this. Using multiplexer should be one way but I haven't covered that in class yet although i kind of get how it works after searching it up. If using multiplexer is the only way to make me use less chips in building, how can I use it here?
    I'm also thinking about using triple AND gate chips but it would still require 2 chips as far as I know.

    I'd appreciate any help with this. Thank you.
     
  2. arivvu

    New Member

    Sep 7, 2012
    9
    0
    Try to simplify 'D0' using de-morgan's theorem...
     
Loading...