Discussion on Computer Engineering +

Computer Engineering + (Math)
Attached below are three documents containing all the questions for the assignment.Answer all questions. (send the answers in 3 different word documents, each for every document attached)

COE 202, Term 201
Digital Logic Design
Assignment# 3
Due date: Saturday, Nov. 28, 2020
Q.1. You are required to design and implement an ALU with the following ports:  A and B are inputs, and are n-bit signed numbers represented in 2’s complement  F is 3-bit unsigned number for ALU function selector  R is the signed ALU result represented in 2’s complement. You will have to determine the minimum number of bits required for R such that an overflow never occurs. Below is a table of ALU functions along with an illustration of its port interface
Function Code ALU Result
F=000 R=(A+B)/4
F=001 R=4*(A+B)
F=010 R=2*A + B
F=011 R=A – 2*B
F=100 R=A and B
F=101 R= not(A)
F=110 R=A or B
F=111 R=A xor B
a) (5 points) Determine the size of R in bits such that overflow can never occur.
b) (10 points) Show the implementation of the ALU using MSI components and the minimum number of additional gates. Hint: you will have to use some form of extension (zero- or sign-extension).
c) (10 points) Create behavioral Verilog modules for every MSI component you used in Part (b). Make sure the size of every module you design is parameterized, so that you can change your design easily during the testing phase.
d) (5 points) Create a structural model for your ALU designed in Part (b) using the modules you derived in Part (c).
e) (5 points) Write a Verilog test bench that tests your ALU module in Part (d) assuming that A and B are 4-bits using the following input values:
A B F Expected output
4 4 0 R=2
2 1 1 R=12
-1 -5 2 R=-7
-1 -5 3 R=+9
-1 -2 4 R=-2
-1 -2 5 R=0
-1 -2 6 R=-1
-1 -2 7 R=+1 Allow a period of 20 ps between two consecutive test cases.
f) (5 points) Write a single behavioral Verilog module that models the given ALU.
g) (5 points) Write a Verilog test bench to test your behavioral ALU model in Part (f). Assuming that A and B are 4-bit, use the following input values:
A B F Expected output
4 4 0 R=2
2 1 1 R=12
-1 -5 2 R=-7
-1 -5 3 R=+9
-1 -2 4 R=-2
-1 -2 5 R=0
-1 -2 6 R=-1
-1 -2 7 R=+1 Allow a period of 20 ps between two consecutive test cases.
h) (5 points) Submit a report (Word or PDF document) that should contain: i. Problem description ii. Your answers to Parts (a) and (b) iii. All the behavioral models derived in Part (c), structural model in Part (d), and the test bench in Part (e) iv. The behavioral model in Part (f) and its test bench in Part (g) v. The timing diagrams (waveforms) taken directly as snapshots from the simulator. Have as many snapshots as needed to cover all the test cases. The assignment can be solved individually, or in groups of two students. Submit a soft copy of your solution on Blackboard in a zip file including your Verilog models.

Don't use plagiarized sources. Get Your Custom Essay on
Discussion on Computer Engineering +
Just from \$10/Page

Get professional assignment help cheaply

Are you busy and do not have time to handle your assignment? Are you scared that your paper will not make the grade? Do you have responsibilities that may hinder you from turning in your assignment on time? Are you tired and can barely handle your assignment? Are your grades inconsistent?

Whichever your reason may is, it is valid! You can get professional academic help from our service at affordable rates. We have a team of professional academic writers who can handle all your assignments.

Our essay writers are graduates with diplomas, bachelor, masters, Ph.D., and doctorate degrees in various subjects. The minimum requirement to be an essay writer with our essay writing service is to have a college diploma. When assigning your order, we match the paper subject with the area of specialization of the writer.

Why choose our academic writing service?

• Plagiarism free papers
• Timely delivery
• Skilled, Experienced Native English Writers
• Ability to tackle bulk assignments
• Reasonable prices

Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
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

We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.

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.

Zero-plagiarism guarantee

The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.

Free-revision policy

The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.

The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.

Fair-cooperation guarantee

By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.

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:
\$26
The price is based on these factors: