This demo is for IGLOO®2 field programmable gate array (FPGA) devices. It provides instructions on
how to use the corresponding reference design.
1.2Intended Audience
This demo guide is intended for:
•FPGA designers
•System-level designers
1.3References
The following documents are referred in this demo guide:
•UG0451: IGLOO2 FPGA and SmartFusion2 SoC FPGA Programming User Guide
•UG0450: SmartFusion2 SoC FPGA and IGLOO2 FPGA System Controller User Guide
•UG0448: IGLOO2 FPGA High Performance Memory Subsystem User Guide
Refer to the following web page for a complete and up-to-date listing of IGLOO2 device documentation: http://www.microsemi.com/products/fpga-soc/fpga/igloo2docs.
Revision 65
IGLOO2 FPGA DSP FIR Filter
2IGLOO2 FPGA DSP FIR Filter
2.1Introduction
The IGLOO2 FPGA devices integrate a fourth generation flash-based FPGA fabric architecture, which
includes embedded mathblocks optimized specifically for digital signal processing (DSP) applications
such as, finite impulse response (FIR) filters, infinite impulse response (IIR) filters, and fast fourier
transform (FFT) functions.
This demo shows a DSP FIR filter application using the IGLOO2 device. In this DSP FIR filter application,
the host interface and the FIR filter are implemented in the fabric for low-pass, high-pass, band-pass, and
band-reject filtering operations. A user-friendly graphical user interface (GUI) generates the filter
coefficients, input signals (pass-band frequency and stop-band frequency), and also plots the input or
output waveforms, and the required spectrum. Microsemi CoreFIR filter IP is used to suppress the
unwanted frequency components, and CoreFFT IP is used to generate the output spectrum to verify the
filtering operation.
Figure 1 shows the top-level diagram for the DSP FIR filter demo.
Figure 1 • Top-Level Diagram of DSP FIR Filter Demo
Revision 66
IGLOO2 FPGA DSP FIR Filter
'HVLJQ)LOHV
3URJUDPPLQJ)LOHV
,*/B),5B),/7(5B')
GRZQORDGBIROGHU!
*8,
5HDGPHW[W
2.2Design Requirements
Table 1 lists the hardware and software requirements.
Table 1 • Design Requirements
Design RequirementsDescription
Hardware Requirements
IGLOO2 Evaluation Kit:
• FlashPro4 programmer
• USB A to Mini-B cable
Host PC or LaptopWindows 7 64-bit Operating System
Software Requirements
®
Libero
FlashPro Programming Software v11.7
Host PC DriversUSB to UART drivers
FrameworkMicrosoft .NET Framework 4 Client for launching demo GUI
system-on-chip (SoC) v11.7
Rev C or later
2.3Demo Design
2.3.1Introduction
The design files are available for download from the following path in the Microsemi website:
Figure 2 shows the top-level structure of the design files. Refer to the Readme.txt file provided in the
demo file folder for the complete directory structure.
Figure 2 • Demo Design Files Top-Level Structure
Revision 67
IGLOO2 FPGA DSP FIR Filter
'DWD+DQGOH
)LOWHU&RQWURO
)60
),5,1%XIIHU),5287%XIIHU),55HDO%XIIHU
))7,PDJLQDU\
%XIIHU
&RUH),5&RUH))7
&RHI
2.3.2Demo Design Description
This demo design uses the following blocks:
•Data Handle (user RTL)
•Filter Control (user RTL)
•TPSRAM IP (IPcore)
•CoreUART(IPcore)
•CoreFIR (IPcore)
•CoreFFT (IPcore)
•SYSRESET (IPcore)
•OSC (IPcore)
•CCC (IPcore)
Figure 3 shows the detailed block diagram of the demo design.
Figure 3 • DSP FIR Filter Demo Design Block Diagram
2.3.2.1Data Handle
Data handle consists of the Core UART IP and the UART interface finite state machine handling the
control operations between the host PC (GUI interface) and the fabric logic. Control operations include
the loading of filter coefficients, filter input data to the corresponding input data buffer, coefficient buffers,
and send and receive data from the Host PC GUI.
2.3.2.2Filter Control
Controls the FIR filter and the FFT operations. It loads the filtered data to the corresponding output buffer
and moves the FFT output data to the corresponding output data buffer.
Revision 68
IGLOO2 FPGA DSP FIR Filter
2.3.2.3TPSRAM IP
TPSRAM IP uses the following configurations:
•Filter coefficient buffer
•Input signal data buffer
•Output signal buffer
•Output signal FFT real data buffer
•Output signal FFT imaginary data buffer
Table 2 • TPSRAM Configuration for Data Buffers
BufferWrite PortRead Port
DepthWidthDepthWidth
Filter Coefficients6483216
FIR Input Signal20488102416
FIR Output Signal102416102416
FFT Output Real Signal2561625616
FFT Output Imaginary Signal 2561625616
2.3.2.4CoreUART
The Core UART IP is used to transfer the data between the host PC (GUI) and IGLOO2. The Core UART
configuration is as follows:
•Version: 5.5.101
•TxFIFO: Disable TxFIFO
•RxFIFO: Disable RxFIFO
•RxLegacyMode: Disable
•Baud rate: 115200
•Number of bits: 8
•Stop bits: 1
•Parity: None
2.3.2.5CoreFIR
The Core FIR IP is used in the Reloadable coefficient mode to support Low-pass, High-pass, Band-pass,
and Band-reject filters. The Core FIR IP configuration is as follows:
•Version: 8.6.101
•Filter Type: Single rate fully enumerated
•Number of Taps: 31
•Coefficients Type: Reloadable
•Coefficients Bit Width: 16(signed)
•Data Bit Width: 16 (signed)
•Filter Structure: Transposed with symmetry
2.3.2.6CoreFFT
The Core FFT IP is used for generating the frequency spectrum of the filtered data. Core FFT IP
configuration is as follows:
•Version: 6.4.105
•FFT Architecture: In place
•FFT Type: Forward
•FFT Scaling: Conditional
•FFT Transform Size: 256
•Width: 16
Revision 69
IGLOO2 FPGA DSP FIR Filter
2.3.2.7SYSRESET
The SYSRESET IP provides the power on reset signal.
2.3.2.8OSC
The OSC IP is configured as an RC oscillator to provide the 50 MHz signal to the clock conditioning
circuit (CCC).
2.3.2.9CCC
The CCC IP is configured to provide a 150 MHz clock signal. For detailed smart design implementation
and resource usage summary, refer to "Appendix: SmartDesign Implementation" on page 30.
2.4Setting Up the Demo Design
The following steps describe how to setup the hardware demo:
1.Connect the jumpers on the IGLOO2 Evaluation Kit board, as shown in Ta bl e 3 .