Theoretically, the simplest way to detect whether a signal has changed is to directly compare the current value Value(T) with the last clock cycle value Value(T-1). Thus, we just need to delay/save the value from last clock cycle using one register.

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.