Example Code

IQ Fractional Resampler (Upsampling)

This IP is a part of LabVIEW FPGA RF Communications Library available on NI Labs.

This example resamples IQ signal at fractional interpolation rates between 1 and 2.

The details of the IP are as follows:

1. Filter details:

Filter type: Multirate FIR low pass Filter

Passband= 0 to 0.4Fs (Fs= input sampling rate)

Transition band= 0.4 Fs to 0.6Fs

Passband ripple= 0.001 dB

Stopband attenuation= 85 dB

Interpolation factor= 128

2.  Resampling rate= (Input sampling rate * Interpolation rate) <= clock rate/2

</p>

3. Maximum clock rate= 57MHz

4. Device utilization summary of the IP:

Number of BUFGMUXs             6 out of 16       37%

Number of External IOBs      371 out of 556      66%

Number of MULT18X18s          54 out of 136      39%

Number of RAMB16s             27 out of 136      19%

Number of SLICEs            3903 out of 13696    28%

Other requirments: Fixed point math library for LabVIEW FPGA

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Mauricio Capistran-Garza
NI Employee (retired)
on

It's great to see some IP for the NI-5640R

Contributors