Refer to Table 3-2, “Cirrus Logic Extended Display Modes,” on page 3-25.
CL-GD5446
Technical Reference Manual
November 1996
Second Edition
Notice
Cirrus Logic Inc. has made best efforts to ensure that the information contained in this document
is accurate and reliable. However, the information is subject to change without notice. No
responsibility is assumed by Cirrus Logic Inc. for the use of this information, nor for infringements
of patents or other rights of third parties. Cirrus, Cirrus Logic, AccuPak, DIVA, FastP ath, FasText,
FeatureChips, Good Data, Laguna, Laguna3D, MediaDAC, MotionVideo, SimulSCAN, S/LA,
SMASH, SofTarget, TextureJet, TVTap, UXART, VisualMedia, VPM, V-Port, Voyager, WavePort,
and WebSet are trademarks of Cirrus Logic Inc., which may be registered in some
jurisdictions. Other trademarks in this document belong to their respective companies. CR US and
Cirrus Logic International, Ltd. are trade names of Cirrus Logic Inc.
Copyright Notice
This document is the property of Cirrus Logic Inc. and implies no license under patents, copyrights, or trade secrets. No part of this publication may be copied, reproduced, stored in a retrie v al
system, or transmitted, in any form or by an y means, electronic, mechanical, photog raphic, or otherwise, or used as the basis for manufacture or sale of any items without the prior written consent
of Cirrus Logic Inc.
Copyright
1995, 1996— Cirrus Logic, Inc. All rights reserved.
Contents
CONTENTS
The following are the differences between the December 1995 and November 1996 versions of
this technical reference manual:
●
CL-GD5446 Technical Reference Manual
Revision History
Information pertaining to the Revision B device has been added
REGISTER INDEX ..................................................................................F-2
INDEX ..................................................................................................... F-8
November 1996xivCopyright 1996 – Cirrus Logic Inc.
1
Introduction
INTRODUCTIONCL-GD5446 Technical Reference Manual
1.INTRODUCTION
1.1Scope of Document
This manual provides a technical discussion of the CL-GD5446 VisualMedia accelerator. This
manual includes descriptions of each major component integrated into the device, a data book,
detailed information on each register, a BIOS description, and appendices intended to assist hardware and software designers.
1.2Chip Types Covered
This manual documents the CL-GD5446. Table 1-1 shows the production versions covered.
Table 1-1. Production Versions Covered
RevisionAB
CL-GD5446
The CL-GD5446 ID register — CR27, reads back a value specifying the CL-GD5446. Refer to
Chapter 8, “Miscellaneous Extension Registers”, for further information. The ID is also in register
PCI00.
✔✔
1.3Intended Audience
This manual is intended for a technically sophisticated audience. It is assumed that the reader is
familiar with assembly language progr amming on the 8088/8086, 80286/80386/80486, P entium
or similar microprocessor, and understands the fundamentals of computer generated graphics
display technology.
Hardware engineers should find Chapter 3, “Data Book”, useful. It contains the pinouts and pin
summary. In addition, Chapter 10 contains the detailed pin descriptions and Chapter 11 contains
the DC and AC specifications. Appendix B1 and Appendix B2 contain board design and layout
information.
Software engineers should find Chapters 4–8 (register descriptions) useful for BIOS- and driverlevel codes. All registers are described to the bit level. Chapter 9 contains programming notes.
1.4Conventions
This section discusses conventions used throughout this document. Conventions include acronyms, abbreviations, and nomenclature usage. For a quick reference of acronyms see Table 1-2.
,
Bits
Bits are always listed in descending order, most-significant (highest number) to least-significant
(lowest number). When discussing a bit field within a register or memory, the bit number of the
most-significant bit is given on the left, follo wed b y a colon (:) and then the bit number of the leastsignificant bit (for example, bits 7:0). A field consists of a set of adjoining bits with common functionality. Registers consist of fields of one or more bits.
November 19961-2Copyright 1996 – Cirrus Logic Inc.
CL-GD5446 Technical Reference ManualINTRODUCTION
Table 1-2.Acronym Quick Reference
AcronymDefinition
ACalternating current
ALUarithmetic logic unit
ATEautomatic test equipment
BIOSbasic input/output system
BitBLT, BLTbit boundary block transfer
bppbits per pixel
CADcomputer-aided design
CAScolumn address strobe
CGAcolor graphics adapter
CLUTcolor lookup table
CMOScomplementary metal-oxide
CPUcentral processing unit
CRTcathode ray tube
CRTCCRT controller
DACdigital-to-analog converter
DCdirect current
DDAdigital differential algorithm
DDCdisplay data channel
DMIdesktop management signaling
DPMSdisplay power management
DRAMdynamic random access memory
dworddoubleword
EEPROMelectrically erasable/programmable
Throughout this manual, the first usage of all acronyms has the definition follo wing in parentheses.
Table 1-2 on page 1-3 lists most of the acronyms used in this manual. F or further definitions, refer
to Appendix E1, “Glossary and Bibliography”.
Abbreviations
The unit ‘Kbyte’ designates 1024 bytes. The unit ‘Mbyte’ designates 1,048,576 bytes (1024
squared). The unit ‘Gbyte’ designates 1,024 megabytes. The unit ‘Hz’ designates hertz. The unit
‘kHz’ designates 1,000 hertz. The unit ‘MHz’ designates 1,000 kilohertz. The unit ‘ns’ designates
nanosecond. The unit ‘µs’ designates microsecond (1,000 nanoseconds). The unit ‘ms’ designates millisecond (1,000 microseconds). The unit ‘mA’ designates milliampere. The use of ‘tbd’ in
tables indicates values that are ‘to be determined’. The unit ‘µF’ designates the capacitance measurement micro-farad (10
-6
farad). N/A designates ‘not av ailab le’. The use of ‘n/c’ indicates the pin
is a ‘no connect’.
Numeric Naming
Hexadecimal numbers are represented with all letters in upper case and a lower-case ‘h’ is
appended to them (for example, ‘14h’, ‘3A7h’, and ‘C000h’ are hexadecimal numbers). Programming examples may use the C convention (prepend 0x to a hex number). Numbers not indicated
by an ‘h’ are decimal. Octal numbers are not used in this manual.
Reserved
When a system memory or I/O address is referred to as ‘reserved’, it indicates that writing to that
address is not permitted. Reserved bits
must
be written as ‘0’ to maintain upward compatibility.
Read-Only
The word ‘read-only’ is used to indicate registers and bits that can be read, but not written to.
November 19961-4Copyright 1996 – Cirrus Logic Inc.
2
Overview
OVERVIEWCL-GD5446 Technical Reference Manual
2.OVERVIEW
The CL-GD5446 VisualMedia accelerator is a 64-bit DRAM based SV GA controller with hardwareaccelerated BitBLT, video playback, and video capture to the frame buffer.
The CL-GD5446 combines the Cirrus Logic V -P ort with a multi-format frame buff er for cost eff ective video playback. The V-Por t captures real-time video into the frame buffer with optional data
reduction. The video is typically displayed in the hardware video window with optional interpolated
zooming. The video can be of a different format (for example, 16-bpp YUV 4:2:2) than the graphic
format (for example, 8-bpp palettized VGA format).
The CL-GD5446 features a 64-bit GUI BitBLT engine with double-b uffered, memory-mapped control registers. Transparency is supported with color expansion for all color depths, and supported
without color expansion for 8- and 16-bpp graphics modes.
Highly integrated, the CL-GD5446 includes a programmable dual-frequency synthesizer and palette DA C, allowing a motherboard video playback solution with as fe w as three ICs plus the video
decoder.
Production Revision B of the CL-GD5446 is specifically designed for compliance with PC97. The
differences between Revision A and Revision B are detailed in Appendix A2, “Revision B Notes”.
2.1Features
Table 2-1 presents a list of the major features of the CL-GD5446 VisualMedia accelerator.
Table 2-1. CL-GD5446 Features List
GUI acceleration width (in bits)64
Maximum dot clock135 MHz
Maximum memory clock80 MHz
Multimedia ready
Integrated video playback support
Video capture
Video windowing
Color key, chroma key occlusion support
YUV and AccuPak video support
Unique planar assist video support
Multi-format frame buffer
FeaturesCL-GD5446
✔
✔
✔
✔
✔
✔
✔
✔
Color space conversion
Interpolated zooming (independent for X and Y)
November 19962-2Copyright 1996 – Cirrus Logic Inc.
✔
✔
CL-GD5446 Technical Reference ManualOVERVIEW
Table 2-1. CL-GD5446 Features List
(cont.)
FeaturesCL-GD5446
Transparent source BitBLT
Active display line readback
‘Page flip’ support
I2C support
8- or 16-bit General-Purpose I/O bus
DDC2B support
‘Green PC’ power-saving features
Direct PCI bus interface (2.1-compliant)
VESA pass-through feature connector
Resolutions up to 1280 × 1024 (see inside front cover)
Integrated triple 8-bit DAC
Programmable dual-clock synthesizer
64-bit DRAM display memory interface
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
✔
Memory size (Mbytes)1, 2, 3, 4
4-, 16-bit-wide DRAMs
EDO DRAM support
128K × 16, 128K × 32 DRAM support
16-bit Pixel bus
CL-GD542X register- and software-compatible
Low-power CMOS, 208-pin PQFP/HQFP package
100% hardware- and BIOS-compatible with
The CL-GD5446 incorporates all of the logic listed in Table 2-2 into a single integrated chip.
These components are discussed in the following sections.
Table 2-2. CL-GD5446 Major Components
Logic ComponentSection
VGA core: sequencer2.3.1
VGA core: CRT controller2.3.2
VGA core: graphics controller2.3.3
VGA core: attribute controller2.3.4
VGA core: programmable dual-frequency synthesizer2.3.5
VGA core: palette DAC2.3.6
PCI bus interface2.4
BitBLT engine2.5
Video capture2.6
Video window and video display2.7
General-purpose I/O2.7.2
DDC2B interface2.7.1
In describing the CL-GD5446, it is useful to retain the identity of the original major subsections
found in the IBM EGA and VGA controllers. The architectures of these major subsections, as
well as CL-GD5446 enhancements, are further described in the following sections.
NOTE:The diagrams in these sections are functional block diag rams of the components and are not
intended to represent actual implementation.
2.3VGA Core
2.3.1Sequencer
The sequencer controls access to the display memory. It ensures that the necessary screen
refresh and dynamic memory refresh cycles are executed, and that the remaining memory
cycles are made availab le f or CPU read/write operations, BitBLT read/write operations, and VPort write operations.
The sequencer consists of a memory arbitrator and memory controller. It accepts requests
from memory address counters associated with the CRTC, and address-transformation logic
associated with the graphics controller . It uses the display FIFOs to deliver data to the displa y
pipeline, and the write buffer to transfer data to the graphics controller. The Memor y
Sequencer registers are described in Chapter 4, “VGA Core Registers”.
The memory controller generates the signals and addresses necessary for accessing display
memory. The memory controller is driven by a MCLK (memory clock) optimized for the speed
of the DRAM used, independent of the VCLK (video clock). The memory controller can
November 19962-4Copyright 1996 – Cirrus Logic Inc.
CL-GD5446 Technical Reference ManualOVERVIEW
generate optimized timing for EDO DRAMs and oper ate with an MCLK of up to 80 MHz. The memory arbitrator and host bus interface are also driven by the MCLK.
CRT
CONTROLLER
GRAPHICS
CONTROLLER
BITBLT
ENGINE
V-Port
HOST
BITBLT
V-Port
2.3.2CRT Controller
The CRTC (CRT controller) generates the horizontal and vertical synchronization signals for the
CRT display. The CRTC allows configur able horizontal and vertical timing and polarity , cursor position, horizontal scanlines, and both horizontal and vertical GENLOCK. The CRTC registers are
also described in Chapter 4.
CONTROLS
MA[9:0]
MEMORY
ARBITRATOR
MEMORY DATA
MEMORY
CONTROLLER
DISPLAY FIFOS
MD[63:0]
Figure 2-1. Sequencer Functional Block Diagram
FRAME
BUFFER
The CRTC is software-compatible with IBM VGA hardware. The registers are expanded, as necessary, for high-resolution monitors. The CRTC also provides split-screen capability and smooth
scrolling. A simplified functional diagram of the CRTC is shown in Figure 2-2.
November 19962-6Copyright 1996 – Cirrus Logic Inc.
CL-GD5446 Technical Reference ManualOVERVIEW
2.3.3Graphics Controller
The graphics controller operates in either text or g raphics modes and has the follo wing major functions:
● Provides the host CPU with a read/write access path to display memory.
● Controls all four memory planes in planar modes (used for 16-color graphics).
● Allows data to be manipulated prior to being written to display memory.
● Formats data for use in various backward-compatibility modes.
● Provides color comparators for use in color painting modes.
● Reads/writes 32- or 64-bit words through the 32- or 64-bit display memory interface.
● Combines display memory data and attributes for output to the Pixel bus.
The graphics controller directs data from the display memory to the attribute controller and CPU.
Figure 2-3 and Figure 2-4 illustrate typical write and read operations.
For a write operation, the data from the CPU bus are combined with the data from the Set/Reset
logic, depending on the write and display modes. In addition, the data can be combined with the
contents of the read latches, and some bits or planes may be masked (prevented from being
changed). See the bit descriptions in Chapter 4, “VGA Core Registers”, for more information.
The graphics controller is implemented when the CPU is reading data from display memory.
Depending on the read mode, the data returned may be the actual contents of the display memory
or reflect the outcome of comparisons with the color value in one of the Graphics Controller registers. See the descriptions in Chapter 4 for more information.
FROM PLANES 0, 1, 2, 3
READ MAP
REGISTER AND
READ MODE
PROCESSOR
LATCH
COLOR COMPARE
BITS 0–3
COMPARATOR
SELECTOR
COLOR DON’T CARE
BITS 0–3
PLANE
SELECT
TO CPU DATA BUS
Figure 2-4. Graphics Controller Read Operation
November 19962-8Copyright 1996 – Cirrus Logic Inc.
CL-GD5446 Technical Reference ManualOVERVIEW
2.3.4Attribute Controller
The attribute controller controls the blinking and underline attributes in alphanumeric modes. It
also provides horizontal pixel-panning capability in both alphanumeric and graphics modes. The
attribute controller registers are described in Chapter 4. Figure 2-5 is a functional block diagram
of the attribute controller.
The CL-GD5446 includes an integrated dual-frequency synthesizer that can be programmed to
generate the VCLK for all supported screen formats, and the MCLK used by the sequencer. The
VCLK synthesizer can support a pixel clock of up to 135 MHz. The MCLK synthesizer can be programmed for up to 80 MHz (for EDO DRAMS). The dual-frequency synthesizer includes an onchip oscillator that requires an inexpensive , two-pin 14.31818-MHz crystal. Alternatively, the dualfrequency synthesizer can use a reference frequency of 14.31818 MHz from an external source.
Figure 2-6 is a functional block diagram of the programmable dual-frequency synthesizer.
November 19962-10Copyright 1996 – Cirrus Logic Inc.
CL-GD5446 Technical Reference ManualOVERVIEW
2.3.6 Palette DAC
The CL-GD5446 includes an integrated palette DAC that can interface to an analog monitor connector through the appropriate RFI filters. The palette DAC can be programmed for 256 simultaneous colors from a palette of 256K, or it can be programmed for Direct-color mode . In Direct-color
mode, two, three, or four contiguous bytes from the display memory are combined for each pixel.
This allows 32K, 64K, or 16.8 million simultaneous colors on the screen.
The CL-GD5446 supports color space conversion and can display YUV 4:2:2 or AccuPak video
data as well as 8-bpp LUT and 16-bpp RGB in the hardware video window.
Figure 2-7 is a functional block diagram of the palette DAC.
The CL-GD5446 includes a glueless 32-bit PCI bus interface . This interface features full PCI compliance, including optimized PCI burst write, which supports PCI writes to the frame buffer at
greater than 55 Mbytes per second.
The frame buffer is addressable through a 16-Mbyte window consisting of three 4-Mbyte byteswapping apertures, and a special video aperture. The VGA control registers are relocateable
anywhere in the 64-Kbyte space (allowing multiple devices in a single system).
The frame buffer in Revision B of the CL-GD5446 is addressable through two 16-Mbyte windows.
One window is for direct accesses to the frame b uffer; the second window is f or system-to-screen
BitBLTs. The V GA registers in Re vision B of the CL-GD5446 are accessible an ywhere in the memory address space. Revision B of the CL-GD5446 supports Subsystem Vendor ID in PCI2C.
2.5BitBLT Engine
The CL-GD5446 includes a BitBL T engine f or block tr ansfers within displa y memory at full memory
bandwidth. System-to-display transfers can also be effected with the BitBLT engine.
The CL-GD5446 BitBLT engine suppor ts transparency with color expansion for all graphics formats and transparency without color expansion for 8- and 16-bpp graphics formats.
The BitBL T control registers are doub le-buff ered and memory-mapped. Doub le-buff ered registers,
in conjunction with the autostart feature, allow concurrent operation of the host and the BitBLT
engine. The host can prepare and load the par ameters f or operation n + 1 while the BitBLT engine
is executing operation n. When the current operation completes, the BitBLT engine automatically
loads and begins with the parameters for the next operation.
All 16 two-operand ROPs (raster operations) are implemented in hardware. Color expansion
leverages host bandwidth by up to 32 times.
HOST INTERFACE
DOUBLE-BUFFERED
REGISTERS
COLOR EXPANSION
COLORS
WORKING
REGISTERS
64-BIT DATA FLOW
TRANSPARENCY
COLORS
FRAME
BUFFER
Figure 2-8. BitBLT Engine
November 19962-12Copyright 1996 – Cirrus Logic Inc.
CL-GD5446 Technical Reference ManualOVERVIEW
2.6Video Capture
The CL-GD5446 V-Port accepts video data from a realtime or recorded source and stores it
into the frame buffer. V-Por t can accept data in YUV 4:2:2, RGB16, or AccuPak formats.
Figure 2-9 shows a V-Port functional block diagram.
Video data can be converted from YUV 4:2:2 to AccuP ak as it is being stored, or it can be decimated as it is being stored. Decimation and AccuPak conversion cannot be used together.
Horizontal and vertical decimation are independently specified. In addition, temporal decimation can be used.
The video capture address can come from either of two register sets, allowing automatic double buffering. When this is used, the video buffers being used for capture and display can be
automatically swapped, ensuring that partial images are not displayed.
The CL-GD5446 has an independent video capture FIFO, allowing simultaneous video capture and occlusion or interpolated Y-zooming (subject to frame buffer bandwidth restrictions).
DECIMATION
CONTROL
V-Port
Figure 2-9. V-Port Functional Block Diagram
2.7Video Window and Video Display
The CL-GD5446 has a video window timing generator that defines a rectangular area on the
display. This area can display video data or mixed graphics and video data. Video data can
(and typically does) have a for mat different from Graphics data. Typically, Video data also
comes from a separate area in the frame buffer.
YUV (4:2:2 in CCIR601 encoding) data is color space converted to RGB in the video pipeline.
AccuPak data is expanded to YUV 4:2:2 prior to color space conversion.
CAPTURE ADDRESS
GENERATOR LOGIC
VIDEO CAPTURE FIFO
YUV TO ACCUPAK
FRAME
BUFFER
Video data can be zoomed for display in the video window. Zoom factors in the range of 1
through 4 are generally used. X-zooming is always done with interpolation (the intermediate
pixels values are a w eighted av erage of ‘real’ pixels). Y-zooming can be done with interpolation
(2× or above) or line replication. Inter polation zooming produces superior results and should
be used whenever bandwidth requirements permit.
The CL-GD5446 has support for occlusion in the video window. This permits Graphics data and
Video data to be mixed on a pixel-b y-pix el basis. Color keying the Graphics data or chroma keying
the Video data can determine which pixels to replace corresponding pix els from the alternate data
stream.
2.7.1DDC2B/I
The CL-GD5446 supports a two-pin I
peripherals such as TV tuners with an I
2
C Support
2
C interface used for DDC2B support. It can also control
2
C interface.
2.7.2General-Purpose I/O Port
The CL-GD5446 provides address decoding and an 8- or 16-bit data bus f or an additional peripheral device on the same adapter board as the GUI-X. The CL-GD5446 provides address and data
buffering to comply with the PCI ‘one-load’ specification. The base address of the port is specified
in a PCI configuration register. The port can be in I/O space or memory space.
2.8Hardware/Software Compatibility
The CL-GD5446 is compatible with the IBM VGA standard.
2.9Computer Display Subsystem Architecture
Figure 2-10 shows the main components required to implement a functional VGA subsystem
using the CL-GD5446. The interfaces that must be implemented are the host CPU, the BIOS (for
adapter board implementation only), the display memory, and the CRT. If video is required, the VPort interface must be implemented.
November 19962-14Copyright 1996 – Cirrus Logic Inc.
3
Data Book
DATA BOOKCL-GD5446 Technical Reference Manual
3.DATA BOOK
November 19963-iiCopyright 1996 – Cirrus Logic Inc.
FEATURES
■ High-throughput PCI bus interface optimized for video
playback
— Large write buff er allo ws sustained z ero-w ait-state bursts
— Independent memory apertures for BitBLT and CPU/video
allow concurrent operations for optimized video pla yback
— Byte-swapping for PowerPC support
— PCI v2.1-compliant
■ Advanced 64-bit BitBLT engine for Windows 95
— Transparent source data BitBLT for DirectDraw
— Color expansion for all graphics modes
— Large data buffers for fast screen-to-screen BitBLTs
— Double-b uffered, memory-mapped registers with AutoStart
— Optimized color 8 × 8 PatCopy
— Accelerated Packed-24 modes
■ 64-bit DRAM interface optimized for EDO DRAM
— 80-MHz MCLK offers up to 320 Mbytes/sec. peak bandwidth
— Supports new 128K × 16, 128K × 32 DRAM
■ V-Port, GPIO, I2C bus interfaces for video decoders
— Video capture, closed-caption capture applications
— GPIO permits video decoders with single load on PCI bus
— Automatic double buffering prev ents video ‘tearing’
— Glueless interface to the CL-PX4072
— Interface to MPEG and other video decoders
■ Hardware window for video display
— Multiformat frame buffer
— Supports YUV -16 true color video with 8-bit graphics
— YUV 4:2:2, AccuP ak, RGB-8, RGB-16 video formats
— Unique YUV planar assist mode
— Independent interpolated X and Y zooming
— Occlusion support with color- or chroma-key
■ PC97-compliant (Revision B)
(cont.)
CL-GD5446
Preliminary Data Book
64-bit
VisualMedia Accelerator
OVERVIEW
The CL-GD5446 delivers high-performance graphics and TVquality , full-motion, full-screen video pla yback in an integrated,
single-chip device. The CL-GD5446 VisualMedia accelerator, integrated into a cost-effective personal computer, plays
CD-ROM video clips and disk-based video files (including
MPEG titles), in full screen at up to 30 frames per second with
fully synchronized sound. At the same time, the CL-GD5446
delivers exceptional system throughput with minimal impact to
system operation. Transparent BitBLT and page-flipping features provide outstanding DirectDraw and games performance.
The CL-GD5446 provides a glueless connection to most of the
popular video decoder devices from Cirrus Logic as well as
other vendors. This provides broad flexibility to support live TV in-a-window, closed captioning, hardware MPEG, and video
conferencing, extending baseline system functions with
enhanced features to meet the requirements of a wide range
of applications.
The CL-GD5446 can support YUV 4:2:2 video playback in an
arbitrarily sized window on 1024 × 768, 256-color graphics
with a frame buffer of only 1 Mbyte. This capability can help
place PCs using the CL-GD5446 at a very fav orable price-performance point.
The CL-GD5446 supports pixel resolutions of up to
1280 × 1024, and 16.8 million colors at resolutions of up to
1024 × 768.
(cont.)
System
Block Diagram
MPEG
DECODER
(Optional)
TV
DECODER
(Optional)
DRAM
GPIO
CL-GD5446
V-Port
2
C
I
HARD DRIVECD-ROM
208-Pin PQFP
PCI BUS
CRT DISPLAY
November 1996Version 2.0
O VERVIEW
CL-GD5446
64-bit VisualMedia Accelerator
FEATURES
■ Product differentiation for video-pla yback applications
— Home PC television tuner: ‘TV-in-a-window’
— Video clip capture
— Home video editing
— Video mail/video message
— Personal video conferencing
— MPEG-1, MPEG-2 applications
— Closed-caption applications
■ Cirrus Logic provides enabling software drivers
— Windows 95, Windows 3.x, NT, OS/2, and AutoCAD
— DirectDraw and DCI
— VPM (video port manager)
(cont.)
OVERVIEW
The CL-GD5446 features an integrated dual-frequency synthesizer with on-chip oscillator and filters, as well as a triple
8-bit palette DAC with on-chip current reference. Green-PC
power-management features help make systems based on
the CL-GD5446 compliant with the Energy Star Program.
The CL-GD5446 is software- and pin-compatible with the
industry-standard Alpine family of V GA controllers from Cirrus
Logic. It comes with the same Cirrus Logic quality software,
applications support, and documentation.
Revision B of the CL-GD5446 is PC97-compliant.
Cirrus Logic also provides TV decoder application softw are —
TVT ap — for the CL-GD5446/’PX407X designs.
(cont.)
ADVANTAGES
Unique Features Benefits
Outstanding VisualMedia Acceleration
■ High-throughput PCI bus interface❒ Minimizes host bus bottleneck for VisualMedia playback.
■ Advanced 64-bit BitBLT engine with transparent BitBLT
and page-flip support
■ Optimized EDO DRAM interface❒ 64-bit and 80-MHz MCLK offer best performance for
■ 128K × 16/32-bit DRAM options❒ Allows 3- and 1-Mbyte (64-bit) options.
❒ Supports Fast Windows
mainstream DRAMs.
Superior TV -Like-Quality Video Perf ormance
■ Hardware video window❒ Allows independent graphics and video streams to be
displayed on-screen.
■ X and Y linear interpolated scaling❒ Minimizes aliasing and allows best video display regardless
of screen size.
■ YUV planar assist, AccuPak
■ Multiformat frame buffer❒ Allows true-color video with 256-color graphics.
■ Color key, chroma key❒ Allows graphics over video in video playback and video
encoding❒ Technology to obtain best performance while minimizing
video-quality degradation.
capture modes.
Foundation for Differentiation
■ Video capture V-Port❒ Allows video decoder interface and eliminates separate
frame buffer for lower system cost.
■ General-purpose I/O bus❒ Allows single load, glueless, generic I/O interfacing to
industry-standard video decoders.
■ VPM
■ I
❒ Video port API for Windows
peripheral application software development.
2
C interface❒ Allows low-cost control interface f or applications such as TV
decoders.
Compatibility
■ Compatible with VGA and VESA standards❒ Compatible with installed base of systems and software.
■ Drivers supplied at various resolutions for Windows
Windows NT, AutoCAD
applications
, OS/2, and other popular
3.1,
❒ Provides a ‘ready-to-go’ solution minimizing the need for
additional driver development.
95, DirectDraw, and games.
v3.x and Windows 95 easing
OVERVIEW
PRELIMINARY DATA BOOK v2.0
November 19963-2
CL-GD5446
64-bit VisualMedia Accelerator
SOFTWARE SUPPORT
Cirrus Logic provides an extensive — and expanding — range of software drivers to enhance the resolution and performance of many popular software packages . Note that the CL-GD5446 VGA g r aphics portion of a system
software drivers to run applications in standard-resolution modes.
Cirrus Logic software drivers for the CL-GD5446 include:
does not
require
Software DriversResolution Supported
Microsoft / Intel DCI (display
control interface), DirectDraw,
VPM Provider
Microsoft
Microsoft
Microsoft
v4.0
OS/2
AutoCAD
Autoshade
3D Studio v1.0, v2.0, v3.0, v4.0
All monitor types do not support all resolutions; 640 × 480 drivers will run on PS/2-type monitors. Extended resolutions are dependent upon
monitor type and VGA system implementation.
7.ORDERING INFORMATION EXAMPLE...............................................3-37
Revision History
The following are the differences between the December 1995 and November 1996 versions of this data book:
● Information pertaining to the Revision B device has been added
PRELIMINARY DATA BOOK v2.0
November 19963-4
CL-GD5446
64-bit VisualMedia Accelerator
CONVENTIONS
Abbreviations
SymbolUnits of measure
°Cdegree Celsius
Hzhertz (cycles per second)
Kbytekilobyte (1,024 bytes)
kHzkilohertz
kΩkilohm
Mbytemegabyte (1,048,576 bytes)
MHzmegahertz (1,000 kilohertz)
µFmicrofarad
µsmicrosecond (1,000 nanoseconds)
mAmilliampere
msmillisecond (1,000 microseconds)
nsnanosecond
pVpicovolt
The use of ‘tbd’ indicates values that are ‘to be determined’, ‘n/a’ designates ‘not available’, and ‘n/c’ indicates a pin that is a ‘no connect’.
Numeric Naming
Hexadecimal numbers are represented with all letters in upper case and a lower-case ‘h’ is appended to
them (for example, ‘14h’, ‘3A7h’, and ‘C000h’ are hexadecimal numbers). Binar y numbers are represented with a lower-case ‘b’ appended. Numbers not indicated by a ‘b’ or an ‘h’ are decimal.
Acronyms
AcronymDefinition
ACalternating current
ALUarithmetic logic unit
ATEautomatic test equipment
BIOSbasic input/output system
BitBLT, BLTbit boundary block transfer
bppbits per pixel
CADcomputer-aided design
CAScolumn address strobe
CGAcolor graphics adapter
The CL-GD5446 VGA GUI controller is available in a 208-pin PQFP (plastic quad flat pack) or HQFP
(high-performance quad flat pack) for the PCI bus only.
November 19963-7
PRELIMINARY DATA BOOK v2.0PIN INFORMATION
PIN INFORMATION
CL-GD5446
64-bit VisualMedia Accelerator
1.1Pin Summary
The following abbreviations are used for pin types in the following tables: (I) indicates input; (O) indicates
output; (O-Z) indicates tristate output; (OC) indicates open-collector output; (BIO) indicates bidirectional
I/O; (I/O) indicates input or output depending on how the device is configured and programmed.
122–––ESYNC#––Prog. Out 1–
123––VREFEDCLK#––––
125––PIXCLKDCLK––––
126––HREFBLANK#––––
a
These functions are enabled when the BIOS is enabled in PCI30.
b
GPIO is configured with CF8, CF4, CF3 (Revision A only).
c
These pins are configured for V-Port in CR50[4] and CR50[1:0].
d
These are the pin names on the VMI interface for reference only.
November 19963-19
PRELIMINARY DATA BOOK v2.0PIN INFORMATION
2.FUNCTIONAL DESCRIPTION
CL-GD5446
64-bit VisualMedia Accelerator
2.1General
The CL-GD5446 offers a VGA solution that is
totally compatible with the IBM VGA standard. The
CL-GD5446 includes a VGA core, 64-bit BitBLT
engine, video capture and display, and on-board
frequency synthesizers and palette DAC. A complete VGA motherboard solution can be imple-
DISPLAY MEMORY
1–4 MBYTES
ADDRESS
MEMORY SEQUENCER
MEMORY ARBITRATOR
BIT BLITTER
DEVICE
BOUNDARY
V-Port
V-Port
INTERFACE
V-Port
FIFO
32
mented by using two 256K × 16 DRAMs with the
CL-GD5446.
Figure 2-1 presents a functional block diagram of
the CL-GD5446, showing the connections to the
host, display memory, V-Port, and monitor.
6410
DATA
CONTROLS
64
HOST
BUS
CONTROLS
DATA
ADDRESS
GRAPHICS
CONTROLLER
32
CPU WRITE BUFFER
CPU INTERFACE
I2CGPIO
INTERFACE
Figure 2-1. CL-GD5446 Functional Block Diagram
32
32
INTERFACE
CRT
CONTROLLER
MCLK
FREQUENCY
SYNTHESIZER
14.31818-MHz CRYSTAL
VCLK
DUAL-
REF OSC
CURSOR
2
A TTRIBUTE
CONTROLLER
2
CURSOR
P ALETTE T ABLE
256 + 3 × 18
DISPLAY FIFOs
32
32
COLOR SPACE
CONVERSION
32
32
8
D
8
A
C
8
HSYNC
VSYNC
OVRW#
ANALOG
MONITOR
R
G
B
FUNCTIONAL DESCRIPTION
PRELIMINARY DATA BOOK v2.0
November 19963-20
CL-GD5446
64-bit VisualMedia Accelerator
2.2Functional Blocks
The following sections describe functional blocks
that are integrated into the CL-GD5446.
2.2.1CPU Interface
The CL-GD5446 connects directly to the PCI bus
with no glue logic. The CL-GD5446 decodes the
entire 32-bit address so that no address mirroring
occurs. The CL-GD5446 interface executes 32-bit
I/O and memory accesses at a speed of up to 33
MHz. The CL-GD5446 also supports memory burst
cycles. The CL-GD5446 can support an additional
peripheral device while remaining fully compliant
with the PCI single-load specification. The
CL-GD5446 is PCI 2.1-compliant.
Revision B of the CL-GD5446 has two 16-Mbyte
windows into the frame buffer for compliance with
PC97.
2.2.2CPU Write Buffer
The CL-GD5446 has a multi-lev el 32-bit CPU write
buffer which dramatically increases GUI acceleration and enhances CPU performance. The CPU
write buffer contains a queue of CPU write
accesses to display memory or the BitBLT engine
that have not been executed because frame b uffer
bandwidth has not yet been available. Maintaining
a queue allows the CL-GD5446 to generate
TRD Y# to complete the b us cycle as soon as it has
recorded the address and data, and then to execute the operation when display memory cycles
are availab le .
2.2.3Graphics Controller
The graphics controller is located between the
CPU interface and the memory sequencer. It performs text manipulation, data rotation, color mapping, and miscellaneous operations. These
operations are typically performed in the graphics
controller for VGA-compatible applications; newer
applications take advantage of the BitBLT engine.
2.2.4BitBLT Engine
The CL-GD5446 has a 64-bit BitBLT engine that
supports color expansion with or without transparency for all graphics pixel sizes as well as
transparency without color expansion for 8- and
16-bpp graphics formats.
The Control registers for the BitBLT engine are
memory-mapped and double-buffered. Memorymapping the Control registers allows the fastest
possible parameter transf er . Double-Buffered Control registers and the AutoStart feature provide the
greatest possible degree of parallelism between
the host and the BitBLT engine.
2.2.5Memory Arbitrator
The memory arbitrator allocates bandwidth to the
four functions that compete for the frame buffer
bandwidth: DRAM refresh, screen refresh, V-Por t
writes, and CPU and BitBLT access.
DRAM refresh is handled invisibly by allocating a
selectable number of CAS#-before-RAS# refresh
cycles at the beginning of each scanline. Screen
refresh, V-Port writes, and CPU/BitBLT access are
allocated cycles according to the FIFO control
parameters. Pr iority is given to screen refresh and
V-Port writes.
2.2.6Memory Sequencer
The memory sequencer generates timing for display memory. The CL-GD5446 can be configured
to generate timing optimized for EDO (extended
data output) DRAMS with MCLK programmable up
to 80 MHz. The control signals from the
CL-GD5446 to the DRAM are RAS#, CAS#, WE#,
and the multiplexed address bus. The sequencer
generates CAS#-before-RAS# refresh cycles, r andom read and random early write cycles, FastPage mode read and early write cycles, and EDO
read cycles. The memory sequencer can generate
addresses for symmetric or asymmetric DRAMs.
2.2.7CRT Controller
The CRT controller generates all the timing
required by the monitor including HSYNC, HSYNC ,
and BLANK#. The sync signals have programmable polarity and can be forced static for monitor
power management. The CL-GD5446 BIOS supports all standard VGA modes , as well as extended
resolutions up to 1280 × 1024. The CL-GD5446
supports a hardware video window for video playback.
November 19963-21
PRELIMINARY DATA BOOK v2.0FUNCTIONAL DESCRIPTION
CL-GD5446
64-bit VisualMedia Accelerator
2.2.8Display FIFOs
The display FIFOs allow data from the frame b uffer
to be fetched before it is actually needed f or screen
refresh. This allows the fetches to be executed as
EDO Fast-Page mode read cycles rather than random read cycles, greatly increasing the available
memory bandwidth. The CL-GD5446 has two display FIFOs, allowing inf ormation from two independent sources streams to be mixed together in the
display pipeline. This is necessar y for occlusion
support and also for Y-interpolation.
2.2.9Attribute Controller
The attribute controller formats the display for the
screen (primarily text modes). Display color selection, text blinking, and underlining are performed
by the attribute controller. Alternate font selection
also occurs in the attribute controller.
2.2.10 V-Port
The CL-GD5446 V-Port writes realtime or recorded
video from a decoder to the frame buffer, typically
for display in the video window. Video can be converted to AccuPak or can be decimated vertically
and horizontally. When video is being captured for
display in the window , the capture and displa y b uffers can be automatically swapped as each frame
is captured. This prevents the display of par tial
frames with a minimum of host intervention.
The CL-GD5446 has an independent capture
FIFO. This allows video capture to occur at the
same time interpolated Y-zooming or occlusion is
being used.
Luminance-only capture is available for TeleText
and closed caption with suitable software.
pixel sizes. The display of 8-bpp palettized graphics with YUV 4:2:2 graphics is a typical application.
The video can be independently zoomed in the
horizontal and vertical directions up to 4×. Horizontal zooming is always done with interpolation of ‘inbetween’ pix els. Vertical zooming can be done with
scanline replication. Scanline interpolation can be
used for vertical zooming at 2× or greater (subject
to frame buffer bandwidth limitations).
Occlusion support allows the graphics and video
streams to be mixed on a pixel-by-pixel basis.
Color key matching of the graphics source or
chroma key matching of the video source can be
used to determine which pixels are replaced.
Occlusion is supported for 8- and 16-bpp graphics.
Occlusion and Y-zoom with interpolation are mutually exclusive.
2.2.12 Palette DAC
The palette DAC block contains the color palette
and three 8-bit digital-to-analog converters. The
color palette, with 256 18-bit entries, converts an 8bit color code that specifies the color of a pixel into
three 6-bit values, one each for red, green, and
blue.
Alternatively , the CL-GD5446 can be configured for
8-, 15-, 16-, or 24-bit direct color RGB pixels. This
allows 256, 32K, 64K, or 16M simultaneous colors
to be displayed on the screen.
The CL-GD5446 also supports YUV 4:2:2 and
AccuPak f ormats within the video window.
The palette DAC suppor ts a Power-Down mode
which temporarily turns off clocks to the palette
and power to the D AC to conserve power.
The V-Port hardware interface uses the same pins
as the VGA pass-through connector. It can be configured for an 8- or 16-bit pixel bus and for either
active sense of HREF.
2.2.11 Hardware Video Window
The CL-GD5446 features a programmable hardware window for the simultaneous display of
graphics and video. The graphics and video formats can have different color spaces and even
FUNCTIONAL DESCRIPTION
2.2.13 Dual-Frequency Synthesizer
The dual-frequency synthesizer generates the
memory sequencer and display clocks from a single reference frequency. The frequency of each
clock is independently programmable. The maximum memory sequencer clock and display clock
are 80 MHz and 135 MHz, respectively. The reference frequency of 14.31818 MHz can be generated on-chip using an inexpensive 2-pin crystal or
it can be supplied from an external TTL source .
PRELIMINARY DATA BOOK v2.0
November 19963-22
CL-GD5446
64-bit VisualMedia Accelerator
2.2.14 VESA/VGA Pass-Through
Connector
The CL-GD5446 can connect directly to a VESA
connector for input or output. The device supports
the three enable/disable inputs; the Pixel bus can
drive the connector directly.
2.2.15 General-Purpose I/O Port
The CL-GD5446 can support an additional peripheral device on its adapter card. Address decoding
and data buffering allow the additional de vice while
maintaining the PCI ‘single-load’ specification.
2.2.16 I
2
C Interface
The CL-GD5446 has a built-in two pin interface
that can be used to control peripheral devices such
as TV tuners. This interface can also be used for
DDC2B monitor identification.
2.3Performance
The CL-GD5446 is designed with the following performance-enhancing features:
● 64-bit display memory data bus for f aster access
to display memory
● Memory-mapped, double-buffered BitBLT regis-
ters with autostart maximizes host/BLT overlap
● Transparent source BitBLT for increased BLT
functionality
● DRAM timing configurable for EDO operations
for faster access to display memory
● 80-MHz MCLK provides 320-Mbyte/second
peak frame-buffer bandwidth
● Burst host bus performance and a CPU write
buffer that allows f aster CPU access f or writes to
display memory
● Increased throughput with PCI local bus inter-
face with Burst mode
● 32-bit CPU interface to display memory for f aster
host access in all modes, including Planar mode
● 16- or 32-bit CPU interface to I/O registers for
faster host access
● Multi-level, 32-bit system memory write cache
● 32-bit internal data inputs for internal DAC
● Two display FIFOs to minimize memory conten-
tion
● Video capture decimation to reduce the memory
bandwidth requirements
● YUV planar assist and AccuPak reduce codec
CPU processing, increasing host bus and memory bus transfer rates
● 32 × 32 and 64 × 64 hardware cursor to impro v e
Microsoft Windows performance
2.4Compatibility
The CL-GD5446 includes all registers and data
paths required for VGA controllers, and is upwardcompatible with the CL-GD542X family.
The CL-GD5446 supports extensions to VGA,
including 1024 × 768 × 16M interlaced, 1024 ×
768 × 64K interlaced and non-interlaced, and 1280
× 1024 × 256 interlaced and non-interlaced modes.
Production Revision B of the CL-GD5446 is compliant with PC97.
2.5Board T estability
The CL-GD5446 device is testable, even when
installed on a printed circuit board. By using PinScan testing, any IC signal pin not connected to the
board or shorted to a neighboring pin or trace, is
detected (see Appendix B7, “Pin Scan” in the
CL-GD5446 Technical Reference Manual
signature generator allows the entire system,
including the display memory , to be tested at speed
(see Appendix B6, “Signature Generator” in the
CL-GD5446 Technical Reference Manual
CL-GD5446 enhanced signature generator test
allows the BitBLT engine, the V-Port, as well as the
frame buffer to be tested.
NOTE: The EGA-compatib le te xt modes (which use an 8 × 14 font) and g raphics modes 10 and F use a 16-dot high
font, with the bottom two lines truncated, in the absence of TSRFONT (8 × 14 f ont TSR). This creates some
errors when displaying characters with descenders, b ut does not restrict operation of programs using these
modes. In text modes using the 8 × 14 font, the characters ‘g’, ‘j’, ‘p’, ‘q’, ‘y’, and ‘ÿ’ are truncated using a
middle- and bottom-line algorithm to avoid truncation of descenders. F or compatibility with some DOS applications using the 8
× 14 font, the TSRFONT utility should be used. Applications such as DOSSHELL, in
Graphics 25 or 34 line display modes, require the TSRFONT utility to be loaded.
1) ‘‡’ character indicates 32K Direct-Color/256-Color Mixed mode.
2) †’ character indicates Interlaced mode.
3) Some modes and some refresh rates are not supported by the CL-GD5446. Refer to the CL-GD5446 Software
Release Kit for the list of display modes supported by the CL-GD5446 BIOS. Also see the inside front cover of
this manual.
4) Some modes are not supported by all monitors. The fastest vertical refresh rate for the monitor type selected is
automatically used.
5) The CL-GD5446 can support 132-column text modes, not included in the BIOS.
November 19963-27
PRELIMINARY DATA BOOK v2.0CONFIGURATION TABLES
CL-GD5446
64-bit VisualMedia Accelerator
3.2Configuration Register, CF
When RESET (system power-on reset) is active , the CL-GD5446 samples the levels on se ver al of the Display Memory Data (MD[63:48]) pins. These levels are latched into a write-only Configuration register
(CF1). This register controls some fundamental operating modes of the CL-GD5446.
The levels on the Memory Data bus def ault to a logic ‘1’ during pow er-on reset because of internal 250-kΩ
pull-up resistors. A logic ‘0’ is achieved b y installing an external 6.8-kΩ pull-down resistor on the memory
data line corresponding to the appropriate bit in the Configuration register. Refer to Appendix B5, “Con-
figuration Notes”, in this manual. Table 3-3 summarizes the Configuration register.
Table 3-3.Configuration Register Bits
Memory Data BitPin NumberCF BitsLevelDescription
MD63157150
MD62158140
MD6115913–Reserved
MD6016012–Used with CF5 to define MCLK
MD59161110
3C9Pixel Data (R/W)
3CAFeature Control Readback (R)
3CCMiscellaneous Output Readback (R)
3CEGraphics Controller Index (R/W)
3CFGraphics Controller Data (R/W)
3D4CRT Controller Index (R/W — color)
3D5CRT Controller Data (R/W — color)
3DAFeature Control (W), Input Status Register 1 (R — color)
46E8Adapter Sleep✔
a
These registers are available only when the CL-GD5446 is configured for VESA VL-Bus. The CL-GD5446 is not
available for VESA VL-Bus.
November 19963-29
PRELIMINARY DATA BOOK v2.0VGA REGISTER PORT MAP
CL-GD5446
64-bit VisualMedia Accelerator
5.REGISTER MAP
All CL-GD5446 registers are listed in Table 5-1. Page numbers in the Page column refer to the register
description chapters later in this manual. The registers that have a (V) in the I/O port column are for the
VESA VL-Bus and are listed for reference only. Registers at I/O port 3Dxh are at 3Bxh when the
CL-GD5446 is programmed for Monochrome mode (MISC[0] = 0).
Table 5-1.CL-GD5446 Registers
AbbreviationRegister NameI/O PortIndexMMI/OPage
MISCMiscellaneous Output (write only)3C2h ––4-9
Miscellaneous Output (read only)3CCh ––4-9
FCFeature Control (write only)3DAh ––4-11
Feature Control (read only)3CAh ––4-11
FEATInput Status Register 03C2h––4-12
STATInput Status Register 13DAh––4-13
–Pixel Mask3C6h––4-14
–Palette Address (Read mode) (write only)3C7h ––4-15
–DAC State (read only)3C7h ––4-16
–Palette Address (Write mode)3C8h––4-17
–Palette Data3C9h––4-18
HDRHidden DAC Register3C6h––8-52
PCI00PCI Device/Vendor ID00h––7-3
PCI04PCI Status/Command04h––7-4
PCI08PCI Class Code08h––7-5
PCI10PCI Display Memory Base Address10h––7-6
PCI14
PCI14
PCI18PCI GPIO Base Address (Revision B)18h––7-9
PCI2C
PCI Relocatable I/O and GPIO Base Address
(Revision A)
PCI VGA/BitBLT Register Base Address
(Revision B)
PCI Subsystem/Subsystem Vendor ID
(Revision B)
14h––7-7
14h––7-8
2Ch––7-10
PCI30PCI Expansion ROM Base Address30h––7-11
PCI3CPCI Interrupt Line3Ch––7-12
ARXAttribute Controller Index3C0h/3C1h––4-72
AR0–ARFAttribute Controller Palette3C0h/3C1h00h–0Fh–4-73
AR10Attribute Controller Mode3C0h/3C1h10h–4-74
The V GA core registers are summarized in Table 4-1. These are registers defined in the IBM V GA.
The first four are not accessible when the CL-GD5446 is configured for PCI; these are indicated
with a (V) in the I/O Port column.
I/O Port Address: (VESA VL-Bus):94h
Index:–
Size (bits):8
Access T ype:Write only
BitDescriptionReset State
7:6Reserved
5POS102 Access1
4:0Reserved
This register contains the enable bit for POS102. This was originally an IBM PS/2 planar register
and is retained for software compatibility.
This register is accessible only if CL-GD5446 is configured for 3C3 (planar) sleep and the VESA
VL-Bus. This port is not accessible when the de vice is configured for the PCI bus. This port is not
readable. When CL-GD5446 is configured for the VESA VL-Bus, it responds to writes to this register by latching the data, but does not generate LDEV# or LRDY#.
NOTE: The CL-GD5446 is marketed as PCI-compatib le only. VESA VL-Bus functionality is not guaranteed.
BitDescription
7:6Reserved
5POS102 Access: If the CL-GD5446 is configured for 3C3 sleep and the VESA
VL-Bus, this bit controls access to POS register 102. If this bit is ‘0’, POS102 is
accessible; if it is ‘1’, POS102 is not accessible.
In addition, if this bit is ‘0’, the Displa y Subsystem Enab le in 3C3 is ov erridden, and
CL-GD5446 remains in Sleep mode.
I/O Port Address: (VESA VL-Bus):102h
Index:–
Size (bits):8
Access T ype:Read/write
BitDescriptionReset State
7:1Reserved
0Display Subsystem Enable0
This register contains a Display Subsystem Enable bit. This port is not accessible when the device
is configured for the PCI bus. This register is accessible according to the following table and only
if the CL-GD5446 is configured for the VESA VL-Bus.
NOTE: The CL-GD5446 is marketed as PCI-compatib le only. VESA VL-Bus functionality is not guaranteed.
7:1Reserved
0Display Subsystem Enable: If this bit is ‘1’, the CL-GD5446 is enabled and oper-
ates normally if the VSE bit in 46E8 or 3C3 is also ‘1’. If this bit is ‘0’, the
CL-GD5446 is disabled. It does not respond to any I/O accesses except those to
POS94 and POS102 or to any memory accesses except those to the BIOS ROM.
This bit has the same effect as 3C3[0] or 46E8[3], and is provided for compatibility
with software written for certain models of IBM PS/2.
November 19964-6Copyright 1996 – Cirrus Logic Inc.
I/O Port Address: (VESA VL-Bus):3C3h
Index:–
Size (bits):8
Access T ype:Read/write
BitDescriptionReset State
7:1Reserved
0Display Subsystem Enable
This is the Sleep register when CL-GD5446 is configured for 3C3 (planar) sleep. This por t is not
accessible when the device is configured for the PCI bus. This register is read/write.
NOTE: The CL-GD5446 is marketed as PCI-compatib le only. VESA VL-Bus functionality is not guaranteed.
BitDescription
7:1Reserved
0Display Subsystem Enable: If the CL-GD5446 is configured for 46E8 sleep, this
register is not accessible and this bit is a don’t care. If the CL-GD5446 is configured
for 3C3 sleep and for the VESA VL-Bus, this register is always accessible.
If this bit is ‘1’, register POS102[0] is ‘1’, and register 94[5] is ‘1’ the CL-GD5446 is
enabled and operates normally. If this bit is ‘0’, the CL-GD5446 is disabled; it does
not respond to any I/O accesses, except those addressed to 3C3 or 94. It does not
respond to any accesses to display memory, but responds normally to BIOS
accesses. The display continues (if enabled) regardless of the state of this bit.
This is the Sleep Address register for an adapter VGA and can be accessed only if the CL-GD5446
is configured for 46E8 (adapter) Sleep Address. This port is not accessible when the device is configured for the PCI bus.
NOTE: The CL-GD5446 is marketed as PCI-compatib le only. VESA VL-Bus functionality is not guaranteed.
BitDescription
7:5Reserved
4Setup: If this bit is ‘1’, the CL-GD5446 is in Setup mode. In Setup mode, the
resister at I/O Address 102 is accessible, and the register at 46E8 is accessible.
The device responds normally to accesses to BIOS, but does not respond to
accesses to display memory. If this bit is ‘0’, the device is not in Setup mode and
operates normally.
3Display Subsystem Enable: If the CL-GD5446 is not configured for 46E8 Sleep
Address, this bit cannot be accessed.
If this bit is ‘1’, the CL-GD5446 is enabled and operates nor mally. If this bit is ‘0’,
the CL-GD5446 is disabled; it does not respond to any I/O accesses except those
addressed to 46E8 and 102. It does not respond to any accesses to display memory, but responds normally to BIOS accesses. The display continues (if enabled)
regardless of the state of this bit.
2:0Reserved
November 19964-8Copyright 1996 – Cirrus Logic Inc.
7V ertical Sync P olarity: If this bit is ‘0’, the Vertical Sync is a low signal, going high
to indicate the beginning of sync time. If this bit is ‘1’, the Vertical Sync is a high
signal, going low to indicate the beginning of sync time.
See the description of register GRE for information regarding static sync signals.
6Horizontal Sync Polarity: If this bit is ‘0’, the Horizontal Sync is a low signal, going
high to indicate the beginning of sync time. If this bit is ‘1’, the Horizontal Sync is a
high signal, going low to indicate the beginning of sync time.
See the description of register GRE for information regarding static sync signals.
For some monitors, the polarities of Vertical and Horizontal Sync indicates the
number of scanlines per frame as summarized below:
5Page Select: This bit affects the meaning of the least-significant bit of the display
memory address when in Even/Odd modes (SR4[2] = 1). If this bit is ‘0’, only odd
memory locations are selected. If this bit is ‘1’, only even memory locations are
selected.
NOTE: This bit is effective in modes 6, D, E, 11, and 12. This bit is ignored if Chain
(GR6[1]) or Chain4 (SR4[3]) are enabled.
4Reserved
3:2Clock Select [1:0]: This 2-bit field selects one of the VCLK frequencies, as shown
This is one of the registers in the IBM VGA. This register is read only.
BitDescription
7VGA Interrupt Pending: If this bit is ‘1’, an interrupt request is pending. If this bit
is ‘0’, no interrupt is pending. See the description of register CR11 for more information regarding the CL-GD5446 interrupt system. Additional infor mation is in
Chapter 9, “Programming Notes”.
6:5Reserved
4DAC Sensing: This read-only bit is used by the Cirr us Logic BIOS to determine
whether a monitor is connected and, if so, whether it is color or monochrome.
3:0Reserved
November 19964-12Copyright 1996 – Cirrus Logic Inc.
This read-only register contains some VGA status bits.
BitDescription
7:6Reserved
5:4Diagnostic [1:0]: These bits follow two of eight outputs of the attribute controller.
The selection is made according to AR12[5:4] (Color Plane Enable register) as
indicated in the following table:
AR12[5]AR12[4]STAT[5]STAT[4]
00P[2] P[0]
01P[5] P[4]
10P[3] P[1]
11P[7]P[6]
If CR1A[3:2] are programmed for o verlay, the inputs on P[7:0] can be read on these
bits.
3Vertical Retrace: If this bit is ‘1’, a vertical retrace is in progress.
2:1Reserved
0Display Enable: If this bit is read as ‘0’, data is being serialized and displayed. If
this bit is read as ‘1’, vertical or horizontal blanking is active.
NOTE: If the CL-GD5446 is programmed for Monochrome mode, the registers at 3Dxh are at 3Bxh.
The bits in this register form the pixel mask f or the palette D A C . All bits in this register are typically
programmed to ‘1’ by the Cirrus Logic BIOS.
BitDescription
7:0Pixel Mask [7:0]: This field is the pixel mask for the palette D A C . If a bit in this field
is ‘0’, the corresponding bit in the pixel data is ignored when looking up an entry in
the LUT.
November 19964-14Copyright 1996 – Cirrus Logic Inc.
I/O Port Address: 3C7h
Index:–
Size (bits):8
Access T ype:Read only
BitDescription
7:2Reserved
1DAC State [1]
0DAC State [0]
The bits in this read-only register indicate whether a read or a write occurred last to the LUT.
BitDescription
7:2Reserved
1:0DAC State [1:0]: This field indicates whether the Palette Address (Read) register
or the Palette Address (Write) register was accessed last. The two bits m ust always
have the same value. When the state of these bits is ‘00’, a write operation is in
progress. When the state of these bits is ‘11’, a read operation is in progress.
November 19964-16Copyright 1996 – Cirrus Logic Inc.
I/O Port Address: 3C9h
Index:–
Size (bits):8
Access T ype:Read/write
BitDescription
7Pixel Data [7]
6Pixel Data [6]
5Pixel Data [5]
4Pixel Data [4]
3Pixel Data [3]
2Pixel Data [2]
1Pixel Data [1]
0Pixel Data [0]
This is the Pixel Data register for the palette DAC.
BitDescription
7:0Pixel Data [7:0]: This field is the Pix el Data f or the palette D AC . This is a read/write
register. Prior to writing to this register, 3C8h is written with the first or only palette
address. Then three values, corresponding to red, green, and blue are written to
this address.
Following the third write, the values are transferred to the LUT, and the Palette
Address is incremented in case values for the next address that are to be written.
Prior to reading from this register, 3C7h is written with the first or only palette
address. Then three values, corresponding to red, green, and blue, can be read
from this address. Following the third read, the Palette Address is incremented in
case the values for the next address that are to be read.
November 19964-18Copyright 1996 – Cirrus Logic Inc.
I/O Port Address: 3C4h
Index:–
Size (bits):8
Access T ype:Read/write
BitDescription
7:5Reserved
4Sequencer Index [4]
3Sequencer Index [3]
2Sequencer Index [2]
1Sequencer Index [1]
0Sequencer Index [0]
This register specifies the register in the sequencer block to be accessed by the next I/O read or
write to Address 3C5. Indices greater than fiv e point to the registers that are defined in Chapter 8,
“Miscellaneous Extension Registers”.
BitDescription
7:5Reserved
4:0Sequencer Index [4:0]: This field selects the register to be accessed with the next
I/O Port Address: 3C5h
Index:01h
Size (bits):8
Access T ype:Read/write
BitDescription
7:6Reserved
5Full Bandwidth
4Shift and Load 32
3Dot Clock
2Shift and Load 16
1Reserved
08/9 Dot Clock
This register controls miscellaneous functions in the sequencer.
BitDescription
÷ 2
7:6Reserved
5Full Bandwidth: If this bit is ‘1’, screen refresh stops. This allows the CPU to use
nearly 100% of the display memory bandwidth. HSYNC and VSYNC continue nor-
mally, and display memory refresh also continues. BLANK# goes active and stays
active. If this bit is ‘0’, the CL-GD5446 operates normally.
4Shift and Load 32: This bit in conjunction with SR1[2], controls the Display Data
Shifters in the graphics controller according to the following table:
SR1[4]SR1[2]Data Shifters Loaded
00Every character clock
01Every second character clock
1XEvery fourth character clock
3Dot Clock ÷ 2: If this bit is ‘1’, VCLK is divided by two to generate DCLK. This is
for low-resolution displa y modes (such as, 0, 1, 4, 5, and D). If this bit is ‘0’, the Mas-
ter Clock is not divided by two.
2Shift and Load 16: Refer to the description of SR1[4].
1Reserved
08/9 Dot Clock: If this bit is ‘1’, DCLK is divided by eight to generate the character
clock. If this bit is ‘0’, DCLK is divided by nine to generate the character cloc k. This
is used for 720 × 350 and 720 × 400 resolution AN (alphanumeric) modes.
1) In Text modes, the ASCII text character is stored in Plane 0, the attribute is stored in Plane 1, and the
font is stored in Plane 2.
2) Bit 3 of the attribute byte normally controls the intensity of the foreground color. This bit may be redefined
to be a switch between character sets, allowing 512 displayable characters. This switch is enabled
whenever there is a difference between the values of the Primar y Map Select and Secondary Map
Select, and SR4[1] is ‘1’.
3) The format of the Plane 2 Font Address bits 15:0 is:
F0 F1F2C7C6C5C4C3C2C1C0R4R3R2R1R0,
where F[2:0] is the Character Map Select, C[7:0] is the ASCII character, and R[4:0] is the Character
Row (scanline in the character cell).
(cont.)
November 19964-24Copyright 1996 – Cirrus Logic Inc.
This register controls miscellaneous functions in the sequencer.
BitDescription
7:4Reserved
3Chain-4: If this bit is ‘1’, A0 provides Plane Select bit 0, and A1 provides Plane
Select bit 1. This has an similar effect to Odd/Even mode, except that both A1 and
A0 are used. This bit takes priority over SR4[2] (Odd/Even) and GR5[4]. There is
not a separate bit in the graphics controller to select Chain-4 addressing, as is the
case with the Odd/Even bit.
The Graphics Controller Read Map register (GR4) is ignored when this bit is ‘1’.
This bit also modifies the meaning of SR7[0].
2Odd/Even: If this bit is ‘0’, the sequencer is placed in Odd/Even mode. Even CPU
addresses access Planes 0 and 2; odd CPU addresses access Planes 1 and 3.
This bit must be ‘0’ for Text modes. The value of this bit must track GR5[4]
(Odd/Even); the values are opposite.
This bit also modifies the meaning of SR7[0].
1Extended Memory: If this bit is ‘0’, the effective memory size is 64K, regardless of
the memory actually installed. EGA modes require this to be the case. If this bit is
‘1’, the effective memory size is equal to the actual memory installed.