Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thanks, but this doesn't work for 25 (11001), 35 (100011), 45 (101101), and so on... How can we come up with a solution that works for infinite stream of bits?
No I'm asking how you can come up with the fsm. If you are asked to create an fsm, how would you do it?
for msb first, we use the states to remember what remainder we are at for each new bit we get.
for lsb first, what is the strategy?
If a stream of bits come in lsb first, how do we detect if a number is divisible by 5? I can figure out the fsm if msb comes in first by keep track of the remainder.
One such solution is attached for lsb first. Can someone explain how this fsm works?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.