verily programming code

In this question you are asked to design a synthesizable ALU in Verilog. This ALU gets two 9-bit signed inputs (A B) in 2’s complement format and a 4-bit select input (S) based on which decides about the operation that should be executed. The output is Q and you determine the number of bits for Q in order to have a correct answer. What follows shows these operations: If S=0 Addition (i.e. A+B) If S=1 Subtraction (A-B) If S=2 Multiplication (only the least 8 significant bits are shown in output) If S=3 Shift B to the right A times (and add 0 from right side) If S=4 Rotate B to the left A times If S=5 A is ored with B If S=6 A is anded with B If S=7 A is nanded with B If S=8 A is xnored (the logical opposite of XOR like NAND to AND) with B If S=9 complement of B is computed a. Design this ALU similar the example we did in class. First write a verilog module for each operation and then instantiate them in Top.v. Make sure you first test and verify the functionality of each submodule and then test Top.v with different inputs. b. Write testbench for the addition subtraction multiplication shifts rotate and complement Modules. Test with all extreme cases (e.g. all zero inputs all one inputs all positive inputs all negative inputs negative and positive inputs). c. Write testbench top.v top_tb and test with all extreme cases (e.g. all zero inputs all one inputs all positive inputs all negative inputs negative and positive inputs). 2 3. Reconsider question 2 with the assumption that the output is a registered output i.e. Q is loaded by the rising edge of the clock signal when reset is not active (RESET=0). Build the following: A) Consider a synchronous resetting mechanism (RESET only acts in the rising edge of the CLK signal). Implement the circuit using a sequential case statement. B) Consider an asynchronous resetting mechanism (RESET triggers a reset immediately not only on the clock signal). Implement the circuit using a sequential case statement. Note: The only difference between part A and B is the reset mechanism not the registered output. Test and verify the results with a test bench top_tb.v similar to the question 2. Requirements: Appropriate | .doc file ‘

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
You can contact our live agent via WhatsApp! Via + 1 3234125597

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 25% with the discount code CLASS