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

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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