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

  Find the capacity of the channel

The binary erasure channel has two inputs and three outputs as described in figure. The inputs are labeled 0 and 1, and the outputs are labeled 0, 1, and e. A traction a of the incoming bits are erased by the channel. Find the capacity of the chan..

  Optimal-stage locations for the feed

Determine the number of theoretical stages required and the optimal-stage locations for the feed and liquid side stream for the distillation process shown in Figure assuming that methanol (M) and ethanol (E) form an ideal solution.

  Calculate gain of the series combination

Problem 1: Two identical amplifiers with gain 6.5 dB each are placed in series. a. Calculate gain of the series combination.

  Standard deviation of portfolio return issues

What is the (population) standard deviation of portfolio returns?

  Derive the boolean expression for combinational logic

Derive the Boolean expression for combinational logic.

  How rayleigh scattering occurs in optical fiber cable

how rayleigh scattering occurs in optical fiber cable

  Gauge pressure at the bottom of the water

A closed container is partially filled with water. Initially, the air above the water is at atmospheric pressure (1.01 x 1(1' Pa) and the gauge pressure at the bottom of the water is 2500 Pa. Then additional air is pumped in, increasing the press..

  Find the set of rationalizable strategies

Find the set of rationalizable strategies

  Combine all of the information into a final presentation

This week you will develop cost estimates and then combine all of the information into a final presentation for the customer. Review your design from the previous week and make any necessary changes, fill in the gaps and complete your presentation.

  Research paper about aerospace engineering organization

Write research paper about aerospace engineering organization , choose any organization , talk about who are they and when they get started

  Introduction to process control

Choose a control system that has direct impact on your daily life. Explain how this control system affects your life. Is it analog, digital or both? Identify the main elements in the control system.

  New keynesian model with technology shocks consider a new

new keynesian model with technology shocks consider a new keynesian economy with equilibrium conditions given bywhere

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