and the Motorola symbol are registered trademarks of Motorola, Inc.
™
, VMEmodule™, and VMEsystem™ are tradem arks of Motoro la, Inc.
®
is a registered trademark and PowerPC 604™ is a trademark of International
Business Machines Corporation and are used by Motorola, Inc. under license from
International Business Machines Corporation.
®
is a registered trademark of International Business Machines Corporation.
AIX
®
SNAPHAT
, TIMEKEEPER®, and ZEROPOWER® are registered trademarks of
STMicroelectronics.
All other products ment io ned i n this document are tradema rks or registered tradema rk s of
their respective holders.
Page 3
Safety Summary
The following general safety precautions must be observed during all phases of operation, service, and repair of this
equipment. Failure to comply with these precautions or with specific warnings elsewhere in this manual could result
in personal injury or damage to the equipment.
The safety precautions listed below represent warnings of certain dangers of which Motorola is aware. You, as the user
of the product, shoul d foll ow these warni ngs and al l other sa fety pr ecauti ons nece ssary fo r the safe ope ration of the
equipment in your operating environment.
Ground the Instrument.
To minimize shock hazard, the equipment chassis and enclosure must be connected to an electrical ground. If the
equipment is su pplied wi th a three-c onductor A C power ca ble, the po wer cable m ust be plug ged into an a pproved
three-contact electrical outlet, with the grounding wire (green/yellow) reliably connected to an electrical ground
(safety ground) at the power outlet. The power jack and mating plug of the power cable meet International
Electrotechnical Commission (IEC) safety standards and local electrical regulatory codes.
Do Not Operate in an Explosive Atmosphere.
Do not operate the equipment in any explosive atmosphere such as in the presence of flammable gases or fumes.
Operation of any electrical equipment in such an environment could result in an explosion and cause injury or damage.
Keep Away From Live Circuits Inside the Equipment.
Operating personnel must not remove equipment covers. Only Factory Authorized Service Personnel or other
qualified service personnel may remove equipment covers for internal subassembly or component replacement or any
internal adjust ment. Service pe rsonnel should n ot replace compon ents with power c able connected. Under certain
conditions, dangero us voltages may exist even with the power cable remo ved. T o avoid inju ries, such pers onnel should
always disconnect power and discharge circuits before touching components.
Use Caution When Exposing or Handling a CRT.
Breakage of a Cathode-Ray Tube (CRT) causes a high-velocity scattering of glass fragments (implosion). To prevent
CRT implosion, do not handl e the CRT and avoid rough handling o r jarring of t he equipment . Handling o f a CRT
should be done only by qualified service personnel using approved safety mask and gloves.
Do Not Substitute Parts or Modify Equipment.
Do not install substitute parts or perform any unauthorized modification of the equipment. Contact your local
Motorola representative for service and repair to ensure that all safety features are maintained.
Observe Warnings in Manual.
W arn ings , such as th e exa mple be low, prece de pote nt ially danger ous p rocedu res th rough out th is manu al. In str uction s
contained in the warnings m ust be follow ed. You should also employ all ot her safety precautions w hich you dee m
necessary for the operation of the equi pment in your operating environment.
To prevent serious injury or death from dangerous voltages, use extreme
caution when handling, testing, and adjusting this equipment and its
Warning
components.
Page 4
Flammability
All Motorola PWBs (printed wiring boards) are manufactured with a flammability rating
of 94V-0 by UL-recognized manufacturers.
EMI Caution
This equipment ge ner ates, uses a nd can radi ate el ectro magne tic energy . It
!
Caution
This product contains a lithium battery to power the clock and calendar circuitry.
!
Caution
may cause or be susceptible to electromagnetic interference (EMI) if not
installed and used with adequate EMI protection.
Lithium Battery Caution
Danger of explosion if battery is re placed incorrect ly. Replace battery only
with the same or equivalent type recommended by the equipment
manufacturer. Dispose of used batteries according to the manufacturer’s
instructions.
!
Attention
!
Vorsicht
Il y a danger d’explosion s’il y a remplacement incorrect de la batterie.
Remplacer uniquement avec une batterie du même type ou d’un type
équivalent recommandé par le constructeur. Mettre au rebut les batteries
usagées conformément aux instructions du fabricant.
Explosionsgefahr bei unsachgemäßem Austausch de r Ba tt er ie . Ersatz nur
durch denselben ode r einen vom Herstel ler empfohle nen Typ. Entsorgu ng
gebrauchter Batterien nach Angaben des Herstellers.
Page 5
CE Notice (European Community)
Motorola Compute r Group pro ducts wi th the CE mar king co mply with the EMC Dir ective
(89/336/EEC). Compliance with this directive implies conformity to the following
European Norms:
EN55022 “Limits and Methods of Meas urement of Radio Int erferen ce Chara cteri stic s
of Information Technology Equipment”; this product tested to Equipment Class B
EN55024 “Information te chnology equipment—Immunity char acteristics—Limits and
methods of measurement”
Board products are tested in a representative system to show compliance with the above
mentioned requirements. A proper installation in a CE-marked system will maintain the
required EMC performance.
In accordance with European Community directives, a “Declaration of Conformity” has
been made and is available on request. Please contact your sales representative.
Notice
While reasonable efforts have been made to assure the accuracy of this document,
Motorola, Inc. a ssumes n o lia bility r esulti ng from any omissio ns in this docu ment, or from
the use of the information obtained therein. Motorola reserves the right to revise this
document and to ma ke c hanges from time to ti me in the content he re of wi thout obligation
of Motorola to notify any person of such revision or changes.
Electronic versions of this material may be read online, downloaded for personal use, or
referenced in another document as a URL to the Motorola Computer Group website. The
text itself may not b e published commerci ally in print o r electronic for m, edited, transla ted,
or otherwise altered without the permission of Motorola, Inc.
It is possible th at t hi s publication may conta in r ef er ence to or information about Motorola
products (machines and pr ograms), progra mming, or services that are not av ailable in your
country. Such references or information must not be construed to mean that Motorola
intends to announce such Motorola products, programming, or services in your country.
Page 6
Limited and Restricted Rights Legend
If the documentation contained herein is supplied, directly or indirectly, to the U.S.
Government, the following notice shall apply unless otherwise agreed to in writing by
Motorola, Inc.
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
subparagraph (b)(3) of t he Rig hts i n Tech nic al Data clause a t DFARS 252.227- 7013 (Nov.
1995) and of the Rights in Noncommerc ial Computer Software and Docume ntation c lause
at DFARS 252.227-7014 (Jun. 1995).
Motorola, Inc.
Computer Group
2900 South Diablo Way
Tempe, Arizona 85282
Page 7
Contents
About This Manual
Summary of Changes..................................................................................................xx
Overview of Contents.................................................................................................xx
Comments and Suggestions.......................................................................................xxi
Conventions Used in This Manual.............................................................................xxi
Table A-3. Related Specifications ...........................................................................A-4
xviii
Page 19
About This Manual
This manual provides programming information for the MVME3604 and
MVME4604 VME Processor Modules (VMEmodules), that are based on
the MVME3604-xxxx base board, the PM604-xxxx mezzanine modules,
and the RAM201-xxx mezzanine modules. Extensive programming
information is pr ovided for several Appl ication-Specific I ntegrated Circuit
(ASIC) devices used on the boards. Reference information is included in
Appendix A, Related Documentation for the Large Sc ale Int egr ati on ( LSI)
devices used on the board s a nd sour ces fo r addi tional i nformati on are list ed.
As of the publication date , the information presented in t his manual applies
to the following MVME3600/4600 series models:
Model NumberDescription
MVME3604-5342A to
MVME3604-5372
MVME3604-6342 to
MVME3604-6372
MVME3604-5442,
5462, 5472
MVME3604-6442,
6462, 6472
MVME4604-5342A to
MVME4604-5372
MVME4604-6342 to
MVME4604-6372A
MVME4604-5442,
5462, 5472
300 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash, 512KB L2
cache, and IEEE 1101 front panel for use with MVME761
300 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash, 512KB L2
cache, and Scanbe front panel for use with MVME712M
400 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash, 512KB L2
cache, and IEEE 1101 front panel for use with MVME761
400 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash, 512KB L2
cache, and Scanbe front panel for use with MVME712M
Dual 300 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash,
512KB L2 cache, and IEEE 1101 front panel for use with MVME761
Dual 300 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash,
512KB L2 cache, and Scanbe front panel for use with MVME712M
Dual 400 MHz MPC604, 64-512MB ECC DRAM, 9MB Flash,
512KB L2 cache, and IEEE 1101 front panel for use with MVME761
xix
Page 20
Summary of Changes
This is the third edition of the Programmer’s Reference Guide. It
supersedes the January 2001edition and incorporates the following
updates.
DateDescription of Change
August 2001All data referring to the VME CSR Bit Set Register
(VCSR_SET) and VM E CSR Bit Clear Registe r
(VCSR_CLR) has been deleted. These registers of the
Universe II are unavailable for implementation as intended by
the MVME materials and the Universe II User Manual.
January 2001A warning about DRAM component requirements has been
added to the
sections of Chapter 3.
DRAM Attributes Register and Sizing DRAM
Overview of Contents
Chapter 1, Board Description and Memory Maps, describes the board-
level hardware features of MVME3600/4600 series VME processor
modules. It includes memory maps and a discussion of some general
software considerations such as cache coherency, interrupts, and bus
errors.
Chapter 3, Falcon ECC Memory Controll er Chipset, pr ovides a functiona l
description and programming model for the Falcon DRAM controller
ASIC.
Chapter 4, Universe ( VMEbus to PCI) Chip, gi ves a genera l descripti on of
the Universe VMEbus interface chip.
Chapter 5, Programming Details , provides programming func tions for the
different ASIC chips applicable to the MVME3600/4600 series.
, provides the architecture and usage of the Raven, a
Page 21
Appendix A, Related Documentat ion, lists all documentation rel ated to the
MVME3600/4600 series.
Comments and Suggestions
Motorola welcomes and appreciates your comments on its doc umentation.
We want to know what y ou think about our manuals and how we can make
them better. Mail comments to:
Motorola Computer Group
Reader Comments DW164
2900 S. Diablo Way
Tempe, Arizona 85282
You can also submit comments to the following e-mail address:
reader-comments@mcg.mot.com
In all your corres pondence , plea se li st your name, po siti on, and c ompan y.
Be sure to include the title and par t number of the manual and tell how you
used it. Then tell us your feelings about its strengths and weaknesses and
any recommendations for improvements.
Conventions Used in This Manual
The following typographical conventions are used in this document:
Unless otherwise s pecified, all address references are i n h exadecimal. An
asterisk (*) following the signal name for signals which are level
significant denotes that the signal is true or valid when the signal is low.
An asterisk (*) following the signal name for signals which are edge
significant deno tes that the a ctions init iated by th at signal occu r on high to
low transitio n.
$ dollar specifies a hexadecimal number
& ampersand specifies a decimal number
% percent specifies a binary number
xxi
Page 22
bold
is used for user inpu t that you t ype just as i t appears ; it is al so used for
commands, options and arguments to commands, and names of
programs, directories and files.
italic
is used for names of variables to which you assign values. Italic is also
used for comments in screen dis plays and examples, and to intr odu ce
new terms.
courier
is used for system output (for example, screen displays, reports),
examples, and system prompts.
<Enter>, <Return> or <CR>
<CR> represents the carriage return or Enter key.
CTRL
represents the Control key. Execute control characters by pr essing the
Ctrl key and the letter simultaneously, for example, Ctrl-d.
In this manual, assertion and negation are used to specify forcing a signal
to a particular stat e. In parti cular, a ssertion and asser t refe r to a signal tha t
is active or true; negation and negate indicate a signal that is inactive or
false. These terms ar e used independently of the vo ltage level (high or l ow)
that they represent.
xxii
Data and address sizes are defined as follows:
❏ A byte i s eight bits, numb ered 0 through 7, wit h bit 0 being the leas t
significant.
❏ A word is 16 bits, numbered 0 th rough 15, wit h bit 0 bei ng the le ast
significant.
❏ A longword is 32 bi ts, numbered 0 throug h 31 , wit h bit 0 being the
least significant.
Page 23
The terms control bit, status bit, true, and false are used extensively in this
document. The term control bit is used to describe a bit in a register that
can be set and cleared under software control. The term true is used to
indicate that a bit is in the state that enables the function it controls. The
term false is used to indicate that the bit is in the state that disables the
function it controls. In all tables, the terms 0 and 1 are used to describe the
actual value that sh ould be written to the bit, or the value that it yields when
read. The term status bit is used to describe a bit in a register that reflects
a specific condition. The status bit can be read by software to determine
operational or exception conditions.
xxiii
Page 24
Page 25
1Board Description and Memory
Introduction
This manual provides programming in formatio n for Motorola MVME3604
and MVME4604 VME Processor Modules (VMEmodules) , that are based
on the MVME3604-xxxx base boa rd, the PM604-xxxx me zzanine modules,
and the RAM201-xxx mezzanine modules. Extensive programming
information is pr ovided for several Appl ication-Specific I ntegrated Circuit
(ASIC) devices used on the boards. Reference information is included in
Appendix A for the Large Scale Integr ation (LSI) devices used on the boards
and sources for additional inf ormat ion are listed.
This chapter briefly describes the board level hardware features of the
MVME3600 series and MVME4600 series VME P rocessor Modules. Th e
chapter begins with a board level overview and features li st. Memory maps
are next, and are the major feature of this chapter.
Programmable registers in the MVME3600 serie s and MVME4600 series
that reside in ASICs are covered in the chapters on those ASICs.
controller),
Universe chip (VMEbus to PC I bus), and
covers certain programming features, such as interrupts and exceptions.
Appendix A, Related Documentation lists all related documentation.
Maps
Chapter 3, Falcon ECC
covers the Falcon chipset (ECC memory
Chapter 4, Universe (VMEbus to PCI) Chip covers the
Chapter 5, Progr amming Details
1
Chapter
Overview
The MVME3600 series and MVME4600 series VME Processor Module
families, hereafter sometimes referred to simply as the MVME3600 and
MVME4600, or the V3600 series and V4600 series, provide many
standard features required by a compute r system: SCSI, Ethernet interface,
graphics, keyboard in terface, mouse interface , sync and asyn c serial ports ,
parallel port, boot Flash, and up to 1GB of ECC DRAM.
1-1
Page 26
1
Board Description and Memory Maps
Mixing of MVME3600/4600 base and processor/memory modules with
!
Caution
MVME160x processor/memory and base modules is NOT supported.
Motorola cannot predict or guarantee the performance of any such mixture of
modules.
Summary of Features
There are many models based on the MVME3600/46 00 series architecture.
The following table summarizes the major features of the
MVME3600/4600 series:
Table 1-1. MVME3600/4600 Series Features Summary
FeatureDescription
ProcessorsSingle(MVME3600) or dual (twin) (MVME4600 only)
Supports MPC604 BGA processors only
Bus Clock Frequencies up to 66 MHz
L2 Cache512KB Look-aside L2 Cache
Flash8MB (64-bit wide), with socketed 1MB (16-bit wide)
Table 1-1. MVME3600/4600 Series Features Summary (Continued)
FeatureDescription
Peripheral
Support
VME Interface32-bit Address/64-bit Data PCI
PMC SlotsOne 32/64-bit Slot
MiscellaneousRESET/ABORT Switches
Two async serial ports
Two sync/async serial ports
One (IEEE1284, or printer) Parallel Port
8-bit or 16-bit single-ended primary fast SCSI-2 interface
16-bit differential or single-ended secondary fast SCSI-2 interface
(MVME3600)
16-bit differential or single-ended secondary Ultra SCSI interface
10BaseT/100BaseT secondary Ethernet interface (MVME4600)
1280 x 1024 Graphics Interface
One PS/2 Keyboard and one PS/2 Mouse
One PS/2 Floppy Port
A32/A24/A16, D64 (MBLT)/D32/D16/D08 Master and Slave
Programmable Interrupter & Interrupt Handler
Full System Controller Functions
Programmable DMA Controller with link list support
Location Monitor
Status LEDs
Introduction
1
Block Diagrams
The MVME3600 and MVME4600 series provide 512KB look-aside
external cache. The Falcon chipset controls the boot Flash and the ECC
DRAM. The Raven ASIC functions as the 64-bit PCI host bridge and the
MPIC interrupt controller. PCI devices include: SCSI, VME, graphics,
Ethernet, and one PMC slot. Standard I/O functions are provided by the
Super I/O device which r esides on the ISA bus . The NVRAM/RTC and the
http://www.motorola.com/computer/literature1-3
Page 28
1
Board Description and Memory Maps
optional synchronous serial ports also reside on the ISA bus. The general
system block diagrams for the MVME3600 series and the MVME4600
series are shown below:
1-4Computer Group Literature Center Web Site
Page 29
GENERATOR
SECONDARY
ETHERNET
AND SCSI
CLOCK
L2 CACHE
256K
PROCESSOR
MPC604
PHB & MPIC
RAVEN ASIC
PROCESSOR/MEMORY MEZZANINE
DEBUG CONNECTOR
66MHz MPC604 PROCESSOR BUS
33MHz 32/64-BIT PCI LOCAL B US
PCI CONNECTOR
33MHz 32/64-BIT PCI LOCAL B US
VIDEO
DRAM
MEMORY EXPANSION CONNECTORS
(64MB-1GB DRAM O N M EZZ A N INE )
32MB-64MB
MEMORY CONTROLLER
FALCON CHIPSET
DRAM
Flash
1MB
Flash
4MB or 8MB
SYSTEM
REGISTERS
PCI EXPANSION
Introduction
1
GRAPHICS
CL-GD54XX
GRAPHICS
ISA
REGISTERS
FLOPPY & LED
MOUSEKBD
64-BIT PMC SLOT
PMC FRONT I/O SLOT
FRONT PANEL
PIB
W83C553
ISA BUS
SUPER I/O
PC87308
SERIAL
PARALLEL
712/761 P2 I/O OPTIONS
VME P2VME P1
ETHERNET
DEC21140
AUI/10BT/100BTX
RTC/NVRAM/WD
MK48T559
ESCC
85230
CIO
Z8536
SCSI
53C825A
VME BRIDGE
UNIVERSE
BUFFERS
BASE BOARD
Figure 1-1. MVME3600 Series System Block Diagram
http://www.motorola.com/computer/literature1-5
Page 30
1
Board Description and Memory Maps
PROCESSOR/MEMORY MEZZANINE
MEMORY EXPANSION CONNECTORS
(64MB-1GB DRAM ON MEZZANINE)
4MB or 8MB
DRAM
64MB
MEMORY CONTROLLER
FALCON CHIPSET
REGISTERS
PCI EXPANSION
Flash
1MB
Flash
SYSTEM
GENERATOR
SECONDARY
ETHERNET
AND SCSI
CLOCK
L2 CACHE
256K
PROCESSOR 0
MPC604
PROCESSOR 1
MPC604
PHB & MPIC
RAVEN ASIC
DEBUG CONNECTOR
66MHz MPC604 PROCESSOR BUS
33MHz 32/64-BIT PCI LOCAL BUS
PCI CONNECTOR
33MHz 32/64-BIT PCI LOCAL BUS
VIDEO
DRAM
GRAPHICS
CL-GD54XX
GRAPHICS
ISA
REGISTERS
FLOPPY & LED
MOUSEKBD
64-BIT PMC SLOT
PMC FRONT I/O SLOT
FRONT PANEL
PIB
W83C553
ISA BUS
SUPER I/O
PC87308
SERIAL
PARALLEL
712/761 P2 I/O OPTIONS
VME P2VME P1
ETHERNET
DEC21140
AUI/10BT/100BTX
RTC/NVRAM/WD
MK48T559
ESCC
85230
CIO
Z8536
SCSI
53C825A
VME BRIDGE
UNIVERSE
BUFFERS
BASE BOARD
Figure 1-2. MVME4600 Series System Block Diagram
1-6Computer Group Literature Center Web Site
Page 31
Functional Description
Overview
The MVME3600 series is a family of two-slot VME Processor Modules.
It consists of the MPC604 processor, the Raven PCI Bridge & Interrupt
Controller, the ECC Memory Controller Falcon chipset, 9MB of Flash
memory, 64MB to 1GB of ECC-protected DRAM, and a rich set of
features for support of I/O peripherals.
The MVME4600 series is a very si milar series of two-s lot VME Processor
Modules. It contains two MPC604 proc essors, and 64MB to 1GB of ECCprotected DRAM.
I/O peripheral devices on the PCI bus are: SCSI chip, Ethernet chip,
graphics chip, Universe VMEbus interface ASIC, and one PMC slot.
Secondary SCSI and sec ondary Eth ernet are option al. Func tions provi ded
from the ISA bus are: a P1284/para llel port, two asynchronous se rial ports,
two sync/async serial ports, a real-time clock, and counters/timers.
Functional Description
1
The MVME3600/4600 series board interfaces to the VMEbus via the P1
and P2 connectors, which use the new 5-row 160-pin connectors as
specified in the propos ed VME64 Exten sion Sta ndard. I t also draws +5V,
+12V, and –12V power from the VMEbus backplane through these two
connectors. The 3.3V supply is regulated onboard from the +5V power.
Front panel connectors on the MVME3600/4600 series board include: a
three-row DB-15 connector for graphics, a 6-pin circular DIN connector
for the keyboard interface, a 6-pin circular DIN connector for the mouse
interface, and a 50-pin connector for an external floppy disk drive and
status hexadecimal LEDs. All signals f or the serial port s, the P1284/print er
port, the SCSI interface, and the Ethernet interface are routed to P2.
There are two P2 I/O options suppo rted by the MVME3600 ser ies and the
MVME4600 series: MVME712M mode and MVME761 mode. The
MVME761 mode provides an enha nce d P1284 parallel port i nt erf ac e a nd
full synchronous support for Serial Ports 3 and 4. The MVME712M
version provides backward compatibility with previous single board
http://www.motorola.com/computer/literature1-7
Page 32
1
Board Description and Memory Maps
computers (SBCs). In either mode, 16- bit SCSI capability can only be used
by systems with 5-row DIN s upport because the addi ti ona l 8 bits of SCSI
data lines reside on row Z of P2.
The MVME3600/4600 series contains one IEEE1386.1 PCI Mezzanine
Card (PMC) slot. This PMC s lot i s 64-bit capable an d su ppor ts both front
and rear I/O. Pins 1 through 30 of th e PMC connector J14 are routed to pins
D1 through D30 of the 5-row DIN P2 connector. J14 pin 31 is connected
to P2 pin Z29, and J14 pin 32 is connected to P2 pin Z31.
Additional PCI expansion is supported with a 114-pin Mictor connector.
This connection allows stacking of a carrier board (such as a dual-PMC
carrier board) to increase the I/O capability.
Programming Model
Memory Maps
The following sections describe the memory maps for the
MVME3600/4600 series.
Processor Memory Maps
The processor memory map is controlled by the Raven ASIC and the
Falcon chipset. The Raven ASIC and the Falcon chipset have flexible
programming Map Decoder registers to customize the system to fit many
different applications.
1-8Computer Group Literature Center Web Site
Page 33
Programming Model
Default Processor Memory Map
After a reset, the Raven ASIC and the Falcon chipset provide the default
processor memory map as shown in the following table.
FEF8 0000FEF8 FFFF64KFalcon Registers
FEF9 0000FEFE FFFF384KNot mapped
FEFF 0000FEFF FFFF64KRaven Registers
FF00 0000FFEF FFFF15MNot mapped
FFF0 0000FFFF FFFF1MROM/Flash Bank A or Bank B2
SizeDefinition
Not mapped
- 640K
Notes
1. This default map for PCI/ISA I/O space allows software to
determine if the system is MPC105-based or Falcon/Raven-based
by examining either the PHB Device ID or the CPU Type Register.
Notes
2. The first 1MB of ROM/Flash Bank A appears at this range after a
reset if the rom_b_rv control bit in the Falcon ch ip is cleared and t he
rom_a_rv control bit is set. If the rom_b_rv control bit is set then
this address range maps to ROM/Flash Bank B.
http://www.motorola.com/computer/literature1-9
Page 34
1
Board Description and Memory Maps
Processor CHRP Memory Map
The following table shows a recomm ended CHRP memory map from the
point of view of the processor.
FF00 0000FF7F FFFF8MROM/Flash Bank A1,7
FF80 0000FF8F FFFF1MROM/Flash Bank B1,7
Notes
3,4,8
3,8
3,5,8
9
FF90 0000FFEF FFFF6MReserved
FFF0 0000FFFF FFFF1MROM/Flash Bank A or Bank B7
Notes
1. Programmable via Falcon chipset.
1-10Computer Group Literature Center Web Site
Page 35
Programming Model
2. To enable the “Processor-ho le” area, prog ram the Falcon chi pset to
ignore 0x000A0000 - 0x000BFFFF add ress range and progra m the
Raven to map this address range to PCI memory space.
3. Programmable via Raven ASIC.
4. CHRP requires the star ting addr ess for t he PCI memory space to b e
256MB-aligned.
5. Programmable via Raven ASIC for ei ther cont iguous or spr ead-I/O
mode.
6. The actual size of each ROM/Flash bank may vary.
7. The first 1MB of ROM/Flash Bank A appears at this range after a
reset if the rom_b_rv control bit in the Falcon ch ip is cleared and t he
rom_a_rv control bit is set. If the rom_b_rv control bit is set then
this address range maps to ROM/Flash Bank B.
8. This range can be mapped to the VMEbus by programming the
Universe ASIC accordingly. The map shown is the recommended
setting which uses the Sp eci al PCI Sl ave Ima ge a nd two of th e four
programmable PCI Slave Images.
1
9. The only method of generating a PCI Inter rupt Acknowledge cycle
(8259 IACK) is to perform a read access to the Raven’s PIACK
register at 0xFEFF0030.
The following table shows the programmed values for the associated
Raven MPC registers for the processor CHRP memory map.
Table 1-4. Raven MPC Register Values for CHRP Memory Map
The Raven/Falcon chipset can be programmed for a PREP-compatible
memory map. The following table shows the PREP memory map of the
MVME3600/4600 series from the point of view of the processor.
FF00 0000FF7F FFFF8MROM/Flash Bank A1, 3
FF80 0000FF8F FFFF1MROM/Flash Bank B1, 3
FF90 0000FFEF FFFF6MReserved
FFF0 0000FFFF FFFF1MROM/Flash Bank A or Bank B4
SizeDefinitionNotes
2
0000 0000 - 3FFFF FFFF
2, 5
Space: 0000 0000 - 3CFFFFFF
6
page 1-17
has MPIC)
1-12Computer Group Literature Center Web Site
Page 37
Programming Model
Notes
1. Programmable via Falcon chipset.
2. Programmable via Raven ASIC.
3. The actual size of each ROM/Flash bank may vary.
4. The first 1MB of ROM/Flash Bank A appears at this range after a
reset if the rom_b_rv control bit in the Falcon ch ip is cleared and t he
rom_a_rv control bit is set. If the rom_b_rv control bit is set then
this address range maps to ROM/Flash Bank B.
5. This range can be mapped to the VMEbus by programming the
Universe ASIC accordingly.
6. The only method of generating a PCI Inter rupt Acknowledge cycle
(8259 IACK) is to perform a read access to the Raven’s PIACK
register at 0xFEFF0030.
The following table shows the programmed values for the associated
Raven MPC registers for the processor PREP memory map.
1
Table 1-6. Raven MPC Register Val ues for PREP Memory Map
PCI Configuration acc esses ar e accomplis hed via the CONFIG_ADD and
CONFIG_DAT registers. These two registers are implemented by the
Raven ASIC. In the CHRP memory map example, the CONFIG_ADD and
CONFIG_DAT registers are located at 0xFE000CF8 and 0xFE000CFC,
respectively. With the PREP memory map, the CONFIG_ADD register
and the CONFIG_DAT register are located at 0x80000CF8 and
0x80000CFC, respectively.
PCI Memory Maps
The PCI memory map is controlled by the Raven ASIC and the Universe
ASIC. The Raven ASIC and the Universe ASIC have flexible
programming Map Decoder registers to customize the system to fit many
different applications.
Default PCI Memory Map
After a reset, the Raven ASIC and the Univer se ASIC turn all the PCI slave
map decoders off. Software must program the appropriate map decoders
for a specific environment.
PCI CHRP Memory Map
The following table shows a PCI memory map of the MVME3600/4600
series that is CHRP-compatible fro m the point of view of the PCI local bu s.
The processor can access a ny address range in the VME bus with help from
the address translation capabilities of the Universe ASIC. The
recommended mapping is shown i n
The following figure illustrates how the VMEbus master mapping is
accomplished.
Configuration
Register Name
Register Value
Processor Memory Maps on page 1-8 .
1-20Computer Group Literature Center Web Site
Page 45
Programming Model
1
ONBOARD
MEMORY
PCI MEMORY
SPACE
PCI/ISA
MEMORY SPACE
PCI
I/O SP AC E
NOTE 1
NOTE 1
PCI MEMORYPROCESSOR
NOTE 2
NOTE 3
VMEBUS
PROGRAMMABLE
SPACE
VME A24
VME A16
VME A24
VME A16
VME A24
VME A16
VME A24
VME A16
MPC
RESOURCES
11553.00 9609
Figure 1-3. VMEbus Master Mapping
http://www.motorola.com/computer/literature1-21
Page 46
1
Board Description and Memory Maps
Notes
1. Programmable mapping done by the Raven ASIC.
2. Programmable mapping via the four PCI Slave Images in the
Universe ASIC.
3. Programmable mapping via the Special Slave Image (SLSI) in the
Universe ASIC.
VMEbus Slave Map
The four programmable VME Slave Images in the Universe ASIC allow
other VMEbus masters to get to any devices on the MVME3600/4600
series. The combination of the four Universe VME Slave Images and the
four Raven PCI Slave Deco ders offers a lo t of flexibility for mapping the
system resources as seen from the VMEbus. In most applications, the
VMEbus only needs to s ee the syste m memory and , pe rhaps, the so ftware
interrupt registe rs (SI R1 and SIR2 regis ters) . An exampl e of the VMEbus
slave map is shown below:
1-22Computer Group Literature Center Web Site
Page 47
Programming Model
1
Processor
Onboard
Memory
ISA Space
Software INT
Registers
NOTE 2
NOTE 3
PCI Memory
PCI I/O Space
VMEbus
NOTE 1
NOTE 1
1896 9609
Figure 1-4. VMEbus Slave Mapping
Notes
1. Programmable mapping via the four VME Slave Images in the
Universe ASIC.
2. Programmable mapping via PCI Slave Images in the Raven ASIC.
3. Fixed mapping via the PIB device.
http://www.motorola.com/computer/literature1-23
Page 48
1
Board Description and Memory Maps
The following table shows the programmed values for the associated
Universe registers for the VMEbus slave function.
Table 1-13. Universe PCI Register Values for VMEbus Slave Map Example
The above register values yield the following VMEbus slave map:
1-24Computer Group Literature Center Web Site
Page 49
Table 1-14. VMEbus Slave Map Example
Programming Model
1
VMEbus Address
SizeCHRP MapPREP Map
RangeMode
4000 0000 4000 0FFF
1000 0000 1FFF FFFF
A32 U/S/P/D
D08/16/32
A32 U/S/P/D
D08/16/32/64
RMW
4KPCI/ISA I/O Space:
0000 1000 - 0000 1FFF
256MPCI/ISA Memory Space
(On-board DRAM)
0000 0000 - 0FFF FFFF
Falcon-Controlled System Registers
The Falcon chipset latches the states of the DRAM data lines onto the
PR_STAT1 and PR_STAT2 registers. The MVME3600/4600 series uses
these status registers to provide the system configuration information. In
addition, the Falcon chipset performs the decode and control for an
external register port. This function is utilized by the MVME3600/4600
series to provide the system control registers.
Table 1-15. System Register Summary
0
BIT # ---->
FEF80400
FEF80404
FEF88000
FEF88300
123
System External Cache
Control Register
CPU Control Register
4
5678910111213141516171819202122232425262728293031
System Configuration Register (Upper Falcon’s PR_STAT1)
PCI/ISA Memory Space
(On-board DRAM)
8000 0000 - 8FFF FFFF
The following subsections describe these system registers in detail.
http://www.motorola.com/computer/literature1-25
Page 50
1
Board Description and Memory Maps
System Configuration Register (SYSCR)
The states of the RD[0:31] DRAM data pins, which have weak internal
pull-ups, are l atched by the upper Falcon chip at a ris ing edge of th e powerup reset and stored in this System Configu ration Regist er to provid e some
information about t he system. Configuration is accomplished wit h external
pull-down resistors. This 32-bit read-only register is defined as follows:
REGSystem Configuration Register - $FEF80400
BIT
FIELD
OPER
RESET
012345678
SYSIDSYSCLKSYSXCP0STATP1STAT
$FEXXXX$F$F
SYSIDSystem Identification. This field specifies the type of the
SYSCLKSystem Clock Speed. This field re lays the system clock
overall system configuration so that the software may
appropriately hand le any softwa re visible differences . For
the MVME3600 series and the MVME4600 series, this
field returns a value of $FE.
speed and the PCI clock speed information as follows:
31
SYSXCSystem External Cache Size. This field reflec ts size of the
look-aside cache on the system bus.
1-26Computer Group Literature Center Web Site
Page 51
Programming Model
SYSXC V alueExternal Look-aside Cache Size
0b0000 to 0b1011Reserved
0b11001M
0b1101512K
0b1110256K
0b1111None
P0/1STAT Processor 0/1 Status. This field is encoded as follows:
The states of the RD[00:31] DRAM data pins, which have weak internal
pull-ups, are lat ched by the lowe r Falcon chip a t a rising edge of the powerup reset and s tored in this Memory Configuration Regis ter to provide some
information about the system memory. Configuration is accomplished
with external pull-d own resistors. Thi s 32-bit read-on ly register is defined
as follows :
M_FREFBlock A/B/C/D Fast Refresh. When this bit is set, it
indicates that a DRAM block requires faster refresh rate.
If any of the four blocks requires faster refresh rate then
the ram ref
control bit should be set.
M_SPD[0:1]
Memory Speed. This field relays the memory speed
information as follows:
M_SPD[0:1]DRAM SpeedDRAM Type
0b0070nsPast Page
0b0160nsFast Page
63
0b10ReservedReserved
0b1150nsEDO
These two bi ts reflect the combined status of the four
blocks of DRAM. Initialization software uses this
information to program the ram_spd0
and ram_spd1
control bits in the Falcon’s Chip Revision Register.
1-28Computer Group Literature Center Web Site
Page 53
R_A/B_TYP[0:1]
ROM/Flash Type. This field is encoded as follows:
ROM_A/B_TYP[0:2]ROM/Flash Type
0b000 to 0b101Reserved
0b110Intel 16-bit wide Flash with 1 6K B ot tom Boot
Block
0b111Unknown type (for example, ROM/Flash Sockets)
NoteThe device width is different from the width of the Flash b ank. I f
the bank width is 64-bit and the device width is 16-bit then the
Flash bank consists of four Flash devices.
System External Cache Control Register (SXCCR)
The System Cache Control Register is accessed via the RD[32:39] data
lines of the upper Falcon device. This 8-bit register is defined as follows:
Programming Model
1
REGSystem External Cache Control Register - $FEF88000
BIT01234567
SXC_DIS_
FIELD
OPERR/W
RESET1111XXXX
SXC_RST_
SXC_MI_
SXC_FLSH_
SXC_DIS_
System External Cache Enable. When this bit is cleared,
it disables this cache from responding to any bus cycles.
SXC_FLSH_
System External Cache Flush. When this bit
for at least 8 clock periods
http://www.motorola.com/computer/literature1-29
, it causes the system external
is pulsed true
Page 54
1
Board Description and Memory Maps
cache to write back dirty cache lines out to system
!
Warning
memory and clears all the tag valid bits.
causes the Glance pair to request and hold the MPC bus
until it has compl ete d the flush operati on ( approximately
4100 clock cycles). This may be an issue if other devices
cannot wait that long to become MPC bus master.
SXC_RST_
System External Cache Reset. When thi s b it is cleared, it
invalidates all tags and holds the cache in a reset
condition.
hold the chip in a reset condition. The tag invalidate still
works okay though.
SXC_MI_
System External Cache Miss Inhibit. When this bit is
cleared, it prevents line fills on cache misses.
Software should never clear more than one of these bits at the same time.
If more than one is cleared at the same time, the Glance pair behaves
indeterminately.
There is a bug in Glance - It really does not
This operation
1-30Computer Group Literature Center Web Site
Page 55
ISA Local Resource Bus
CPU Control Register
The CPU Control Register is accesse d via the RD[32 :39] dat a lines of the
upper Falcon device. This 8-bit register is defined as follows:
REGCPU Control Register - $FEF88300
BIT01234567
LEMODE
FIELD
OPERRRR/WR/WRRRR
RESETX011XXXX
LEMODE Little Endian Mode. This bit must be set in conjunction
P0/1_TBEN
P1_TBEN
with the LEND bit in the Raven for little endi an mode.
Processor 0/1 T ime Base Enable. When th is bit is cleared,
the TBEN pin of Processor 0/1 will be driven low.
P0_TBEN
1
ISA Local Resource Bus
W83C553 PIB Registers
The PIB contains ISA Bridge I/O registers for various functions. These
registers are actually accessible from the PCI bus. Refer to the W83C553 Data Book for details.
http://www.motorola.com/computer/literature1-31
Page 56
1
Board Description and Memory Maps
PC87308VUL Super I/O (ISASIO) Strapping
The PC87308VUL Super I/O (ISASIO) provides the following functions
to the MVME3600/4600 series: a keyboard interface, a PS/2 mouse
interface, a PS/2 floppy port, two async serial ports and a parallel port.
Refer to the PC87308VUL Data Sheet for additional details and
programming information.
The following table shows the hardware strapping for the Super I/O
device:
Table 1-16. Strap Pins Configuration for the PC87308VUL
PinsReset Configuration
CFG00 - FDC, KBC and RTC wake up inactive.
CFG11 - Xbus Data Buffer (XDB) enabled.
CFG3, CFG200 - Clock source is 24 MHz fed via X1 pin.
BADDR1, BADDR211 - PnP Motherboard, Wake in Config State. Index $002E.
SELCS1 - CS0# on CS0# pin.
NVRAM/RTC & Watchdog Timer Registers
The MK48T59/559 provides t he MVME3600/4600 s eries wit h 8K of non volatile SRAM, a time-of-day clock, and a watchdog timer. Accesses to
the MK48T59/559 are accomplished via three registers: The
NVRAM/RTC Address Strobe 0 Register, the NVRAM/RTC Address
Strobe 1 Register, and the NVRAM/RTC Data Port Register. The
NVRAM/RTC Address Strobe 0 Register latches the lower 8 bits of the
address and the NVRAM/RTC Ad dress Strobe 1 Register latches the upper
5 bits of the address.
The following subsections describe these registers in detail.
CPU Configuration Register
The CPU Configuration Register is an 8-bit register located at ISA I/O
address x0800. This register is def ined for the MVME3600/ 4600 series to
provide some backward compatibility with older MVME1600 products.
The Base Module Status Register should be used to identify the base
module type and the System Configuration Register should be used to
obtain information about the overall system.
REGOld CPU Configuration Register - $FE000800
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELDCPUTYPE
OPERRR
RESET$E$F
CPUTYPE CPU Type. This field will always read as $E for the
MVME3600/4600 series. The System Configuration
Register should be used for additional information.
Base Module Feature Register
The Base Module Feature Register is an 8-bit register providing the
configuration information about the MVME3600/MVME4600 VME
Processor Module. This read-only register is located at ISA I/O address
x0802.
REGBase Module Feature Register - Offset $0802
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELD
OPERRRRRRRRR
1-34Computer Group Literature Center Web Site
SCCP_
PMC2P_
PMC1P_
VMEP_
GFXP_
LANP_
SCSIP_
Page 59
ISA Local Resource Bus
REGBase Module Feature Register - Offset $0802
RESETXXXXXXXX
SCCP_Z85230 ESCC Present. If set, there is no on-board sync
serial support. If cleared, there is on-board support for
sync serial interface.
PMC2P_PMC/PCIX Slot 2 Present. If set, there is no PMC/PCIX
device installed in PMC/PCIX Slot 2. If cleared,
PMC/PCIX Slot 2 contains a PCI Mezzanine Card or a
PCI device.
PMC1P_PMC Slot 1 Present. If set, there is no PCI Mezzanine
Card installed in PMC Slot 1. If cleared, PMC Slot 1
contains a PMC.
VMEP_VMEbus Present. If se t, t her e i s no VM Ebus int er fac e. I f
cleared, VMEbus interface is supported.
GFXP_Graphics Present. If set, there is no on-board Graphics
interface. If cleared, there is an on-board graphics
capability.
1
LANP_Ethernet Present. If set, there is no Ethernet transceiver
interface. If cleared, there is on-boa rd Ethernet support.
SCSIP_SCSI Present. If set, there is no on-board SCSI interface.
If cleared, on-board SCSI is supported.
Base Module Status Register (BMSR)
The Base Module Status Register is an 8-bit read-only register located at
ISA I/O address x0803.
REGBase Module Status Register - Offset $0803
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELDBASE_TYPE
OPERR
http://www.motorola.com/computer/literature1-35
Page 60
1
Board Description and Memory Maps
REGBase Module Status Register - Offset $0803
RESETN/A
BASE_TYPE
Base Module Type. This eight bit field is used to pr ovi de
the category of the bas e module and i s defined as follows:
BASE_TYPE ValueBase Module Type
$0 to $F9
Reserved
$FA
$FB
$FC
$FD
$FE
$FF
MVME2600 with MVME712M I/O
MVME3600/4600 with MVME712M I/O
MVME3600/4600 with MVME761 I/O
MVME1600-001 or MVME1600-011
Reserved -- Special
MVME2600 with MVME761 I/O
Seven-Segment Display Register
This 16-bi t register allows data to be sent to the 4-d igit hexadec imal
diagnostic display. The register also allows the data to be read back.
REG7-Segment Display Register - Offset $08C0
SD15
SD14
SD13
BIT
FIELDDIG3[3:0]DIG2[3:0]DIG1[3:0]DIG0[3:0]
OPERR/W
SD12
SD10
SD11
SD9
SD8
SD7
SD6
SD5
SD4
SD3
SD2
SD1
SD0
RESETXXXXXXXXXXXXXXXX
DIG3[3:0] Hexadecimal value of the most significant digit.
DIG2[3:0] Hexadecimal value of the third significant digit.
1-36Computer Group Literature Center Web Site
Page 61
DIG1[3:0] Hexadecimal value of the second significant digit.
DIG0[3:0] Hexadecimal value of the least significant digit.
VME Registers
The registers listed in the following table provide these functions for the
VMEbus inte rface: a softwa re interrupt cap ability, a location monitor
function, and a geographical address status. For these registers to be
accessible from the VMEbus , the Univ erse ASI C must be progr ammed to
map the VMEbus Slave Image 0 into the appropriate PCI I/O address
range. Refer to VMEbus Slave Mapon page 1-22 for additional details .
Table 1-19. VME Registers
PCI I/O AddressFunction
0000 1000LM/SIG Control Register
0000 1001LM/SIG Status Register
ISA Local Resource Bus
1
0000 1002VMEbus Location Monitor Upper Base Address
0000 1003VMEbus Location Monitor Lower Base Address
0000 1004VMEbus Semaphore Register 1
0000 1005VMEbus Semaphore Register 2
0000 1006VMEbus Geographical Address Status
These registers are described in the following subsections.
http://www.motorola.com/computer/literature1-37
Page 62
1
Board Description and Memory Maps
LM/SIG Control Register
The LM/SIG Control Register is an 8-bit register located at ISA I/O
address x1000. This register provides a method to generate software
interrupts. The Universe ASIC is programmed so that this register can be
accessed from the VMEbus to generate software interrupts to the
processor(s).
REGLM/SIG Control Register - Offset $1000
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELDSET
SIG1
OPERWRITE-ONLY
RESET00000000
SET
SIG0
SET
LM1
SET
LM0
CLR
SIG1
CLR
SIG0
CLR
LM1
CLR
LM0
SET_SIG1 Writing a 1 to this bit will set the SIG1 status bit.
SET_SIG0 Writing a 1 to this bit will set the SIG0 status bit.
SET_LM1 Writing a 1 to this bit will set the LM1 status bit.
SET_LM0 Writing a 1 to this bit will set the LM0 status bit.
CLR_SIG1Writing a 1 to this bit will clear the SIG1 status bit.
CLR_SIG0Writing a 1 to this bit will clear the SIG0 status bit.
CLR_LM1 Writing a 1 to this bit will clear the LM1 status bit.
CLR_LM0 Writing a 1 to this bit will clear the LM0 status bit.
1-38Computer Group Literature Center Web Site
Page 63
ISA Local Resource Bus
LM/SIG Status Register
The LM/SIG Status Registe r is an 8-bit regi ster located at ISA I/O address
x1001. This register, in conjunction with the LM/SIG Control Register,
provides a method to generate interrupts. The Universe ASIC is
programmed so that this register can be accessed from the VMEbus to
provide a capability to generate software interrupts to the onboard
processor(s) from the VMEbus.
REGLM/SIG Status Register - Offset $1001
BITSD7SD6SD5SD4SD3SD2SD1SD0
1
FIELDEN
SIG1
OPERR/WREAD-ONLY
RESET00000000
EN
SIG0
EN
LM1
EN
LM0
SIG1SIG0LM1LM0
EN_SIG1 When the EN_SIG1 bit is set, a LM/SIG Interrupt 1 is
generated if the SIG1 bit is asserted.
EN_SIG0 When the EN_SIG0 bit is set, a LM/SIG Interrupt 0 is
generated if the SIG0 bit is asserted.
EN_LM1When the EN_LM1 bit is set, a LM/SIG Interrupt 1 is
generated and the LM1 bit is asserted.
EN_LM0When the EN_LM0 bit is set, a LM/SIG Interrupt 0 is
generated and the LM0 bit is asserted.
SIG1SIG1 status bit. This bit can only be set by the SET_LM1
control bit. It can onl y be cle ar ed by a reset or by writing
a 1 to the CLR_LM1 control bit.
SIG0SIG0 status bit. This bit can only be set by the SET_LM0
control bit. It can onl y be cle ar ed by a reset or by writing
a 1 to the CLR_LM0 control bit.
http://www.motorola.com/computer/literature1-39
Page 64
1
Board Description and Memory Maps
LM1LM1 status bit. This bit can be set by either the location
monitor function or the SET_LM1 control bit. LM1
correspond to offset 3 from the location monitor base
address. This bit can only be cleared by a reset or by
writing a 1 to the CLR_LM1 control bit.
LM0LM0 status bit. This bit can be set by either the location
monitor function or the SET_LM0 control bit. LM0
correspond to offset 1 from the location monitor base
address. This bit can only be cleared by a reset or by
writing a 1 to the CLR_LM0 control bit.
Location Monitor Upper Base Address Register
The Location Monitor Upper Base Address Register is an 8-bit register
located at ISA I/O address x1002. The Universe ASIC is programmed so
that this register can be accessed from the VMEbus to provide VMEbus
location monitor function.
REGLocation Monitor Upper Base Address Register - Offset $1002
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELDVA15VA14VA13VA12VA11VA10VA9VA8
OPERR/W
RESET00000000
VA[15:8]Upper Base Address for the location monitor function.
Location Monitor Lower Base Address Register
The Location Monitor Lower Base Address Register is an 8-bit register
located at ISA I/O address x1003. The Universe ASIC is programmed so
that this register can be accessed from the VMEbus to provide VMEbus
location monitor function.
REGLocation Monitor Lower Base Address Register - Offset $1003
BITSD7SD6SD5SD4SD3SD2SD1SD0
1-40Computer Group Literature Center Web Site
Page 65
ISA Local Resource Bus
REGLocation Monitor Lower Base Address Register - Offset $1003
FIELDVA7VA6VA5VA4LMEN
OPERR/WRRR
RESET00000000
VA[7:4]Lower Base Address for the location monitor function.
LMENThis bit must be set to enable the location monitor
function.
Semaphore Register 1
The Semaphore Register 1 is an 8-bit register located at ISA I/O address
x1004. The Universe ASIC is programmed so that this register can be
accessible from the VMEbus. This register can only be updated if bit 7 is
low or if the new value has the most significant bit cleared. When bit 7 is
high, this register will not latch in the new value if the new value has the
most significant bit set.
1
REGSemaphore Register 1 - Offset $1004
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELDSEM1
OPERR/W
RESET00000000
Semaphore Register 2
The Semaphore Register 2 is an 8-bit register located at ISA I/O address
x1005. The Universe ASIC is programmed so that this register can be
accessible from the VMEbus. This register can only be updated if bit 7 is
http://www.motorola.com/computer/literature1-41
Page 66
1
Board Description and Memory Maps
low or if the new value has the most significant bit cleared. When bit 7 is
high, this register will not latch in the new value if the new value has the
most significant bit set.
REGSemaphore Register 2 - Offset $1005
BITSD7SD6SD5SD4SD3SD2SD1SD0
FIELDSEM2
OPERR/W
RESET00000000
VME Geographical Address Register (VGAR)
The VME Geographical Address Register is an 8-bit read-only register
located at ISA I/O address x1006. This register reflects the states of the
geographical address pins at the 5-row, 160-pin P1 connector.
The Z85230 ESCC (Enhanced Serial Communication Controller) is used
to provide the two sync/async serial ports on MVME3600/ 4600 series
models. The PCLK (master clock input) which can be used to derive the
baud rates, is 10 MHz. Refer to the SCC User’s Man ual for programming
information on the Z85230 ESCC device.
The Z8536 CIO furnishes the modem control lines not provided by the
Z85230 ESCC and supplies a method to inqui re the modul e ID of the two
sync/async seria l port s that resi de o n the MVME76 1 module. Re fe r to th e
Z8536 Data Sheet for programming information.
Z8536/Z85230 Registers
Accesses to the Z8536 CIO and the Z85230 ESCC are accomplished via
Port Control and Port Data Registers. The PCLK to the Z8536 is 5 MHz.
Also, a Pseudo IACK Register is also de fined to retri eve int errup t vecto rs
from these devices. The Z8536 CIO has higher priority than the Z85230
ESCC in the in terrupt daisy c hain. The following table lists the registers
associated with accessing these two devices:
1
Table 1-20. Z8536/Z85230 Access Registers
PCI I/O AddressFunction
0000 0840Z85230: Port B (Serial Port 4) Control
0000 0841Z85230: Port B (Serial Port 4) Data
0000 0842Z85230: Port A (Serial Port 3) Control
0000 0843Z85230: Port A (Serial Port 3) Data
0000 0844Z8536 CIO: Port C’s Data Register
0000 0845Z8536 CIO: Port B’s Data Register
0000 0846Z8536 CIO: Port A’s Data Register
0000 0847Z8536 CIO: Control Register
0000 084FZ85230/Z8536 Pseudo IACK
http://www.motorola.com/computer/literature1-43
Page 68
1
Board Description and Memory Maps
Z8536 CIO Port Pins
The assignment for the Port pins of the Z8536 CIO is as follows:
Table 1-21. Z8536 CIO Port Pins Assignment
Port
Pin
PA0TM3_
PA1DSR3_
PA2RI3_InputPort 3 Ring Indicator
PA3LLB3_
PA4RLB3_OutputPort 3 Remote Loopback
PA5DTR3_OutputPort 3 Data Terminal Ready
PA6BRDFAILOutputBoard Fail: When set will cause FAIL LED to be lit.
PA7IDREQ_OutputModule ID Request - low true
PB0TM4_
PB1DSR4_
Signal
Name
MID0
MID1
MODSEL
MID2
MID3
DirectionDescriptions
InputPort 3 Test Mode when IDREQ_ = 1;
Module ID Bit 0 when IDREQ_ = 0.
InputPort 3 Data Set Ready when IDREQ_ = 1;
Module ID Bit 1 when IDREQ_ = 0.
OutputPort 3 Local Loopback (IDREQ_ = 1) or
Port Select (IDREQ_ = 0):
IDREQ_ = 0 & MODSEL = 0 => Port 3 ID Select
IDREQ_ = 0 & MODSEL = 1 => Port 4 ID Select
InputPort 4 Test Mode when IDREQ_ = 1;
Module ID Bit 2 when IDREQ_ = 0.
InputPort 4 Data Set Ready when IDREQ_ = 1;
Module ID Bit 3 when IDREQ_ = 0.
PB2RI4_InputPort 4 Ring Indicator
PB3LLB4_OutputPort 4 Local Loopback
PB4RLB4_OutputPort 4 Remote Loopback
PB5DTR4_OutputPort 4 Data Terminal Ready
PB6FUSEInputFUSE = 1 means that at least one of the fuses or
polyswitches is open.
PB7ABORT_InputStatus of ABORT# signal
1-44Computer Group Literature Center Web Site
Page 69
ISA Local Resource Bus
Table 1-21. Z8536 CIO Port Pins Assignment (Continued)
NoteThe direction and the polarity of the Z8536’s port pins are
software programmable.
The module ID signals, which are only valid when IDREQ_ is asserted,
indicate the type of the serial module that is installed on either Port 3 or
Port 4. The following table shows how to interpret the MID3-MID0
signals:
Table 1-22. Interpretation of MID3-MID0 (Continued)
MID3
MID2
MID1
IDREQ_
010011Module 4: EIA530 DTE 01-W3879B01
011111Module 4 Not Installed
LLB3_
MODSEL
MID0
Serial Module Type
Module
Assembly
Number
NoteBecause IDREQ_ and MID3-MID0 signals go through the
P2MX (P2 multiplexing) function used on MVME3600/4600
series modules configured for the MVME761-type transition
module, software must wait for the MID3-MID0 to become valid
after asserting IDREQ_. The waiting time should be about 4
microseconds because the sa mpling rate is about 1.6 microsecond
with a 10 MHz MXCLK clock.
ISA DMA Channels
There are seven ISA DMA channels in the PIB. Channels 0 through 3
support only 8-bit DMA devices whi le Channels 5 through 7 suppor t only
16-bit DMA devices. These DMA channels are assigned as follows:
1-46Computer Group Literature Center Web Site
Page 71
ISA Local Resource Bus
Table 1-23. PIB DMA Channel Assignments
1
PIB
Priority
HighestChannel 0DMA1Serial Port 3 Receiver (Z85230 Port A Rx)
LowestChannel 7Not Used
PIB LabelControllerDMA Assignment
Channel 1Serial Port 3 Transmitter (Z85230 Port A Tx)
Channel 2Floppy Drive Controller
Channel 3Parallel Port
Channel 4DMA2Not available - Cascaded from DMA1
Channel 5Serial Port 4 Receiver (Z85230 Port B Rx)
Channel 6Serial Port 4 Transmitter (Z85230 Port B Tx)
NoteBecause the Z85230 is an 8-bit device and Channels 5 and 6 are
16-bit DMA Channels, only every other byte (the even bytes)
from memory is val id .
http://www.motorola.com/computer/literature1-47
Page 72
Page 73
2Raven PCI Host Bridge & Multi-Processor
Interrupt Controller Chip
Introduction
This chapter describes the architecture and usage of the Raven, a Power PC
to PCI Local Bus Bridge ASIC. The Raven is intended to provide
PowerPC 60x (MPC60x) compliant devices access to devices residing on
the PCI Local Bus. In the remainder of this chapter, the MPC60x bus will
be referred to as t he MPC bus an d the PCI Loca l Bus as PCI. PCI is a hi gh
performance 32-bit or 64-bit, burst mode, synchronous bus capable of
transfer rates of 1 32MB/s ec i n 32-bit mode or 264MB/sec in 6 4-bi t mode
using a 33 MHz clock.
Summary of Features
The following table summarizes th e characteri stics of the Raven PCI Host
Bridge.
Function Features
MPC Bus InterfaceDirect interface to MPC603 or MPC604 processors
64-bit data bus, 32-bit address bus
Four independent software programmable slave map decoders
Multi-level write post FIFO for writes to PCI
Support for MPC bus clock speeds up to 66 MHz
Selectable big or little-endian operation
3.3 V signal levels
PCI InterfaceFully PCI Rev. 2.0 compliant
32-bit or 64-bit address/data bus
Support for accesses to all four PCI address spaces
Single-level write posting buffers for writes to the MPC bus
Read-ahead buffer for reads from the MPC bus
Four independent software programmable slave map decoders
5V tolerant I/O accommodates 3.3V or 5 V signal levels
The Raven control logic is subdivided into the following functions: PCI
slave, PCI master, MPC slave and M PC master. The Raven dat a path logic
is subdivided into the following functions: Data Path ‘A’ FIFOs/muxes,
Data Path ‘B’ FIFOs/muxes, PCIADIN, MPCADIN, Mux PCI, and Mux
MPC. Address decoding is handled in the PCI Decode and MPC Decode
blocks. The control register logic is contained in the PCI Registers and
MPC Registers blocks. The interrupt controller (RavenMPIC) and the
MPC arbiter functions make up the remainder of the Raven design.
The data path function imposes some restrictions on access to the
RavenMPIC, the PCI Register s, and the MPC Regi sters. Th e RavenMPIC
and the PCI Registers are only accessible to PCI-originated transactions.
The MPC Registers are only accessible to MPC-originated transactions.
MPC Bus Interface
The MPC Bus Interface is designed to be coupled directly to up to two
MPC603 or MPC604 microprocessors as well as a memory/cache
subsystem. It uses a subset o f the capa biliti es of th e MPC60 x bus pr otocol.
MPC Address Mapping
The Raven will map either PCI memory spac e or PCI I/O space into MPC
address space using four programmable map decoders. These decoders
provide windows into t he PCI bus from t he MPC bus. The mos t significant
16 bits of the MPC address are compared with the address range of each
map decoder, and if the ad dress fal ls within the s pecified ran ge, the acces s
is passed on to PCI. An example of this is shown in
2-4Computer Group Literature Center Web Site
Figure 2-2.
Page 77
MPC Bus Address
8
0801234
16150
>=<=andDecode is
Functional Description
2
31
MSADDx Register
0809000
7
16150
31
Figure 2-2. MPC to PCI Address Decoding
There are no limits impo sed by Raven on how large of an address spac e a
map decoder can represent. There is a lower limit of a m in im um of 64KB
due to the resolution of the address compare logic.
For each map, there is an associated set of attributes. These attributes are
used to enable read accesses, enable write accesses, enable write posting,
and define the PCI transfer characteristics.
offset is added to t he 16 most s ignif icant bit s of the MPC addre ss, and the
result is used as the PCI address. This offset allows PCI devices to reside
at any PCI address, independent of the MPC addre ss map. An example of
this is shown below.
Each map decoder also inc ludes a programmable 16-bi t address offset. The
MPC Bus Address
MSOFFx Register
PCI Bus Address
0801234
8
+
9
000
=
1
0801234
16150
150
151631
31
0
Figure 2-3. MPC to PCI Address Translation
Care should be taken to assure that all programmable decoders decode
unique address ranges since overlapping address ranges will lead to
undefined operation.
MPC Slave
The MPC slave provides the interface between the MPC bus and the Raven
FIFOs. The MPC slave is responsible for tracking and maintaining
coherency to the 60x processor bus protocol.
The MPC slave divides MPC command types into three categories:
address only, write, and read. If a co mmand type is an addr ess only and th e
address presented at the time of the command is a valid Raven ad dress, the
2-6Computer Group Literature Center Web Site
Page 79
Functional Description
MPC slave will respond immediately. The Raven will not respond to
address only cycles where the address presented is not a Raven address.
The response of the MPC slave to command types is listed in
Table 2-1. MPC Slave Response Command Types
MPC Transfer TypeTransfer
Encoding
Clean Block00000Addr Only
Flush Block00100Addr Only
SYNC01000Addr Only
Kill Block01100Addr Only
EIEIO10000Addr Only
ECOWX10100No Response
TLB Invalidate11000Addr Only
ECIWX11100No Response
LWARX00001Addr Only
STWCX00101Addr Only
TLBSYNC01001Addr Only
ICBI01101Addr Only
Reserved1XX01No Response
Write-with-flush00010Write
Write-with-kill00110Write
Read01010Read
Read-with-intent-to-modify01110Read
Write-with-flush-atomic10010Write
Reserved10110No Response
Read-atomic11010Read
Read-with-intent-to-modify-atomic11110Read
Reserved00011No Response
Reserved00111No Response
Read-with-no-intent-to-cache01011Read
Reserved01111No Response
Reserved1xx11No Response
The MPC writ e FIFO stores up to eight data beats in any combination of
single- and four-beat (b urst) transactions. If writ e posting is e nabled,
Raven stores the data necess ary to co mplete an MPC write transfer to the
PCI bus and immediately acknowledges the transaction on the MPC bus.
This frees the MPC bus from waiting for the potentially long PCI
arbitration and transfer. The MPC bus may be used for more useful work
while the Raven manages the completi on of the write posted transaction on
PCI.
All transactions will be completed on the PCI bus in the same order that
they are completed on the MPC bus. A read or a compelled write
transaction will force all previously issued write posted transactions to be
flushed from the FIFO. All write posted transfers will be completed before
a non-write posted read or write is begun, to assure that all transfers are
completed in the order issued. All write posted transfers will also be
completed before any access to the Raven’s registers is begun.
MPC Master
The MPC master will att empt to move d ata using burst trans fers wher ever
possible. A 64-bit by 16 entry FIFO is used to hold data between the PCI
slave and the MPC master to ensure that optimum data throughput is
maintained. While the PCI slave is filling the FIFO with one cache line
worth of data, the MPC master can be moving another cache line worth
onto the MPC bus. This will allow the PCI slave to receive long block
transfers without stalling.
When programmed in “read ahead” mode (the RAEN bit in the PSATTx
register is set) and the PCI slave rec eives a Memory Read Li ne or Memory
Read Multiple command, the MPC master will fetch data in bursts and
store it in the FI FO. The con tents of th e FIFO wil l th en be us ed to att empt
to satisfy the data requirements for the remainder of the PCI block
transaction. If the data requested is not in the FIFO, the MPC master will
read another cache lin e. The cont ent s of the FIFO are “invalid ate d” a t t he
end of each PCI block transaction.
2-8Computer Group Literature Center Web Site
Page 81
Functional Description
Notes
1. Read ahead mode should not be used when data coherency may be
a problem, as there is no way to sn oop all MPC bus transactions and
invalidate the contents of the FIFO.
2. Accesse s near the top of local memory with read-ahead mode
enabled could cause the MPC master to perform reads beyond the
top of local memory which could result in an MPC bus timeout
error.
The MPC bus transfer types generated by the MPC master depend on the
PCI command code and the INV/GBL bits in the PSATTx registers. The
GBL bit determines whether or not the GBL* signal is asserte d for all
portions of a transaction, and is fully independent of the PCI command
code and INV bit.
Table 2-2 shows the relationship betwee n PCI command
codes and the INV bit.
Table 2-2. MPC Transfer Types
PCI Command CodeINVMPC Transfer TypeMPC Transfer SizeTT0-TT4
Memory Read
Memory Read Multiple
Memory Read Line
0ReadBurst/Single Beat01010
2
Memory Read
Memory Read Multiple
Memory Read Line
Memory Write
Memory Write and
Invalidate
Memory Write
Memory Write and
Invalidate
1Read With Intent to
Modify
xWrite with KillBurst00110
xWrite with FlushSingle Beat00010
Burst/Single Beat01110
The MPC master incorporate s an optional operating mode cal led Bus Hog.
When Bus Hog is enabled, the MPC master will continually request the
MPC bus for the entire dura tion of each PCI transfer. When Bus Hog is not
enabled, the MPC master will structure i ts bus request actions acco rding to
the requirements of the FIFO. Caution should be exerci sed when using this
mode since the over-generosity of bus ownership to the MPC master can
be detrimental to th e host CP U’s p erforma nce. The Bus Hog mode c an be
controlled by the BHOG bi t within the GCSR. T he default sta te for BHOG
is disabled.
The MPC Arbiter is an optional fe ature in the Raven, and is not used on the
MVME3600. Arbitration for the MPC bus on the MVME3600 is
performed external to the Raven.
The MPC bus timer allows t he current bus master to recover from a lockup condition caused when no slave responds to the transfer request.
The time-out length of the bus timer i s determined by t he MBT field in th e
Global Control/Status Register.
The bus timer starts ticking at the beginning of an address transfer (TS*
asserted), and if the address transfer is not terminated (AACK* asserted)
before the time -out period h as passed, the Raven will a ssert the M ATO bit
in the MPC Error Status Register, latch the MPC address in the MPC Error
Address Register, and then terminate the c cycle.
The MATO bit may be configured to generate an interrupt or a machine
check through the MEREN register.
The timer is disabled if the transfer is intended for PCI. PCI bound
transfers will be timed by the PCI master.
PCI Interface
The Raven PCI Interface is designed to connect directly to a PCI Local
Bus, and supports Master and Target transactions within Memory Space,
I/O Space, and Configuration Space.
2-10Computer Group Literature Center Web Site
Page 83
Functional Description
The PCI interface may operate at any clock speed up to 33 MHz. The
PCLK input must be externally synchronized with the MCLK input, and
the frequency of the PCLK input must be exactly hal f the frequency of the
MCLK input.
PCI Address Mapping
Raven provides three resources to PCI:
❏ Configuration registers mapped into PCI Configuration space
❏ MPC bus address space mapped into PCI Memory space
❏ RavenMPIC control registers mapped into either PCI I/O space or
PCI Memory space
Configuration Registers:
The Raven does not have an IDSEL pin. An internal connection is made
within the Raven that logi cally assoc iates the assert ion o f IDSEL wi th the
assertion of AD31.
Raven provides a configura tion spa ce th at is ful ly complia nt with the PCI
Local Bus Specification 2.0 definition for configuration space. There are
two base registers within the standard 64-byte header that are used to
control the mapping of Rave nMPIC. One regis ter is dedic ated to ma pping
RavenMPIC into PCI I/O space, and the other register is dedicated to
mapping RavenMPIC into PCI Memory space. The mapping of MPC
address space i s h andled by device s peci f ic registers located above the 64
byte header. These control registers support a mapping scheme that is
functionally similar to the PCI-to-MPC mapping scheme described in
MPC Address Mapping on page 2-4.
2
MPC Bus Address Space:
The Raven will map MPC address space into PCI Memory space using
four programmable map deco ders. The most sign ific ant 16 bits of t he PCI
address is compare d with the address ra nge of each map decoder , and if the
address falls withi n the specified range, the acce ss is passed on to the MPC
bus. An example of this is shown in
There are no limits impo sed by Raven on how large of an address spac e a
map decoder can represent. There is a lower limit of a m in im um of 64KB
due to the resolution of the address compare logic.
For each map, there is an independent set of attrib utes. These attr ibutes are
used to enable read accesses, enable write accesses, enable write posting,
and define the MPC bus transfer characteristics.
2-12Computer Group Literature Center Web Site
Page 85
Functional Description
Each map decoder also inc ludes a programmable 16-bi t address offset. The
offset is added to the 16 most significant bits of the PCI address, and the
result is used as the MPC address. This offset allows devices to reside at
any MPC address, independent of the PCI address map. An example of this
is show below.
PCI Bus Address80801234
+
PSOFFx Register
000
9
=
MPC Bus Address
1
0801234
151631
1631
16150
0
31
Figure 2-5. PCI to MPC Address Translation
2
All Raven address decoders are prioritized so that programming multiple
decoders to respond to the same address is not a problem. When the PCI
address falls into the range of more than one decoder, only the highest
priority one will respond. The decoders are prioritized as shown below.
The RavenMPIC control registers are located within either PCI Memory
or PCI I/O space using traditional PCI defined base registers within the
Raven Interrupt Controller
PCI Slave
predefined 64-byte header. Please see
Implementation
The PCI slave provides the c ontrol logic need ed to interface the PCI bus to
Raven’s FIFOs. The PCI slave can accept either 32-bit or 64-bit
transactions, however it can only accept 32-bit addressing. There is no
limit to the length of the transfer tha t the slav e can hand le. During posted
write cycles, the slave will contin ue to accept write data until the wri te post
FIFO is full. If the write post FIFO is full, the slave will hold off the master
with wait states until there is more room in the FIFO. The slave will not
initiate a disconnect. If the write transaction is compelled, the slave will
hold off the master with wait states while each beat of data is being
transferred. The slave will acknowledge the completion of the transfer
only after the data tra nsf er ha s succ essfu lly compl eted on the MPC bu s. If
a read transaction is being performed within an address space marked for
prefetching, the slave (in conjunction with the MPC master) will attempt
to read ahead far enough on the MPC bus to allow for an uninterrupted
burst transaction on the PCI bus. Read transactions within address spaces
marked for no prefetchin g will be acknowle dged on the PCI bus onl y after
a single beat read has successfully completed on the MPC bus. Each read
on the MPC bus will only be started after the previous read has been
acknowledged on the PCI bus and there is an indication tha t the PCI master
wishes for mo re data to be tran sferred.
on page 2-59 for more information.
The following paragraphs identify some associations between the
operation of the PCI slave and the PCI 2.0 Local Bus Specification
requirements.
2-14Computer Group Literature Center Web Site
Page 87
Functional Description
Command Types:
The table below shows which types of PCI cycles the slave has been
designed to accept.
The slave will acce pt any combination of byte enable s during read or wr ite
cycles. During write cycles, a discontinuity (for example, a ‘hole’) in the
byte enables will force the slave to issue a disconnect. During all read
cycles, the s lave will return an entire word of data regardless of the byte
enables. During I/O read cyc les, th e slave will per form integr ity che cking
of the byte enables against the address being presented and assert SERR*
in the event there is an error.
The slave will only honor the Linear Incrementing addressing mode. The
slave will perform a disconnect wit h data if any other mode of address ing
is attempted.
Device Selection:
The PCI slave will always respond valid decoded cycles as a medium
responder.
Target Initiated Termination:
The PCI slave normally strives to complete transactions without issuing
disconnects or retries. One exception is where the slave is performing
configuration cycles. All configuration cycles will be terminated with a
disconnect after one data beat has been transferred. Another exception is
the issue of a disconnect when asked to perform a transaction with byte
enable ‘holes’.
Fast Back-to-Back Transactions:
The PCI slave supports both of the fundamental target requirements for
fast back-to-back transactions. The PCI slave meets the first criteria of
being able to successfully track the state of the PCI bus without the
existence of an IDLE state between transactions. The second criteria
associate with signal turn-around timing is met by default since the slave
functions as a medium responder.
Latency:
The PCI slave does not have any hardware mechanisms in place to
guarantee that the initial and subsequent target latency requirements are
met. Typically this is not a problem since the bandwidth of the MPC bus
far exceeds the bandwidth of the PCI bus. The Raven MPC arbiter has been
designed to give t he highest priorit y for it’s own tra nsactions which furt her
reduces PCI bus latency.
Exclusive Access:
The PCI slave has no mechanism to support exclusive access.
2-16Computer Group Literature Center Web Site
Page 89
Functional Description
Parity:
The PCI slave supports address parity error detection, data parity
generation and data par ity error detec tion.
Cache Support:
The PCI slave does not participate in the PCI caching protocol.
PCI Write Posting
If write posting is enabled, the Raven sto res the ta rge t addr es s, att ri but es ,
and up to 128 bytes of data from one PCI write transaction and
immediately acknowled ges the transaction on the PCI bus. This allows t he
slower PCI to continue to transfer data at its maximum bandwidth, and the
faster MPC bus to accept data in high performance cache-line burst
transfers.
Only one PCI transaction may be write posted at any given time. If the
Raven is busy processing a previous write posted tra nsaction when a new
PCI transaction begi ns, t he next PCI transaction will be de la yed ( T RDY*
will not be asserte d) until the previou s transaction has compl eted. If during
a transaction the write post buffer gets full, subsequent PCI data transfers
will be delayed (TRDY* will not be asserted ) until the Raven has r emoved
some data from the FIFO. Under normal conditions, the Raven should be
able to empty the FIFO faster than the PCI bus can fill it.
2
PCI Configuration cy cles intended for internal Ra ven registers will also be
delayed if Raven is busy so that co ntrol bits which may affect writ e posting
do not change until all write posted transactions have completed.
PCI Master
The PCI master, in conju nction with the cap abilities of the MPC s lave, will
attempt to move data in either single- beat or four-bea t (burst) trans actions.
All single-beat transactions will be subdivided into one or two 32-bit
transfers, depen ding on the align ment and siz e of the t ransa ction. The P CI
master will attempt to transfer all four-beat transactions in 64-bit mode if
the PCI bus has 64 -bit mode e nabled . If at an y time d uring t he tr ans acti on
the PCI target indicates it can not support 64-bi t mode, the PCI master will
continue to transfer the remaining data in 32-bit mode.
PCI master will divide this transaction into two parts. The first part will
start on the add ress presen ted with t he CWF trans fe r requ est an d cont inue
up to the end of the curr ent cache l ine. The secon d trans fer will s tart at th e
beginning of the associated cache line and work its way up to (but not
including) the word addressed by the CWF request.
It should be noted that even though the master can support burst
transactions, a majority of the transaction types handled are single-beat
transfers. Typically PCI space is not configured as cacheable, therefore
burst transactions to PCI space would not naturally occur. It must be
supported since it is concei vable that burst ing could happen. For example,
nothing prevents the pr ocessor from loading up a ca che line with PCI write
data and manually flushing the cache line.
The following paragraphs identify some associations between the
operation of the PCI master and the PCI 2.0 Local Bus Specification
requirements.
Command Types:
The PCI Command Codes generat ed by the PCI master d epend on the type
The PCI master can support Crit ical Word First (CWF) burst tra nsfers. The
of transaction bein g performed on the MPC bus. Ple ase refer to
MPC Slav e
on page 2-6 for a further descri ption of M PC bus re ad and MPC bus wri te.
Table 2-4 summarizes the command types supported and how they are
The PCI maste r will generate all memory transa ctions using the linear
incrementing addressing mode.
Combining, Merging, and Collapsing:
The PCI master does not participate in any of these protocols.
2
Master Initiated Termination:
The PCI master can handle any defined method of target retry, target
disconnect, or target abort. If the target responds with a retry, the PCI
master will wait for the required two clock periods and attempt the
transaction again. This will continue indefinitely until the transaction has
completed, the transaction is aborted by the target, or if the transaction is
aborted due to a Raven detected bridge lock. The same happens if the
target responds with a disconnect and there is still data to be transferred.
If the PCI master detects a target abort during a read, any untransferred
read data will be filled with ones. If the PCI master detects a target abort
during a write, any untransferred portions of data will be dropped. The
same rule applies if the PCI master generates a Master Abort cycle.
The PCI master can support pa rking on the PCI bus. If the PCI ma ster starts
a transaction tha t is goi ng to take more than one b eat , the PCI m as ter will
continuously asse rt its request u ntil the transac tion has complete d. The one
exception is when the PCI master receives a disconnect or a retry.
Fast Back-to-Back Transactions:
The PCI master does not generate fast back-to-back transactions.
Arbitrat ion Latency:
Because a bulk of the transactions are limited to single-beat transfers on
PCI, the PCI master does not implement a Master Latency Timer.
Exclusive Access:
The PCI master is not able to initiate exclusive access transactions.
Address/Data Stepping:
The PCI master does not participate in the Address/Data Stepping
protocol.
Parity:
The PCI master supports address par ity generation , data parit y generation,
and data parity error detection.
Cache Support:
The PCI master does not participate in the PCI caching protocol.
Generating PCI Cycles
There are four basic types of bus cycles that can be generated on the PCI
bus:
❏ Memory and I/O
❏ Configuration
❏ Special Cycle
2-20Computer Group Literature Center Web Site
Page 93
Functional Description
❏ Interrupt Acknowledge
Generating PCI Memory and I/O Cycles
Each programmable slave may be configured to generate PCI I/O or
memory accesses th rough the MEM and IOM fiel ds in its Attribute re gister
as shown below.
MEMIOMPCI Cycle Type
1xMemory
00Contiguous I/O
01Spread I/O
If the MEM bit is set, the Raven will perform Memory addressing on the
PCI bus. The Raven will take the MPC bus address, apply the offset
specified in the MSOFFx register, and map the result directly to the PCI
bus.
The IBM CHRP specification describes two approa che s f or handling PCI
I/O addressing: contiguous or spread address modes. When the MEM bit
is cleared, the IOM bit is used to sele ct between these two modes whenever
a PCI I/O cycle is to be perfor m ed.
2
The Raven will perform contiguous I/O addressing when the MEM bit is
clear and the IOM bit is clear. The Raven will take the MPC address, apply
the offset specified in the MSOFFx register , and map the result directly to
PCI.
The Raven will perfor m sprea d I/O a ddress ing when th e MEM bi t is clear
and the IOM bit is set. The Raven will take the MPC address, apply the
offset specified in the M SOFFx register, and map the result to PCI as
shown in Figure 2-6.
Spread I/O addressing allows each PCI device’s I/O registers to reside on
a different MPC memory page, so device drivers can be protected from
each other using memory page protection.
All I/O accesses must be performed within natural word boundari es. Any
I/O access that is not contai ned within a nat ural word boun dary will resul t
in unpredictable operation. For example, an I/O transfer of four bytes
starting at address $80000010 is considered a valid transfer. An I/O
transfer of four bytes starting at address $80000011 is considered an
invalid transfer since it crosses the natural word boundary at address
$80000013/$80000014.
Generating PCI Configuration Cycles
The Raven uses configuration mechanism #1 as defined in the PCI Local
Bus Specificati on 2.0 t o gene rate conf igu ratio n cyc les. Ple ase r efer to this
specification for a complete description of this function.
Configuration mechanism #1 use s an address register /data register for mat.
Performing a configur ation acce ss is a two step process . The first st ep is to
place the address of the configuration cycle within the
CONFIG_ADDRESS register. Note th at this acti on does not generate a ny
cycles on the PCI bus. The second step is to either read or write
2-22Computer Group Literature Center Web Site
Page 95
Functional Description
configuration data into the CONFIG_DATA register. If the
CONFIG_ADDRESS register has been set up correctly, the Raven will
pass this access on to the PCI bus as a configuration cycle.
The addresses of the CONFIG_ADDRESS and CONFIG_DATA registe rs
are actually embedded withi n PCI I /O space. If the CONFIG_ADDRESS
register has been set incorrectly or the access to either the
CONFIG_ADDRESS or CONFIG_DATA register is not 1,2, or 4 bytes
wide, the Raven will pass the access on to PCI as a normal I/O Space
transfer.
The CONFIG_ADDRESS register is located at offset $CF8 from the
bottom of PCI I/O space. The CONFI G_DATA register is l ocated at offset
$CFC from the bottom of PCI I/ O space . The Raven add ress decod e logi c
has been designed such that MSADD3 and MSOFF3 must be used for
mapping to PCI Configuration (consequently I/O) space. The
MSADD3/MSOFF3 register group is initialized at reset to allow PCI I/O
access starting at address $800 00000. The powerup location ( for example,
little-endian disabl ed) of the CONFIG_ADDRES S register is $800 00CF8,
and the CONFIG_DATA register is located at $80000CFC.
The CONFIG_ADDRESS register must be prefilled with four fields: the
Register Number, the Funct ion Number, th e Device Number , and the Bus
Number.
2
The Register Number and the Function Number get passed along to the
PCI bus as portion of the lower address bits.
When performing a configur at ion cycle, Raven uses the uppe r 20 address
bits as IDSEL lines. During the address phase of a configuration cycle,
only one of the upper addre ss bits will be set. The device that ha s its IDSEL
connected to the address bit being asserted will be selected for a
which of the upper address lines to assert. The decoding of the five-bit
Device Number is show as follows:
configuration cycle. Raven decodes the Device Number to determine
Device NumberAddress Bit
00000AD31
00001 - 01010All Zeros
01011AD11
01100AD12
(etc.)(etc.)
11101AD29
11110AD30
11111All Zeros
The Bus Number determines which bus is the target for the configuration
read cycle. Raven will always host PCI bus #0. Accesses that are to be
performed on the PCI bus connected to the Raven must have zero
programmed into the Bus Number. If the configuration access is targeted
for another PCI bus, th en that bus numbe r shoul d be pr ogrammed i nto th e
Bus Number field. The Raven will det ect a non- zero fiel d and conve rt the
transaction to a Type 1 Configuration cycle.
Generating PCI Special Cycles
Raven supports the method sta ted in PCI Local Bus Specificatio n 2.0 using
Configuration Mechanism #1 to generate special cycles. To prime Raven
for a special cycle, the host processor must write a 32 bit value to the
CONFIG_ADDRESS register. The contents of the write are defined later
in this chapter under the CONFIG_ADDRESS register definition. After
the write to CONFIG_ADDRESS has been accomplished, the next write
to the CONFIG_DATA register causes the Raven to generate a special
cycle on the PCI bus. The write data is driven onto AD[31:0] during the
special cycle’s data phase.
2-24Computer Group Literature Center Web Site
Page 97
Functional Description
Generating PCI Interrupt Acknowledge Cycles
Performing a read from the PIACK register will initiate a single PCI
Interrupt Acknowledge cycle. Any single byte or combination of bytes
may be read from, and the act ual byte enable pat te rn used during the re ad
will be passed on to the PCI bus. Upon completion of the PCI interrupt
acknowledge cycle, the Raven will p resent the result ing vector inform ation
obtained from the PCI bus as read data.
Endian Conversion
The Raven supports both bi g- and little-end ian data formats . Since the PCI
bus is inherently little-endian, conversion is necessary if all MPC devices
are configured for big-endian operation. The Raven may be programmed
to perform the endian conversion described below.
When MPC Devices are Big-Endian
When all MPC devices are oper ating in big -endia n mode, al l data to/fro m
the PCI bus must be swapped s uch that t he PCI bus lo oks big-en dian from
the MPC bus’s perspective. This association is true regardless of whether
the transaction ori ginates on the PCI bus or the MPC bus. This is shown in
When all MPC devices are operat ing in little- endian mode, the or iginating
address is modified to remove the exclusive-ORing applied by MPC60x
processors before being passed on to the PCI bus. Note that no data
swapping is performed. Address modification happens to the originating
address regardless of whether the transaction originates from the PCI bus
2-26Computer Group Literature Center Web Site
Page 99
Functional Description
or the MPC bus. The t hree low or der address bits are exc lusive-ORed wi th
a three-bit value that depends on the length of the operand, as shown
below.
Table 2-5. Address Modification for Little-Endian Transfers
Data Length
(bytes)
1XOR with 111
2XOR with 110
4XOR with 100
8no change
Address Modification
NoteThe only legal data lengths su pported in little-e ndian mode are 1,
2, 4, or 8-byte aligned transfers.
Since this method has some difficulties dealing with unaligned PCIoriginated transfers, the Raven MPC master will break up all unaligned
PCI transfers into multiple aligned PCI transfers into multiple aligned
transfers on the MPC bus.
2
Raven Registers
The Raven registers are not sensitive to changes in big-endian and
little-endian mode. With re spect to the MPC bus (but not always the
address internal to the processor), the MPC registers are always
represented in big-endian mode. This means that the processor’s internal
view of the MPC registers wi ll appear diff erent dependi ng on which mode
the processor is operating in.
With respect to the PCI bus, the RavenMPIC registers and the
configuration registers are always represented in little-endian mode.
represented in PCI space to the processor and are subject to the endian
functions. For example, the power up location of the CONFIG_ADDRESS
register with respect to the MPC bus is $80000cf8 when Raven is in bigendian mode. When Raven is switched to little-endian mode, the
CONFIG_ADDRESS register with respect to the MPC bus is $80000cfc.
Note that in both ca ses the a ddress gene rated in terna l to the pr ocessor wi ll
be $80000cf8.
The contents of the CONFIG_ADDRESS register are not subject to the
endian function.
The data associated with PIACK accesses is subject to the endian
swapping function. The addr ess of a PIACK cycle is undefined, therefore
address modification during little-endian mode is not an issue.
Error Handling
The Raven will be capable of de tecti ng and re porti ng the f ollowi ng error s
to one or more MPC masters:
The CONFIG_ADDRESS and CONFIG_DATA registers are actually
❏ PCI master received target abort
❏ PCI parity er ror
❏ PCI system error
Each of these error condi tions wil l cause an err or st atus bi t to be se t in th e
MPC Error Status Register. If a second error is detected while any of the
error bits is set, the OVFL bit is asserted, but none of the error bits are
changed. Each bit in the MPC Error Status Register may be cleared by
writing a 1 to it; writing a 0 to it has no effect. New error bits may be set
only when all previous error bits have been cleared.
When any bit in the MPC Error St atus register is set, the Raven will
attempt to latch as much information as possible about the error in the
MPC Error Address and Attribute Registers. Information is saved as
follows:
2-28Computer Group Literature Center Web Site
Loading...
+ 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.