LOGIC LF3310QC15

LF3310
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
Horizontal / Vertical Digital Image Filter
DEVICES INCORPORATED
FEATURES
DESCRIPTION
❑ 83 MHz Data Rate
❑ 12-bit Data and Coefficients
❑ On-board Memory for 256 Horizontal
and Vertical Coefficient Sets
❑ LF InterfaceTM Allows All 512
Coefficient Sets to be Updated
Within Vertical Blanking
❑ Selectable 12-bit Data Output with
User-Defined Rounding and
Limiting
❑ Seven 3K x 12-bit, Programmable
Two-Mode Line Buffers
❑ 16 Horizontal Filter Taps
❑ 8 Vertical Filter Taps
❑ Two Operating Modes: Dimensionally Separate and Orthogonal
❑ Supports Interleaved Data Streams
❑ Horizontal Filter Supports Decimation up to 16:1 for Increasing
Number of Filter Taps
❑ 3.3 Volt Power Supply
❑ 5 Volt Tolerant I/O
❑ 144 Lead PQFP
The LF3310 is a two-dimensional digital
image filter capable of filtering data at
real-time video rates. The device
contains both a horizontal and a
vertical filter which may be cascaded or
used concurrently for two-dimensional
filtering. The input, coefficient, and
output data are all 12-bits and in two’s
complement format.
The horizontal filter is designed to take
advantage of symmetric coefficient sets.
When symmetric coefficient sets are
used, the horizontal filter can be
configured as a 16-tap FIR filter. When
asymmetric coefficient sets are used, it
can be configured as an 8-tap FIR filter.
The vertical 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.
Horizontal filter Interleave/Decimation Registers (I/D Registers) and the
vertical filter line buffers allow
interleaved data to be fed directly into
the device and filtered without
separating the data into individual
data streams. The horizontal filter
can handle a maximum of sixteen
data sets interleaved together. The
vertical filter can handle interleaved
video lines which contain 3076 or less
data values. The I/D Registers and
horizontal accumulator facilitate
using decimation to increase the
number of filter taps in the horizontal
filter. Decimation of up to 16:1 is
supported.
The device has on-chip storage for 256
horizontal coefficient sets and 256
vertical coefficient sets. Each filter’s
coefficients are loaded independently
of each other allowing one filter’s
coefficients to be updated without
affecting the other filter’s coefficients.
In addition, a horizontal or vertical
coefficient set can be updated independently from the other coefficient
sets in the same filter.
LF3310 BLOCK DIAGRAM
12
DIN11-0
16-TAP HORIZONTAL FILTER
256 COEFFICIENT SET STORAGE
3K LINE BUFFER
3K LINE BUFFER
3K LINE BUFFER
3K LINE BUFFER
8-TAP VERTICAL FILTER
256 COEFFICIENT SET STORAGE
3K LINE BUFFER
3K LINE BUFFER
12
3K LINE BUFFER
DOUT11-0
Video Imaging Products
1
11/08/2001-LDS.3310-H
VLD
2
CLK
8
8
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
3K Line Buffer
12
12
12
12
12
12
V Coef Bank 0
12
V Coef Bank 1
12
V Coef Bank 2
12
V Coef Bank 3
12
24
24
24
24
24
24
24
12
V Coef Bank 4
12
12
V Coef Bank 5
24
12
V Coef Bank 6
12
12
V Coef Bank 7
H Coef Bank 3
H Coef Bank 2
1-16
26
26
12
12
12
12
25
VACC
27
VRSL3-0
4
"0"
25
VERTICAL
ROUND
SELECT
LIMIT
32
DATA
DELAY
25
ALU
13
A
HORIZONTAL
ROUND
SELECT
LIMIT
32
32
DOUT11-0
12
12
32
25
B
B
ALU
13
A
B
ALU
13
A
B
"0"
25
27
25
4
1-16
25
ALU
13
A
B
OE
HRSL3-0
HACC
25
ALU
13
A
12
12
12
12
H Coef Bank 4
H Coef Bank 5
H Coef Bank 6
H Coef Bank 7
DEVICES INCORPORATED
VSHEN
HSHEN
VCA7-0
VCEN
HCA7-0
H Coef Bank 1
H Coef Bank 0
B
1-16
1-16
HCEN
CONFIGURATION AND
CONTROL REGISTERS
ALU
13
A
1-16
1-16
VERTICAL
LF
INTERFACE
B
1-16
1-16
12
ALU
13
A
DATA
REVERSAL
VPAUSE
B
1-16
1-16
HLD
ALU
13
A
E O I
VCF11-0
HORIZONTAL
LF
INTERFACE
1-16
1-16
HPAUSE
12
DATA
DELAY
1-16
HCF11-0
12
1-16
1-16
I/D REGISTERS
FIGURE 1.
DIN11-0
TXFR
LF3310
Horizontal / Vertical Digital Image Filter
LF3310 FUNCTIONAL BLOCK DIAGRAM
Video Imaging Products
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
SIGNAL DEFINITIONS
Horizontal / Vertical Digital Image Filter
FIGURE 2.
INPUT FORMATS
Power
Input Data
VCC and GND
11 10 9
–211 210 29
+3.3 V power supply. All pins must
be connected.
Coefficient Data
2 1 0
22 21 20
11 10 9
–20 2–1 2–2
(Sign)
2 1 0
2–9 2–10 2–11
(Sign)
Clock
CLK — Master Clock
The rising edge of CLK strobes all
enabled registers.
FIGURE 3.
Horizontal Accumulator Output
31 30 29
–220 219 218
Inputs
HCF11-0 — Horizontal Coefficient Input
HCF11-0 is used to load data into the
horizontal coefficient banks and the
Configuration/Control Registers.
Data present on HCF11-0 is latched
into the Horizontal LF InterfaceTM on
the rising edge of CLK when HLD is
LOW (see the LF InterfaceTM section
for a full discussion).
HCA7-0 — Horizontal Coefficient
Address
HCA7-0 determines which row of data
in the horizontal coefficient banks is
fed to the multipliers in the horizontal
filter. HCA7-0 is latched into the
Horizontal Coefficient Address
Register on the rising edge of CLK
when HCEN is LOW.
VCF11-0 — Vertical Coefficient Input
VCF11-0 is used to load data into the
vertical coefficient banks and the
Configuration/Control Registers.
Data present on VCF11-0 is latched
into the Vertical LF InterfaceTM on the
rising edge of CLK when VLD is
LOW (see the LF InterfaceTM section
for a full discussion).
Vertical Accumulator Output
2 1 0
2–9 2–10 2–11
31 30 29
–220 219 218
(Sign)
DIN11-0 — Data Input
DIN11-0 is the 12-bit registered data
input port. Data is latched on the
rising edge of CLK.
HORIZONTAL AND VERTICAL ACCUMULATOR FORMATS
2 1 0
2–9 2–10 2–11
(Sign)
TABLE 1. OUTPUT FORMATS
SLCT4-0
S11 S10
S9
00000
F11 F10
F9
00001
F12 F11 F10
00010
F13 F12 F11
·
·
·
·
·
·
·
·
·
···
···
···
···
·
·
·
S6
S5
F6
F5
F7
F6
F8
F7
·
·
·
·
·
·
···
···
···
···
S1
S0
F2
F1
F0
F3
F2
F1
F4
F3
F2
·
·
·
·
·
·
·
·
·
···
···
···
F24 F23
VCA7-0 — Vertical Coefficient Address
Controls
VCA7-0 determines which row of data
in the vertical coefficient banks is fed
to the multipliers in the vertical filter.
VCA7-0 is latched into the Vertical
Coefficient Address Register on the
rising edge of CLK when VCEN is
LOW.
HLD — Horizontal Coefficient Load
When HLD is LOW, data on HCF11-0
is latched into the Horizontal LF
InterfaceTM on the rising edge of CLK.
When HLD is HIGH, data can not be
latched into the Horizontal LF
InterfaceTM. When enabling the LF
InterfaceTM for data input, a HIGH to
LOW transition of HLD is required in
order for the input circuitry to function properly. Therefore, HLD must
be set HIGH immediately after power
up to ensure proper operation of the
input circuitry (see the LF InterfaceTM
section for a full discussion).
10010
F29 F28 F27
10011
F30 F29 F28
10100
F31 F30 F29
Outputs
DOUT11-0 — Data Output
DOUT11-0 is the 12-bit registered data
output port.
F25 F24
F26 F25
···
···
···
S2
F20 F19 F18
F21 F20 F19
F22 F21 F20
Video Imaging Products
3
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
HCEN — Horizontal Coefficient
Address Enable
When HCEN is LOW, data on HCA7-0
is latched into the Horizontal Coefficient Address Register on the rising
edge of CLK. When HCEN is HIGH,
data on HCA7-0 is not latched and the
register’s contents will not be
changed.
VLD — Vertical Coefficient Load
When VLD is LOW, data on VCF11-0
is latched into the Vertical LF
InterfaceTM on the rising edge of CLK.
When VLD is HIGH, data can not be
latched into the Vertical LF
InterfaceTM. When enabling the LF
InterfaceTM for data input, a HIGH to
LOW transition of VLD is required in
order for the input circuitry to function properly. Therefore, VLD must
be set HIGH immediately after power
up to ensure proper operation of the
input circuitry (see the LF InterfaceTM
section for a full discussion).
VCEN — Vertical Coefficient Address
Enable
When VCEN is LOW, data on VCA7-0
is latched into the Vertical Coefficient
Address Register on the rising edge of
CLK. When VCEN is HIGH, data on
VCA7-0 is not latched and the
register’s contents will not be
changed.
TXFR — Horizontal Filter LIFO
Transfer Control
TXFR is used to change which LIFO in
the data reversal circuitry sends data to
the reverse data path and which LIFO
receives data from the forward data
path. When TXFR goes LOW, the LIFO
sending data to the reverse data path
becomes the LIFO receiving data from
the forward data path, and the LIFO
receiving data from the forward data
path becomes the LIFO sending data to
the reverse data path. The device must
see a HIGH to LOW transition of TXFR
in order to switch LIFOs.
Horizontal / Vertical Digital Image Filter
HACC — Horizontal Accumulator
Control
When HACC is HIGH, the horizontal
accumulator is enabled for accumulation and the accumulator output
register is disabled for loading. When
HACC is LOW, no accumulation is
performed and the accumulator
output register is enabled for loading.
HACC is latched on the rising edge of
CLK.
VACC — Vertical Accumulator Control
When VACC is HIGH, the vertical
accumulator is enabled for accumulation and the accumulator output
register is disabled for loading. When
VACC is LOW, no accumulation is
performed and the accumulator
output register is enabled for loading.
VACC is latched on the rising edge of
CLK.
HSHEN — Horizontal Shift Enable
HSHEN enables or disables the
loading of data into the forward and
reverse I/D Registers in the horizontal filter when the device is in Dimensionally Separate Mode. If the device
is configured such that the horizontal
filter feeds the vertical filter, HSHEN
also enables or disables the loading of
data into the input register (DIN11-0).
If the device is configured such that
the vertical filter feeds the horizontal
filter and the vertical limit register is
under shift control, HSHEN also
enables or disables the loading of data
into the vertical limit register in the
vertical Round/Select/Limit circuitry.
In Orthogonal Mode, HSHEN also
enables or disables the loading of data
into the input register (DIN11-0) and
the line buffers in the vertical filter. It
is important to note that in Orthogonal Mode, either HSHEN or VSHEN
can disable data loading. Both must
be active to enable data loading in
Orthogonal Mode. Also in Orthogonal Mode, the horizontal and vertical
limit registers can not be disabled.
When HSHEN is LOW, data is loaded
into and shifted through the registers
HSHEN controls and the forward and
reverse I/D Registers on the rising
edge of CLK. When HSHEN is
HIGH, data is not loaded into or
shifted through the registers HSHEN
controls and the I/D Registers, and
their contents will not be changed.
HSHEN is latched on the rising edge
of CLK.
VSHEN — Vertical Shift Enable
VSHEN enables or disables the
loading of data into the line buffers in
the vertical filter when the device is in
Dimensionally Separate Mode. If the
device is configured such that the
vertical filter feeds the horizontal
filter, VSHEN also enables or disables
the loading of data into the input
register (DIN11-0). If the device is
configured such that the horizontal
filter feeds the vertical filter and the
horizontal limit register is under shift
control, VSHEN also enables or
disables the loading of data into the
horizontal limit register in the horizontal Round/Select/Limit circuitry.
In Orthogonal Mode, VSHEN also
enables or disables the loading of data
into the input register (DIN11-0) and
the forward and reverse I/D Registers
in the horizontal filter. It is important
to note that in Orthogonal Mode,
either HSHEN or VSHEN can disable
data loading. Both must be active to
enable data loading in Orthogonal
Mode. Also in Orthogonal Mode, the
horizontal and vertical limit registers
can not be disabled.
When VSHEN is LOW, data is loaded
into and shifted through the registers
VSHEN controls and the line buffers
on the rising edge of CLK. When
VSHEN is HIGH, data is not loaded
into or shifted through the registers
VSHEN controls and the line buffers,
and their contents will not be
changed. VSHEN is latched on the
rising edge of CLK.
Video Imaging Products
4
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
FIGURE 4.
HRSL3-0 determines which of the
sixteen user-programmable Round/
Select/Limit registers (RSL registers)
are used in the horizontal Round/
Select/Limit circuitry (RSL circuitry).
A value of 0 on HRSL3-0 selects
RSL register 0. A value of 1 selects
round/select/limit register 1 and so
on. HRSL3-0 is latched on the rising
edge of CLK (see the horizontal
round, select, and limit sections for a
complete discussion).
DIMENSIONALLY SEPARATE MODE: H TO V
12
DIN11-0
HORIZONTAL FILTER
12
LINE BUFFER
LINE BUFFER
LINE BUFFER
OE — Output Enable
When OE is LOW, DOUT11-0 is
enabled for output. When OE is
HIGH, DOUT11-0 is placed in a
high-impedance state.
HPAUSE — LF InterfaceTM Pause
When HPAUSE is HIGH, the Horizontal LF Interface TM loading
sequence is halted until HPAUSE 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 InterfaceTM section for a full
discussion).
VPAUSE — LF InterfaceTM Pause
When VPAUSE is HIGH, the Vertical
LF InterfaceTM loading sequence is
halted until VPAUSE is returned to a
LOW state. This effectively allows the
user to load coefficients and Control
12
DOUT11-0
LINE BUFFER
VRSL3-0 —Vertical Round/Select/Limit
Control
VRSL3-0 determines which of the
sixteen user-programmable
RSL registers are used in the vertical
RSL circuitry. A value of 0 on
VRSL3-0 selects RSL register 0. A
value of 1 selects RSL register 1 and
so on. VRSL3-0 is latched on the rising
edge of CLK (see the vertical round,
select, and limit sections for a complete discussion).
VERTICAL FILTER
LINE BUFFER
LINE BUFFER
LINE BUFFER
FIGURE 5.
DIMENSIONALLY SEPARATE MODE: V TO H
12
DIN11-0
LINE BUFFER
LINE BUFFER
LINE BUFFER
LINE BUFFER
VERTICAL FILTER
HRSL3-0 — Horizontal Round/Select/
Limit Control
Horizontal / Vertical Digital Image Filter
12
HORIZONTAL FILTER
LINE BUFFER
12
LINE BUFFER
LINE BUFFER
Registers at a slower rate than the
master clock (see the LF InterfaceTM
section for a full discussion).
OPERATIONAL MODES
Dimensionally Separate
In Dimensionally Separate Mode, the
horizontal and vertical filters are
cascaded together to form a
two-dimensional image filter (see
Figures 4 and 5). Bit 1 in Configuration Register 4 determines the cascade
order. If this bit is set to “0”, data on
DOUT11-0
DIN11-0 is fed into the horizontal filter
first. The horizontal filter then feeds
data into the vertical filter. If this bit
is set to “1”, data on DIN11-0 is fed
into the vertical filter first. The
vertical filter then feeds data into the
horizontal filter.
Orthogonal
In Orthogonal Mode, the horizontal
and vertical filters are used concurrently to implement an orthogonal
kernel on the input data (see Figure 6).
Video Imaging Products
5
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
ORTHOGONAL MODE
12
DATA
DELAY
DIN11-0
HORIZONTAL FILTER
and vertical filters will not line up
correctly because the data delays are
calculated assuming that the first 3, 5,
or 7 multipliers are used. Also, the
ALUs in the horizontal filter should
be configured to accept data from the
forward I/D Register path into ALU
Input A and force ALU Input B to 0.
LINE BUFFER
FUNCTIONAL DESCRIPTION
LINE BUFFER
Horizontal Filter
VERTICAL FILTER
FIGURE 6.
Horizontal / Vertical Digital Image Filter
LINE BUFFER
LINE BUFFER
The horizontal filter is designed to
filter a digital image in the horizontal
dimension. This FIR filter can be
configured to have as many as 16-taps
when symmetric coefficient sets are
used and 8-taps when asymmetric
coefficient sets are used.
DATA
DELAY
LINE BUFFER
12
LINE BUFFER
LINE BUFFER
DOUT11-0
ALUs
FIGURE 7.
3-3, 5-5, AND 7-7 ORTHOGONAL KERNELS
V1
V1
V2
V1
V2
V3
H1 HV2 H3
H1 H2 HV3 H4 H5
H1 H2 H3 HV4 H5 H6 H7
V3
V4
V5
V5
V6
V7
The HV Filter can handle kernel sizes
of 3-3, 5-5, and 7-7 (see Figure 7).
Data delay elements at the input of
the horizontal filter and the output of
the vertical filter are used to properly
align data so that the orthogonal
kernel is implemented correctly. The
data delays are automatically set to
the correct lengths based on the
programmed length of the line buffers
and the kernel size.
Kernel sizes of 3-3, 5-5, and 7-7
require that the horizontal filter’s
output be delayed by LB – 2, 2(LB) – 3,
and 3(LB) – 4 clock cycles respectively
before being added to the vertical
filter’s output (LB is the programmed
line buffer length). The data delay at
the input of the horizontal filter
handles the LB, 2(LB), and 3(LB)
delays. The data delay at the output
of the vertical filter handles the – 2, – 3,
and – 4 delays. For example, if the line
buffers are programmed for a length of
720 and a 5–5 kernel is selected, the
horizontal filter input data delay will
be 1440 clock cycles and the vertical
filter output data delay will be 3 clock
cycles.
It is important to note that the first 3,
5, or 7 multipliers of the horizontal
and vertical filters must be used in
Orthogonal Mode. If other multipliers are used, data from the horizontal
The ALUs double the number of filter
taps available, when symmetric
coefficient sets are used, by
pre-adding data values which are
then multiplied by a common coefficient (see Figure 8). The ALUs can
perform two operations: A+B and
B–A. Bit 0 of Configuration Register 0 determines the ALU operation.
A+B is used with even-symmetric
coefficient sets. B–A is used with
odd-symmetric coefficient sets. Also,
either the A or B operand may be set
to 0. Bits 1 and 2 of Configuration
Register 0 control the ALU inputs.
A+0 or B+0 are used with asymmetric
coefficient sets.
Interleave/Decimation Registers
The Interleave/Decimation Registers
(I/D Registers) feed the ALU inputs.
They allow the device to filter up to
sixteen data sets interleaved into the
same data stream without having to
separate the data sets. The I/D
Registers should be set to a length
equal to the number of data sets
interleaved together. For example, if
two data sets are interleaved together,
the I/D Registers should be set to a
length of two. Bits 1 through 4 of
Configuration Register 1 determine
Video Imaging Products
6
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
FIGURE 8.
Horizontal / Vertical Digital Image Filter
SYMMETRIC COEFFICIENT SET EXAMPLES
8 7 6 5
8 7 6 5 4 3 2 1
7 6 5 4 3 2 1
Even-Tap, Even-Symmetric
Coefficient Set
Odd-Tap, Even-Symmetric
Coefficient Set
Even-Tap, Odd-Symmetric
Coefficient Set
1-16
1-16
1-16
1-16
DATA
REVERSAL
Delay Stage N–1
1-16
1-16
1-16
DATA
REVERSAL
1-16
1-16
DATA
REVERSAL
1-16
1-16
I/D REGISTER DATA PATHS
1-16
FIGURE 9.
4 3 2 1
Delay Stage N
A
ALU
B
A
ALU
B
A
ALU
B
A
ALU
B
A
ALU
B
A
ALU
B
COEF 7
COEF 7
2
COEF 7
2
COEF 6
COEF 6
COEF 6
EVEN-TAP MODE
the I/D Register length.
The I/D Registers also facilitate using
decimation to increase the number of
filter taps. Decimation by N is
accomplished by reading the horizontal filter’s output once every N clock
cycles. The device supports decimation up to 16:1. With no decimation,
the maximum number of filter taps is
sixteen. When decimating by N, the
number of filter taps becomes 16N
because there are N–1 clock cycles
when the horizontal filter’s output is
not being read. The extra clock cycles
are used to calculate more filter taps.
When decimating, the I/D Registers
should be set to a length equal to the
decimation factor. For example,
when performing a 4:1 decimation,
the I/D Registers should be set to a
ODD-TAP MODE
ODD-TAP INTERLEAVE MODE
length of four. When not decimating
or when only one data set
(non-interleaved data) is fed into the
device, the I/D Registers should be
set to a length of one.
I/D Registers, and line buffers. Both
must be active to enable data loading
in Orthogonal Mode.
HSHEN enables or disables the
loading of data into the forward and
reverse I/D Registers when the device
is in Dimensionally Separate Mode
(see the HSHEN section for a full
discussion). When in Orthogonal
Mode, HSHEN also enables or
disables the loading of data into the
input register (DIN11-0) and the line
buffers.
The multiplexer in the middle of the
I/D Register data path controls how
data is fed to the reverse data path.
The forward data path contains
the I/D Registers in which data
flows from left to right in the
block diagram in Figure 1. The
reverse data path contains the I/D
Registers in which data flows from
right to left. When the filter is
configured for an even number of
taps, data from the last I/D Register in the forward data path is fed
into the first I/D Register in the
reverse data path (see Figure 9).
It is important to note that in
Orthogonal Mode, either HSHEN or
VSHEN can disable the loading of
data into the input register (DIN11-0),
I/D Register Data Path Control
Video Imaging Products
7
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
When the filter is configured for an
odd number of taps (interleaved or
non-interleaved modes), the filter is
structured such that the center data
value is aligned simultaneously at the
A and B inputs of the last ALU in the
forward data path. In order to
achieve the correct result, the user
must divide the coefficient by two.
FIGURE 11. HORIZONTAL AND VERTICAL ROUND/SELECT/LIMIT CIRCUITRY
VRSL3-0
DATA IN
32
32
HRSL3-0
4
RH0
4
DATA IN
32
32
RND
RH15
RND
32
SELECT
SELECT
12
12
SH0
32
5
SH15
5
LH0
24
24
LIMIT
LIMIT
LH15
When interleaved data is fed through
the device and an even tap filter is
desired, the filter should be configured for an even number of taps (Bit 5
of CR1 set to “0”) and the I/D Register length should match the number
of data sets interleaved together.
When interleaved data is to be fed
through the device and an odd tap
filter is desired, the filter should be
set to Odd-Tap Interleave Mode. Bit 0
of Configuration Register 1 configures
the filter for Odd-Tap Interleave
Mode. When the filter is configured
for Odd-Tap Interleave Mode, data
from the next to last I/D Register in
the forward data path is fed into the
first I/D Register in the reverse data
path.
The horizontal filter output may be
rounded by adding the contents of
one of the sixteen horizontal round
registers to the horizontal filter output
RV0
1-16
When the filter is configured for an
odd number of taps, the data which
will appear at the output of the last
I/D Register in the forward data path
on the next clock cycle is fed into the
first I/D Register in the reverse data
path. Bit 5 in Configuration Register
1 configures the filter for an even or
odd number of taps.
Horizontal Rounding
RV15
LIFO B
SV0
LIFO A
Data reversal circuitry is placed after
the multiplexer which routes data
from the forward data path to the
reverse data path (see Figure 10).
When decimating, the data stream
must be reversed in order for data to
be properly aligned at the inputs of
the ALUs. When data reversal is
enabled, the circuitry uses a pair of
LIFOs to reverse the order of the data
sent to the reverse data path. When
TXFR goes LOW, the LIFO sending
data to the reverse data path becomes
the LIFO receiving data from the
forward data path, and the LIFO
receiving data from the forward data
path becomes the LIFO sending data
to the reverse data path. The device
must see a HIGH to LOW transition
of TXFR in order to switch LIFOs. If
decimating by N, TXFR should go low
once every N clock cycles. When data
reversal is disabled, the circuitry
functions like an I/D Register. When
feeding interleaved data through the
filter, data reversal should be
disabled. Bit 6 of Configuration
Register 1 enables or disables data
reversal.
SV15
TXFR
Data Reversal
LV0
DATA REVERSAL
LV15
FIGURE 10.
Horizontal / Vertical Digital Image Filter
VERTICAL RSL
12
DATA OUT
12
HORIZONTAL RSL
DATA OUT
Video Imaging Products
8
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
TABLE 2. CONFIGURATION REGISTER 0 – ADDRESS 200H
BITS
FUNCTION
DESCRIPTION
0
ALU Mode
0: A + B
1: B – A
1
Pass A
0 : ALU Input A = 0
1 : ALU Input A = Forward Register Path
2
Pass B
0 : ALU Input B = 0
1 : ALU Input B = Reverse Register Path
Reserved
Must be set to “0”
11-3
TABLE 3. CONFIGURATION REGISTER 1 – ADDRESS 201H
BITS
0
4-1
FUNCTION
DESCRIPTION
Odd-Tap Interleave Mode
0 : Odd-Tap Interleave Mode Disabled
1 : Odd-Tap Interleave Mode Enabled
I/D Register Length
0000:
0001:
0010:
0011:
0100:
0101:
0110:
0111:
1000:
1001:
1010:
1011:
1100:
1101:
1110:
1111:
1 Register
2 Registers
3 Registers
4 Registers
5 Registers
6 Registers
7 Registers
8 Registers
9 Registers
10 Registers
11 Registers
12 Registers
13 Registers
14 Registers
15 Registers
16 Registers
Horizontal Tap Number
0 : Even Number of Taps
1 : Odd Number of Taps
6
Horizontal Data Reversal
0 : Data Reversal Enabled
1 : Data Reversal Disabled
Reserved
Must be set to “0”
(see Figure 11). Each round register is
32-bits wide and user-programmable.
This allows the filter’s output to be
rounded to any precision required.
Since any 32-bit value may be
programmed into the round registers,
the device can support complex
rounding algorithms as well as
standard Half-LSB rounding. HRSL30 determines which of the sixteen
horizontal round registers are used in
the rounding operation. A value of 0
The word width of the horizontal
filter output is 32-bits. However, only
12-bits may be sent to the filter
output. The horizontal filter select
circuitry determines which 12-bits are
passed (see Table 1). The horizontal
select registers control the horizontal
select circuitry. There are sixteen
horizontal select registers. Each select
register is 5-bits wide and userprogrammable. HRSL3-0 determines
which of the sixteen horizontal select
registers are used in the horizontal
select circuitry. A value of 0 on
HRSL3-0 selects horizontal select
register 0. A value of 1 selects horizontal select register 1 and so on.
HRSL3-0 may be changed every clock
cycle if desired. This allows the 12-bit
window to be changed every clock
cycle. This is useful when filtering
interleaved data. Select register
loading is discussed in the LF
InterfaceTM section.
Horizontal Limiting
5
11-7
Horizontal Select
on HRSL3-0 selects horizontal round
register 0. A value of 1 selects horizontal round register 1 and so on.
HRSL3-0 may be changed every clock
cycle if desired. This allows the
rounding algorithm to be changed
every clock cycle. This is useful when
filtering interleaved data. If rounding
is not desired, a round register should
be loaded with 0 and selected as the
register used for rounding. Round
register loading is discussed in the LF
InterfaceTM section.
An output limiting function is
provided for the output of the
horizontal filter. The horizontal limit
registers determine the valid range of
output values when limiting is
enabled (Bit 1 in Configuration
Register 5). There are sixteen 24-bit
horizontal limit registers. HRSL3-0
determines which horizontal limit
register is used during the limit
operation. A value of 0 on HRSL3-0
selects horizontal limit register 0. A
value of 1 selects horizontal limit
register 1 and so on. Each limit
register contains both an upper and
lower limit value. If the value fed to
the limiting circuitry is less than the
lower limit, the lower limit value is
passed as the filter output. If the
value fed to the limiting circuitry is
greater than the upper limit, the
upper limit value is passed as the
filter output. HRSL3-0 may be
changed every clock cycle if desired.
This allows the limit range to be
Video Imaging Products
9
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
changed every clock cycle. This is
useful when filtering interleaved
data. When loading limit values into
the device, the upper limit must be
greater than the lower limit. Limit
register loading is discussed in the LF
InterfaceTM section.
Vertical Filter
The vertical filter is designed to filter
a digital image in the vertical dimension. It is a FIR filter which can be
configured to have as many as 8-taps.
Line Buffers
There are seven on-chip line buffers.
The maximum delay length of each
line buffer is 3076 cycles and the
minimum is 4 cycles. Configuration
Register 2 (CR2) determines the delay
length of the line buffers. The line
buffer length is equal to the value of
CR2 plus 4. A value of 0 for CR2 sets
the line buffer length to 4. A value of
3072 for CR2 sets the line buffer
length to 3076. Any values for CR2
greater than 3072 are not valid.
The line buffers have two modes of
operation: delay mode and recirculate
mode. Bit 0 of Configuration Register
3 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 CR2. 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 3
allows the line buffers to be loaded in
parallel. When Bit 1 is “1”, the input
register (DIN11-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.
VSHEN enables or disables the
loading of data into the line buffers
when the device is in Dimensionally
Separate Mode (see the VSHEN
Horizontal / Vertical Digital Image Filter
section for a full discussion). When in
Orthogonal Mode, VSHEN also
enables or disables the loading of data
into the input register (DIN11-0) and
the forward and reverse I/D Registers.
It is important to note that in Orthogonal Mode, either HSHEN or
VSHEN can disable the loading of
data into the input register (DIN11-0),
I/D Registers, and line buffers. Both
must be active to enable data loading
in Orthogonal Mode.
Interleaved Data
The vertical filter 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 vertical filter
can handle it no matter how many
data sets are interleaved together.
TABLE 4. CONFIGURATION REGISTER 2 – ADDRESS 202H
BITS
FUNCTION
DESCRIPTION
11-0
Line Buffer Length
See Line Buffer Description Section
TABLE 5. CONFIGURATION REGISTER 3 – ADDRESS 203H
BITS
FUNCTION
DESCRIPTION
0
Line Buffer Mode
0 : Delay Mode
1 : Recirculate Mode
1
Line Buffer Load
0 : Normal Load
1 : Parallel Load
Reserved
Must be set to “0”
11-2
TABLE 6. CONFIGURATION REGISTER 4 – ADDRESS 204H
BITS
FUNCTION
DESCRIPTION
0
HV Filter Mode
0 : Orthogonal Mode
1 : Dimensionally Separate
1
HV Direction
0 : Horizontal to Vertical
1 : Vertical to Horizontal
Orthogonal Kernel Size
00 :
01 :
10 :
11 :
Limit Register Load Control
0 : Limit Registers Always Enabled
1 : Limit Registers Under Shift Enable Control
Reserved
Must be set to “0”
3-2
4
11-5
3-3 Kernel
5-5 Kernel
7-7 Kernel
Not Used
TABLE 7. CONFIGURATION REGISTER 5 – ADDRESS 205H
BITS
FUNCTION
DESCRIPTION
0
Vertical Limit Enable
0 : Vertical Limiting Disabled
1 : Vertical Limiting Enabled
1
Horizontal Limit Enable
0 : Horizontal Limiting Disabled
1 : Horizontal Limiting Enabled
Reserved
Must be set to “0”
11-2
Video Imaging Products
10
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
TABLE 8. HCF/VCF11-9 DECODE
11 10 9 DESCRIPTION
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Coefficient Banks
Configuration Registers
Horizontal Select Registers
Vertical Select Registers
Horizontal Round Registers
Vertical Round Registers
Horizontal Limit Registers
Vertical Limit Registers
Vertical Rounding
The vertical filter output may be
rounded by adding the contents of
one of the sixteen vertical round
registers to the vertical filter output
(see Figure 11). Each round register is
32-bits wide and user-programmable.
This allows the filter’s output to be
rounded to any precision required.
Since any 32-bit value may be
programmed into the round registers,
the device can support complex
rounding algorithms as well as
standard Half-LSB rounding.
VRSL3-0 determines which of the
sixteen vertical round registers are
used in the rounding operation. A
value of 0 on VRSL3-0 selects vertical
round register 0. A value of 1 selects
vertical round register 1 and so on.
VRSL3-0 may be changed every clock
cycle if desired. This allows the
rounding algorithm to be changed
every clock cycle. This is useful when
filtering interleaved data. If rounding
is not desired, a round register should
be loaded with 0 and selected as the
register used for rounding. Round
register loading is discussed in the LF
InterfaceTM section.
Vertical Select
The word width of the vertical filter
output is 32-bits. However, only
12-bits may be sent to the filter
output. The vertical filter select
circuitry determines which 12-bits are
passed (see Table 1). The vertical
select registers control the vertical
select circuitry. There are sixteen
vertical select registers. Each select
Horizontal / Vertical Digital Image Filter
TABLE 9. HRZ. ROUND REGISTERS
TABLE 12. VRT. ROUND REGISTERS
REGISTER
ADDRESS (HEX)
REGISTER
ADDRESS (HEX)
0
1
800
801
0
1
A00
A01
14
15
80E
80F
14
15
A0E
A0F
TABLE 10. HRZ. SELECT REGISTERS
TABLE 13. VRT. SELECT REGISTERS
REGISTER
ADDRESS (HEX)
REGISTER
ADDRESS (HEX)
0
1
400
401
0
1
600
601
14
15
40E
40F
14
15
60E
60F
TABLE 11. HRZ. LIMIT REGISTERS
TABLE 14. VRT. LIMIT REGISTERS
REGISTER
ADDRESS (HEX)
REGISTER
ADDRESS (HEX)
0
1
C00
C01
0
1
E00
E01
14
15
C0E
C0F
14
15
E0E
E0F
register is 5-bits wide and
user-programmable. VRSL3-0 determines which of the sixteen vertical
select registers are used in the vertical
select circuitry. A value of 0 on
VRSL3-0 selects vertical select register
0. A value of 1 selects vertical select
register 1 and so on. VRSL3-0 may be
changed every clock cycle if desired.
This allows the 12-bit window to be
changed every clock cycle. This is
useful when filtering interleaved
data. Select register loading is
discussed in the LF InterfaceTM
section.
Vertical Limiting
An output limiting function is provided for the output of the vertical
filter. The vertical limit registers
determine the valid range of output
values when limiting is enabled (Bit 0
in Configuration Register 5). There
are sixteen 24-bit vertical limit
registers. VRSL3-0 determines which
vertical limit register is used during
the limit operation. A value of 0 on
VRSL3-0 selects vertical limit register
0. A value of 1 selects vertical limit
register 1 and so on. Each limit
register contains both an upper and
lower limit value. If the value fed to
the limiting circuitry is less than the
lower limit, the lower limit value is
passed as the filter output. If the
value fed to the limiting circuitry is
greater than the upper limit, the upper
limit value is passed as the filter output.
VRSL3-0 may be changed every clock
cycle if desired. This allows the limit
range to be changed every clock cycle.
This is useful when filtering interleaved
data. When loading limit values into
the device, the upper limit must be
greater than the lower limit. Limit
register loading is discussed in the LF
InterfaceTM section.
Video Imaging Products
11
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
FIGURE 12. COEFFICIENT BANK LOADING SEQUENCE
COEFFICIENT SET 1
COEFFICIENT SET 2
COEFFICIENT SET 3
CLK
W1
W2
W3
HLD/VLD
HCF/VCF11-0
ADDR1
COEF0
COEF7
ADDR2
COEF0
COEF7
ADDR3
COEF0
COEF7
W1: Coefficient Set 1 written to coefficient banks during this clock cycle.
W2: Coefficient Set 2 written to coefficient banks during this clock cycle.
W3: Coefficient Set 3 written to coefficient banks during this clock cycle.
FIGURE 13. CONFIGURATION/CONTROL REGISTER LOADING SEQUENCE
CONFIG REG
SELECT REG
ROUND REGISTER
LIMIT REGISTER
CLK
W2
W1
W3
W4
HLD/VLD
HCF/VCF11-0
ADDR1
DATA1
ADDR2
DATA1
ADDR3
DATA1
DATA2
DATA3
DATA4
ADDR4
DATA1
DATA2
W1: Configuration Register loaded with new data on this rising clock edge.
W2: Select Register loaded with new data on this rising clock edge.
W3: Round Register loaded with new data on this rising clock edge.
W4: Limit Register loaded with new data on this rising clock edge.
Coefficient Banks
The coefficient banks store the
coefficients which feed into the
multipliers in the horizontal and
vertical filters. There is a separate
bank for each multiplier. Each bank
can hold 256 12-bit coefficients. The
banks are loaded using an LF
InterfaceTM. There is a separate LF
InterfaceTM for the horizontal and
vertical banks. Coefficient bank
loading is discussed in the LF
InterfaceTM section.
Configuration and Control Registers
The Configuration Registers determine how the HV Filter operates.
Tables 2 through 7 show the formats
of the six configuration registers.
There are three types of control
registers: round, select, and limit.
There are sixteen round registers for
the horizontal filter and sixteen for the
vertical filter. Each register is 32-bits
wide. HRSL3-0 and VRSL3-0 determine
which horizontal and vertical round
registers respectively are used for
rounding.
limiting when limiting is enabled.
Configuration and Control Register
loading is discussed in the LF
InterfaceTM section.
There are sixteen select registers for
the horizontal filter and sixteen for
the vertical filter. Each register is
5-bits wide. HRSL3-0 and VRSL3-0
determine which horizontal and
vertical select registers respectively
are used in the select circuitry.
The Horizontal and Vertical
LF InterfacesTM are used to load data
into the horizontal and vertical
coefficient banks respectively. They
are also used to load data into the
Configuration and Control Registers.
There are sixteen limit registers for
the horizontal filter and sixteen for
the vertical filter. Each register is
24-bits wide and stores both an upper
and lower limit value. The lower
limit is stored in bits 11-0 and the
upper limit is stored in bits 23-12.
HRSL3-0 and VRSL3-0 determine
which horizontal and vertical limit
registers respectively are used for
LF InterfaceTM
The following section describes how
the Horizontal LF InterfaceTM works.
The Horizontal and Vertical
LF InterfacesTM are identical in
function. If HLD and HCF11-0 are
replaced with VLD and VCF11-0, the
following section will describe how
the Vertical LF InterfaceTM works.
HLD is used to enable and disable the
Horizontal LF InterfaceTM. When
Video Imaging Products
12
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
HLD goes LOW, the Horizontal LF
InterfaceTM is enabled for data input.
The first value fed into the interface
on HCF11-0 is an address which
determines what the interface is going
to load. The three most significant
bits (HCF11-9) determine if the LF
InterfaceTM will load coefficient banks
or Configuration/Control Registers
(see Table 8). The nine least significant bits (HCF8-0) are the address for
whatever is to be loaded (see
Tables 9-14). For example, to load
address 15 of the horizontal coefficient
banks, the first data value into the
LF InterfaceTM should be 00FH. To
load horizontal limit register 10, the
first data value should be C0AH. The
first address value should be loaded into
the interface on the same clock cycle that
latches the HIGH to LOW transition of
HLD (see Figures 12 and 13).
The next value(s) loaded into the
interface are the data value(s) which
will be stored in the bank or register
defined by the address value. When
loading coefficient banks, the interface will expect eight values to be
loaded into the device after the
address value. The eight values are
coefficients 0 through 7. When
loading select or Configuration
Registers, the interface will expect one
value after the address value. When
loading round registers, the interface
will expect four values after the
address value. When loading limit
registers, the interface will expect two
values after the address value.
Figures 12 and 13 show the data
loading sequences for the coefficient
banks and Configuration/Control
Registers.
Both HPAUSE and VPAUSE allow the
user to effectively slow the rate of data
loading through the LF InterfaceTM.
When HPAUSE is HIGH, the LF
InterfaceTM affecting the data used for
the Horizontal Filter is held until
HPAUSE is returned to a LOW.
When VPAUSE is HIGH, the LF
InterfaceTM affecting the data used for
the Vertical Filter is held until
VPAUSE is returned to a LOW.
Figures 14 through 17 display the
effects of both HPAUSE and VPAUSE
while loading coefficient and control
data.
Table 15 shows an example of loading
data into the coefficient banks. The
following data values are written into
address 10 of coefficient banks 0
through 7: 210H, 543H, C76H, 9E3H,
701H, 832H, F20H, 143H. Table 16
FIGURE 14. COEFFICIENT BANK LOADING SEQUENCE WITH HPAUSE AND VPAUSE IMPLEMENTATION
COEFFICIENT SET 1
CLK
W1
HPAUSE/VPAUSE
HLD/VLD
HCF/VCF11-0
ADDR1
COEF0
COEF1
COEF7
W1: Coefficient Set 1 written to coefficient banks during this clock cycle.
FIGURE 15. CONFIGURATION AND SELECT REGISTER LOADING SEQUENCE WITH HPAUSE AND VPAUSE IMPLEMENTATION
CONFIGURATION REGISTER
SELECT REGISTER
CLK
W1
W2
HPAUSE/VPAUSE
HLD/VLD
HCF/VCF11-0
ADDR1
DATA1
ADDR2
DATA1
W1: Configuration Register loaded with new data on this rising clock edge.
W2: Select Register loaded with new data on this rising clock edge.
Video Imaging Products
13
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
shows an example of loading data
into a Configuration Register. Data
value 003H is written into Configuration Register 4. Table 17 shows an
example of loading data into a round
register. Data value 7683F4A2H is
written into horizontal round register
12. Table 18 shows an example of
loading data into a select register.
Data value 00FH is loaded into
horizontal select register 2. Table 19
shows an example of loading data
into vertical limit register 7. Data
value 390H is loaded as the lower
limit and 743H is loaded as the upper
limit.
FIGURE 16. ROUND REGISTER LOADING SEQUENCE WITH HPAUSE AND VPAUSE IMPLEMENTATION
ROUND REGISTER
CLK
W1
HPAUSE/VPAUSE
HLD/VLD
HCF/VCF11-0
ADDR1
DATA1
DATA2
DATA3
DATA4
W1: Round Register loaded with new data on this rising clock edge.
FIGURE 17. LIMIT REGISTER LOADING SEQUENCE WITH HPAUSE AND VPAUSE IMPLEMENTATION
LIMIT REGISTER
CLK
W1
HPAUSE/VPAUSE
HLD/VLD
HCF/VCF11-0
ADDR1
DATA1
DATA2
W1: Limit Register loaded with new data on this rising clock edge.
TABLE 15.
COEFFICIENT BANK LOADING FORMAT
H/VCF11 H/VCF10 H/VCF9 H/VCF8 H/VCF7 H/VCF6 H/VCF5 H/VCF4 H/VCF3 H/VCF2 H/VCF1 H/VCF0
1st Word - Address
0
0
0
0
0
0
0
0
1
0
1
0
2nd Word - Bank 0
0
0
1
0
0
0
0
1
0
0
0
0
3rd Word - Bank 1
0
1
0
1
0
1
0
0
0
0
1
1
4th Word - Bank 2
1
1
0
0
0
1
1
1
0
1
1
0
5th Word - Bank 3
1
0
0
1
1
1
1
0
0
0
1
1
6th Word - Bank 4
0
1
1
1
0
0
0
0
0
0
0
1
7th Word - Bank 5
1
0
0
0
0
0
1
1
0
0
1
0
8th Word - Bank 6
1
1
1
1
0
0
1
0
0
0
0
0
9th Word - Bank 7
0
0
0
1
0
1
0
0
0
0
1
1
Video Imaging Products
14
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
It takes 9S clock cycles to load S
coefficient sets into the device.
Therefore, it takes 2304 clock cycles to
load all 256 coefficient sets. Assuming
an 83 MHz clock rate, all 256 coefficient sets can be updated in 28.8 µs,
which is well within vertical blanking
time. It takes 5S or 3S clock cycles to
load S round or limit registers respectively. Therefore, it takes 256 clock
cycles to update all round and limit
registers (both horizontal and vertical). Assuming an 83 MHz clock rate,
TABLE 16.
all horizontal and vertical Round/
Limit registers can be updated in
3.08 µs.
The coefficient banks and Configuration/Control Registers are not loaded
with data until all data values for the
specified address are loaded into the
LF InterfaceTM. In other words, the
coefficient banks are not written to
until all eight coefficients have been
loaded into the LF InterfaceTM. A
round register is not written to until
all four data values are loaded.
After the last data value is loaded, the
interface will expect a new address
value on the next clock cycle. After
the next address value is loaded, data
loading will begin again as previously
discussed. As long as data is loaded
into the interface, HLD must remain
LOW. After all desired coefficient
banks and Configuration/Control
Registers are loaded with data, the LF
InterfaceTM must be disabled. This is
CONFIGURATION REGISTER LOADING FORMAT
H/VCF11 H/VCF10 H/VCF9 H/VCF8 H/VCF7 H/VCF6 H/VCF5 H/VCF4 H/VCF3 H/VCF2 H/VCF1 H/VCF0
1st Word - Address
0
0
1
0
0
0
0
0
0
1
0
0
2nd Word - Data
0
0
0
0
0
0
0
0
0
0
1
1
TABLE 17.
ROUND REGISTER LOADING FORMAT
H/VCF11 H/VCF10 H/VCF9 H/VCF8 H/VCF7 H/VCF6 H/VCF5 H/VCF4 H/VCF3 H/VCF2 H/VCF1 H/VCF0
1st Word - Address
1
0
0
0
0
0
0
0
1
1
0
0
2nd Word - Data
R
R
R
R
1
0
1
0
0
0
1
0*
3rd Word - Data
R
R
R
R
1
1
1
1
0
1
0
0
4th Word - Data
R
R
R
R
1
0
0
0
0
0
1
1
5th Word - Data
R
R
R
R
0**
1
1
1
0
1
1
0
R = Reserved. Must be set to “0”.
* This bit represents the LSB of the Round Register.
** This bit represents the MSB of the Round Register.
Video Imaging Products
15
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
done by setting HLD HIGH on the
clock cycle after the clock cycle which
latches the last data value. It is
important that the LF InterfaceTM
remain disabled when not loading
data into it.
The horizontal coefficient banks may
only be loaded with the Horizontal
LF InterfaceTM and the vertical coefficient banks may only be loaded with
the Vertical LF InterfaceTM. The
Configuration and Control Registers
may be loaded with either the Hori-
zontal or Vertical LF InterfacesTM.
Since both LF InterfacesTM operate
independently of each other, both
LF InterfacesTM can load data into
their respective coefficient banks at
the same time. Or, one LF InterfaceTM
can load the Configuration/Control
Registers while the other loads it’s
respective coefficient banks. If both
LF InterfacesTM are used to load a
configuration or control register at the
same time, the Vertical LF InterfaceTM
will be given priority over the Hori-
zontal LF InterfaceTM. For example, if
the Horizontal LF InterfaceTM attempts to load data into a Configuration Register at the same time that the
Vertical LF InterfaceTM attempts to
load a horizontal round register, the
Vertical LF InterfaceTM will be allowed
to load the round register while the
Horizontal LF InterfaceTM will not be
allowed to load the Configuration
Register. However, the Horizontal
LF InterfaceTM will continue to function as if the write occurred.
TABLE 18. SELECT REGISTER LOADING FORMAT
H/VCF11 H/VCF10 H/VCF9 H/VCF8 H/VCF7 H/VCF6 H/VCF5 H/VCF4 H/VCF3 H/VCF2 H/VCF1 H/VCF0
1st Word - Address
0
1
0
0
0
0
0
0
0
0
1
0
2nd Word - Data
0
0
0
0
0
0
0
0
1
1
1
1
TABLE 19. LIMIT REGISTER LOADING FORMAT
H/VCF11 H/VCF10 H/VCF9 H/VCF8 H/VCF7 H/VCF6 H/VCF5 H/VCF4 H/VCF3 H/VCF2 H/VCF1 H/VCF0
1st Word - Address
1
1
1
0
0
0
0
0
0
1
1
1
2nd Word - Data
0*
0
1
1
1
0
0
1
0
0
0
0
3rd Word - Data
0**
1
1
1
0
1
0
0
0
0
1
1
* This bit represents the MSB of the Lower Limit.
** This bit represents the MSB of the Upper Limit.
Video Imaging Products
16
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
MAXIMUM RATINGS Above which useful life may be impaired (Notes 1, 2, 3, 8)
Storage temperature ........................................................................................................... –65°C to +150°C
Operating ambient temperature ........................................................................................... –55°C to +125°C
VCC supply voltage with respect to ground ............................................................................ –0.5 V to +4.5 V
Input signal with respect to ground .......................................................................................... –0.5 V to 5.5 V
Signal applied to high impedance output ................................................................................. –0.5 V to 5.5 V
Output current into low outputs ............................................................................................................. 25 mA
Latchup current ............................................................................................................................... > 400 mA
ESD Classification (MIL-STD-883E METHOD 3015.7) ...................................................................... Class 3
OPERATING CONDITIONS To meet specified electrical and switching characteristics
Mode
Active Operation, Commercial
Temperature Range (Ambient)
0ºC to +70ºC
Supply Voltage
3.00 V ≤ VCC ≤ 3.60 V
–55ºC to +125ºC
3.00 V ≤ VCC ≤ 3.60 V
Active Operation, Military
ELECTRICAL CHARACTERISTICS Over Operating Conditions (Note 4)
Symbol
Parameter
Test Condition
Min
VOH
Output High Voltage
VCC = Min., IOH = –4 mA
2.4
VOL
Output Low Voltage
VCC = Min., IOL = 8.0 mA
VIH
Input High Voltage
VIL
Input Low Voltage
(Note 3)
IIX
Input Current
IOZ
Typ
Max
Unit
V
0.4
V
2.0
5.5
V
0.0
0.8
V
Ground ≤ VIN ≤ VCC (Note 12)
±10
µA
Output Leakage Current
Ground ≤ VOUT ≤ VCC (Note 12)
±10
µA
I CC1
VCC Current, Dynamic
(Notes 5, 6)
250
mA
I CC2
VCC Current, Quiescent
(Note 7)
2
mA
CIN
Input Capacitance
TA = 25°C, f = 1 MHz
10
pF
C OUT
Output Capacitance
TA = 25°C, f = 1 MHz
10
pF
Video Imaging Products
17
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
SWITCHING CHARACTERISTICS
COMMERCIAL OPERATING RANGE (0°C to +70°C) Notes 9, 10 (ns)
LF3310–
12345678901234567890123456789
12345678901234567890123456789
*
*
12345678901234567890123456789
25
18
15
12345678901234567890123456789
12345678901234567890123456789
Symbol Parameter
Min
Max
Min
Max
Min
Max
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tCYC Cycle Time
25
18
15
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tPWL Clock Pulse Width Low
10
8
7
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tPWH Clock Pulse Width High
10
8
7
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tS0
Input Setup Time
8
6
5
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tS1
Input Setup Time (xCEN, xRSL)*
8
6
5
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tH0
Input Hold Time
1
1
1
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tH1
Input Hold Time (xCEN, xRSL)*
1.5
1.5
1.5
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tD
Output Delay
13
11
10
12345678901234567890123456789
12345678901234567890123456789
tDIS
Three-State Output Disable Delay (Note 11) 12345678901234567890123456789
15
13
12
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
tENA Three-State Output Enable Delay (Note 11) 12345678901234567890123456789
15
13
12
SWITCHING WAVEFORMS:
12
Min
Max
12
5
5
4
4
1
1.5
8
10
10
DATA I/O
1
2
3
4
5
6
7
CLK
tS0
tH0
tPWL
tPWH
DIN11-0
DINN
DINN+1
HCA7-0
VCA7-0
HCA/VCAN
HCA/VCAN+1
CONTROLS
(Except OE)
tS1
tCYC
tH1
xCEN, xRSL
OE
tDIS
DOUT15-0
tENA
tD
HIGH IMPEDANCE
OUTPUTN-1
OUTPUTN
* The ‘x’ represents both horizontal and vertical signals for each case.
123456789012345678901234
123456789012345678901234
123456789012345678901234
*DISCONTINUED SPEED GRADE
123456789012345678901234
Video Imaging Products
18
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
COMMERCIAL OPERATING RANGE (0°C to +70°C) Notes 9, 10 (ns)
Symbol
12345678901234567890123456789
LF3310–
12345678901234567890123456789
12345678901234567890123456789
*
*
25
18
15
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
Min
Max
Min
Max
Min
Max
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
8
6
5
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
1
1
1
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
8
6
5
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
1
1
1
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
8
6
5
12345678901234567890123456789
12345678901234567890123456789
12345678901234567890123456789
1.5
1.5
1.5
12345678901234567890123456789
Parameter
tCFS
Coefficient Input Setup Time
tCFH
Coefficient Input Hold Time
tLS
Load Setup Time
tLH
Load Hold Time
tPS
PAUSE Setup Time
tPH
PAUSE Hold Time
SWITCHING WAVEFORMS:
12
Min
Max
5
1.5
4
1.5
4
1.5
LF INTERFACETM
1
2
3
4
5
6
CLK
tLS
tPWH
HLD
VLD
tLH
tPWL
tCYC
tPS
HPAUSE
VPAUSE
HCF11–0
VCF11–0
tCFS
tPH
tCFH
ADDRESS
CF0
CF1
CF2
123456789012345678901234
123456789012345678901234
123456789012345678901234
*DISCONTINUED SPEED GRADE
123456789012345678901234
Video Imaging Products
19
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
NOTES
1. Maximum Ratings indicate stress
specifications only. Functional operation of these products at values beyond
those indicated in the Operating Conditions table is not implied. Exposure to
maximum rating conditions for extended periods may affect reliability.
9. AC specifications are tested with
input transition times less than 3 ns,
output reference levels of 1.5 V (except
tDIS test), and input levels of nominally
0 to 3.0 V. Output loading may be a
resistive divider which provides for
specified IOH and IOL at an output
voltage of VOH min and VOL max
2. The products described by this spec- respectively. Alternatively, a diode
ification include internal circuitry de- bridge with upper and lower current
signed to protect the chip from damagsources of IOH and I OL respectively,
ing substrate injection currents and ac- and a balancing voltage of 1.5 V may be
cumulations of static charge. Never- used. Parasitic capacitance is 30 pF
theless, conventional precautions minimum, and may be distributed.
should be observed during storage,
handling, and use of these circuits in This device has high-speed outputs caorder to avoid exposure to excessive pable of large instantaneous current
electrical stress values.
pulses and fast turn-on/turn-off times.
As a result, care must be exercised in the
3. This device provides hard clamping testing of this device. The following
of transient undershoot. Input levels measures are recommended:
below ground will be clamped beginning at –0.6 V. The device can with- a. A 0.1 µF ceramic capacitor should be
stand indefinite operation with inputs installed between VCC and Ground
or outputs in the range of –0.5 V to leads as close to the Device Under Test
+5.5 V. Device operation will not be (DUT) as possible. Similar capacitors
adversely affected, however, input cur- should be installed between device VCC
rent levels will be well in excess of 100 and the tester common, and device
mA.
ground and tester common.
4. Actual test conditions may vary from b. Ground and VCC supply planes
those designated but operation is guar- must be brought directly to the DUT
socket or contactor fingers.
anteed as specified.
5. Supply current for a given application can be accurately approximated
by:
NCV2 F
4
where
N = total number of device outputs
C = capacitive load per output
V = supply voltage
F = clock frequency
6. Tested with outputs changing every
cycle and no load, at a 40 MHz clock
rate.
7. Tested with all inputs within 0.1 V of
VCC or Ground, no load.
8. These parameters are guaranteed
but not 100% tested.
c. Input voltages on a test fixture
should be adjusted to compensate for
inductive ground and VCC noise to maintain required DUT input levels relative
to the DUT ground pin.
11. For the tENA test, the transition is
measured to the 1.5 V crossing point
with datasheet loads. For the tDIS test,
the transition is measured to the
±200mV level from the measured
steady-state output voltage with
±10mA loads. The balancing voltage, V TH , is set at 3.0 V for Z-to-0
and 0-to-Z tests, and set at 0 V for Zto-1 and 1-to-Z tests.
12. These parameters are only tested at
the high temperature extreme, which is
the worst case for leakage current.
FIGURE A. OUTPUT LOADING CIRCUIT
S1
DUT
IOL
VTH
CL
IOH
FIGURE B. THRESHOLD LEVELS
tENA
OE
Z
tDIS
1.5 V
1.5 V
3.0V Vth
0
1.5 V
1.5 V
Z
1
VOL*
VOH*
0.2 V
0.2 V
0
Z
1
Z
0V Vth
VOL* Measured VOL with IOH = –10mA and IOL = 10mA
VOH* Measured VOH with IOH = –10mA and IOL = 10mA
10. Each parameter is shown as a minimum or maximum value. Input requirements are specified from the point
of view of the external system driving
the chip. Setup time, for example, is
specified as a minimum since the external system must supply at least that
much time to meet the worst-case requirements of all parts. Responses from
the internal circuitry are specified from
the point of view of the device. Output
delay, for example, is specified as a
maximum since worst-case operation of
any device always provides data within
that time.
Video Imaging Products
20
11/08/2001-LDS.3310-H
LF3310
DEVICES INCORPORATED
Horizontal / Vertical Digital Image Filter
GND
GND
GND
GND
GND
HCF11
HCF10
HCF9
HCF8
HCF7
HCF6
HCF5
HCF4
HCF3
HCF2
HCF1
HCF0
GND
CLK
VCC
HLD
GND
VCC
HPAUSE
GND
VCC
HSHEN
GND
VCC
TXFR
VCC
GND
GND
VCC
VCC
VCC
ORDERING INFORMATION
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
144-pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
Top
View
GND
GND
HCA7
HCA6
HCA5
HCA4
HCA3
HCA2
HCA1
HCA0
VCC
GND
HCEN
GND
VCC
GND
GND
GND
GND
VCF11
VCF10
VCF9
VCF8
VCF7
VCF6
VCF5
VCF4
VCF3
VCF2
VCF1
VCF0
VLD
VPAUSE
VCC
VCC
VCC
GND
VACC
GND
VRSL3
VRSL2
VRSL1
VRSL0
VCC
GND
NC
NC
NC
NC
DOUT11
DOUT10
DOUT9
DOUT8
GND
OE
DOUT7
DOUT6
DOUT5
DOUT4
DOUT3
DOUT2
DOUT1
DOUT0
GND
VCC
GND
HRSL3
HRSL2
HRSL1
HRSL0
HACC
GND
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
VCC
GND
GND
GND
GND
VCC
GND
DIN11
DIN10
DIN9
DIN8
DIN7
DIN6
GND
VCC
DIN5
DIN4
DIN3
DIN2
DIN1
DIN0
GND
VCC
VCA7
VCA6
VCA5
VCA4
VCA3
VCA2
VCA1
VCA0
VCEN
VSHEN
VCC
VCC
VCC
Speed
Plastic Quad Flatpack
(Q5)
0°C to +70°C — COMMERCIAL SCREENING
15 ns
12 ns
LF3310QC15
LF3310QC12
–55°C to +125°C — COMMERCIAL SCREENING
–55°C to +125°C — MIL-STD-883 COMPLIANT
Video Imaging Products
21
11/08/2001-LDS.3310-H