MOTOROLA Order this document SEMICONDUCTOR TECHNICAL DATA by MCD251 TS/D Technical Summay MPEG Full Motion Video Decoder (FMV) This technical summay provides a brief description of the MCD251 MPEG1 Full Motion Video (FMV) Decoder. A complete data sheet for the MCD251 is available and can be ordered from your local Motorola sales office. The order number is MCD251/D. The MCD251 combines all the functions necessay to implement full motion video decompression with 4 Mbits of DRAM. The device can also be used to display still pictures and brings the possibility of digital full motion imaging technology to cost sensitive computer, communications and consumer applications, e.g. CD–i player full motion video decoder. Using a combination of Huff man decoding, inverse discrete cosine transform .\+\,, >,,,.> ,, MCD251FU QFP and motion compensation, the MCD251 operates on pixels in 16 x 16 blocks. .J~~~~;,.. Each frame of a 352 x 288 pixel, 25 Hz picture sequence is therefore divid@t~’~~ j~,: !>,$,.,,; into 396 blocks, which are reconstructed “in the 4 Mbit DRAM, ..*”*, \x$&\t/l’ The MCD251 is capable of directly driving a 4 Mbit DRAM (256K %~$+6), including all necessay refresh, The transparent mode allows byt~,$nd tird ~~, accesses by the system bus directly to the DRAM. . ..:& ,.,yl.):~;., .,..: ...\’,,,.* The main features of the MCD251 are as follows: 3.;, :$ . !.~.,.it.i ‘:*i..~.,.$ b Reconstructs Full Motion Video Sequences at 24 Hz, 2YW~~r 30 Hz and Converts to a 50 Hz or 60 Hz Display Period ..!. ● Decodes Data Compatible with the Motion Pictur~~p&fls Group (MPEG1) Format at up to 5 Mbitis \ .~~,!m ~:.) ● Outputs the Decoded Video Plus a Border ot~~$defined Color as RGB \\*.f* or YUV ,Y,;~~t‘~r,,. e Display is Controlled by Externally Su@jX&Sjnchronization Signals and Pixel Clock in Either PAL or NTSC .%*’ .i;~> ..!:~, ● Able to Decode and Display Still+P&~~ ● At 30 Hz the Maximum Pictur@*@$~ 352 Pixels by 240 Lines a Maximum Picture Rate of ,;,is 30Mz $ , *\$.\$. #i:,. ,:. :*. when the IC is in transparent or debug mode. ,*a ‘.:\.. ,J\~~ .,:{l,,Ns,... ,,~i:$ :$ ,.!,. UDS [ Upper datastrobe. Active LOW. Indication that data on D8 D15 is valid ~< ,,.*}, ,,~~,v *..~t*’ in case of a write cycle to the FMV. In case of a read cycle from the FMV ,,i,::.- ,,{,, .,./ *V .:~+> “% ,.,,\,’,. . it indicates that the FMV must put data on DE .,. D15. ,i:$.,*>: ,,’‘:$ ..\$*’ ‘ ..I*:,L ‘~’+’. LDS I Lower datastrobe. Active LOW. Indication that data on DO . . D7 is valid “<’~~$, : ‘;;.** in case of a write cycle (to the FMV). In case of a read cycle (from the<,$ a~+) .\\J\ . ~,<>~ FMV) it indicates that the FMV must put data on DO .. . . D7. ~g,‘!%~.%$$y, ~,: ...-..< .\~ ,+’~ ,*,. .J.\~:.,. \,i, DTACK B Active LOW. “,~,’v..-’,? Data transfer acknowledge output: Indicates in case of a w~t&~{&?o the FMV that data is latched. In case of a read cycle from the **+ indicates that valid data is on the databus. Tri-state,,mt be Wiled up externally. !$i3T,;k:$ ,L+.~ Data transfer acknowledge input Indicates in c@~&bA transfer that *j$ .IS*, . . ,.$ there is valid data on the bus. ~t.+... ,i$x:’~ .,.,~+~’ Load 130 pF. ‘%3,:. \ w— I Read#rite. Indicates the direction of @&~$ata /ow. High is read from the FMV. Low is write to the FMV. ,*i:.’.~+t , . ‘: INT 0 Interrupt request. Open drain, m~$:b.iulled up externally. Active LOW. $p\.,\b.T. ,.,$,,, ..,.,,>.:: Load 130 pF. ,.:.? i, IACK [ Interrupt acknowledge. Acti~$ LOW. ,,>,t~> REQ 0 DMA request. Activ@&Q$W Open drain. Must be pulled up externally. Load 130 pF. ,:i<,~]~.i$,,“ ~i *d,;.t\:\Q. ACK I DMA ackno~~@&:Active LOW. ..,.? .. . RDY 0 DMA rea~~{~~w;tion that the FMV has latched the data on the bus duri~~’%%wtransfer. Tri–state. Must be pulled up externally. Active L~~~t~% 130 PF. DONE I tf~~$~ne. Indication that the last DMA transfer is in progress. The FMV ~.$@jJ~%en release the REQ signal. Active LOW. - RELEASE +e$$~$k,+i+,~~eleaseDMA request. When asserted the FMV releases ~ and resets *: .,. .,.~, the internal DMA logic. Active LOW. .*!,, S.*. CLK_90 .,:k:l:~ ‘% :J$I External 90 kHz clock. ,k ::o$:~ $ RESET ,,,, $’m:;.b{.);.. I Global reset. Active LOW. ,$~+> ,$~. ‘+ sYsc#m$f,k”*a I 40 MHz system clock. ‘“<$::>,, \ >+.,, The Vi$#$:.~$&ace ~,:i .$: ,$b%~,’dhonic Type Name and Function ;**>, \ “’$~~:tib . R7 o 24 bit RGB bus. When the FMV is in YUV mode, then: R=Y, G=U, B=V. ‘&:”T** ‘ GO. ., G7 Tri-state. Load 50 pF. .!:.;\:’ ,.>., BO .. . B7 VOE I Video output enable. Enables or tristates the RGB outputs; polarity is defined by a host writeable register bit. C2PIX I Pixel clock of twice the pixel frequency. The clock is internally divided by 2. The phase adjustment is done by the HSYNC. HSYNC I Video line synchronization. Active LOW. VSYNC I Video vertical synchronization signal. Active LOW. MOTOROM MCD251 2-3 The Memoy Intetiace Mnemonic Type Name and Function ARO . . AR8 o DRAM row / column address. Load 50 pF, DRO DR15 B DRAM databus. Tri–state. Load 50 pF, WE o DRAM write enable. Active LOW. Load 50 pF. RAS o DRAM row address select. Active LOW. Load 50 pF. CASO o Column address select signal for the lower data byte DO D7. Active LOW. Load 50 pF. ,*!. ‘*{,3, es:<.\.*:<2~, CAS1 o Column address select signal for the upper data byte D8 .. D15. Active >“*rit. ~ ,r.,.-. “ !,. ,,,,, .$:$:, LOW. Load 50 PF, ,, ~?: ,,, . ,.* MCD251 MOTOROLA 2+ BLOCK DIAGRAM DRAM DIRECT DRIVE ~m ~ _ _ __ CAS1 CASO HSYNC VSYNC 1 t t t t i 1 Al -A18 .----- -. --, .- . ... -.,. ,- V t “J*. ... 4 MEMORY VIDEO DATA VIDEO MANAGEMENT ~ --—--— --x $*” INPUT GENERATOR UNIT 4 m HOST r“ I INTERFACE I &mRQR II v ,,,:, e ACK SYSTEM CONTROL I I ‘ !.)i~,. DATA SORTER ,i*&AA INVERSE DISCRETE AND EQUALl~+J, , ,) ~+W ,r,..,,.y$’>+‘“’” ..:$f~”’t :\!J:4*. COSINE TRANSFORM I I E + IIDONE C2PIX VOE MOTOROLA MCD251 2-5 FUNCTIONAL DESCRIPTION ● The memory management unit handles requests for DRAM access from the video data input, MPEG1 decoder The MCD251 Block Diagram should be used in conjunc- and video generator. It also controls DRAM refresh. tion with the following notes which outline the function of the ● The data sorter and dequantizer takes MPEGI video various blocks within the device: data from the FIFO and decodes the variable length codes ● The host intetiace takes care of communication with the to produce DCT coefficients, coding type information and host processor. It handles data exchange, DMA control motion vectors. and interrupts. ● The inverse discrete cosine transform applies a 2–dimensional IDCT on the 8 x 8 coefficient data and ● The system controller controls all other functions, reading passes macroblock data to the frame reconstru$~~Q8: and interpreting their status and issuing commands. ● The frame reconstructor takes data from the’~~e~wus or ● The video data input pr~processes the incoming data next frame and reconstructs the current fr@+~.? stream. In the case of an 1S011172 (MPEGI ) stream, data from the selected channel is extracted from the stream. The video generator reads the recon@~$& YUV data Also, the complete system layer is removed from the data from one of the buffers, converts it tq&@B~#?s in the border stream so that data sent to the DRAM consists of MPEG1 and outputs the data to a video ~h~<%g$” ,.::,. ~$. video data of the selected channel. The system clock refer- .{.. \<\.\ , ‘..:*.:;’. ence data and time stamp data are sent directly to the sys- tem controller. The video data input also recognizes the video staticodes and passes them on to the system con- troller. 66KINTERFACE 66KHOST CONTROL i ISO11172STREAM h 1 MPEG PACK DECODER MCD251 MOTOROLA 24 REGISTER MEMORY MAPS Table 1. Temporal Buffer Registers Address (HEX) Register Description 2 T_PWl Temporal picture width 4 T_PHE Temporal picture height ,*!. ‘*{,3, sg:.;y.~i..... ~ ...,. J*.;s,..*<.< *,, .y.\t, ~~<~:, Table 3. Display Control Buffer_l Regs ] Address (HEX) I Register I I I 30 I Bl_TCH I Disp_ctrl_buf_l time_@e~~h I 32 Bl_TCL 34 Bl_VSR Table 4. Dis,@ay ~ontrol Buffer_2 Registers ,, !,!.. .>.., .$;s:,, <\\. Address (HEX) Register ‘.k,. ‘<.~>$j,y., $\;~:, Description ,.,A :?,., 44 B2_TcH:,~:y+ @}Sp_ctrl_buf_2time_code_high ,4,, ‘,,,.) 46 B2-~q..L$3 Disp_ctrl_buf_2 time_code_low 4a Dlsp_ctrl_buf_2 video status s ,? {:. .;* . \..\~..e, Table 5. Wdeo Control Registers ./i./. ~, ,>.. ~..!;,..\. -.,*f:) Addree~ (H~$~ Register Description +’~q~,pv Br Border_red register “’..;.’.$.. ‘?:*, ,:,;;:5 a Bg Border~reen register .~>,...%,,, ,,: ‘:”,,.:$, ~..*,,s “+ 6A Bb Border_blue register >,$? “*! J, ‘f: 1.>> ~. 6C Yo Y–offset register ~. Yit,,l.s~.l$:,..>. ~ ,,.+.~)., ~.’$\>,:~l..),~.,,, 6E Xo X–offset register .,‘~,i, 72 Xa X-active register 74 Yd Y-display register 7a Xd X-display register 7a Wh Window height register 7A Ww Window width register 7C Yw Y–window register 7E Xw X–window register MOTOROLA MCD251 2-7 MCD251 MOTOROM 24 ELECTRICAL SPECIFICATIONS OPERATING RANGE The limits for operating the device are as follows: Ambient Temperature (TA) . . . . . . . . . . . . . . . . . O°C to 70°C voltage, vDD . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..5 V*10% Voltage, VSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..OV *,\ *’X,l, $J,$<,. ,,.,’~ ,’$:. ABSOLUTE MAXIMUM RATINGS* (Voltages Referenced to Vss, Unless Othemise Noted) .,\,\ ‘!i.,,1+ts., Symbol Parameter Value Unit This device contains protec@~n.~>~itry to guard against damage due t&~~@Matic volt- VDD DC Supply Voltage – 0.5to 7.0 V ages or electric fields. ~#~Q@Y precautions must be taken to avoi$&>@~&ons of any volt- yn DC Input Voltage – 0.5 to VDD + 0.5 v age higher than na*u@ rated voltages to .,*.’*3$. ,~+ . Vout Output Voltage – 0.5 to VDD + 0.5 v this high–impeda~ce ~~reult. .:. !,:~i,3::- I DC Current Drain, per Pin 25 mA ‘:&.?; $“$.,,., ~. \.\ , !.:>..~~,:,, , ~~+~,. ,.~,,.,.* I DC Current Drain, VDflSS Pins 75 mA ,,,,y .~\7:,::;i,. ., ,,~’....~.- ‘ii: !~.~~~ ,d\ i.}, Tstg Storage Temperature –65to +150 ‘c ~,)+>V,:,,p .~t:l:*}J1l\*), .~~~1 TL Lead Temperature (1O Second Soldering) 300 “c ~i.. ~~~~ $.>, ,, ..,\<~L. * Maximum Ratings are those values beyond which damage to the device may occur. q;;y,$~.. .,.> Functional operation should be restricted to the limits in the Electrical Characteristi~&>3t~ :~$ $,1: ,i tables or Pin Descriptions section. ,...i. ,4~... . ~ ...x<.t$s .i::t&*J!t- MOTOROLA MCD251 2-9 APPLICATIONS EXAMPLES FMV/CD–i ARCHITECTURE can use the video DACS which are already pati of the base In a CD–i player as shown in Figure 2, FMV provides the case CD–i architecture. Video decoding is synchronized to complete functionality of the full motion video extensions as the base case video decoder, (MCD211, VDSC) and its video specified in the Green Book standard for CD-i. It requires the output is multiplexed with VDSC output on a pixel by pixel external 4 Mbit DRAM to support MPEG video decoding, but basis. CDFRONTEND M68HC05 n MCU uCONTROU DECODER o 0 CDDRIVE 2. FMV/CD-i MCD251 MOTOROLA 2-10 DIGITAL VIDEO SWITCHING BETWEEN VDSC AND the 24 bit RGB bus from the base case video decoder FMV (MCD211, VDSC) and multiplexing is achieved by a switch Digital or analog multiplexing maybe used with FMV. Fig- signal from VDSC, which enables and disables pixel outputs ure 3 shows how only one video DAC may be used if digital from the two sources. multiplexing is implemented, Digital video is tied directly to VDS Figure 4. Analog Wdeo Switching Example MOTOROLA MCD251 2-11 FMV IN A PC MULTIMEDIA APPLICATION nates. An analog video switch is controlled from this to pro- Figure 5 illustrates how FMV could be used in a PC based vide the overlay function. application to provide an MPEG playback window overlayed Using FMV in this standalone manner requires the addition on a VGA display. The VGA overlay controller provides scan of a TV sync generator to provide HSYNC, VSYNC, and a rate conversion of the decoded MP-EG image and windowing pixel clock to ;MV. “ control based on color keying or programmable XY coordi- ANALOG VGAIN VGA I t I I TRIPLEVIDEO - > DAC TV SYN[ MCD251 MOTOROLA 2-12 VIDEO ON DEMAND al access data and the video and audio streams from the FMV maybe used as the decoder section of a video on de- transport stream. The video stream is directed to FMV and mand integrated receiver decoder, as illustrated in Figure 6. the conditional access data to the Smart Card controller. An MPEG1 video and audio streams are carried over an asym- on–screen display is generated by using an MCD211 metric digital subscriber loop (ADSL) in an MPEG2 transpoti (VDSC). The video output stage is identical to those in the stream. A transpoti stream decoder separates the condition- CD–i application described earlier. @ MPEG2CONDITIONAL ,,/ ,,y * ~ ADSL ACCESSRRANSPORT~ /&,.~ u STREAMDECODER I MPEGAUDIO DECODER DSP5600X VIDEO DECODER (MPEG1) MCD251 r AUDIODAC 8 SMARTCARD Figure 6. ExamRle’& Video On Demand ,:J: *4 \ MOTOROLA MCD251 2-13 PACWGE DIMENSIONS FU SUFFIX CASE 1007+1 ~L~ ‘7 k 81 = BASE METAL SECTION AA l@10.08(0.003)@l Cl A-B@l D@[ ..-,.- 1 Y14,5M, 1982. 2 CONTROLLING DIMENSION MILLIMETER 3 DATUM PWNE -H-IS LOCATED AT BO~OM OF LEAD AND IS COINCIDENT WITH THE LEAO, WHERE THE LEAO EXITS THE PLASTIC BOOY AT THE BO~OM OF THE PARTING LINE. 4 OATUMS -A-, -& AND -D-TO BE DETERMINED AT DATUM PLANE -H-. 5 DIMENSIONS S AND V TO BE DETERMINE AT SEATING PLANE Q. 6 DIMENSIONS A AND B 00 NOT INCLUDE MOLD PROTRUSION. ALLOWABLE PROTRUSION IS 0.25 (0.010) PER SIDE. DIMENSIONS A AND B DO iNCLtiOE MOLD MISMATCH AND ARE DETERMINED AT DATUM PLANE -H-. 7 DIMENSION O DOES NOT INCLUOE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL BE 0.08 [0.003) TOTAL IN EXCESS OF THE D DIMENSION AT MAXIMUM MATERIAL CONDITION. DAMBAR CANNOT BE LOCATED ON THE LOWER RAOIUS OR THE FOOT. ‘ETA’LcrxKE ‘ MCD251 MOTOROW 2-14 Motorola resawes the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantae regarding the euitsbility of its products for any particular purpose, nor does Motorola assume any Iiatility arising out of the application or use of any product or circuit, and specifically disclaims any and all hability, including without hmitation consequential or incidental damages. cTypica~ parameters can and do vary in different applications. All oPemtin9 ParametarSi inClUdn9 TYPicalS” mUSt be validated for aach customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not deeigned, intendad, or authorized for use as components in systems intandad for surgical implant into the body, or other apphcations intendad to support or sustain hfe, or for any other application in which the failure of the Motorola product could craate a situation where personal inju~ or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its oficers, employeee, subeidanes, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of pereonal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding tha design or manufacture of the part. Motorola and @ are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer. MOTOROLA MCD251 2-15 Uterature Distribution Centers: USA. Motorola Uteratire Distibutiom P.O. Box 20912; Phoenix, Arizona 85036. EUROPE: Motorola Ltd.; European Literature Centre 88 Tanners Drive, Blakelands, Milton Keynes,MK145BP, England. JAPAN: N(ppon Motorola Ltd< 432-1, Ntshi-Gotsnda, Shinagawa-ku, TOWO 141, Japan. ASIA PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Hatiour Center, No. 2 Dai King Street, Tai Po Industrial Estate, Tai Po, N.T., Hong Kong. MOrOROLA @ o MCD251TS/D lllllllllllllllllllllllllllllllllllllllllllllllllll