Bitstream divisibility by 5

Status
Not open for further replies.

panny

Newbie level 1
Joined
Apr 17, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,285
It seems like a standard question to do a state machine for checking a (infinite) bit stream's divisibility by 5. When the stream comes MSB first, it seems trivial to do it with 5 states, each state representing modulo 5... Is there any way to do it if the LSB came first?
 

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