You are on page 1of 3

IIR

Second-Order IIR Digital Filter Macro (IIR)

SERIAL SERIAL
YIN YOUT
DATA DATA
INPUT OUTPUT

IIR
FPGA Digital
CLK
Filter
R

Application
INIT ID1 ID2 ID3 ID4 ID5
Note
TIMING SIGNALS
IIR

• Variable coefficient-type design Design Statistics for “IIR”


• Coefficient update in real-time via
Utilization Summary Utilized
partial dynamic reconfiguration
• Cascadable for higher order filter Speed (MHz) 65.2
requirements Delay (ns) 15.3
• Bit-Serial Digital Signal Processing
• 5M-Samples/second - maximum Cells 528
sample rate Size (x * y) 34 x 41
Gates (ASIC) 2244
Power (mA/MHz) 0.65

The second-order IIR Digital Filter macro This is another unique benefit of Atmel
consists of five serial-parallel multipliers FPGAs.
with coefficient storage, delay shift-regis- The serial-parallel multipliers (SPM) are
ters, and the carry-save adders as produced by the Component Generator,
shown in the diagram. The coefficients which allows specification of coefficient
are stored as constant cells in the Atmel word-width and data representation for-
AT6000 FPGA architecture. This pro- mat (signed or unsigned). The resulting
vides the compact and efficient storage SPM hard macro can be used repeat-
of a fixed-coefficient scheme but is vari- edly with identical performance. Carry-
able in real-time through the use of save adders (CSADDI) are used to sum
Cache-Logic™ (dynamic partial reconfig- the feed-forward and feedback sections
uration of the FPGA). Any one or more of the filter, implementing a standard
of the coefficients can be modified by canonical form of the IIR function. Bit-
sending the appropriate bit-stream(s) to serial arithmetic units layout in fine-grain
the FPGA. While the updates occur, the FPGA architectures very efficiently.
filter continues to operate undisturbed as Using the cell-to-cell interconnection 0836A-A–9/97
does the rest of the circuitry in the array.

1
permits excellent device utilization coupled with high-speed QuickChange
performance. In support of the CacheLogic capability, Atmel has devel-
The balance of the IIR filter elements are the word delay oped QuickChange™, a multi-parameter specification soft-
stages, that are implemented as shift registers, and the ware tool that allows the designer to interactively specify
coefficient storage. The SPM and other bit-serial arithmetic multiple parameters for digital filters, convolvers, and other
functions usually have a latency of one-bit time. Delay compute-oriented hardware. After completing the design
stages compensate for this latency by providing additional with an initial set of parameters, the designer simply
bit-time delays in addition to the product delay. The total invokes QuickChange from the Atmel design environment.
delay-storage requirements will vary depending on the filter QuickChange searches the design for filter coefficients or
architecture, internal precision, and output overflow other parameters, logically groups them and displays them
requirements. In this example, we are summing the out- in a graphical user-interface. The designer can then spec-
puts from the feed-forward section using the carry-save ify as many replacement sets of parameters as desired.
adders. This adder tree has two levels of bit-serial adders The QuickChange tool then generates the FPGA bit-
and a latency of 2 clock-cycles. The feedback section uses streams for each new parameter or sets of parameters.
two levels of carry-save adders as well and also has a These small bitstream files, called “windowed” bit-streams,
latency of 2 clock-cycles. The total delay word-length stor- partially reconfigure the FPGA without affecting the opera-
age used is 20 bits, allowing ample precision for summa- tion of existing logic.
tion overflow.
Control of the filter is achieved by generating an initializa-
tion signal at each new sample time. This single clock-
cycle wide pulse is delivered to the filter as the LSB of each
sample is presented to the multipliers. This signal insures
that the carry signals are reset at the beginning of each
process cycle. Delayed versions of this signal are input to
the carry-save adders, initializing stage in the adder trees.

2 IIR
IIR

COEFFICIENT STORAGE

SERIAL DATA XIN INIT


INPUT SERIAL-PARALLEL
MULTIPLIER YOUT
YIN
CSADDI
X CSADDI

COEFFICIENT STORAGE Y SUM X


CLK Y SUM
R INIT CLK
XIN YOUT R INIT
SERIAL-PARALLEL
MULTIPLIER ID1
SHIFT REGISTER YIN INIT ID2

COEFFICIENT STORAGE
SERIAL DATA
CSADDI OUTPUT
AND
XIN INIT X
SERIAL-PARALLEL Y SUM
MULTIPLIER YOUT CLK
SHIFT REGISTER YIN D Q
ID1 R INIT
R
ID3

COEFFICIENT STORAGE

XIN ID4
SERIAL-PARALLEL
MULTIPLIER YOUT
YIN
CSADDI
X
COEFFICIENT STORAGE Y SUM SHIFT REGISTER
CLK
XIN R INIT
YOUT
SERIAL-PARALLEL
MULTIPLIER ID5
SHIFT REGISTER YIN ID4

2nd- Order IIR Filter


Direct-Form 1

You might also like