Forum Discussion
Altera_Forum
Honored Contributor
13 years agoto avoid complexity make counter o to 1023.
it looks ok except that you need the running average be enabled when count = 0 only i.e. include all that in the else section. if count /= 0 ... else ... your running averager here... end if;