hi!hw 2 design a counter that counts the number of times the number “5†appears?

Status
Not open for further replies.

cutesue

Newbie level 5
Joined
Jan 14, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,338
the conditions given are:
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.
 

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