Friday, July 10, 2009

Divided by N state machine

Design a state machine which can detect whether a number is divided by N(N can be any number 1 - 100 - big number)

Input is serial bit stream.

Eg: Say the state machine can detect "divided by 5" numbers.
I/P: 10101
O/P: 00110

Think in a generic manner(divided by N)

Gatesims

Why do we need gatelevel simulations, when we can confirm that the functionality is guaranteed using LEC and the timing paths are exercised through STA ?