The Challenge
THE CHALLENGE: You requested a transfer to Banana Electronics' fruitful R&D group, and got it. A client has an OEM (Original Equipment Manufacturer) application for a adder/subtractor, and the management has developed a plan to market a commercial adder/subtractor device. Banana will produce these circuit boards after you develop the first prototypes. The specifications are given below.
ADDER-SUBTRACTOR CIRCUIT: In this OEM application,
[a7,a6,....a0] and [b7,b6,... b0] (with a7, b7 being the
most significant bits (MSB)) represent two eight-bit two's
complement numbers A and B. The output of the
circuit consists of an 8-bit result S [s7,...s0], and a
line 'OF' that is 1 when overflow occurs, and 0 when no overflow
is involved.
A control input 'Add/Sub' controls the operation as follows:
When Add/Sub = 0, the units performs addition, i.e., S
= A + B.
When Add/Sub = 1, the units performs subtraction, i.e., S
= A - B.
Design Constraint: use only 2-input AND, OR, XOR gates, and NOT gates, in your design.
Hint: Follow this procedure to proceed smoothly to your prototype . . .
REPORT
Prepare a Memorandum which is addressed to the manager of the R&D group at Banana. Go to the Preparing the Memo link to review the general requirements for Banana Memos or to the What to Include in Report #4 link for the specific things to include in the Project #4 report.
_______________