
2.0 Architectural Description
(Continued)
Comparison
The Compare instruction compares two floating-point val-
ues, sending the result to the CPU PSR Z and N bits for use
as condition codes. See
Figure 3-7 . The Z bit is set if the
gen1 and gen2 operands are equal; it is cleared otherwise.
The N bit is set if the gen1 operand is greater than the gen2
operand; it is cleared otherwise. The CPU PSR L bit is un-
conditionally cleared. Positive and negative zero are consid-
ered equal.
Format
Op
Instruction
Description
11
0010
CMPf
gen1, gen2
Compare gen1
to gen2.
Floating-Point Status Register Access
The following instructions load and store the FSR as a 32-
bit integer.
Format
Op
Instruction
Description
9
001
LFSR
gen1
Load FSR
9
110
SFSR
gen2
Store FSR
2.3 TRAPS
Upon detecting an exceptional condition in executing a
floating-point instruction, the NS32081 FPU requests a trap
by setting the Q bit of the status word transferred during the
slave protocol (Section 3.5). The CPU responds by perform-
ing a trap using a default vector value of 3. See the Series
32000 Instruction Set Reference Manual and the applicable
CPU data sheet for trap service details.
A trapped floating-point instruction returns no result, and
does not affect the CPU Processor Status Register (PSR).
The FPU displays the reason for the trap in the Trap Type
(TT) field of the FSR (Section 2.1.2.2).
3.0 Functional Description
3.1 POWER AND GROUNDING
The NS32081 requires a single 5V power supply, applied on
pin 24 (V
CC
). See DC Electrical Characteristics table.
Grounding connections are made on two pins. Logic Ground
(GNDL, pin 12) is the common pin for on-chip logic, and
Buffer Ground (GNDB, pin 13) is the common pin for the
output drivers. For optimal noise immunity, it is recommend-
ed that GNDL be attached through a single conductor di-
rectly to GNDB, and that all other grounding connections be
made only to GNDB, as shown below (
Figure 3-1 ).
TL/EE/5234 – 13
FIGURE 3-1. Recommended Supply Connections
3.2 CLOCKING
The NS32081 FPU requires a single-phase TTL clock input
on its CLK pin (pin 14). When the FPU is connected to a
Series 32000 CPU, the CLK signal is provided from the
CTTL pin of the NS32201 Timing Control Unit.
3.3 RESETTING
The RST pin serves as a reset for on-chip logic. The FPU
may be reset at any time by pulling the RST pin low for at
least 64 clock cycles. Upon detecting a reset, the FPU ter-
minates instruction processing, resets its internal logic, and
clears the FSR to all zeroes.
On application of power, RST must be held low for at least
50
m
s after V
CC
is stable. This ensures that all on-chip volt-
ages are completely stable before operation. See
Figures 3-2
and
3-3.
TL/EE/5234 – 14
FIGURE 3-2. Power-On Reset Requirements
TL/EE/5234 – 15
FIGURE 3-3. General Reset Timing
3.4 BUS OPERATION
Instructions and operands are passed to the NS32081 FPU
with slave processor bus cycles. Each bus cycle transfers
either one byte (8 bits) or one word (16 bits) to or from the
FPU. During all bus cycles, the SPC line is driven by the
CPU as an active low data strobe, and the FPU monitors
TL/EE/5234 – 2
FIGURE 3-4. System Connection Diagram
10