ChipFind - документация

Электронный компонент: LF3338QC12

Скачать:  PDF   ZIP
DEVICES INCORPORATED
Video Imaging Products
1
LF3338
8-Bit Vertical Digital Image Filter
04/06/1999LDS.3338-B
u
u
u
u
u 83 MHz Data Rate
u
u
u
u
u 8-bit Data and 12-bit Coefficients
u
u
u
u
u Supports Interleaved Data Streams
u
u
u
u
u Cascadable for More Filter Taps
u
u
u
u
u Seven 3K x 8-bit, Dynamic Program-
mable Two-Mode Line Buffers
u
u
u
u
u On-board Memory for 256
Coefficient Sets
u
u
u
u
u LF Interface
TM
Allows All 256
Coefficient Sets to be Updated
Within Vertical Blanking
u
u
u
u
u Selectable 16-bit Data Output with
User-Defined Rounding and
Limiting
u
u
u
u
u Separate Input Port for Odd and
Even Field Filtering
u
u
u
u
u 8 Filter Taps
u
u
u
u
u 3.3 Volt Power Supply
u
u
u
u
u 5 Volt Tolerant I/O
u
u
u
u
u Purchase Description
FEATURES
DESCRIPTION
The LF3338 is a lower cost version of
the 12-bit LF3330 and is suited for
multimedia and special effects systems,
projectors, plasma display panels, scan
converters, set-top boxes, and other
consumer applications.
This device filters digital images in
the vertical dimension at real-time
video rates. Input data is 8 bits and
coefficient data is 12 bits and both are
in two's complement format. The
output is also in two's complement
format and may be rounded to 16 bits.
The filter is an 8-tap FIR filter with all
required line buffers contained on-
chip. The line buffers can store video
lines with lengths from 4 to 3076
pixels. Multiple LF3338s can be
cascaded together to create larger
vertical filters.
Due to the length of the line buffers,
interleaved data can be fed directly
into the device and filtered without
separating the data into individual
data streams. The number of inter-
leaved data sets that the device can
handle is limited only by the length of
the on-chip line buffers. If the inter-
leaved video line has 3076 data values
or less, the filter can handle it.
The LF3338 contains enough on-board
memory to store 256 coefficient sets.
The LF Interface
TM
allows all 256
coefficient sets to be updated within
vertical blanking.
Selectable 16-bit data output with
user-defined rounding and limiting
minimizes the constraints put on
coefficient sets for various filter
implementations.
LF3338 B
LOCK
D
IAGRAM
LF3338
8-Bit Vertical Digital Image Filter
DEVICES INCORPORATED
DIN
7-0
8-TAP VERTICAL FILTER
256 COEFFICIENT SET STORAGE
3K LINE BUFFER
8
3K LINE BUFFER
3K LINE BUFFER
3K LINE BUFFER
3K LINE BUFFER
3K LINE BUFFER
3K LINE BUFFER
ROUND
SELECT
LIMIT
CIRCUITRY
OED
16
DOUT
15-0
8
COUT
7-0
32
VB
7-0
8
OEC
DEVICES INCORPORATED
LF3338
8-Bit Vertical Digital Image Filter
2
Video Imaging Products
04/06/1999LDS.3338-B
F
IGURE
1.
LF3338 F
UNCTIONAL
B
LOCK
D
IAGRAM
DIN
7-0
3K Line Buffer
32
12
12
12
12
12
12
12
12
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
20
20
20
20
20
20
20
20
22
22
8
8
8
8
8
8
8
8
8
ACC
SHEN
CLK
COUT
7-0
8
DOUT
15-0
OED
CA
7-0
CEN
8
LF
INTERFACE
CF
11-0
LD
12
CONFIGURATION AND
CONTROL REGISTERS
"0"
16
16
RSL
3-0
4
Coef Bank 7
Coef Bank 6
Coef Bank 5
Coef Bank 4
Coef Bank 0
Coef Bank 1
Coef Bank 2
Coef Bank 3
VB
7-0
8
PAUSE
OEC
ROUND
SELECT
LIMIT
DEVICES INCORPORATED
Video Imaging Products
3
LF3338
8-Bit Vertical Digital Image Filter
04/06/1999LDS.3338-B
SIGNAL DEFINITIONS
Power
V
CC
and GND
+3.3 V power supply. All pins must be
connected.
Clock
CLK -- Master Clock
The rising edge of CLK strobes all
enabled registers.
Inputs
DIN
7-0
-- Data Input
DIN
7-0
is the 8-bit registered data input
port. Data is latched on the rising edge
of CLK.
VB
7-0
-- Field Filtering Data Input
VB
7-0
is the 8-bit registered data input
port used only when implementing
Odd and Even Field Filtering (see
Functional Description section for a full
discussion). Data is latched on the
rising edge of CLK.
CF
11-0
-- Coefficient Input
CF
11-0
is used to load data into the
coefficient banks and configuration/
control registers. Data present on
CF
11-0
is latched into the LF Interface
TM
on the rising edge of CLK when LD is
LOW (see the LF Interface
TM
section for
a full discussion).
CA
7-0
-- Coefficient Address
CA
7-0
determines which row of data in
the coefficient banks is fed to the
multipliers. CA
7-0
is latched into the
Coefficient Address Register on the
rising edge of CLK when CEN is LOW.
Outputs
DOUT
15-0
-- Data Output
DOUT
15-0
is the 16-bit registered data
output port.
COUT
7-0
-- Cascade Data Output
COUT
7-0
is a 8-bit cascade output
port. COUT
7-0
on one device
should be connected to DIN
7-0
of
another LF3338.
Controls
LD -- Coefficient Load
When LD is LOW, data on CF
11-0
is latched into the LF Interface
TM
on the rising edge of CLK. When
LD is HIGH, data can not be
latched into the LF Interface
TM
.
When enabling the LF Interface
TM
for data input, a HIGH to LOW
transition of LD is required in
order for the input circuitry to
function properly. Therefore, LD
must be set HIGH immediately
after power up to ensure proper
operation of the input circuitry
(see the LF Interface
TM
section for
a full discussion).
PAUSE -- LF Interface
TM
Pause
When PAUSE is HIGH, the LF
Interface
TM
loading sequence is halted
until PAUSE is returned to a LOW
state. This effectively allows the user
to load coefficients and control
registers at a slower rate than the
master clock (see the LF Interface
TM
section for a full discussion).
CEN -- Coefficient Address Enable
When CEN is LOW, data on CA
7-0
is
latched into the Coefficient Address
Register on the rising edge of CLK.
When CEN is HIGH, data on CA
7-0
is
not latched and the register's contents
will not be changed.
F
IGURE
2.
I
NPUT
F
ORMATS
7
6
5
2
1
0
2
7
(Sign)
2
6
2
5
2
2
2
1
2
0
11 10 9
2
1
0
2
0
(Sign)
2
1
2
2
2
9
2
10
2
11
Input Data
Coefficient Data
F
IGURE
3. A
CCUMULATOR
F
ORMAT
31 30 29
2
1
0
2
16
(Sign)
2
15
2
14
2
13
2
14
2
15
Accumulator Output
T
ABLE
1.
O
UTPUT
F
ORMATS
SLCT
4-0
S
15
S
14
S
13
S
8
S
7
S
2
S
1
S
0
00000
F
15
F
14
F
13
F
8
F
7
F
2
F
1
F
0
00001
F
16
F
15
F
14
F
9
F
8
F
3
F
2
F
1
00010
F
17
F
16
F
15
F
10
F
9
F
4
F
3
F
2
01110
F
29
F
28
F
27
F
22
F
21
F
16
F
15
F
14
01111
F
30
F
29
F
28
F
23
F
22
F
17
F
16
F
15
10000
F
31
F
30
F
29
F
24
F
23
F
18
F
17
F
16
DEVICES INCORPORATED
LF3338
8-Bit Vertical Digital Image Filter
4
Video Imaging Products
04/06/1999LDS.3338-B
ACC -- Accumulator Control
When ACC is HIGH, the accumulator
is enabled for accumulation and the
accumulator output register is
disabled for loading. When ACC is
LOW, no accumulation is performed
and the accumulator output register
is enabled for loading. ACC is
latched on the rising edge of CLK.
SHEN -- Shift Enable
SHEN enables or disables the
loading of data into the input/
cascade registers and the line
buffers. When SHEN is LOW, data
is loaded into the input/cascade
registers and shifted through the
line buffers on the rising edge of
CLK. When SHEN is HIGH, data
can not be loaded into the input/
cascade registers or shifted through
the line buffers and their contents
will not be changed.
RSL
3-0
-- Round/Select/Limit Control
RSL
3-0
determines which of the
sixteen user-programmable round/
select/limit registers are used in the
round/select/limit circuitry. A
value of 0 on RSL
3-0
selects round/
select/limit register 0. A value of 1
selects round/select/limit register 1
and so on. RSL
3-0
is latched on the
rising edge of CLK (see the round,
select, and limit sections for a
complete discussion).
OED -- DOUT Output Enable
When OED is LOW, DOUT
15-0
is
enabled for output. When OED is
HIGH, DOUT
15-0
is placed in a
high-impedance state.
OEC -- COUT Output Enable
When OEC is LOW, COUT
7-0
is
enabled for output. When OEC is
HIGH, COUT
7-0
is placed in a high-
impedance state.
BITS
FUNCTION
DESCRIPTION
0
Limit Enable
0 : Limiting Disabled
1 : Limiting Enabled
11-1
Reserved
Must be set to "0"
T
ABLE
4.
C
ONFIGURATION
R
EGISTER
2 A
DDRESS
202H
BITS
FUNCTION
DESCRIPTION
0
Cascade Mode
0 : First Device
1 : Cascaded Device
11-1
Reserved
Must be set to "0"
T
ABLE
5.
C
ONFIGURATION
R
EGISTER
3 A
DDRESS
203H
BITS
FUNCTION
DESCRIPTION
11-0
Line Buffer Length
See Line Buffer Description Section
T
ABLE
2.
C
ONFIGURATION
R
EGISTER
0 A
DDRESS
200H
BITS
FUNCTION
DESCRIPTION
0
Line Buffer Mode
0 : Delay Mode
1 : Recirculate Mode
1
Line Buffer Load
0 : Normal Load
1 : Parallel Load
2
Odd and Even Field
0 : VB Port Disabled
Filtering Port Enable
1 : VB Port Enabled
3
Odd and Even Field
0 : VB Line Buffer Disabled
Filtering Line Buffer Enable
1 : VB Line Buffer Enabled
11-4
Reserved
Must be set to "0"
T
ABLE
3.
C
ONFIGURATION
R
EGISTER
1 A
DDRESS
201H
F
IGURE
4. RSL C
IRCUITRY
R0
R15
32
L0
L15
32
4
RSL
3-0
RND
LIMIT
32
16
16
RSL CIRCUITRY
DATA IN
32
DATA OUT
S0
S15
5
SELECT
DEVICES INCORPORATED
Video Imaging Products
5
LF3338
8-Bit Vertical Digital Image Filter
04/06/1999LDS.3338-B
F
IGURE
5.
M
ULTIPLE
LF3338
S
C
ASCADED
T
OGETHER
DIN
LINE BUFFERS
VERTICAL FILTER
RSL
CIRCUIT
COUT
DIN
RSL
CIRCUIT
COUT
COUT
RSL
CIRCUIT
LF3338
DIN
DIN
DATA OUT
29 TAP RESULT
LF3338
LF3338
LF3338
8
RSL
CIRCUIT
LINE BUFFERS
LINE BUFFERS
LINE BUFFERS
VERTICAL FILTER
VERTICAL FILTER
VERTICAL FILTER
LF3347
RSL
CIRCUIT
16
25
25
FUNCTIONAL DESCRIPTION
Line Buffers
The maximum delay length of each line
buffer is 3076 cycles and the minimum
is 4 cycles. Configuration Register 0
(CR
0
) determines the delay length of
the line buffers. The line buffer length
is equal to the value of CR
0
plus 4. A
value of 0 for CR
0
sets the line buffer
length to 4. A value of 3072 for CR
0
sets the line buffer length to 3076. Any
values for CR
0
greater than 3072 are not
valid.
The line buffers have two modes of
operation: delay mode and recirculate
mode. Bit 0 of Configuration Register 1
determines which mode the line buffers
are in. In delay mode, the data input to
the line buffer is delayed by an amount
determined by CR
0
. In recirculate
mode, the output of the line buffer is
routed back to the input of the line
buffer allowing the line buffer contents
to be read multiple times.
Bit 1 of Configuration Register 1 allows
the line buffers to be loaded in parallel.
When Bit 1 is "1", the input register
(DIN
7-0
) loads all seven line buffers in
parallel. This allows all the line buffers
to be preloaded with data in the
amount of time it normally takes to
load a single line buffer.
Odd and Even Field Filtering
The LF3338 is capable of odd and even
field filtering. Bit 2 of Configuration
Register 1 enables the VB Data Input
port required for odd and even field
filtering. Bit 3 of the same configura-
tion register enables the line buffer in
the VB Data path. Line buffer length is
set to the length written to Configura-
tion Register 0. If line buffer parallel
load is enabled and odd and even field
filtering is enabled, the data for the VB
line buffer comes from the VB Data
Input port.
Interleaved Data
The LF3338 is capable of handling
interleaved data. The number of data
sets it can handle is determined by the
number of data values contained in a
video line. If the interleaved video line
has 3076 data values or less, the LF3338
can handle it no matter how many data
sets are interleaved together.
Cascading
A cascade port is provided to allow
cascading of multiple devices for
more filter taps (see Figure 5).
COUT
7-0
of one device should be
connected to DIN
7-0
of another
device. As many LF3338s as desired
may be cascaded together. How-
ever, the outputs of the LF3338s
must be added together with exter-
nal adders.
The first line buffer on a cascaded
device must have its length short-
ened by two delays. This is to
account for the added delays of the
input register on the device and the
cascade output register from the
previous LF3338. If Bit 0 of Con-
figuration Register 3 is set to "1",
the length of the first line buffer will
be reduced by two. This will make
its effective length the same as the
other line buffers on the device. If
Bit 0 of Configuration Register 3 is
set to "0", the length of the first line
buffer will be the same as the other
line buffers. When cascading
devices, the first LF3338 should
have Bit 0 of Configuration Register