Binary counter

I am trying to make a 4 bit counter with jk flip flops with the sequence of 0, 5, 7, 9, 11, 13, 15, 1, 3, 5, 7, 9, 11, 13, 15, 1, 3, 5, 7, 9, 11, 13, 15, 1, 3, 5. what will the state table and the k maps look like

by me45lol
November 16, 2021

If you look at the sequence, except for the first few terms, it is counting by 2 ( 1, 3, 5, 7, 9, 11, 13, 15 repeat). So, basically, it is a counter 2 by 2.

If you look at the outputs { Bit0, Bit1, Bit2, Bit2 }, those make the repeated sequence (Bit0 is the least significant bit).

Note that initially Bit0 is at 0, but the OR gate latches to a logical High after the first clock front. So, the generated numbers will all be odd, except the initial zero.

The same technique is used to skip the initial 1 and 3: An OR gate latches to High as soon as the first 5 is reached. AND gates are added to silence the initial Bit1 and Bit0, so, if we read { Bit0_prime, Bit1_prime, Bit2, Bit3} we get the exact required sequence (Ok, the initial zero stays on for a "long" time, but I assumed that we can live with that hick-up.)

That is the kind of thing that we could more easily do, and customize, through software though. But the question was about doing it using flip-flop. Well, at least, that is what I understood. Sorry for the "table" and Karnaugh map, my wrong, but I failed to see their usefulness here.

by vanderghast
November 16, 2021

1 Answer

Answer by unaflores

Essay for admission Recently, the requirement for writing an essay for admission to the university has been particularly popular. Three sheets of text clearly reflect how the applicant thinks, what is his history, potential and learningability. The essay will be considered the University's Reception Commission. Essay is one of the factors affecting the decision to enroll the applicant. Answers should be printed on a separate sheet indicating the name of the applicant, the essay themes and the date of writing.

Essay themes:

  1. Please specify your main career goals, explain how to get education will help you achieve them?

  2. Describe current trends in your activities, what trends would you allocate for the next 5 years?

  3. Describe the situation in your work when you encountered a solid problem. How did you cope with this, and what have you learned in the process of solving the problem?

Writing these and many other essays can be entrusted by custom paper writing https://customwriting.nyc/ . Good luck!

0 votes
by unaflores
November 20, 2021

Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account


Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers


Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.


About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.