Académique Documents
Professionnel Documents
Culture Documents
r sEMlcoNDucToR";
TECHNICALDATA
MC68882
TechnicalSummary
HCMOSEnhanced
Floating-Point
Goprocessor
The MC68882floating-pointcoprocessorfully implementsthe lEl
for Binary Floating-Point Arithmetic (754) for use with the Motor
Familyof micioprocessors. An upgradeof the MC68881,'itis pin a
compatiblewith an optimizedmicroprocessorunit (MPU) interfac
in excessof 1.5times the performanceof the MC68881.lt is implem
VLSItechnologyto give systemsdesignersthe highestpossiblef
in a physically'smalldevice.
This document contains information on a new product. Specifications and information herein are subject to change wit
5-96 tffi8OOO.FAMILYtrETERENCE
Mfi$UAL MOTOROLA
"---%
'''':'''-";+S&'fifi,.l|l::':'**-*"*!ffi$1sFF?ae:-"r..1
THECOPROCESSOR
CONCEPT
The MC68882functions as a coprocessorin systems where the MC€
MC68030is the main processor.lt functionsas a peripheralprocesso
tems where the main processoris the MC68000,MC6S008,or MC680'
MOTOROLA MANUAL
M68MO FAMILYREFERENCE 5,.97
A fundamentalgoal of the M68000Family coprocessorinterfaceir
the programmerwith an executionmodel based upon sequential
executionby the MC68020/MC68030 and the MC68882,For optimu
ance, however,the coprocessorinterfaceallows concurrentopera
MC68882with respectto the MC68020/MC68030 whenever possible
the programmer'smodel,the coprocessorinterfaceis designedto
closelyas possible,nonconcurrentoperationbetweenthe MC680:
and the MC68882.
s-98 M88OMFAMILYREFERENCE
MANUAL MOTOROLA
--
HARDWARE
OVERVIEW
The MCOS882isa high-performance floating-pointdevicedesignedto i
with the MC68020/MC68030 as a coprocessor.This devicefully supp
MCGS020/MC68030 virtualmachinearchitectureand is imptementedin ]
Motorola'slow-powersmall-geometryprocess.This processallowsCIV
HMOS (high-density NMOS)gatesto be combinedon the samedevice
structuresare usedwhere speedand low power are required,and HMC
tures are used where minimum siliconarea is desired.Usingthis tecl
increasesspeed while using low-power consumption,yet still confi
MC68881to a reasonablysmall die size.
FP2
FP3
FLoATI{GPoNNT
DATAREGTSTERS
FP4
FP5
FP6
FPl
FFCRCO.TTROL
REGISTER
FHARITSTRT'CIION
ADDRESS
REGISTER
Figure1. ProgrammingModel
II.IE)(ACT DECIMATINPI'T
ti€(AcT@ERATto{
DIVIDE BYZErc
tfr\DEtrLOUV
ovERFLOU{
@ERAI\DERROR
SIGMU}GI{OTANIJMBER
BRAl,lC I't/SEtONUI'IORDERED
Figure2. ExceptionStatus/EnableByte
RCX,$fDlt-lG
IIODE:
OOTONEAREST
01 TOI'ARDZERO
10 TOWARD INFINITY
MINI.|S
11 TOWARD PLUSII.IFINITY
ROtf.lDll,lc PRECI
SlO.l:
M EXTENDED
01 slNGLE
t0 DotBLE
11 (UilDEF|NED, RESERVED)
0 N z I NAI{
I NOTANt.[ilBERORU]{ORDERED
tlstNtw
ZERO
NEGATIVE
s OUONENT
SEVENTEASTSIGNIFICAI.{T
BITSOFOI'OTIENT
SIGNOFOUOTIENT
Figure5. OuotientByte
ll,lE)(ACT
DIVIDE 8YZERO
UhDERFLOW
OVERFLOW
IT.TVAIJDOPERATION
MOTOROLA M68OOO
FAMILYREFERENCE
MANUAL 5-101
The connectionbetweenthe MCOS020/MC68030 and the MC68882is t
extensionof the M68000bus interface.The MC68882is connected?s i
cessor to the MC68020/MC68030, and the selection of the MC68882i
on a chip select,which is decodedfrom the MC68020/MC68030 functio
and addressbus. Figure 7 illustratesthe MPU/coprocessor configurati
BUSEXTEI.ISI
5-102 MANUAL
[,F8OM FAMIIV REFERENCE MOTOROLA
=t
o.
' t {
,
, / \
s]
(,
nr ,1\t. 9
o
=
3
E o
o G
-
cc
tr,
z.
UI
(5
Y
(J
o
o
all ()
o-
:L
6
g_
=
, o
CE
z
U:lljlHS
SU:llSlg3U
AUVUOdffiT
,TT
U:tlJlHS'l3UUVg
E
o
E
s
.L ctt
L
lr.
l- .U .g
t€
fioutlwtsNoS GE
o
ct)
o-
r! J
c
'o (,
u, trt 0ssruvn)
(L
rr- e
o
o o
o
(J
o
o
su3lsr93u
vlvolNtod9Ntrvolj T'
u, o
Hf
1
. I
rh
6E 66 rN3Nodxr =
o
UJ ()
FO-
=
F('
gH Ct
J<
vro
o
q.
G
F-
ct,
z,
OE
F
CO
z. L -
I
I
.l .E
o
= IF
JtT -1
T 3
t1 {
ct
a-
l!
o
L
3
ctt
]E
lr!
@ tu, v
lr!
lc
G,
6
ct, G
()
g g)
U,
CE G
G
o
5
o-
|rl
E
F
o
6- r8 G
o
o
6
u,
G
o
u,
ct,
z,
ut
at,
z. E IE
o
o
ul
uf
?B
L;z,
= J
EZ ,
oo
C)
o
=
U'
G
G
o rr, o o
5 z.
Itr
FUJ
<:) 2E
zfr
(L cc
= o
f?*
lrIFC'
o
o
CD
|rJ
CE
U'
4
ct,
ut
G
a
ut
(E
Lr-
=)
v,
F
o
3
c'
ur
F
L
(9 .=
ctE
'6 K
o
F()F
=y= l-
C"
U'
tr,
E =
o
z, o
5 H8
II
YAEY. \
l
.-iiFr()
laaFt
9cDti
>lcto
=t!
()
6G [ . t.
I.
frfr
J
{}
rsl
( J O
5 t l l 9 6
C' (ov*vlss3uoov
I
bo-ao)vlvo
M.OTOROLA M68OOO
FAMILY REFERENCE
MANUAL 5-103
The BIU containsthe coprocessorinterfaceregisters(ClRs).In a
registerselect and DSACKtiming control logic and the status fl
monitor the statusof communicationswith the main processorat
in the BlU.
BUSINTERFACE
UNIT
Afl communicationsbetweenthe MC680201MC68030 and the MC'
via standardM68000Familybus transfers.The MC68882is designe
on 8-, 16-,or 32-bitdata buses.
5-104 M68OOO
FAMILY REFERENCE
MANUAL MOTOROLA
The only difference between a coprocessorbus transfer and an
transfer is that the MC68020/MC68030 issuesa CPU addressspi
code during the cycle function codes are generatedby the MOt
processorsto identifyeight separateaddressspaces.Thus,the mem
ClRsdo not infringeupon instructionor data addressspaces.Th
MC68030placesa coprocessorlD field from the coprocessorinstt
three of the upper addresslines during coprocessoraccesses.Thir
CPU addressspacefunction code are decodedto selectone of (
cessorsin the system.
COPROCESSOR
INTERFACE
The M68000Family coprocessorinterfaceis an integralpart of tl
and MC68020/MC68030 designs.The interfacepartitionsMPU and
operationsso that the MC680201MC68030 does not haveto complt
coprocessorinstructionsand the MC68882does not have to dul
processorfunctions(suchas effectiveaddressevaluation).
MOTOROLA FAMILYREFERENCE
M68OOO MANUAL 5-105
Although the M68000Famifycoprocessorinterfacepermits coprocessc
bus masters,the MC68882is never a bus master.The MC68882requr
the MC680201MC68030 fetch all operandsand store all results.In this r
the MC680201MC68030 32-bitdata bus provideshigh-speedtransferof 1
point operandsand resultswhile simplifyingthe designof the MC688
DATAFORMATS
OPERAND
The MC68882supportsthe following data formats:
Byte Integer(B)
Word Integer(W)
Long-WordInteger(L)
S i n g l e - P r e c i s i oRne a l( S )
Double-Precision Real(D)
Extended-Precision Real(X)
PackedBCDString Real(P)
The capitalletterscontainedin parenthesesdenote suffixesadded to
tions in the assemblylanguagesourcethat specifythe data format to I
MOTOROLA MANUAL
FAMII.Y REFERENCE
M68OOO 5-107
INTEGER
DATAFORMATS :
FLOATING-POINT
DATAFORMATS
The floating-pointdataformats,singleprecision(32 bits)and dout
(64 bits),are definedby the lEEE754standard.Thesedataformatsi
floating-pointformatsand shouldbe usedfor most calculationsin
numbers.Table l liststhe exponentand mantissasizefor single,
extendedprecision.The exponentis biased,and the mantissais
m a g n i t u d ef o r m . S i n c es i n g l ea n d d o u b l e p r e c i s i o nr e q u i r en o r m
bers,the most significantbit of the mantissais implied as a on(
included,thus giving one extra bit of precision.
5-108 M68OOO
FAMILYREFERENCE
MANUAL MOTOROLA
Extended-precision numbersare intendedfor use as temporarrT vari
mediatevalues,or in areaswhere extra precisionis needed.^ For
compilermight selec{extended-precision arithmeticfor evaluatior
side of an equationwith mixed.sizeddata and then convertthe ar
data type on the left side of the equation.Extended-precisiondatt
stored in large arraysdue to the amount of memory required by
PACKEDBCDSTRINGDATA FORMAT
This data format allows packedBCDstringsto be transferredto a
MC68882. The stringsconsistof a 3-digitbase-10exponentand a 1'
10 rnantissa.Boththe exponentand mantissahavea separatesign
are packed BCD;an entirestring fits in 96 bits (threelong words).
formats, when packedBCD strings are suppliedto the MC68882
are automaticallyconvertedto extended-precision realvalues,allot
BCD numbersto be used as inputs to any operation.For examplt
FADD.P #-6.023E+ 24,FP5
DATAFORMATSUMMARY
All dataformatspreviously
describedaresupportedorthogonally
meticandtranscendentaloperations MC680
andby all appropr:iate
addressing modes.Forexample,all of the followinginstructions
FADD.B #O,FPO
FADD.W D2,FP3
FADD.L BIGINT,FPT
FADD.S #3.14159,FP5
FADD.D (SP}+,FP6
FADD.X t(ffiMP-PTR,A7ll,FP3
FADD.P #1.23E25,FP0
MOTOR'OLA MANUAL
fAMILY REFEHENCE
M68OOO 5-109
Most on-chipcalcufationsare performedin the extended-precision forr
the eight floating-pointdata registersalways contain extended-precis
ues. Alf operands used are convertedto extended precisionby the t!
before a specificoperation is performed,and all results are in extent
cision. The use of extended precision ensures maxirfum accuracy
sacrificing performance.
Referto Figure I for a summary of the memory formats for the sev
formats supported by the MC68882.
BYTEIMEGER
15
E**'NTEGER
32HTS Lq{G-UVORE
II.{TEGER
&BIT a$T
EXP. FRACTIO}I Sll.Gl.EREAL
I srcNoFFRAcTToN
11-BtT 52BIT
EXP. FRACNON DO|.JBI.E
REAL
EXTENDEO
REAL
I rMPucrr
BTNARY
PorNT
PACKED
BCDREAL
l- n pucNTDEcTMAL
porNT
I I I'
| -| 2 B|TS,USEDONLYFORflNFtNtTyORNAitS,ZEROOTHERWTSE
I StcNOFEXPONENT
I_ SIGNOFMA}.INSSA
'UNLESS
ABtNARy-To-DEctMAL
coNVERStoN
ovERrtowoccuRs
5-110 MO8Ofi}FAT,IILY
REFERENCE
MANTIAL MOTOROLA
,INSTRUCTION
SET
:
The MC688S2lnstructionset is organizedinto six major classes:
1. Moves between the MC68882and memory or the MC680201I
and out)
2. Move multiple registers(in and out)
3. Monadicoperations
4. Dyadicoperations
5. Branch,set, or trap conditionally
6. Miscellaneous ' j
MOVES
On all rnoves from memorv (or.frorn an MC68020/MC68030 data
the MC68882,data is converted from the' source data forrnat to
extended-precision format. On all moves from the MC68882to ml
an MC680201MC68030 data register), data is converted from
extended-precisionformat to the destinationdata format. Note'tha'
ment instructionsperform arithmetic operationssince the resu
roundedto the precisionselectedin the FPCRmode control byte.
rounded using the selectedrounding mode and is checkedfor o
u nderflow.
MOVEMULTIPLE
REGISTERS
The floating-pointmove multiple instructionson the MCOS882 al
the integer counterpartson the M68000 Family processors.An'
floating-pointregistersFP0-FP7can be moved to or from memc
instruction.These registersare always moved as 96-bit extendedr
conversion(no possibilityof conversionerrors).Some examples
multipleinstructionare as follows:
FMOVEM <ea>,FPO-FP31FP7
FMOVEM FP2|FP41FP6,{ea)
MOTOROLA MANUAL
M68flXI FAMILYREFERENCE 5-1:l1
The move multiple instructionsare useful during context switchr
rupts to save or restorethe state of a program. These moves ar€
at the start and end of a procedureto save and restore the regist
calling routine. To reduce procedurecall overhead,the list of re1
saved or restoredcan be containedin a data register,thus enabli
optimizationby allowing a calledroutineto save as,few registers
Note that no rounding or overflow/underflowcheckingis perform
operations.
MONADICOPERATIONS
Monadicoperationshaveone operand.Thisoperandmay be in a ff
'
data register,memorv, or in an MC680201MC68030 data register.
always stored in a floating-pointdata register. For example, thr
squareroot is one of the following:
FSORT.(frnt> <ea>,FPn
FSORT.X FPm,FPn
FSORT.X FPn
5-112 ITIT6SU{X}
FAMILY REFERENCE
MANUAL MOTOROLA
The availableMC68882 monadicoperations areas follows:
FABS AbsoluteValue
FACOS Arc Cosine
FASIN Arc Sine
FATAN Arc Tangent
FATANH Hyperbolic Arc Tangent
FCOS Cosine
FCOSH Hyperbolic Cosine
FETOX e to the x Power
FETOXM1 e to the x Power- 1
FGETEXP GetExponent
FGETMANGetMantissa
FINT IntegerPart
FLINTRZ IntegerPart(Truncated)
FLOG 10 LogBase10
FLOG2 Log Base2
FLOGN Log Basee
FLOGNP1 Log Basee of (x+ 1)
FNEG Negate
FSIN Sine
FSINCOS Simultaneous SineandCosine
FSINH Hyperbolic Sine
FSORT SquareRoot
FTAN Tangent
FTANH Hyperbolic Tangent
FTENTOX 10to the x Power
FTST Test
FTWOTOX2 to the x Power
MOTOROLA MANUAL
FAMILY REFERENCE.
M68OOO 5-113
DYADICOPERATIONS
Dyadicoperationshave two operandseach.The first operandis i
point data register,mem ory,or an MC68020/MC68030 data register,
operandis the contentsof a floating-pointdata register.The destir
same floating-pointdata registerused for the second operand.F
the syntaxfor floating-pointadd is as follows:
FADD.<fmt) <ea>,FPn
FADD.X FPm,FPn
BRANCH,
SET,ANDTRAPON CONDITION
The floating-pointbranch,set,and trap on conditioninstructionsir
by the MC68882aresimilarto the equivalentintegerinstructionsof
Family processors,except more conditionsexist due to the speci
IEEEfloating-pointarithmetic.When a conditionalinstructionis e:
MC68882 performs the necessarycondition checking and rep
MC680201MC68030 whetherthe conditionis true or false.The MC680
then takesthe appropriateaction.Sincethe MC68882and MCOBO:
are closelycoupled,the floating-pointbranchoperationsexecuter
5-114 M68OOO
FAMILY REFERENCE
MANUAL MOTOROLA
Table2. Floating-Point
Conditional
fest Specifiers
Mnemonic Definition
NOTE
The following conditional tests do not set the BSUN
bit in the status register exception byte under any
circumsta nces.
F False
EO Equal
OGT OrderedGreaterThan
OGE OrderedGreaterThanor Equal
OLT OrderedLessThan
OLE OrderedLessThan or Equal
OGL OrderedGreateror LessThan
OR Ordered
UN Unordered
UEO Unorderedor Equal
UGT Unorderedor GreaterThan
UGE Unorderedor Greateror Equal
ULT Unorderedor LessThan
ULE Unorderedor Lessor Equal
NE Not Equal
T True
NOTE
All the followingconditionaltestssetthe BSUNbit
E
in the statusregisterexceptionbyteif the NANcon-
ditioncodebit is setwhen a conditionalinstruction
is executed.
SF SignalingFalse
SEO SignalingEqual
GT GreaterThan
GE GreaterThanor Equal
LT LessThan
LE LessThanor Equal
GL Greateror LessThan
GLE Greater,Less,or Equal
NGI-E Not (Greater,Less,or Equal)
NGL Not (Greateror Less)
NLE Not (Lessor Equal)
NLT Not (LessThan)
NGE Not (Greateror Equal)
NGT Not (GreaterThan)
SNE SignalingNot Equal
ST SignalinTg rue
MOTOROLA M68OOO
FAMILYREFERENGE
MANUAL 5-115
MISCELLAN
EOUSINSTRUCTIONS
Miscellaneousinstructions
includemovesto andfrom the status,
instructionaddressregisters.
Also includedarethe virtualmemr
FSAVEand FRESTORE instructions
that saveand restorethe inte
the Mc68882:
FMOVE <ea>,FPcr Moveto ControlRegister(s)
FMOVE FPcr,<ea> Movefrom ControlRegister(s)
FSAVE <ea> VirtualMachineStateSave
FRESTORE <ea> VirtualMachineStateRestore
ADDRESSING
MODES
The MC68882does not perform address calculations.Thus, if the t!
instructsthe MC680201MC68030 to transfer an operand via the copl
interface,the MC68020/MC68030 performs the addressingmode calc
requestedin the instruction.In this case,the instructionis encodedsp€
for the MC68020/MC68030, and the execution of the MC68882is det
only on the value of the command word written to the MC68882by tl
processor.
MOTOROLA M68OOO
FAMITYREFERENCE
MANUAL 5-117
FUNCTIONAL
SIGNALDESCRIPTIONS
The following paragraphscontaina brief descriptionof the input an(
signalsfor the MC68882floating-point
coprocessor.The signalsarefunt
organizedinto groupsas shown in Figure10.
Figure10.FunctionalSignalGroups
NOTE
The terms assertionand negationare used extensively to, avoid
.onfusionyhen describllgactive-low and active-high sign
tOrmassertor assertionis usedto indicatethat a signalis activeor
5 - 11 8 M6800OFAMIIV REFERENCE
il'IANUAL s40ToRot_A
Table3. Goprocessorlnterface
RegisterSelection
A4=AO Offset width TYpe Register
0000x $00 16 Read Response
0001x $02 16 Write Control
0010x $04 16 Read Save
0 0 11 x $06 16 nlw Restore
0100x $08 16 (Reserved)
0 1 0 1 x $0A 16 Write Command
0110x $0c 16 (Reserved)
0:l11x $0E 16 Write Condition
100xx $10 32 nn[ Operand
1010x $14 16 Read RegisterSelect
1 0 1 1 x $16 16 (Reserved)
11Oxx $18 32 Read InstructionAddress
1 1 1 x x $1C 32 nnil OperandAddress
DATABUS(DO-D31}
This 32-bit, bidirectional,three-statebus serves as the general-p
path betweenthe MC68020/MC68030 and the MC68882,Regardles:
the MCOS882is operated as a coprocessoror a peripherafprocess
processortransfersof instructioninformation, operand data, stal
tion, and reguestsfor service occur as standard M68000 bus cyclt
MOTOROLA MESOOO
FAISILYREFEREilCCMATUUAL 5-119
slzE(slzEl
This active-lowinput is used in conjunctionwith the A0 pin to cr
MC68882for,operationover an 8-, 16-, or,32-bitdata bus. When tl
is configuredto operateover a 16- or 32-bitdata bus, ffiE and A0 I
high and/or low as listed in Table4.
ADDRESS (re}
STROBE
This active-lowinput indicatesa valid addresson the address br
signalsfor chip select(6) and read/write(RAil).
(CSI
CHIPSELECT
This active-lowinput enablesthe main processoraccessto the M(
When operatingthe MC68882as a peripheralprocessor,the chip-sr
is system dependent(i.e.,like the chip selecton any peripheral).
H (RM}
READ/WRITE
This input indicatesthe directionof a bus transaction(read/write)
processor.A logic high (1)indicatesa readfrom the MC68882,ant
(0) indicatesa write to the MC68882.The RRVsignal must be val
is asserted
DATASTROBE{DSI
This active-lowinput indicatesis valid data on the data bus during
cycle.
(DSACKO,
DATATRANSFERAND SIZEACKNOT'\ILEDGE DSACK1I
Theseactive-low,three-state
outputsindicatethe completionof a !!q
themainprocessor.TheMc68882assertsbothffiandDffiI
assertionof CS.
5-120 M68OOO
FAMILY REFERENCE
MANUAL MOTOROLA
The MC68882 afsousesDSCK-Oand meKT signalsto dynamically
to the MC68020/MC68030 the port size(databus width) on a cycle-l
basis.Depending uponwhichof the ESACKxpins is assertedin a gi'
cycle,the MC680201MC68030 assumesdata has beentransferredto/,
8-, 16-,or 32-bitdataport.Table5 liststhe DSCKx assertions that a
by the MC68882 for the variousbus cyclesoverthe variousdatabus
urations.
Table5. DSACKx,
Assertions
Data Bus A4 DSACKl DSACKO Comments
'Low
32-Bit 1 Low Valid Dataon D31-D0
32-Bit 0 Low High Val d Dataon D31-D16
16-Bit x Low High Val d Dataon D31-D16or D15-D0
8-Bit x High Low Val d Dataon D31-D24,D23-D16,D15-D8,or D7-D0
Atl x High High InsertWait Statesin CurrentBus Cycle
RESET(RESET}
This active-lowinput causesthe MC68882to initi alizethe floating-po
registersto non-signalingnot-a-numbers (NANs)and clearsthe floatil
control, status,and instructionaddressregisters.
CLOCK(CLK}
The MC68882clock input is a TTl-compatiblesignalthat is interni
f o r d e v e l o p m e n to f t h e i n t e r n a lc l o c k s i g n a l s .T h e c l o c k i n p u t :
constant-frequency squarewave with no stretchingor shapingte,
quired. The clock should not be gated off at any time and must
m i n i m u m a n d m a x i m u m p e r i o da n d p u l s e - w i d t ht i m e s .
(ffi}
SENSEDEVICE
l ND pin or as
T h i s p i n m a y b e u s e d o p t i o n a l l ya s a n a d d i t i o n a G
to externalhardwarethat the MC68882is presentin the system.1
internallyconnectedto the GND of the die, but it is not necessar
(VCCand GNDI
POWER
These pins providethe supply voltage and system referencelev,
ternal circuitryof the MCOS882Careshould be takento reduceth
on these pins with appropriatecapacitivedecoupling.
NO CONNECT(NC}
One pin of the MC68882packageis designatedas a no connect(N(
for future use by Motorola,this pin should not be used for signe
connectedto VCCor GND.
5-122 MANUAL
FAMILY REFERENCE
M68OOO MOTOROLA
SIGNALSUMMARY
Table6 providesa summaryof all MC68882signalsdescribedin 1
paragraphs.
METHODS
INTERFACING
The following paragraphsdescribehow to connectan MC68882tc
Family processor.
INTERFACING
MC6S882TO MC68020/MC68030
The following paragraphsdescribehow to connectthe MC68S82to i
MC68030for coprocessoroperationvia an 8-, 16-,or 32-bitdata k
MOTOROLA MANUAL
FAMILY REFERENCE
M68OOO. 5-123
FCz-FCo
A31-420
A19-A16
cs
A1SA13
At2-A5 ffi
A4-41 A4.41
AO AO
o
92
E A S tr
t
o
D s DS
I R/W Rm
B
= 031024 031-D21
Dn-016 DA-U6
Dls-D8 Dl$08
D7.DO D7-m
DSACKO DSAC|O
DSACKl DffiT
MAINPROCESSOR COFMCESSOR
CLOCK CLOCK
Figure11.32-BitDataBusCoprocessor
Connestion
is F s
DE F
lrr,
F 6
=
R/i[- Hrw-
l,lAlNPROCESSOR coPRocEssoR
CLOCK CLOCK
8-Bit DataBusGoprocessor,Connection
Figure 13 illustratesthe connectionof an MC68882to an MC680
as a coprocessorover a,n8'.bitdata bus. The MC68882is configure
over an 8-bit data bus when ffiE is connectedto GND.The 24 lear
data pins (D0-D231must be connectedto the eight most significa
(D24-D31)when the MC68882is configuredto operateover an 8-
(i.e.,connectD0 to D8, D16, and,D24;D1 to D9, D17,and D25i .,
D15,D23,and D31).The DSACKxping of thrygSgyices are directll
although it is not necessaryto connect DSACK1since the MC(
assertsit in this configuration.
MOTOROLA M68OOO
FAMILYREFERENCE
MANUAL 5-125
FC2.FCI
431-420
A1$A16 6
415-A13
. 412-A5 SE
A1-41 44.41
, l p AO
o
6D
E A S tr
E o E DS
g R m Bm.
6
= m1-024 031{)2{
DE-016 DE-016
01$08 01$08
o7-00 07-D0
DSACKO DSAOO
DSACKl DSAOfi
MAINPROCESSOR coPRocEssoR
CLOCK cLocf(
MC68882TO MC68000/MC6800SIr$C6s01
0 INTERFACTNG
Thefbllowingparagraphs
describehow to connectthe MC68882 to t
MC680S8/MC68010 processorfor operation'ES,
o per,ipheral
via an
databus.
5-126 MO8MOFAfiilILYREFERENCE
MAfrR'AL MOTOROLA
FC2-Fm CHIP
$1-Aa0. SELECT
A19-A16 DECODE
A1$A13 (SYSTEM
412-As DEPENDENT)
A4-41
P
F A S t r $
=
g
E D S
9a
=
r"Ds
I R/w R/W
031-D24
DA-016
Dl$08 D1$08
D7-DO D7-m
DSACKO
DSACKl DSACKl
AI
MAINPROCESSOR
a
COPROCESSOR
CLOCK OLOCK
MOTOROLA M68OOO
FAI'HLYREFERET{CE,MANUAL 5-127
as a peripheraf
Whenconnected processor,
the MC68882 chip-selectdr
systemdependent,
and CS must be decodedin the supervisoror ul
spaces.
FC2-FO cl-$P
419416 SETECT
DECODE
A1$413 (sYsTEM es
412-As DEPEiDENT)
slE
A&41 A4-41
AO AO
g A s t r
(lI
g
g o T ^
trct
= =
6
RW- Rfr'
MAINPROCESSOR coPnocEssoR
CLOCK CLOCK
5-128 M68OOO
FAMILYREFEREfTICE
MANUAL MOTOROLA
ELECTRICAL FICATIONS
SPECI
MAXIMUMRATINGS
This devicecontainscircuitryto pro-
Rating Symbol Value Unit tect the inputs againstdamagedue
SupplyVoltage Vcc - 0 . 3t o + 7. 0 V to high static voltages or electric
fields; however, it is advised that
lnput Voltage vin - 0.3to + 7.0 V normalprecautionsbe takento avoid
OperatingTemperature Tn 0to70 oc applicationof any voltagehigherthan
maximum-ratedvoltagesto this high-
StorageTemperature Tsto -55to +150 oc impedancecircuit.Reliabilityof op-
erationis enhancedif unusedinputs
are tied to an appropriatelogic volt-
age level (e.9.,eitherGND or Vgg).
THERMALCHARACTERISTICS
Gharacteristic Symbol Value Rating
ThermalResistance- Ceramic 'c^ru
Junctionto Ambient olR 33
Junctionto Case o.rc 15
ThermalResistance -- PLCC
Junctionto Ambient olR 45
Junctionto Case 0.lC TBD
TBD- To Be Determined
MOTOROLA M68OOO
FAMILYREFERENCE
MANUAL 5-129
POWERCONSIDERATIONS
The averagechip-junctiontemperature,T.1,in oCcan be obtained
TJ-TR+(PO.oJA) (1)
where:
TR =Ambient Temperature,oC
0.ln - PackageThermal Resistance,
J u nction-to-Ambient, oCAff
PO - PINT+Pt/O
Ptrut : ICCx VCC,Watts - Chip lnternal Power
PllO - Powe,rDissipationon Input and Output
Pins- User Determined
For most applicationsPIIO<PINTand can be neglected.
5-130 M68OOO
FAMILY REFERENCE
MANUAL MOTOROLA
AC ELECTRICAL
SPECIFICATIONS
DEFINITIONS
The AC specificationspresentedconsistof output deloys,input sel
times,and signalskewtimes.All signalsare specifiedrelativeto an
edge of the clock input and, possibly,relativeto one or more oth
MOTOROLA M68OOO
FAMILY REFERENCE
MANUAL 5-131
2.0v
VATJD
2.0v 2.0v VAI.JD
oUTPUTS(1)
Ot,TPUTn OUTPUTn + 1
0.8v 0.8v
VATJD
2.0v e0v
VAI.JD
oUTPUTS(2) OUTPUTn dTIPUT n+l
0.8v 0.8v
DHVETO ->.
2.4V
TNPUTS(3)Cr.J(
DRIVE
TO >
0.5v
< nFto
TNPUTS(4)
< $ff;ro
A[ STGNALS(5)
NOTES:
1. This ouput timingis applicableto all parametersspecifiedrelativeto the risingedge of the dock.
2. This outputtimingis applicableto all parametersspecifiedrelativeto the fallingedge of the clock.
3. This inpt timingis applicableto all parametersspecifiedrelativeto the risingedge of the dock.
4. This input timingis applicableto all parametersspecifiedrelativeto the fallingedge of the clock.
5. This timingis applicableto all parametersspeciftedrelativeto the assertion/negation of anothersignal.
LEGEND:
A. Maximumouput delayspecification.
B. Minimumoutputholdtime.
C. Minimuminputsetuptimespecification.
D. Minimuminputholdtime specification.
E. Signalvalidto signalvalidspecification (maximumor minimum).
F. Signalvalidto signalinvalidspeciftcation (maximumor minimum).
5-132 M68OOO
FAMILY REFERENCE
MANUAL MOTOROTA
DC ELECTRICALSPECIFICATIONSUcc=5,0
vdc!so/o;
GND=o
vdc;rA=
Gharacteristic Symbol Min Max Unit
InputHighVoltage Vtn 2.0 vcc V
Input Low Voltage Vt GND - 0.5 0.8 V
Input LeakageCurrent@ 5.25V cLK,RE=, r4ruUo:l4 lin 10 pA
CS, DS,AS, SIZE
W-?(off state)Inputcurrent(L 2.4v/0.4v DSAffi, DgTm, D0-D31 Itsr 20 tA
Output High Voltage(lOH- -a00 p.A) DffiKO, mTm, von
D0-Dg1 2.4 V
OutputLowVoltage(lOt-= 5.3mA) D$ere, DSEem,D0-D31 vor 0.5 V
OutputLow Current(VOl= GND) sreE lol 500 pA
PowerDissipation Po 0.75 W
Cglacitance*(Vin= 0, TA: 25oC,f - 1 MHz) cin 2A pF
Output Load Capacitance C1 130 pF
*capacitanceis periodicallysampledrather
than 100/otested.
AC ELECTRICAL
SPECIFICATIONSCLOCKINPUT
(VCC= 5.0Vdct 5olo;GND= 0 Vdc; TA = 0 to 70'C;see Figure 17]|
NOTE: Timingmeasureln€nBare referencedto and froma low voltageof 0.8V and a highvoltageof 2.0V,unlel
otherwisenoted.The voltageswingthroughthis rangeshouldstartoutsideand passthroughthe ranges
the rise or fall will be linearbetweenO.gVand 2.0V.
Figure17.ClockInputTimingDiagram
MOTOROLA M68(X)OFAMILYREFERENCE
MANUAL 5-133
AC ELECTRICAL - READANDWRITECYI
SPECIFICATIONS
( v c c : 5 . 0 V d c + 5 % ;G N D = 0V d c ;T A - 0 t o 7 0 " C s; e eF i g u r e s1 8 ,1 9 ,a n d 2 0 )
8B CSAssertedto DS Asserted(Write) 30 25 20 15 10 10 ns
9 AS Negated to CS Negated 10 10 5 5 2 2 ns
9A DS Negated to CS Negated 10 10 5 5 2 2 ns
1 0 nlW Hign to RS Asserted(Read) 15 10 5 ',t5 3 3, n8
1 0 A nlW Higftto OSAsserted(Read) 15 10 5 5 3 3 ns
1 0 8 RlW tow to OS Asserted (Write) 35 30 25 25 23 23 ns
1 1 AS Negatedto RAil Low (Read)or AS 1 0 10 5 5 2 2 ns
Negatedto RAIVHigh (Write)
1 1 AF Negatedto ntw tow (Head)or ffi 10 10 5 5 2 2 ns
, Negatedto RAil High (write)
5-134 MO8MOFAMITYREFERETUCE
MANUAT MOTOROLA
AC ELECTRICAL _ READAND WRITECYI
SPECIFICATIONS
(Continued)
293,8STARTTrue to ClockHigh 0 0 0 0 0 0 ns
(Synchronous Read)
243 ClockLow to Data-OutVafid 105 80 60 45 36 36 ns
{SynchronousRead)
2s3'8STARTTrue to Data-OutValid 105+ 80+ 60+ 45+ 36+ 3 6 + ns
(Synchronous
Readl ; 2.5 ; 2.5 1 . 5 2.5 ; 2.5 1 . 5 2.5 ; 2 . 5 Clks
263 lockLowto DEACKandDSEKT 75 55 45 30 23 23 ns
(Synchronous
Asserted Read)
273,8STAffiTrueto DffiK anoDSeKi 75+ 55+ 45+ 30+ 23+ 23+ ns
(Synchronous
Asserted Read) ; 2.5 1.5 2.5 ; 2.5 ; 2.5 1 . 5 2.5 ; 2.5 Clks
NOTES:
1. Timing measurernents are rBferenced to and from a low voltageof 0.8 V and a high voltageof 2.0V
noted.The voltageswing through this rangeshould start outside,and passthrough,the rangesu
fall will be linearbetween0.8 V'and2.0V.
2. Thesespecificationsonly ipplv if the MC68S82has completedalt interral operationsinitiatedby the
previousbus cyclewhen F was negated.
3. Synchronousreadcyclesoccuronly when the saveor responseCIRlocationsare read.
4. This specification only appliesto systemsin which back-to-back accesses (read-writeor write-write)<
can occur.When the MC68882is us€d as a'coprocessortothe MC68020/MC68030, this can.occurwh
mode is lmmediate.
5. lf the SiE pin is nof strappedto eitherVCCor GND,it must havethe same setuptimes as do addrr
6. lf the SIZEpin is nof strappedto "j$gdgi or GruO,it must havethe same hold times as do addrer
7. This number is reducedto 5 ns if DSere and DffiRT haveequal loads.
8. STARTis not an externalsignal; rather,it is the logicalconditionthat indicatesthe start of an a,
equationfor this condition is STEffi: CS+ RS + R/W-.DS.
9. lf a subsequentaccessis not a FPCPaccess,G must be negatedbeforethe assertionof AS and/c
FPCPaccess.Theseggecifications replacethe old specifications8 and 8A. (The old specificationsi
cases,transitionsin CS must not occursimultaneously with transitionsof AS or DS.This is not a rr
MC68882.)
MOTOROLA M6S(X'O
FAMILYREFERENCE
MANUAL 5-135
Figure18.AsynchronousReadCycleTiming Diagram
5-136 MANUAL
il,Iffi(Xp FAMILYREFERENCE MOTORO]A
Figure19.Asynchronous
Write CycleTimingDiagram
MOTOROI,A M68Oq'FAMITYREFERENCE
MANUAL 5-137
CLOCK
M.AO
nrw
AS
DS
START
DSACKl
DSACKO
5-138 M68OOO
FAMILY REFERENCE
MANUAL MOTOROLA
PINASSIGNMENTS
PINGRIDARRAY
68.LEAD
K o o o o o o o
D27
o
D26
o o
D24 D22
A1 R/W GND DSACK1D3O DA
J o o CS a DSACKO
o o D28 o D25
o GND
o Dno D21o
A3 Vcc 031
H o o o o o o
VCC cND D19
A S M A O
G o o o o
D2o D18
DS A4
F o o o o
SIZE GND 017 016
E o o o o
Vcc GND
NC VCC
D o o D12
o o
D15
RESETGND
c o o o o
D9
GND
o Do1 4
013
GND C[J(
B o o o o DZ
VCC GND GND
o D5o GND
o VCC
o o 011
010
o
SEttSE
A o
Vcc
o
GND
o
D0
oD1 o
D3
o
D4
oDG o
D7
o o
D8 GND
1 2 3 4 5 6 7 8 9 1 0
MOTOROLA MANUAL
FAMILYREFERENCE
M68OOO 5-139
68.LEADPLASTICLEADEDCHIPCARR]ER
9 I e x I I EI I s
r ElElAa,8,=
DN AO
D21 A1
D20 A2
Dl9 A3
018 M
017 AS
016 DS
GND GND
vcc stzE
vgc hc
015 hc
Dl4 i'lO
Dl3 GND
Dl2 mET
E 011
010
D9
GND
cl,J(
hc
g t e Er I E I I 5 r i He e z e e
luJ
lo
5-140 MOSOOO
FAMILYREFERENCE
MANUAL MOTOROLA