
Altera Corporation
7–5
September 2004
Stratix Device Handbook, Volume 2
Implementing High Performance DSP Functions in Stratix & Stratix GX Devices
Most DSP applications require local data storage for intermediate
buffering or for filter storage. The TriMatrix memory blocks enable
efficient use of available resources for each application.
The M512 and M4K memory blocks can implement shift registers for
applications, such as multi-channel filtering, auto-correlation, and cross-
correlation functions. Implementing shift registers in embedded memory
blocks reduces logic cell and routing resource consumption.
f
For more information on TriMatrix memory blocks, see the TriMatrix
Embedded Memory Blocks in Stratix & Stratix GX Devices chapter.
DSP Function
Overview
The following sections describe commonly used DSP functions. Each
section illustrates the implementation of a basic DSP building block,
including FIR and IIR filters, in Stratix and Stratix GX devices using DSP
blocks and TriMatrix memory blocks.
Finite Impulse
Response (FIR)
Filters
This section describes the basic theory and implementation of basic FIR
filters, time-domain multiplexed (TDM) FIR filters, and interpolation and
decimation polyphase FIR filters. An introduction to the complex FIR
filter is also presented in this section.
EP1S30
295
171
4
EP1S40
384
183
4
EP1S60
574
292
6
EP1S80
767
364
9
Table 7–5. TriMatrix Memory Resources in Stratix GX Devices
Device
M512
M4K
M-RAM
EP1SGX10C
94
60
1
EP1SGX10D
94
60
1
EP1SGX25C
224
138
2
EP1SGX25D
224
138
2
EP1SGX25F
224
138
2
EP1SGX40D
384
183
4
EP1SGX40G
384
183
4
Table 7–4. TriMatrix Memory Resources in Stratix Devices (Part 2 of 2)
Device
M512
M4K
M-RAM