background image

IGLOO2 FPGA Adaptive FIR Filter Demo Guide

Revision 2

11

CoreFIR

: CoreFIR IP is used in the Reloadable Coefficient mode to configure its coefficients on 

the fly. CoreFIR IP configuration is as follows:
– Version: 8.5.104
– Filter Type: Single rate fully enumerated
– No of taps: 8
– Coefficients type: Reloadable
– Coefficients bit width: 16 (signed)   
– Data bit width: 16 (signed)
– Filter structure: Transposed with no symmetry

TPSRAM IP

TPSRAM IP uses the following configurations:

Input signal data buffer 

Output signal buffer 

Output signal FFT real data buffer 

Output signal FFT imaginary data buffer 

CoreFFT

CoreFFT IP is used to generate the frequency spectrum of the filtered data. CoreFFT IP configuration is
as follows:

Version: 6.3.102

FFT Architecture: In place

FFT type: Forward

FFT Scaling: Conditional

FFT Transform Size: 256   

Width: 16

SYSRESET

SYSRESET IP provides the power-on reset signal.

OSC

OSC IP is configured as an RC oscillator to provide the 50 MHz signal to the CCC (clock conditioning
circuit), narrowband component y(n).

CCC

CCC IP is configured to provide a 100 MHz clock signal
For detailed SmartDesign implementation and resource usage summary, refer to 

"Appendix 1:

SmartDesign Implementation" on page 32

.

Table 2 • 

TPSRAM Configuration for Data Buffers

Buffer

Write Port

Read Port

Depth

Width

Depth

Width

FIR Input Signal

2048

8

1024

16

FIR Output Signal

1024

16

1024

16

FFT Output Real Signal

1024

16

1024

16

FFT Output Imaginary Signal 

1024

16

1024

16

Superseded

Summary of Contents for IGLOO 2

Page 1: ...June 2014 IGLOO2 FPGA Adaptive FIR Filter Demo Guide S u p e r s e d e d...

Page 2: ...A Adaptive FIR Filter Demo Guide Revision History Confidentiality Status This is a non confidential document Date Revision Change 11 June 2014 2 Second release 7 January 2014 1 First release S u p e r...

Page 3: ...ption 10 Setting Up the Demo Design 12 Programming the Demo Design 14 Setting Up the Device 15 Programming the Device 16 Running the Demo Design 19 Conclusion 31 Appendix 1 SmartDesign Implementation...

Page 4: ...devices FPGA designers System level designers References Microsemi Publications IGLOO2 FPGA Programming User Guide IGLOO2 FPGA System Controller User Guide IGLOO2 FPGA High Performance Memory Subsyste...

Page 5: ...n adaptive filters to update the filter coefficients The LMS algorithm has advantages over other algorithms because of its simplicity less computations and best performance in terms of the number of i...

Page 6: ...gnals that are not required refer to Figure 3 on page 8 In a linear prediction architecture the desired signal d n is same as the input signal x n and a delayed input x n is fed to the adaptive filter...

Page 7: ...the length of the filter number of taps k is the index variable The error is computed using the following equation e n d n y n EQ 2 where e n is the error signal d n is desired signal The filter coeff...

Page 8: ...ion 2 Figure 3 Input Spectrum of Narrow Band Signal Wide Band Signal Narrow band signal spectrum Frequency Amplitude Wide band signal Figure 4 Output Spectrum of Wide Band Signal Wide band signal spec...

Page 9: ...r further details refer to the Readme txt file Table 1 Design Requirements Design Requirements Description Hardware Requirements IGLOO2 Evaluation Kit FlashPro4 programmer USB A to Mini B cable Rev C...

Page 10: ...data from the Host PC Filter Control Controls the FIR filter and FFT operations It loads the filtered data to the corresponding output buffer and moves the FFT output data to the corresponding output...

Page 11: ...spectrum of the filtered data CoreFFT IP configuration is as follows Version 6 3 102 FFT Architecture In place FFT type Forward FFT Scaling Conditional FFT Transform Size 256 Width 16 SYSRESET SYSRES...

Page 12: ...on the IGLOO2 Evaluation Kit board as shown in Table 3 CAUTION While making the jumper connections the power supply switch SW7 must be switched off 2 Connect the Power supply to the J6 connector swit...

Page 13: ...the USB to UART bridge drivers are automatically detected This can be verified in the Device Manager of the Host PC The FTDI USB to UART converter enumerates four COM ports For USB 2 0 note down the...

Page 14: ...lled download and install the drivers from www microsemi com soc documents CDM_2 08 24_WHQL_Certified zip Programming the Demo Design The following steps describe how to program the demo design 1 Down...

Page 15: ...g Up the Device The following steps describe how to configure the device 1 Click Configure Device on the FlashPro GUI 2 Click Browse and navigate to the location where the IGL2_Adaptive_FIR_Filter stp...

Page 16: ...IGLOO2 FPGA Adaptive FIR Filter Demo 16 Revision 2 Programming the Device Figure 10 FlashPro Project Configured S u p e r s e d e d...

Page 17: ...2 17 The following steps describe how to program the device Click PROGRAM to start programming the device Wait until you get a message indicating that the RUN PASSED Adaptive FIR Filter Demo GUI Figur...

Page 18: ...ion protocol between the Host PC and the IGLOO2 Evaluation Kit The Adaptive FIR Filter Demo window consists of the following tabs Input Parameters Configures the serial COM port and signal generation...

Page 19: ...ile provided with the design files IGLOO2_Adaptive_FIR_Filter GUI IGL2_Adaptive_FIR_Filter exe The Adaptive FIR Filter Demo window is displayed refer to Figure 13 2 Serial Port Configuration The COM p...

Page 20: ...FIR Filter Demo 20 Revision 2 3 Signal Generation Enter the narrow band signal frequency as 2 MHz supported range is 1 MHz and 20 MHz and click Generate Refer to Figure 14 Figure 14 Signal Generation...

Page 21: ...daptive FIR Filter Demo window to the narrow band signal component and plots the combined signal Narrow band and Wide band FFT spectrum Refer to Figure 15 4 Click Start to load the input data 1k sampl...

Page 22: ...IGLOO2 FPGA Adaptive FIR Filter Demo 22 Revision 2 Figure 16 Adaptive FIR Filter Demo Start S u p e r s e d e d...

Page 23: ...he error data and its FFT data from the IGLOO2 device and plots as shown in Figure 17 The error signal plot shows the suppression of narrow band component from the signal and outputting wide band sign...

Page 24: ...ion 2 The narrow band signal component is suppressed gradually in the Error signal frequency spectrum This can be observed in the Error signal FFT plot as shown in Figure 18 Figure 18 Error Signal FFT...

Page 25: ...ck Compare to analyze the Input wide band data with the Output wide band data 7 A window displaying the comparison between the Input wide band and Output wide band is displayed refer to Figure 20 Figu...

Page 26: ...al output wide band signal with the input wide band signal refer to Figure 22 You can see that the narrow band interfering component is eliminated and the wide band signal is preserved in Error signal...

Page 27: ...e Error Signal plot 12 From the context sensitive pop up select the required option 13 It shows the different options as shown in Figure 24 The data can be copied saved and exported to CSV plot for an...

Page 28: ...Demo 28 Revision 2 14 The input signal and error signal values can be viewed in the Text Viewer tab Click on the Text Viewer tab and then click on the corresponding View shown in Figure 25 Figure 25...

Page 29: ...Text Viewer tab showing the Input Signal values 15 To save the Input Signal as a text file right click on the Input Signal window The Input Signal window displays different options as shown in Figure...

Page 30: ...IGLOO2 FPGA Adaptive FIR Filter Demo 30 Revision 2 16 Click Save Select OK to save the text file Figure 27 Text Viewer Input Signal Save Option S u p e r s e d e d...

Page 31: ...e features of the IGLOO2 device including mathblocks and how to use Microsemi IPs CoreFIR and CoreFFT for narrow band interference cancellation application using Adaptive filters This Adaptive FIR Fil...

Page 32: ...1 SmartDesign Implementation Adaptive FIR filter SmartDesign is shown in Figure 1 SmartDesign LMS_FIR_TOP is shown in Figure 2 Figure 1 Adaptive FIR Filter SmartDesign Figure 2 SmartDesign LMS_FIR_TO...

Page 33: ...IR and FFT operations 3 LMS_FIR_TOP SmartDesign 4 INPUT_Buffer FIR input signal data buffer OUTPUT_Buffer FIR output signal buffer FFT_Im_Buffer FFT output imaginary data buffer FFT_Re_Buffer FFT outp...

Page 34: ...ble 3 shows RAM1Kx18 blocks usage summary Table 1 Adaptive FIR Filter Demo Resource Usage Summary Type Used Total Used vs Total in Percentage COMB 2978 12084 24 64 SEQ 2903 12084 24 02 RAM1Kx18 11 21...

Page 35: ...h revision of the chapter in the demo guide Date Changes Page Revision 2 June 2014 Updated the document for Libero v11 3 software release SAR 56264 NA The Theory of Operation section updated SAR 56264...

Page 36: ...rious FAQs So before you contact us please visit our online resources It is very likely we have already answered your questions Technical Support Visit the Customer Support website www microsemi com s...

Page 37: ...soc_tech microsemi com or contact a local sales office Sales office listings can be found at www microsemi com soc company contact default aspx ITAR Technical Support For technical support on RH and...

Page 38: ...emiconductor and system solutions for communications defense and security aerospace and industrial markets Products include high performance and radiation hardened analog mixed signal integrated circu...

Reviews: