2002 National Semiconductor Corporation
1
www.national.com
GeodeTM
C
S
1301/CS
1311
M
ultim
e
dia
C
o
m
panion:
Media
D
ata
P
r
o
cessor
General Description
The National Semiconductor
GeodeTM CS1301 and
CS1311 multimedia companions act as coprocessors to
decode multimedia in National's Geode single chip proces-
sor-based systems (i.e., SC1200/SC1201, SC2200, and
SC3200, hereafter referred to as SCx200). They provide a
multimedia experience for an Information Appliance (IA)
user that cannot typically be achieved on a PC.
By implementing a dedicated coprocessor to perform multi-
media tasks, a high quality video viewing experience can
be achieved. This high quality is achieved by having a
coprocessor architecture that is ideally suited for decoding
digital media. In addition, since the decoding is not occur-
ring on the SCx200, system events cannot interrupt the
coprocessor's task of decoding media and thereby causing
stuttering of sound or interruptions in the video.
Lower power consumption can also be achieved using the
SCx200/CS1301
or
SCx200/CS1311
solution.
The
CS1301/CS1311 has an architecture specifically designed
for decoding media. The architecture is such that while
decoding media, power is not consumed by portions of the
system that are not used to decode media. Since the
SCx200 is not decoding the media locally, it is able to go
into a lower power state. When the CS1301/CS1311 is not
decoding media, it uses almost no power.
Additionally, since the architecture is designed for decoding
media, fewer CS1301/CS1311 cycles are required.
Internal Block Diagram
2/4/6/8 Ch. Digital Audio
16/32-Bit Data I
2
S DC,
up to 22 MHz AO_SCK
IEC958 up to 40 Mbit/sec
Huffman Decoder
Slice-At-A-Time
MPEG-1 & 2
CCIR-656 Digital Video
32-Bit Data
(up to 664 MB/sec)
Down and Up Scaling
YUV --> RGB
(50 Mpix/sec)
PCI V2.1 (32 bits, 33 MHz)
External Bus
ACCESS.bus Interface
to EEPROM
Video In
SDRAM
PCI Interface
Video Out
Audio In
Audio Out
S/PDIF Out
ACCESS.bus
Interface
VLD
Coprocessor
Timers
VLIW
CPU
32K I$
16K D$
Image
Coprocessor
Main Memory Interface
Stereo Digital Audio
8/16-bit data I
2
S DC,
up to 22 MHz AI_SCK
CCIR-656 Digital Video
YUV 4:2:2 up to 81 MHz
(40 Mpix/sec)
Preliminary
August 2002
Revision 2.2
GeodeTM CS1301/CS1311 Multimedia Companion:
Media Coprocessor
National Semiconductor and Virtual System Architecture are registered trademarks of National Semiconductor Corporation.
Geode, MacPHYTER, WebPAD, and VSA are trademarks of National Semiconductor Corporation.
For a complete listing of National Semiconductor trademarks, please visit www.national.com/trademarks.
www.national.com
2
Revision 2.2
G
e
odeTM
C
S
1
30
1/
CS
13
1
1
Features
General Features
s
Physical
s
Process 0.25-micron CMOS
s
Packaged in a 292-terminal TEPBGA (Thermally
Enhanced Plastic Ball Grid Array)
s
Power supply:
-- CS1301: 2.5V Core; 3.3V I/O (5V tolerant)
-- CS1311: 2.2V Core; 3.3V I/O (5V tolerant)
s
Consumption 1300 mA; 3.5W
s
Power-down 300 mA
s
Case Temperature 0 to 85C
Central Processing Unit
s
Clock speed:
-- CS1301: 180 MHz
-- CS1311: 166 MHz
s
Instruction length variable (2 to 23 bytes)
s
Instruction set arithmetic and logical operations,
load/store operations, special multimedia and DSP
operations, IEEE compliant floating point operations
s
Functional units 27, pipelined
Caches
s
Data 16 KB, instructions 32 KB
Memory System
s
Speed 166 MHz SDRAM
s
CPU/Memory programmable; 1:1, 5:4, 4:3, 3:2, and 2:1
speed ratios
s
Memory size 512 KB to 64 MB (up to four banks)
s
Recommended configurations:
-- 16 MB: Two 4M x 16 or two 2M x 32
-- 32 MB: Four 2M x 32 or four 4M x 16
s
Width 32-bit bus
s
Max. bandwidth 664 MB/sec (at 166 MHz)
Image Coprocessor
s
Scaling programmable scale factor (0.2X to 10X) using
5-tap filters:
-- Horizontal or vertical scaling and filtering of individual
Y, U or V
-- Horizontal scaling and filtering with color conversion
and overlay
-- HYUV to RGB, RGB overlay and alpha blending, bit
mask blanking
VLD Coprocessor
s
Parses MPEG-1 and MPEG-2 elementary bit streams
generating run-level pairs and filling macroblock
headers
Timers
s
Four 32-bit wide timers
Input/Output Support
s
PCI Interface:
-- PCI 2.1 compliant
-- Speed 33 MHz
-- Bus width 32 bits
-- Voltage drive and receive at 3.3V
s
Audio In (AI):
-- Two I
2
S compliant channels
-- Sample size 8 or 16-bit samples per channel
s
Audio Out (AO):
-- Eight I
2
S compliant channels
-- Sample size 16 or 32-bit samples per channel
s
Video In (VI):
-- Supported signals CCIR-601/656:
8-bit video (up to 40 Mpix/sec)
-- Image sizes all sizes, subject to sample rate
-- Provides programmable on-the-fly 2X horizontal
resolution subsampling
s
Video Out (VO):
-- Image sizes flexible, including CCIR-601; max.
4K x 4K pixels (subject to 80 MB/sec data rate)
-- Outputs CCIR-601/656 8-bit video, PAL or NTSC
-- Clock rates programmable (4-80 MHz), typical
27 MB/sec (13.5 Mpix/sec for NTSC, PAL;
40 Mpix/sec in YUV 4:2:2 mode)
-- Features full 129-level alpha blending, GenLock
mode, frame synchronization chroma key,
programmable YUV color clipping
s
S/PDIF Out:
-- Number of channels up to 6
-- Sample size 16 or 24 bits per channel
-- IEC-958, output up to 40 Mbits/sec
s
ACCESS.bus Interface:
-- Supported modes single master only
-- Addressing 7-bit
-- Rates up to 400 Kbps
Revision 2.2
3
www.national.com
Ge
odeTM
C
S
130
1/C
S
131
1
1.0
System Architecture
The CS1301/CS1311 multimedia companion acts as a
coprocessor to decode multimedia in National's Geode
SC1200/SC1201, SC2200, and SC3200 (SCx200 unless
otherwise specified). Figure 1-1 provides a typical system
block diagram.
Media decoding is one of the most demanding system
applications. If media is decoded on the main processor, a
much higher performance processor is required to achieve
even comparable levels of media decoding quality. Such a
system would be significantly over-designed for other
tasks, such as browsing the Internet. Using a low-cost pro-
cessor that is ideally suited for all tasks, and adding the
coprocessor for the high performance media decoding
requirement, results in a cost-effective solution.
Another advantage of an processor/coprocessor solution is
that an OEM (Original Equipment Manufacturer) can pro-
vide a scalable solution. A single board can be designed
that supports the coprocessor. If it is desired to support a
low-end product that does not support the high quality
media decoding capabilities, the coprocessor and its sup-
porting components can be excluded from the system,
which results in additional savings in an already cost-effec-
tive design.
1.1
IMPORTANT DESIGN NOTE
The CS1301/CS1311 was designed to be a general pur-
pose media data processor. As such, the CS1301/CS1311
is
capable
of
far
more
than the current
National
CS1301/CS1311 solution. The solution that National is pro-
viding
is
only
one
possible implementation of
the
CS1301/CS1311 and only this implementation is fully sup-
ported by National Semiconductor. In order to maintain
software compatibility with National's provided software,
any deviation of the CS1301/CS1311 section of the sche-
matic is strongly discouraged.
For those wishing to deviate from the schematic, or wishing
to
take
advantage
of
other
features
of
the
CS1301/CS1311, documentation is available on the Philips
Semiconductors SDE CD-ROM to support design varia-
tions. However, additional support to implement these vari-
ations must be obtained from one of the TriMedia Alliance
Partners who support the CS1301/CS1311, its software,
and the peripheral functions.
For a list of TriMedia Alliance Partners, visit:
http://www.trimedia.com/TAPP/
Figure 1-1. System Block Diagram
Da
t
a
Co
n
t
r
o
l
Sub-ISA
USB 1, 2, 3
Flash or
M-Systems'
DiskOnChip
Display: TV, CRT, or TFT
SDRAM
PCI Bus
AMP
LM4880
Codec
LM4549
XpressROM
BIOS
IRDA
IDE
CompactFlash
CCIR 656 VIP
WM8725
DAC
Geode
TM
CS1301/
CS1311
Geode
TM
SCx200
SDRAM
EEPROM
www.national.com
4
Revision 2.2
G
e
odeTM
C
S
1
30
1/
CS
13
1
1
System Architecture
(Continued)
1.2
SOFTWARE
The CS1301/CS1311 software and reference schematic is
provided for a system that decodes media quickly with no
original software development needed. As part of the
CS1301/CS1311 purchase (see Section A.1 "Ordering
Information" on page 24 for purchase details), National will
license for the use of the operating system drivers and
media decoder codecs in object form, which include:
Communications manager driver.
Video filter: Takes the video from the VIP (Video Input
Port) of the Geode SCx200 and plays it back through
the operating system media player.
Various multimedia codecs.
1.2.1
Software Support
National provides a reference schematic and the associ-
ated software for a processor/coprocessor solution using
the Geode SCx200 and the CS1301/CS1311. This imple-
mentation is currently supplied as a multimedia decoder for
CE player under Microsoft Windows CE.net or Linux.
Future support for Microsoft Windows XP is planned. Since
this is a software-based DSP (Digital Signal Processor)
coprocessor rather than strictly a silicon-based coproces-
sor, the software can be upgraded to support evolving
media standards without a redesign of the hardware.
1.2.2
Software Features Support
The CS1301/CS1311 multimedia solution supports the fol-
lowing software components:
General Support
Reverse 3:2 pull down
Progressive display output
Capture Video Input
MPEG-1 Decoding
System stream (ISO 11172-1):
-- Up to 1.5 Mbps
Video stream (ISO 11172-2):
-- CIF (up to 360x288) resolution
-- 29.97 fps (NTSC)
-- 25 fps (PAL)
-- Up to 1.12 Mbps
Audio stream (ISO 11172-3): MPEG-1 layers 1 and 2:
-- Up to 384 Kbps, 32 KHz, 44.1 KHz or 48 KHz sample
rate
MPEG-2 Decoding
Program stream (ISO 13818-1): DVD style MPEG-2
program stream
Video stream (ISO 13818-2) - Main level at main profile:
-- Full screen NTSC (720x480) at 29.97 fps
-- Full screen PAL (720x576) at 25 fps
Audio stream - MPEG-2 audio:
-- Layers 1 and 2 (ISO 13818-3) at 32 KHz, 44.1 KHz or
48 KHz sample rate
-- AC3 audio at 32 KHz, 44.1 KHz or 48 KHz sample
rate
MPEG-1, MPEG-2 Layer 3 Audio Decoding (MP3)
Up to 384 Kbps
Up to 48 KHz sample rate
Fixed bit rate decoding
MPEG-4 Decoding
Video stream - "Simple profile":
-- CIF resolution at 30 fps, up to 384 Kbps
Audio stream - "High quality profile":
-- MPEG-4 AAC low complexity and MPEG-4 CELP
WMT (Windows Media Technology) Decoding
Video stream - Windows Media Video v8, also supports
v7 decode:
-- CIF resolution at 30 fps, up to 1 Mbps
Audio stream - Windows Media Audio v8, also supports
v7 decode:
-- Up to 128 Kbps and 48 KHz sample rate
Windows Media Player Integration
An implementation has been developed to seamlessly inte-
grate Windows Media Player with WindowsCE.net or
Linux. National has taken advantage of the native playback
features supported by Microsoft DirectShow and has
extended that functionality to the CS1301/CS1311. Win-
dowsCE.net ships with an ActiveX control that wraps the
filter graph manager and provides a very high level API
(Application Programming Interface). It also supports a
browser plug-in. An application writer can use the ActiveX
control interface to playback MPEG-1/MPEG-2 media
types. The user can also open the MPEG-1/MPEG-2/WMT
files in Windows Media Player by double clicking on the file
or by launching WMP, then opening the selected media.
New codecs are continually being developed and added
(see National's IA Developer's web site for a list of sup-
ported codecs).
Revision 2.2
5
www.national.com
Ge
odeTM
C
S
130
1/C
S
131
1
System Architecture
(Continued)
1.2.3
Software Architecture Overview
Figure 1-2 demonstrates the interaction between the vari-
ous software layers.
Note:
The shaded boxes indicate components provided
by Microsoft Corporation.
Figure 1-2. Software Architecture Diagram
Windows Media Player
ActiveX Control
Filter Graph Manager
File Source
Video Renderer
DirectShow Filter
TMComm
TMMan32/HostComm/LibLoad/TMCRT
TMMan32/HostComm/LibLoad/TMCRT
CommTM
ExolTMpeg Application
TSSA*
TRead
Video
Decoder
Demux
Audio
Decoder
VTransCrystal
Video Renderer
Audio Renderer
DAC
To SCx200
Video Input Port
TMMan Driver Geode Part
TMMan Driver TM Part
GeodeTM CS1301/CS1311
GeodeTM SCx200
* TriMedia Streaming Software Architecture