Lattice Semiconductor Serial FIR Filter User’s Guide
5
Parameter Descriptions
User configuration parameters such as filter type, data width, number of taps and data type, which are config-
urable, are described in Table 1. These parameters are configured using IPexpress™, included with Lattice's
ispLEVER
®
design tools.
Table 1. Serial FIR Filter Parameter Definitions
Parameter Default Value Value Description
Filter Type
Single-Cycle Single-Cycle,
Multi-Cycle,
Decimation or
Interpolation
Type of filter selected by the user. This determines the rest
of the parameter options.
Data Width
8 bits Real: 4 to 32 bits
Complex: 4 to 16
bits
Width of input data (
w
) in bits. The width of the coefficients
is also equal to this parameter. For complex data types, the
Data Width
is equal to the width of the real part and the
range is from 4 to 16 bits.
Number of Taps
16 4 to 64 Number of taps (
n
) in the filter.
Computational Cycles
22 to 32 Number of cycles (
c
) for multi-cycle filters. Number of pro-
cessing cycles (PP) to perform the filtering process. The
output is computed once in
c
PPs.
Decimation Ratio
2 2 to 32 Decimation is downsampling of the bit stream. In a decima-
tion filter with decimation ratio ‘
d
’, the output data rate is
1/
d
of the input rate.
Interpolation Ratio
22 to 32 For interpolation filters. Interpolation is the reverse of deci-
mation. The input rate is 1/
u
of the output rate.
Rounding Method
Nearest Truncation or
Nearest
Types of rounding available.
Arithmetic Type
Signed Signed or
Unsigned
Specifies the type of arithmetic modules for the core. If the
symmetry of the core is even or odd, then the arithmetic
type is always signed.
Data Type
Real Real or Complex Specifies the data type of the inputs (
din
and
coeff
) and
the output (
dout
) of the Serial FIR core. When complex
data type
mode is selected, the arithmetic type is always
signed.
Complex I/O Mode
Parallel Parallel or Serial In the parallel I/O mode, real and imaginary parts are
applied on the data bus in the same clock cycle. In the
serial mode, real data is applied in the first PP cycles, fol-
lowed by the imaginary data in the next PP cycles.
Output Width
Full Precision 4 to 96 Width of output data (
w
) in bits. If the width is less than the
maximum output width determined by the core generator,
the outputs are scaled.
Coeffs Loadable
Run-time
Loadable
Fixed or Run-time
Loadable
Determines if the coefficients are run-time loadable. If the
coefficients are run-time loadable, the core has two addi-
tional input
ports
,
coeff
and
loadc
, for loading purposes.
If the coefficients are fixed during core configuration, no
additional input ports are used.
Coefficients Format
Hexadecimal Hexadecimal or
Decimal
The coefficient values can be entered in either in hexadec-
imal or decimal format.
Symmetricity
Even None, Even, or
Odd
Specifies the impulse response of the filter. Even Sym-
metricity applies to symmetric impulse response, while
Odd Symmetricity applies to anti-symmetric impulse
response. Decimation and Interpolation filters do not have
Symmetricity (the value None should be selected). If the
Symmetricity of the core is even or odd, then the arithmetic
type is always signed.