© 2011 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. 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.
IPUG86_01.0, February 2011 2 2D Edge Detector IP Core User’s Guide
Chapter 1. Introduction .......................................................................................................................... 3
Quick Facts ........................................................................................................................................................... 3
Features ................................................................................................................................................................ 3
Chapter 2. Functional Description ........................................................................................................ 4
Key Concepts........................................................................................................................................................ 4
Block Diagram....................................................................................................................................................... 4
Active Region Selection ........................................................................................................................................ 5
Interface Descriptions ........................................................................................................................................... 6
Video Input/Output ....................................................................................................................................... 6
Parameter Update Port ................................................................................................................................ 6
Chapter 3. Parameter Settings .............................................................................................................. 7
User Parameters Tab............................................................................................................................................ 8
Video Frame................................................................................................................................................. 8
Edge Detection Method................................................................................................................................ 9
Data Widths.................................................................................................................................................. 9
Implementation Options ............................................................................................................................... 9
Performance options .................................................................................................................................... 9
Chapter 4. IP Core Generation............................................................................................................. 10
Licensing the IP Core.......................................................................................................................................... 10
Getting Started .................................................................................................................................................... 10
IPexpress-Created Files and Top Level Directory Structure............................................................................... 12
Instantiating the Core .......................................................................................................................................... 13
Running Functional Simulation ........................................................................................................................... 13
Synthesizing and Implementing the Core in a Top-Level Design ....................................................................... 14
Hardware Evaluation........................................................................................................................................... 15
Enabling Hardware Evaluation in Diamond................................................................................................ 15
Enabling Hardware Evaluation in ispLEVER.............................................................................................. 15
Updating/Regenerating the IP Core .................................................................................................................... 15
Regenerating an IP Core in Diamond ........................................................................................................ 15
Regenerating an IP Core in ispLEVER ...................................................................................................... 16
Chapter 5. Support Resources ............................................................................................................ 17
Lattice Technical Support.................................................................................................................................... 17
Online Forums............................................................................................................................................ 17
Telephone Support Hotline ........................................................................................................................ 17
E-mail Support ........................................................................................................................................... 17
Local Support ............................................................................................................................................. 17
Internet ....................................................................................................................................................... 17
References.......................................................................................................................................................... 17
LatticeECP2/M ........................................................................................................................................... 17
LatticeECP3 ............................................................................................................................................... 17
LatticeXP2.................................................................................................................................................. 17
Revision History .................................................................................................................................................. 17
Appendix A. Resource Utilization ....................................................................................................... 18
LatticeECP3 Devices .......................................................................................................................................... 18
Ordering Part Number................................................................................................................................ 18
LatticeECP2M Devices ....................................................................................................................................... 18
Ordering Part Number................................................................................................................................ 18
LatticeXP2 Devices ............................................................................................................................................. 19
Ordering Part Number................................................................................................................................ 19
Table of Contents