Question

Design a counter that starts at 0 and increases by two until you reach 6 and then starts at 0 again and continues count
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The counter starts at 0 and increases by two untill 6 and again starts at 0.

0\;\rightarrow 2\;\rightarrow4\rightarrow6\rightarrow0

0 » 2» 4 » 6» Start 000 110 010 100

Let's try to form the Truth table for the above transition diagram

CLK

Present State

Next State

Q_{A}

Q_{B}

Q_{C}

Q_{A}^+

Q_{B}^+

Q_{C}^+

0

0

0

0

1

0

0

1

0

1

0

0

1

0

0

1

1

0

1

1

0

0

0

0

If we draw the K-map and find the SoP of the next equations we get them as shown in the below pictures.

QAT QB Qc QBQc QBQc QBQc QA 0 x X 1 QA 1 X X 0 la* = Q&QB + Qalb

ex QB Qc AB Qc ABQc Qвес QA 0 Х X 0 QA 0 X X 0 + Qс Qc

We are using D-FF to realise this operation

Truth Table for D-FF :

Clk D   Q  
0 X Q
1 0 0
1 1 1

The output of the D-FF is same as the input when clock is applied. So if we make the truth table for next state and the input of FF we get the truth table as shown below

CLK

Present State

Next State

Q_{A}^+ Q_{B}^+ Q_{C}^+

D_{A}

D_{B}

D_{C}

0

1

0

0

1

0

1

0

0

1

0

0

1

1

0

1

1

0

0 0 0

0

0

0

the Truth table for all present state , next state and flip-flop inputs are as shown below.

Present State Next State CLK Flip-Flop inputs DA DB Dc + QA QB Qс QA QB* Qc 0 0 0 0 1 0 0 1 0 1. 1 0 1 0 1 0 0 1 0 0 个 1 0 0

The K-map for the flip-flop inputs and present states are same as the next state. because the truth table is same for next state and flip flop inputs

DA QR Qc QB Qc QBQc AB Qc QA 0 X X 1 QA 1 x X 0 Da= Qalb + Qalb

DB Qв Qс lblc (blc QBQc QA 1 X X 0 QA 1 X X 0 DB= QB

Dc QB Qc QвQс евQс QBQc QA 0 X x 0 QA 0 x x 0 Dc = Qc

The circuit for the above equation will be

Q a Count Q ē D Q clk ē

Hope you got the right answer.. If you have any doubts regarding this please try to comment. Please forgive for mistakes, It take almost 2hrs to design the whole part for clarity.

Thank you and don't forget to upvote.

Add a comment
Know the answer?
Add Answer to:
Design a counter that starts at "0" and increases by two until you reach "6" and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT