preethi19
Full Member level 5

Hi can anybody please tell me the difference between an accumulator and a counter. I thought an accumulator is a same as a counter until i came across this link... https://fpga-dsp-scratch.blogspot.ca/2008/08/vhdl-part-25-accumulator.html
Its told that "A counter increments a signal or variable only by 1. With accumulator I can increment a signal/variable with any number". But how is that a counter can increment only by 1... suppose when incrementing a binary no i can increment it by 00010 rather than just 00001 all the time... so now the counter is incrementing by 10. So isnt counter same as accumulator we we can increment it with any value... in the end everything is in binary only right... can anyone please clear my doubt... thank you!!!!
Its told that "A counter increments a signal or variable only by 1. With accumulator I can increment a signal/variable with any number". But how is that a counter can increment only by 1... suppose when incrementing a binary no i can increment it by 00010 rather than just 00001 all the time... so now the counter is incrementing by 10. So isnt counter same as accumulator we we can increment it with any value... in the end everything is in binary only right... can anyone please clear my doubt... thank you!!!!