Upload
xena
View
32
Download
0
Tags:
Embed Size (px)
DESCRIPTION
SC200x AV Decoder. Tony Sloan DTV Source Applications Broadband Entertainment Division July 2001. SC200x AV Decoder Overview. Overview MPEG2 AV Decoder has the following modules I-Bus Interface (to Host CPU) S-Bus Interface (to SDRAM-B) DMA Controller AV Decoder Interface - PowerPoint PPT Presentation
Citation preview
SC200x AV DecoderSC200x AV Decoder
Tony Sloan
DTV Source Applications
Broadband Entertainment Division
July 2001
SC200x AV Decoder - July 20016-2LSI Logic Confidential
™
SC200x AV Decoder OverviewSC200x AV Decoder Overview
Overview MPEG2 AV Decoder has the following modules
I-Bus Interface (to Host CPU) S-Bus Interface (to SDRAM-B) DMA Controller AV Decoder Interface AV Decoder Core SDRAM Interface (to SDRAM-A) Audio DAC
SC200x AV Decoder - July 20016-3LSI Logic Confidential
™
SC200x AV Decoder Block DiagramSC200x AV Decoder Block Diagram
To SDRAM-B
To TinyRISC CPU Subsystem
S-BUS
I-BUS
I-Bus Interface DMA Controller
Host Interface
CPU Interface
ChannelInterface
PES FromTransportSubsystem
MemoryInterface
SDRAM-A
A/VDecoder
AudioDAC
S/P DIF Out
Digital Out
Analog Out
Digital Out
To Video Mixer/Encoder
L64105 Core
SC200x AV Decoder - July 20016-4LSI Logic Confidential
™
AV Decoder I-Bus Interface FeaturesAV Decoder I-Bus Interface Features
I-Bus Interface Features
Interface between the CPU and the AV Decoder Used to configure the AV Decoder Divided into four sub-areas
General Registers DMA Controller Registers AV Decoder Core Registers Audio DAC Registers
32 bit wide Data and Address Bus The bottom 8 bits of Data Bus used, top 24 bits are reserved
SC200x AV Decoder - July 20016-5LSI Logic Confidential
™
I-Bus Interface RegistersI-Bus Interface Registers
I-Bus Interface General Registers
Version, Software Reset, Interrupt Enables, Interrupt Status Address range 0xbe40.000 to 0xbe40.ffff
DMA Controller Registers CPU SDRAM Start Address AV Decoder SDRAM Start Address Number of Bytes to transfer DMA Control Register Address range 0xbe41.000 to 0xbe41.ffff
SC200x AV Decoder - July 20016-6LSI Logic Confidential
™
I-Bus Interface RegistersI-Bus Interface Registers
I-Bus Interface AV Decoder Core Registers
Same register set as for the L64105 but on 32 bit boundaries Address range 0xbe42.000 to 0xbe42.077c
Audio DAC Registers PCM Configuration, Mute mode, Filter mode Configuration A (sample rate select, soft mute) Configuration B ( half sample rate,LR clock invert) Volume Control Status Address range 0xbe42.0780 to 0xbe42.0798
SC200x AV Decoder - July 20016-7LSI Logic Confidential
™
AV Decoder Register SummaryAV Decoder Register Summary
A/V Decoder Register Summary
Register Group Start Address End Address L64105 Group
I-Bus Interface Registers 0xbe40.0000 0xbe40.ffff New
DMA Controller Registers 0xbe41.0000 0xbe41.ffff New
A/V Decoder Registers 0xbe42.0000 0xbe42.ffff All (0-511)(now includes
ADAC)
CPU Interface Registers 0xbe42.0000 0xbe40.00ff 0-63
Video Decoder Registers 0xbe42.0100 0xbe42.02ff 64-191
Memory Interface Registers 0xbe42.0300 0xbe42.037f 192-223
Microcontroller registers 0xbe42.0380 0xbe42.03ff 224-255
Video Interface Registers 0xbe42.0400 0xbe42.053f 256-335
Audio Decoder Registers 0xbe42.0540 0xbe42.05ff 336-383
Ram Test Registers 0xbe42.0600 0xbe42.0620 384-392
Reserved 0xbe42.0624 0xbe42.077c 393-479
Audio DAC Registers 0xbe42.0780 0xbe42.0798 480-511
Reserved 0xbe42.079c 0xbe42.ffff New
Unused (reserved) 0xbe43.0000 0xbe43.ffff New
SC200x AV Decoder - July 20016-8LSI Logic Confidential
™
AV Decoder S-Bus InterfaceAV Decoder S-Bus Interface
S-Bus Interface Features
Interface between the CPU SDRAM and the AV Decoder SDRAM Data transfer interface under DMA control 32 bit wide Data and Address Bus
SC200x AV Decoder - July 20016-9LSI Logic Confidential
™
AV Decoder DMA ControllerAV Decoder DMA Controller
DMA Controller Features two operating modes
Standard DMA Mode Uses the functionality in the AV Decoder Core to transfer data
between the CPU SDRAM and the AV Decoder SDRAM
DMA Bypass Mode Uses the bypass functionality in the AV Decoder Core to transfer
data from the CPU SDRAM directly into the Audio or Video Channels of the AV Decoder SDRAM
Example - DMA Bypass of Still Images into the Video channel whilst playing live audio and DMA Bypass of Audio Clips whilst playing live video
SC200x AV Decoder - July 20016-10LSI Logic Confidential
™
DMA Controller ReadsDMA Controller Reads
DMA Controller Read Operation
Ensure DMA Controller is idle Set up the CPU SDRAM Target Address Set up the AV Decoder Source Address Set up the number of bytes to be transferred Write to the DDMAC Register to set the DMAC to run The DMA routine can be aborted by clearing the ‘run’ bit
SC200x AV Decoder - July 20016-11LSI Logic Confidential
™
DMA Controller WritesDMA Controller Writes
DMA Controller Write Operation
Ensure DMA Controller is idle Set up the CPU SDRAM Source Address Set up the AV Decoder Target Address Set up the number of bytes to be transferred Write to the DDMAC Register to set the DMAC to run The DMA routine can be aborted by clearing the ‘run’ bit
SC200x AV Decoder - July 20016-12LSI Logic Confidential
™
AV Decoder InterfaceAV Decoder Interface
AV Decoder Host Interface Features
Converts the Host Interface on the L64105 core to a dual I-Bus interface
One I-Bus is connected to the DMA Controller The second is connected to the CPU I-Bus (I-Bus Muxer)
Operation Passes AV Decoder Register configurations from/to the CPU Sends/receives DMA Controller data through the AV Decoder
Core to the SDRAM Accesses made from the CPU I-Bus Interface (I-Bus Muxer)
have the higher priority
SC200x AV Decoder - July 20016-13LSI Logic Confidential
™
AV Decoder CoreAV Decoder Core
AV Decoder Core Features
The L64105 AV Decoder Core with several enhancements including variable scaling, PCM audio mix and Ancillary Data Extraction
MPEG-2 System Layer Decoding of Pack and PES Layer MPEG-2 MP@ML Video Decoding Concealment Motion Vectors, 3:2 Pull Down, Pan and Scan MPEG-1 Layer I and II (MUSICAM) Audio Decoding Audio Decode Rate Control support for low Sampling
Frequencies
SC200x AV Decoder - July 20016-14LSI Logic Confidential
™
AV Decoder Core Block DiagramAV Decoder Core Block Diagram
AV Decoder Core Block Diagram
SC200x AV Decoder - July 20016-15LSI Logic Confidential
™
AV Decoder Channel InterfaceAV Decoder Channel Interface
AV Decoder Channel Interface MPEG-2 System Layer Decoding of Pack and PES Layer
SC200x AV Decoder - July 20016-16LSI Logic Confidential
™
Video DecoderVideo Decoder
Video Decoder Video Decoding to ISO13818-2 MP@ML and to ISO11172
including the MPEG-1 System Layer
SC200x AV Decoder - July 20016-17LSI Logic Confidential
™
Video Decoder InterfaceVideo Decoder Interface
Video Decoder Interface Provides an ITU-R BT.656 digital video output Programmable Display Management available Display Timebase Generator is slaved to the Mixer
SC200x AV Decoder - July 20016-18LSI Logic Confidential
™
Variable Horizontal ScalingVariable Horizontal Scaling
Horizontal Scaling 1/4 to x4 Scaling with no additional processing required
by software (after set up) Scaling selected by writing to DMHFSFL Register (0xbe42.07ac) and by writing to bits [2:0] of DHVFSFH Register (0xbe42.07b0) Enable the new Display Mode (0xc or 0xd) in the DDM Register.
Scaled Dow n Original
SC200x AV Decoder - July 20016-19LSI Logic Confidential
™
Variable Vertical ScalingVariable Vertical Scaling
Vertical Scaling 1/4 to x4 Vertical Scaling which does require additional
processing by software ( for 1/4 to 1/2 scale) Scaling selected by writing to DMVFSFL Register (0xbe42.07a8) and by writing to bits [5:3] of DHVFSFH Register (0xbe42.07b0) Needs 32MBit of SDRAM Reduced Memory Mode must not be set Four Frame Decode recommended Software Interaction required to perform Single Step Decoding Required to update Framestore addresses and Display Override 1/4 to 1/2 Scaling is achieved by dropping lines and then
performing 1/2 to x1 Scaling
SC200x AV Decoder - July 20016-20LSI Logic Confidential
™
Vertical Scaling IssueVertical Scaling Issue
Vertical Scaling Timing considerations Time taken to read Display Video from Framestore
Is shorter than usual with respect to Decode time Requires both Fields to be displayed in a shorter time A big timing problem if image is situated at the top of the
screen Problems such as ‘tearing’ or even corruption to right of image Not such a big problem at the bottom of the screen
Time taken to Decode Video and place in Framestore Varies with picture content Therefore there are too many unknowns So Software has to take complete control of Framestores to
guarantee no problems with timing
SC200x AV Decoder - July 20016-21LSI Logic Confidential
™
Four Frame DecodeFour Frame Decode
Storage for Decoding and Display Images Software control of Decoding
Software control of Display
1
2
DISPLAYING
DECODING
3
4
PREVIOUS
NEXT
SC200x AV Decoder - July 20016-22LSI Logic Confidential
™
Audio DecoderAudio Decoder
Audio Decoder Audio Decoding to ISO13818-2 Layers I and II Supports bit rates from 8K to 448Kbits per second Supports Sample rates of 16K,22.05K,24K,32K,44.1K and 48KHz Outputs a Serial PCM stream to the Audio DAC Outputs an IEC958 (SPDIF) stream externally
SC200x AV Decoder - July 20016-23LSI Logic Confidential
™
Audio Decoder Block DiagramAudio Decoder Block Diagram
Audio Decoder Block Diagram Audio Decoding to ISO13818-2 Layers I and II
SC200x AV Decoder - July 20016-24LSI Logic Confidential
™
Audio Decoder SPDIF I/FAudio Decoder SPDIF I/F
Audio Decoder SPDIF Interface Outputs an IEC958 (SPDIF) stream externally
SC200x AV Decoder - July 20016-25LSI Logic Confidential
™
Audio Decoder InterfaceAudio Decoder Interface
Audio Decoder Interface Features
CD Bypass input for DVD Applications An external SDPIF input A single ACLK input (required if an external ADAC is used) A separate low jitter clock (OCLK) is required for the ADAC
output stages OCLK and SYSCLK are typically tied together Separate analog supply voltages are required for the resident
ADAC and ADAC output stages
SC200x AV Decoder - July 20016-26LSI Logic Confidential
™
AV Decoder SDRAM InterfaceAV Decoder SDRAM Interface
SDRAM Interface Features
16 bits wide Data Bus operating at 81MHz Interfaces to 16MBit SDRAM Interfaces to 64MBit SDRAM *
*Only 32MBits are accessible Operation
Conventional SDRAM Interface Synchronous Data, Address and control lines Programmable Refresh rates
SC200x AV Decoder - July 20016-27LSI Logic Confidential
™
Audio DACAudio DAC
Audio DAC Features
Resident JDA1 Audio DAC 20 bit Sigma Delta DAC Integral PLL produces the over-sampling clock at 256fs Sample rates of 16K,22,05K,24K,32K,44.1K and 48KHz 32 bit wide Registers configure Word Length, Mute Mode,
Sample Clock, DAC Filter Mode and Volume Control Address range is 0xbe42.0780 to 0xbe42.0798 External Low Pass Filter required
SC200x AV Decoder - July 20016-28LSI Logic Confidential
™
Audio DAC Block DiagramAudio DAC Block Diagram
Audio DAC Block Diagram
Mux ClockSourceSelect
DACLK
AudioDecoder
CPURegisters
Oversampling
Clock (256 fs)Clock
Generator
PLL
AudioSample
DASDATA
Sigma-DeltaConverter
Audio DAC
GVCXO
DOCLK
AnalogAudioLeft
AnalogAudioRight
Off-ChipLow-Pass
Filter(Left Channel)
Off-ChipLow-Pass
Filter(Right Channel)
Low-Jit ter
Clock
DAL1 (+)
DAL2 ( )
DAR1 (+)
DAR2 ( )
27 MHz System Clock
27 MHz Clean Clock
DBCLK (typically 64 fs)
DLRCLK
ClockOutput
Audio
FromDecoderChannelInterface
Bitstream
SC200x AV Decoder - July 20016-29LSI Logic Confidential
™
Audio DAC Functional Specification Audio DAC Functional Specification
Audio DAC Functional Specification Figures measured from a DAC Test Chip not SC2000
Frequency Response (20Hz to 20KHz) DAC only <+/- 0.005dB Frequency Response (20Hz to 20KHz) with filter <+/- 0.125dB L/R Amplitude imbalance (20Hz to 20KHz) < 0.1dB L/R Phase imbalance (20Hz to 20KHz) < 0.5 degree THD+N for Full scale (1KHZ input) < 0.004% THD+N for -60dBFS (1KHz input at -60dB) < -36dB IMD Distortion (CCIF 4000 and 4080Hz) < 0.003%
SC200x AV Decoder - July 20016-30LSI Logic Confidential
™
Audio DAC Functional SpecificationAudio DAC Functional Specification
Audio DAC Functional Specification Figures measured from a DAC Test Chip not SC2000
Idle Noise - non muted (A-wghtd or CCIR/ARM wghtd) -100dB Linearity Error (at -100dB input - 18bits) < 1dB Crosstalk between channels (1KHz input) < 110dB Crosstalk between channels (20KHz input) < 90dB Dynamic Range [SNR] (Flat, 20KHz bandwidth) = 98dB SNR variation with Fs (32KHz, 44.1KHz or 48KHz) < 1dB
SC200x AV Decoder - July 20016-31LSI Logic Confidential
™
ADAC Low Pass FilterADAC Low Pass Filter
Recommended Low Pass Filter (for 3V3 operation) Left Channel only shown
110 KW
27 pF 5%8.25 KW
8.25 KW
270p
F 5
%
47.5 KW
47.5 KW2
7 pF
5%
110
KW
O/PNE5532
+
-
LEFT1
LEFT2
GND
AUDIO OUT
10 mF
22 KW
SC200x AV Decoder - July 20016-32LSI Logic Confidential
™
SC200x AV DecoderSC200x AV Decoder
End Of Presentation