首页 > 器件类别 > 开发板/开发套件/开发工具

EDGE-DET-X2-UT1

Programmable Logic IC Development Tools 2D EDGE DETECTOR XP2 USER CONFIG

器件类别:开发板/开发套件/开发工具   

厂商名称:Lattice(莱迪斯)

厂商官网:http://www.latticesemi.com

下载文档
EDGE-DET-X2-UT1 在线购买

供应商:

器件:EDGE-DET-X2-UT1

价格:-

最低购买:-

库存:点击查看

点击购买

器件参数
参数名称
属性值
产品种类
Product Category
Programmable Logic IC Development Tools
制造商
Manufacturer
Lattice(莱迪斯)
RoHS
Details
产品
Product
Development Boards
类型
Type
FPGA
工具用于评估
Tool Is For Evaluation Of
LatticeXP2
Description/Function
Detects edges in incoming video frames using the Sobel or Prewitt algorithms
用于
For Use With
LatticeXP2
工厂包装数量
Factory Pack Quantity
1
文档预览
2D Edge Detector IP Core User’s Guide
February 2011
IPUG86_01.0
Table of Contents
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
© 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
The 2D Edge Detector IP core detects edges in incoming video frames using the Sobel or Prewitt algorithms. Its
flexible architecture supports a wide variety of video frame sizes on LatticeECP2M™, LatticeXP2™, and
LatticeECP3™ devices. A simple I/O handshake makes the core suitable for either streaming or bursty input video
data. Coefficients may be set at compile time, or updated in-system via a simple memory interface. Dynamic zoom
and pan functions are optionally provisioned at compile time.
Quick Facts
Table 1-1
gives quick facts about the 2D Edge Detector IP core.
Table 1-1. Quick Facts
2D Edge Detector IP Core
320x240
Core
Requirements
FPGA Fa miles Supported
Minimum Device Required
LUTs/Registers
LatticeXP2
EBRs
sysDSP™ blocks
LUTs/Registers
Resource
Utilization
LatticeECP2M
EBRs
sysDSP blocks
LUTs/Registers
LatticeECP3
EBRs
sysDSP blocks
Lattice Implementation
Design Tool
Support
Synthesis
Simulation
1. Uses sysDSP blocks for adder functions.
640x480
1
720x480
1280x720
LatticeXP2, LatticeECP2M, LatticeECP3
456/393
1
0
456/393
1
0
437/391
1
0
277/119
1
5
277/119
1
5
274/119
1
10
465/399
1
0
465/399
1
0
462/398
1
0
475/399
2
0
475/399
2
0
460/402
2
0
Lattice Diamond™ 1.1 or ispLEVER
®
8.1SP1
Synopsys
®
Synplify™ Pro for Lattice D-2010.03L-SP1
Aldec
®
Active-HDL™ 8.2 Lattice Edition II
Mentor Graphics
®
ModelSim™ SE 6.3F
Features
• Single color plane input
• Configurable input data width
• Dynamically variable input frame size
• Dynamic active region selection
• Dynamic selection between Sobel and Prewitt algorithms
• Dynamic detection threshold modification
IPUG86_01.0, February 2011
3
2D Edge Detector IP Core User’s Guide
Chapter 2:
Functional Description
Key Concepts
Video edge detection is the process of calculating gradients (rates of change) in pixel values in an incoming frame.
If the gradient at a given pixel location exceeds a threshold value, the edge detector outputs a ‘1’, ‘0’ otherwise. For
the Sobel and Prewitt algorithms, gradients are calculated using convolution filters with 3x3 windows with fixed
coefficient values. The coefficient values are 0, 1, -1, and 2, so multiplication operations are performed using sim-
ple shifts and inversions.
The 2D Edge Detector IP core simultaneously applies two orthogonal 3x3 gradient filters to its input pixel stream
and sums the results. The Sobel gradient filter kernels are separable, and have the following fixed values:
-1
0 * [1 2 1]
1
and
1
2 * [ -1 0 1 ]
1
The Prewitt filter kernels are also separable, with the following fixed values:
1
1 * [ -1 0 1 ]
1
and
1
0 * [ 1 1 1 ]
1
Block Diagram
The high-level architecture of the 2D Edge Detector core is diagrammed in
Figure 2-1.
Figure 2-1. 2D Edge Detector IP Core Block Diagram
dvalid_in
frmsync_in
din[ ]
ready
Line Buffers
Windowing
Logic
pwrite
paddr[ ]
pwdat[ ]
prdat [ ]
Dynamic
Parameters
Registers
Active
Region
Selection
Coefficient
Selection
Multiply-Add
Threshold
Logic
dout
frmsync_out
dvalid_out
IPUG86_01.0, February 2011
4
2D Edge Detector IP Core User’s Guide
Lattice Semiconductor
Functional Description
Input data is stored in line buffers, then passed to windowing logic for edge mode handling and data alignment.
Optional control inputs allow real-time specification of the portion of the input frame used to generate output pixels
(referred to as the “active region”).
Windowed data and coefficients are sent to the arithmetic unit which multiplies the data values by their correspond-
ing coefficients and sums the multiplication results. Horizontal and vertical gradients are calculated, their outputs
are summed, and then the sum is compared to the value on the core’s threshold input. Values exceeding the
threshold result in a ‘1’ on the dout output port, which is ‘0’ otherwise.
Active Region Selection
The 2D Edge Detector may be configured to allow the user to dynamically alter the coordinates of the active region
of the input frame. The active region concept is illustrated in
Figure 2-2.
Figure 2-2. 2D Edge Detector IP Core Active Regions
0,0
upleftX,
upleftY
Active Region
upleftX+actwidth,
upleftY+actheight
VWIDTH_IN,
VHEIGHT_IN
The upleftX and upleftY ports set the coordinates of the first pixel in the input frame that will have a corresponding
pixel in the output frame. The actwidth and actheight ports determine the region of pixels in the input frame that will
have corresponding pixels in the output frame. Both sets of inputs – upleft, and active region – are synchronized
internally and delivered to the core logic at the appropriate time to avoid anomalies when moving from frame to
frame.
Primary I/O
Table 2-1. Primary I/O
Port
Global Signals
clk
rstn
clken
srst
Video Input
ready
dvalid_in
frmsync_in
din[ ]
Video Output
1
1
1
DWIDTH
O
I
I
I
Core is ready for input
Input valid
Frame sync, current pixel is row 0, column 0
Pixel data in
1
1
1
1
I
I
I
I
System clock
Asynchronous reset, active low
Clock enable, active high (optional)
Synchronous reset, active high (optional)
Size
I/O
Description
IPUG86_01.0, February 2011
5
2D Edge Detector IP Core User’s Guide
查看更多>
参数对比
与EDGE-DET-X2-UT1相近的元器件有:EDGE-DET-E3-UT1、EDGE-DET-P2-UT1、EDGE-DET-E3-U1、EDGE-DET-PM-U1、EDGE-DET-X2-U1、EDGE-DET-P2-U1、EDGE-DET-PM-UT1。描述及对比如下:
型号 EDGE-DET-X2-UT1 EDGE-DET-E3-UT1 EDGE-DET-P2-UT1 EDGE-DET-E3-U1 EDGE-DET-PM-U1 EDGE-DET-X2-U1 EDGE-DET-P2-U1 EDGE-DET-PM-UT1
描述 Programmable Logic IC Development Tools 2D EDGE DETECTOR XP2 USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR ECP3 USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR ECP2 USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR ECP3 USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR ECP2M USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR XP2 USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR ECP2 USER CONFIG Programmable Logic IC Development Tools 2D EDGE DETECTOR ECP2M USER CONFIG
产品种类
Product Category
Programmable Logic IC Development Tools Programmable Logic IC Development Tools Programmable Logic IC Development Tools Programmable Logic IC Development Tools Programmable Logic IC Development Tools Programmable Logic IC Development Tools Programmable Logic IC Development Tools Programmable Logic IC Development Tools
制造商
Manufacturer
Lattice(莱迪斯) Lattice(莱迪斯) Lattice(莱迪斯) Lattice(莱迪斯) Lattice(莱迪斯) Lattice(莱迪斯) Lattice(莱迪斯) Lattice(莱迪斯)
RoHS Details Details Details Details Details Details Details Details
产品
Product
Development Boards Development Boards Development Boards Development Boards Development Boards Development Boards Development Boards Development Boards
类型
Type
FPGA FPGA FPGA FPGA FPGA FPGA FPGA FPGA
工具用于评估
Tool Is For Evaluation Of
LatticeXP2 LatticeECP3 LatticeECP2 LatticeECP3 LatticeECP2M LatticeXP2 LatticeECP2 LatticeECP2M
Description/Function Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms Detects edges in incoming video frames using the Sobel or Prewitt algorithms
用于
For Use With
LatticeXP2 LatticeECP3 LatticeECP2 LatticeECP3 LatticeECP2M LatticeXP2 LatticeECP2 LatticeECP2M
工厂包装数量
Factory Pack Quantity
1 1 1 1 1 1 1 1
热门器件
热门资源推荐
器件捷径:
L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 LA LB LC LD LE LF LG LH LI LJ LK LL LM LN LO LP LQ LR LS LT LU LV LW LX LY LZ M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 MA MB MC MD ME MF MG MH MI MJ MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ N0 N1 N2 N3 N4 N5 N6 N7 N8 NA NB NC ND NE NF NG NH NI NJ NK NL NM NN NO NP NQ NR NS NT NU NV NX NZ O0 O1 O2 O3 OA OB OC OD OE OF OG OH OI OJ OK OL OM ON OP OQ OR OS OT OV OX OY OZ P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 PA PB PC PD PE PF PG PH PI PJ PK PL PM PN PO PP PQ PR PS PT PU PV PW PX PY PZ Q1 Q2 Q3 Q4 Q5 Q6 Q8 Q9 QA QB QC QE QF QG QH QK QL QM QP QR QS QT QV QW QX QY R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 RA RB RC RD RE RF RG RH RI RJ RK RL RM RN RO RP RQ RR RS RT RU RV RW RX RY RZ
需要登录后才可以下载。
登录取消