Altera_Forum
Honored Contributor
9 years agoAccumulator in IP and RTL timing errors
Hello, I've implemented accumulator that computes the sum of 19-bit incoming data samples magnitudes for particular period of time to 33-bit bus.
I use RTL: always @ (posedge clk) if (frame) accum <= 33’h0; else accum <= accum + magnitude; The functional simulation works fine but the in Quartus I got -14 ns timing error for setup time. I target Arria5. The clock rate is 122 MHz. I also tried to implement the same function using ALTERA_MULT_ADD IP and got even worse timing error: -20 ns instead of -14 ns. What Altera IP I should use to be able to meet timing? Thanks, Mike