1 i ntroduction the AVIA-9600 family of processors is an advanced solution for digital set-top box (stb) applications including hard disk drive (hdd) time-shifting and web access. this highly integrated silicon provides a wide array of features and interfaces, including: mpeg-2 transport demultiplexer dvb and des descramblers mpeg-2 video and audio decoders dolby digital ac-3 audio decoder advanced graphics display list processor 150 mhz sparc cpu with 32kb cache unified memory architecture multiple host interface modes: pci synchronous (master, slave) 68k-style asynchronous (master, slave) coldfire/powerpc synchronous (slave) hitachi sh4 synchronous (slave) synchronous/asynchronous flash support ide/atapi disk drive interface (master) opencable pod, dvb-ci, or nrss-b card interface (master) interface for two smartcards ieee 1394, usb host, idc, ieee 1284 peripheral, modem daa, uart, infrared, spi, and gpio interfaces digital video encoder (denc) digital video capture and output 1.1 product benefits the AVIA-9600 is a fourth generation design with a powerful sparc processor (along with four other embedded risc processors or dsps), advanced graphics engine, extensive audio feature set, and a comprehensive set of i/o peripherals. key benefits: platform for digital time-shifting ?hard disk (ide) interface, copy protection, and trick play modes support for sophisticated user interface ?advanced graphics display list processor, copy engine, color expander, and enhanced text display home peripherals connectivity via usb, ieee 1394 and 1284 bom cost reduction ?unified memory, integrated peripherals, and soft modem flexible solution ?architecture that allows customized and software-configurable transport demuxing and a/v decoding, as well as a choice of external cpus (plus the internal host) support for bandwidth-demanding applications ?high performance cpu, ddr sdram, dedicated graphics accelerators, as well as multiple dma channels worldwide deployment support ?multiple cas, descrambling algorithms, and transport formats superior display quality ?crisp slow motion with progressive scan output, flicker filter home theater experience ?versatile audio support with mp3, mpeg-2 5.1, ac3 and dts support infrared detector/demodulator led driver (optional) mpeg-2 transport demultiplexer descrambler smart card interface audio post- processor video encoder bus interface unit pcm audio sparc cpu and dsp graphics processor mpeg-2 video decoder mpeg-2 audio decoder iec958/1937 audio out analog audio out analog video out s/pdif audio dacs smart card phy smart card phy sdram transport stream pod (optional) network interface module ide/atapi hard disk host (optional) flash ieee 1394 phy usb phy modem daa figure 1. fully configured set-top box design using the AVIA-9600 AVIA-9600 ? family s ingle -c hip d igital s et -t op b ox s olution
figure 2. AVIA-9600 internal architecture diagram transport demultiplexer section filter (cam) pcr clock recovery ide interface (master) usb host uart (2) sparc processor jtag interface bus interface unit (biu) host interface (master/ slave) sdram controller 4 - 128 mbyte sdram array ieee 1284 peripheral idc smart card controller (x2) ieee 1394 link layer crc/ copy engine digital video encoder (denc) video outputs (6) des/dvb descrambler stereo audio outputs to dacs audio decoder /mixer pcm audio video timing mixing teletext queue manager 13.5 mhz crystal transport stream (channel) channel clock pod/dvb-ci/ nrss-b interface (master) ir interface s/pdif stereo audio inputs digital video video capture/ teletext decoder color expander to system bus irda/ pwm mpeg video decoder clock timers dcxo modem daa interface spi graphics processor (display list processor)
1.2 typical applications the versatility and high level of integration of the AVIA-9600 make it an ideal set-top box solution (see figure 1). the complex logic needed to decode and display the mpeg-2 video and audio from the network or a hard disk drive is contained in a single device. the AVIA-9600 integrates a powerful cpu, thus enabling "hostless" applications. the remaining devices that can be added to complete a fully configured set-top box design include: network interface module (nim) ir detector/demodulator, led driver (ir blaster) audio dacs 4 to 128 mbytes of sdram flash memory two smartcard phy pod, nrss-b/dvb-ci interface socket modem daa (if nim is one-way only) usb phy ieee 1394 phy ide hard disk drive the integrated ide/atapi interface is included to allow a hard disk drive to be added into the set-top box for time-shift dvr (digital video recorder) or data broadcasting applications. the interface can also support a dvd-rom drive, enabling a combination dvd player/set-top box design. 2 av i a-9600 i nternal a rchitecture figure 2 shows the internal architecture of the AVIA-9600 family. each of the key functional blocks are discussed in the following sections. 2.1 embedded cpu an embedded microsparc v8 cpu is integrated into the AVIA-9600. in low-cost systems this cpu can be used as the system host. in high-end systems, this cpu can serve as a coprocessor for a variety of tasks such as peripheral management, graphics accelerator, or section builder. key features: supports clock speeds up to 150 mhz 5-stage 32-bit integer pipeline (nearly 1 instruction per clock in real systems) 16k instruction cache (4-way set-associative) 16k data cache (4-way set-associative with write-back), partitionable into cache and data memory areas supervisor/user modes and read/write restriction modes for system reliability two timers interrupt controller to route each peripheral irq to any of the 16 irq levels integrated 32-bit dsp unit that executes in parallel with the main sparc engine to support certain audio processing and soft-modem 2.2 graphics subsystem the AVIA-9600 graphics subsystem includes the graphics processor (display list processor), the copy/crc engines and color expander. the graphics processor executes a "display list" in the sdram; this is a special program that contains a sequence of instructions for drawing the display. the graphics subsystem also provides two dynamically reload- able color look-up tables (cluts). these, together with the display list architecture, provide the flexibility to support an arbitrary number of overlapping regions and planes, subject only to sdram bandwidth and clock speed constraints. key features: multiple overlapping regions with independent resolution, pixel coding method, and clut two 256x32 dynamically reloadable cluts (for fast switching between adjacent regions with different cluts) anti-flicker filter, selectable on a per-region basis square pixel support overlay and continuous scaling of both analog and digital video channels multiple color modes include: 4-bit per pixel (bpp) and 8 bpp clut modes 16-bit direct rgba mode (5,5,5,1 or 4,4,4,4 or 5,6,5) 32-bit direct rgba mode (8,8,8,8) 256 levels of alpha blending with 24 bits of color 8 bpp squashed yuv mode 16 bpp direct yuv mode color expansion accelerator for fast font rendering and region fills shifting for word alignment and kerning support for font display expansion of one or two-bit fonts to color display mode (8 or 16-bit pixels) copy engine for fast rendering of rectangles and bitmaps, memory-to-memory copy (blitting), compositing and scrolling region-based operations chroma-key copy operations alpha blending of two objects or solid color full 16 logical raster-operators with plane mask clip mask overlay of high resolution, multi-color hardware cursor (implemented as a region) video and graphics mixing with alpha blending; for example: picture in graphics (pig); i.e., real-time video overlaid on graphics enhanced epg display and web browsing ccir-656 video in/out port for direct video input (progressive/interlaced) or denc bypass; the input port also allows the graphics subsystem to lock to the timing of an external video source real-time decimation for video capture closed caption and teletext pass-through
2.3 host bus interface the AVIA-9600 has a highly flexible external bus interface that supports a wide range of system configurations. the AVIA-9600 bus interface can be configured for both master and slave modes. in master mode, the internal sparc acts as the set-top box host. when an external host is used, the AVIA-9600 operates in slave mode. slave modes: 68000 powerpc 823, 823e coldfire 5206, 5307, 5407 sh4 pci 2.1 master modes: host interface to external peripherals with 68000-style asynchronous transfer or transfers with sram/flash/rom timing (similar to intel-style transfers, and therefore also supports certain intel or isa-bus peripherals) host interface to external peripherals with coldfire-style synchronous mode pci 2.1 (when the AVIA-9600 runs as a pci device) synchronous and asynchronous flash support ide/atapi controller (for disk drives and dvd drives) pod/dvb-ci/nrss-b host interface controller (pcmcia) dma controller eight chip selects for external rom, flash rom, etc. irq input (to embedded sparc) 2.4 transport demux the AVIA-9600 includes a powerful dedicated risc cpu for flexible processing of transport streams*. the transport demux also includes a content addressable memory (cam) that facilitates fast searches required in section header filtering. the transport demux block supports transport streams in dvb (mpeg-2), dss/directv and dvd (pes) formats. the descrambler supports a wide range of conditional access and copy protection schemes applied to transport streams, including dvb common mode and des descrambling. other hardware support includes dvb teletext, channel buffering with dram, and crc checking. the transport demux supports 32 filters, with 8 bytes of filter condition and mask per filter, multiple sections per transport packet, and input bit rates up to 80 mbps (actual performance depends on the aggregate feature set of the microcode). the microprogrammable transport demux architecture provides the flexibility for implementing custom transport stream filtering and error resilience schemes, including lost packet detection and handling. it also facilitates the support of system requirements such as seamless splicing. in addition, there is a program clock reference (pcr) recovery facility and dcxo control system. * this cpu is in addition to the embedded sparc processor. 2.5 mpeg video decode the AVIA-9600 uses a proven, microcode-driven mpeg decoder core based on the c-cube avia-60x product. the decoder is implemented using a dedicated cpu core with hardware-assist for specialized operations. for example, operations such as "decode with a/v sync" require virtually no host cpu overhead. the audio/video decoder supports the mpeg-2 mp@ml standard. the mpeg decoder operation is controlled by microcode which is downloaded to the AVIA-9600 by the host cpu. this design allows easy upgrade of decoder features simply by changing the microcode. the host software controls the decoder through a high-level api. in addition, frame and error interrupts are also available as options. this model allows implementations to be up and running very quickly with minimal software driver development. the microcode api for the AVIA-9600 is compatible with that of the avia-60x decoders. this allows an easy transition between c-cube chips. c-cube also offers sample software drivers that are architected to facilitate support of different middleware or operating systems. the microcode offers a number of extended features used in stb applications, including: vbi (such as closed caption and eds) data extraction from the mpeg video elementary stream layer clip mode decode independent audio and video decode bit error masking and recovery still picture decode and manipulation pan-and-scan display letterbox (4:3, 16:9, 20:9) video scaling the AVIA-9600 decoder is fully compliant with the european digital video broadcast (dvb) standard, specified in the dvb implementation guidelines (tm 1214, rev. 9). the video decoder can decode a video stream from one of the following sources: transport demux ide/atapi ieee 1394 dram the AVIA-9600 can master video timing when decoding mpeg video. decoded video can be sent to the ccir-656 output port and to the internal denc. if an external denc is used, the internal AVIA-9600 denc can be used for a graphics-free program output (e.g., for output to a vcr). the video decoder supports all resolutions specified in mpeg- 2 mp@ml. mpeg-1 bitstreams can also be decoded per mp@ml specifications. several aspect ratios are supported through pan-and-scan or letterbox modes.
the video decoder core used by the AVIA-9600 is also implemented in c-cube dvd products. dvd-stb combination applications can be supported by the AVIA-9600 with alter- nate microcode. 2.6 audio decode the AVIA-9600 audio decoder is capable of decoding mpeg-1 layer ii (musicam), mpeg-1 layer iii (mp3), mpeg-2 5.1, dolby ac-3 and dts. after decoding dolby ac-3, the AVIA-9600 outputs the six channels to three of the i 2 s-compatible digital audio outputs, and downmixed dolby prologic audio to the fourth output. the audio stream can also be simultaneously sent to the s/pdif interface in iec-1937 (compressed) or iec-958 (uncompressed) format. the audio decoder can decode an audio stream from the same sources as the video decoder (see above). locally sourced pcm audio clips can be played and mixed with decoded mpeg or ac-3 streams. independent volume control is available. 2.7 memory control the AVIA-9600 uses an unified dram memory system that is designed to support a number of configurations of sdram (single data rate or double data rate) or sgram. the 32-bit wide data bus is clocked at up to 150 mhz, providing a maxi- mum throughput of 1.2 gb/s. configurations from 4 mb (with two 1mb x 16 parts) to 128 mb are supported. alternatively, a 16-bit interface can be configured when ddr sdram is used. the number of peripherals, as well as usage of graphics in the design, affect the dram bandwidth require- ments. some configurations may require 32-bit ddr sdram. 2.8 ieee 1394 the ieee 1394 link layer interface of the AVIA-9600 supports any phy layer chip compliant to annex j of the ieee 1394 standard. the interface can operate at both 100 and 200 mbps. all basic ieee 1394 transfer types are supported: asynchronous isochronous cycle master the isochronous capability supports simultaneous transmit and receive channels. isochronous transport stream inputs can be routed to either dram or the video decoder. isochronous transport stream outputs can be sourced from dram or the transport demux. the transport demux can remap the audio and video pid values. it also time-stamps the packets according to the 1394 clock reference. the AVIA-9600 ieee 1394 implementation includes the 5c copy protection. 2.9 universal serial bus (usb) the AVIA-9600 includes a usb 1.1-compliant host controller. this controller implements the host side of the usb protocol, supporting peripherals such as keyboards and printers. control, bulk, interrupt, and isochronous transfer types are supported at 3 mbps and 12 mbps. data transfers are handled by hardware dma to dram. interrupts are available for a wide range of usb events. 2.10 nabts teletext decode the AVIA-9600 includes a port that accepts parallel ccir-656 input. this video path feeds a number of devices including a nabts teletext decoder, the video capture system, and the graphics mixer. the vbi decoder uses the luma samples from the ccir-656 data stream to decode and extract the nabts data from a programmable set of lines. 2.11 other stb peripherals and interfaces a number of other useful peripherals are included in the AVIA-9600, including: two iso 7816-compliant smartcard controllers (t=0 or t=1) ieee1284 parallel port ir transmitter, receiver irda modem daa interface pulse width modulator (pwm) serial peripheral interface (spi) inter-device communication (idc) two uarts with hardware flow control general-purpose i/o (gpio) the smartcard controller supports dma transfer between the AVIA-9600 dram and the smartcard device. messages can be sent by dma to the smartcard and then the response is sent back by dma, at which point an irq is generated to alert the cpu. the irq can be routed to either the AVIA-9600 embed- ded cpu or an external cpu. the AVIA-9600 integrates a multi-function parallel port peripheral interface controller for various applications that require high-speed, bi-directional, parallel communication with a host computer. this 1284 interface supports the compatible, reverse nibble, reverse byte, enhanced parallel port (epp), and enhanced capability port (ecp) modes of the ieee 1284-1994 standard signaling method for a bi-directional parallel port peripheral interface for personal computers. the AVIA-9600 implementation does not support the run length encoding (rle) feature of the ecp protocol. the ir receiver works in two modes. in the first mode it accepts demodulated pulse sequences from the ir diode receiver (ir detector/demodulator). in the other mode it takes in a modulated digital waveform directly, performs digital filtering, and transfers a list of edge timings via dma to the
dram. this technique allows the AVIA-9600 to support all standard remote control protocols and ir codes. the ir trans- mitter generates modulated carrier pulse sequences similar to those produced by universal remote control units. this design allows the implementation of a "learning remote" without the need for a vcr ir code database. the irda port supports infrared device architecture-compliant devices such as keyboards to communicate with the set-top box. the pulse-width modulator (pwm) allows the board designer to control a variety of external devices, or to support clock recovery. the idc interface supports an i 2 c-compatible bus. it allows background communications between the various components in the system. the idc bus is a simple, two-wire medium for bi-directional, inter-device communications. the two signals, clock and data, are common to every device connected to the bus. each device has a unique address and can act as either a transmitter or a receiver. the uarts implement standard bi-directional, full-duplex asynchronous serial communication with external devices at up to 115 kbps. the uarts are implemented with hardware handshake (flow control). the spi is a 3-wire bi-directional synchronous serial interface. it allows the AVIA-9600 to control devices such as nim, audio dacs and certain front-end loaders for combo dvd/stb designs. the AVIA-9600 also supports a number of programmable gpio connections for leds, buttons, etc. 2.12 denc the AVIA-9600 includes an internal denc (digital video encoder) with the following key features: six dacs one for composite video (cvbs) two for s-video (y/c) three for rgb or yprpb ntsc, pal, and secam formats drive double-terminated loads (0 to 1.3 volts into 37.5 ohms) full scart support dvb teletext (wst), closed caption, extended data service (eds) and v-chip data insertion vbi pass-through macrovision copy protection the denc uses the same timing as the graphics subsystem. the AVIA-9600 can also be used with an external denc. in such a case, the internal denc can be used as a vcr video interface that allows users to record programs without graphic overlay. c-cube, 1778 mccarthy boulevard, milpitas, california 95035 usa phone: +1 408.490.8000 fax: +1 408.490.8590 w ebsite: http://www.c-cube.com ?2000 c-cube microsystems, inc. all rights reserved. document number: 90-1001-101 c-cube microsystems reserves the right to change any products described herein at any time and without notice. c-cube microsyst ems assumes no responsibility or liability arising from the use of the products described herein, except as expressly agreed to in writing by c-cube microsystems. the use and purchase of this product does not convey a license under any patent rights, copyrights, trademark rights, or any other intellectual property rights of c-cube microsystems. c-cube, AVIA-9600 and the corporate logo are trademarks of c-cube microsystems. all oth er trademarks are the property of their respective owners. printed in the usa. cpu 150 mhz microsparc v8, 16k+16k cache/sram host interfaces pci, 68k, powerpc, coldfire, sh4 peripheral interfaces ieee 1394 (with 5c copy protection), usb host, idc, spi, ir transmit/receive, irda, ieee 1284 peripheral, two uarts, modem daa card sockets two smartcard, pod/nrss-b/dvb-ci disk drive ide/atapi memory 4 - 128 mbytes sdram (sdr or ddr) or sgram jtag boundary scan and debug port decoding standards mpeg-1, mpeg-2 mp@ml compressed resolutions 720, 704, 640, 544, 528, 480, 352, 320 x 480 and 352 x 240 @30hz and 24 hz 720, 704, 640, 544, 528, 480, 352 x 576 and 352 x 288 @ 25 hz 384 x 240 @ 24 hz aspect ratios 4:3, 16:9, 20:9, dtg active format descriptor video encoder ntsc, pal, secam; 6 dacs graphics subsystem display list processor; supports unlimited number of planes and (overlapping) regions, picture-in-graphics (pig) flicker filter, selectable per region continuous video scaling 256 levels of alpha blending two 256x32cluts supporting fast dynamic reload two copy engines color expander nabts teletext decode digital video input decoding standards mpeg-1 layers ii and iii (mp3), mpeg-2 5.1, dolby digital 5.1 channel, dts output channels 6-channel pcm and s/pdif (iec-1937/iec-958); dolby digital or mpeg-2 5.1 downmixed to dolby prologic or 2-channel pcm stream parsing mpeg-2 iso13818-2, up to 80 mbps pid filtering hardware section filters with cam, 32 pids descrambling dvb, des input voltages 3.3 v C 5% (i/o), 1.8 v C 5% (core) clock frequencies input = 13.5 or 27mhz, operating = 150 mhz packaging 308 ball grid array physical transport audio v ideo system
|