ETC GF9331

GF9331
HDTV/SDTV
Motion Co-processor
DATA SHEET
DEVICE OVERVIEW
• support for 10/8-bit HDTV/SDTV input video signals
The GF9331 is a high performance motion co-processor
that is used in conjunction with Gennum's GF9330
HDTV/SDTV 10-bit De-interlacer. Together, the GF9331 and
the GF9330 provide 10-bit broadcast quality de-interlacing
for standard and high-definition video signals up to
1080p60.
• seamless interface to Gennum's GF9330 high
performance de-interlacer through a filter control bus
• multi-directional edge detection and control
• support for multiplexed and non-mutiplexed Y/C video
• 3-field vertical motion detection and control
• fully configurable to support custom video modes
• ability to extract HVF information from embedded TRS
• seamless interface to popular ADCs and NTSC/PAL
decoders
• user configuration through a dedicated host interface,
supporting parallel and serial interfaces
• 5V tolerant inputs
Filter selection controls are sent to the GF9330 on a pixelby-pixel basis. The GF9331 integrates all the necessary
line delays for the motion and edge detectors. The GF9331
also provides seamless interfaces to off-chip SDRAMs that
form the required field delays.
• 3.3V supply for device I/O and 2.5V for core logic
APPLICATIONS
•
HDTV Up/Down Converters
•
Production Equipment
•
Video Walls
•
Projection Systems
•
Plasma Displays
•
LCD TVs
•
Home Theatre Systems
•
HD DVD Players
Although the GF9330 can fully function as a standalone
de-interlacer, the GF9331 provides added features in the
form of a filter selection control bus that enables
multi-directional edge and adaptive 3-field vertical motion
detection. Edge detection and interpolation removes the
edge artifacts that tend to occur while de-interlacing on
shallow horizontal edges while vertical motion detection
reduces motion artifacts.
ORDERING INFORMATION
PART NUMBER
PACKAGE
TEMP. RANGE
GF9331-CBP
328 PIN BGA
0°C to 70°C
Edge Detection
Y/C
Encoder
Pre-filter
Control bus
to GF9330
Vertical Motion
Detection
Delay
Y/C Delayed Video
to GF9330
External Memory Interface
BLOCK DIAGRAM
Revision Date: October 2002
Document No. 18303 - 3
GENNUM CORPORATION P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3
Tel. +1 (905) 632-2996 Fax. +1 (905) 632-5946 E-mail: [email protected]
www.gennum.com
GF9331
FEATURES
1
2
3
4
5
6
7
8
9
RESET
NC
S2_DAT0
S2_DAT2
S2_DAT4
S2_DAT7
S2_DAT10
S2_DAT13
S2_CLK
S2_ADDR2
10 11 12 13 14 15 16 17 18 19 20
S2_ADDR7
S2_ADDR10
S2_ADDR13
S2_CS
S2_WE
NC
NC
NC
NC
Y_OUT9
Y_IN9
NC
S2_DAT1
S2_DAT3
S2_DAT5
S2_DAT8
S2_DAT11
S2_DAT14
S2_ADDR0
S2_ADDR3
S2_ADDR6
S2_ADDR9
S2_ADDR12
S2_CAS
S2_RAS
NC
NC
NC
NC
Y_OUT8
Y_IN8
Y_IN7
Y_IN6
NC
S2_DAT6
S2_DAT9
S2_DAT12
S2_DAT15
S2_ADDR1
S2_ADDR4
S2_ADDR5
S2_ADDR8
S2_ADDR11
NC
NC
NC
NC
NC
Y_OUT6
Y_OUT7
Y_IN5
Y_IN4
Y_IN3
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
Y_OUT3
Y_OUT4
Y_OUT5
Y_IN2
Y_IN1
Y_IN0
HOST_EN
GND
VDD_INT
VDD_IO
NC
GND
VDD_IO
GND
VDD_INT
NC
GND
VDD_IO
GND
NC
Y_OUT0
Y_OUT1
Y_OUT2
VCLK_IN
NC
MODE
NC
VDD_CLKD
VDD_INT
VDD_IO
GND
VDD_IO
VDD_INT
NC
NC
NC
NC
SER_MD
STD4
STD3
STD2
VSS_CLKD
VDD_INT
GND
VDD_INT
NC
NC
NC
NC
MEMCLK_IN
STD1
STD0
XVOCLK_SL
GND
GND
GND
NC
NC
NC
C_OUT9
XVOCLK_IN
NC
C_IN9
C_IN8
VDD_IO
TGND
TGND
TGND
TGND
VDD_IO
NC
C_OUT6
C_OUT7
C_OUT8
C_IN7
C_IN6
C_IN5
C_IN4
GND
TGND
TGND
TGND
TGND
GND
NC
C_OUT3
C_OUT4
C_OUT5
C_IN0
C_IN1
C_IN2
C_IN3
VDD_INT
TGND
TGND
TGND
TGND
GND
NC
C_OUT2
C_OUT1
C_OUT0
ED_MODE
VM_MODE
NC
NC
GND
TGND
TGND
TGND
TGND
VDD_IO
NC
NC
FIL_SEL3
FIL_SEL2
FVH_EN
F_IN
V_IN
H_IN
VDD_IO
GND
NC
NC
FIL_SEL1
FIL_SEL0
A_D
CS
R_W
NC
GND
GND
GND
VDD_INT
NC
NC
NC
H_OUT
DAT_IO4
DAT_IO5
DAT_IO6
DAT_IO7
NC
VDD_INT
VDD_IO
VDD_IO
VDD_INT
NC
NC
NC
V_OUT
DAT_IO0
DAT_IO1
DAT_IO2
DAT_IO3
GND
VDD_INT
VDD_IO
NC
GND
VDD_IO
GND
VDD_INT
NC
GND
VDD_IO
GND
NC
NC
NC
F_OUT
TCLK
TMS
TDI
GND
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
GND
GND
GND
GND
GND
NC
NC
NC
S1_ADDR11
S1_ADDR8
S1_ADDR5
S1_ADDR2
S1_ADDR0
S1_DAT15
S1_DAT12
S1_DAT9
S1_DAT6
S1_DAT3
NC
NC
NC
NC
NC
TDO
NC
NC
S1_RAS
S1_CAS
S1_ADDR12
S1_ADDR9
S1_ADDR6
S1_ADDR3
S1_ADDR1
S1_DAT14
S1_DAT11
S1_DAT8
S1_DAT5
S1_DAT2
NC
NC
NC
NC
NC
NC
NC
NC
S1_WE
S1_CS
S1_ADDR13
S1_ADDR10
S1_ADDR7
S1_ADDR4
S1_CLK
S1_DAT13
S1_DAT10
S1_DAT7
S1_DAT4
S1_DAT1
S1_DAT0
NC
NC
NC
NC
A
B
GF9331
C
D
E
F
TOP VIEW
GF9331 PIN OUT
328 BGA
G
H
J
K
L
M
N
P
R
T
U
V
W
Y
GND/TGND: 0V
VDD_IO: +3.3V
VDD_INT: +2.5V
NC: No Connection
Fig. 1 Top View Pin Out (328-pin BGA)
2 of 24
GENNUM CORPORATION
18303 - 3
PIN DESCRIPTIONS
PIN GRID
TYPE
DESCRIPTION
RESET
A1
I
Active low, asynchronous RESET. Resets all internal logic to default
conditions. Should be applied on power up.
VCLK_IN
F1
I
Video input clock. When the input is SDTV the input clock will be 27, 36,
54 or 72MHz. When the input format is HDTV, the input clock will be 74.25
or 74.25/1.001MHz.
MEMCLK_IN
H1
I
Memory clock for SDRAM operation when VLCK_IN > 36MHz.
90MHz input (supplied by an off-chip crystal oscillator).
XVOCLK_IN
J1
I
External video output clock. This input may be used instead of the internal
clock doubler for the output clock.
XVOCLK_SL
H4
I
Control signal input. When HIGH, selects external XVOCLK_IN source;
when LOW, selects the internal clock doubler for generation of the output
clock (required for SD only applications where XVOCLK_IN is used to
supply S1_CLK and S2_CLK).
Y_IN[9:0]
B1,C1,C2,C3,D1,D2,
D3,E1,E2,E3
I
8/10-bit input data bus for separate luminance or multiplexed luminance
and colour difference video data. When supplying 8-bit data to the
GF9331, Y_IN[1:0] will be set LOW and the 8-bit data supplied to
Y_IN[9:2].
C_IN[9:0]
J3,J4,K1,K2,K3,K4,L4,
L3,L2,L1
I
8/10-bit input data bus for colour difference video data. When supplying
8-bit data to the GF9331, C_IN[1:0] will be set LOW and the 8-bit data
supplied to C_IN[9:2].
F_IN
N2
I
Video timing control. F_IN identifies the ODD and EVEN fields in the
incoming video signal. F_IN will be LOW in Field 1 and HIGH in Field 2.
V_IN
N3
I
Video timing control. V_IN represents the vertical blanking signal
associated with the incoming video signal. V_IN is HIGH during the
vertical blanking interval and LOW during active video.
H_IN
N4
I
Video timing control. H_IN represents the horizontal blanking signal
associated with the incoming video signal. H_IN is HIGH during horizontal
blanking and LOW during active video.
FVH_EN
N1
I
Control signal input. When HIGH, the F_IN, V_IN, and H_IN input pins will
be used for video data signaling. When LOW, embedded TRS’s will be
detected for video data signaling.
VM_MODE
M2
I
Control signal input. When HIGH, the vertical motion detection is enabled.
ED_MODE
M1
I
Control signal input. When HIGH, the edge direction detection is enabled.
STD[4:0]
G2,G3,G4,H2,H3
I
Video format definition. Defines the video standard when operating
without the host interface. See Table 1. STD[4:0] is read into the device on
a falling transition of HOST_EN or after a RESET.
MODE
F3
I
Operating mode selection. When HIGH, the GF9331 motion coprocessing is enabled. When LOW, the GF9331 motion co-processing is
bypassed. See section 8.0. MODE is read into the device on a falling
transition of HOST_EN or after a RESET.
HOST_EN
E4
I
Host interface enable. When set HIGH, the GF9331 is configured through
the host interface. When set LOW, the GF9331 is manually configured via
input pins. These values are loaded in on the falling transition of
HOST_EN.
SER_MD
G1
I
Host interface mode selection. Enables serial mode operation when
HIGH. Enables parallel mode operation when LOW.
CS
P2
I
Functions as an active low chip select input for host interface parallel
mode operation. Functions as a serial clock input for host interface serial
mode operation.
3 of 24
GENNUM CORPORATION
18303 - 3
GF9331
SYMBOL
PIN DESCRIPTIONS (Continued)
SYMBOL
PIN GRID
TYPE
DESCRIPTION
DAT_IO[7:0]
R4,R3,R2,R1,T4,T3,
T2,T1
I/O
R_W
P3
I
Host interface Read/Write control for parallel mode. A read cycle is
defined when HIGH, a write cycle is defined when LOW.
A_D
P1
I
Host interface Address/Data control for parallel mode. The data bus
contains an address when HIGH, a data word when LOW. In serial mode,
this pin serves as the chip select (active low).
Y_OUT[9:0]
A20,B20,C20,C19,D20,
D19,D18,E20,E19,E18
O
Output data bus for separate luminance or multiplexed luminance and
colour difference video data.
C_OUT[9:0]
H20,J20,J19,J18,K20,
K19,K18,L18,L19,L20
O
Output data bus for colour difference video data.
FIL_SEL[3:0]
M19,M20,N19,N20
O
Filter selection control bus output to the GF9330. The FIL_SEL[3:0] bus is
used to switch the GF9330’s internal directional filters on a pixel by pixel
basis.
H_OUT
P20
O
Output control signal. H_OUT is a horizontal blanking output.
F_OUT
T20
O
Output control signal. F_OUT is an ODD/EVEN field indicator.
V_OUT
R20
O
Output control signal. V_OUT is a vertical blanking output.
S1_CLK
Y10
O
SDRAM bank 1 clock.
S1_CS
Y5
O
Active low SDRAM chip select for Field Buffer 1.
S1_RAS
W4
O
Active low SDRAM row address strobe for Field Buffer 1.
S1_CAS
W5
O
Active low SDRAM column address strobe for Field Buffer 1.
S1_WE
Y4
O
Active low SDRAM write enable for Field Buffer 1.
S1_ADDR[13:0]
Y6,W6,V6,Y7,W7,V7,
Y8,W8,V8,Y9,W9,V9,
W10,V10
O
SDRAM address for Field Buffer 1.
S1_DAT[15:0]
V11,W11,Y11,V12,W12,
Y12,V13,W13,Y13,V14,
W14,Y14,V15,W15,
Y15,Y16
I/O
SDRAM data for Field Buffer 1.
S2_CLK
A9
O
SDRAM bank 2 clock.
S2_CS
A14
O
Active low SDRAM chip select for Field Buffer 2.
S2_RAS
B15
O
Active low SDRAM row address strobe for Field Buffer 2.
S2_CAS
B14
O
Active low SDRAM column address strobe for Field Buffer 2.
S2_WE
A15
O
Active low SDRAM write enable for Field Buffer 2.
S2_ADDR[13:0]
A13,B13,C13,A12,B12,
C12,A11,B11,C11,C10,
B10,A10,C9,B9
O
SDRAM address for Field Buffer 2.
S2_DAT[15:0]
C8,B8,A8,C7,B7,A7,
C6,B6,A6,C5,B5,A5,
B4,A4,B3,A3
I/O
SDRAM data for Field Buffer 2.
TDI
U3
I
JTAG data input; connect to GND if not used.
TMS
U2
I
JTAG mode select; connect to GND if not used.
Host interface bi-directional data bus for parallel mode. In serial mode,
DAT_IO[7] serves as the serial data output pin and DAT_IO[0] serves as
the serial data input pin.
18303 - 3
GF9331
4 of 24
GENNUM CORPORATION
PIN DESCRIPTIONS (Continued)
PIN GRID
TYPE
DESCRIPTION
TCLK
U1
I
JTAG test clock; connect to GND if not used.
TDO
W1
O
JTAG data output.
VDD_CLKD
F5
NA
2.5 V supply for the internal clock doubler.
VSS_CLKD
G5
NA
Ground connection for the internal clock doubler.
VDD_IO
E7,E10,E15,F7,F15,J5,
J16,M16,N5,R7,R15,T7,
T10,T15
NA
3.3 V supply.
VDD_INT
E6,E12,F6,F16,G6,G16,
L5,P16,R6,R16,T6,T12
NA
2.5 V supply.
GND / TGND
E5,E9,E11,E14,E16,
F14,G15,H5,H6,
H16,J9,J10,J11,J12,K5,
K9,K10,K11,K12,K16,
L9,L10,L11,L12,L16,
M5,M9,M10,M11,M12,
N16,P5,P6,P15,T5,T9,
T11,T14,T16,U4,U18,
U19,U20,V1,V2
NA
Device ground / Thermal ground (electrically equivalent).
NC
A2,A16,A17,A18,A19,
B2,B16,B17,B18,B19,
C4,C14,C15,C16,C17,
C18,D4,D5,D6,D7,D8,
D9,D10,D11,D12,D13,
D14,D15,D16,D17,E8,
E13,E17,F2,F4,F17,
F18,F19,F20,G17,G18,
G19,G20,H17,H18,
H19,J2,J17,K17,L17,
M3,M4,M17,M18,N17,
N18,P4,P17,P18,P19,
R5,R17,R18,R19,T8,
T13,T17,T18,T19,U5,
U6,U7,U8,U9,U10,U11,
U12,U13,U14,U15,U16,
U16,U17,V3,V4,V5,V16,
V17,V18,V19,V20,W2,
W3,W16,W17,W18,
W19,W20,Y1,Y2,Y3,
Y17,Y18,Y19,Y20
NA
No connection.
GF9331
SYMBOL
5 of 24
GENNUM CORPORATION
18303 - 3
ELECTRICAL CHARACTERISTICS
ABSOLUTE MAXIMUM RATINGS
PARAMETER
VALUE
Input cells used in the design are able to withstand 3.3V or
5V CMOS input signals, as well as TTL compatible inputs
without degrading performance or long-term reliability.
VDDIO
-0.5 to TBD V
VDDCORE
-0.5 to TBD V
ESD Tolerance
Input Voltage Range
(any input)
VIN
-0.5 < VIN < +4.6V
The GF9331 has 2kV ESD protection. ESD testing is done in
accordance with Gennum’s standard ESD testing
procedure.
Operating Temperature
Range
TA
0°C < TA < 70°C
Storage Temperature Range
TS
-40°C < TS < 125°C
3.3V Supply for Device I/0 and 2.5V for Core Logic
The GF9331 operates from a single +3.3V supply for device I/O
and a single +2.5V supply for core logic.
Device I/O Supply Voltage
Device Core Supply Voltage
Lead Temperature
(soldering 10 seconds)
260°C
DC ELECTRICAL CHARACTERISTICS
VDDIO = 3.0 to 3.6V, VDDCORE = 2.25 to 2.75V, TA = 0 to 70°C, unless otherwise shown
PARAMETER
CONDITIONS
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
VDDIO
+3.0
+3.3
+3.6
V
1
VDDCORE
+2.25
+2.5
+2.75
V
1
VDDIO=3.3V
ΙDDIO
-
43
-
mA
1
VDDCORE=2.5V
ΙDDCORE
-
456
-
mA
1
ΙIN=0V or IIN=VDD
ΙLEAK
-
-
10
µA
1
Tristate Leakage Current
ΙTRILEAK
-
-
10
µA
1
Input Logic LOW Voltage
VIL
-
-
0.8
V
1
Input Logic HIGH Voltage
VIH
2.1
-
-
V
1
Device I/O Supply Voltage
Device Core Supply Voltage
Device I/O Supply Current
Device Core Supply Current
Input Leakage Current
Output Logic LOW Voltage
ΙOL= 4mA
VOL
-
0.2
0.4
V
1
Output Logic HIGH Voltage
ΙOH= -4mA
VOH
2.7
-
-
V
1
NOTES:
1. Production, test and QA are performed at room tempature.
6 of 24
GENNUM CORPORATION
18303 - 3
GF9331
SYMBOL
5V Tolerant Inputs
AC ELECTRICAL CHARACTERISTICS - Video Interfaces
The Video Interface signals include VCLK_IN, Y_IN[9:0], C_IN[9:0], FIL_SEL[3:0], F_IN, V_IN, H_IN, FVH_EN, FF_EN, Y_OUT[9:0], C_OUT[9:0], H_OUT, F_OUT
and V_OUT. VDDIO = 3.0 to 3.6V, VDDCORE = 2.25 to 2.75V, TA = 0 to 70°C, unless otherwise shown
PARAMETER
CONDITIONS
MIN
TYP
MAX
UNITS
NOTES
Clock Input Frequency
FHSCI
-
74.25
83
MHz
1, 2
Input Data Setup Time
tSU
2.5
-
-
ns
1, 3
Input Data Hold Time
tIH
1.5
-
-
ns
1, 3
40
-
60
%
1
Input Clock Duty Cycle
Output Data Delay Time
VDDIO=3.6V,
CL=15pF load
tOD
-
-
10.0
ns
1
Output Data Hold Time
VDDIO=3.6V,
CL=15pF load
tOH
2.0
-
-
ns
1
Output Enable Time
VDDIO=3.6V,
CL=15pF load
tOEN
-
-
10
ns
1
Output Disable Time
VDDIO=3.6V,
CL=15pF load
tODIS
-
-
10
ns
1
Output Data Rise/Fall Time
VDDIO=3.6V,
CL=15pF load
tODRF
-
-
2.0
ns
1, 4
GF9331
SYMBOL
NOTES:
1. Based on simulation results, verified during device characterization process.
2. Also supports 74.25/1.001MHz.
3. 50% levels.
4. 20% to 80% levels.
7 of 24
GENNUM CORPORATION
18303 - 3
AC ELECTRICAL CHARACTERISTICS - SDRAM Interfaces
The SDRAM 1 Interface signals include S1_CLK, S1_CS, S1_RAS, S1_CAS, S1_WE, S1_ADDR[13:0] and S1_DAT[15:0]. The SDRAM 2 Interface signals
include S2_CLK, S2_CS, S2_RAS, S2_CAS, S2_WE, S2_ADDR[13:0] and S2_DAT[15:0].
VDDIO = 3.0 to 3.6V, VDDCORE = 2.25 to 2.75V, TA = 0 to 70°C, unless otherwise shown
PARAMETER
CONDITIONS
MIN
TYP
MAX
UNITS
NOTES
Clock Input Frequency
FHSCI_SD
-
85
90
MHz
1
Input Data Setup Time
tSU_SD
2.0
-
-
ns
1, 2
Input Data Hold Time
tIH_SD
2.5
-
-
ns
1, 2
40
-
60
%
1
Input Clock Duty Cycle
Output Data Delay Time
VDDIO=3.6V,
CL=15pF load
tOD_SD
-
-
9.1
ns
1
Output Data Hold Time
VDDIO=3.6V,
CL=15pF load
tOH_SD
2.0
-
-
ns
1
Output Enable Time
VDDIO=3.6V,
CL=15pF load
tOEN_SD
-
-
20
ns
1, 4
Output Disable Time
VDDIO=3.6V,
CL=15pF load
tODIS_SD
-
-
20
ns
1, 4
Output Data Rise/Fall Time
VDDIO=3.6V,
CL=15pF load
tODRF_SD
-
-
2.0
ns
1, 3
GF9331
SYMBOL
NOTES:
1. Based on simulation results, verified during device characterization process.
2. 50% levels.
3. 20% to 80% levels.
4. Two clock cycles allocated for data bus turnaround.
AC ELECTRICAL CHARACTERISTICS - Host Interface
The Host Interface signals include HOST_EN, SER_MD, CS, DAT_IO[7:0], R_W and A_D.
VDDIO = 3.0 to 3.6V, VDDCORE = 2.25 to 2.75V, TA = 0 to 70°C, unless otherwise shown
SYMBOL
MIN
TYP
MAX
UNITS
NOTES
Clock Input Frequency
PARAMETER
CONDITIONS
FHSCI_HI
-
-
20
MHz
1
Input Data Setup Time
tSU_HI
5
-
-
ns
1, 2
Input Data Hold Time
tIH_HI
1.5
-
-
ns
1, 2
40
-
60
%
1
Input Clock Duty Cycle
Output Data Delay Time
VDDIO=3.6V,
CL=15pF load
tOD_HI
-
-
10.0
ns
1
Output Data Hold Time
VDDIO=3.6V,
CL=15pF load
tOH_HI
2.0
-
-
ns
1
Output Enable Time
VDDIO=3.6V,
CL=15pF load
tOEN_HI
-
-
15
ns
1
Output Disable Time
VDDIO=3.6V,
CL=15pF load
tODIS_HI
-
-
15
ns
1
Output Data Rise/Fall Time
VDDIO=3.6V,
CL=15pF load
tODRF_HI
-
-
2.0
ns
1, 3
NOTES:
1. Based on simulation results, verified during device characterization process.
2. 50% levels.
3. 20% to 80% levels.
8 of 24
GENNUM CORPORATION
18303 - 3
DETAILED DEVICE DESCRIPTION
1. INPUT DATA FORMATS
GF9331
The GF9331 supports multiple input data formats with
multiplexed or separate Y/C channels. Data is supplied to
the GF9331 through the Y_IN[9:0] and the C_IN[9:0]
busses. Table 1 outlines the data formats that the GF9331
supports according to the setting of STD[4:0] pins or host
interface bits, STD[4:0].
Note: For all progressive video standards the GF9331 must
be manually set to bypass mode (MODE=0, pin or register).
See section 5.0 for host interface details.
TABLE 1:
Encoding of STD[4:0] for Selecting Input Data Format
DESCRIPTION
STD
STD[4:0]
0
00000
1
00001
2
00010
525i (30/1.001) component 16x9 SMPTE 267M. Multiplexed Y Cb Cr data applied to Y_IN. C_IN should be set
LOW. Note: Input clock is 36MHz.
3
00011
RESERVED
4
00100
625i (25Hz) component EBU tech. 3267E.. Multiplexed Y Cb Cr data applied to Y_IN. C_IN should be set LOW.
Note: Input clock is 27MHz.
5
00101
RESERVED
6
00110
625i (25Hz) component 16x9 ITU-R BT.601-5 Part B. Multiplexed Y Cb Cr data applied to Y_IN. C_IN should be
set LOW. Note: Input clock is 36MHz.
7
00111
RESERVED
8
01000
525p (60/1.001Hz) SMPTE 293M. Y Cb Cr data stream applied to Y_IN. C_IN should be set LOW. Timing
information is extracted from embedded TRS sequences. Note: Input clock is 54MHz.
9
01001
RESERVED
10
01010
RESERVED
11
01011
RESERVED
12
01100
625p (50Hz) ITU-R BT.1358. Y Cb Cr data stream applied to Y_IN. C_IN should be set LOW. Timing information is
extracted from embedded TRS sequences. Note: Input clock is 54MHz.
13
01101
625p (50Hz) 16 x 9 with 18MHz sampling. Y Cb Cr data stream applied to Y_IN. C_IN should be set LOW. Timing
information is extracted from embedded TRS sequences. Note: Input clock is 72MHz.
14
01110
Generic SD input data format with 4:1:1 sampling. Y Cb Cr data is applied to both Y_IN and C_IN. The externally
supplied F, V and H signals are used to synchronize the input data stream. Note: Input clock is 27MHz.
15
01111
Generic SD input data format with 4:2:2 sampling and single multiplexed Y Cb Cr input format. Y Cb Cr data
applied to Y_IN. C_IN should be set LOW. The externally supplied F, V and H signals are used to synchronize the
input data stream. Note: Input clock is 27 or 36MHz.
16
10000
720p (60 & 60/1.001Hz) SMPTE 296M-2001. Y Data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input
clock is 74.25MHz or 74.25/1.001MHz.
17
10001
720p (30 & 30/1.001Hz) SMPTE 296M-2001.. Y Data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input
clock is 74.25MHz or 74.25/1.001MHz.
18
10010
1080p (30 & 30/1.001Hz) SMPTE 274M. Y data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input clock is
74.25MHz or 74.25/1.001MHz.
525i (30/1.001) component SMPTE 125M.. Multiplexed Y Cb Cr data applied to Y_IN. C_IN should be set LOW.
Note: Input clock is 27MHz.
RESERVED.
9 of 24
GENNUM CORPORATION
18303 - 3
TABLE 1:
Encoding of STD[4:0] for Selecting Input Data Format
DESCRIPTION
STD[4:0]
19
10011
720p (50Hz) SMPTE 296M-2001. Y Data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input clock is
74.25MHz.
20
10100
1080p (25Hz) SMPTE 274M. Y data applied to Y_IN. Cb Cr data applied to C_IN.
Note: Input clock is 74.25MHz.
21
10101
720p (25Hz) SMPTE 296M-2001. Y Data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input clock is
74.25MHz.
22
10110
1080p (24 & 24/1.001Hz) SMPTE 274M. Y data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input clock is
74.25MHz or 74.25/1.001MHz.
23
10111
720p (24 & 24/1.001Hz) SMPTE 296M-2001.. Y Data applied to Y_IN. Cb Cr data applied to C_IN. Note: Input
clock is 74.25MHz or 74.25/1.001MHz.
24
11000
1080i (30 & 30/1.001Hz) SMPTE 274M. Y data applied to Y_IN. Cb/Cr data applied to C_IN. Note: Input clock is
74.25 MHz or 74.25/1.001MHz.
25
11001
1080p (30 & 30/1.001Hz in Segmented Frame Format) SMPTE RP211-2000. Y data applied to Y_IN. Cb Cr data
applied to C_IN. Note: Input clock is 74.25MHz or 74.25/1.001MHz.
26
11010
1080i (25Hz) SMPTE 274. Y data applied to Y_IN. Cb Cr data applied to C_IN.
Note: Input clock is 74.25MHz.
27
11011
1080p (25Hz in Segmented Frame Format) SMPTE RP211-2000. Y data applied to Y_IN. Cb Cr data applied to
C_IN. Note: Input clock is 74.25MHz.
28
11100
1080i (25Hz) SMPTE 295M. Y data applied to Y_IN. Cb Cr data applied to C_IN.
Note: Input clock is 74.25MHz.
29
11101
1080p ( 24 & 24/1.001Hz in Segmented Frame Format) SMPTE RP211-2000.. Y data applied to Y_IN. Cb Cr data
applied to C_IN. Note: Input clock is 74.25MHz or 74.25/1.001MHz.
30
11110
1035i (30Hz) SMPTE 260M. Y data applied to Y_IN. Cb Cr data applied to C_IN.
Note: Input clock is 74.25MHz.
31
11111
Generic HD input data format with 4:2:2 sampling and a separate Y/C format. Y Data applied to Y_IN. Cb Cr data
applied to C_IN. The externally supplied F_IN, V_IN and H_IN signals are used to synchronize the input data stream.
Note: Input clock is 74.25MHz or 74.25/1.001MHz.
2. INPUT SYNCHRONIZATION
2.2
The GF9331 obtains relevant timing information from either
embedded TRS information or externally supplied H_IN,
V_IN sand F_IN signals.
The GF9331 supports generic input data formats with either
4:1:1 or 4:2:2 sampling structures that require up to 2046
active samples per line and have maximum total line width of
4096 (active + blanking) samples. In addition, there is a limit of
2048 lines per interlaced frame. The following host interface
parameters are programmable to describe the generic input
data format relative to the F_IN, V_IN and H_IN signals. See
Figure 2.
When FVH_EN is set HIGH using either the host interface or
the external pin, the GF9331 relies on the externally
supplied H_IN, V_IN and F_IN signals for timing information.
When FVH_EN is set LOW, the GF9331 extracts the
embedded TRS timing information from the video data
stream and ignores any timing information present of the
F_IN, V_IN and H_IN pins.
2.1 Support for Both 8-bit and 10-bit Input Data
The GF9331 supports 8-bit and 10-bit input data. When
operating with 8-bit input data, the two LSBs of the
GF9331’s 10-bit input bus should be set LOW and the input
data applied to the 8 MSBs of the input bus.
Generic Input Format Signaling
2.2.1 H_BLANK_SIZE
This parameter defines the number of samples that
comprise the horizontal blanking region. This parameter has
a maximum value of 4095 and is to be less than the total
line width (active + blanking) sample size. Twelve bits within
the host interface are dedicated to this parameter. The
GF9331 stores and processes active video samples only
(i.e. H_IN =0).
10 of 24
GENNUM CORPORATION
18303 - 3
GF9331
STD
OUTPUT
V
H_BLANK_SIZE
0
F
1
0
1
EVEN FIELD
ODD FIELD
V_BLANK_SIZE_EVEN
GF9331
ODD FIELD
F_OFFSET_ODD
V_OFFSET_ODD
ODD FIELD
EVEN FIELD
V_BLANK_SIZE_ODD
EVEN FIELD
F_OFFSET_EVEN
V_OFFSET_EVEN
EVEN FIELD
ODD FIELD
Fig. 2 Generic Input Format Definition
2.2.2 V_BLANK_SIZE_ODD
This parameter defines the number of lines that comprise
the vertical blanking interval that follows the odd field. This
parameter has a maximum value of 255. Eight bits within
the host interface are dedicated to this parameter. The
GF9331 stores and processes active video samples only
(i.e. V_IN =0). See Figure 2.
2.2.3 V_BLANK_SIZE_EVEN
This parameter defines the number of lines that comprise
the vertical blanking interval that follows the even field. This
parameter has a maximum value of 255. Eight bits within
the host interface are dedicated to this parameter. The
GF9331 stores and processes active video samples only
(i.e. V_IN =0). See Figure 2.
Vertical Blanking Region
Last active line
h
v
V_OFFSET_ODD/EVEN
Fig. 3 V_Offset Definition
11 of 24
GENNUM CORPORATION
18303 - 3
2.2.4 V_OFFSET_ODD
2.2.9 F_POLARITY
This parameter defines the number of lines from the
V_IN pin EAV transition to the end of the odd active video
field region. This parameter has a maximum value of 255.
Eight bits within the host interface are dedicated to this
parameter. This parameter has been added to
accommodate all video decoders which output nonstandard timing for the V _IN signal. See Figure 3.
This parameter defines the polarity of the F_IN pin. Refer to
Table 2 for F_POLARITY encoding. One bit within the host
interface is dedicated to this parameter.
This parameter defines the number of lines from the
V_IN pin EAV transition to the end of the even active video
field region. This parameter has a maximum value of 255.
Eight bits within the host interface are dedicated to this
parameter. This parameter has been added to
accommodate all video decoders which output nonstandard timing for the V_IN signal. See Figure 3.
2.2.6 F_OFFSET_ODD
This parameter defines the number of lines from the
F_IN pin EAV transition to the vertical blanking interval
following the odd field. This parameter has a maximum
value of 255. Eight bits within the host interface are
dedicated to this parameter. This parameter has been
added to accommodate all video decoders which output
non-standard timing for the F_IN signal. See Figure 2.
2.2.7 F_OFFSET_EVEN
This parameter defines the number of lines from the F_IN pin
EAV transition to the vertical blanking interval following the
even field. This parameter has a maximum value of 255. Eight
bits within the host interface are dedicated to this parameter.
This parameter has been added to accommodate all video
decoders which output non-standard timing for the F_IN
signal. See Figure 2.
This parameter defines the polarity of the V_IN pin. With
V_POLARITY set LOW, a falling transition on the V_IN pin
indicates the end of active video. With V_POLARITY set
HIGH, a rising transition on the V_IN pin indicates the end
of active video. One bit within the host interface is
dedicated to this parameter.
3. SEAMLESS INTERFACE TO THE GF9330 HIGH
PERFORMANCE DE-INTERLACER FOR DIRECTIONAL FILTER
CONTROL
The GF9330 can operate as a stand-alone de-interlacer or
can operate in conjunction with the GF9331 Motion Coprocessor. The GF9331 contains adaptive muli-directional
edge detectors, as well as a vertical motion detector. Edge
sensitive control signals are fed directly to the GF9330.
These control signals adaptively switch the GF9330’s
internal de-interlacing filters on a pixel by pixel basis. These
control signals are fed to the GF9330 by the GF9331 over
the FIL_SEL[3:0] control bus.
NOTE: The Y_OUT[9:0] pins of the GF9331 must be
connected to the Y_IN[9:0] pins of the GF9330. The
C_OUT[9:0] pins of the GF9331 must be connected to the
C_IN[9:0] pins of the GF9330. The F_OUT, V_OUT and
H_OUT pins of the GF9331 must be connected to the F_IN,
V_IN and H_IN pins of the GF9330. The FIL_SEL[3:0]
output of the GF9331 must be connected to the
FIL_SEL[3:0] input of the GF9330. Refer to Figure 4 for a
pictorial description of connections between the GF9330
and the GF9331.
2.2.8 H_POLARITY
This parameter defines the polarity of the H_IN pin. With
H_POLARITY set LOW, a falling transition on the H_IN pin
indicates the end of active video. With H_POLARITY set
HIGH, a rising transition on the H_IN pin indicates the end
of active video. One bit within the host interface is
dedicated to this parameter.
TABLE 2: F_POLARITY
F_POLARITY
REGISTER
F_IN PIN
F_IN PIN FUNCTION
0
0
Even Field
0
1
Odd Field
1
0
Odd Field
1
1
Even Field
12 of 24
GENNUM CORPORATION
18303 - 3
GF9331
2.2.5 V_OFFSET_EVEN
2.2.10 V_POLARITY
Y_IN[9:0]
GF9331
C_IN[9:0]
Y_OUT[9:0]
Y_IN[9:0]
C_OUT[9:0]
C_IN[9:0]
FIL_SEL[3:0]
FIL_SEL[3:0]
Y1_OUT[11:0]
C1_OUT[11:0]
GF9330
Y2_OUT[11:0]
C2_OUT[11:0]
GF9331
Fig. 4 Using the GF9331 with the GF9330 for Motion Adaptive De-interalcing with edge and vertical motion detection
4. SEAMLESS INTERFACE TO EXTERNAL SDRAMS
5. HOST INTERFACE
The GF9331 requires two independent external field
buffers, each implemented with a 1Mx16-bit (min) SDRAM
configuration. This configuration supports all operational
modes. The following external SDRAM devices are
supported for the external field buffer function.
The GF9331 provides both serial and parallel host interface
control ports for the configuration of internal parameters.
The GF9331 is also able to operate in stand-alone mode,
with no host interface control. In stand-alone mode, the
video standard STD[4:0] and mode of operation MODE
(pins or registers, depending on the HOST_EN state).
These values are loaded into the device on a falling
transition of HOST_EN or after setting RESET LOW.
•
NEC: uPD4516161AG5, uPD4564163G5, uPD45128163G5
•
Micron: MT48LC4M16A2, MT48LC8M16A2
•
Samsung: K4S161622C, K4S641632C, K4S281632B
Both the serial and parallel interfaces share common pins
as described in Table 4.
TABLE 4: Host Interface Common Pins
GF9331 PIN NAME
PARALLEL MODE
SERIAL MODE
CS
CHIP select
SCLK - Serial Clock
DAT_IO0
Data/address (bit 0)
SDI - Serial data in
DAT_IO1
Data/address (bit 1)
(NOT USED)
DAT_IO2
Data/address (bit 2)
(NOT USED)
DAT_IO3
Data/address (bit 3)
(NOT USED)
DAT_IO4
Data/address (bit 4)
(NOT USED)
DAT_IO5
Data/address (bit 5)
(NOT USED)
DAT_IO6
Data/address (bit 6)
(NOT USED)
DAT_IO7
Data/address (bit 7)
SDO - Serial data out
A_D
Address/data select
SCS - Serial chip select
R_W
Read/write select
(NOT USED)
HOST_EN
Host Interface enable
Host Interface enable
SER_MD
low = Parallel mode enable
high = Serial mode enable
13 of 24
GENNUM CORPORATION
18303 - 3
5.1 Host Interface Serial Mode
HIGH or LOW. Before Auto-Configuring the device, the
standard and mode must be set using either the host
interface (HOST_EN = HIGH) or the external pins (with a
falling transition of HOST_EN).
This simplifies configuration while allowing customization of
many features and format parameters.
5.1.3 Serial Data Word Description
The serial data word consists of a 16-bit word as shown in
Figure 7. Serial data is transmitted or received MSB first.
MSB
D15
MASTER (uC)
SLAVE (GF9331)
uC_SCLK
SDI (DAT_IO0)
uC_SDI
SDO (DAT_IO7)
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
5.1.4 Serial Write Operation
Fig.5 Host Interface Serial Mode
5.1.1 Serial Command Word Description
The command word consists of a 16-bit word transmitted
MSB first and contains a read/write bit, an Auto-Configure
control bit, nine reserved bits and a 5-bit address as shown
in Figure 6.
MSB
R/W
D11
Fig. 7 Serial Data Word Bit Representation
SCS (A_D)
uC_SCS
D12
Both command and data words are clocked into the
GF9331 on the rising edge of the serial clock (SCLK), which
may operate in either a continuous or burst fashion. The first
bit (MSB) of the serial output (SDO) is available following
the last falling SCLK edge of the "read" command word. The
remaining bits are clocked out on the falling edges of
SCLK.
SCLK (CS)
uC_SDO
LSB
D14 D13
All write cycles consist of a command word followed by a
data word, both transmitted to the GF9331 via SDI. The first
16-bit word transmitted following a falling transition of SCS
is a command word. Several write cycles may be
performed while SCS is LOW. See Figure 8.
LSB
AC
RSV
RSV
RSV
RSV
RSV
RSV
RSV
RSV
RSV
A4
A3
A2
A1
A0
Fig. 6 Serial Command Word Bit Representation
The R/W bit indicates a Read command if R/W = ‘1’, and a
write command when R/W = ‘1’.
5.1.2 Auto-Configure
The auto-configure feature will be executed when the
Auto-Configure control bit is set (used during write
operations only). All Auto-Configure registers will be
updated to their appropriate settings based on the current
video standard and operational mode.
When setting the Auto-Configure bit, the command word
should be set with only the AC register bit set to ‘1’. All of
the remaining 15 register bits should be set to ‘0’. To
complete the Auto-Configuration 16 more data bits must be
loaded into the device. The state of these bits can be either
14 of 24
GENNUM CORPORATION
18303 - 3
GF9331
The Gennum Serial Peripheral Interface (GSPI) is a 4 wire
interface comprised of serial data in (SDI), serial data out
(SDO), an active low serial chip select (SCS), and a clock
(SCLK). The interface operates in a master/slave
configuration, where the master provides the SCLK, SDI,
and SCS signals to the slave or slaves. The master
uC_SDO drives the slave(s) SDI input. The SDO pin is a
tristate output that allows multiple devices to drive the
master uC_SDI. Serial mode operation supports both
continuous and burst clock configurations. The interface is
illustrated in Figure 5.
tSU_HI
0
1
2
3
4
5
6
7
8
9
10 11 12
13 14 15
0
1
2
3
4
5
6
7
8
D15 D14 D13 D12 D11 D10 D9
D8
9
10 11 12
13 14 15
SCLK
SCS
SDI
AC
R
R
R
R
R
R
R
R
R
A4
A3
A2 A1
A0
D7 D6
D5
D4
D3
D2 D1
D0
SDO
Fig. 8 Write Cycle
5.1.5 Serial Read Operation
All read cycles consist of a command word transmitted to
the GF9331 via SDI followed by a data word transmitted
from the GF9331 via SDO. The first 16-bit word transmitted
following a falling transition of SCS is a command word.
Several read cycles may be performed while SCS is LOW.
See Figure 9.
tOEN_HI
0
1
2
3
4
5
6
7
8
9
10
11
12
AC
0
R
R
R
R
R
R
R
R
R
A4
A3
13
14 15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14 15
SCLK
SCS
SDI
R/W
1
SDO
A2 A1
A0
tOD_HI
D15
D14 D13 D12 D11 D10 D9
tODIS_HI
D8
D7 D6
D5
D4
D3
D2 D1
D0
Fig. 9 Read Cycle
15 of 24
GENNUM CORPORATION
18303 - 3
GF9331
tSU_HI
tIH_HI
R/W
0
5.2 Host Interface Parallel Mode
The Gennum Parallel Peripheral Interface (GPPI) consists of
an 8-bit multiplexed address/data bus (DATA_IO[7:0]), a
chip select pin (CS), a read/write pin (R_W), and an
address/data pin (A_D) as shown in Figure 10.
GF9331
MASTER (uC)
SLAVE (GF9331)
uC_CS
CS
uC_ADDR/DATA
ADDR/DATA (DAT_IO[7:0])
uC_R/W
R_W
uC_A/D
A_D
Fig. 10 Host Interface Parallel Mode
Data is strobed in/out of the parallel interface on the falling
edge of CS. The GF9331 drives the DAT_IO[7:0] bus when
the R_W pin is HIGH and the CS pin is LOW, otherwise this
port is in a high impedance state.
MSB
AC
LSB
RSV
RSV
A4
A3
A2
A1
A0
5.2.1 Parallel Address Word Description
Fig. 11 Parallel Address Word Bit Representation
The 8-bit address word loads in the address to be accessed
and allows the Auto-Configure bit to be set. The MSB is the
Auto-Configure bit, followed by two reserved bits and a 5-bit
address as shown in Figure 11.
tOEN_HI
DAT_IO(7..0)
ADDRESS
(UB)
DATA_IN
(LB)
DATA_IN
tSU_HI
ADDRESS
(UB)
DATA_OUT
(LB)
DATA_OUT
tIH_HI
R_W
A_D
tODIS_HI
CS
Fig. 12 Write Cycle to the Parallel Interface
5.2.2 Parallel Write Operation
A write cycle to the parallel interface is shown in Figure 12.
First an 8-bit address word is provided to the DAT_IO port by
setting the R_W pin to LOW and A_D pin to HIGH. The MSB
of the address word contains an auto-update flag, which
allows automatic configuration of predefined registers (used
during write operations only).
The 5 LSB's of the address word contain the address location
for the read or write operation. The remaining address word
bits DAT_IO[6:5] are reserved. The address word is registered
on the falling edge of CS.
Following this, the A_D pin is driven LOW and two data words
are sent upper byte (UB) word first and are each clocked in on
the falling edge of CS. Two 8-bit data words must follow each
address word to occupy each 16-bit parameter which are
defined in Table 5.
5.2.3 Parallel Read Operation
A read cycle begins with an address write by setting the
R_W pin LOW and A_D HIGH. The address is clocked on
the falling edge of CS. Following the address, the R_W pin
must be driven HIGH and A_D driven LOW to allow the
upper byte of data to be clocked out on the first falling
edge of CS followed by the lower byte on the second falling
edge of CS.
16 of 24
GENNUM CORPORATION
18303 - 3
1D
1C
1B
1A
Address 29
Address 28
Address 27
Address 26
Address 25
Address 8
Address 7
Address 6
Address 5
Address 4
Address 3
Address 2
Address 1
Address 0
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
12
13
14
15
16
17
18
19
1E
Address 30
Address 24
Address 23
Address 22
Address 21
Address 20
Address 19
Address 18
Address 17
Address 16
Address 15
Address 14
Address 13
Address 12
Address 11
Address 10
Address 9
1F
Hex
H_POLARITY
V_POLARITY
ID_MODE(1:0)
EVEN_LINES_PER_FRAME[1:0]
Bit 15
Bit 14
CMD_RESET
F_POLARITY
PROGRESSIVE_INPUT
FIELD2_HAS_TOP_LINE
Bit 13
Bit 11
Bit 10
FVH_EN_BIT
V_OFFSET_ODD(7:0)
F_OFFSET_ODD(7:0)
CC_BLANK_START_LINE(7:0)
V_BLANK_SIZE_ODD(7:0)
FORMAT_SD
Bit 12
Bit 9
Bit 8
CC_BLANK_EN
Bit 7
Bit 5
Bit 4
Bit 3
MODE
CLK_X1_SEL
Bit 2
V_OFFESET_EVEN(7:0)
F_OFFESET_EVEN(7:0)
STD(4:0)
CC_BLANK_END_LINE(7:0)
V_BLANK_SIZE_EVEN(7:0)
NO_LINE_DELAYS(9:0)
H_BLANK_SIZE(11:0)
Bit 6
GF9331
GENNUM CORPORATION
Address 31
EDGE_CTL
Bit 1
VM_CTL
EXT_MEMCLK_SEL
START_OPERATION
Bit 0
TABLE 5: Host Interface Register Allocation
17 of 24
18303 - 3
5.3 Control Register Definition
The host interface internal registers are divided into two
classes: User Configurable (UC) and Auto-Configurable
(AC). Address locations 0 through 6 contain parameters
which may be configured by the user.
Locations 7 through 31 are automatically configured based
on the STD[4:0] and MODE registers, but can be user
configured if desired.
ADDRESS
BIT
LOCATION
0
4:0
1
2
3
6
REGISTER NAME
CLASS
DESCRIPTION
DEFAULT
STD[4:0]
UC
Defines the video standard as described in Section 1.
00000
5
MODE
UC
Enables (MODE=1) or bypasses (MODE=0) the
GF9331 processing.
0
0
VM_CTL
UC
Enables (VM_CTL=1) or bypass (VM_CTL=0) vertical
motion detection.
0
1
EDGE_CTL
UC
Enables (EDGE_CTL=1) or bypasses (EDGE_CTL=0)
edge detection.
0
6
CC_BLANK_EN
UC
Enables (CC_BLANK_EN=1) or bypasses
(CC_BLANK_EN=0) blanking in the close captioned
video region.
0
12
FVH_EN
UC
Enables the GF9331 to use external F_IN, V_IN, H_IN
controls (FVH_EN=1) in place of embedded TRS
(FVH_EN=0).
0
13
F_POLARITY
UC
When set to '1', F_IN follows normal convention where
F_IN is '0' for field 1 (odd) and '1' for field 2 (even).
1
14
V_POLARITY
UC
Defines the polarity of the V_IN pin. When set to '1',
V_IN follows normal convention where V_IN is HIGH in
the vertical blanking region.
1
15
H_POLARITY
UC
Defines the polarity of the H_IN pin. When set to '1',
H_IN follows normal convention where H_IN is HIGH in
the horizontal blanking region.
1
7:0
F_OFFSET_EVEN[7:0]
UC
Defines the number of lines from the F_IN pin EAV
transition to the vertical blanking interval following the
even field. This parameter has a maximum value
of 255.
00000000
15:8
F_OFFSET_ODD[7:0]
UC
Defines the number of lines from the F_IN pin EAV
transition to the vertical blanking interval following the
odd field. This parameter has a maximum value
of 255.
00000000
7:0
V_OFFSET_EVEN[7:0]
UC
Defines the number of lines from the V_IN pin EAV
transition to the end of the even active video field
region. This parameter has a maximum value of 255.
00000000
15:8
V_OFFSET_ODD[7:0]
UC
Defines the number of lines from the V_IN pin EAV
transition to the end of the odd active video field
region. This parameter has a maximum value of 255.
00000000
7:0
CC_BLANK_END_LINE
[7:0]
UC
Defines the last line number at which closed
captioned blanking ends. For this parameter, line 0 is
defined as the first active line of the field/frame.
00000000
15:8
CC_BLANK_START_LINE
[7:0]
UC
Defines the first line number at which closed
captioned blanking starts. For this parameter, line 0 is
defined as the first active line of the field/frame.
00000000
18 of 24
GENNUM CORPORATION
18303 - 3
GF9331
CONTROL REGISTER DEFINITIONS
CONTROL REGISTER DEFINITIONS (Continued)
BIT
LOCATION
REGISTER NAME
CLASS
DESCRIPTION
DEFAULT
19
7:0
V_BLANK_SIZE_EVEN[7:0]
AC
Defines the number of lines that comprise the vertical
blanking interval that follows the even input field.
This parameter has a maximum value of 255.
Auto
15:8
V_BLANK_SIZE_ODD[7:0]
AC
Defines the number of lines that comprise the vertical
blanking interval that follows the odd input field.
This parameter has a maximum value of 255.
Auto
12
FORMAT_SD
AC
Used to configure the GF9331 SDRAM controller into
8-bit mode for SD video formats. This bit is
auto-configured based on the standard and mode
selection.
Auto
13
PROGRESSIVE_INPUT
AC
Configures the GF9331 to accept a progressive video
format. This bit is auto-configured based on the
standard and mode selection.
Auto
15:14
ID_MODE[1:0]
AC
Defines the type of video sequence for input video demultiplexing. When set to "00" the input represents a
4:2:2 sequence, "01" represents a 4:1:1 sequence,
and "10" represents an HD format. This word can be
auto-configured based on the video standard
and mode.
Auto
11:0
H_BLANK_SIZE[11:0]
AC
Defines the number of horizontal blanked input words
per line that corresponds to 2 times the number of
blanking pixels per line for 4:2:2 SD modes and is
equal to the number of pixels per line for HD formats
(maximum 4095). This value can be auto-configured.
Auto
FIELD2_HAS_TOP_LINE
AC
Set HIGH when field 2, line one is the first line in the
video frame (SMPTE 260M).
Auto
EVEN_LINES_PER_FRAME
[1:0]
AC
Set to 11 for video standards that have an even
number of lines per frame such as SMPTE 295M,
otherwise set to 00.
Auto
NO_LINE_DELAYS[9:0]
AC
Defines the number of line delays to implement within
the external field delay. This value is auto-configured
based on the standard and mode. The calculation is:
NO_LINE_DELAYS = (Number of lines per frame - 3)/2
Auto
21
22
13
15:14
23
9:0
30
0
EXT_MEMCLK_SEL
AC
Controls the selection of the SDRAM clock source.
For VCLK_IN frequencies less than 36MHz, the
internal clock doubler can be used. In all other modes
an external source is required (MEMCLK_IN).
Auto
2
CLK_X1_SEL
AC
This parameter is normally set for all HD modes and is
‘0’ for all other cases.
Auto
15
CMD_RESET
UC
This parameter forces the GF9331 to enter a reset
state. The reset remains in effect until this parameter
is cleared with a subsequent command.
0
15
START_OPERATION
UC
If using external F_IN, V_IN and H_IN signals, this
parameter must be set following the completion of
programming the F_IN, V_IN and H_IN offsets.
0
31
19 of 24
GENNUM CORPORATION
18303 - 3
GF9331
ADDRESS
6. CLOSED CAPTIONING
The GF9331 provides a blanking function for selected input
video lines. Consecutive lines within each input field are
blanked, when this function is enabled, beginning with the
CC_BLANK_START_LINE register and ending with the
CC_BLANK_END_LINE register. The blanking is applied
prior to any processing of the video data.
GF9331
The blanking function is enabled with the CC_BLANK_EN
bit. BLANK_START_LINE and BLANK_END_LINE are each
allocated 8-bits within the host interface.
7. RESET
The RESET pin is an active low pin which will reset all
internal logic to it's default conditions when set LOW. On
power up it is recommended to reset the device to ensure
all internal registers are set to their default state. When
applying a reset, the GF9331 will load in the STD[4:0] and
MODE[2:0] settings from the external pins. If no further
configuration is done, these settings will be used for the
operation of the device.
8. MODES OF OPERATION
The device supports enabled and disabled modes of
operation. The basic operating mode for the GF9331 is
selected using the MODE pin or the MODE register within
the host interface. See Table 6.
8.1 Motion Processing Mode (MODE=1)
When set to operate as a motion co-processor the GF9331
performs edge and vertical motion detection and provides
optimal control of the GF9330 filters through the
FIL_SEL[3:0] bus on a pixel by pixel basis.
8.2 Disabled Mode (MODE=0)
The GF9331 may also be set to disabled mode of
operation. In the disabled mode, no motion co-processing
operations are performed and the FIL_SEL[3:0] output bus
is set to “0000”. In this mode, the input video is still routed
to the Y_OUT and C_OUT pins of the GF9330 (Note: Only
the active portion of the input video signal is passed
through the device to the GF9330, all other data will be lost
from the input data stream). See Table 6.
TABLE 6: Modes of Operation
MODE
DESCRIPTION
0
Disabled
1
Motion processing of input video signal
20 of 24
GENNUM CORPORATION
18303 - 3
9. PROCESSING OF INPUT FORMATS
The GF9331 provides motion processing for the formats
identified in Table 7.
TABLE 7: Processing of Input Formats
DISABLED
MODE
525i (30/1.001)
SMPTE 125M
Supported
Supported
00001
Reserved
NA
NA
00010
525i (30/1.001) SMPTE 267M - 16x9
Supported
Supported
00011
Reserved
NA
NA
00100
625i (25)
EBU Tech 3267
Supported
Supported
00101
Reserved
NA
NA
00110
625i (25) 16 x9
ITU-R BT.601 Part B
Supported
Supported
00111
Reserved
NA
NA
01000
525p (60/1.001)
SMPTE 293M
NA
Supported
01001
Reserved
NA
NA
01010
Reserved
NA
NA
01011
Reserved
NA
NA
01100
625p (50)
ITU-R BT-1358
NA
Supported
01101
625p (50) 16x9
NA
Supported
01110
Generic SD 4:1:1
Supported
Supported
01111
Generic SD 4:2:2
Supported
Supported
10000
720p (60 & 60/1.001)
SMPTE 296M-2001
(System #1 and #2)
NA
Supported
10001
720p (30 & 30/1.001)
SMPTE 296M-2001
(System #4 and #5)
NA
Supported
10010
1080p (30 & 30/1.001)
SMPTE 274M
(System #7 and #8)
NA
Supported
10011
720p (50)
SMPTE 296M-2001
(System #3)
NA
Supported
10100
1080p (25)
SMPTE 274M
(System #9)
NA
Supported
INPUT FORMAT
00000
GF9331
MOTION
PROCESSING
MODE
STD[4:0]
21 of 24
GENNUM CORPORATION
18303 - 3
TABLE 7: Processing of Input Formats
(Continued)
DISABLED
MODE
720p (25)
SMPTE 296M-2001
(System #6)
NA
Supported
10110
1080p (24 & 24/1.001)
SMPTE 274M
(System #10 and #11)
NA
Supported
10111
720p (24 & 24/1.001)
SMPTE 296M-2001
(System #7 and #8)
NA
Supported
11000
1080i (30 & 30/1.001)
SMPTE 274M
(System #4 and #5)
Supported
Supported
11001
1080PsF (30 & 30/1.001)
SMPTE RP211-2000
(System #12 and #13)
NA
Supported
11010
1080i (25)
SMPTE 274M
(System #6)
Supported
Supported
11011
1080PsF (25)
SMPTE RP211-2000
(System #14)
NA
Supported
11100
1080i (25)
SMPTE 295M
(System #2)
Supported
Supported
11101
1080PsF (24 & 24/1.001)
SMPTE RP211-2000
(System #15 & #16)
NA
Supported
11110
1035i (30 & 30/1.001)
SMPTE 260M
Supported
Supported
11111
Generic HD 4:2:2
Supported
Supported
INPUT FORMAT
10101
GF9331
MOTION
PROCESSING
MODE
STD[4:0]
22 of 24
GENNUM CORPORATION
18303 - 3
11.1 EDGE DIRECTION DETECTION FEATURE CONTROL
The GF9331 detects objects moving in the vertical direction
(e.g. rolling credits). By performing motion detection, a
special vertical filter may be enabled within the GF9331 for
interpolating the pixels with vertical motion, thereby
reducing slow motion de-interlacing artifacts. This vertical
motion detection signal is provided to the GF9330 through
the control bus (FIL_SEL[3:0]).
The GF9331 is able to operate in automatic or disabled
mode for edge detection of the video input stream. When
set to operate in disabled mode (ED_MODE=0 or
EDGE_CTL=0), the internal edge direction detection
circuitry is disabled. When set to operate in automatic
mode (ED_MODE=1 or EDGE_CTL=1) the GF9331
internally detects edge directions. See Table 9.
TABLE 9:
10.1 Vertical Motion Feature Control
The GF9331 is able to operate in automatic or disabled
mode for vertical motion detection of the video input
stream. When set to operate in disabled mode
(VM_MODE=0 or VM_CTL=0), the internal vertical motion
detection circuitry is disabled. When set to operate in
automatic mode (VM_MODE=1 or VM_CTL=1) the GF9331
internally detects vertical motion. See Table 8.
TABLE 8: Vertical Motion Control
EXTERNAL
VM_MODE PIN
HOST
INTERFACE
VM_CTL BIT
0
0
Vertical Motion
Detection Disabled
0
1
Vertical Motion
Detection Enabled
1
0
1
1
DESCRIPTION
EXTERNAL
ED_MODE PIN
HOST
INTERFACE
EDGE_CTL BIT
0
0
Edge Direction
Detection Disabled
0
1
Edge Direction
Detection Enabled
1
0
1
1
DESCRIPTION
12. VIDEO OUTPUT
The GF9331 supports all input formats defined in
Section 1. Routing of video data to the GF9330 is done via
the Y_OUT[9:0] and C_OUT[9:0] busses. Note that only the
active portion of the input video signal is passed through
the device to the GF9330 unchanged. All other ancillary
data is discarded from the input data stream. Timing
information is provided by the H_OUT, V_OUT and F_OUT
pins.
11. EDGE DIRECTION DETECTION
13. PROCESSING LATENCY
In order to reduce the edge artifacts caused by the deinterlacing process, pixel gradients are analysed calculated
along different edge directions. The analysis is based on
several complex techniques including vertical-temporal
filtering, gradient and morphological operations. Edge
interpolation filters in the GF9330 are enabled based on the
edge information provided by the GF9331 through the
FIL_SEL[3:0] control bus.
The GF9331 processing latency is constant at 2 lines and
16 pixels for all modes of operation (including bypass).
23 of 24
GENNUM CORPORATION
18303 - 3
GF9331
10. VERTICAL MOTION DETECTION
PACKAGE DIMENSIONS
1 2 3 4 5 6 7 8 9 10 11 1213 14 151617 18 19 20
1.27
27.00 ± 0.20
24.00 REF.
A
B
C
D
E
F
G
H
J
K
L
M
N
P
R
T
U
V
W
Y
4.00, 45˚ (4X)
GF9331
A
B
C
D
E
F
G
H
J
K
L
M
N
P
R
T
U
V
W
Y
0.75 ± 0.15 (X328)
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
1.00 (3X) REF.
24.13
PIN #1
1.27
24.00 REF.
24.13
2.33 ± 0.13
0.60 ± 0.10
1.17 REF.
0.56 REF.
27.00 ± 0.20
CAUTION
ELECTROSTATIC
SENSITIVE DEVICES
DO NOT OPEN PACKAGES OR HANDLE
EXCEPT AT A STATIC-FREE WORKSTATION
REVISION NOTES:
Adding row for Tri-state leakage current. - correcting spelling
errors - adding 8-bit serial command word diagram.
DOCUMENT IDENTIFICATION
DATA SHEET
The product is in production. Gennum reserves the right to make
changes at any time to improve reliability, function or design, in order to
provide the best product possible.
GENNUM CORPORATION
MAILING ADDRESS:
P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3
Tel. +1 (905) 632-2996, Fax. +1 (905) 632-5946
SHIPPING ADDRESS:
970 Fraser Drive, Burlington, Ontario, Canada L7L 5P5
GENNUM JAPAN CORPORATION
Shinjuku Green Tower Building 27F, 6-14-1, Nishi Shinjuku,
Shinjuku-ku, Tokyo, 160-0023 Japan
Tel. +81 (03) 3349-5501, Fax. +81 (03) 3349-5505
GENNUM UK LIMITED
25 Long Garden Walk, Farnham, Surrey, England GU9 7HX
Tel. +44 (0)1252 747 000, Fax. +44 (0)1252 726 523
Gennum Corporation assumes no responsibility for the use of any circuits described herein and makes no representations that they are free from patent infringement.
© Copyright June 2001 Gennum Corporation. All rights reserved. Printed in Canada.
24 of 24
18303 - 3