Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Digital Logic Design

  1. Dec 5, 2015 #1
    how can i design an even number generator with a 4 bit counter without using any flip-flop , Using only 4 bit counter?
  2. jcsd
  3. Dec 5, 2015 #2


    Staff: Mentor

    have it count up, then add a zero bit after the count.
  4. Dec 5, 2015 #3


    User Avatar
    Gold Member

    Left shift one (as anorlunda says) is the same as multiplying by 2, which is the simplest way to create even numbers.

    Were you looking for something different than this?

    You can write boolean logic equations to develop a circuit that outputs 2 when you input 1, etc, but it will just reduce to a left shift.
  5. Dec 7, 2015 #4


    User Avatar
    Gold Member

    do you mean an even number generator (a counter), or a (psudo) random even number generator (jumps around to different numbers)?

    There is a big difference
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook