IPUG87_01.0, December 2010 10 Median Filter IP Core User’s Guide
The IPexpress™ tool is used to create IP and architectural modules in the Diamond or ispLEVER software. Refer to
“IP Core Generation” on page 13 for a description of how to generate the IP. The Median Filter IP core can be cus-
tomized to suit a specific application by adjusting parameters prior to core generation. Since the values of some
parameters affect the size of the resultant core, the maximum value for these parameters may be limited by the size
of the target device.
Table 3-1 provided the list of user configurable parameters for the Median Filter IP core.
Basic Options Tab
The Basic Options tab provides settings for video frame and window parameters, data width, and edge mode
options.
Note: Median Filter core version 1.0 does not support dynamic frame size updating and dynamic region selecting.
Figure 3-1 shows the contents of the Basic Options tab.
Table 3-1. Median Filter IP Core Parameters
Parameter Range Default
Data width 4 - 24 8
Video frame width 100 - 1200 320
Video frame height 100 - 1200 240
Dynamic frame size updating 0 or 1 0
Dynamic region selecting 0 or 1 0
Horizontal coordinates of first active pixel 0 – (VWIDTH-1) 0
Vertical coordinates of first active pixel 0 – (VHEIGHT-1) 0
Active region width 1 – (VWIDTH-UPLEFTX-1) VWIDTH-1
Active region height 1 – (VHEIGHT-UPLEFTY-1) VHEIGHT-1
Window width and height 3x3, 5x5, 7x7 3x3
Edge mode VALUE, COPY, MIRROR VALUE
Edge value 0 – (1<<DWIDTH)-1 0
Tags width 0 0
Internal regs data bus width 8, 16, 32, 64 8
Input buffer type EBR, Distributed EBR
Chapter 3:
Parameter Settings
Lattice Semiconductor Parameter Settings
IPUG87_01.0, December 2010 11 Median Filter IP Core User’s Guide
Figure 3-1. Basic Options Tab
Filter Specifications
This section provides settings that define the input and output frame sizes, as well as what to do when the sampling
window straddles the frame edges.
Video Frame Width
This parameter defines the input video frame size width.
Video Frame Height
This parameter defines the the input video frame size height.
Window Width and Height
This parameter defines the filter window size.
Active Region
Dynamic region selection
This checkbox enables the feature and adds the upleftx/y and actwidth/height input ports.
Full screen
This checkbox sets the active region to the video frame size.
Horizontal Coordinates of First Active Pixel/Vertical Coordinates of First Active Pixel
These coordiates set the upper left corner of the active region.
Active Region Width/Active Region Height
These coordiates set the size of the active region.
Edge Mode
Radio buttons select Copy, Mirror or Value for edge mode. If Value is selected, the entry field is the pixel value used
for window locations that overlap the frame boundary.
Lattice Semiconductor Parameter Settings
IPUG87_01.0, December 2010 12 Median Filter IP Core User’s Guide
Data Features
Data width
This parameter sets the width of the incoming pixel data.
Tags width
This parameter sets the width of the tags_in and tags_out ports.
Advanced Options Tab
Figure 3-2 shows the contents of the Advanced Options tab.
Figure 3-2. Advanced Options Tab
Memory Type
Input Buffer
This parameter selects between EBR and Distributed RAM for the line buffers.
Optional Ports
Synchronous Reset
This checkbox enables synchronous reset and synchronous reset input port.
Clock Enable
This checkbox enables clock enable and clock enable input port.
Synthesis Options
Frequency Constraint
This parameter sets the target clock frequency in MHz.
Pipeline & Retiming
This checkbox enables pipeline and retiming features in the generation flow.

MED-FILT-X2-U1

Mfr. #:
Manufacturer:
Lattice
Description:
IP CORE MEDIAN FILTER XP2 CONF
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union