Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

How to compare input value to previous value by number of counts

Hello all, I have a module takes in input [15:0] in and I want to compare this new input to my previous value by number of counts. module _update(input clk, input [15:0] in, ....) reg ...