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 agohm... have you seen generated RTL? it seems you need one or two more registers. does new value arrive every clock-cycle ?
is it just wire in synthesisdata_o_old <= data_o_new;
data_o <= data_o_old;