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.
Complete the schematic design of a 8-bit Adder/Subtractor with Full-adder as blocks as prelab. Also include design of the full-adder.

ADDER-SUBTRACTOR CIRCUIT: In this OEM application, A and B represent two eight-bit, two's complement numbers, [a7,a6,....a0] and  [b7,b6,... b0] (with a7, b7 being the most significant bits (MSB)). 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.

NOTE: If you are using DE0 board, since it has fewer number of switches, you  should ground the last 4 bits of your both inputs and take the first four bits from the board switches. i.e. input A[a7,a6,a5,a4] will be grounded and A[a3,a2,a1,a0] will be assigned to switches on the board. Same is applicable to input B.

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.

_______________