MC14560BCP

Manufacturer Part NumberMC14560BCP
ManufacturerFreescale Semiconductor, Inc
MC14560BCP datasheet
 
1
Page 1
2
Page 2
3
Page 3
4
Page 4
5
Page 5
6
Page 6
7
Page 7
8
Page 8
9
Page 9
10
Page 10
11
12
13
Page 7/13

Download datasheet (308Kb)Embed
PrevNext
The truth table and Karnaugh maps for sign, overflow, and
End Around Carry are shown in Figures 6 and 7. Note the
use of B S from the exclusive–OR of Add/Sub and B S . B S
eliminates Add/Sub as a variable in the truth table. As an ex-
ample of truth table generation, consider an n decade adder/
subtracter where A S = “0”, B S = “1”, and Add/Sub = “0”. B is
in 9’s complement form, 10 N – 1 – B. Thus A + (10 N – 1 – B)
= 10 N – 1 + (A – B). There is no carry when A
sign is negative (sign = “1”). When A S and B S are opposite
states and Add/Sub is a “0” (add mode), no overflow can oc-
cur (overflow = “0”). The other output states are determined
in a similar manner (see Figure 6).
From the Karnaugh maps it is apparent that End Around
Carry is composed of the two symmetrical functions S2 and
S3 of three variables with A S B S C out as the center of sym-
metry. This is the definition of the majority logic function
M 3 (ABC). Similarly the Sign is composed of the symmetrical
functions S2(3) and S3(3) but with the center of symmetry
C n
C in
FROM C out
OF MOST SIGNIFICANT
DECADE
A1
B1
LEAST
SIGNIFICANT
DECADE
BASIC
C in
C out
SUBTRACT
BLOCK
C
R1
R1
Typical Subtract Time = 0.6 + 0.4n s where n = Number of Decades
Figure 6. Subtraction of Unsigned NBCD Numbers
MOTOROLA CMOS LOGIC DATA
translated to A S B S C out . This is equivalent to the majority
function M 3 (A S B S C out ). Further evaluation of the maps and
truth table reveal that Overflow can be generated by the
exclusive–OR function of End Around Carry and Carry Out.
This analysis results in a minimum device count consisting of
one exclusive–OR package and one dual Majority Logic
v
package to implement B S , EAC, Sign and Overflow. The
B, and the
logic connections of these devices are shown in Figure 5.
The output sign, R S , complements the result of the add/
subtract operation when R S = “1”. This is required because
the adder performs 9’s complement arithmetic. Complement-
ing, when R S indicates the result is negative, restores sign
and magnitude convention.
Several variations of the adder/subtracter are possible.
For example, 9’s complement is available at the output of the
NBCD adders, and output complementers are eliminated if
sign and magnitude output is not required.
A
B
A1
A2
A3
V DD
C
MC14561
C
Z
F1
F2
F3
A1
A2
A3
A4
B1
B2
B3
MC14560
S1
S2
S3
S4
A1
A2
A3
A4
C
V DD
C
MC14561
Z
F1
F2
F3
F4
RESULT, R
(a) Basic Subtracter Block
A2
B2
A n
MOST
SIGNIFICANT
DECADE
C in
C out
C in
C
C
R2
(b) n–Decade Subtracter
A4
F4
AB
C out
C n + 1
B n
C out
R n
“0” INDICATES
UNDERFLOW
(NEGATIVE RESULT)
MC14560B
7