LF48212
DEVICES INCORPORATED
12 x 12-bit Alpha Mixer
FUNCTIONAL DESCRIPTION
delay stages to DINB11-0, DELAY5-3
should be set to “100”. DELAY14-0 is
loaded serially into the Delay Control
Register using DEL and LD. DELAY0
of the internal summer output is not
needed. The Adjust stage takes the
output of the internal summer and left
shifts the data one bit position. This
The two video signals to be mixed
together are input to the LF48212
using DINA11-0 and DINB11-0. Data
present on DINA11-0 and DINB11-0 is
latched on the rising edge of CLK.
The input data may be in either
unsigned or two’s complement
format, but both inputs must be in the
same format. TC determines the
format of the input data. When TC is
HIGH, the input data is in unsigned
format. When TC is LOW, the input
data is in two’s complement format.
TC is latched on the rising edge of
CLK and only affects the input data
latched in at the same time. The data
already in the pipeline is not affected
when TC changes.
is the first value loaded and DELAY14 removes the MSB of the internal
is the last. Data present on DEL is
latched on the rising edge of LD.
BYPASS is used to disable the pro-
grammable delay stages. When
BYPASS is HIGH, the Delay Control
Register is automatically loaded with
a “0”. This sets all programmable
delay stages to a length of zero. When
BYPASS is LOW, the Delay Control
Register may be loaded to set the
desired number of delay stages. Note
that BYPASS is not intended to change
during active operation of the
summer output and provides one
more bit of precision for the output
data.
The output data of the LF48212 may
be rounded to 8, 10, 12, or 13-bits.
RND1-0 determines how the output is
rounded (See Table 1). RND1-0 is
latched on the rising edge of CLK and
only affects the input data latched in
at the same time. The data already in
the pipeline is not affected when
RND1-0 changes.
LF48212.
FIGURE 2. OUTPUT EQUATION
The Adjust stage of the LF48212 is
used to maximize the precision of the
output data. Since α can never be
larger than 1.0, the most significant bit
DINA11-0 and DINB11-0 are mixed
together using an alpha mix factor
(α11-0) as defined by the equation
listed in Figure 2. α11-0 is unsigned
and restricted to the range of 0 to 1.0.
MIXEN controls the loading of alpha
mix data. When MIXEN is HIGH,
data present on α11-0 is latched on the
rising edge of CLK. When MIXEN is
LOW, data present on α11-0 is not
latched and the last value loaded is
held as the alpha mix value.
OUTPUT = α(DINA) + (1 – α)DINB
FIGURE 3. DELAY CONTROL REGISTER BLOCK DIAGRAM
DELAY14
DELAY13
RND1-0 DELAY
DEL
LD
D
D
D
D
D
Q
Q
Q
Q
Q
D
D
D
D
D
Q
Q
Q
Q
Q
D
D
D
D
D
Q
Q
Q
Q
Q
DELAY12
LD
LD
LD
LD
LD
LD
LD
LD
LD
LD
DELAY11
DELAY10
It is possible to add extra delay stages
to the input data and control signals
by using the programmable delay
stages. The 15-bit value (DELAY14-0)
stored in the Delay Control Register
determines the number of delay stages
added. DELAY14-0 is divided into 5
groups of 3-bits each. Each 3-bit
group contains the delay information
for one of the input data or control
signals. Figure 3 shows the block
diagram of the Delay Control Register
as well as a list of the input data and
control signals that may be delayed
and the DELAY signals that control
them. The delay length can be pro-
grammed to be from 0 to 7 stages. The
delay length is set by loading the
binary equivalent of the desired delay
length into the appropriate 3-bit
TC DELAY
DELAY
9
DELAY
DELAY
DELAY
8
7
6
α
11-0 DELAY
DELAY
DELAY
DELAY
5
4
3
DINB11-0 DELAY
DELAY
DELAY
DELAY
2
1
0
DINA11-0 DELAY
group. For example, to add four extra
Video Imaging Products
08/16/2000–LDS.48212-F
3