Home / Learn Verilog / Accumulator
Accumulator
Running sum register.
In shortRunning sum register.
What's actually going on
In plain terms
An accumulator adds each input to a stored total.
Why we use it
DSP and counters.
Under the hood
acc <= acc + x.
Real-world use
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Running totalVerilog: edit and run
5 additions of 5 = 25.
Quick quiz
1. Accumulator output equals...
Sum so far.