Altera CIC MegaCore Function Uživatelský manuál Strana 23

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 30
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 22
Generally, only equalize the response in the passband, but you can sample further than the passband to
fine tune the cascaded response of the filter chain.
The CIC IP core generates a MATLAB script <variation_name>_fir_comp_coeff.m in the project directory.
You can run this script in MATLAB to generate FIR coefficients that provide appropriate passband
equalization. The generated coefficients are saved in a text file, for use by the Altera FIR Compiler
MegaCore function.
The MATLAB script requires the following parameters for the compensation FIR filter:
L: FIR filter length, which is same as the number of taps or the number of coefficients
F
S:
FIR filter sample rate in Hz before decimation/interpolation
F
C
: FIR filter cutoff frequency in Hz
B: Coefficient bit width if coefficients are written in fixed-point numbers
Figure 3-6: CIC and Compensation Filter Responses
Related Information
AN455: Understanding CIC Compensation Filters
CIC IP Core Parameters
Table 3-2: CIC IP Core Parameters
Parameter Value Description
Filter Specification
Filter type Decimator,
Interpolator
Selects a decimator or interpolator.
UG-CIC
2014.12.15
CIC IP Core Parameters
3-7
CIC IP Core Functional Description
Altera Corporation
Send Feedback
Zobrazit stránku 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 29 30

Komentáře k této Příručce

Žádné komentáře