This document contains proprietary information of LSI Logic Corporation. The
information contained herein is not to be used by or disclosed to third parties
without the express written permission of an officer of LSI Logic Corporation.
LSI Logic products are not intended for use in life-support appliances, devices,
or systems. Use of any LSI Logic product in such applications without written
consent of the appropriate LSI Logic officer is prohibited.
Document DB14-000143-01, Second Edition (December 2000).
This document describes the LSI Logic LSI53C875APCIto Ultra SCSI Controller
and will remain the official reference source for all revisions/releases of this
product until rescinded by an update.
To receive product literature, visit us at http://www.lsilogic.com.
LSI Logic Corporation reserves the right to make changes to any products herein
at any time without notice. LSI Logic does not assume any responsibility or
liability arising out of the application or use of any product described herein,
except as expressly agreed to in writing by LSI Logic; nor does the purchase or
use of a product from LSI Logic convey a license under any patent rights,
copyrights, trademark rights, or any other of the intellectual property r ights of
LSI Logic or third parties.
Ultra SCSI is the term used by the SCSI Trade Association (STA) to describe
Fast-20 SCSI, as documented in the SCSI-3 Fast-20 Parallel Interface standard,
X3,277-199X.
The LSI Logic logo design, TolerANT, and SCRIPTS are registered trademarks
or trademarks of LSI Logic Corporation. All other brand and product names may
be trademarks of their respective companies.
HH
ii
Audience
Preface
This book is the primary reference and technical manual for the
LSI53C875A PCI to Ultra SCSI Controller. It contains a complete
functional description for the product and also includes complete physical
and electrical specifications.
This manual provides reference information on the LSI53C875A PCI to
Ultra SCSI Controller. It is intended for system designers and
programmers who are using this device to design an Ultra SCSI port for
PCI-based personal computers, workstations, servers or embedded
applications.
Organization
This document has the following chapters and appendixes:
•Chapter 1, General Description includes general information about
the LSI53C875A.
•Chapter 2, Functional Description describes the main functional
areas of the chip in more detail, including interfaces to the SCSI bus
and external memory.
•Chapter 3, Signal Descriptions contains pin diagrams and signal
descriptions.
•Chapter 4, Registers describes each bit in the operating registers,
and is organized by register address.
•Chapter 5, SCSI SCRIPTS Instruction Set defines all of the SCSI
SCRIPTS instructions that are supported by the LSI53C875A.
Prefaceiii
•Chapter 6, Electrical Specifications contains the electrical
•Appendix A, Register Summary is a register summary.
11 W est 42nd Street
New York, NY 10036
(212) 642-4900
Ask for document number X3.131-199X (SCSI-2)
Global Engineering Documents
15 Inverness Way East
Englewood, CO 80112
(800) 854-7179 or (303) 397-7956 (outside U.S.) FAX (303) 397-2740
Ask for document number X3.131-1994 (SCSI-2); X3.253 (SCSI-3Parallel Interface)
characteristics and AC timing diagrams.
several example interface drawings for connecting the LSI53C875A
to external ROMs.
ENDL Publications
14426 Black Walnut Court
Saratoga, CA 95070
(408) 867-6642
Document names: SCSI Bench Reference, SCSI Encyclopedia,
SCSI Tutor
Prentice Hall
113 Sylvan Avenue
Englewood Cliffs, NJ 07632
(800) 947-7700
Ask for document number ISBN 0-13-796855-8, SCSI: Understanding
The word assert means to drive a signal true or active . The word
deassert means to drive a signal false or inactive.
Hexadecimal numbers are indicated by the prefix “0x” —for example,
0x32CF. Binary numbers are indicated by the prefix “0b” —for example,
0b0011.0010.1100.1111.
Revision Record
RevisionDateRemarks
Preliminary5/00Preliminary draft version of the manual.
1.06/00Preliminary version of the manual.
2.012/00Final version of the manual.
Prefacev
viPreface
Contents
Chapter 1General Description
1.1New Features in the LSI53C875A1-3
1.2Benefits of Ultra SCSI1-3
1.3TolerANT
1.4LSI53C875A Benefits Summary1-4
1.4.1SCSI Performance1-5
1.4.2PCI Performance1-6
1.4.3Integration1-6
1.4.4Ease of Use1-6
1.4.5Flexibility1-7
1.4.6Reliability1-8
1.4.7Testability1-8
®
Technology1-4
Chapter 2Functional Description
2.1PCI Functional Description2-2
2.1.1PCI Addressing2-2
2.1.2PCI Bus Commands and Functions Supported2-3
2.1.3PCI Cache Mode2-9
2.2SCSI Functional Description2-16
2.2.1SCRIPTS Processor2-17
2.2.2Internal SCRIPTS RAM2-18
2.2.364-Bit Addressing in SCRIPTS2-19
2.2.4Hardware Control of SCSI Activity LED2-19
2.2.5Designing an Ultra SCSI System2-20
2.2.6Prefetching SCRIPTS Instructions2-21
2.2.7Opcode Fetch Burst Capability2-22
2.2.8Load and Store Instructions2-22
2.2.9JTAG Boundary Scan Testing2-23
2.2.10SCSI Loopback Mode2-23
Contentsvii
2.2.11Parity Options2-24
2.2.12DMA FIFO2-27
2.2.13SCSI Bus Interface2-32
2.2.14Select/Reselect During Selection/Reselection2-33
The LSI53C875A PCI to Ultra SCSI Controller brings Ultra SCSI
performance to host adapter, workstation, and general computer designs,
making it easy to add a high-performance SCSI bus to any PCI system.
It supports Ultra SCSI transfer rates with Single-Ended (SE) signaling for
SCSI devices.
The LSI53C875A has a local memory bus for local storage of the
device’s BIOS ROM in flash memory or standard EEPROMs. The
LSI53C875A supports programming of local flash memory for updates to
BIOS. Chapter 6, “Electrical Specifications,” has the chip package and
BGA specifications. Appendix B, “External Memory Interface Diagram
Examples,” has system diagrams showing the connections of the
LSI53C875A with an external ROM or flash memory.
®
Technology”
The LSI53C875A integrates a high-perf ormance SCSI core, a 64-bit PCI
bus master DMA core, and the LSI Logic SCSI SCRIPTS™ processor to
meet the flexibility requirements of SCSI-3 and Ultra SCSI standards. It
implements multithreaded I/O algorithms with a minimum of processor
intervention, solving the protocol overhead problems of previous
intelligent and nonintelligent adapter designs.
Figure 1.1 illustrates a typical LSI53C875A system and Figure 1.2
illustrates a typical LSI53C875A board application.
LSI53C875A PCI to Ultra SCSI Controller1-1
Figure 1.1Typical LSI53C875A System Application
PCI Bus
Interface
Controller
Processor Bus
Central
Processing
Unit
(CPU)
PCI Bus
Typical PCI
Computer System
Architecture
LSI53C875A
PCItoWideUltra
SCSI Controller
PCI Graphic Accelerator
PCI Fast Ethernet
Memory
Controller
Memory
Figure 1.2Typical LSI53C875A Board Application
SCSI Bus
Fixed Disk, Optical Disk
Printer, Tape, and Other
Peripherals
SCSI Data,
Parity and
68 Pin
SCSI
Wide
Connector
Control
Signals
PCI Address, Data, Parityand Control Signals
1-2General Description
LSI53C875A
32 Bit PCI to
SCSI Controller
PCI Interface
Memory
Address/Data
Bus
GPIO[1:0]
Memory Control
Block
Flash EEPROM
Serial EEPROM
1.1 New Features in the LSI53C875A
The LSI53C875A is a drop-in replacement for the LSI53C875 PCI to
Ultra SCSI Controller, with these additional benefits:
•Supports 32-bit PCI Interface with 64-bit addressing.
•Handles SCSI phase mismatches in SCRIPTS without interrupting
the CPU .
•Supports JTAG boundary scanning.
•Supports PC99 Power Management.
–Automatically downloads Subsystem Vendor ID , Subsystem ID,
and PCI power management levels D0, D1, D2, and D3.
•Improves PCI bus efficiency through improved PCI caching design.
•Transfers Load/Store data to or from 4 Kbytes of internal SCRIPTS
RAM.
Additional features of the LSI53C875A include:
•Hardware control of SCSI activity LED.
•32-bit ISTAT registers (Interrupt Status Zero (ISTAT0), Interrupt
Status One (ISTAT1), Mailbox Zero (MBOX0), Mailbox One
(MBOX1)).
•Optional 944 byte DMA FIFO supports large block transfers at Ultra
SCSI speeds. The default FIFO size of 112 bytes is also supported.
1.2 Benefits of Ultra SCSI
Ultra SCSI is an extension of the SPI-2 draft standard that allows faster
synchronous SCSI transfer rates. When enabled, Ultra SCSI performs
20 megatransfers per second. The LSI53C875A can perf orm 16-bit, Ultra
SCSI synchronous transfers as fast as 40 Mbytes/s. This advantage is
most noticeable in heavily loaded systems or with applications with large
block requirements, such as video on-demand and image processing.
An advantage of Ultra SCSI is that it significantly improves SCSI
bandwidth while preserving existing hardware and software investments.
The primary software changes required enable the chip to perform
New Features in the LSI53C875A1-3
synchronous negotiations for Ultra SCSI rates and to enable the clock
quadrupler. Chapter 2, “Functional Description,” contains more
information on Ultra SCSI design.
1.3 TolerANT®Technology
The LSI53C875A features TolerANT technology, which includes active
negation on the SCSI drivers and input signal filtering on the SCSI
receivers. Active negation actively drives the SCSI Request,
Acknowledge, Data, and Parity signals HIGH rather than allowing them
to be passively pulled up by terminators. Active negation is enabled by
setting bit 7 in the SCSI Test Three (STEST3) register.
TolerANT receiver technology improves data integrity in unreliable
cabling environments where other devices would be subject to data
corruption. TolerANT receivers filter the SCSI bus signals to eliminate
unwanted transitions, without the long signal delay associated with
RC-type input filters. This improved driver and receiver technology helps
eliminate double clocking of data, the single biggest reliability issue with
SCSI operations.
The benefits of TolerANT technology include increased immunity to noise
when the signal is going HIGH, better performance due to balanced duty
cycles, and improvedfastSCSI transfer rates. In addition, TolerANT SCSI
devices do not cause glitches on the SCSI bus at power-up or
power-down, so other devices on the bus are also protected from data
corruption. TolerANT technology is compatible with both the Alternative
One and Alternative Twotermination schemes proposed by the American
National Standards Institute.
1.4 LSI53C875A Benefits Summary
This section of the chapter provides an overview of the LSI53C875A
features and benefits. It contains these topics:
•SCSI Performance
•PCI Performance
•Integration
1-4General Description
•Ease of Use
•Flexibility
•Reliability
•Testability
1.4.1 SCSI Performance
To improve SCSI performance, the LSI53C875A:
•Has integrated SE transceivers.
•Bursts up to 512 bytes across the PCI bus through its 944 byte FIFO.
•Perf orms wide, Ultra SCSI synchronous transfers as fast as
40 Mbytes/s.
•Can handle phase mismatches in SCRIPTS without interrupting the
system processor, eliminating the need for CPU intervention during
an I/O disconnect/reselect sequence.
•Achieve Ultra SCSI transfer rates with an input frequency of 20 MHz
with the on-chip SCSI clock quadrupler .
•Includes 4 Kbytes internal RAM for SCRIPTS instruction storage.
•Has 31 levels of SCSI synchronous offset.
•Supports variable block size and scatter/gather data transfers.
•Performs sustained memory-to-memory DMA transfers to
approximately 100 Mbytes/s.
•Minimizes SCSI I/O start latency.
•Performs complex bus sequences without interrupts, including
restoring data pointers.
•Reduces ISR overhead through a unique interrupt status reporting
method.
•Uses Load/Store SCRIPTS instructions which increase performance
of data transfers to and from the chip registers without using PCI
cycles.
•Has SCRIPTS support for 64-bit addressing.
•Supports multithreaded I/O algorithms in SCSI SCRIPTS with fast
I/O context switching.
LSI53C875A Benefits Summary1-5
•Supports additional arithmetic capability with the Expanded Register
Move instruction.
1.4.2 PCI Performance
To improve PCI performance, the LSI53C875A:
•Complies with PCI 2.2 specification.
•Supports 32-bit 33 MHz PCI interface with 64-bit addressing.
•Supports dual address cycles which can be generated for all
SCRIPTS for > 4 Gbyte addressability.
•Bursts 2, 4, 8, 16, 32, 64, or 128 Dword transfers across the PCI bus.
•Supports 32-bit word data bursts with variable burst lengths.
•Prefetches up to 8 Dwords of SCRIPTS instructions.
•Bursts SCRIPTS opcode fetches across the PCI bus.
•Perf orms zero wait-state bus master data bursts faster than
110 Mbytes/s (@ 33 MHz).
•Supports PCI Cache Line Size register.
•Supports PCI Write and Invalidate, Read Line, and Read Multiple
commands.
•Complies with PCI Bus Power Management Specification Rev 1.1.
1.4.3 Integration
Features of the LSI53C875A which ease integration include:
•High-perfor mance SCSI core.
•Integrated SE transceivers.
•Full 32-bit PCI DMA bus master.
•Integrated SCRIPTS processor.
•Memory-to-Memory Move instructions allow use as a third party PCI
bus DMA controller.
1.4.4 Ease of Use
The LSI53C875A provides:
1-6General Description
1.4.5 Flexibility
•Up to one megabyte of add-in memory support for BIOS and
SCRIPTS storage.
•Reduced SCSI development effort.
•Compiler-compatible with existing LSI53C7XX and LSI53C8XX
family SCRIPTS.
•Direct connection to PCI and SCSI SE.
•Development tools and sample SCSI SCRIPTS available.
•Five GPIO pins.
•Maskable and pollable interrupts.
•Wide SCSI, A or P cable, and up to 15 devices supported.
•Three programmable SCSI timers: Select/Reselect,
Handshake-to-Handshake, and General Purpose. The time-out
period is programmable from 100
µs to greater than 25.6 seconds.
•Software for PC-based operating system support.
•Support for relative jumps.
•SCSI Selected as ID bits for responding with multiple IDs.
The LSI53C875A provides:
•High le vel programming interface (SCSI SCRIPTS).
•Ability to program local and bus flash memory.
•Selectable 112 or 944 byte DMA FIFO for backward compatibility.
•Tailored SCSI sequences execute from main system RAM or internal
SCRIPTS RAM.
•Flexible programming interface to tune I/O performance or to adapt
to unique SCSI devices.
•Support for changes in the logical I/O interface definition.
•Low level access to all registers and all SCSI bus signals.
•Fetch, Master, and Memory Access control pins.
•Separate SCSI and system clocks.
LSI53C875A Benefits Summary1-7
1.4.6 Reliability
•SCSI clock quadrupler bits enable Ultra SCSI transfer rates with a 20
or 40 MHz SCSI clock input.
•Selectable IRQ pin disable bit.
•Ability to route system clock to SCSI clock.
•Compatible with 3.3 V and 5 V PCI.
Enhanced reliability features of the LSI53C875A include:
•2 kV ESD protection on SCSI signals.
•Protection against bus reflections due to impedance mismatches.
•Controlled bus assertion times (reduces RFI, improves reliability, and
eases FCC certification).
•Latch-up protection greater than 150 mA.
•Voltage feed-through protection (minimum leakage current through
SCSI pads).
•High proportion (> 25%) of device pins are power or ground.
•Power and ground isolation of I/O pads and internal chip logic.
•TolerANT technology, which provides:
–Active negation of SCSI Data, Parity, Request, and Acknowledge
signals for improved fast SCSI transfer rates.
–Input signal filtering on SCSI receivers improves data integrity,
even in noisy cabling environments.
1.4.7 Testability
The LSI53C875A provides improved testability through:
•Access to all SCSI signals through programmed I/O.
•SCSI loopback diagnostics.
•SCSI bus signal continuity checking.
•Support for single step mode operation.
•JTAG boundary scan.
1-8General Description
Chapter 2
Functional Description
Chapter 2 is divided into the following sections:
•Section 2.1, “PCI Functional Description”
•Section 2.2, “SCSI Functional Description”
•Section 2.3, “Parallel ROM Interface”
•Section 2.4, “Serial EEPROM Interface”
•Section 2.5, “Power Management”
The LSI53C875A PCI to Ultra SCSI Controller is composed of the
following modules:
•32-bit PCI Interface with 64-bit addressing
•PCI-to-Wide Ultra SCSI Controller
•ROM/Flash Memory Controller
•Serial EEPROM Controller
Figure 2.1 illustrates the relationship between these modules.
LSI53C875A PCI to Ultra SCSI Controller2-1
Figure 2.1LSI53C875A Block Diagram
PCI Bus
32 Bit PCI Interface, PCI Configuration Register
Wide Ultra SCSI Controller
4Kbyte
SCRIPTS RAM
944 byte
DMA FIFO
SCSI FIFO and SCSI Control Block
JTAG
JTAG BusWideUltra
SCSI SCRIPTS
Processor
8 Dword SCRIPTS
Prefetch Buffer
Operating
Registers
SE TolerANT
Drivers and Receivers
SCSI Bus
2.1 PCI Functional Description
ROM/FlashSerial EEPROM
Memory
Control
Local
Memory
Bus
ROM/Flash
Memory Bus
Controller and
Autoconfiguration
2-Wire Serial
EEPROM Bus
The LSI53C875A implements a PCI-to-Wide Ultra SCSI controller.
2.1.1 PCI Addressing
There are three physical PCI-defined address spaces:
•PCI Configuration space.
•I/O space for operating registers.
•Memory space for operating registers.
2-2Functional Description
2.1.1.1 Configuration Space
The host processor uses the PCI configuration space to initialize the
LSI53C875A through a defined set of configuration space registers. The
Configuration registers are accessible only by system BIOS during PCI
configuration cycles. The configuration space is a contiguous
256 X 8-bit set of addresses. Decoding C_BE[3:0]/ determines if a PCI
cycle is intended to access the configuration register space. The IDSEL
bus signal is a “chip select” that allows access to the configuration
register space only. A configuration read/write cycle without IDSEL is
ignored. The eight lower order address bits, AD[7:0], select a specific
8-bit register. AD[10:8] are decoded as well, but they must be zero or the
LSI53C875A does not respond. According to the PCI specification,
AD[10:8] are reserved for multifunction devices.
At initialization time, each PCI device is assigned a base address for I/O
and memory accesses. In the case of the LSI53C875A, the upper 24 bits
of the address are selected. On every access, the LSI53C875A
compares its assigned base addresses with the value on the
Address/Data bus during the PCI address phase. If the upper 24 bits
match, the access is for the LSI53C875A and the low-order eight bits
define the register being accessed. A decode of C_BE[3:0]/ determines
which registers and what type of access is to be performed.
I/O Space – The PCI specification defines I/O space as a contiguous
32-bit I/O address that is shared by all system resources, including the
LSI53C875A. Base Address Register Zero (I/O) determines which
256-byte I/O area this device occupies.
Memory Space – The PCI specification defines memory space as a
contiguous 64-bit memory address that is shared by all system
resources, including the LSI53C875A. Base Address Register One
(MEMORY) determines which 1 Kbyte memory area this device
occupies. Base Address Register Two (SCRIPTS RAM) determines the
4 Kbyte memory area occupied by SCRIPTS RAM.
2.1.2 PCI Bus Commands and Functions Supported
Bus commands indicate to the target the type of transaction the master
is requesting. Bus commands are encoded on the C_BE[3:0]/ lines
during the address phase. PCI bus commands and encoding types
appear in Table 2.1.
PCI Functional Description2-3
Table 2.1PCI Bus Commands and Encoding Types for the LSI53C875A
C_BE[3:0]/ Command TypeSupported as MasterSupported as Slave
Yes (defaults to 0b0110)
0b1101Dual Address Cycle (DAC)YesNo
0b1110Memory Read LineYes
0b1111Memory Write and InvalidateYes
1. See the DMA Mode (DMODE) register.
2. See the Chip Test Three (CTEST3) register.
1
2
2.1.2.1 Interrupt Acknowledge Command
The LSI53C875A does not respond to this command as a slave and it
never generates this command as a master.
2.1.2.2 Special Cycle Command
The LSI53C875A does not respond to this command as a slave and it
never generates this command as a master.
2-4Functional Description
Yes (defaults to 0b0110)
Yes (defaults to 0b0111)
2.1.2.3 I/O Read Command
The I/O Read command reads data from an agent mapped in I/O
address space. All 32 address bits are decoded.
2.1.2.4 I/O Write Command
The I/O Write command writes data to an agent mapped in I/O address
space. All 32 address bits are decoded.
2.1.2.5 Reserved Command
The LSI53C875A does not respond to this command as a slave and it
never generates this command as a master.
2.1.2.6 Memory Read Command
The Memory Read command reads data from an agent mapped in the
Memory Address Space. The target is free to do an anticipatory read for
this command only if it can guarantee that such a read has no side
effects.
2.1.2.7 Memory Write Command
The Memory Write command writes data to an agent mapped in the
Memory Address Space. When the target returns “ready,” it assumes
responsibility for the coherency (which includes ordering) of the subject
data.
2.1.2.8 Configuration Read Command
The Configuration Read command reads the configuration space of each
agent. An agent is selected during a configuration access when its
IDSEL signal is asserted and AD[1:0] are 0b00.
2.1.2.9 Configuration Write Command
The Configuration Write command transfers data to the configuration
space of each agent. An agent is selected when its IDSEL signal is
asserted and AD[1:0] are 0b00.
PCI Functional Description2-5
2.1.2.10 Memory Read Multiple Command
This command is identical to the Memory Read command except that it
additionally indicates that the master may intend to fetch more than one
cache line before disconnecting. The LSI53C875A supports PCI Memory
Read Multiple functionality and issues Memory Read Multiple commands
on the PCI bus when the Read Multiple Mode is enabled. This mode is
enabled by setting bit 2 (ERMP) of the DMA Mode (DMODE) register. If
cache mode is enabled, a Memory Read Multiple command is issued on
all read cycles, except opcode fetches, when the following conditions are
met:
•The CLSE bit (Cache Line Size Enable, bit 7, DMA Control (DCNTL)
register) and the ERMP bit (Enable Read Multiple, bit 2, DMA Mode
(DMODE) register) are set.
•The CacheLineSizeregister for each function contains a legal burst
size value (2, 4, 8, 16, 32, or 64) and that value is less than or equal
to the DMODE burst size.
•The transfer will cross a cache line boundary.
When these conditions are met, the chip issues a Memory Read Multiple
command instead of a Memory Read during all PCI read cycles.
Burst Size Selection – The Read Multiple command reads in multiple
cache lines of data in a single bus ownership. The number of cache lines
to read is a multiple of the cache line size specified in Revision 2.2 of
the PCI specification. The logic selects the largest multiple of the cache
line size based on the amount of data to transfer, with the maximum
allowable burst size determined from the DMA Mode (DMODE) burst size
bits, and the Chip Test Five (CTEST5),bit2.
2.1.2.11 Dual Address Cycle (DAC) Command
The LSI53C875A performs DACs when 64-bit addressing is required.
Refer to the PCI 2.2 specification. If any of the selector registers contain
a nonzero value, a DAC is generated. See 64-bit SCRIPTS Selectors in
Chapter 4, “Registers,” for additional information.
2.1.2.12 Memory Read Line Command
This command is identical to the Memory Read command, except that it
additionally indicates that the master intends to fetch a complete cache
2-6Functional Description
line. This command is intendedfor use with bulk sequential data transfers
where the memory system and the requesting master might gain some
performance advantage by reading to a cache line boundary rather than
a single memory cycle. The Read Line function in the LSI53C875A takes
advantage of the PCI 2.2 specification regarding issuing this command.
If the cache mode is disabled, Read Line commands are not issued.
If the cache mode is enabled, a Read Line command is issued on all
read cycles, except nonprefetch opcode fetches, when the following
conditions are met:
•The CLSE (Cache Line Size Enable, bit 7, DMA Control (DCNTL)
register) and ERL (Enable Read Line, bit 3, DMA Mode (DMODE)
register) bits are set.
•The Cache Line Size register must contain a legal burst size value
in Dwords (2, 4, 8, 16, 32, 64, or 128) and that value is less than or
equal to the DMA Mode (DMODE) burst size.
•The transfer will cross a Dword boundary but not a cache line
boundary.
When these conditions are met, the chip issues a Read Line command
instead of a Memory Read during all PCI read cycles. Otherwise, it
issues a normal Memory Read command.
Read Multiple with Read Line Enabled – When both the Read Multiple
and Read Line modes are enabled, the Read Line command is not
issued if the above conditions are met. Instead, a Read Multiple
command is issued, even though the conditions for Read Line are met.
If the Read Multiple mode is enabled and the Read Line mode is
disabled, Read Multiple commands are issued if the Read Multiple
conditions are met.
PCI Functional Description2-7
2.1.2.13 Memory Write and Invalidate Command
The Memory Write and Invalidate command is identical to the Memory
Write command, except that it additionally guarantees a minimum
transfer of one complete cache line; that is to say, the master intends to
write all bytes within the addressed cache line in a single PCI transaction
unless interrupted by the target. This command requires implementation
of the PCI Cache Line Size register at address 0x0C in PCI configuration
space. The LSI53C875A enables Memory Write and Invalidate cycles
when bit 0 (WRIE) in the Chip Test Three (CTEST3) register and bit 4
(WIE) in the PCI Command register are set. When the following
conditions are met, Memory Write and Invalidate commands are issued:
1. The CLSE bit (Cache Line Size Enable, bit 7, DMA Control (DCNTL)
register), WRIE bit (Write and Invalidate Enable, bit 0, Chip Test
Three (CTEST3) register), and PCI configuration Command register,
bit 4 are set.
2. The Cache Line Size register contains a legal burst size value in
Dwords (2, 4, 8, 16, 32, 64, or 128) and that value is less than or
equal to the DMA Mode (DMODE) burst size.
3. The chip has enough bytes in the DMA FIFO to complete at least
one full cache line burst.
4. The chip is aligned to a cache line boundary.
When these conditions are met, the LSI53C875A issues a Memory Write
and Invalidate command instead of a Memory Write command during all
PCI write cycles.
Multiple Cache Line Transfers – The Memory Write and Invalidate
command can write multiple cache lines of data in a single bus
ownership. The chip issues a burst transfer as soon as it reaches a
cache line boundary. The size of the transfer is not automatically the
cache line size, but rather a multiple of the cache line size specified in
Revision 2.2 of the PCI specification. The logic selects the largest
multiple of the cache line size based on the amount of data to transfer,
with the maximum allowable burst size determined from the DMA Mode
(DMODE) burst size bits, and Chip Test Five (CTEST5), bit2.Ifmultiple
cache line size transfers are not desired, set the DMA Mode (DMODE)
burst size to exactly the cache line size and the chip only issues single
cache line transfers.
2-8Functional Description
Loading...
+ 298 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.