Forum Discussion
Altera_Forum
Honored Contributor
10 years agoComparison between old value and new value
Hi All, Its a very simple question but I am unable to do that. Below is my code. I want to store signal data_o_new to signal data_o_old and then compare these signals with each other and do inc...
Altera_Forum
Honored Contributor
10 years agoHi mikedsouze,
thanks for the reply... your idea is good about latching but you didn't assign new value to old value anywhere. This assignment is necessary because I need to take the new value and hold it into a signal until new value changes. And yes new value is not changing at every cycle but it is coming on every cycle with constant value.