Acronyms in This Document .................................................................................................................................................5
3. Features ........................................................................................................................................................................9
FIR Filter Architecture .......................................................................................................................................10
4.2.3. Polyphase Interpolation FIR Filter .................................................................................................................11
4.2.4. Polyphase Decimation FIR Filter ...................................................................................................................12
4.2.5. Multi-channel FIR Filters ...............................................................................................................................12
Configuring the FIR Filter Core ..........................................................................................................................14
Memory Type .......................................................................................................................................15
4.5.
Signal Descriptions ............................................................................................................................................16
4.6.
Interfacing with the FIR Filter IP Core ...............................................................................................................17
4.6.1. Data interface ...............................................................................................................................................17
6. IP Core Generation and Evaluation.............................................................................................................................27
6.1.
Licensing the IP Core .........................................................................................................................................27
6.2.
Getting Started ..................................................................................................................................................27
6.3.
IPexpress-Created Files and Top Level Directory Structure ..............................................................................31
6.4.
Instantiating the Core........................................................................................................................................32
6.7.1. Enabling Hardware Evaluation in Diamond...................................................................................................33
6.8.
Updating/Regenerating the IP Core ...................................................................................................................33
6.8.1. Regenerating an IP Core in Diamond ............................................................................................................33
6.9.
Regenerating an IP Core in Clarity Designer Tool ..............................................................................................34
6.10. Recreating an IP Core in Clarity Designer Tool ..................................................................................................34
Technical Support Assistance .............................................................................................................................................36
Appendix A. Resource Utilization .......................................................................................................................................37
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
Revision History .................................................................................................................................................................. 38
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-IPUG-02043-1.5
3
FIR Filter IP Core
User Guide
Figures
Figure 4.1. Top-Level Interface for the FIR Filter IP Core ....................................................................................................10
Figure 4.2. Direct-form FIR Filter ........................................................................................................................................11
Figure 4.3. Symmetric Coefficients FIR Filter Implementation ...........................................................................................11
Figure 4.7. Tap and Coefficient Memory Management for a Sample FIR Filter .................................................................13
Figure 4.8. Single Channel, Single Rate FIR Filter with Continuous Inputs .........................................................................18
Figure 4.9. Single Channel, Single Rate FIR Filter with Gaps in Input .................................................................................18
Figure 4.12. Multi-Channel Single Rate FIR Filter (3 Channels) ..........................................................................................19
Figure 4.13. Multi-Channel (3 Channels) Interpolator (Factor of 3) ...................................................................................19
Figure 4.14. Multi-Channel (3 Channels) Decimator (Factor of 3) ......................................................................................19
Figure 4.15. Multi-Channel Single Rate FIR Filter (3 Channels) ..........................................................................................20
Figure 4.16. Multi-Channel (3 Channels) Interpolator (Factor of 3) ...................................................................................20
Figure 4.17. Multi-Channel (3 Channels) Decimator (Factor of 3) ......................................................................................20
Figure 5.1. Architecture Tab of the FIR Filter IP Core Interface ..........................................................................................22
Figure 5.2. I/O Specification Tab of the FIR Filter IP Core Interface ...................................................................................24
Figure 5.3. Implementation Tab of the FIR Filter IP Core Interface ....................................................................................26
Figure 6.5. Fir Filter Dialog Box ...........................................................................................................................................29
Figure 6.6. IP Configuration Interface .................................................................................................................................30
Figure 6.7. FIR Filter IP Core Generated Directory Structure..............................................................................................31
Tables
Table 2.1. FIR Filter IP Core for LatticeXP2 Devices Quick Facts ...........................................................................................7
Table 2.2. FIR Filter IP Core for LatticeECP3 Devices Quick Facts .........................................................................................7
Table 2.3. FIR Filter IP Core for LatticeECP5 Devices Quick Facts .........................................................................................8
Table 4.1. Maximum Multiplier Multiplexing Factor for Different Configurations* ...........................................................15
Table 4.2. Top-Level Port Definitions ..................................................................................................................................16
Table 5.1. Parameter Specifications for the FIR Filter IP Core ............................................................................................21
Table 6.1. File List ...............................................................................................................................................................31
Table A.1. Performance and Resource Utilization (LatticeECP3)* ......................................................................................37
Table A.2. Performance and Resource Utilization (LatticeXP2)* ........................................................................................37
Table A.3. Performance and Resource Utilization (LFE5U)* ...............................................................................................37
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.