Design and simulate an eight-bit adder or subtractor

Assignment Help Other Engineering
Reference no: EM131285271

Project

Design and simulate an 8-bit adder/subtractor using a hierarchical Verilog structural description. Your design should accept 2 twos complement 8-bit inputs (x and y) and generate an output (result) which is either their sum or difference, based on another input (sub). If sub is 1, perform a subtract; if sub is 0 perform an addition. You must also set four condition bits (ccn, ccz, ccv, ccc) to indicate whether the result is negative, zero, resulted in an overflow, resulted in a carry out, respectively.

Create the design in a hierarchical fashion as follows. Build a 1-bit full adder using a behavioral dataflow description. Create a testbench to thoroughly test the full adder. Then, create an 8-bit ripple carry adder by instantiating and connecting multiple instances of your debugged full adder. Write a testbench to verify your 8-bit ripple carry adder.

Do not use any delay in your design modules.

You must declare your 8-bit adder/subtractor exactly as follows:

module AddSub8Bit (x, y, sub, result, ccn, ccz, ccv, ccc);
input [7:0] x, y;
input sub;
output [7:0] result;
output ccn, ccz, ccv, ccc;

Your Verilog programs must be compiled and simulated. Save and print the simulator timing diagrams so that you can include them in your final report. This final report must include:

1. A brief problem description

a. The problem your circuit solves
b. b. Specific requirements

2. The project deliverables (exactly what you are generating)

3. Approach/methodology (the steps you will take to solve the problem)

4. Block diagrams

5. K-maps where appropriate

6. Your design work

7. Verilog source code listings (for all designs and their testbenches)

8. Timing diagrams showing how your full adder and 8-bit design performed.

Reference no: EM131285271

Questions Cloud

Explain why you feel each behavior belonged in each category : Explain why you feel each behavior belonged in each category. How would the classroom be different if you did not have categories, or were inconsistent with your placement within the categories?
What is the impact of practice on legitimate researchers : What is the impact of this practice on legitimate researchers?- What do you think might be done about this practice?
Determining the job analysis-job description : Go to YouTube, located athttp://www.youtube.com/, and search for an episode of "UnderCover Boss". Imagine you are the CEO of the company in the selected episode. Write a two to three (2-3) page paper in which you:
Estimates for various means of financing working capital : For your second post, consider the company you work for or a company in which you are interested. Also, do some research to find some current cost estimates for various means of financing working capital. What would be your recommendation to the comp..
Design and simulate an eight-bit adder or subtractor : Design and simulate an 8-bit adder/subtractor using a hierarchical Verilog structural description. Your design should accept 2 twos complement 8-bit inputs (x and y) and generate an output.
Analysis or quantitative hypothesis testing strategies : Explain the processes allowing you to collect the data, the required timelines, and software/recording methods involved. You should educate your audience on the role of instrumentation during data collection while ensuring the fidelity and structu..
Conduct market research with young children : Are you willing to divulge personal information to marketing researchers? How much are you willing to tell, or where would you draw the line?
How do you journalize this adjusting entry : But 2 of the advertisments were not played on T.V. but they will be played next month. The cost of each advertisment is $120. How do you journalize this adjusting entry?
Write a tribute on oprah winfery : Write a tribute on Oprah Winfery.Select the type of music and dance to be included in a performance of their life story.Summarize your program, describing what elements of the person's story you wish to highlight, and the rationale for your selecte..

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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