Write a vhdl module for a 4-bit adder

Assignment Help Electrical Engineering
Reference no: EM13998171

a.) Write a VHDL module for a 4-bit adder, with a carry-in and carry-out, using an overloaded addition operator and std_logic_vector inputs and outputs.

b.) Design an 8-bit subtractor with a borrow-out, using two of the 4-bit adders you designed in (a), along with any necessary gates or inverters. Write a VHDL module for the subtractor.

c.) Simulate your code and test it using the following inputs: 11011011 - 01110110, 01110110 - 11011011

Reference no: EM13998171

Questions Cloud

What is the circuit configuration of op amp 2 : What is the circuit configuration of op amp 2  , trnsfer function, of E'/Ei, transfer fucntion of whole circuit, and is this a PI, PID, or PD circuit
Calculate the electric potential at the point on the y axis : A rod of length L = 85.0 cm lies along the x axis with its left end at the origin. It has a nonuniform charge density λ =αx, where α is a positive constant given by 5.80 μC/m2 . Calculate the electric potential at the point on the y axis which is at..
Which wavelength will be most noticeable to an observer : Which wavelength(s) will be most noticeable to an observer in front of the film? Which wavelength(s) will be most noticeable to an observer behind the film?
Write a piecewise-defined function : Write a piecewise-defined function that gives the cost C(n) for a museum visitor who is n years old. What is the range of the function?
Write a vhdl module for a 4-bit adder : Write a VHDL module for a 4-bit adder, with a carry-in and carry-out, using an overloaded addition operator and std_logic_vector inputs and outputs.
Find initial velocity, final velocity and total distance : A rocket stuck on a car. After 3s the fuel is out and the car is moving at 1m/s2 . The car continues to move for 5s. Find initial velocity, final velocity, total distance, initial distance and draw motion diagrams.
Second order systems and state feedback design : Second Order Systems and State Feedback Design: Thus far, we have largely focused on stability as our performance metric of choice. Yet once stability is assured, we can focus on finer details. A few classes ago, we discussed other system properties,..
What is the x-component of the electric field as measured : A rocket zooms past Earth with a velocity of 1.5X106 m/s i. Scientists in the rocket have created the following uniform electric and magnetic fields: E = 1.0X106 V/m k and B = 0.50 T j. What is the x-component of the electric field as measured by sci..
Implications for economic explosure : What does this imply about the inflation differential (Mexico inflation minus U.S. inflation), assuming that the peso interest rate is the same in both countries? Does this imply that the Mexican peso will appreciate or depreciate? Explain.

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