Determine the overflow and give an appropriate equation

Assignment Help Electrical Engineering
Reference no: EM131368105

This problem involves the design of a parallel adder-subtracter for 8-bit numbers expressed in sign and magnitude notation. The inputs X and Y are in sign and magnitude, and the output Z must be in sign and magnitude. Internal computation may be done in either 2's complement or 1's complement (specify which you use), but no credit will be given if you assume the inputs X and Y are in 1's or 2's complement. If the input signal Sub = 1, then Z = X - Y, else Z = X + Y. Your circuit must work for all combinations of positive and negative inputs for both add and subtract. You may use only the following components: an 8-bit adder, a 1's complementer (for the input Y), a second complementer (which may be either 1's complement or 2's complement-specify which you use), and a combinational logic circuit to generate control signals. (Hint: -X + Y =- (X - Y). Also generate an overflow signal that is 1 if the result cannot be represented in 8-bit sign and magnitude.)

(a) Draw the block diagram. No registers, multiplexers, or tristate busses are allowed.

(b) Give a truth table for the logic circuit that generates the necessary control signals. Inputs for the table should be Sub, Xs, and Ys in that order, where Xs is the sign of X and Ys is the sign of Y.

(c) Explain how you would determine the overflow and give an appropriate equation.

Reference no: EM131368105

Questions Cloud

List three different techniques for project scheduling : List three different techniques for project scheduling. What are computer-assisted audit solutions? How do you develop a link of business intelligence and competitive strategies with corporate strategy?
Identify what the advancement was and how it functions : Identify what the "advancement" was/is and how it functions in terms of what we have covered in lectures and discussions in this course; what is its impact;
What are the major issues that the us government is facing : What are the major issues that the U.S. government is facing in protecting its borders from illegal immigration and its citizens from domestic and foreign terrorist attacks? How have those issues been addressed?
Perfectly competitive market : How does a lump-sum tax influence a perfectly competitive market? How does the imposition of an effective price control influence a perfectly competitive market?
Determine the overflow and give an appropriate equation : Give a truth table for the logic circuit that generates the necessary control signals. Inputs for the table should be Sub, Xs, and Ys in that order, where Xs is the sign of X and Ys is the sign of Y.
How did you gather the information to draft this scope : Requirements and information gathering specifics (Answers the question who did you talk with (customers, stakeholders, clients, etc., When? How did you gather the information to draft this scope? What did you learn from the requirement and informa..
Write complete vhdl code for the divider : A block diagram and state graph for a divider for unsigned binary numbers is shown below. This divider divides a 16-bit dividend by a 16-bit divisor to give a 16-bit quotient.
Wendy sells vending machines : She can sell 9 machines if she charges $1,000 per machine; 8 if she sells them at the price of $1,100 per machine; 7 at the price of $1,200 per machine, and 6 at the price of $1300 per machine. Each vending machine costs $500 to produce and bring ..
What currency or currencies does your mnc work with : What currency or currencies does your MNC work with? Discuss how exchange rates impact your MNC. How do each of the main economic agents in the macroeconomy impact your MNC?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Q1explain and discuss the problems presented by electronic

q1explain and discuss the problems presented by electronic discovery in civil actions and how the law has

  Determine the time constant

8. Given the following RC circuit with zero initial condition on the C1 voltage: a.       Determine the time constant. b.      Write the mathematical equation for the voltage on C1 following the closing of the switch.

  What is the frequency shift suffered by the deflected beam

what is the frequency shift suffered by the deflected beam. Is there any amplitude change? How would you design an optical switch based on this operation?

  Determine the resistivity of gold at the temperature

A gold wire (resistivity of 2.44× 10(-8) Ω·m and a temperature coefficient of 3.4×10(-3) °C-1) with a radius of 0.100 mm has a uniform electric field of 2.50 V/m imposed along its entire length. The temperature of the wire is 50.0°C.

  What is the potential drop between the two electrodes

Two metal plates with an area of 4 cm2 and separation distance of 0.01 cm are used to form a capacitance transducer. If the material between the two plates has a dielectric constant of 2.5 and the dielectric constant of free space is 8.85 pF/m

  Find expressions for the voltages across the coils

Two coils wound on a common core have L1 = 0.2 H, L2 = 0.5 H, and M = 0.1 H. The currents are i1 = exp( -1000t) A and i2 = 2 exp( -1000t) A. Both of the currents enter dotted terminals. Find expressions for the voltages across the coils.

  What is the necessity of forming voltage in rram

How to apply forming voltage and after that how to repeat it. What is the necessity of forming voltage in RRAM.

  What will be the available signal voltage across 50-ohm load

If a single stage amplifier is having an open loop voltage gain of 80, input resistance of 800 -ohm and output resistance of 200 -ohm, what will be the available signal voltage across a 50 -ohm load connected at the output

  Construct required circuit with min number of unit transistr

Assuming that only integer multiples of a unit bipolar transistor having IS = 3 x 10-16A can be placed in parallel, and only a single voltage source, VB, is available (Fig. 4.54), construct the required circuit with minimum number of unit transist..

  A block and tackle system with nine supporting strands is

a block and tackle system with nine supporting strands is used to lift a metal lathe in a manufacturing facility.

  What temperature does it cease to show intrinsic properties

A sample of silicon contains 1x1018/cm3 donors. Below what temperature does it cease to show intrinsic properties if the band gap is 1.12ev and the intrinsic carrier concentration is 2x1016/cm3 at 300K.

  Calculate the equivalent capacitance in each case

apacitors of 4 F and 10 F are connected (a) in parallel and (b) in series. Calculate the equivalent capacitance in each case.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd