Write a program to simulate the process

Assignment Help C/C++ Programming
Reference no: EM13688513

Compare performance of an unsigned shift-and-add multiplier with one using a shift-over technique.

Question 1. Write a program to simulate the process of an n-bit (n x n) shift-and-add syn-chronous multiplier.

• Use an n-bit RCA for the adding process.
• Assume that the process of a one-bit shift, a multiplexing, and a unit 2-level logic in the RCA, each takes a delay of 2d.
• Assume that it is synchronized with a clock of a period exactly long enough for all the delays in one shift-and-add cycle.
• Note: in this part, since it is a synchronous process, there is no need to simulate the RCA process, but instead to simply account for its worst-case delay.

Question 2. Write a program to simulate the process of an n-bit (n x n) shift-and-add asyn¬chronous multiplier with shift over 0's/1's.

• Fast shift-over-0's/1's is taken, whenever applicable, without the adding pro¬cess. That is, a shift-over situation does not incur an adding process. Assume a delay of 2d for such a case.

• Use a CCA (carry completion adder) of sufficient size for the adder/subtractor to detect the completion of the adding/subtracting process so as to initiate the next shift-and-add cycle. Note: you can use either your design from Project#1 or the code provided on the class website.

• Assume that the process of a one-bit shift, a multiplexing, and a unit 2-level logic in the CCA, each takes a delay of 2d.

• Assume that there is another delay of 2d from the necessary logic for the asyn-chronous process to trigger the next cycle.

Question 3. Results required include:

• the program listings for both techniques,

• a plot showing delays of the technique #1 versus n, Nn, 2 < n < 32, without using simulation, (Note: Use a log scale for y-axis.)

• From a simulation run of 10,000 times on the technique (2), a plot showing its performance compared to the results from (1); also a table to show all the corresponding numbers,

• a demonstration of step-by-step (in delay of 2d) intermediate results for the second technique for an 12-bit multiplication of x4b7 and x6c0. Clearly indicate what exactly transpires in each 2d delay.

Reference no: EM13688513

Questions Cloud

Calculate the moles of acid and the naoh : Calculate the pH after addition of 20mL of 0.150 M NaOH to 40mL of the 0.150 M acetic acid. Calculate the moles of acid and the NaOH from the molarity and volume.
Why would hcl not be satisfactory catalysts : Problem- Hydrochloric acid is about as strong a mineral acid as sulfuric acid. Why would HCl not be satisfactory catalysts in this reaction
Calculate the ph of a 0.150 m solution of acetic acid : Problem- Work the following problems for titration of acetic acid (K a=1.8x10-5) showing all work use more paper if needed. 1) Calculate the pH of a 0.150 M solution of acetic acid. This is a simple pH of a weak acid problem. Get the [H+
What is the most probable oxidation state of mercury : Mercury metal does not react with hydrochloric acid but it reacts with nitric acid. What is the most probable oxidation state of mercury in solution in its reaction with HNO3
Write a program to simulate the process : Write a program to simulate the process of an n-bit (n x n) shift-and-add syn-chronous multiplier - Compare performance of an unsigned shift-and-add multiplier with one using a shift-over technique.
Nitric acid reacts with magnesium metal : Which of the following statements are true? For any false statements, explain. a) Nitric acid reacts with magnesium metal and copper metal.
Calculate the poh of a solution morphine : Problem- Calculate the pOH of a solution that is 0.429 M morphine C17H19O3N and 0.342 M morphine hydrochloride
The electronic structure of cadmium (ii) : Problem- Note the electronic structure of Cadmium (II) and indicate the group (type A, borderline, or type b) in which it should be placed. Predict the principal inorganic forms of the element in fresh and sea water under both oxidizing and reduci..
Explain what is the concentration of a solution : Problem- What is the concentration of a solution with an extinction coefficient of 253 M-1cm-1at 450 nm if it has an absorbance of 0.42 at 450 nm and the sample matrix had an absorbance of 0.05 at 450 nm>

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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