Forum Discussion

Ono's avatar
Ono
Icon for New Contributor rankNew Contributor
4 years ago

Fractional mode of altera_fir_compiler_ii

altera_fir_compiler_ii version 18.0
What is the configuration in Fractional mode?
Is "Up sampling→LPF→Down sampling"?

In the Frequency Response (Magnitude) graph of the cofficients tag,
It is displayed as an FS value after Down sampling.

4 Replies

  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    When you choose fractional rate, it allows you to configure both interpolation factor and decimation factor for either up or down sampling conversion.


    Regards -SK


    • Ono's avatar
      Ono
      Icon for New Contributor rankNew Contributor

      For example, Interpolation 3
      If the decimation is 2,

      LPF processing is performed before decimation (Up sampling → LPF → Down sampling) and after (Up sampling → Down sampling → LPF).

      Which will you be?

  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor

    The decimation is deleting the sample, where the Interpolation is adding zero between the sample.

    The LPF only processing once, and the output will be deleting the sample (as per decimation factor), and then adding zero (as per interpolation factor).

    You may perform the RTL simulation to understand the behaviour in detail.


  • SengKok_L_Intel's avatar
    SengKok_L_Intel
    Icon for Regular Contributor rankRegular Contributor

    If further support is needed in this thread, please post a response within 15 days. After 15 days, this thread will be transitioned to community support. The community users will be able to help you with your follow-up questions.