Counter Design using MUX, D flipflops and Adder only

Status
Not open for further replies.

AncientMariner

Newbie level 1
Joined
Aug 25, 2018
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
How do I design a counter that counts the number of times the number “5” appears in an 4-bit input stream.
These are the inputs:
NumberIn : 4-bits wide (input)
Start: Reset counter and overflow flag to zero while start is high (input)
Count: 8-bit unsigned count (of the number of “5”s that have occurred since start went
low (output)
Overflow: Goes high if count overflows (count is unsigned, so you only need to monitor
the adder carry out) and stays high until start is re-asserted.

Any inputs or help is appreciated!!
 

This sure sounds like a homework problem that you want someone else to do for you...

Show some effort, dude.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…