Digital Signal Processing Basics

An FIR filter output is computed for every sample at a sampling frequency of 48 kHz on a processor clocked at 200 MHz that performs one multiply-accumulate per cycle. Ignoring the time for other processing, which of the following is closest to the maximum number of taps that can be processed in real time?

  1. AAbout 2,080 taps
  2. BAbout 4,170 taps
  3. CAbout 8,330 taps
Show answer and explanation

Answer: B. About 4,170 taps

The time available per sample is 1/48000 ≈ 20.8 µs, which is 200 MHz ÷ 48 kHz ≈ 4167 clock cycles. At one MAC per cycle, about 4,170 taps can be computed. If this time is exceeded, the output is not ready before the next sample arrives and real-time processing breaks down, so in practice designs leave a margin for interrupts, data transfers and the like.

  • A. This assumes one cycle each for the multiplication and the addition (4167 ÷ 2). This processor performs a MAC in one cycle.
  • B. Correct. 200 MHz ÷ 48 kHz ≈ 4167 cycles.
  • C. This divides by the Nyquist frequency of 24 kHz instead of the sampling frequency (200 MHz ÷ 24 kHz).
Practice this topic Back to topic

Books on Digital Signal Processing Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Digital Signal Processing Basics questions

  1. In an FIR filter computation, products of 16-bit fixed-point data and coefficients are represented in 32 bits, and 256 of these products are added up. Which of the following is the minimum accumulator width that guarantees no overflow during the computation?
  2. A 6 kHz sine wave is sampled at a sampling frequency of 48 kHz. Which of the following is the normalized angular frequency ω (the phase advance per sample) of the resulting discrete-time signal?
  3. Which of the following is the fundamental period (the smallest positive integer N such that x[n + N] = x[n] for every integer n) of the discrete-time signal x[n] = cos(0.3πn)?
  4. Which of the following signals takes the same value as the discrete-time signal x[n] = cos(1.75πn) for every integer n?
  5. Which of the following correctly relates the unit impulse δ[n] (1 at n = 0, 0 elsewhere) and the unit step u[n] (1 for n ≥ 0, 0 for n < 0)?