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

  Defining hypertension in a local population issues

What is the proportion of patients suffering from hypertension?

  Compute the percent voltage regulation

If the applied voltage at the terminals of the primary is 1000 V, determine V2 at the load terminals of the transformer, neglecting magnetizing current.

  Design a suitable vapour compression refrigeration system

Design a suitable vapour compression refrigeration system to achieve this duty, a suitable chilled water piping system to achieve the required duty and suitable heat rejection facilities for the refrigeration plant using a cooling tower.

  Determine the amount of energy consumed by the motor

A person gets into an elevator at the lobby level of a hotel together with his 30-kg suitcase, and gets out at the 10th floor 35 m above. Determine the amount of energy consumed by the motor of the elevator that is now stored in the suitcase.

  Discussion posting should include three or more resources

Discussion Post: Engineering And Manufacturing Processes. Discussion posting should include three or more resources, which must be referenced usingAPA style. 200 words.

  Find the current that now flows through q10 and onto cl

For Vid = 0, find the bias current in each of Q1, Q2, Q3, Q4, Q14, Q9, and Q10. Also, for the dc voltages shown, and assuming Vtn =|Vtp |= 0.45 V and that all conducting devices are operating at |VOV | = 0.15 V, show that Q12 and Q13 will be cut o..

  Ow do the near-architectural element fit with the lush paint

What does the diagonal of the bed provide? Now move close and examine the paint work. How do the near-architectural elements fit with the lush paint?

  Breakdown structure for super jom

The scenarios are these: You have been asked to help your best friend plan a wedding or a family reunion in another city. You have no concern for schedule or budget at the moment, only defining the work that needs to be done for the wedding or r..

  Determine the ratio uo-umax

Water flows steadily through the round pipe in the figure. The entrance velocity is Vo. The exit velocity approximates turbulent flow, u = umax(1 - r/R) 1/7. Determine the ratio Uo/umax for this incompressible flow.

  What was the historical scope of telecommunications

What was the historical scope of telecommunications?

  Describe specific engineering and manufacturing process plan

Describe specific engineering and manufacturing process planned to be used in the development of the new technology or application. Potential defects and that cause deviations in the development process.

  Determine using z-transform techniques

Prove that the Fibonacci sequence can be though of as the impulse response of the system described by the difference equation:

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