FIR Compiler User Guide

1y ago
20 Views
3 Downloads
2.30 MB
76 Pages
Last View : 27d ago
Last Download : 3m ago
Upload by : Braxton Mach
Transcription

FIR CompilerUser Guidec The FIR Compiler is scheduled for product obsolescence and discontinued support asdescribed in PDN1306. Therefore, Altera does not recommend use of this IP in newdesigns. For more information about Altera’s current IP offering, refer to Altera’sIntellectual Property website.101 Innovation DriveSan Jose, CA 95134www.altera.comDownloaded from Arrow.com.Software Version:Document Date:11.0May 2011

Copyright 2011 Altera Corporation. All rights reserved. Altera, The Programmable Solutions Company, the stylized Altera logo, specific device designations, and all otherwords and logos that are identified as trademarks and/or service marks are, unless noted otherwise, the trademarks and service marks of Altera Corporation in the U.S. and othercountries. All other product or service names are the property of their respective holders. Altera products are protected under numerous U.S. and foreign patents and pending applications, maskwork rights, and copyrights. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera's standard warranty,but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use ofany information, product, or service described herein except as expressly agreed to in writing by Altera Corporation. Altera customers are advised to obtain the latest version ofdevice specifications before relying on any published information and before placing orders for products or services.UG-FIRCOMPILER 11.0Downloaded from Arrow.com.

ContentsChapter 1. About the FIR CompilerFeatures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3Release Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4Device Family Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5MegaCore Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–6Performance and Resource Utilization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–6Installation and Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–8OpenCore Plus Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–8OpenCore Plus Time-Out Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–9Chapter 2. Getting StartedDesign Flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1DSP Builder Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1MegaWizard Plug-In Manager Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2Parameterize the MegaCore Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–3Generate the MegaCore Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6Simulate the Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–8Simulating in ModelSim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–8Simulating in MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9Simulating in Third-Party Simulation Tools Using NativeLink . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9Compile the Design and Program a Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9Chapter 3. Parameter SettingsSpecifying the Coefficients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–1Using the FIR Compiler Coefficient Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–2Loading Coefficients from a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6Analyzing the Coefficients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8Specify the Input and Output Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–9Specify the Architecture Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–11Resource Estimates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–16Filter Design Tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–16Chapter 4. Functional DescriptionFIR Compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1Number Systems and Fixed-Point Precision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1Generating or Importing Coefficients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1Coefficient Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–2Symmetrical Architecture Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–3Symmetrical Serial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–3Coefficient Reloading and Reordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–4Structure Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6Multicycle Variable Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6Parallel Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6Serial Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–7Multibit Serial Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–7Multichannel Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–8 May 2011Downloaded from Arrow.com.Altera CorporationFIR Compiler User Guide

ivContentsInterpolation and Decimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–8Implementation Details for Interpolation and Decimation Structures . . . . . . . . . . . . . . . . . . . . . 4–10Availability of Interpolation and Decimation Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–11Half-Band Decimation Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–12Symmetric-Interpolation Filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–12Pipelining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–12Simulation Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–13Avalon Streaming Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–13Avalon-ST Data Transfer Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–14Packet Data Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–15Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–16Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–17Reset and Global Clock Enable Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–18Single Rate Filter Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–18Interpolation Filter Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–20Decimation Filter Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–21Coefficient Reloading Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–22Referenced Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–26Appendix A. FIR Compiler Supported Device StructuresSupported Device Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–1Support for HardCopy Series Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–3Compiling HardCopy Designs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–3Additional InformationRevision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Info–1How to Contact Altera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Info–2Typographic Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Info–2FIR Compiler User GuideDownloaded from Arrow.com. May 2011 Altera Corporation

1. About the FIR CompilerThis document describes the Altera FIR Compiler. The Altera FIR Compiler providesa fully integrated finite impulse response (FIR) filter development environmentoptimized for use with Altera FPGA devices.You can use the Altera IP Toolbench interface with the Altera FIR Compiler toimplement a variety of filter architectures, including fully parallel, serial, or multibitserial distributed arithmetic, and multicycle fixed/variable filters. The FIR Compilerincludes a coefficient generator.Traditionally, designers have been forced to make a trade-off between the flexibility ofdigital signal processors and the performance of ASICs and application-specificstandard product (ASSPs) digital signal processing (DSP) solutions. The Altera DSPsolution reduces the need for this trade-off by providing exceptional performancecombined with the flexibility of FPGAs.Figure 1–1 shows a typical DSP system that uses Altera IP cores, including the FIRCompiler and other DSP IP cores.Figure 1–1. Typical Modulator SystemOuter Encoding LayerInputDataFECReed SolomonEncoderConvolutionalInterleaverInner Coding pperFIR CompilerNLPFQNCOCompilerFIR CompilerNDACOutputDataLPFMany digital systems use signal filtering to remove unwanted noise, to providespectral shaping, or to perform signal detection or analysis. Two types of filters thatprovide these functions are finite impulse response (FIR) filters and infinite impulseresponse (IIR) filters. Typical filter applications include signal preconditioning, bandselection, and low-pass filtering.In contrast to IIR filters, FIR filters have a linear phase and inherent stability. Thisbenefit makes FIR filters attractive enough to be designed into a large number ofsystems. However, for a given frequency response, FIR filters are a higher order thanIIR filters, making FIR filters more computationally expensive. May 2011Downloaded from Arrow.com.Altera CorporationFIR Compiler User Guide

1–2Chapter 1: About the FIR CompilerThe structure of a FIR filter is a weighted, tapped delay line as shown in Figure 1–2.Figure 1–2. Basic FIR FilterxinZ -1C0Z -1Z -1C1C2TappedDelay LineZ -1C3CoefficientMultipliersAdder TreeyoutThe filter design process involves identifying coefficients that match the frequencyresponse specified for the system. These coefficients determine the response of thefilter. You can change the signal frequencies that pass through the filter by changingthe coefficient values or adding more coefficients.DSP processors have a limited number of multiply accumulators (MACs), and requiremany clock cycles to compute each output value (the number of cycles is directlyrelated to the order of the filter).A dedicated hardware solution can achieve one output per clock cycle. A fullyparallel, pipelined FIR filter implemented in an FPGA can operate at very high datarates, making FPGAs ideal for high-speed filtering applications.Table 1–1 compares resource usage and performance for different implementations ofa 120-tap FIR filter with a 12-bit data input bus.Table 1–1. FIR Filter Implementation Comparison (Note 1)DeviceClock Cycles toCompute ResultImplementationDSP processor1 MAC120FPGA1 serial filter121 parallel filter1Note to Table 1–1:(1) If you use the FIR Compiler to create a filter, you can also implement a variable filter in a FPGA that uses from 1to 120 MACs, and 120 to 1 clock cycles.The Altera FIR Compiler speeds the design cycle by:FIR Compiler User GuideDownloaded from Arrow.com. Generating the coefficients needed to design custom FIR filters. Generating bit-accurate and clock-cycle-accurate FIR filter models (also known asbit-true models) in the Verilog HDL and VHDL languages and in the MATLABenvironment. May 2011 Altera Corporation

Chapter 1: About the FIR CompilerFeatures1–3 Automatically generating the code required for the Quartus II software tosynthesize high-speed, area-efficient FIR filters of various architectures. Generating a VHDL testbench for all architectures.Figure 1–3 compares the design cycle using a FIR Compiler with a traditionalimplementation.Figure 1–3. Design Cycle ComparisonFIR Compiler FlowTraditional FlowDefine & Design ArchitecturalBlocksDefine & Design ArchitecturalBlocksFIR FilterDesign6 WeeksDetermine BehavioralCharacteristics of FIR FilterFIR Filter Design1 DayCalculate Filter Coefficients(MATLAB)Specify Filter Characteristicsto FIR Compiler Megafunction(FIR Compiler Assists in Area/Speed Tradeoff)Determine Hardware FilterArchitectureSimulateDesign Structural or SynthesizableFIR FilterSynthesize & Place & RouteSimulateSynthesize & Place & RouteArea/Speed TradeoffFeaturesThe Altera FIR Compiler implements a finite impulse response (FIR) filter MegaCorefunction and supports the following features: May 2011Downloaded from Arrow.com.The following hardware architectures are supported to enable optimal trade- offsbetween logic, memory, DSP blocks, and performance: Fully parallel distributed arithmetic Fully serial distributed arithmetic Multibit serial distributed arithmetic Multicycle variable structures Exploit maximal efficiency designs as a result of FIR Compiler hardwareoptimizations such as interpolation, decimation, symmetry, decimation half-band,and time sharing. Easy system integration using Avalon Streaming (Avalon-ST) interfaces.Altera CorporationFIR Compiler User Guide

1–4Chapter 1: About the FIR CompilerRelease Information Precision control of chip resource utilization: Logic cells, M512, M4K, M-RAM, MLAB, M9K, or M144K for data storage. M512, M4K, M9K, M20K, MLAB or logic cells for coefficient storage. Includes a resource estimator. Support for run-time coefficient reloading capability and multiple coefficient sets. Includes a built-in coefficient generator to enable efficient design spaceexploration. User-selectable output precision via rounding and saturation. DSP Builder ready.Release InformationTable 1–2 provides information about this release of the Altera FIR Compiler.Table 1–2. FIR Compiler Release InformationItemVersionRelease DatefDescription11.0May 2011Ordering CodeIP-FIRProduct ID0012Vendor ID6AF7For more information about this release, refer to the MegaCore IP Library Release Notesand Errata.Altera verifies that the current version of the Quartus II software compiles theprevious version of each MegaCore function. The MegaCore IP Library Release Notesand Errata report any exceptions to this verification. Altera does not verifycompilation with MegaCore function versions older than one release.FIR Compiler User GuideDownloaded from Arrow.com. May 2011 Altera Corporation

Chapter 1: About the FIR CompilerDevice Family Support1–5Device Family SupportTable 1–3 defines the device support levels for Altera IP cores.Table 1–3. Altera IP Core Device Support LevelsFPGA Device FamiliesHardCopy Device FamiliesPreliminary support—The IP core is verified withpreliminary timing models for this device family. The IPcoremeets all functional requirements, but might still beundergoing timing analysis for the device family. It can beused in production designs with caution.HardCopy Companion—The IP core is verified withpreliminary timing models for the HardCopy companiondevice. The IP core meets all functional requirements, butmight still be undergoing timing analysis for the HardCopydevice family. It can be used in production designs withcaution.Final support—The IP core is verified with final timingmodels for this device family. The IP core meets allfunctional and timing requirements for the device family andcan be used in production designs.HardCopy Compilation—The IP core is verified with finaltiming models for the HardCopy device family. The IP coremeets all functional and timing requirements for the devicefamily and can be used in production designs.Table 1–4 shows the level of support offered by the FIR Compiler to each Alteradevice family.Table 1–4. Device Family SupportDevice Family May 2011Downloaded from Arrow.com.SupportArria GXFinalArria II GXFinalArria II GZFinalCyclone FinalCyclone IIFinalCyclone IIIFinalCyclone III LSFinalCyclone IV GXFinalHardCopy IIHardCopy CompilationHardCopy IIIHardCopy CompilationHardCopy IV EHardCopy CompilationHardCopy IV GXHardCopy CompilationStratixFinal Stratix IIFinalStratix II GXFinalStratix IIIFinalStratix IV GTFinalStratix IV GX/EFinalStratix VPreliminaryStratix GXFinalOther device familiesNo supportAltera CorporationFIR Compiler User Guide

1–6Chapter 1: About the FIR CompilerMegaCore VerificationMegaCore VerificationBefore releasing an updated version of the FIR Compiler, Altera runs a comprehensiveregression test to verify its quality and correctness.All features and architectures are tested by sweeping all parameter options andverifying that the simulation matches a master functional model.Performance and Resource UtilizationThis section shows typical expected performance for a FIR Compiler MegaCorefunction with Cyclone III and Stratix IV devices. All figures are given for a FIR filterwith 97 taps, 8-bit input data, 14-bit coefficients, a target fMAX set to 1 GHz.1Cyclone III devices use combinational look-up tables (LUTs) and logic registers;Stratix IV devices use combinational adaptive look-up tables (ALUTs) and logicregisters.The resource and performance data was generated with the source ready signal(ast source ready) always driven high, as described in “Avalon StreamingInterface” on page 4–13.Table 1–5 shows performance figures for Cyclone III devices:Table 1–5. FIR Compiler Performance—Cyclone III Devices (Part 1 of essingEquivalent(GMACs) 83717Memory (6)CombinationalLUTsLogicRegistersBitsMultibit Serial, pipeline level 1 (2), (3)8991,33155,148Multicycle variable (1 cycle) decimation by 4, pipeline level 1 (2), (3)8571,3361,15812Multicycle variable (1 cycle) interpolation by 4, pipeline level 2 (4)1,5282,65766Multicycle variable (1 cycle), pipeline level 2 (2), (4)2,5434,83792Multicycle variable (4 cycle), pipeline level 2 (2), (3)1,182FIR Compiler User GuideDownloaded from Arrow.com.1,715578 May 2011 Altera Corporation

Chapter 1: About the FIR CompilerPerformance and Resource Utilization1–7Table 1–5. FIR Compiler Performance—Cyclone III Devices (Part 2 of ACs) (1)Memory lel (LE), pipeline level 1(2), (3)3,4163,715Parallel (M9K), pipeline level 1 (2), (5)1,9482,155120,030Serial (M9K), pipeline level 1 (2), (3)32746214,167Notes to Table 1–5:(1) GMAC giga multiply accumulates per second (1 giga 1,000 million).(2) This FIR filter takes advantage of symmetric coefficients.(3) Using EP3C10F256C6 devices.(4) Using EP3C16F484C6 devices.(5) Using EP3C40F780C6 devices.(6) It may be possible to significantly reduce memory utilization by setting a lower target fMAX.Table 1–6 shows performance figures for Stratix IV devices:Table 1–6. FIR Compiler Performance—Stratix IV nt(GMACS) 458—45745744118—523586BitsMultibit Serial, pipeline level 1 (2), (3), (4)7661,16655,276Multicycle variable (1 cycle) decimation by 4, pipeline level 1 (2), (3)3368441,4001628Multicycle variable (1 cycle) interpolation by 4, pipeline level 2 (3)2001,27464—Multicycle variable (1 cycle), pipeline level 2 (2), (3)7411,9361481Multicycle variable (4 cycle), pipeline level 2 (2), (3)7171,398796Parallel (LE), pipeline level 1 (2), (3)2,1532,672Parallel (M9K), pipeline level 1 (3)8211,730Serial (M9K), pipeline level 1 (2), (3)24541514,231Notes to Table 1–6:(1) GMAC giga multiply accumulates per second (1 giga 1,000 million).(2) This FIR filter takes advantage of symmetric coefficients.(3) Using EP4SGX70DF29C2X devices.(4) The data width is 16-bits and there are 4 serial units. May 2011Downloaded from Arrow.com.Altera CorporationFIR Compiler User Guide

1–8Chapter 1: About the FIR CompilerInstallation and LicensingInstallation and LicensingThe FIR Compiler MegaCore function is part of the MegaCore IP Library, which isdistributed with the Quartus II software and downloadable from the Altera website,www.altera.com.fFor system requirements and installation instructions, refer to the Altera SoftwareInstallation and Licensing manual.Figure 1–4 shows the directory structure after you install the FIR Compiler, where path is the installation directory for the Quartus II software. The default installationdirectory on Windows is c:\altera\ version and on Linux is /opt/altera version .Figure 1–4. Directory Structure path Installation directory.ipContains the Altera MegaCore IP Library and third-party IP cores.alteraContains the Altera MegaCore IP Library.commonContains shared components.fir compilerContains the FIR Compiler MegaCore function files.libContains encrypted lower-level design files.miscContains the coef seq program which calculates and re-orders coefficients for reloading.OpenCore Plus EvaluationWith Altera’s free OpenCore Plus evaluation feature, you can perform the followingactions: Simulate the behavior of a megafunction (Altera MegaCore function or AMPPSMmegafunction) within your system. Verify the functionality of your design, as well as evaluate its size and speedquickly and easily. Generate time-limited device programming files for designs that includemegafunctions. Program a device and verify your design in hardware.You only need to purchase a license for the FIR Compiler when you are completelysatisfied with its functionality and performance, and want to take your design toproduction.After you purchase a license, you can request a license file from the Altera website atwww.altera.com/licensing and install it on your computer. When you request alicense file, Altera emails you a license.dat file. If you do not have Internet access,contact your local Altera representative.FIR Compiler User GuideDownloaded from Arrow.com. May 2011 Altera Corporation

Chapter 1: About the FIR CompilerInstallation and Licensingf1–9For more information about OpenCore Plus hardware evaluation, refer toAN320: OpenCore Plus Evaluation of Megafunctions.OpenCore Plus Time-Out BehaviorOpenCore Plus hardware evaluation supports the following operation modes: Untethered—the design runs for a limited time. Tethered—requires a connection between your board and the host computer. Iftethered mode is supported by all megafunctions in a design, the device canoperate for a longer time or indefinitely.All megafunctions in a device time-out simultaneously when the most restrictiveevaluation time is reached. If there is more than one megafunction in a design, aspecific megafunction’s time-out behavior might be masked by the time-out behaviorof the other megafunctions.The untethered timeout for the FIR Compiler MegaCore function is one hour; thetethered timeout value is indefinite.The data output signal is forced to zero when the hardware evaluation time expires. May 2011Downloaded from Arrow.com.Altera CorporationFIR Compiler User Guide

1–10FIR Compiler User GuideDownloaded from Arrow.com.Chapter 1: About the FIR CompilerInstallation and Licensing May 2011 Altera Corporation

2. Getting StartedDesign FlowsThe FIR Compiler MegaCore function supports the following design flows: DSP Builder: Use this flow if you want to create a DSP Builder model thatincludes a FIR Compiler MegaCore function variation. MegaWizard Plug-In Manager: Use this flow if you would like to create a FIRCompiler MegaCore function variation that you can instantiate manually in yourdesign.This chapter describes how you can use a FIR Compiler MegaCore function in eitherof these flows. The parameterization is the same in each flow and is described inChapter 3, Parameter Settings.After parameterizing and simulating a design in either of these flows, you cancompile the completed design in the Quartus II software.DSP Builder FlowAltera’s DSP Builder product shortens digital signal processing (DSP) design cyclesby helping you create the hardware representation of a DSP design in an algorithmfriendly development environment.DSP Builder integrates the algorithm development, simulation, and verificationcapabilities of The MathWorks MATLAB and Simulink system-level design toolswith Altera Quartus II software and third-party synthesis and simulation tools. Youcan combine existing Simulink blocks with Altera DSP Builder blocks and MegaCorefunction variation blocks to verify system level specifications and perform simulation.In DSP Builder, a Simulink symbol for the FIR Compiler appears in the MegaCoreFunctions library of the Altera DSP Builder Blockset in the Simulink library browser.You can use the FIR Compiler in the MATLAB/Simulink environment by performingthe following steps:1. Create a new Simulink model.2. Select the FIR Compiler block from the MegaCore Functions library in theSimulink Library Browser, add it to your model, and give the block a uniquename.3. Double-click the FIR Compiler block in your model to display IP Toolbench andclick Step 1: Parameterize to parameterize a FIR Compiler MegaCore functionvariation. For an example of how to set parameters for the FIR Compiler block,refer to Chapter 3, Parameter Settings.4. Click Step 2: Generate in IP Toolbench to generate your FIR Compiler MegaCorefunction variation. For information about the generated files, refer to Table 2–1 onpage 2–6.5. Connect your FIR Compiler MegaCore function variation block to the otherblocks in your model. May 2011Downloaded from Arrow.com.Altera CorporationFIR Compiler User Guide

2–2Chapter 2: Getting StartedMegaWizard Plug-In Manager Flow6. Simulate the FIR Compiler MegaCore function variation in your DSP Buildermodel.f1For more information about the DSP Builder flow, refer to the Using MegaCoreFunctions chapter in the DSP Builder User Guide.When you are using the DSP Builder flow, device selection, simulation, Quartus IIcompilation and device programming are all controlled within the DSP Builderenvironment.DSP Builder supports integration with SOPC Builder using Avalon Memory-Mapped(Avalon-MM) master or slave, and Avalon Streaming (Avalon-ST) source or sinkinterfaces.fFor more information about these interfac

In contrast to IIR filters, FIR filters have a linear phase and inherent stability. This benefit makes FIR filters attr active enough to be designed into a large number of systems. However, for a given frequency response, FIR filters are a higher order than IIR filters, making FIR filters more computationally expensive. Figure 1 1.

Related Documents:

FIR Compiler v7.1 www.xilinx.com 6 PG149 April 2, 2014 Chapter 1: Overview Feature Summary Table 1-1 and Table 1-2 show the features and filter configuration support for the FIR Compiler. Feature Support Matrix Table 1-2 shows the classes of filters that are supported for the FIR Compiler

FIR Compiler v7.2 10 PG149 January 21, 2021 www.xilinx.com Chapter 2: Product Specification Port Descriptions Figure 2-1 shows the schematic symbol for the interface pins for the FIR Compiler core. Table 2-1 defines the FIR filter port names and port functional descriptions. X-Ref Target - Figure

Design of FIR Filters using 1 Rectangular window 2 Hamming window 3 Hanning window 4 Bartlet window 5 Kaiser window Design of FIR Filter using frequency sampling technique. Dr. Manjunatha. P (JNNCE) UNIT - 7: FIR Filter Design October 25, 2016 3 / 94. FIR Filter Design Introduction

response (FIR) or infinite impulse response (IIR) approaches. In this chapter we are concerned with just FIR designs. We will start with an overview of general digital filter design, but the emphasis of this chapter will be on real-time implementation of FIR filters using C and assembly. Basic FIR filter topologies will be reviewed

In particular you need: Linux { Compilers either Intel Fortran Compiler versions 14 or 15 with correspond-ing Intel C Compiler or GNU’s Compiler Collection 4.9.2, both gfortran and gcc { GNU’s make, gmake, version 3.77 or 3.81 { perl, version 5.10 Cray/Linux { either Intel Fortran Compiler versions 14 or 15 with corresponding Intel C Compiler

Compiler Design 10 A compiler can broadly be divided into two phases based on the way they compile. Analysis Phase Known as the front-end of the compiler, the analysis phase of the compiler reads the source program, divides it into core parts, and then checks for lexical, grammar, and syntax errors.

IAR ARM compiler 6.3 and higher GNU C Compiler for ARM architecture Arm Keil C/C compiler 5.4 and higher For the ColdFire devices, the following compilers are supported: CodeWarrior for MCU, 10.1 and higher. IAR ColdFire C compiler 1.2 GNU C Compiler for ColdFire architecture The Microco

Engineering Graphics & Design (EGD) NOTE: Information as on 15 November 2020. ENGINEERING GRAPHICS AND DESIGN. GRADE 10 . GRADE 11; GRADE 12 . General drawing principles: Use/care/dangers of drawing instruments, line types, line work, lettering, dimensioning etc. The Grade 10 contentremains applicable. The Grade 10 contentremains applicable. Free-hand drawing. Free-hand drawing techniques. The .